/* базовий reset (раніше додавав артефакт) */
:root{box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}body{margin:0}img{max-width:100%}[hidden]{display:none!important}

/* ================================================================
   Варіант 1 «Viaje» — за мотивами Travel-референсу:
   фото на весь екран, великий заголовок, панель-фільтр унизу hero,
   карусель фото, картки напрямів. Кольори — палітра Анни,
   основна кнопка — темна roast (як чорна в референсі).
   ================================================================ */
:root {
  --bg: #FBF6EF;
  --surface: #ffffff;
  --btn: var(--roast);
  --btn-ink: #fff;
  --radius: 20px;
}
.btn--primary { box-shadow: 0 10px 24px -12px rgba(66, 37, 29, .8); }
.btn--primary:hover { background: #2e1813; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.center { text-align: center; margin-top: 28px; }

section { padding: 72px 0; }
.sec-t { font-family: var(--font-head); font-size: clamp(32px, 5vw, 52px); font-weight: 600; letter-spacing: -.01em; margin: 14px 0 18px; }
.sec-t--center { text-align: center; }
.big-t { font-family: var(--font-head); font-size: clamp(40px, 7vw, 76px); font-weight: 600; letter-spacing: -.02em; line-height: 1.02; margin-top: 14px; }
.sec-lead { color: var(--muted); font-size: 17px; max-width: 560px; margin-top: 12px; }
.sec-lead--center { text-align: center; margin: -6px auto 36px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 700; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.pill--light { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .3s, color .3s, box-shadow .3s; }
.hdr__in { display: flex; align-items: center; gap: 20px; height: 72px; }
body.scrolled .hdr { background: rgba(251, 246, 239, .94); color: var(--ink); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.logo__n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--font-head); font-size: 22px; line-height: 1; }
.logo__t { font-size: 16px; letter-spacing: -.01em; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 600; }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.hdr__right { display: flex; align-items: center; gap: 10px; }
.hdr .lang-switch { background: rgba(255, 255, 255, .15); }
.hdr .lang-switch button.is-active { color: var(--roast); }
body.scrolled .hdr .lang-switch { background: rgba(66, 37, 29, .07); }
.hdr__cta { min-height: 42px; padding: 0 18px; font-size: 14px; }
body.scrolled .hdr__cta { background: var(--roast); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 13px; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s; content: ''; }
.burger span { top: 21px; } .burger span::before { left: 0; top: -6px; } .burger span::after { left: 0; top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 0; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; transform: scale(1.04); animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 14, 8, .55) 0%, rgba(30, 14, 8, .25) 35%, rgba(30, 14, 8, .55) 70%, rgba(30, 14, 8, .85) 100%); }
.hero__content { position: relative; text-align: center; padding-top: 120px; padding-bottom: 40px; margin-top: auto; }
.hero__kicker { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.hero__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(78px, 19vw, 230px); line-height: .9; letter-spacing: -.03em; margin: 10px 0 34px; text-shadow: 0 6px 40px rgba(0, 0, 0, .25); }
.hero__sub { max-width: 520px; margin: 0 auto; font-size: 17px; line-height: 1.55; opacity: .95; }
.hero__bar { position: relative; padding-bottom: 0; }
.hero__bar-in { display: grid; grid-template-columns: repeat(4, 1fr) 1.1fr; background: rgba(66, 37, 29, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 18px 18px 0 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .15); border-bottom: 0; }
.bar-cell { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-right: 1px solid rgba(255, 255, 255, .15); cursor: pointer; }
.bar-cell > span { font-size: 12px; font-weight: 700; letter-spacing: .04em; opacity: .75; }
.bar-cell select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: #fff; font: 600 15px/1.3 var(--font-body); padding: 0 18px 0 0; cursor: pointer; text-overflow: ellipsis; width: 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='white' stroke-width='2.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; }
.bar-cell select option { color: var(--roast); }
.bar-cell--static b { font-size: 15px; }
.bar-go { border: 0; background: #fff; color: var(--roast); font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; transition: background .2s; }
.bar-go svg { width: 20px; height: 20px; transition: transform .2s; }
.bar-go:hover { background: var(--butter); }
.bar-go:hover svg { transform: translateX(4px); }

/* ---------- statement ---------- */
.statement { padding: 80px 0 40px; text-align: center; }
.statement__badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.chip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.chip__star { width: 26px; height: 26px; border-radius: 50%; background: var(--butter); display: grid; place-items: center; font-size: 13px; color: #b98a00; }
.chip--n { padding-left: 6px; }
.chip--n b { width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--font-head); }
.statement__t { font-family: var(--font-body); font-weight: 500; font-size: clamp(32px, 6vw, 68px); letter-spacing: -.035em; line-height: 1.05; max-width: 920px; margin: 0 auto; }
.statement__t em { font-family: var(--font-head); font-style: italic; font-weight: 500; color: var(--red); }
.statement__line { position: relative; width: min(240px, 60%); height: 30px; margin: 26px auto 0; }
.statement__line i { position: absolute; left: 0; right: 30px; top: 50%; border-top: 2px dashed rgba(66, 37, 29, .35); }
.statement__line i::before { content: ''; position: absolute; left: -4px; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); border: 2px solid var(--roast); }
.statement__line span { position: absolute; right: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--roast); }
.statement__line span::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--red); }

