/* ============================================================
   AN Swim — основной стиль.
   Дизайн перенесён из claude.ai/design в адаптивную вёрстку:
   mobile-first база + десктопный медиазапрос (один код, два макета).
   Фирменные шрифты Manrope/Montserrat подключаются в fonts.css.
   ============================================================ */

/* --- Токены палитры и типографики --- */
:root {
  --bg:        #FFF5F7;   /* фон страницы */
  --soft:      #FFE3EA;   /* мягкие блоки/секции */
  --pink:      #FF9EB5;   /* акцент */
  --pink-mid:  #FFC3D2;   /* границы инпутов/слотов */
  --cta:       #E84A7F;   /* кнопки-призывы */
  --cta-d:     #CC3A6B;   /* наведение/нажатие */
  --orca:      #C9447A;   /* акцентный текст */
  --ink:       #3D2B33;   /* основной текст */
  --ink-soft:  #5A434C;   /* вторичный текст */
  --muted:     #9B8088;   /* подписи */
  --dark:      #3D2B33;   /* фон подвала */
  --white:     #FFFFFF;
  --head: 'Montserrat', sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  font-family: var(--body);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
}
h1, h2, h3 { font-family: var(--head); }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* --- Утилиты --- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.is-hidden { display: none !important; }

/* --- Кнопки --- */
.btn {
  font-family: var(--head); font-weight: 700; color: #fff;
  background: var(--cta); border: none; border-radius: 14px;
  padding: 14px 22px; min-height: 52px; cursor: pointer;
  box-shadow: 0 6px 16px rgba(232,74,127,.35);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; transition: background .15s ease;
  font-size: 17px;
}
.btn:hover { background: var(--cta-d); }
.btn--lg { font-size: 20px; padding: 18px 30px; min-height: 62px; border-radius: 18px;
  box-shadow: 0 12px 26px rgba(232,74,127,.4); }
