/* ===== Море Геродота — минималистичный стиль ===== */
:root {
  --black: #000;
  --ink: #1d1d1f;
  --gray-bg: #f5f5f7;
  --gray-text: #6e6e73;
  --gray-line: #d2d2d7;
  --white: #fff;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --link-dark: #2997ff;
  --orange: #b64400;
  --error: #e30000;
  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 52px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -.022em;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.muted { color: var(--gray-text); }
.section--black .muted { color: #86868b; }

/* ===== Buttons & links ===== */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 11px 22px; border-radius: 980px; border: 0;
  background: var(--blue); color: var(--white);
  font: 400 17px/1.2 var(--font); letter-spacing: -.022em; text-decoration: none; cursor: pointer;
  transition: background .2s;
}
.pill:hover { background: var(--blue-hover); }
.pill:focus-visible { outline: 3px solid rgba(0, 125, 250, .6); outline-offset: 2px; }
.pill--small { min-height: 28px; padding: 4px 12px; font-size: 12px; letter-spacing: -.01em; }
.pill--large { width: 100%; min-height: 52px; font-size: 17px; font-weight: 500; }
.pill--secondary { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.pill--secondary:hover { background: var(--blue); color: var(--white); }
.pill[disabled] { opacity: .5; cursor: progress; }

.more { color: var(--link); text-decoration: none; font-size: 17px; white-space: nowrap; }
.more::after { content: " ›"; }
.more:hover { text-decoration: underline; }

/* ===== Header (frosted) ===== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  background: rgba(255, 255, 255, .78); color: var(--ink);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.header__inner { max-width: 1060px; height: 100%; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.logo svg { width: 24px; height: 24px; color: #0a7d6f; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 12px; letter-spacing: -.01em; }
.nav a { text-decoration: none; color: #424245; white-space: nowrap; transition: color .2s; }
.nav a:hover { color: var(--black); }

.burger { display: none; width: 44px; height: 44px; margin-right: -12px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .3s; }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.header.is-open .burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.header.is-open .burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .header.is-open { background: var(--white); }
  .nav {
    position: fixed; top: var(--nav-h); left: 0; right: 0; height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h));
    flex-direction: column; align-items: stretch; gap: 0; padding: 20px 44px; background: var(--white);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav a { font-size: 28px; font-weight: 600; padding: 8px 0; color: var(--ink); letter-spacing: -.015em; }
  .nav a:last-child { font-size: 17px; font-weight: 400; color: var(--link); margin-top: 18px; }
  .header.is-open .nav { opacity: 1; visibility: visible; }
}

/* ===== Hero ===== */
.hero { background: var(--white); color: var(--ink); padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 80px)); text-align: center; overflow: hidden; }
.hero__text { padding: 0 22px; }
.hero__eyebrow { font-size: clamp(17px, 2vw, 21px); font-weight: 600; color: #0a7d6f; margin-bottom: 6px; }
.hero h1 { font-size: clamp(48px, 9vw, 96px); line-height: 1.05; letter-spacing: -.015em; font-weight: 700; }
.hero__sub { font-size: clamp(21px, 3vw, 28px); line-height: 1.2; font-weight: 400; margin-top: 10px; color: var(--ink); }
.hero__cta { display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.hero__price { margin-top: 16px; font-size: 14px; color: var(--gray-text); letter-spacing: -.01em; }
.hero__media { position: relative; max-width: 1240px; margin: clamp(40px, 6vw, 64px) auto 0; padding: 0 22px; }
.hero__media img { width: 100%; height: clamp(340px, 56vw, 700px); object-fit: cover; object-position: 50% 55%; border-radius: var(--radius); }
.hero__media .ai-note { right: 36px; bottom: 14px; }

.ai-note {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  font-size: 11px; font-weight: 500; letter-spacing: 0; line-height: 1;
  color: rgba(255,255,255,.9); background: rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 6px 9px; border-radius: 980px; pointer-events: none;
}

/* ===== Highlights ===== */
.highlights { background: var(--white); color: var(--ink); padding: clamp(56px, 8vw, 96px) 0; }
.highlights__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.highlights strong {
  display: block; font-size: clamp(40px, 5vw, 56px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1;
  background: linear-gradient(90deg, #0a9d8a, #0071e3); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.highlights span { display: block; margin-top: 6px; font-size: 15px; color: var(--gray-text); }
@media (max-width: 760px) { .highlights__list { grid-template-columns: 1fr 1fr; gap: 36px 16px; } }

/* ===== Sections ===== */
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section--gray { background: var(--gray-bg); }
.section--black { background: var(--black); color: #f5f5f7; }
.headline--center { text-align: center; }
.grad { background: linear-gradient(90deg, #0a9d8a, #0071e3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.headline { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; letter-spacing: -.015em; font-weight: 700; margin-bottom: clamp(40px, 6vw, 72px); }
.kicker { font-size: 17px; font-weight: 600; color: var(--orange); margin-bottom: 8px; }

/* ===== Bento tiles ===== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 36px 32px; min-height: 280px; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s cubic-bezier(.2,.7,.2,1), opacity .9s cubic-bezier(.2,.6,.2,1);
}
.tile::after { /* мягкий блик при наведении */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(10,157,138,.10), transparent 60%);
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -18px rgba(0, 60, 80, .28); }
.tile:hover::after { opacity: 1; }
.tile:hover .tile__icon { transform: scale(1.08) rotate(-4deg); }
.js .bento .tile.reveal, .js .socials .social.reveal { transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.7,.2,1), box-shadow .5s, background .3s; }
.bento .tile.reveal.is-in:nth-child(3n+2) { transition-delay: .1s; }
.bento .tile.reveal.is-in:nth-child(3n+3) { transition-delay: .2s; }
.bento .tile.reveal.is-in:hover, .socials .social.reveal.is-in:hover { transition-delay: 0s; }
.js .bento .tile.reveal { transform: translateY(40px) scale(.97); }
.js .bento .tile.reveal.is-in { transform: none; }
.js .bento .tile.reveal.is-in:hover { transform: translateY(-6px); }
/* иконка «рисуется» при появлении */
.js .tile__icon * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.6,.1,.2,1) .25s; }
.js .tile.is-in .tile__icon * { stroke-dashoffset: 0; }
.tile h3 { font-size: 24px; line-height: 1.17; letter-spacing: -.01em; margin-bottom: 10px; }
.tile p { color: var(--gray-text); font-size: 17px; }
.tile__icon { width: 48px; height: 48px; margin-bottom: auto; padding-bottom: 26px; box-sizing: content-box; fill: none; stroke: var(--blue); transform-origin: 24px 24px; transition: transform .5s cubic-bezier(.2,.7,.2,1); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile--wide { grid-column: span 3; display: grid; grid-template-columns: 1.1fr 1fr; padding: 0; overflow: hidden; min-height: 420px; }
.tile--dark { background: var(--black); color: #f5f5f7; }
.tile--dark p { color: #a1a1a6; }
.tile__text { padding: clamp(36px, 5vw, 56px); align-self: center; }
.tile--wide h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; margin-bottom: 16px; }
.tile__kicker { font-size: 17px; font-weight: 600; color: #0a7d6f !important; margin-bottom: 10px; }
.tile--wide img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .tile--wide { grid-column: auto; grid-template-columns: 1fr; }
  .tile--wide img { height: 340px; }
  .tile { min-height: 0; padding: 30px 26px; }
  .tile__icon { padding-bottom: 20px; }
}

/* ===== Carousel ===== */
.carousel__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 max(22px, calc((100vw - 1060px) / 2 + 22px)); scroll-padding: 0 max(22px, calc((100vw - 1060px) / 2 + 22px));
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track a { flex: 0 0 auto; width: calc((min(100vw, 1060px) - 44px - 40px) / 3); aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; background: var(--gray-bg); }
@media (max-width: 900px) { .carousel__track a { width: calc((100vw - 44px - 20px) / 2); } }
@media (max-width: 640px) { .carousel__track { gap: 12px; } .carousel__track a { width: calc(100vw - 56px); border-radius: 20px; } }
.carousel__track img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.carousel__track a:hover img { transform: scale(1.03); }
.carousel__nav { display: flex; justify-content: flex-end; gap: 14px; margin-top: 24px; }
.carousel__btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #e8e8ed; cursor: pointer; display: grid; place-items: center; transition: background .2s, opacity .2s; }
.carousel__btn:hover { background: #dcdce1; }
.carousel__btn:disabled { opacity: .4; cursor: default; }
.carousel__btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; border-radius: 18px; }
.lightbox__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; font-size: 28px; line-height: 1; color: var(--white); background: rgba(255,255,255,.15); border: 0; cursor: pointer; }

/* ===== Schedule ===== */
.schedule { list-style: none; margin: 0; padding: 0; }
.schedule li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--gray-line); }
.schedule li:last-child { border-bottom: 1px solid var(--gray-line); }
.schedule time { font-size: 28px; font-weight: 600; letter-spacing: -.01em; color: #86868b; font-variant-numeric: tabular-nums; line-height: 1.2; }
.schedule h3 { font-size: 21px; margin-bottom: 4px; }
.schedule p { color: var(--gray-text); }
.schedule .is-main time { background: linear-gradient(90deg, #0a9d8a, #0071e3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.schedule .is-main h3 { font-size: 28px; }
.footnote { margin-top: 24px; font-size: 14px; color: var(--gray-text); }
@media (max-width: 560px) {
  .schedule li { grid-template-columns: 1fr; gap: 4px; padding: 22px 0; }
  .schedule time { font-size: 21px; }
}

/* ===== Band ===== */
.band { position: relative; overflow: hidden; color: var(--white); background: #2f4a3f; padding: clamp(120px, 18vw, 220px) 0; text-align: center; }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(10, 40, 35, .25), rgba(10, 40, 35, .5)); }
.band__content { position: relative; z-index: 2; }
.band__quote { font-size: clamp(32px, 5.4vw, 64px); font-weight: 700; line-height: 1.06; letter-spacing: -.015em; max-width: 900px; margin: 0 auto; }
.band__sub { font-size: clamp(19px, 2.2vw, 24px); margin-top: 18px; color: rgba(255,255,255,.85); }

/* ===== Plans ===== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: var(--white); border-radius: var(--radius); padding: 44px 30px 36px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.plan--featured { box-shadow: 0 0 0 2px var(--blue); }
.plan__badge { font-size: 12px; font-weight: 600; color: var(--orange); position: absolute; top: 18px; left: 0; right: 0; }
.plan h3 { font-size: 32px; letter-spacing: -.01em; }
.plan__desc { color: var(--gray-text); margin-top: 6px; font-size: 15px; }
.plan__price { font-size: 21px; font-weight: 600; margin: 22px 0 20px; }
.plan__price small { font-size: 17px; font-weight: 400; color: var(--gray-text); }
.plan ul { list-style: none; margin: 30px 0 0; padding: 0; width: 100%; text-align: center; }
.plan li { padding: 14px 0; border-top: 1px solid var(--gray-line); font-size: 15px; color: var(--ink); }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}

/* ===== Location ===== */
.location { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.location h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.015em; margin-bottom: 20px; }
.location__text > p:not(.kicker) { color: var(--gray-text); margin-bottom: 20px; }
.location__map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; background: var(--gray-bg); }
.location__map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .location { grid-template-columns: 1fr; gap: 36px; } .location__map { aspect-ratio: 4 / 3; } }

/* ===== FAQ ===== */
.faq details { border-bottom: 1px solid var(--gray-line); }
.faq details:first-child { border-top: 1px solid var(--gray-line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font-size: 21px; font-weight: 600; letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { padding: 0 44px 26px 0; color: var(--gray-text); }

/* ===== Form ===== */
.form { background: var(--gray-bg); border-radius: var(--radius); padding: clamp(24px, 5vw, 48px); }

.segmented { border: 0; margin: 0 0 28px; padding: 4px; display: grid; grid-template-columns: repeat(3, 1fr); background: #e3e3e8; border-radius: 12px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; text-align: center; padding: 10px 6px; border-radius: 9px; font-size: 15px; font-weight: 500; cursor: pointer; transition: background .2s, box-shadow .2s; }
.segmented input:checked + span { background: var(--white); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.segmented input:focus-visible + span { outline: 3px solid rgba(0, 125, 250, .6); }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; gap: 0; } }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid var(--gray-line); border-radius: 12px;
  font: 400 17px/1.3 var(--font); letter-spacing: -.022em; color: var(--ink); background: var(--white);
  -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #a1a1a6; }
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .18); }
.field__error { display: none; font-style: normal; font-size: 13px; color: var(--error); margin-top: 6px; }
.field.is-invalid input { border-color: var(--error); background: #fff5f5; }
.field.is-invalid .field__error { display: block; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--gray-text); margin: 6px 0 26px; cursor: pointer; line-height: 1.4; }
.consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); flex: none; }
.consent a { color: var(--link); }
.consent.is-invalid { color: var(--error); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { margin-top: 14px; text-align: center; font-size: 15px; min-height: 1.2em; }
.form__status.is-error { color: var(--error); }
.form__success { text-align: center; padding: 40px 0; }
.form__success svg { width: 64px; height: 64px; margin: 0 auto 20px; }
.form__success svg circle, .form__success svg path { stroke: var(--blue); }
.form__success h3 { font-size: 32px; letter-spacing: -.01em; margin-bottom: 10px; }
.form__success p { color: var(--gray-text); }

.contacts { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; margin-top: 32px; color: var(--gray-text); font-size: 17px; }
.contacts p { width: 100%; text-align: center; }

/* ===== Footer ===== */
.footer { position: relative; overflow: hidden; background: #2f4a3f; color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.5; letter-spacing: -.01em; padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); }
.footer__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(12,45,38,.55), rgba(12,45,38,.82)); }
.footer__inner { position: relative; z-index: 2; padding-top: clamp(120px, 16vw, 200px); }
.footer .ai-note { top: 14px; bottom: auto; right: 14px; }
.footer__note { padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.22); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 14px 0; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 22px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.22); }
@media (max-width: 760px) { .footer { padding-bottom: 96px; } }