/* ---------- value + carousel ---------- */
.value { padding-top: 40px; }
.value__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.value__text { display: grid; gap: 16px; justify-items: start; align-content: start; }
.value__t { font-family: var(--font-body); font-weight: 600; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; }
.value__text p { color: var(--muted); max-width: 380px; }
.car-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: flex-start; padding-bottom: 4px; }
.car-track::-webkit-scrollbar { display: none; }
.car-item { flex: 0 0 auto; margin: 0; scroll-snap-align: start; position: relative; border-radius: var(--radius); overflow: hidden; }
.car-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.car-item:hover img { transform: scale(1.05); }
.car-item--tall { width: 270px; height: 300px; }
.car-item--mid { width: 210px; height: 250px; margin-top: 50px; }
.car-item--short { width: 220px; height: 200px; margin-top: 26px; }
.car-item figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 700; }
.car-nav { display: flex; justify-content: flex-end; gap: 6px; margin-top: 16px; }
.car-nav button { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.car-nav button:last-child { background: var(--roast); color: #fff; border-color: var(--roast); }

/* ---------- about ---------- */
.about__grid { display: grid; gap: 40px; }
.about__media { display: grid; gap: 18px; align-content: start; }
.about__photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.about__sign { position: absolute; right: 18px; bottom: 16px; color: #fff; font-size: 40px; transform: rotate(-6deg); text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
.about__langs { background: var(--surface); border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--line); }
.about__langs h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.about__ps { display: grid; gap: 14px; font-size: 17px; margin-bottom: 30px; }
.about__path { font-family: var(--font-head); font-size: 28px; font-weight: 600; margin-bottom: 18px; }

/* ---------- trust ---------- */
.trust { background: var(--surface); }
.trust__grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 30px; }
.trust-card { padding: 24px; border-radius: var(--radius); background: var(--bg); display: grid; gap: 8px; }
.trust-card:nth-child(6n+1) { background: #fbf3c6; }
.trust-card:nth-child(6n+2) { background: #e2f1ec; }
.trust-card:nth-child(6n+3) { background: #e4eff0; }
.trust-card:nth-child(6n+4) { background: #f6e6da; }
.trust-card:nth-child(6n+5) { background: #e9f2df; }
.trust-card:nth-child(6n) { background: #fde3df; }
.trust-card__num { font-family: var(--font-head); font-size: 34px; font-weight: 600; color: var(--roast); opacity: .35; line-height: 1; }
.trust-card__t { font-size: 19px; }
.trust-card__d { color: var(--muted); font-size: 15px; }

/* ---------- services ---------- */
.services__head { display: grid; gap: 16px; align-items: end; margin-bottom: 26px; }
.services__lead { color: var(--muted); max-width: 340px; font-size: 16px; }
.filter-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; background: var(--surface); padding: 10px 10px 10px 14px; border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 20px; }
.svc-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.svc-card { background: var(--surface); border-radius: var(--radius); padding: 10px; box-shadow: 0 1px 0 var(--line), var(--shadow); display: flex; flex-direction: column; }
.svc-card__media { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.svc-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc-card:hover .svc-card__media img { transform: scale(1.06); }
.svc-card__tag { position: absolute; right: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 800; }
.svc-card__tag::before { content: '● '; color: var(--red); }
.svc-card__body { position: relative; padding: 14px 8px 8px; display: grid; gap: 6px; flex: 1; align-content: start; }
.svc-card__num { font-size: 12px; font-weight: 800; color: var(--muted); }
.svc-card__t { font-size: 19px; padding-right: 44px; }
.svc-card__d { color: var(--muted); font-size: 15px; }
.svc-card__link { position: absolute; right: 8px; top: 12px; width: 38px; height: 38px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; transition: background .2s, transform .2s; }
.svc-card__link svg { width: 18px; height: 18px; transform: rotate(-45deg); }
.svc-card:hover .svc-card__link { background: var(--roast); color: #fff; }

/* ---------- how ---------- */
.how { background: var(--surface); }
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.step { position: relative; padding-top: 4px; }
.step__num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--grass); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 14px; position: relative; z-index: 1; }
.step:nth-child(2) .step__num { background: var(--blue); color: var(--roast); }
.step:nth-child(3) .step__num { background: var(--butter); color: var(--roast); }
.step:nth-child(4) .step__num { background: var(--red-btn); }
.step__t { font-size: 20px; margin-bottom: 6px; }
.step__d { color: var(--muted); font-size: 15px; }

/* ---------- quiz ---------- */
.quiz-sec { background: var(--roast); color: #fff; border-radius: 36px; margin: 0 12px; }
.quiz-sec__grid { display: grid; gap: 28px; align-items: center; }
.quiz-sec__text .big-t { color: #fff; margin-bottom: 22px; }
.quiz-sec__img { border-radius: var(--radius); max-height: 300px; width: 100%; object-fit: cover; }
.quiz-sec .quiz { color: var(--ink); }

/* ---------- prices ---------- */
.price-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.price-card { position: relative; container-type: inline-size; background: var(--surface); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); }
.price-card h3 { font-size: 22px; }
.price-card__tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--bg); font-size: 12px; font-weight: 800; }
.price-card__d { color: var(--muted); font-size: 15px; }
.price-card__p { margin: 6px 0; color: var(--muted); font-weight: 600; }
.price-card__p b { font-family: var(--font-head); font-size: 52px; color: var(--ink); line-height: 1; }
.price-card__f { display: grid; gap: 8px; margin-bottom: 10px; flex: 1; }
.price-card__f li { display: flex; gap: 8px; font-size: 15px; }
.price-card__f svg { width: 18px; height: 18px; color: var(--grass-ink); flex: none; margin-top: 3px; }
.price-card--grp { background: #e2f1ec; border-color: transparent; }
.price-card--grp .price-card__tag { background: var(--butter); }
.price-card .btn { margin-top: auto; }
.price-note { margin-top: 14px; }

/* ---------- booking ---------- */
.book { background: linear-gradient(135deg, #5a3428, var(--roast)); color: #fff; }
.book__grid { display: grid; gap: 30px; align-items: center; }
.book .big-t { color: #fff; }
.book__text { opacity: .85; margin: 22px 0 26px; max-width: 520px; }
.book__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.book__alt { margin-top: 18px; opacity: .85; font-size: 15px; }
.book__alt a { font-weight: 700; }
.book__card { background: #F8F1E7; color: var(--ink); border-radius: 28px; padding: 20px; display: grid; gap: 14px; transform: rotate(1.5deg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.book__cal-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.book__cal-h b { font-family: var(--font-head); font-size: 22px; }
.book__cal-h span { font-size: 12px; letter-spacing: .5em; color: var(--muted); }
.book__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.book__days i { aspect-ratio: 1; border-radius: 10px; background: rgba(66, 37, 29, .06); }
.book__days i.on { background: var(--mint); box-shadow: inset 0 0 0 2px var(--grass); }
.book__days i:nth-child(12) { background: var(--red); box-shadow: none; }

/* ---------- lesson ---------- */
.lesson { background: #F8F1E7; position: relative; overflow: hidden; }
.lesson__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
.lesson__n { font-family: var(--font-head); font-size: clamp(120px, 22vw, 260px); line-height: .8; color: var(--red); font-weight: 600; margin-top: -10px; }
.lesson__grid { display: grid; gap: 16px; }
.lesson__card { background: var(--surface); border-radius: var(--radius); padding: 22px; display: grid; gap: 16px; align-content: start; }
.lesson__card h3 { font-family: var(--font-head); font-size: 24px; font-weight: 600; }
.lesson__fact { background: var(--bg); border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.lesson__fact b { display: block; margin-bottom: 2px; }

/* ---------- phrases / reviews / faq ---------- */
.phrases .big-t, .reviews .big-t { font-size: clamp(36px, 5.4vw, 60px); }
.flip-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.review-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.faq { background: var(--surface); }
.faq__grid { display: grid; gap: 28px; }
.faq .faq-item { background: var(--bg); }

/* ---------- contacts ---------- */
.contacts__card { position: relative; border-radius: 36px; overflow: hidden; color: #fff; min-height: 560px; display: flex; align-items: flex-end; }
.contacts__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.contacts__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 14, 8, .05) 20%, rgba(30, 14, 8, .85) 75%); }
.contacts__in { position: relative; padding: 28px; display: grid; gap: 14px; justify-items: start; }
.contacts__k { font-size: 34px; color: var(--butter); }
.contacts__t { font-family: var(--font-head); font-size: clamp(48px, 8vw, 96px); font-weight: 600; line-height: .95; }
.contacts__links { display: grid; gap: 8px; width: 100%; max-width: 640px; margin: 6px 0; }
.c-link { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); text-decoration: none; transition: background .2s; }
.c-link:hover { background: rgba(255, 255, 255, .25); }
.c-link small { display: block; font-size: 12px; opacity: .75; }
.c-link b { font-size: 15px; }

/* ---------- footer ---------- */
.ftr { padding: 30px 0 100px; font-size: 14px; color: var(--muted); }
.ftr__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.ftr .logo { color: var(--ink); }

/* ================= responsive ================= */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 72px 12px auto; flex-direction: column; gap: 0; background: var(--surface); color: var(--ink); border-radius: 20px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .4); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s; }
  .nav a { padding: 12px 14px; font-size: 17px; border-radius: 12px; opacity: 1; }
  .nav a:hover { background: var(--bg); text-decoration: none; }
  body.menu-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .burger { display: block; color: inherit; }
  .hdr__right { margin-left: auto; }
}
@media (max-width: 760px) {
  .hdr__cta { display: none; }
  .hdr .lang-switch button { padding: 6px 7px; min-width: 30px; }
  .logo__t { display: none; }
  .hero__content { padding-top: 110px; }
  .hero__bar-in { grid-template-columns: 1fr 1fr; border-radius: 18px 18px 0 0; }
  .bar-cell:nth-child(2n) { border-right: 0; }
  .bar-cell { border-bottom: 1px solid rgba(255, 255, 255, .15); padding: 12px 14px; }
  .bar-cell--static { display: none; }
  .bar-cell:nth-child(3) { grid-column: 1 / -1; border-right: 0; }
  .bar-go { grid-column: 1 / -1; }
  section { padding: 56px 0; }
  .quiz-sec { margin: 0 8px; border-radius: 28px; }
  .quiz-sec__img { display: none; }
  .contacts__card { min-height: 640px; border-radius: 28px; }
  .contacts__in { padding: 22px; }
  .book__card { transform: none; }
}
@media (min-width: 900px) {
  .value__grid { grid-template-columns: 340px minmax(0, 1fr); align-items: start; }
  .about__grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
  .about__media { position: sticky; top: 96px; }
  .services__head { grid-template-columns: 1fr auto; }
  .quiz-sec { padding: 90px 0; }
  .quiz-sec__grid { grid-template-columns: 1fr 1.1fr; gap: 56px; }
  .price-grid { grid-template-columns: repeat(3, 1fr) 1.15fr; }
  .trust__grid { grid-template-columns: repeat(3, 1fr); }
  .flip-grid { grid-template-columns: repeat(3, 1fr); }
  .book__grid { grid-template-columns: 1.1fr .9fr; gap: 60px; }
  .lesson__grid { grid-template-columns: 1.2fr 1fr; }
  .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 60px; }
  .contacts__in { padding: 56px; }
  .contacts__links { grid-template-columns: repeat(3, 1fr); }
  .car-item--tall { width: 300px; height: 340px; }
}
@media (max-width: 600px) {
  .filter-bar .btn { display: none; }
  .filter-bar { padding: 8px; }
}
.lesson__grid > *, .price-grid > *, .quiz-sec__grid > *, .book__grid > *, .about__grid > * { min-width: 0; }
@media (max-width: 760px) {
  .hero__bg { object-position: 84% 35%; }
}

/* ================================================================
   Правки за ТЗ Анни (жовтень 2026): усе веде на зідзвон-знайомство
   ================================================================ */
.btn--xl { min-height: 60px; padding: 14px 30px; font-size: 17px; }
.btn--ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); }
.btn svg { width: 20px; height: 20px; }
.btn.is-disabled { opacity: .45; pointer-events: none; cursor: default; }

/* hero */
.hero__content { padding-bottom: 64px; }
.hero__title { margin-bottom: 30px; }
.hero__mission { max-width: 640px; margin: 0 auto; font-size: clamp(19px, 2.4vw, 25px); line-height: 1.4; font-weight: 600; text-wrap: balance; }
.hero__card { max-width: 620px; margin: 22px auto 0; padding: 16px 20px; border-radius: 20px; text-align: left; background: rgba(30, 14, 8, .5); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: grid; gap: 10px; }
.hero__me { display: flex; align-items: center; gap: 12px; }
.hero__me img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .8); flex: none; }
.hero__me p { font-size: 18px; font-weight: 800; line-height: 1.3; }
.hero__approach { font-size: 15px; line-height: 1.55; opacity: .95; }
.hero__approach b { color: var(--butter); }
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 24px; }
.hero__note { font-size: 14px; opacity: .85; }
.hero__shade { background: linear-gradient(180deg, rgba(30, 14, 8, .55) 0%, rgba(30, 14, 8, .35) 30%, rgba(30, 14, 8, .65) 60%, rgba(30, 14, 8, .9) 100%); }

