/* ==========================================================================
   Дед Мороз и Снегурочка — лендинг, Новый Год 2027
   Вёрстка 1:1 по design.pen (макет 1440 px).

   МАСШТАБ
   1 rem = 10 px макета при ширине 1440.    От 1180 до 1440 px макет сжимается
   пропорционально. Шире 1440 (2K, 4K) масштаб растёт мягко (на 2560 ≈ 1.2x,
   на 3840 ≈ 1.5x), контент (144rem) центрируется, фоны остаются на всю ширину.
   Ниже 1180 px включается адаптивная (планшет/мобильная) вёрстка.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face{font-family:"Ruslan Display";font-style:normal;font-weight:400;font-display:swap;
  src:url("../fonts/ruslan-cyrillic.woff2") format("woff2");
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Ruslan Display";font-style:normal;font-weight:400;font-display:swap;
  src:url("../fonts/ruslan-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Ruslan Display";font-style:normal;font-weight:400;font-display:swap;
  src:url("../fonts/ruslan-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

@font-face{font-family:"Golos Text";font-style:normal;font-weight:400 700;font-display:swap;
  src:url("../fonts/golos-cyrillic.woff2") format("woff2");
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:400 700;font-display:swap;
  src:url("../fonts/golos-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:400 700;font-display:swap;
  src:url("../fonts/golos-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- Tokens ---------- */