.btn--block { width: 100%; }
.btn[disabled] { background: #F0AEC2; box-shadow: none; cursor: not-allowed; }
.btn-ghost {
  font-family: var(--body); font-weight: 600; font-size: 17px; color: var(--ink);
  background: var(--soft); border: none; border-radius: 12px;
  padding: 12px 18px; min-height: 50px; cursor: pointer; transition: background .15s ease;
}
.btn-ghost:hover { background: #FFD3DE; }
.btn-outline {
  font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--orca);
  background: #fff; border: 2px solid var(--pink-mid); border-radius: 18px;
  padding: 16px 34px; min-height: 60px; cursor: pointer; transition: border-color .15s ease;
}
.btn-outline:hover { border-color: var(--cta); }

/* Кнопка Telegram-бота (в шапке) */
.btn-tg {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 2px solid var(--pink-mid); border-radius: 14px;
  padding: 0 13px; min-height: 52px;
  font-family: var(--head); font-weight: 700; font-size: 16px; color: var(--ink);
  text-decoration: none; transition: border-color .15s ease, background .15s ease;
}
.btn-tg:hover { border-color: #2AABEE; background: #F4FBFE; }
.tg-ico { width: 22px; height: 22px; flex: none; fill: #2AABEE; display: block; }
.btn-tg__label { display: none; }       /* на мобильном — только иконка */

/* Ссылка на бота в подвале */
.footer__tg { display: inline-flex; align-items: center; gap: 8px; }
.footer__tg .tg-ico { width: 18px; height: 18px; }

/* --- Логотип --- */
.logo { display: block; flex: none; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__name { font-family: var(--head); font-weight: 800; font-size: 22px; letter-spacing: .3px; }

/* ============================================================
   ШАПКА
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,245,247,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--soft);
}
.header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav { display: flex; align-items: center; gap: 16px; }
.nav__links { display: none; }            /* скрыто на мобильных */
.nav__link { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 17px; transition: color .15s ease; }
.nav__link:hover { color: var(--orca); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 24px 16px 0; }
.hero__card {
  max-width: var(--maxw); margin: 0 auto; background: var(--soft);
  border-radius: 28px; overflow: hidden; position: relative;
  box-shadow: 0 20px 50px rgba(201,68,122,.16);
}
.hero__grid { display: flex; flex-direction: column-reverse; }
.hero__text { padding: 28px 22px 32px; }
.hero h1 { font-weight: 800; font-size: 30px; line-height: 1.14; margin: 0 0 16px; text-wrap: balance; }
.hero__lead { font-size: 18px; margin: 0 0 24px; color: var(--ink-soft); }
.hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero__more { font-size: 17px; font-weight: 600; color: var(--orca); text-decoration: none;
  border-bottom: 2px solid var(--pink-mid); padding-bottom: 1px; }
.hero__media { position: relative; min-height: 320px; overflow: hidden; background: #E9E4E6; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 16%; }

/* пузырьки */
.bubble { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__media .bubble { background: rgba(255,255,255,.7); }
@keyframes anfloat { 0%{transform:translateY(0) scale(1);opacity:0;} 12%{opacity:.7;} 100%{transform:translateY(-200px) scale(1.25);opacity:0;} }
@keyframes answay { 0%,100%{transform:translateX(0);} 50%{transform:translateX(-22px);} }
@keyframes anrise { 0%{transform:translateY(40px) scale(.85);opacity:0;} 12%{opacity:.7;} 85%{opacity:.55;} 100%{transform:translateY(-820px) scale(1.15);opacity:0;} }

/* ============================================================
   СЕКЦИИ-ОБЩЕЕ
   ============================================================ */
.section { max-width: var(--maxw); margin: 0 auto; padding: 56px 16px 8px; }
.section--info { background: var(--soft); padding: 48px 16px; max-width: none; scroll-margin-top: 80px; }
.section h2 { font-weight: 800; font-size: 28px; line-height: 1.2; margin: 0 0 8px; }
.eyebrow { font-size: 19px; color: var(--orca); font-weight: 600; margin: 0 0 28px; }
.lead { margin: 0 0 28px; color: var(--ink-soft); font-size: 18px; }

.card { background: #fff; border-radius: 22px; padding: 26px;
  box-shadow: 0 10px 24px rgba(201,68,122,.10); }
.card h3 { font-weight: 700; font-size: 22px; margin: 0 0 12px; }

/* About */
.about__grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.about h3 { font-weight: 700; font-size: 22px; margin: 0 0 14px; }
.about p { margin: 0 0 16px; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 11px; height: 11px; border-radius: 50%;
  background: var(--cta); margin-top: 9px; }
.about__media { position: relative; border-radius: 24px; overflow: hidden; min-height: 360px;
  box-shadow: 0 14px 30px rgba(201,68,122,.16); }
.about__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__media .tint { position: absolute; inset: 0; background: #FFB3C6; mix-blend-mode: multiply; opacity: .22; }
.about__media .grad { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(255,158,181,0) 55%,rgba(232,74,127,.22) 100%); }
.about__media .frame { position: absolute; inset: 0; border-radius: 24px; box-shadow: inset 0 0 0 4px rgba(255,227,234,.6); pointer-events: none; }

.cards-2 { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
.quals { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 20px; }
.qual { background: #fff; border-radius: 18px; padding: 22px; border-top: 5px solid var(--pink);
  box-shadow: 0 8px 18px rgba(201,68,122,.08); }
.about__sub { font-weight: 700; font-size: 24px; margin: 44px 0 18px; }

/* волна-разделитель */
.wave { display: block; width: 100%; height: 48px; margin-top: 40px; }
.wave path { animation: answay 11s ease-in-out infinite; }

/* Important info */
.info__grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 18px; }
.info ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.info .card--split { display: grid; grid-template-columns: 1fr; gap: 24px; }
.info h3 { font-weight: 700; font-size: 22px; margin: 0 0 14px; }

/* Outcall */
.outcall__card { background: #fff; border-radius: 26px; padding: 30px;
  box-shadow: 0 16px 36px rgba(201,68,122,.12); display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
.outcall h2 { font-weight: 800; font-size: 28px; margin: 0 0 12px; }
.outcall__price { font-family: var(--head); font-weight: 800; font-size: 34px; color: var(--orca); }
.outcall__price small { font-size: 18px; font-weight: 600; color: var(--ink-soft); }
.outcall__call { text-align: center; }
.outcall__phone { margin-top: 12px; font-size: 17px; color: var(--ink-soft); }

/* ============================================================
   ПОДВАЛ
   ============================================================ */
.footer { background: var(--dark); color: var(--bg); padding: 48px 16px; scroll-margin-top: 80px; }
.footer__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__brand .brand__name { color: var(--bg); }
.footer__tag { margin: 0; color: var(--pink-mid); font-size: 16px; max-width: 240px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__h { color: var(--pink); font-size: 15px; font-weight: 600; }
.footer a { color: var(--bg); text-decoration: none; font-weight: 600; transition: color .15s ease; }
.footer a:hover { color: var(--pink); }
.footer__map { color: var(--pink) !important; border-bottom: 1px solid var(--pink); align-self: flex-start; }
.footer__muted { color: var(--pink-mid); font-weight: 400; }

/* ============================================================
   ЗАПИСЬ (booking)
   ============================================================ */
.bbar { position: sticky; top: 0; z-index: 50; background: rgba(255,245,247,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--soft); }
.bbar__inner { max-width: 1080px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 14px; }
.bbar__title { display: flex; align-items: center; gap: 10px; }
.bbar__title span { font-family: var(--head); font-weight: 800; font-size: 18px; }
.bgrid { max-width: 1080px; margin: 0 auto; padding: 28px 16px 56px; display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.bmain { position: relative; min-height: 360px; }
.step h2 { font-weight: 800; font-size: 28px; line-height: 1.25; margin: 0 0 10px; }
.step__hint { margin: 0 0 24px; color: var(--ink-soft); font-size: 18px; }

/* выбор-карточки (возраст, прописка) */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 640px; }
.choice { text-align: left; background: #fff; border: 2px solid var(--soft); border-radius: 20px;
  padding: 22px; min-height: 92px; font-family: var(--head); font-weight: 700; font-size: 20px;
  color: var(--ink); cursor: pointer; box-shadow: 0 8px 18px rgba(201,68,122,.10); transition: border-color .15s ease; }
.choice:hover { border-color: var(--cta); }
/* Кнопка на всю ширину сетки выбора (третий вариант «Сплит» в шаге «кто»). */
.choice--wide { grid-column: 1 / -1; }
/* Сплит: варианты составов — вертикальным списком на всю ширину. */
.choices--col { grid-template-columns: 1fr; }
.choice--row { min-height: 0; padding: 18px 22px; font-size: 18px; }
.choice--row small { display: block; margin-top: 4px; font-family: var(--body);
  font-weight: 600; font-size: 14px; color: var(--muted); }

.agebox { margin-top: 22px; background: var(--soft); border-radius: 18px; padding: 22px; max-width: 640px; }
.agebox label { display: block; font-weight: 600; font-size: 17px; margin-bottom: 10px; }
.agebox__row { display: flex; gap: 12px; }
.field { width: 100%; font-family: var(--body); font-size: 19px; padding: 16px; min-height: 58px;
  border: 2px solid var(--pink-mid); border-radius: 14px; background: #fff; color: var(--ink); }
.agebox .field { flex: 1; min-width: 0; }
.agebox .btn { flex: none; }
.warn { margin: 16px 0 0; font-weight: 600; color: var(--cta-d); }

/* прайс */
.price-card { background: var(--soft); border-radius: 22px; padding: 26px; margin-bottom: 18px; max-width: 640px; }
.price-card__label { font-weight: 700; font-size: 17px; color: var(--orca); margin-bottom: 16px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; }
.price-row--top { padding-bottom: 16px; border-bottom: 1px solid var(--pink-mid); }
.price-row--bot { padding-top: 16px; }
.price-row .amount { font-family: var(--head); font-weight: 800; font-size: 28px; }
.price-row .amount--accent { color: var(--orca); }
.price-row small { font-size: 16px; color: var(--ink-soft); }
.pay-note { max-width: 640px; margin: 0 0 18px; padding: 14px 18px; background: var(--soft);
  border-radius: 14px; font-weight: 600; color: var(--orca); font-size: 16px; }
.prep { max-width: 640px; margin-bottom: 24px; }
.prep h3 { font-weight: 700; font-size: 21px; margin: 0 0 14px; }
.prep .bold { font-weight: 700; margin-bottom: 8px; }
.prep ul { margin: 0 0 18px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prep p { margin: 0 0 18px; }

/* слоты */
.day { margin-bottom: 26px; }
.day__label { font-family: var(--head); font-weight: 700; font-size: 20px; margin-bottom: 14px; }
.slots { display: flex; flex-wrap: wrap; gap: 12px; }
.slot { background: #fff; border: 2px solid var(--pink-mid); border-radius: 14px; padding: 16px 26px;
  min-height: 60px; font-family: var(--head); font-weight: 700; font-size: 20px; color: var(--ink);
  cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.slot:hover { background: var(--soft); border-color: var(--cta); }

/* контакты */
.form { max-width: 560px; }
.form__group { margin-bottom: 20px; }
.form__group label { display: block; font-weight: 600; font-size: 17px; margin-bottom: 8px; }
.consent { display: flex; gap: 14px; align-items: flex-start; background: var(--soft);
  border-radius: 16px; padding: 18px; margin-bottom: 24px; cursor: pointer; }
.consent input { width: 28px; height: 28px; flex: none; margin-top: 2px; accent-color: var(--cta); }
.consent span { font-size: 16px; }

/* подтверждение */
.confirm { text-align: center; max-width: 620px; margin: 0 auto; padding-top: 8px; }
.confirm__logo { margin: 0 auto 20px; display: flex; justify-content: center; }
.confirm h2 { font-weight: 800; font-size: 32px; line-height: 1.2; margin: 0 0 16px; }
.confirm__when { background: var(--soft); border-radius: 20px; padding: 22px 34px; margin: 0 auto 24px; display: inline-block; }
.confirm__when .l { font-size: 17px; color: var(--ink-soft); margin-bottom: 4px; }
.confirm__when .d { font-family: var(--head); font-weight: 800; font-size: 24px; }
.confirm__when .t { font-family: var(--head); font-weight: 800; font-size: 24px; color: var(--orca); }
.confirm__memo { text-align: left; background: #fff; border-radius: 20px; padding: 24px;
  box-shadow: 0 10px 24px rgba(201,68,122,.10); margin-bottom: 24px; }
.confirm__memo h3 { font-weight: 700; font-size: 21px; margin: 0 0 12px; }
.confirm__memo p { margin: 0 0 8px; }

/* aside-сводка (скрыта на мобильных) */
.aside { display: none; }
.aside__title { font-family: var(--head); font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.aside__steps { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.aside__step { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.aside__dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--pink-mid); }
.aside__step.done .aside__dot { background: var(--cta); }
.aside__step.done { color: var(--ink); }
.aside__step.active { font-weight: 700; }
.aside__sum { border-top: 1px solid var(--soft); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.aside__line { display: flex; justify-content: space-between; gap: 12px; }
.aside__line .k { color: var(--muted); font-size: 15px; }
.aside__line .v { font-weight: 600; font-size: 16px; text-align: right; }
.aside__line .v--accent { font-weight: 700; color: var(--orca); }

/* ============================================================
   ДЕСКТОП  (≥ 900px)
   ============================================================ */
@media (min-width: 900px) {
  body { font-size: 19px; line-height: 1.6; }
  .container, .header__inner, .footer__grid { padding-left: 32px; padding-right: 32px; }

  .nav__links { display: flex; align-items: center; gap: 30px; }
  .brand__name { font-size: 24px; }
  .btn-tg { padding: 0 18px; }
  .btn-tg__label { display: inline; }    /* на десктопе — иконка + подпись */

  .hero { padding: 56px 32px 0; }
  .hero__card { border-radius: 32px; }
  .hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; }
  .hero__text { padding: 60px 56px; }
  .hero h1 { font-size: 50px; line-height: 1.12; margin: 0 0 22px; }
  .hero__lead { font-size: 21px; margin: 0 0 34px; max-width: 520px; }
  .hero__actions { flex-direction: row; align-items: center; gap: 24px; flex-wrap: wrap; }
  .hero__more { font-size: 18px; }
  .hero__media { min-height: 520px; }

  .section { padding: 80px 32px 20px; }
  .section--info { padding: 72px 32px; }
  .section h2 { font-size: 40px; }
  .info-title { font-size: 38px; }
  .lead, .eyebrow { font-size: 20px; }

  .about__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .about__media { position: sticky; top: 100px; height: 520px; }
  .about__sub { font-size: 28px; }
  .cards-2 { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
  .card { padding: 32px; }
  .quals { grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 18px; }
  .qual { padding: 24px; }

  .info__grid { grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
  .info .card--split { grid-template-columns: 1fr 1fr; gap: 40px; }

  .outcall__card { grid-template-columns: 1.3fr .7fr; padding: 48px; gap: 40px; }
  .outcall h2 { font-size: 34px; }
  .outcall__price { font-size: 40px; }

  .footer { padding: 60px 32px 56px; }
  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 40px; }

  .bgrid { padding: 48px 32px 64px; gap: 48px; }
  .bgrid.has-aside { grid-template-columns: minmax(0,1fr) 300px; }
  .step h2 { font-size: 34px; }
  .choices { gap: 18px; }
  .choice { padding: 28px; }
  .confirm h2 { font-size: 36px; }
  .aside { display: block; position: sticky; top: 108px; background: #fff;
    border-radius: 22px; padding: 28px; box-shadow: 0 12px 30px rgba(201,68,122,.12); }
}

/* ============================================================
   ЮРИДИЧЕСКИЕ СТРАНИЦЫ (политика конфиденциальности)
   ============================================================ */
.legalbar { position: sticky; top: 0; z-index: 50; background: rgba(255,245,247,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--soft); }
.legalbar__inner { max-width: 820px; margin: 0 auto; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; }
.legal { max-width: 820px; margin: 0 auto; padding: 32px 16px 72px; }
.legal h1 { font-size: 28px; line-height: 1.2; margin: 0 0 6px; }
.legal .upd { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
.legal h2 { font-size: 20px; margin: 30px 0 10px; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--orca); }
.note-box { background: var(--soft); border-radius: 16px; padding: 18px 20px; margin: 20px 0; }

/* Ссылка на политику в подвале и у согласия */
.footer__legal { max-width: var(--maxw); margin: 28px auto 0; padding: 0 16px; text-align: center; }
.footer__legal a { color: var(--pink-mid); font-size: 14px; }
.consent a { color: var(--orca); }
