/* ===== LalaEnglish IF — прототип ===== */

:root {
  --yellow: #FFD200;
  --orange: #FF6400;
  --amber: #FFA000;
  --red: #FF2D14;
  --grey: #8C8C8C;
  --ink: #2B2B2B;
  --ink-2: #5A5A5A;
  --cream: #FFF8E3;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 10px 30px rgba(43, 43, 43, .10);
  --gutter: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.6 "Montserrat", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: 72px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-weight: 900; font-size: clamp(28px, 5.2vw, 50px); letter-spacing: -.01em; }
h2 { font-weight: 900; font-size: clamp(26px, 4.2vw, 42px); }
h3 { font-weight: 700; font-size: 20px; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }

/* ----- прототип: пометки ----- */
.proto-bar { background: var(--ink); color: #fff; font-size: 13px; text-align: center; padding: 6px var(--gutter); }
.todo { outline: 2px dashed var(--red); outline-offset: 3px; border-radius: 4px; }
.todo-light { outline: 2px dashed #fff; outline-offset: 2px; border-radius: 4px; }
.todo-chip { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--red); border: 1.5px dashed var(--red); border-radius: 99px; padding: 1px 8px; vertical-align: middle; }
.proto-bar .todo-chip { color: #FFB4A8; border-color: #FFB4A8; }

/* ----- кнопки ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 99px; border: 2px solid transparent; font: 700 16px/1.2 "Montserrat", sans-serif; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 6px 0 #C94F00; }
.btn--primary:hover { box-shadow: 0 8px 0 #C94F00; }
.btn--ghost { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--tg { background: #229ED9; color: #fff; }
.btn--viber { background: #7360F2; color: #fff; }
.link { background: none; border: 0; color: var(--ink-2); text-decoration: underline; font: inherit; cursor: pointer; margin-left: 12px; }

/* ----- шапка ----- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid #F1EDE2; }
.header__in { display: flex; align-items: center; gap: 20px; height: 68px; }
.header__logo img { height: 46px; width: auto; }
.nav { display: none; gap: 22px; margin-left: auto; font-weight: 500; font-size: 15px; }
.nav a { text-decoration: none; white-space: nowrap; }
@media (min-width: 1000px) and (max-width: 1199px) {
  .nav { gap: 14px; font-size: 14px; }
  .header__phone { display: none !important; }
}
.nav a:hover { color: var(--orange); }
.header__phone { display: none; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header__cta { display: none; }
.burger { margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--yellow); display: grid; place-content: center; gap: 5px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink); }
.nav.is-open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 12px var(--gutter) 20px; box-shadow: var(--shadow); gap: 0; }
.nav.is-open a { padding: 14px 0; border-bottom: 1px solid #F1EDE2; font-size: 17px; }

/* ----- hero ----- */
.hero { position: relative; background: var(--yellow); overflow: hidden; padding: 40px 0 72px; }
.hero::before { content: ""; position: absolute; inset: 0; background: url(brand/pattern.svg) 0 0/220px; opacity: .16; }
.hero__wave { position: absolute; width: 1400px; height: 1400px; border-radius: 50%; background: #fff; right: -980px; top: -260px; }
.hero__in { position: relative; display: grid; gap: 32px; }
.eyebrow { font-weight: 700; color: var(--orange); letter-spacing: .02em; margin-bottom: 12px; }
.hl { color: var(--orange); }
.nowrap { white-space: nowrap; }
.hero .lead { font-size: 18px; max-width: 34em; }
.hero__actions { display: flex; flex-direction: column; gap: 14px; margin: 24px 0 14px; }
.micro { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hero__media { position: relative; max-width: 460px; margin: 0 auto; width: 100%; }
.blob { border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 0 0 10px #fff, var(--shadow); }
.blob img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.sticker { position: absolute; background: #fff; border-radius: 20px; padding: 10px 16px; font-weight: 900; line-height: 1.1; box-shadow: var(--shadow); font-size: 22px; color: var(--orange); }
.sticker small { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.sticker--a { left: -6px; top: 18%; transform: rotate(-6deg); }
.sticker--b { right: -6px; bottom: 8%; transform: rotate(4deg); font-size: 16px; color: var(--ink); }

/* ----- переваги ----- */
.stats { position: relative; z-index: 2; margin-top: -44px; }
.stats__in { display: grid; grid-template-columns: 1fr; gap: 12px; }
.feat { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; align-items: center; background: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.feat__ico { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-content: center; color: #fff; }
.feat__ico svg { width: 30px; height: 30px; }
.feat__ico--orange { background: var(--orange); }
.feat__ico--amber { background: var(--amber); }
.feat__ico--red { background: var(--red); }
.feat__ico--grey { background: var(--grey); }
.feat h3 { font-size: 17px; font-weight: 900; margin: 0 0 2px; align-self: end; }
.feat p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.4; align-self: start; }

/* ----- секции ----- */
.section { padding: 64px 0; }
.section--cream { background: var(--cream); }
.section--yellow { background: var(--yellow); position: relative; }
.section--orange { background: var(--orange); color: #fff; position: relative; overflow: hidden; }
.section--orange::before { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: var(--amber); opacity: .45; left: -380px; bottom: -420px; }
.kicker { display: inline-block; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); background: #FFF0E0; border-radius: 99px; padding: 6px 14px; margin-bottom: 14px; }
.kicker--dark { background: #fff; }
.sub { color: var(--ink-2); max-width: 40em; font-size: 17px; }

/* ----- вкладки возрастов ----- */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin: 20px 0 16px; scrollbar-width: none; }
.tabs button { flex: 0 0 auto; min-height: 48px; padding: 10px 20px; border-radius: 99px; border: 2px solid #EDE6D3; background: #fff; font: 700 16px "Montserrat", sans-serif; cursor: pointer; color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--yellow); border-color: var(--yellow); }
.age { display: block; background: var(--cream); border-radius: var(--radius); padding: 22px 20px; border-left: 6px solid var(--orange); }
.age__img { border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; }
.age__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.age__body { padding: 0 6px 8px; }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--amber); box-shadow: inset 0 0 0 5px #FFE08A; }
.ticks--light li::before { background: #fff; box-shadow: inset 0 0 0 5px var(--yellow); }
.tabs--courses { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; padding: 4px 0 12px; }
.tabs--courses button { min-width: 0; }
@media (min-width: 640px) { .tabs--courses { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .tabs--courses { grid-template-columns: repeat(8, 1fr); } }
.tabs--courses button { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; padding: 10px 18px; border-radius: 18px; text-align: left; }
.tabs--courses button small { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.age__tag { display: inline-block; background: var(--yellow); border-radius: 99px; padding: 4px 12px; font-weight: 700; font-size: 13px; margin-bottom: 10px; }
.age__body h3 { font-size: 32px; font-weight: 900; color: var(--orange); margin-bottom: 8px; }
.age__lead { font-size: 17px; font-weight: 500; }
.facts { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { background: #fff; border: 1.5px solid #EDE6D3; border-radius: 99px; padding: 5px 12px; font-size: 13px; font-weight: 700; }
.more { border: 0; margin: -4px 0 14px; }
.more summary { font-size: 15px; padding: 8px 40px 8px 0; color: var(--orange); display: inline-block; }
.more summary::after { width: 26px; height: 26px; font-size: 18px; }
.more p { font-size: 15px; }
.age__img--brand { background: var(--yellow) url(brand/pattern.svg) 0 0/200px; display: grid; place-content: center; }
.age__img--orange { background-color: var(--orange); }
.age__img--red { background-color: var(--red); }
.age__img--brand span { background: #fff; border-radius: 50%; width: 220px; height: 220px; display: grid; place-content: center; text-align: center; font-weight: 900; font-size: 36px; line-height: 1.05; color: var(--orange); box-shadow: var(--shadow); }
.plan__courses { font-size: 13px; font-weight: 700; color: var(--ink-2); background: var(--cream); border-radius: 12px; padding: 6px 10px; margin-bottom: 12px; }
.quiz__count { font-size: 13px; font-weight: 700; color: var(--ink-2); margin: -8px 0 12px; }
.quiz__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.quiz__grid label { position: relative; justify-content: center; white-space: nowrap; padding: 12px 10px; font-weight: 700; }
.quiz__grid input { position: absolute; opacity: 0; pointer-events: none; }
.quiz__grid label:has(input:checked) { background: var(--yellow); border-color: var(--yellow); }
.quiz__grid label:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.quiz__age { font-weight: 700; margin-top: -6px; }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.quiz__back { margin: 14px 0 0; }
.price { font-size: 18px; }
.price b { font-size: 26px; font-weight: 900; color: var(--orange); }

/* ----- шаги урока ----- */
.steps { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 16px; margin-top: 24px; }
.step { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; box-shadow: var(--shadow); }
.step img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.step figcaption { padding: 16px 18px 20px; color: var(--ink-2); font-size: 15px; }
.step b { display: block; font-size: 18px; color: var(--ink); margin-bottom: 4px; }

/* ----- путь ----- */
.path { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; counter-reset: none; }
.path li { position: relative; background: var(--cream); border-radius: var(--radius); padding: 22px 20px 22px 84px; color: var(--ink-2); }
.path li b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.path li span { position: absolute; left: 20px; top: 20px; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 900; font-size: 22px; display: grid; place-content: center; }
.path li:nth-child(2) span { background: var(--amber); }
.path li:nth-child(3) span { background: var(--red); }
.path li:nth-child(4) span { background: var(--grey); }

/* ----- квиз ----- */
.quiz { display: grid; gap: 24px; align-items: center; position: relative; }
.quiz__card { background: #fff; border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); min-height: 300px; }
.quiz__progress { height: 8px; background: #F3EEDF; border-radius: 99px; margin-bottom: 20px; overflow: hidden; }
.quiz__progress i { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 99px; transition: width .3s; }
.quiz__step { border: 0; padding: 0; margin: 0; display: none; }
.quiz__step.is-active { display: grid; gap: 10px; }
.quiz__step legend { font-weight: 900; font-size: 22px; margin-bottom: 14px; }
.quiz__step label { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 16px; border: 2px solid #EDE6D3; border-radius: 16px; cursor: pointer; font-weight: 500; transition: border-color .15s, background .15s; }
.quiz__step label:hover { border-color: var(--amber); background: #FFFBEF; }
.quiz__step input { accent-color: var(--orange); width: 20px; height: 20px; }
.quiz__result h3 { font-size: 34px; font-weight: 900; color: var(--orange); margin-bottom: 4px; }

/* ----- матеріали ----- */
.mats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.mat { position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: var(--cream); min-height: 200px; box-shadow: var(--shadow); }
.mat img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .4s; }
.mat:hover img { transform: scale(1.04); }
.mat figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(255, 255, 255, .94); border-radius: 14px; padding: 10px 12px; font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.mat figcaption b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.mat--tall { grid-column: span 2; min-height: 380px; }
.mat--wide { grid-column: span 2; min-height: 230px; }
@media (max-width: 639px) {
  .mat figcaption span { display: none; }
  .mat figcaption b { font-size: 13px; margin: 0; }
}

/* ----- літні курси ----- */
.summer { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFF3C4 0%, var(--cream) 60%); }
.summer__sun { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--yellow); right: -140px; top: -140px; box-shadow: 0 0 0 40px rgba(255, 210, 0, .25), 0 0 0 80px rgba(255, 210, 0, .12); }
.summer .container { position: relative; }
.summer__price { display: inline-block; background: #fff; border-radius: 99px; padding: 8px 18px; font-size: 17px; box-shadow: var(--shadow); margin: 4px 0 0; }
.summer__price b { color: var(--orange); font-weight: 900; font-size: 20px; }
.summer__levels { font-size: 14px; color: var(--ink-2); margin: 12px 0 0; max-width: 46em; }
.levels-note { background: #FFF6EC; border-left: 5px solid var(--orange); border-radius: 0 16px 16px 0; padding: 12px 16px; margin: 4px 0 8px; max-width: 46em; }
.levels-note p { margin: 0; font-size: 15px; color: var(--ink-2); }
.levels-note b { color: var(--ink); }
.facts .facts__lvl { background: var(--ink); border-color: var(--ink); color: #fff; }
.week { display: grid; gap: 12px; margin: 28px 0; }
.week__day { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; background: #fff; border-radius: 20px; padding: 16px 18px; box-shadow: var(--shadow); }
.week__day b { font-size: 18px; font-weight: 900; }
.week__day p { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.week__dot { width: 56px; height: 56px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 900; font-size: 18px; display: grid; place-content: center; }
.week__dot--amber { background: var(--amber); }
.week__dot--red { background: var(--red); }
.summer__grid { display: grid; gap: 16px; }
.scourse { background: #fff; border-radius: var(--radius); padding: 0 20px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.scourse > .btn { margin-top: auto; align-self: flex-start; }
.scourse__head { display: flex; align-items: center; gap: 12px; margin: 0 -20px 14px; padding: 18px 20px; color: #fff; }
.scourse__head svg { width: 36px; height: 36px; flex: none; }
.scourse__head h3 { margin: 0; font-size: 22px; font-weight: 900; color: #fff; }
.scourse__head h3.scourse__title--long { font-size: 18px; line-height: 1.2; }
.scourse__head--orange { background: var(--orange); }
.scourse__head--amber { background: var(--amber); }
.scourse__head--red { background: var(--red); }
.scourse__head--grey { background: var(--ink); }
.scourse__for { display: inline-block; align-self: flex-start; background: var(--cream); border-radius: 99px; padding: 4px 12px; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.scourse p { font-size: 15px; }
.scourse .ticks li { font-size: 15px; }
.levels { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.levels li { display: grid; gap: 2px; border-left: 4px solid var(--amber); padding: 4px 0 4px 12px; font-size: 14px; color: var(--ink-2); }
.levels b { color: var(--ink); font-size: 15px; }
.scourse__book { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; }
.cover { margin: 0; aspect-ratio: 2/3; border-radius: 10px; background: var(--cream) url(brand/pattern.svg) 0 0/120px; display: grid; place-content: center; text-align: center; font-size: 12px; font-weight: 700; color: var(--ink-2); box-shadow: 6px 6px 0 var(--yellow); }
.cover span { background: #fff; border-radius: 8px; padding: 6px 8px; }
.cover:has(img) { display: block; background: none; overflow: hidden; transform: rotate(-3deg); }
.cover img { width: 100%; height: 100%; object-fit: cover; }

/* ----- команда ----- */
.team { display: grid; gap: 20px 14px; margin-top: 28px; grid-template-columns: repeat(2, 1fr); }
.person__img { border-radius: 50% 50% var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--yellow); margin-bottom: 14px; }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.person__img { background: #F4F4F2; }
.person h3 { display: inline-block; margin-bottom: 4px; }
.person .role { font-size: 15px; display: block; }
.person h3 { display: block; }
.owner { display: grid; gap: 20px; background: var(--cream); border-radius: var(--radius); padding: 16px; margin-top: 24px; }
.owner__img { border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; background: var(--yellow); }
.owner__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.04); }
.owner__body { padding: 0 6px 8px; }
.owner__body h3 { font-size: 30px; font-weight: 900; color: var(--orange); margin-bottom: 8px; }
.owner__lead { font-size: 17px; font-weight: 500; }
.role { color: var(--ink-2); display: inline-block; }

/* ----- галерея ----- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; aspect-ratio: 3/4; }
.gallery .g-wide { grid-column: span 2; aspect-ratio: 3/2; }

/* ----- галерея студії ----- */
.masonry { columns: 2; column-gap: 10px; margin-top: 24px; }
.masonry img { width: 100%; margin: 0 0 10px; border-radius: 16px; break-inside: avoid; box-shadow: var(--shadow); }
.masonry:not(.is-open) img:nth-child(n+7) { display: none; }
.masonry__more { display: flex; margin: 8px auto 0; }
@media (min-width: 640px) {
  .masonry { columns: 3; column-gap: 14px; }
  .masonry img { margin-bottom: 14px; border-radius: 20px; }
  .masonry:not(.is-open) img:nth-child(n+7) { display: block; }
  .masonry__more { display: none; }
}
@media (min-width: 1000px) { .masonry { columns: 4; column-gap: 18px; } .masonry img { margin-bottom: 18px; } }

/* ----- цены ----- */
.prices { display: grid; gap: 16px; margin-top: 28px; }
.plan { position: relative; border: 2px solid #EDE6D3; border-radius: var(--radius); padding: 28px 22px; text-align: center; }
.plan--hit { border-color: var(--orange); background: #FFF6EC; }
.badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 99px; white-space: nowrap; }
.plan__dur { color: var(--ink-2); margin-bottom: 8px; }
.plan__sum { font-size: 40px; font-weight: 900; margin-bottom: 0; }
.plan__sum small { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.plan__per { color: var(--orange); font-weight: 700; margin-bottom: 18px; }
.note { margin-top: 20px; color: var(--ink-2); text-align: center; }

/* ----- отзывы ----- */
.reviews { display: grid; gap: 16px; margin-top: 24px; }
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: 26px 22px; position: relative; box-shadow: var(--shadow); }
.review::before { content: "“"; position: absolute; top: -8px; left: 18px; font: 900 72px/1 Georgia, serif; color: var(--yellow); }
.review cite { font-style: normal; font-weight: 700; color: var(--orange); }

/* ----- відгуки-чат ----- */
.chat { columns: 1; column-gap: 18px; margin-top: 28px; }
.bubble { break-inside: avoid; margin: 0 0 18px; position: relative; background: #fff; border-radius: 22px 22px 22px 6px; padding: 18px 20px 14px; box-shadow: var(--shadow); }
.bubble::after { content: ""; position: absolute; left: -7px; bottom: 0; width: 16px; height: 16px; background: inherit; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.bubble--yellow { background: var(--yellow); }
.bubble blockquote { margin: 0 0 10px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.bubble figcaption { font-size: 13px; font-weight: 700; color: var(--orange); }
.bubble--yellow figcaption { color: var(--ink); opacity: .7; }

/* ----- FAQ ----- */
details { border-bottom: 2px solid #F1EDE2; }
summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-weight: 700; font-size: 18px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); display: grid; place-content: center; font-size: 22px; transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--ink-2); padding-bottom: 8px; }
.faq-list li { color: var(--ink-2); margin-bottom: 12px; }
.faq-list b { color: var(--ink); }

/* ----- форма ----- */
.signup { display: grid; gap: 28px; position: relative; }
.signup h2 { color: #fff; }
.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 24px 20px; box-shadow: 0 20px 40px rgba(0, 0, 0, .15); }
.form__fields { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.form input, .form select { min-height: 52px; border: 2px solid #EDE6D3; border-radius: 14px; padding: 12px 14px; font: 500 16px "Montserrat", sans-serif; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus { border-color: var(--orange); outline: none; }
.form [aria-invalid="true"] { border-color: var(--red); }
.form__opt { font-weight: 500; color: var(--ink-2); }
.form__legal { font-size: 12px; color: var(--ink-2); margin: 0; }
.form__ok h3 { font-size: 26px; font-weight: 900; }
.form__msgs { display: flex; gap: 12px; flex-wrap: wrap; }

/* ----- контакты ----- */
.contacts { display: grid; gap: 28px; }
address { font-style: normal; margin-bottom: 20px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { padding: 8px 16px; border-radius: 99px; background: var(--cream); text-decoration: none; font-weight: 700; font-size: 14px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 320px; background: var(--cream) url(brand/pattern.svg) 0 0/180px; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

.findus h3 { font-size: 22px; font-weight: 900; }
.findus__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.findus figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/4; }
.findus figure:first-child { aspect-ratio: auto; }
.findus img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.findus figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(255, 255, 255, .94); border-radius: 12px; padding: 8px 12px; font-size: 13px; font-weight: 700; }
@media (max-width: 639px) {
  .findus__grid { grid-template-columns: 1fr; }
  .findus figure:first-child { aspect-ratio: 3/2; }
  .findus figure:last-child { aspect-ratio: 4/5; }
}

/* ----- банер cookies ----- */
.cookie { position: fixed; z-index: 80; left: 10px; right: 10px; bottom: 84px; max-width: 440px; background: #fff; border-radius: 20px; padding: 16px 18px; box-shadow: 0 12px 40px rgba(0, 0, 0, .22); border-top: 5px solid var(--yellow); }
.cookie p { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.cookie p b { color: var(--ink); }
.cookie__btns { display: flex; gap: 8px; }
.cookie__btns .btn { flex: 1; min-height: 44px; padding: 8px 14px; font-size: 15px; box-shadow: none; }
.legal-page .cookie { bottom: 10px; }
@media (min-width: 1000px) { .cookie { left: 20px; right: auto; bottom: 20px; } }

/* ----- літній табір ----- */
.camp__formats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 16px; }
.camp__format { background: var(--cream); border-radius: var(--radius); padding: 18px; text-align: center; }
.camp__format p { margin: 0; color: var(--ink-2); font-size: 14px; }
.camp__format--full { background: var(--yellow); }
.camp__format--full p { color: var(--ink); }
.camp__label { font-weight: 700; color: var(--ink) !important; font-size: 15px !important; }
.camp__time { white-space: nowrap; font-size: clamp(20px, 5.4vw, 34px) !important; font-weight: 900; color: var(--orange) !important; line-height: 1.2; margin: 4px 0 !important; }
.camp__grid { display: grid; gap: 16px; }
.camp__incl, .camp__shifts { border: 2px solid #EDE6D3; border-radius: var(--radius); padding: 22px 20px; }
.camp__incl h3, .camp__shifts h3 { font-size: 20px; font-weight: 900; margin-bottom: 14px; }
.shift { display: grid; gap: 2px; padding: 10px 0 10px 14px; border-left: 4px solid var(--orange); margin-bottom: 10px; }
.shift:nth-child(3) { border-color: var(--amber); }
.shift:nth-child(4) { border-color: var(--red); }
.shift:nth-child(5) { border-color: var(--grey); }
.shift b { font-size: 17px; }
.shift span { color: var(--ink-2); font-size: 14px; }
.camp__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.camp__photos img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
.camp__photos:not(.is-open) img:nth-child(n+5) { display: none; }
@media (min-width: 640px) {
  .camp__photos { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .camp__photos:not(.is-open) img:nth-child(n+5) { display: block; }
  #campMore { display: none; }
}
@media (min-width: 1000px) { .camp__photos { gap: 18px; margin-top: 22px; } .camp__photos img { border-radius: 20px; } }
.camp__cta { margin-top: 16px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px 20px; display: grid; gap: 14px; }
.camp__cta p { margin: 0; color: rgba(255, 255, 255, .85); }
.camp__cta b { color: var(--yellow); }
.camp__cta .btn { justify-self: start; }
@media (min-width: 1000px) {
  .camp__formats { max-width: 620px; gap: 18px; }
  .camp__grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .camp__incl, .camp__shifts { padding: 28px; }
  .camp__cta { grid-template-columns: 1fr auto; align-items: center; padding: 26px 30px; }
}

/* ----- сторінка 404 ----- */
.notfound { text-align: center; }
.notfound .sub { margin: 0 auto 24px; }
.notfound__code { font-size: clamp(80px, 20vw, 140px); font-weight: 900; line-height: 1; color: var(--yellow); margin: 0 0 8px; -webkit-text-stroke: 3px var(--orange); }
.notfound__links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 20px; }
.notfound__phone { color: var(--ink-2); }
.notfound__phone a { color: var(--orange); font-weight: 700; text-decoration: none; }

/* ----- юридичні сторінки ----- */
.legal-page { padding-bottom: 0; }
.legal__back { margin-left: auto; min-height: 42px; padding: 8px 18px; font-size: 15px; }
.legal h1 { font-size: clamp(26px, 4vw, 38px); }
.legal h2 { font-size: 22px; margin: 36px 0 12px; scroll-margin-top: 90px; }
.legal p, .legal dd { color: var(--ink-2); line-height: 1.65; }
.legal__meta { font-weight: 700; color: var(--ink) !important; }
.legal__toc { background: var(--cream); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0 8px; }
.legal__toc ol { margin: 0; padding-left: 22px; columns: 1; }
.legal__toc li { margin: 4px 0; }
.legal__toc a { color: var(--ink); text-decoration: none; }
.legal__toc a:hover { color: var(--orange); }
.legal__terms dt { font-weight: 700; color: var(--ink); margin-top: 10px; }
.legal__terms dd { margin: 2px 0 0; }
.legal__list { list-style: none; padding: 0 0 0 16px; margin: -4px 0 16px; border-left: 3px solid var(--yellow); }
.legal__list li { color: var(--ink-2); line-height: 1.65; margin-bottom: 8px; }
.legal__consent { border: 2px dashed var(--amber); border-radius: 16px; padding: 14px 18px; margin: 0 0 16px; background: #FFFBEF; }
.legal__consent p { margin: 0 0 6px; color: var(--ink); }
.legal__consent p:last-child { margin: 0; font-weight: 700; }
.legal__card { background: var(--cream); border-radius: var(--radius); padding: 20px 22px; }
.legal__card p { margin: 0 0 6px; color: var(--ink); }
@media (min-width: 640px) { .legal__toc ol { columns: 2; column-gap: 32px; } }

/* ----- футер ----- */
.footer { background: var(--ink); color: #fff; padding: 44px 0 30px; }
.footer__in img { height: 56px; width: auto; margin-bottom: 18px; }
.footer__small { font-size: 13px; opacity: .7; }

/* ----- нижняя панель (моб.) ----- */
.dock { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 6px; background: #fff; border-radius: 22px; padding: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.dock__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 50px; border-radius: 16px; text-decoration: none; font-size: 18px; line-height: 1; }
.dock__btn span { font-size: 11px; font-weight: 700; margin-top: 4px; }
.dock__ico { width: 22px; height: 22px; color: var(--orange); }
.dock__btn--main { background: var(--orange); color: #fff; font-weight: 900; font-size: 16px; }

/* ===== планшет ===== */
@media (min-width: 640px) {
  .stats__in { grid-template-columns: 1fr 1fr; gap: 16px; }
  .summer__grid { grid-template-columns: 1fr 1fr; }
  .chat { columns: 2; }
  .steps { grid-auto-columns: 44%; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery .g-wide { grid-column: span 2; aspect-ratio: auto; }
  .gallery img { aspect-ratio: 3/4; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .prices { grid-template-columns: repeat(3, 1fr); align-items: end; }
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
}

/* ===== десктоп ===== */
@media (min-width: 1000px) {
  body { padding-bottom: 0; }
  .dock { display: none; }
  .burger { display: none; }
  .nav, .header__phone, .header__cta { display: flex; }
  .header__phone { margin-left: 8px; }
  .header__in { height: 80px; }
  .header__logo img { height: 54px; }
  .hero { padding: 72px 0 96px; }
  .hero__wave { right: -800px; top: -300px; }
  .hero__in { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
  .section { padding: 96px 0; }
  .stats { margin-top: -56px; }
  .week { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .chat { columns: 3; column-gap: 22px; }
  .team { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .owner { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; padding: 24px; }
  .mats { grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 18px; }
  .mat--tall { grid-column: 1; grid-row: span 2; min-height: 0; }
  .mat--wide { grid-column: span 1; min-height: 0; }
  .mat { min-height: 0; }
  .mat figcaption { font-size: 13px; left: 14px; right: 14px; bottom: 14px; padding: 12px 14px; }
  .mat figcaption b { font-size: 16px; }
  .summer__grid { gap: 22px; }
  .scourse { padding: 0 26px 26px; }
  .scourse__head { margin: 0 -26px 16px; padding: 20px 26px; }
  .stats__in { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .feat { grid-template-columns: 1fr; padding: 24px 22px; align-content: start; }
  .feat__ico { grid-row: auto; margin-bottom: 16px; }
  .feat h3 { font-size: 18px; margin-bottom: 6px; }
  .age { padding: 36px 40px; }
  .age__body { padding: 0; max-width: 780px; }
  .steps { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; }
  .path { grid-template-columns: repeat(4, 1fr); }
  .path li { padding: 84px 22px 24px; }
  .quiz { grid-template-columns: .9fr 1.1fr; gap: 56px; }
  .quiz__card { padding: 36px; }
  .signup { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .form { padding: 36px; }
  .contacts { grid-template-columns: 1fr 1.2fr; align-items: stretch; }
  .findus { grid-column: 1 / -1; }
  .findus__grid { grid-template-columns: 2fr 1fr; gap: 18px; height: 460px; }
  .findus figure, .findus figure:first-child { aspect-ratio: auto; }
  .footer__in { display: grid; grid-template-columns: auto 1fr; gap: 8px 40px; align-items: center; }
  .footer__in img { grid-row: span 2; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