/* statement + CTA */
.statement { padding-bottom: 64px; }
.statement__cta { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 30px; }
.cta-note { font-size: 14px; color: var(--muted); }

/* мови: іспанська теж зелена */
.lang-row:nth-child(4) .lang-row__bar i { background: var(--grass); }

/* напрямки → CTA */
.cta-band { margin-top: 22px; padding: 28px 24px; border-radius: 28px; background: var(--roast); color: #fff; display: grid; gap: 16px; }
.cta-band__t { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.35; font-weight: 600; max-width: 720px; text-wrap: balance; }
.cta-band__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cta-band__meet { font-size: 14px; opacity: .8; }

/* ціни: знайомство + індивідуальна програма */
.price-grid--two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.price-grid--three { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.price-card--call { background: var(--roast); color: #fff; border-color: transparent; }
.price-card--call h3 { color: #fff; }
.price-card--call .price-card__tag { background: rgba(255, 255, 255, .14); color: #fff; }
/* «Безкоштовно» — довге слово: розмір рахуємо від ширини картки, бо вона залежить
   від кількості колонок у сітці, а не від ширини екрана */
.price-card--call .price-card__p b { color: var(--butter); font-size: 44px; font-size: clamp(24px, 13.5cqi, 44px); }
.price-card--call .price-card__d { color: rgba(255, 255, 255, .85); flex: 1; }

/* безкоштовний перший урок (місце під PDF) */
.free { display: grid; gap: 22px; padding: 16px; border-radius: 28px; background: var(--surface); margin-bottom: 56px; }
.free__cover { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, #fbf3c6 0 34%, var(--cream) 34%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; box-shadow: inset 0 0 0 1px var(--line); max-width: 100%; }
.free__cover::before { content: ''; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%; background: var(--mint); }
.free__cover::after { content: ''; position: absolute; left: 22px; top: 22px; width: 70px; height: 10px; border-radius: 6px; background: var(--butter); box-shadow: 0 18px 0 var(--blue), 0 36px 0 rgba(143, 191, 106, .5); }
.free__n { position: absolute; right: 26px; top: 6px; font-family: var(--font-head); font-size: clamp(90px, 14vw, 150px); line-height: 1; color: var(--red); font-weight: 600; }
.free__t { position: relative; font-family: var(--font-head); font-size: clamp(30px, 4.4vw, 46px); line-height: 1; font-weight: 600; color: var(--roast); }
.free__badge { position: absolute; left: 22px; top: 82px; padding: 3px 10px; border-radius: 999px; background: var(--roast); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.free__body { display: grid; gap: 10px; align-content: center; justify-items: start; padding: 4px; }
.free__sub { font-weight: 700; color: var(--muted); }
.free__text { max-width: 460px; }
.free__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }

/* алфавіт і базові фрази */
.abc-title { margin-top: 0; }
.lesson .sec-lead { margin: -6px 0 24px; }
.phrase-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; margin-top: 16px; scrollbar-width: thin; }
.phrase-row .flip { scroll-snap-align: start; min-height: 170px; }

.free > *, .cta-band > * { min-width: 0; }
@media (min-width: 900px) {
  .free { grid-template-columns: .9fr 1.1fr; padding: 22px; gap: 40px; }
  .price-grid--two { grid-template-columns: 1fr 1fr; }
  .price-grid--three { grid-template-columns: repeat(3, 1fr); }
  .cta-band { grid-template-columns: 1.3fr auto; align-items: center; padding: 34px 40px; }
  .cta-band__meet { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hero__content { padding-top: 96px; padding-bottom: 40px; }
  .hero__title { font-size: clamp(64px, 20vw, 90px); margin-bottom: 20px; }
  .hero__kicker { font-size: 12px; }
  .hero__card { padding: 14px 16px; margin-top: 16px; }
  .hero__me p { font-size: 16px; }
  .hero__approach { font-size: 14px; }
  .btn--xl { font-size: 16px; padding: 12px 22px; }
  .cta-band__btns .btn { flex: 1 1 100%; }
}

/* ---------- Реальні відгуки (19.10.2026) ---------- */
.review-grid:has(.review--real) { display: block; columns: 3 300px; column-gap: 16px; }
.review--real { display: flex; flex-direction: column; break-inside: avoid; margin-bottom: 16px; border: 1px solid var(--line); border-style: solid; box-shadow: 0 10px 30px -18px rgba(66, 37, 29, .35); gap: 10px; }
.review--real:nth-child(3n+1) { background: #fffdf8; }
.review--real:nth-child(3n+2) { background: color-mix(in srgb, var(--mint) 35%, #fff); }
.review--real:nth-child(3n) { background: color-mix(in srgb, var(--butter) 35%, #fff); }
.review__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.review__q { font-family: var(--font-head, serif); font-size: 64px; line-height: .7; color: var(--red); height: 34px; }
.review__tag { font-size: 12px; font-weight: 800; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); white-space: nowrap; }
.review__h { font-family: var(--font-head, serif); font-size: 21px; line-height: 1.2; margin: 0; color: var(--roast); }
.review__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--roast); }
.review__orig { margin: auto 0 0; padding-top: 4px; font-size: 12px; color: var(--muted); }
@media (max-width: 720px) {
  .review-grid:has(.review--real) { display: flex; columns: auto; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .review-grid:has(.review--real)::-webkit-scrollbar { display: none; }
  .review--real { flex: 0 0 84%; scroll-snap-align: center; margin-bottom: 0; }
}


/* ===== Правки перед деплоєм (листопад 2026) ===== */
/* картки не розтягують вміст по висоті */
.trust-card { align-content: start; }
.price-card__f { align-content: start; }
/* 4 напрямки і 4 кроки: 1 -> 2 -> 4 колонки, без «сиріт» у рядку */
.svc-grid, .steps { grid-template-columns: 1fr; }
@media (min-width: 600px) { .svc-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .svc-grid, .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* алфавіт: 27 літер = 3 рівні ряди по 9 */
@media (min-width: 700px) { .abc-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); } }
/* обкладинка уроку не роздувається на планшеті */
@media (max-width: 899px) { .free__cover { aspect-ratio: 16 / 7; max-height: 280px; } }
/* дні тижня над сіткою календаря */
.book__wd { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; }
/* липка кнопка на мобільному не перекриває футер */
@media (max-width: 899px) { .ftr { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); } }
