/* ==========================================================
   club-page.css
   Стилі для сторінки «Сімпа Club» — дисконтна програма
   Використовує CSS-змінні та базові класи з основного styles.css
   ========================================================== */


/* === HERO ================================================ */
.club-hero {
  padding: 50px 0 30px;
  position: relative;
}

.club-hero .breadcrumbs {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
  margin-bottom: 22px; flex-wrap: wrap;
}
.club-hero .breadcrumbs a { color: var(--muted); transition: color .2s; }
.club-hero .breadcrumbs a:hover { color: var(--rose-deep); }
.club-hero .breadcrumbs .sep { opacity: 0.4; }
.club-hero .breadcrumbs .current { color: var(--ink); font-weight: 600; }

.club-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 20px;
}

.club-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.0;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 22px;
}
.club-hero h1 em {
  font-style: italic;
  color: var(--rose);
}
.club-hero h1 .bignum {
  display: inline-block;
  font-style: normal;
  color: var(--rose);
  position: relative;
}
.club-hero h1 .bignum::after {
  content: '';
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 12%;
  height: 14px;
  background: var(--rose-soft);
  border-radius: 99px;
  z-index: -1;
  transform: skewX(-8deg);
}
.club-hero .subtitle {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 520px;
}
.club-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }


/* === Картка Club — велика «фішка» сторінки ================ */
.club-card-wrap {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1000px;
}
.club-card-wrap::before {
  content: '';
  position: absolute;
  inset: -10% -8%;
  background: radial-gradient(circle, var(--rose-pale) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.club-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1.6 / 1;
  background: linear-gradient(135deg, #2a1f2b 0%, #4a2a32 100%);
  border-radius: 24px;
  padding: 28px 32px;
  color: #fff;
  box-shadow:
    0 40px 80px -20px rgba(31,26,38,0.45),
    0 0 0 1px rgba(255,255,255,0.06) inset;
  transform: rotate(-3deg);
  transition: transform .5s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.club-card:hover {
  transform: rotate(-1deg) scale(1.02);
}
/* Декор в куті — велика помаранчева кулька */
.club-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rose) 0%, rgba(242,139,28,0) 70%);
  opacity: 0.55;
}
/* Дрібний візерунок з крапок */
.club-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 16px solid rgba(242,139,28,0.18);
}

.club-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.club-card-brand {
  font-family: var(--serif);
  font-size: 28px;
  color: #fff;
  line-height: 1;
}
.club-card-brand-sub {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-soft);
  margin-top: 6px;
}
.club-card-chip {
  width: 44px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f8c87b 0%, #d4a45a 100%);
  position: relative;
}
.club-card-chip::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.18);
}
.club-card-chip::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-top: 1px solid rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(0,0,0,0.15);
}

/* Прогрес 5 стрижок на картці */
.club-card-progress {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
}
.club-card-haircut {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.14);
  position: relative;
  overflow: hidden;
}
.club-card-haircut.is-done {
  background: var(--rose);
  box-shadow: 0 0 12px rgba(242,139,28,0.5);
}
.club-card-haircut.is-free {
  background: linear-gradient(90deg, var(--rose) 0%, #ffd76b 100%);
}
.club-card-haircut.is-free::after {
  content: '★';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.club-card-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.club-card-name {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
}
.club-card-name strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  margin-top: 3px;
}
.club-card-stat {
  text-align: right;
}
.club-card-stat-big {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--rose-soft);
  line-height: 1;
}
.club-card-stat-lbl {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}


/* === Як це працює (5 кроків з прогресом) ================= */
.how-it-works {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 56px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.how-it-works::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rose-pale), transparent 65%);
  pointer-events: none;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  margin-top: 40px;
}
/* Зʼєднувальна лінія за всіма кругами */
.how-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 3px;
  background-image: linear-gradient(to right, var(--rose-soft) 50%, transparent 50%);
  background-size: 12px 3px;
  background-repeat: repeat-x;
  z-index: 0;
}

.how-step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.how-step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--rose-soft);
  color: var(--rose-deep);
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 24px;
  transition: all .25s;
}
.how-step.is-done .how-step-circle {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
  box-shadow: 0 12px 24px -8px rgba(217,114,8,0.45);
}
.how-step.is-final .how-step-circle {
  background: linear-gradient(135deg, var(--rose) 0%, #ffd76b 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 16px 32px -8px rgba(217,114,8,0.55);
  position: relative;
}
.how-step.is-final .how-step-circle::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(242,139,28,0.5);
  animation: spinSlow 14s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.how-step h3 {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.2;
}
.how-step p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.how-step .free-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  background: linear-gradient(135deg, var(--rose) 0%, #ffd76b 100%);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* === Що входить / Не входить — checklist ================= */
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.coverage-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s;
}
.coverage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.coverage-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.coverage-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.coverage-icon.yes {
  background: linear-gradient(135deg, var(--rose-soft), var(--rose-pale));
  color: var(--rose-deep);
}
.coverage-icon.no {
  background: rgba(154,134,147,0.15);
  color: var(--muted);
}
.coverage-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  line-height: 1.2;
}
.coverage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.coverage-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.coverage-list .bullet {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 800;
}
.coverage-list .bullet.yes {
  background: var(--rose);
  color: #fff;
}
.coverage-list .bullet.no {
  background: rgba(154,134,147,0.2);
  color: var(--muted);
  font-size: 14px;
}