:root{
  --porcelain:#FFF2DF;
  --white:#FFFFFF;
  --cobalt:#004481;
  --cobalt-deep:#024268;
  --wash:#C4D8CC;
  --ink:#0F3550;
  --muted:#4F6068;
  --on-cobalt:#D6E6DE;
  --red:#D60F2E;
  --gold:#FFAF00;
  --teal:#1B6A4A;
  --burgundy:#5B2130;
  --coral:#FE8B76;
  --brown:#4A260C;
  --cream:#FFF8EC;
  --todo:#B36B00;

  --font-display:"Ruslan Display","Georgia","Times New Roman",serif;
  --font-body:"Golos Text","Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;

  --yellow-grad:linear-gradient(180deg,#FFC93C 0%,#FFAF00 100%);
  --ease:cubic-bezier(.22,.8,.3,1);
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{
  font-size:clamp(8.2px,.69444vw,10px);
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
}
/* Шире макета (2K, 4K): масштаб растёт мягко, 1440 → 10px, 2560 → ~12px, 3840 → ~15px.
   Контент (144rem) центрируется, фоны остаются на всю ширину. */
@media (min-width:1441px){
  html{font-size:min(16px,calc(10px + (100vw - 1440px) * .002))}
}
body{
  margin:0;
  font-family:var(--font-body);
  font-size:1.5rem;
  line-height:1.5;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
body:has(dialog[open]){overflow:hidden}
img,svg{display:block;max-width:100%}
img{height:auto}
h1,h2,h3,p,ul,ol,dl,dd,figure{margin:0;padding:0}
ul,ol{list-style:none}
a{color:inherit;text-decoration:none}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
section[id]{scroll-margin-top:0}

:focus-visible{outline:.3rem solid var(--cobalt);outline-offset:.3rem;border-radius:.4rem}
.btn:focus-visible{outline-color:var(--cobalt);outline-offset:.4rem;border-radius:4rem}
.skip-link{position:absolute;left:1.6rem;top:-10rem;z-index:200;background:var(--cobalt);color:#fff;padding:1rem 1.6rem;border-radius:.8rem;font-size:1.6rem}
.skip-link:focus{top:1.6rem}

/* ---------- Icons ---------- */
.ic{
  width:1em;height:1em;flex:none;
  fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
}

/* ---------- Layout helpers ---------- */
.container{width:100%;max-width:144rem;margin-inline:auto;padding-inline:8rem}
.section{position:relative}

/* ---------- Typography ---------- */
.h2{
  font-family:var(--font-display);font-weight:400;
  font-size:6.4rem;line-height:1.05;color:var(--ink);
  text-wrap:balance;
}
.h2--md{font-size:5.2rem;line-height:1.08}
.h2--center{text-align:center}
.h2--white{color:#fff}
.lead{font-size:2rem;line-height:1.5;color:var(--muted);max-width:76rem;text-wrap:pretty}
.section__head{display:flex;flex-direction:column;gap:1.8rem}
.todo{color:var(--todo)}
.todo--gold{color:var(--gold)}
.todo--lg{font-size:1.6rem}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.8rem;
  border:0;border-radius:4rem;
  font-weight:600;line-height:1.2;text-align:center;
  transition:transform .25s var(--ease),box-shadow .25s var(--ease),filter .25s var(--ease),background-color .25s;
  -webkit-tap-highlight-color:transparent;
}
.btn--yellow{
  background:var(--yellow-grad);color:var(--brown);
  padding:1.6rem 3rem;font-size:1.6rem;
  box-shadow:0 .8rem 2rem #B37A0044;
}
.btn--yellow:hover{transform:translateY(-.2rem);filter:brightness(1.04);box-shadow:0 1.1rem 2.4rem #B37A0055}
.btn--yellow:active{transform:translateY(0);filter:brightness(.97)}
.btn--hero{padding:1.9rem 2.2rem;font-size:1.7rem;box-shadow:0 1rem 2.4rem #B37A0055}
.btn--outline{
  border:.2rem solid var(--cobalt);color:var(--cobalt);
  padding:1.7rem 1.8rem;font-size:1.7rem;font-weight:500;background:transparent;
}
.btn--outline:hover{background:var(--cobalt);color:#fff;transform:translateY(-.2rem)}
.btn--block{width:100%;padding:1.6rem 0}
.btn--wide{padding:1.8rem 5.6rem;font-size:1.8rem}
.btn--square{border-radius:1.4rem}
.btn--sm{padding:1.4rem 2.6rem;font-size:1.6rem;position:absolute}
.btn--corp{padding:1.8rem 3rem;font-size:1.7rem;align-self:flex-start}
.btn--contact{padding:1.7rem 3.2rem;font-size:1.6rem;align-self:flex-start}
.btn--modal{padding:1.7rem 0;font-size:1.8rem}
.prices__foot .btn{padding:2rem 3.4rem;font-size:1.8rem}

.icon-btn{
  display:none;align-items:center;justify-content:center;
  width:4.4rem;height:4.4rem;border-radius:50%;
  border:.15rem solid var(--cobalt);background:transparent;color:var(--cobalt);font-size:2.2rem;
  -webkit-tap-highlight-color:transparent;
}
.round-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:4.8rem;height:4.8rem;border-radius:50%;border:.2rem solid var(--cobalt);
  font-size:2.4rem;transition:transform .2s var(--ease),background-color .2s,color .2s;
}
.round-btn--outline{background:transparent;color:var(--cobalt)}
.round-btn--fill{background:var(--cobalt);color:#fff}
.round-btn:hover{transform:scale(1.07)}
.round-btn--outline:hover{background:var(--cobalt);color:#fff}
.round-btn[disabled]{opacity:.35;pointer-events:none}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header{
  background:var(--white);
  padding:1.8rem max(8rem,calc((100% - 128rem)/2)) 1.6rem;
  display:flex;flex-direction:column;gap:1.4rem;
  position:relative;z-index:20;
}
.header__nav{display:flex;align-items:center;justify-content:space-between;gap:2rem}
.logo{font-family:var(--font-display);font-size:2.6rem;line-height:1.1;color:var(--cobalt);white-space:nowrap}
.header__contacts{display:flex;align-items:center;gap:2rem}

.socials{display:flex;align-items:center;gap:1rem}
.social{
  display:inline-flex;align-items:center;justify-content:center;
  width:4rem;height:4rem;border-radius:50%;color:#fff;
  font-size:2rem;font-weight:700;
  transition:transform .2s var(--ease),filter .2s;
}
.social:hover{transform:translateY(-.2rem) scale(1.06);filter:brightness(1.06)}
.social--vk{background:#0077FF;font-size:1.4rem;letter-spacing:.02em}
.social--ig{background:linear-gradient(45deg,#FEDA75 0%,#FA7E1E 30%,#D62976 60%,#962FBF 85%,#4F5BD5 100%)}
.social--yt{background:#FF0000}

.wa-pill{
  display:inline-flex;align-items:center;gap:.8rem;
  border:.15rem solid var(--cobalt);border-radius:2.4rem;
  padding:1.1rem 1.6rem;color:var(--cobalt);font-size:1.5rem;font-weight:600;line-height:1.2;
  font-size:1.5rem;
  transition:background-color .2s,color .2s;
}
.wa-pill .ic{font-size:1.8rem}
.wa-pill:hover{background:var(--cobalt);color:#fff}

.phone-block{display:flex;flex-direction:column}
.phone-block__num{font-size:2rem;font-weight:700;color:var(--ink);line-height:1.3;white-space:nowrap}
.phone-block__cap{font-size:1.2rem;color:var(--muted);line-height:1.3}

.header__links{display:flex;align-items:center;gap:3.6rem;font-size:1.5rem;font-weight:500;color:var(--ink)}
.header__links>a{position:relative;padding-block:.2rem;transition:color .2s}
.header__links>a::after{
  content:"";position:absolute;left:0;right:0;bottom:-.3rem;height:.2rem;background:var(--cobalt);
  transform:scaleX(0);transform-origin:left;transition:transform .3s var(--ease);
}
.header__links>a:hover{color:var(--cobalt)}
.header__links>a:hover::after,.header__links>a.is-current::after{transform:scaleX(1)}
.header__links>a.is-current{font-weight:600}
.header__links-extra,.header__mobile-actions{display:none}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative;overflow:hidden;
  background:linear-gradient(180deg,#D3E4EC 0%,#A3C9E4 100%);
}
.hero::after{ /* сплошной снег на всю ширину, если экран шире контента */
  content:"";position:absolute;left:0;right:0;bottom:0;height:4.2rem;background:#fff;z-index:2;
}
.hero__stage{
  --plate:90rem;
  position:relative;max-width:144rem;height:87.2rem;margin-inline:auto;
}
.hero__glow{
  position:absolute;left:59rem;top:-7rem;width:110rem;height:110rem;border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,233,188,.95) 0%,rgba(255,233,188,.55) 55%,rgba(255,233,188,0) 100%);
  pointer-events:none;
}
.hero__snowfall,.contacts__snow{position:absolute;inset:0;pointer-events:none;z-index:3}
.flake{position:absolute;border-radius:50%;background:#fff}

/* Тарелка */
.plate{
  position:absolute;left:79.1667%;top:45rem;
  width:var(--plate);height:var(--plate);
  transform:translate(-50%,-50%);z-index:1;
}
.plate>*{position:absolute;left:50%;top:50%;border-radius:50%;transform:translate(-50%,-50%)}
.plate__ring{width:100%;height:100%;border:.2rem solid #00448144}
.plate__rim{width:91.111%;height:91.111%;background:#fff;box-shadow:0 2rem 4.4rem #0044813A}
.plate__photo{width:85.556%;height:85.556%;object-fit:cover;max-width:none}
.plate__inner-ring{width:85.556%;height:85.556%;border:.3rem solid var(--cobalt)}
.plate__ornament{width:100%;height:100%;border-radius:0;--r:calc(var(--plate) * .47778)}
.rim-item{
  position:absolute;left:50%;top:50%;display:block;
  transform:rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1)) translate(-50%,-50%);
}
.rim-flake{width:calc(var(--plate) * .03111);height:calc(var(--plate) * .03111);color:var(--cobalt)}
.rim-dot{width:calc(var(--plate) * .01111);height:calc(var(--plate) * .01111);border-radius:50%;background:#F5A300}
.plate__ornament .ic{width:100%;height:100%}

/* Текст героя */
.hero__copy{
  position:absolute;left:8rem;top:12rem;width:64rem;z-index:4;
  display:flex;flex-direction:column;align-items:flex-start;gap:2.8rem;
}
.chip{
  display:inline-flex;align-items:center;gap:.8rem;
  background:#fff;border:.1rem solid #00448133;border-radius:4rem;
  padding:.8rem 1.6rem;font-size:1.4rem;font-weight:600;line-height:1.3;color:var(--cobalt);
}
.chip .ic{font-size:1.6rem;color:#E09A00}
.hero__title{
  font-family:var(--font-display);font-weight:400;
  font-size:6.8rem;line-height:1.04;color:var(--cobalt);text-wrap:balance;
}
.hero__lead{font-size:2rem;line-height:1.5;color:var(--ink);max-width:56rem}
.hero__actions{display:flex;flex-wrap:wrap;gap:1.2rem}
.hero__facts{display:flex;flex-wrap:wrap;gap:1.8rem}
.hero__facts li{display:flex;align-items:center;gap:.8rem;font-size:1.5rem;color:var(--ink)}
.fact-badge{
  display:inline-flex;align-items:center;justify-content:center;
  width:3.4rem;height:3.4rem;border-radius:50%;background:#fff;
  box-shadow:0 .4rem 1.2rem #00448128;font-size:1.8rem;
}
.fact-badge--teal{color:var(--teal)}
.fact-badge--red{color:var(--red)}
.fact-badge--amber{color:#E58A00}

/* Сугробы */
.hero__drifts{position:absolute;inset:0;z-index:2;pointer-events:none}
.drift{position:absolute;display:block;background:#fff;border-radius:50%}
.drift--1{left:-13.889%;top:73.5rem;width:69.444%;height:26rem}
.drift--2{left:38.889%;top:76.5rem;width:76.389%;height:24rem}
.drift--3{left:69.444%;top:73rem;width:48.611%;height:26rem}
.drift--4{left:17.361%;top:78rem;width:62.5%;height:20rem}

/* ==========================================================================
   ORNAMENT STRIP
   ========================================================================== */
.strip{
  display:flex;align-items:center;justify-content:space-between;gap:1.2rem;
  padding:1.8rem max(8rem,calc((100% - 128rem)/2));
  background:#fff;overflow:hidden;color:var(--cobalt);
}
.strip .ic{width:2.2rem;height:2.2rem}
.strip .dot{width:.8rem;height:.8rem;border-radius:50%;background:var(--cobalt);flex:none}

/* ==========================================================================
   PROGRAMS
   ========================================================================== */
.programs{background:#fff;padding-block:12rem}
.programs .container{display:flex;flex-direction:column;gap:6.4rem}

.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.4rem;align-items:center}
.card{
  position:relative;display:flex;flex-direction:column;
  min-height:90rem;background:#fff;color:var(--ink);
  border-radius:2.8rem;overflow:hidden;
  box-shadow:0 1.2rem 3.6rem #00448122;
  align-self:center;width:100%;
}
.card__photo{width:100%;height:23rem;object-fit:cover;flex:none}
.card__body{flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:2.2rem;padding:2.8rem}
.card__top{display:flex;flex-direction:column;gap:1.4rem}
.card__bottom{display:flex;flex-direction:column;gap:1.8rem}
.card__time{display:flex;align-items:baseline;gap:.8rem}
.card__num{font-family:var(--font-display);font-size:6rem;line-height:1;color:var(--cobalt)}
.card__unit{font-size:1.6rem;font-weight:500;color:var(--muted)}
.card__title{font-family:var(--font-display);font-weight:400;font-size:3rem;line-height:1.1;color:var(--ink)}
.card__desc{font-size:1.5rem;line-height:1.45;color:var(--muted)}
.card__desc+.card__desc{margin-top:.2rem}
.checks{display:flex;flex-direction:column;gap:.9rem;margin-top:.2rem}
.checks li{display:flex;align-items:flex-start;gap:1rem;font-size:1.5rem;line-height:1.35;color:var(--ink)}
.checks .ic{font-size:1.8rem;color:var(--teal);margin-top:.1rem}
.card__prices{display:flex;gap:2.8rem}
.price{display:block;font-family:var(--font-display);font-size:3rem;line-height:1.1;color:var(--cobalt);white-space:nowrap}
.price-cap{display:block;font-size:1.3rem;color:var(--muted);margin-top:.2rem}

.card--featured{
  min-height:104rem;background:var(--cobalt);
  box-shadow:0 1.2rem 3.6rem #00448155;
}
.card--featured .card__photo{height:28rem}
.card--featured .card__num{color:var(--gold)}
.card--featured .card__unit,
.card--featured .card__desc,
.card--featured .price-cap{color:var(--on-cobalt)}
.card--featured .card__title,
.card--featured .checks li,
.card--featured .price{color:#fff}
.card--featured .checks .ic{color:var(--gold)}
.card__badge{
  position:absolute;left:2rem;top:2rem;z-index:2;
  display:inline-flex;align-items:center;gap:.6rem;
  background:var(--yellow-grad);color:var(--brown);
  border-radius:4rem;padding:.9rem 1.6rem;
  font-size:1.4rem;font-weight:700;line-height:1.2;
  box-shadow:0 .6rem 1.6rem #00000030;
}
.card__badge .ic{font-size:1.6rem;fill:currentColor}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery{background:var(--burgundy);padding-block:12rem}
.gallery .container{display:flex;flex-direction:column;gap:5.6rem}
.gallery .h2{color:#fff}
.gallery .lead{color:var(--on-cobalt);max-width:72rem}
.gallery__row{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem}
.shot{overflow:hidden;border-radius:2.4rem;flex:none;background:#ffffff14}
.shot img{width:100%;height:100%;object-fit:cover}
.shot--arch{border-radius:17rem 17rem 2.4rem 2.4rem}
.shot--1{width:34rem;height:38.8rem}
.shot--2{width:28rem;height:42rem}
.shot--3{width:34rem;height:51rem}
.shot--4{width:24rem;height:29.3rem}

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews{background:#fff;padding-block:12rem}
.reviews .container{display:flex;flex-direction:column;gap:4.8rem}
.carousel{display:flex;flex-direction:column;gap:0}
.carousel__viewport{
  overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;scroll-padding-inline:.8rem;
  scrollbar-width:none;-ms-overflow-style:none;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
}
.carousel__viewport::-webkit-scrollbar{display:none}
.carousel__track{display:flex;gap:2.4rem;padding:.8rem .8rem 4.8rem .8rem;width:max-content}
.slide{
  flex:none;scroll-snap-align:start;
  width:38rem;height:45.6rem;
  display:flex;align-items:center;justify-content:center;
  background:#fff;border:.15rem solid var(--wash);border-radius:2.4rem;
  box-shadow:0 1rem 3rem #00448120;
}
.slide img{width:34rem;max-width:calc(100% - 4rem);height:auto}
.carousel__controls{display:flex;align-items:center;justify-content:center;gap:2.8rem}
.dots{display:flex;align-items:center;gap:1rem}
.dot-i{
  width:1rem;height:1rem;border-radius:1rem;background:var(--wash);border:0;padding:0;
  transition:width .3s var(--ease),background-color .3s;
}
.dot-i.is-active{width:2.8rem;background:var(--cobalt)}
.reviews__more{display:flex;justify-content:center}

/* ==========================================================================
   STEPS
   ========================================================================== */
.steps{background:var(--cream);padding-block:10rem}
.steps .container{display:flex;flex-direction:column;gap:5.6rem}
.steps__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2.4rem}
.step{
  position:relative;height:30rem;overflow:hidden;
  background:#fff;border-radius:2.4rem;box-shadow:0 1rem 3.4rem #00448124;
}
.step__text{display:contents}
.step__num{
  position:absolute;left:2.2rem;top:20.6rem;z-index:0;
  font-family:var(--font-display);font-size:12.8rem;line-height:1;color:var(--wash);
  user-select:none;
}
.step__title{
  position:absolute;left:3.2rem;top:3.2rem;width:29rem;z-index:1;
  font-size:2.2rem;font-weight:600;line-height:1.25;color:var(--ink);
}
.step__fact{position:absolute;left:3.2rem;top:11.2rem;width:29rem;z-index:1;font-size:1.6rem;font-weight:600;color:var(--cobalt)}
.step__desc{position:absolute;left:3.2rem;top:14rem;width:29rem;z-index:1;font-size:1.5rem;line-height:1.45;color:var(--muted)}
.step .btn--sm{left:3.2rem;top:22.6rem;z-index:1}

.step__visual{position:absolute;z-index:1}
.step__visual--form{left:37rem;top:4rem;width:22rem;display:flex;flex-direction:column;gap:1.2rem}
.mock-field{
  display:flex;align-items:center;gap:.8rem;height:4.2rem;padding:0 1.2rem;
  background:#EAF2FB;border:.1rem solid #C9DAEC;border-radius:1rem;
  font-size:1.3rem;color:var(--muted);
}
.mock-field .ic{font-size:1.5rem}
.mock-btn{
  display:flex;align-items:center;justify-content:center;height:4.2rem;border-radius:4rem;
  background:var(--yellow-grad);color:var(--brown);font-size:1.3rem;font-weight:600;
}
.step__visual--phone{left:39rem;top:7rem;width:16rem;height:16rem}
.phone-circle{
  display:flex;align-items:center;justify-content:center;width:16rem;height:16rem;border-radius:50%;
  background:var(--wash);color:var(--cobalt);font-size:6.4rem;
}
.step__visual--pills{left:38rem;top:5rem;width:20rem;display:flex;flex-direction:column;gap:1.4rem}
.time-pill{
  display:flex;align-items:center;justify-content:center;height:5.6rem;border-radius:4rem;
  font-family:var(--font-display);font-size:2.2rem;border:.2rem solid var(--cobalt);
}
.time-pill--mint{background:var(--wash);border-color:var(--wash);color:var(--cobalt)}
.time-pill--line{background:transparent;color:var(--cobalt)}
.time-pill--fill{background:var(--cobalt);color:#fff}
.step__photo{position:absolute;right:0;top:0;width:28.8rem;height:100%;object-fit:cover;z-index:1}

/* ==========================================================================
   PRICES
   ========================================================================== */
.prices{background:#fff;padding-block:12rem}
.prices .container{display:flex;flex-direction:column;gap:4.8rem}
.table__head,.table__row{display:grid;grid-template-columns:1fr 26rem 26rem;gap:2.4rem;align-items:center}
.table__head{border-bottom:.3rem solid var(--cobalt);padding-bottom:1.6rem;font-size:1.6rem;font-weight:600;color:var(--muted)}
.table__row{padding:2.8rem 0;border-bottom:.1rem solid #00448133}
.table__name{display:flex;align-items:baseline;gap:1.6rem;flex-wrap:wrap}
.table__name strong{font-size:2.4rem;font-weight:600;color:var(--ink)}
.table__name span{font-size:1.6rem;color:var(--muted)}
.table__price{font-family:var(--font-display);font-size:4rem;line-height:1.1;color:var(--cobalt);white-space:nowrap}
.table__price small{display:none}
.prices__foot{display:flex;align-items:center;justify-content:space-between;gap:4rem}
.prices__note{max-width:64rem;font-size:1.7rem;line-height:1.5;color:var(--muted)}

/* ==========================================================================
   CORPORATE
   ========================================================================== */
.corporate{background:#F3F8F5;padding-block:10rem}
.corporate__inner{display:flex;align-items:center;gap:8rem}
.corporate__copy{flex:1;display:flex;flex-direction:column;gap:2.4rem}
.corporate__text{font-size:1.9rem;line-height:1.55;color:var(--muted)}
.corporate__options{width:44rem;flex:none;display:flex;flex-direction:column;gap:1.4rem}
.corporate__options h3{font-size:2rem;font-weight:600;color:var(--ink)}
.corporate__options ul{display:flex;flex-direction:column;gap:1.4rem}
.corporate__options li{display:flex;align-items:flex-start;gap:1.2rem;font-size:1.7rem;line-height:1.4;color:var(--ink)}
.corporate__options .ic{font-size:2rem;color:var(--cobalt);margin-top:.1rem}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq{background:#fff;padding-block:10rem}
.faq__inner{display:flex;flex-direction:column;align-items:center;gap:4.8rem}
.faq__list{width:100%;max-width:88rem;display:flex;flex-direction:column;gap:1.4rem}
.faq__item{
  background:#fff;border:.15rem solid var(--wash);border-radius:1.6rem;
  box-shadow:0 .6rem 2rem #00448118;
  transition:background-color .3s,border-color .3s;
}
.faq__item.is-open{background:var(--cream);border-color:#FFC93C;box-shadow:inset 0 0 0 .05rem #FFC93C,0 .6rem 2rem #00448118}
.faq__q{
  display:flex;align-items:center;justify-content:space-between;gap:2rem;
  width:100%;padding:2.2rem 2.8rem;background:none;border:0;text-align:left;
  font-size:1.8rem;font-weight:600;line-height:1.35;color:var(--ink);
}
.faq__q .ic{font-size:2.4rem;color:var(--cobalt);transition:transform .35s var(--ease),color .3s}
.faq__item.is-open .faq__q .ic{transform:rotate(180deg);color:#E09A00}
.faq__a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s var(--ease)}
.faq__a>div{overflow:hidden}
.faq__item.is-open .faq__a{grid-template-rows:1fr}
.faq__a p{padding:0 2.8rem 2.2rem;font-size:1.6rem;line-height:1.55;color:var(--muted)}

/* ==========================================================================
   CONTACTS
   ========================================================================== */
.contacts{
  background:radial-gradient(ellipse 110% 130% at 50% 45%,#A5CBE4 0%,#5F93BA 100%);
  padding-block:10rem;overflow:hidden;
}
.contacts__inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:4.8rem}
.contact-card{
  display:flex;width:104rem;max-width:100%;min-height:44rem;
  background:#fff;border-radius:2.4rem;overflow:hidden;box-shadow:0 1.6rem 4.4rem #02426855;
}
.contact-card__map{position:relative;flex:none;width:48rem;overflow:hidden;background:#EFEAE0}
.map-art{position:absolute;left:50%;top:50%;width:48rem;height:44rem;transform:translate(-50%,-50%)}
.map-art svg{width:100%;height:100%}
.contact-card__pin{
  position:absolute;left:47.708%;top:39.09%;transform:translate(-50%,-50%);
  display:block;font-size:3.6rem;color:var(--cobalt);line-height:0;
}
.contact-card__pin .ic{width:1em;height:1em}
.contact-card__map-note{
  position:absolute;left:50%;bottom:2rem;transform:translateX(-50%);
  background:#ffffffe6;border-radius:4rem;padding:.6rem 1.4rem;
  font-size:1.2rem;color:var(--muted);white-space:nowrap;
}
.contact-card__info{flex:1;display:flex;flex-direction:column;justify-content:center;gap:2rem;padding:4rem 4.8rem}
.contact-card__title{font-family:var(--font-display);font-weight:400;font-size:4rem;line-height:1.1;color:var(--ink)}
.contact-list{display:flex;flex-direction:column;gap:2rem}
.contact-list dt{font-size:1.3rem;color:var(--muted);line-height:1.3}
.contact-list dd{font-size:2rem;font-weight:500;color:var(--ink);line-height:1.3;margin-top:.2rem}
.contact-list dd.todo{color:var(--todo)}
.contact-list__phone{display:flex;align-items:center;gap:1rem}
.phone-badge{
  display:inline-flex;align-items:center;justify-content:center;
  width:3rem;height:3rem;border-radius:50%;background:var(--gold);color:var(--brown);font-size:1.6rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer{background:var(--ink);color:var(--on-cobalt);padding-block:6.4rem 3.2rem}
.footer__inner{display:flex;flex-direction:column;gap:4rem}
.footer__cols{display:flex;justify-content:space-between;gap:4rem}
.footer__col{display:flex;flex-direction:column;gap:1.2rem;font-size:1.5rem;line-height:1.5;flex:none}
.footer__col--brand{width:32rem}
.footer__col--docs{width:34rem}
.footer__col--areas{width:24rem}
.footer__col--contacts{width:26rem}
.footer__brand{font-family:var(--font-display);font-size:2.6rem;line-height:1.15;color:#fff}
.footer__title{font-weight:600;color:#fff}
.footer__phone{font-size:2.2rem;font-weight:700;color:#fff;line-height:1.3}
.footer a:not(.footer__phone){transition:color .2s}
.footer a:not(.footer__phone):hover{color:#fff;text-decoration:underline}
.footer__rule{border:0;border-top:.1rem solid #FFFFFF26;margin:0;width:100%}
.footer__copy{font-size:1.3rem;color:var(--on-cobalt)}

/* ==========================================================================
   STICKY CTA (compact only)
   ========================================================================== */
.sticky-cta{display:none}

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal{
  border:0;padding:0;background:transparent;color:var(--ink);
  max-width:none;max-height:none;overflow:visible;
  width:min(44rem,calc(100vw - 3.2rem));
}
.modal::backdrop{background:#0A2338B8;backdrop-filter:blur(.3rem)}
.modal[open]{animation:modal-in .35s var(--ease)}
.modal[open]::backdrop{animation:fade-in .35s ease}
@keyframes modal-in{from{opacity:0;transform:translateY(1.6rem) scale(.97)}to{opacity:1;transform:none}}
@keyframes fade-in{from{opacity:0}to{opacity:1}}
.modal__card{
  position:relative;display:flex;flex-direction:column;
  background:#fff;border-radius:2.8rem;padding:4.4rem 4rem 3.6rem;
  box-shadow:0 2rem 6rem #00000040;
  max-height:calc(100dvh - 3.2rem);overflow:auto;
}
.modal__form-view,.modal__success{display:flex;flex-direction:column;gap:1.8rem}
.modal__form-view[hidden],.modal__success[hidden]{display:none}
.modal__close{
  position:absolute;right:2.8rem;top:2rem;z-index:1;
  display:inline-flex;align-items:center;justify-content:center;
  width:2.4rem;height:2.4rem;padding:0;border:0;background:none;color:var(--muted);font-size:2.4rem;line-height:0;
}
.modal__close:hover{color:var(--ink)}
.modal__title{font-family:var(--font-display);font-weight:400;font-size:3rem;line-height:1.1;text-align:center;color:var(--ink);text-wrap:balance}
.modal__sub{font-size:1.5rem;line-height:1.4;text-align:center;color:var(--muted)}
.field{
  display:flex;align-items:center;gap:1.2rem;
  background:#EAF2FB;border:.1rem solid #C9DAEC;border-radius:1.2rem;padding:1.5rem 1.6rem;
  transition:border-color .2s,box-shadow .2s;
}
.field:focus-within{border-color:var(--cobalt);box-shadow:0 0 0 .3rem #00448122}
.field .ic{font-size:1.8rem;color:var(--muted)}
.field input{flex:1;min-width:0;border:0;background:transparent;font-size:1.6rem;line-height:1.3;color:var(--ink);outline:0}
.field input::placeholder{color:var(--muted);opacity:1}
.field.is-invalid{border-color:var(--red)}
.modal__error{font-size:1.4rem;color:var(--red);text-align:center;line-height:1.35}
.modal__error[hidden]{display:none}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}

.consent{display:flex;align-items:flex-start;gap:1rem;cursor:pointer}
.consent input{position:absolute;opacity:0;width:1.8rem;height:1.8rem;margin:0}
.consent__box{
  flex:none;display:flex;align-items:center;justify-content:center;
  width:1.8rem;height:1.8rem;border:.15rem solid var(--muted);border-radius:.4rem;background:#fff;
  color:transparent;font-size:1.2rem;transition:background-color .2s,border-color .2s,color .2s;
}
.consent input:checked+.consent__box{background:var(--cobalt);border-color:var(--cobalt);color:#fff}
.consent input:focus-visible+.consent__box{outline:.3rem solid var(--cobalt);outline-offset:.2rem}
.consent.is-invalid .consent__box{border-color:var(--red)}
.consent__text{font-size:1.2rem;line-height:1.35;color:var(--muted)}
.consent__text a{color:var(--cobalt);text-decoration:underline}

/* ==========================================================================
   COMPACT: планшет и мобильные (< 1180 px)
   1rem = 10px (62.5%), уважает пользовательский размер шрифта.
   ========================================================================== */
@media (max-width:1179px){
  html{font-size:62.5%}
  body{padding-bottom:8.4rem}

  .container{padding-inline:2.4rem;max-width:84rem}
  .h2{font-size:clamp(3.4rem,8.4vw,5rem)}
  .h2--md{font-size:clamp(3rem,7.4vw,4.2rem)}
  .lead{font-size:1.8rem}
  .section__head{gap:1.4rem}
  .programs,.gallery,.reviews,.prices{padding-block:6.4rem}
  .steps,.corporate,.faq,.contacts{padding-block:6rem}
  .programs .container,.gallery .container,.reviews .container{gap:4rem}
  .reviews .container{gap:3.2rem}

  /* header */
  .header{
    position:sticky;top:0;padding:1.2rem 2rem;gap:0;
    box-shadow:0 .1rem 0 #00448122;
  }
  .header__nav{gap:1.2rem}
  .logo{font-size:2.2rem;white-space:normal}
  .header__contacts{display:none}
  .header__mobile-actions{display:flex;gap:1rem}
  .icon-btn{display:inline-flex}
  .icon-btn .ic--close,.header.is-open .icon-btn .ic--open{display:none}
  .header.is-open .icon-btn .ic--close{display:block}
  .header__links{
    display:none;flex-direction:column;align-items:stretch;gap:0;
    max-height:calc(100dvh - 7rem);overflow:auto;margin-top:1.2rem;
    font-size:1.8rem;
  }
  .header.is-open .header__links{display:flex}
  .header__links>a{padding:1.4rem 0;border-bottom:.1rem solid #00448122}
  .header__links>a::after{display:none}
  .header__links-extra{display:flex;align-items:center;justify-content:space-between;gap:1.6rem;padding:1.8rem 0 .6rem}
  .wa-pill{font-size:1.5rem}
  section[id]{scroll-margin-top:7rem}

  /* hero */
  .hero::after{height:3rem}
  .hero__stage{
    --plate:min(92vw,56rem);
    height:auto;max-width:84rem;padding:3.6rem 2.4rem 9rem;
    display:flex;flex-direction:column;align-items:stretch;gap:5.6rem;
  }
  .hero__glow{left:50%;top:auto;bottom:-14rem;width:90rem;height:90rem;transform:translateX(-50%)}
  .hero__copy{position:static;width:auto;gap:2.2rem;order:1}
  .plate{order:2}
  .hero__title{font-size:clamp(3.8rem,10.4vw,6rem)}
  .hero__lead{font-size:1.8rem}
  .hero__actions{flex-direction:column;align-items:stretch;width:100%;max-width:48rem}
  .hero__actions .btn{width:100%}
  .btn--hero{padding:1.8rem 2rem;font-size:1.6rem}
  .btn--outline{padding:1.6rem 1.8rem;font-size:1.6rem}
  .hero__facts{gap:1.2rem 2rem}
  .plate{position:relative;left:auto;top:auto;transform:none;margin:0 auto;flex:none;align-self:center}
  .drift--1{left:-15%;top:auto;bottom:-4.5rem;width:80%;height:9rem}
  .drift--2{left:25%;top:auto;bottom:-4rem;width:90%;height:8rem}
  .drift--3{left:60%;top:auto;bottom:-4.5rem;width:70%;height:9rem}
  .drift--4{left:5%;top:auto;bottom:-3.5rem;width:80%;height:7rem}

  /* strip */
  .strip{justify-content:center;padding:1.4rem 0;gap:1.4rem}

  /* programs */
  .cards{grid-template-columns:minmax(0,1fr);max-width:52rem;margin-inline:auto;gap:2.4rem}
  .card,.card--featured{min-height:0}
  .card__photo,.card--featured .card__photo{height:24rem}
  .card--featured .card__photo{height:28rem}
  .card__body{padding:2.4rem}

  /* gallery */
  .gallery__row{
    justify-content:flex-start;gap:1.2rem;
    overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;
    margin-inline:-2.4rem;padding-inline:2.4rem;
  }
  .gallery__row::-webkit-scrollbar{display:none}
  .shot{scroll-snap-align:center}
  .shot--arch{border-radius:12rem 12rem 2rem 2rem}
  .shot--1{width:24rem;height:27.4rem}
  .shot--2{width:20rem;height:30rem}
  .shot--3{width:24rem;height:36rem}
  .shot--4{width:17rem;height:20.8rem}

  /* reviews */
  .slide{width:min(30rem,78vw);height:auto;min-height:24rem;padding:1.4rem}
  .slide img{width:100%;max-width:100%}
  .carousel__track{gap:1.6rem;padding:.8rem .8rem 3.2rem}
  .btn--wide{padding:1.6rem 4.4rem;font-size:1.7rem}

  /* steps */
  .steps .container{gap:3.6rem}
  .steps__grid{grid-template-columns:minmax(0,1fr);gap:1.6rem}
  .step{height:auto;padding:2.8rem 2.4rem 2.8rem;display:flex;flex-direction:column;gap:2rem}
  .step__text{display:flex;flex-direction:column;gap:1rem;position:relative;z-index:1}
  .step__title,.step__fact,.step__desc{position:static;width:auto}
  .step__title{font-size:2.2rem;padding-right:6.4rem}
  .step__fact,.step__desc{padding-right:1rem}
  .step .btn--sm{position:static;align-self:flex-start;margin-top:1rem}
  .step__num{left:auto;right:1.8rem;top:1.4rem;font-size:6.4rem}
  .step__visual{position:relative;left:auto;top:auto}
  .step__visual--form{width:100%;max-width:30rem}
  .step__visual--phone{width:12rem;height:12rem}
  .phone-circle{width:12rem;height:12rem;font-size:4.8rem}
  .step__visual--pills{width:100%;max-width:24rem}
  .step--photo{padding-bottom:0}
  .step__photo{position:relative;right:auto;width:calc(100% + 4.8rem);height:22rem;margin:0 -2.4rem}

  /* prices */
  .prices .container{gap:3.2rem}
  .table__head{display:none}
  .table__row{grid-template-columns:1fr 1fr;gap:1.2rem 1.6rem;padding:2.4rem 0}
  .table__name{grid-column:1/-1;flex-direction:column;align-items:flex-start;gap:.2rem}
  .table__name strong{font-size:2.2rem}
  .table__price{font-size:3.2rem}
  .table__price small{display:block;font-family:var(--font-body);font-size:1.3rem;color:var(--muted);margin-bottom:.2rem}
  .prices__foot{flex-direction:column;align-items:stretch;gap:2.4rem}
  .prices__note{font-size:1.6rem}
  .prices__foot .btn{width:100%;padding:1.8rem 2rem}

  /* corporate */
  .corporate__inner{flex-direction:column;align-items:stretch;gap:4rem}
  .corporate__options{width:auto}
  .corporate__text{font-size:1.7rem}
  .btn--corp{align-self:stretch}

  /* faq */
  .faq__inner{gap:3.2rem}
  .faq__q{padding:1.8rem 2rem;font-size:1.7rem}
  .faq__a p{padding:0 2rem 1.8rem}

  /* contacts */
  .contacts__inner{gap:3.2rem}
  .contact-card{flex-direction:column;width:100%;max-width:60rem;min-height:0}
  .contact-card__map{width:100%;height:24rem}
  .map-art{transform:translate(-47.708%,-39.09%)}
  .contact-card__info{padding:3rem 2.4rem}
  .contact-card__title{font-size:3.4rem}
  .btn--contact{align-self:stretch;padding:1.7rem 2rem}

  /* footer */
  .footer{padding-block:5rem 3rem}
  .footer__cols{flex-wrap:wrap;gap:3.2rem 4rem}
  .footer__col{width:calc(50% - 2rem)!important}

  /* sticky CTA */
  .sticky-cta{
    display:block;position:fixed;left:0;right:0;bottom:0;z-index:40;
    padding:1rem 1.6rem calc(1rem + env(safe-area-inset-bottom));
    background:linear-gradient(180deg,rgba(255,255,255,0),#fff 28%);
    transform:translateY(120%);transition:transform .35s var(--ease);
    pointer-events:none;
  }
  .sticky-cta.is-visible{transform:none}
  .sticky-cta .btn{pointer-events:auto;max-width:48rem;margin-inline:auto;display:flex;padding:1.7rem 1.6rem;font-size:1.6rem;box-shadow:0 .8rem 2.4rem #B37A0066}

  /* modal */
  .modal__card{padding:4rem 2.4rem 2.8rem}
}

@media (max-width:719px){
  .container{padding-inline:1.8rem}
  .hero__stage{padding-inline:1.8rem}
  .hero__facts{flex-direction:column;align-items:flex-start}
  .card__prices{gap:2.4rem}
  .price{font-size:2.8rem}
  .slide{width:min(28rem,80vw)}
  .gallery__row{margin-inline:-1.8rem;padding-inline:1.8rem}
  .footer__col{width:100%!important}
  .table__price{font-size:2.8rem}
  .contact-card__info{padding:2.6rem 2rem}
  .header__links-extra{flex-wrap:wrap}
}

@media (max-width:379px){
  .logo{font-size:1.9rem}
  .hero__title{font-size:3.4rem}
  .icon-btn{width:4rem;height:4rem}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