/* ===== Sticky CTA (mobile) ===== */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    display: block; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40;
    text-align: center; padding: 15px; border-radius: 980px; background: var(--blue); color: var(--white);
    font-size: 17px; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    transform: translateY(160%); transition: transform .35s;
  }
  .sticky-cta.is-visible { transform: none; }
}

/* ===== Reveal ===== */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .tile__icon * { stroke-dashoffset: 0; transition: none; }
  .tile, .social { transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Privacy page ===== */
.page { padding: calc(var(--nav-h) + 56px) 0 80px; }
.page main { max-width: 820px; }
.page h1 { overflow-wrap: anywhere; hyphens: auto; font-size: clamp(30px, 5vw, 56px); letter-spacing: -.015em; line-height: 1.07; margin-bottom: 28px; }
.page h2 { font-size: 24px; margin: 36px 0 12px; }
.page p { margin-bottom: 1em; color: #424245; }
.page .link { color: var(--link); text-decoration: none; }
.page .btn { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 12px; border-radius: 980px; background: var(--blue); color: var(--white); font-size: 12px; text-decoration: none; }
.page .logo__text { font-size: 15px; font-weight: 600; }

/* ===== Legend (Геродот) ===== */
.legend { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.legend__media { position: relative; }
.legend__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.legend h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.015em; margin-bottom: 20px; }
.legend__text > p:not(.kicker) { color: var(--gray-text); margin-bottom: 16px; }
.legend .kicker { color: #0a7d6f; }
.legend__invite { color: var(--ink) !important; font-weight: 500; padding-left: 16px; border-left: 3px solid #0a9d8a; }
@media (max-width: 860px) { .legend { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .legend__media { display: none; } }

/* ===== Contacts ===== */
.socials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.social {
  --c: var(--blue);
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  padding: 34px 18px 30px; border-radius: var(--radius); background: var(--gray-bg); text-decoration: none; color: var(--ink);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s cubic-bezier(.2,.7,.2,1), background .3s, opacity .9s cubic-bezier(.2,.6,.2,1);
}
.social__icon {
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 14px;
  background: var(--c); color: #fff; box-shadow: 0 10px 24px -10px var(--c);
  transition: transform .45s cubic-bezier(.3,1.6,.5,1);
}
.social__icon svg { width: 30px; height: 30px; fill: currentColor; }
.social__name { font-size: 19px; font-weight: 600; }
.social__value { font-size: 14px; color: var(--gray-text); overflow-wrap: anywhere; }
.social:hover { transform: translateY(-6px); background: #fff; box-shadow: 0 22px 44px -18px rgba(0,0,0,.25); }
.js .social.reveal.is-in:hover { transform: translateY(-6px); }
.social:hover .social__icon { transform: scale(1.1) rotate(-6deg); }
.social:active { transform: translateY(-2px) scale(.98); }
.social:focus-visible { outline: 3px solid rgba(0,125,250,.6); outline-offset: 3px; }
.social--phone { --c: #34c759; }
.social--tg { --c: #229ed9; }
.social--ig { --c: #e1306c; }
.social--ig .social__icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social--mail { --c: #0a7d6f; }
.socials .social.reveal.is-in:nth-child(2) { transition-delay: .08s; }
.socials .social.reveal.is-in:nth-child(3) { transition-delay: .16s; }
.socials .social.reveal.is-in:nth-child(4) { transition-delay: .24s; }
@media (max-width: 860px) { .socials { grid-template-columns: 1fr 1fr; gap: 14px; } }
@media (max-width: 400px) { .social { padding: 26px 12px 22px; } .social__icon { width: 56px; height: 56px; } .social__name { font-size: 17px; } .social__value { font-size: 12px; } }

/* форма на сером фоне */
.section--gray .form { background: var(--white); }

/* ===== Map stub (до согласия на cookie) ===== */
.location__map { position: relative; }
.map-stub { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; color: var(--gray-text); font-size: 15px;
  background: linear-gradient(135deg, #e9f4f1, #e6eef8); }
.location__map.is-loaded .map-stub { display: none; }

/* ===== Cookie banner ===== */
.pill--compact { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.cookie {
  position: fixed; z-index: 120; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0;
  width: min(680px, calc(100% - 32px)); display: flex; align-items: center; gap: 20px; padding: 18px 20px;
  background: rgba(255,255,255,.88); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-radius: 20px; box-shadow: 0 18px 50px -12px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.05);
  font-size: 14px; line-height: 1.4; color: var(--ink); transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .45s;
}
.cookie.is-shown { transform: translate(-50%, 0); opacity: 1; }
.cookie[hidden] { display: none; }
.cookie a { color: var(--link); }
.cookie__btns { display: flex; gap: 10px; flex: none; }
@media (max-width: 640px) {
  .cookie { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px; font-size: 13px; }
  .cookie__btns > * { flex: 1; white-space: nowrap; padding: 8px 10px; font-size: 14px; min-height: 38px; }
}

/* галерея на десктопе: ровно в ширину контента, по центру */
@media (min-width: 901px) {
  .carousel__track { width: calc(min(100vw, 1060px) - 44px); margin: 0 auto; padding: 0; scroll-padding: 0; }
  .carousel__track a { width: calc((100% - 40px) / 3); }
}

/* ===== Program tabs (один / два дня) ===== */
.program-tabs { grid-template-columns: 1fr 1fr; max-width: 360px; margin: 0 0 clamp(28px, 4vw, 40px); }
.program-tabs button {
  border: 0; background: none; padding: 10px 6px; border-radius: 9px; cursor: pointer;
  font: 500 15px/1.2 var(--font); letter-spacing: -.01em; color: var(--ink); transition: background .25s, box-shadow .25s;
}
.program-tabs button[aria-selected="true"] { background: var(--white); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.program-tabs button:focus-visible { outline: 3px solid rgba(0, 125, 250, .6); }
.js .program-panel[hidden] { display: none; }
.program-panel.is-entering { animation: panelIn .5s cubic-bezier(.2,.7,.2,1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.schedule__day { font-size: 14px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #0a7d6f; margin: 0 0 6px; }
.schedule + .schedule__day { margin-top: 36px; }
.plans__note { text-align: center; margin-top: 28px; font-size: 15px; color: var(--gray-text); }
@media (prefers-reduced-motion: reduce) { .program-panel.is-entering { animation: none; } }

.carousel__track a { position: relative; }
.kicker--green { color: #0a7d6f; }