/* === Детальні умови — 10 пронумерованих пунктів ========= */
.terms-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  margin-top: 32px;
}
.terms-item {
  display: flex;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.terms-item:last-child { border-bottom: none; }
.terms-item:hover {
  background: var(--cream);
  border-radius: var(--r-md);
}
.terms-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--rose-pale);
  color: var(--rose-deep);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
}
.terms-text {
  flex: 1;
  min-width: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  padding-top: 5px;
}
.terms-text strong { color: var(--ink); }
.terms-text ul {
  margin: 8px 0 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.terms-text ul li {
  font-size: 14px;
  list-style: disc;
}


/* === FAQ-акордеон (повторно використовує паттерн з piercing) === */
.club-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.club-faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s;
}
.club-faq-item:hover { border-color: var(--rose-soft); }
.club-faq-item.is-open { border-color: var(--rose); }
.club-faq-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  transition: background .2s;
}
.club-faq-head:hover { background: var(--cream); }
.club-faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--rose-pale);
  color: var(--rose-deep);
  display: grid;
  place-items: center;
  transition: background .25s, color .25s;
}
.club-faq-item.is-open .club-faq-icon {
  background: var(--rose);
  color: #fff;
}
.club-faq-title {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.4;
}
.club-faq-chevron {
  flex-shrink: 0;
  color: var(--ink-2);
  transition: transform .25s, color .25s;
}
.club-faq-item.is-open .club-faq-chevron {
  transform: rotate(180deg);
  color: var(--rose-deep);
}
.club-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.club-faq-item.is-open .club-faq-body {
  max-height: 400px;
}
.club-faq-body-inner {
  padding: 0 24px 22px 72px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.6;
}


/* === CTA блок з телефонами — як на piercing-сторінці ===== */
.club-cta {
  background: linear-gradient(135deg, #ffe4bf 0%, #ffd0a3 60%, #fcc391 100%);
  border-radius: var(--r-xl);
  padding: 56px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}
.club-cta::before {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 28px solid rgba(255,255,255,0.4);
  pointer-events: none;
}
.club-cta::after {
  content: '';
  position: absolute;
  left: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  pointer-events: none;
}
.club-cta-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.club-cta h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 14px;
}
.club-cta h2 em {
  font-style: italic;
  color: var(--rose-deep);
}
.club-cta p {
  font-size: 16px;
  color: var(--ink-2);
  margin-bottom: 24px;
  max-width: 620px;
}
.club-cta-phones {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.club-cta-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 14px;
  transition: transform .2s, box-shadow .2s;
}
.club-cta-phone:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -10px rgba(217,114,8,0.35);
}
.club-cta-phone .pp-pin {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--rose-pale);
  color: var(--rose-deep);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.club-cta-phone:hover .pp-pin {
  background: var(--rose);
  color: #fff;
}
.club-cta-phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.club-cta-phone-loc {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.club-cta-phone-num {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}


/* === Адаптив ============================================= */
@media (max-width: 1060px) {
  .club-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .club-card-wrap { order: -1; }
  .club-card { transform: rotate(-2deg); }

  .how-it-works { padding: 40px 32px; }
  .how-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .how-steps::before { display: none; }
  .how-step.is-final {
    grid-column: span 2;
  }

  .coverage-grid { grid-template-columns: 1fr; }

  .club-cta { padding: 40px 36px; }
  .club-cta-phones { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .club-hero { padding: 24px 0 12px; }
  .club-card { padding: 22px 24px; max-width: 360px; }
  .club-card-brand { font-size: 24px; }
  .club-card-stat-big { font-size: 26px; }

  .how-it-works {
    padding: 28px 22px;
    border-radius: 28px;
  }
  .how-steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .how-step.is-final { grid-column: span 1; }

  .coverage-card { padding: 24px 22px; }
  .terms-item { padding: 16px; gap: 14px; }
  .terms-num { width: 28px; height: 28px; font-size: 14px; }
  .terms-text { font-size: 14px; }

  .club-faq-head { padding: 16px 18px; gap: 12px; }
  .club-faq-title { font-size: 14.5px; }
  .club-faq-body-inner { padding: 0 18px 18px 60px; }

  .club-cta { padding: 32px 22px; border-radius: 28px; }
  .club-cta-phones { grid-template-columns: 1fr; }
}