/* ХОЧУ КУХНЮ — пиксельная вёрстка по Figma (Frame 32, холст 1647px).
   Все размеры из get_design_context. Масштабная единица: 1u = 100vw/1647 (кап на 1647px). */
/* Шрифт Onest грузится через <link> в <head> каждой страницы (не @import - не блокирует рендер). */

:root{
  --u: calc(min(100vw, 1647px) / 1647);
  --ink:#140f0a;
}
*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:'Onest',system-ui,sans-serif;background:#fff;color:#1c1a17;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
img{display:block}
a{text-decoration:none;color:inherit}

.fig{max-width:1647px;margin:0 auto;overflow-x:clip}

/* ============ HERO (node 30:9018, 1611×918, radius 60) ============ */
.hero{
  position:relative;
  margin:calc(var(--u)*14) calc(var(--u)*18) 0;
  height:calc(var(--u)*918);
  border-radius:calc(var(--u)*60);
  overflow:hidden;
  background:#2c2c2c;
}
/* слой 1: горная сцена (тёмная) */
.hero .bg-under{position:absolute;inset:0;overflow:hidden}
.hero .bg-under img{
  position:absolute;height:134.53%;left:-24.16%;top:-6.28%;width:123.34%;
  max-width:none;object-fit:cover;
}
/* слой 2: горная сцена (основная, top −115, h 1033) */
.hero .bg-mount{
  position:absolute;left:0;top:calc(var(--u)*-115);
  width:calc(var(--u)*1611);height:calc(var(--u)*1033);overflow:hidden;
}
.hero .bg-mount img{
  position:absolute;height:105.45%;left:-34.95%;top:0.08%;width:159.38%;
  max-width:none;object-fit:cover;
}
/* слой 3: карточка «Прямая 4 м» — бежевая кухня (inset −14 0 0 26, radius-b 20) */
.hero .bg-card{
  position:absolute;top:calc(var(--u)*-14);left:calc(var(--u)*26);right:0;bottom:0;
  border-bottom-left-radius:calc(var(--u)*20);border-bottom-right-radius:calc(var(--u)*20);
  background:#2c2c2c;overflow:hidden;
}
.hero .bg-card img{
  position:absolute;height:105.11%;left:-10.73%;top:-0.76%;width:121.45%;
  max-width:none;object-fit:cover;
}
.hero .bg-card::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to bottom, rgba(0,0,0,0) 41.379%, #202020 78.667%);
}
/* слой 4: градиентная вуаль (30:9023) */
.hero .bg-grad{
  position:absolute;left:0;top:0;width:calc(var(--u)*1611);height:calc(var(--u)*918);
  background-image:
    linear-gradient(174.83deg, rgba(20,15,10,.32) 9.4872%, rgba(20,15,10,0) 32.903%),
    linear-gradient(90deg, rgba(20,15,10,.66) 0%, rgba(20,15,10,0) 35.482%, rgba(20,15,10,.16) 45%),
    linear-gradient(0deg, rgba(20,15,10,.8) 4.5389%, rgba(20,15,10,.28) 33.177%, rgba(20,15,10,0) 56.088%),
    linear-gradient(0deg, rgba(20,15,10,.8) 0%, rgba(20,15,10,.28) 30%, rgba(20,15,10,0) 54%);
}

/* ---- хедер-таблетка (30:9024): 1162×50, top 46, центр смещён на −24.5 ---- */
.hero .pill{
  position:absolute;z-index:10;top:calc(var(--u)*46);left:50%;
  transform:translateX(calc(-50% - var(--u)*24.5));
  width:calc(var(--u)*1162);height:calc(var(--u)*50);
  background:#fff;border-radius:calc(var(--u)*70);
  display:flex;align-items:center;justify-content:space-between;
  padding:calc(var(--u)*12) calc(var(--u)*8) calc(var(--u)*12) calc(var(--u)*46);
  filter:drop-shadow(0 calc(var(--u)*4) calc(var(--u)*57) rgba(0,0,0,.15));
}
.pill .logo{display:flex;gap:calc(var(--u)*5.57);align-items:center;flex-shrink:0}
.pill .logo img{width:calc(var(--u)*22.28);height:calc(var(--u)*26.77)}
.pill .logo b{
  font-weight:800;text-transform:uppercase;color:#131313;
  font-size:calc(var(--u)*14.482);line-height:calc(var(--u)*12.165);
  letter-spacing:calc(var(--u)*0.0724);
}
.pill nav{display:flex;gap:calc(var(--u)*4);padding:0 calc(var(--u)*40)}
.pill nav a{
  padding:calc(var(--u)*8.24) calc(var(--u)*16.47);
  font-weight:500;font-size:calc(var(--u)*14);line-height:calc(var(--u)*22);color:#000;
}
.pill .cta{
  margin:0;max-width:none;text-align:left;
  background:#000;color:#fff;border-radius:calc(var(--u)*1028);
  height:calc(var(--u)*42);padding:0 calc(var(--u)*20.59);
  display:flex;align-items:center;flex-shrink:0;
  font-weight:600;font-size:calc(var(--u)*14.413);
}
.pill .burger{display:none}

/* ---- заголовок лесенкой (ExtraBold, lowercase, белый) ---- */
.hero .t{
  position:absolute;z-index:5;color:#fff;font-weight:800;text-transform:lowercase;
  white-space:pre;transform:translateY(-50%);
}
.hero .t1{left:calc(var(--u)*200);   top:calc(var(--u)*216.9);
  font-size:calc(var(--u)*159.003);line-height:calc(var(--u)*113.986);letter-spacing:calc(var(--u)*-11.3736)}
.hero .t2{left:calc(var(--u)*200);   top:calc(var(--u)*321.13);
  font-size:calc(var(--u)*139.524);line-height:calc(var(--u)*95.337);letter-spacing:calc(var(--u)*-9.4063)}
.hero .t3{left:calc(var(--u)*560.75);top:calc(var(--u)*453.95);
  font-size:calc(var(--u)*153.762);line-height:calc(var(--u)*100.253);letter-spacing:calc(var(--u)*-11.1836)}
.hero .t4{left:calc(var(--u)*203.63);top:calc(var(--u)*589.56);
  font-size:calc(var(--u)*143.074);line-height:calc(var(--u)*97.368);letter-spacing:calc(var(--u)*-9.6067)}

/* ---- белая кнопка (центр 287.62 × 789.59) ---- */
.hero .btn-hero{
  position:absolute;z-index:6;
  left:calc(var(--u)*287.62);top:calc(var(--u)*789.59);transform:translate(-50%,-50%);
  background:#fff;color:#000;border-radius:calc(var(--u)*1028);
  height:calc(var(--u)*41.18);padding:0 calc(var(--u)*20.59);
  display:flex;align-items:center;
  font-weight:600;font-size:calc(var(--u)*16);letter-spacing:calc(var(--u)*-0.64);
}

/* ---- цены справа (центр колонки 1249, top 711) ---- */
.hero .stats{
  position:absolute;z-index:6;
  left:calc(var(--u)*1249);top:calc(var(--u)*711);transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:flex-end;
  color:#c6bfbf;text-transform:lowercase;
  font-weight:400;font-size:calc(var(--u)*26.01);line-height:calc(var(--u)*33.5);
  letter-spacing:calc(var(--u)*-1.2115);white-space:nowrap;
}

/* ============ ГАЛЕРЕЯ-КАРУСЕЛЬ (нахлёст на герой, как в Frame 14) ============ */
.gallery{position:relative;height:calc(var(--u)*675);margin-top:calc(var(--u)*-85);z-index:5}
.gallery .kcard{transition:opacity .16s ease}
.gallery.swapping .kcard{opacity:.35}
.kcard.side{cursor:pointer}
.kcard.center{cursor:pointer}
.kcard.center .name{cursor:pointer}
/* карточка каталога — базовая (615×509) */
.kcard{
  position:absolute;left:0;top:0;background:#fff;
  width:calc(var(--u)*615);
  transform-origin:top left;will-change:transform;
  transition:transform .55s cubic-bezier(.22,.61,.36,1),opacity .55s ease;
  border-radius:calc(var(--u)*40) calc(var(--u)*40) calc(var(--u)*30) calc(var(--u)*30);
  padding:calc(var(--u)*10);
  display:flex;flex-direction:column;gap:calc(var(--u)*27);
  filter:drop-shadow(0 calc(var(--u)*4) calc(var(--u)*57) rgba(0,0,0,.15));
}
.kcard .ph{
  position:relative;height:calc(var(--u)*375);border-radius:calc(var(--u)*30);
  overflow:hidden;background:#2c2c2c;width:100%;
}
.kcard .ph>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
.kcard .ph::after{content:"";position:absolute;inset:0;
  background:linear-gradient(to bottom, rgba(0,0,0,0) 41.379%, #202020 78.667%)}
.kcard .sl{
  position:absolute;z-index:2;left:calc(var(--u)*533);top:calc(var(--u)*12);
  width:calc(var(--u)*55);min-height:calc(var(--u)*40);border-radius:999px;background:#000;
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:600;font-size:calc(var(--u)*16);letter-spacing:calc(var(--u)*-0.32);
}
.kcard .badge{
  position:absolute;z-index:2;height:calc(var(--u)*32);background:#fff;border-radius:calc(var(--u)*40);
  display:flex;align-items:center;justify-content:center;padding:0 calc(var(--u)*10);
  font-weight:600;font-size:calc(var(--u)*12);letter-spacing:calc(var(--u)*-0.36);color:#212121;
  white-space:nowrap;
}
.kcard .badge.gift{left:calc(var(--u)*22);top:calc(var(--u)*317);text-transform:lowercase;padding:0 calc(var(--u)*11)}
.kcard .badges{position:absolute;z-index:2;left:calc(var(--u)*360);top:calc(var(--u)*322);display:flex;gap:calc(var(--u)*2)}
.kcard .badges .badge{position:static}
.kcard .meta{display:flex;flex-direction:column;width:100%}
.kcard .row1{display:flex;align-items:center;justify-content:space-between;padding:0 calc(var(--u)*20)}
.kcard .name{
  font-weight:600;text-transform:lowercase;color:#000;
  font-size:calc(var(--u)*42);line-height:calc(var(--u)*22.47);letter-spacing:calc(var(--u)*-0.21);
  padding-top:calc(var(--u)*14);
}
.kcard .price{display:flex;align-items:baseline;gap:calc(var(--u)*2);padding-top:calc(var(--u)*10)}
.kcard .price i{font-style:normal;font-weight:500;color:#b9b9b9;font-size:calc(var(--u)*16);line-height:calc(var(--u)*20.15)}
.kcard .price b{font-weight:700;color:#1c1a17;font-size:calc(var(--u)*24);line-height:calc(var(--u)*31);letter-spacing:calc(var(--u)*-0.72)}
.kcard .kaspi{
  display:flex;justify-content:flex-end;
  padding:calc(var(--u)*8) calc(var(--u)*16) calc(var(--u)*18) calc(var(--u)*32);
  font-weight:500;color:#6e675e;font-size:calc(var(--u)*12.5);line-height:calc(var(--u)*19.38);white-space:pre;
}
/* позиции трёх карточек (от верха секции = колонка y932) */
.kcard.center{left:calc(var(--u)*516);top:calc(var(--u)*33);z-index:3}
.kcard.side{width:calc(var(--u)*441);opacity:.45;z-index:1}
.kcard.side .ph{height:calc(var(--u)*269)}
.kcard.side .name{font-size:calc(var(--u)*30);line-height:calc(var(--u)*16)}
.kcard.side .price b{font-size:calc(var(--u)*17)}
.kcard.side .price i{font-size:calc(var(--u)*11.5)}
.kcard.side .kaspi{font-size:calc(var(--u)*9);line-height:calc(var(--u)*14)}
.kcard.side .badge{height:calc(var(--u)*23);font-size:calc(var(--u)*8.6)}
.kcard.side .sl{width:calc(var(--u)*39);min-height:calc(var(--u)*29);left:calc(var(--u)*382);top:calc(var(--u)*9)}
.kcard.side .badges{left:calc(var(--u)*258);top:calc(var(--u)*231)}
.kcard.side .badge.gift{top:calc(var(--u)*227);left:calc(var(--u)*16)}
.kcard.left{left:calc(var(--u)*33);top:calc(var(--u)*132)}
.kcard.right{left:calc(var(--u)*1173);top:calc(var(--u)*132)}
/* кнопка «смотреть каталог» (x737 y1525 → top 593) */
.btn-catalog{
  position:absolute;left:calc(var(--u)*737);top:calc(var(--u)*593);
  width:calc(var(--u)*172);height:calc(var(--u)*41);border-radius:999px;background:#000;
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:600;font-size:calc(var(--u)*14.4);
}

/* состояния карусели (боковые = центральная в масштабе 441/615) */
.kcard.pos-c{transform:translate(calc(var(--u)*516),calc(var(--u)*33));z-index:3}
.kcard.pos-l{transform:translate(calc(var(--u)*33),calc(var(--u)*132)) scale(.7171);opacity:.45;z-index:1;cursor:pointer}
.kcard.pos-r{transform:translate(calc(var(--u)*1173),calc(var(--u)*132)) scale(.7171);opacity:.45;z-index:1;cursor:pointer}
.kcard.pos-offl{transform:translate(calc(var(--u)*-680),calc(var(--u)*132)) scale(.7171);opacity:0;pointer-events:none}
.kcard.pos-offr{transform:translate(calc(var(--u)*1840),calc(var(--u)*132)) scale(.7171);opacity:0;pointer-events:none}

/* ============ «ОДНА ЦЕНА…» (30:9149): x540 y1607 w522 h508 ============ */
.oneprice{position:relative;height:calc(var(--u)*623)}
.oneprice .txt{
  position:absolute;left:calc(var(--u)*540);top:0;width:calc(var(--u)*522);
  font-weight:600;text-transform:lowercase;text-align:center;white-space:pre-wrap;
  color:#1c1a17;font-size:calc(var(--u)*78);line-height:calc(var(--u)*63.4);
  letter-spacing:calc(var(--u)*-2.96);
}
.oneprice .txt .grey{color:#aeaeae}
.oneprice .txt .plus{letter-spacing:calc(var(--u)*-3.96)}

/* ============ «ПОЧЕМУ МЫ?» (30:9150 + 4 карточки): колонка y 2230—3226 ============ */
.whyus{position:relative;height:calc(var(--u)*996)}
.whyus .head{
  position:absolute;left:calc(var(--u)*686);top:0;width:calc(var(--u)*428);height:calc(var(--u)*64);
  display:flex;align-items:center;justify-content:center;
  font-weight:600;text-transform:lowercase;color:#1c1a17;
  font-size:calc(var(--u)*78);line-height:calc(var(--u)*63.4);letter-spacing:calc(var(--u)*-2.96);white-space:nowrap;
}
.wcard{position:absolute;background:#f0f0f0;border-radius:calc(var(--u)*30);overflow:hidden}
.wcard h3{
  position:absolute;transform:translateY(-50%);
  font-weight:600;text-transform:lowercase;color:#1c1a17;
  font-size:calc(var(--u)*41.65);letter-spacing:calc(var(--u)*-2.5402);
}
.wcard p{
  position:absolute;transform:translateY(-50%);
  font-weight:500;text-transform:lowercase;color:#979797;
  font-size:calc(var(--u)*22.01);line-height:calc(var(--u)*23);letter-spacing:calc(var(--u)*-1.31);
}
.wcard img{position:absolute;object-fit:cover;max-width:none}
/* 1. собственное производство (614×887) */
.wc1{left:calc(var(--u)*56);top:calc(var(--u)*109);width:calc(var(--u)*614);height:calc(var(--u)*887)}
.wc1 h3{left:calc(var(--u)*27);top:calc(var(--u)*73.5);width:calc(var(--u)*561);line-height:calc(var(--u)*28.728)}
.wc1 p{left:calc(var(--u)*27);top:calc(var(--u)*126);width:calc(var(--u)*482)}
.wc1 img{left:calc(var(--u)*27);top:calc(var(--u)*269);width:calc(var(--u)*808);height:calc(var(--u)*808)}
/* 2. шоурум вживую или по видео (482×445) */
.wc2{left:calc(var(--u)*686);top:calc(var(--u)*109);width:calc(var(--u)*482);height:calc(var(--u)*445)}
.wc2 h3{left:calc(var(--u)*32);top:calc(var(--u)*54);width:calc(var(--u)*325);line-height:calc(var(--u)*32.7)}
.wc2 p{left:calc(var(--u)*32);top:calc(var(--u)*138.5);width:calc(var(--u)*359)}
.wc2 .vid{
  position:absolute;left:calc(var(--u)*93.48);top:calc(var(--u)*138.75);
  width:calc(var(--u)*433.2);height:calc(var(--u)*366.84);
  display:flex;align-items:center;justify-content:center;
}
.wc2 .vid .fr{
  transform:rotate(-18deg);width:calc(var(--u)*369.14);height:calc(var(--u)*265.78);
  border-radius:calc(var(--u)*20);overflow:hidden;position:relative;
}
.wc2 .vid img{position:absolute;height:100%;left:-8%;top:0;width:108%}
/* 3. рассрочка и гарантия (423×445) */
.wc3{left:calc(var(--u)*1184);top:calc(var(--u)*109);width:calc(var(--u)*423);height:calc(var(--u)*445)}
.wc3 h3{left:calc(var(--u)*23);top:calc(var(--u)*297);width:calc(var(--u)*233);line-height:calc(var(--u)*32.7);white-space:pre-wrap}
.wc3 p{left:calc(var(--u)*23);top:calc(var(--u)*390.5);width:calc(var(--u)*367);white-space:pre-wrap}
.wc3 img{left:calc(var(--u)*140);top:calc(var(--u)*-58);width:calc(var(--u)*334);height:calc(var(--u)*334)}
/* 4. всё включено в цену (921×417) */
.wc4{left:calc(var(--u)*686);top:calc(var(--u)*579);width:calc(var(--u)*921);height:calc(var(--u)*417)}
.wc4 h3{left:calc(var(--u)*183);top:calc(var(--u)*300.5);width:calc(var(--u)*379);line-height:calc(var(--u)*28.728);text-shadow:0 1px 8px rgba(255,252,248,.95),0 0 2px rgba(255,252,248,.9)}
.wc4 p{left:calc(var(--u)*183);top:calc(var(--u)*361);width:calc(var(--u)*459);color:#2a2420;text-shadow:0 1px 7px rgba(255,252,248,.96),0 0 2px rgba(255,252,248,.9)}
.wc4 img{left:0;top:0;width:100%;height:100%;object-fit:cover;object-position:center center}

/* ============ «ВЕДЁМ ВЕСЬ ПУТЬ» (30:9204): x695 y3240 w555 ============ */
.path{position:relative;height:calc(var(--u)*404)}
.path .txt{
  position:absolute;left:calc(var(--u)*695);top:calc(var(--u)*14);width:calc(var(--u)*555);
  font-weight:700;text-transform:lowercase;white-space:pre-wrap;color:#1c1a17;
  font-size:calc(var(--u)*66.506);line-height:calc(var(--u)*57.361);letter-spacing:calc(var(--u)*-3.9904);
}
.path .g1{color:#b9b9b9}
.path .g2{color:#c1c1c1}
.path .dash{letter-spacing:calc(var(--u)*-9.3108)}

/* ====== общие крупные заголовки (Bold 66.5/57.36) ====== */
.bigtxt{
  font-weight:700;text-transform:lowercase;white-space:pre-wrap;color:#1c1a17;
  font-size:calc(var(--u)*66.506);line-height:calc(var(--u)*57.361);letter-spacing:calc(var(--u)*-3.9904);
}
.bigtxt .gy{color:#c1c1c1}
/* заголовок карточек шагов */
.stitle{font-weight:600;text-transform:lowercase;color:#000;
  font-size:calc(var(--u)*33.32);line-height:calc(var(--u)*36.503);letter-spacing:calc(var(--u)*-1.666)}
.snum{font-weight:700;color:#000;font-size:calc(var(--u)*45.345);line-height:calc(var(--u)*39.11);letter-spacing:calc(var(--u)*-2.7207)}
.stext{font-weight:400;text-transform:lowercase;color:rgba(0,0,0,.6);
  font-size:calc(var(--u)*16);line-height:calc(var(--u)*18.5);letter-spacing:calc(var(--u)*-0.21)}

/* ============ «КАК ЭТО РАБОТАЕТ?» — колонка y 3630—5039 ============ */
.steps{position:relative;height:calc(var(--u)*1409)}
.steps .head{position:absolute;left:calc(var(--u)*56);top:calc(var(--u)*16);width:calc(var(--u)*506)}
.scard{position:absolute;background:#f0f0f0;border-radius:calc(var(--u)*30);overflow:hidden}
/* 01 замер и проект (x403 y3630 431×607) */
.st1{left:calc(var(--u)*403);top:0;width:calc(var(--u)*431);height:calc(var(--u)*607)}
.st1 .photo{position:absolute;left:calc(var(--u)*18);top:calc(var(--u)*15);width:calc(var(--u)*398);height:calc(var(--u)*474);
  border-radius:calc(var(--u)*20);background:#fff;overflow:hidden}
.st1 .photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.st1 .stext{position:absolute;left:calc(var(--u)*18);top:calc(var(--u)*521.5);transform:translateY(-50%);width:calc(var(--u)*391)}
.st1 .snum{position:absolute;left:calc(var(--u)*32);top:calc(var(--u)*574.46);transform:translateY(-50%)}
.st1 .stitle{position:absolute;left:calc(var(--u)*84);top:calc(var(--u)*572.5);transform:translateY(-50%)}
/* 02 всё включено (x838 y3630 570×607) */
.st2{left:calc(var(--u)*838);top:0;width:calc(var(--u)*570);height:calc(var(--u)*607)}
.st2 .check{position:absolute;left:calc(var(--u)*15);top:calc(var(--u)*-390);width:calc(var(--u)*500);
  transform:rotate(-30deg)}
.st2 .stext{position:absolute;left:calc(var(--u)*18);top:calc(var(--u)*497);width:calc(var(--u)*400)}
.st2 .snum{position:absolute;left:calc(var(--u)*28);top:calc(var(--u)*572.5);transform:translateY(-50%)}
.st2 .stitle{position:absolute;left:calc(var(--u)*98);top:calc(var(--u)*568);transform:translateY(-50%)}
/* 03 доставка (x56 y4269 770×770) */
.st3{left:calc(var(--u)*56);top:calc(var(--u)*639);width:calc(var(--u)*770);height:calc(var(--u)*770)}
.st3 img{position:absolute;left:calc(var(--u)*24);bottom:calc(var(--u)*30);width:calc(var(--u)*520)}
.st3 .stitle{position:absolute;left:calc(var(--u)*368);top:calc(var(--u)*30)}
.st3 .snum{position:absolute;right:calc(var(--u)*38);top:calc(var(--u)*38)}
.st3 .stext{position:absolute;left:calc(var(--u)*368);top:calc(var(--u)*88);width:calc(var(--u)*230)}
/* 04 демонтаж и вывоз (x833 y4269 422×278) */
.st4{left:calc(var(--u)*833);top:calc(var(--u)*639);width:calc(var(--u)*422);height:calc(var(--u)*278)}
.st4 img{position:absolute;left:calc(var(--u)*195);top:calc(var(--u)*27);width:calc(var(--u)*217);height:calc(var(--u)*146);
  object-fit:cover;border-radius:calc(var(--u)*14)}
.st4 .stitle{position:absolute;left:calc(var(--u)*27);top:calc(var(--u)*192)}
.st4 .stext{position:absolute;left:calc(var(--u)*195);top:calc(var(--u)*196);width:calc(var(--u)*215)}
/* 05 сборка и монтаж (x1263 y4269 344×278) */
.st5{left:calc(var(--u)*1263);top:calc(var(--u)*639);width:calc(var(--u)*344);height:calc(var(--u)*278)}
.st5 img{position:absolute;right:calc(var(--u)*-10);top:calc(var(--u)*-8);width:calc(var(--u)*230)}
.st5 .snum{position:absolute;left:calc(var(--u)*30);top:calc(var(--u)*32)}
.st5 .stitle{position:absolute;left:calc(var(--u)*30);top:calc(var(--u)*104)}
.st5 .stext{position:absolute;left:calc(var(--u)*30);top:calc(var(--u)*192);width:calc(var(--u)*290)}
/* 06 оплата и рассрочка (x833 y4555 774×484) */
.st6{left:calc(var(--u)*833);top:calc(var(--u)*925);width:calc(var(--u)*774);height:calc(var(--u)*484)}
.st6 img{position:absolute;left:calc(var(--u)*260);top:calc(var(--u)*40);width:calc(var(--u)*470)}
.st6 .snum{position:absolute;left:calc(var(--u)*27);top:calc(var(--u)*48)}
.st6 .stitle{position:absolute;left:calc(var(--u)*27);top:calc(var(--u)*112)}
.st6 .stext{position:absolute;left:calc(var(--u)*27);bottom:calc(var(--u)*36);width:calc(var(--u)*240)}

/* ============ ПРОИЗВОДСТВО — колонка y 5039—6389 ============ */
.factory{position:relative;height:calc(var(--u)*1350)}
.factory .head{position:absolute;left:calc(var(--u)*90);top:calc(var(--u)*166);width:calc(var(--u)*754)}
.factory .ftile{position:absolute;border-radius:calc(var(--u)*20);overflow:hidden}
.factory .ftile img{width:100%;height:100%;object-fit:cover}
.factory .cnc{left:calc(var(--u)*844);top:calc(var(--u)*162);width:calc(var(--u)*764);height:calc(var(--u)*542)}
.factory .qc{left:calc(var(--u)*518);top:calc(var(--u)*467);width:calc(var(--u)*316);height:calc(var(--u)*237)}
.factory .edge{left:calc(var(--u)*518);top:calc(var(--u)*717);width:calc(var(--u)*316);height:calc(var(--u)*237)}
.factory .map{left:calc(var(--u)*52);top:calc(var(--u)*717);width:calc(var(--u)*456);height:calc(var(--u)*237)}
.factory .map img{object-position:center 30%}
.factory .map .pin{position:absolute;left:calc(var(--u)*143);top:calc(var(--u)*-34);width:calc(var(--u)*52);height:calc(var(--u)*116);background:#f26522}
.ptext{position:absolute;font-weight:500;text-transform:lowercase;color:#3b3b3b;
  font-size:calc(var(--u)*22.01);line-height:calc(var(--u)*23);letter-spacing:calc(var(--u)*-1.31)}
.factory .t1{left:calc(var(--u)*850);top:calc(var(--u)*717);width:calc(var(--u)*231)}
.factory .t2{left:calc(var(--u)*1048);top:calc(var(--u)*741);width:calc(var(--u)*231)}
.factory .t2b{left:calc(var(--u)*1149);top:calc(var(--u)*917);width:calc(var(--u)*387)}
.factory .t3{left:calc(var(--u)*844);top:calc(var(--u)*954);width:calc(var(--u)*193)}
.factory .t4{left:calc(var(--u)*52);top:calc(var(--u)*1126);width:calc(var(--u)*231)}
.factory .t5{left:calc(var(--u)*522);top:calc(var(--u)*1126);width:calc(var(--u)*191)}
.factory .t6{left:calc(var(--u)*839);top:calc(var(--u)*1120);width:calc(var(--u)*266)}
.factory .t7{left:calc(var(--u)*1336);top:calc(var(--u)*1126);width:calc(var(--u)*261)}
.pbtn{position:absolute;height:calc(var(--u)*40);border-radius:999px;display:flex;align-items:center;justify-content:center;
  font-weight:600;font-size:calc(var(--u)*13);text-transform:lowercase}
.factory .b1{left:calc(var(--u)*673);top:calc(var(--u)*1350);width:calc(var(--u)*159);background:#000;color:#fff}
.factory .b2{left:calc(var(--u)*837);top:calc(var(--u)*1350);width:calc(var(--u)*155);background:#d0d0d0;color:#7c7c7c}

/* ============ «ЦЕНУ ВИДНО СРАЗУ» — колонка y 6389—7265 ============ */
.seeprice{position:relative;height:calc(var(--u)*876)}
.seeprice .txt1{position:absolute;left:calc(var(--u)*577);top:calc(var(--u)*117);width:calc(var(--u)*555)}
.seeprice .txt2{position:absolute;left:calc(var(--u)*740);top:calc(var(--u)*492);width:calc(var(--u)*542)}

/* ============ СМЕТА — колонка y 7265—7753 ============ */
.estimate{position:relative;height:calc(var(--u)*488)}
.estimate .head{position:absolute;left:calc(var(--u)*82);top:0;width:calc(var(--u)*542);text-align:right;z-index:2}
/* лесенка из макета: серые строки не доходят до чека, чёрная упирается в его край */
.estimate .head .hl1,.estimate .head .hl2{display:block}
.estimate .head .hl1{margin-right:calc(var(--u)*175)}
.estimate .head .hl2{margin-right:calc(var(--u)*304)}
.estimate .check{position:absolute;left:calc(var(--u)*552);top:calc(var(--u)*2);width:calc(var(--u)*355)}
.estimate .note{position:absolute;left:calc(var(--u)*987);top:calc(var(--u)*1);width:calc(var(--u)*566)}

/* ============ ОФФЕР — колонка y 7753—8758 ============ */
.offer{position:relative;height:calc(var(--u)*1005)}
.offer .txt1{position:absolute;left:calc(var(--u)*570);top:0;width:calc(var(--u)*489);text-indent:calc(var(--u)*196)}
.offer .txt2{position:absolute;left:calc(var(--u)*374);top:calc(var(--u)*190);width:calc(var(--u)*685);text-indent:calc(var(--u)*196)}
.offer .txt3{position:absolute;left:calc(var(--u)*570);top:calc(var(--u)*467);width:calc(var(--u)*371)}
.obtn{position:absolute;top:calc(var(--u)*916);height:calc(var(--u)*40);border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  font-weight:600;font-size:calc(var(--u)*13);text-transform:lowercase;width:calc(var(--u)*735)}
.offer .ob1{left:calc(var(--u)*82);background:#000;color:#fff}
.offer .ob2{left:calc(var(--u)*830);background:#35da67;color:#fff}

/* ============ ФУТЕР — колонка y 8758—9532, фон #212121 ============ */
.footer{position:relative;height:calc(var(--u)*774);background:#212121;color:#8a8783;
  font-size:calc(var(--u)*16);line-height:calc(var(--u)*26)}
.footer .logo2{position:absolute;left:calc(var(--u)*80);top:calc(var(--u)*81);display:flex;gap:calc(var(--u)*8);align-items:center}
.footer .logo2 img{width:calc(var(--u)*34);height:calc(var(--u)*41);filter:invert(1)}
.footer .logo2 b{color:#fff;font-weight:800;text-transform:uppercase;
  font-size:calc(var(--u)*17);line-height:calc(var(--u)*15)}
.footer .desc{position:absolute;left:calc(var(--u)*80);top:calc(var(--u)*146);width:calc(var(--u)*390)}
.footer .desc a{color:#fff}
.footer .bigaddr{position:absolute;left:calc(var(--u)*80);top:calc(var(--u)*386);width:calc(var(--u)*420);
  color:#fff;font-weight:600;text-transform:lowercase;
  font-size:calc(var(--u)*38);line-height:calc(var(--u)*38);letter-spacing:calc(var(--u)*-1.2)}
.footer .fmap{position:absolute;left:calc(var(--u)*576);top:calc(var(--u)*74);width:calc(var(--u)*316);height:calc(var(--u)*419);
  border-radius:calc(var(--u)*8);overflow:hidden}
.footer .fmap img{width:100%;height:100%;object-fit:cover}
.footer .openmap{position:absolute;left:calc(var(--u)*576);top:calc(var(--u)*513);color:#fff;
  font-weight:600;font-size:calc(var(--u)*24);text-decoration:underline;text-transform:lowercase}
.footer .col{position:absolute;top:calc(var(--u)*82);width:calc(var(--u)*200)}
.footer .col h5{color:#fff;font-weight:600;font-size:calc(var(--u)*14);text-transform:lowercase;margin-bottom:calc(var(--u)*34)}
.footer .col a{display:block;color:#8a8783;font-size:calc(var(--u)*15);margin-bottom:calc(var(--u)*17)}
.footer .col a:hover{color:#fff}
.footer .c1{left:calc(var(--u)*940)}
.footer .c2{left:calc(var(--u)*1153)}
.footer .c3{left:calc(var(--u)*1366)}
.footer .line{position:absolute;left:calc(var(--u)*80);right:calc(var(--u)*80);top:calc(var(--u)*627);
  height:1px;background:rgba(255,255,255,.12)}
.footer .copy{position:absolute;left:calc(var(--u)*80);top:calc(var(--u)*655);font-size:calc(var(--u)*14)}
.footer .copy a{color:#8a8783;text-decoration:underline}
.footer .policy{position:absolute;right:calc(var(--u)*80);top:calc(var(--u)*668);font-size:calc(var(--u)*14);color:#8a8783}

/* ============ нейтрализация старого style.css на главной ============ */
.fig .steps{display:block;background:transparent;border:0;gap:0}
.fig .footer{padding:0;border-top:0;background:#212121}
.fig .hero{overflow:hidden}

/* ============ МОБИЛЬНАЯ ГЛАВНАЯ (нет макета — раскладка по логике нового стиля) ============ */
@media (max-width: 760px){
  /* герой: из постера в поток */
  .hero{margin:10px 10px 0;height:auto;min-height:86svh;border-radius:24px}
  .hero__body-m{display:block;position:relative;z-index:5;padding:84px 20px 110px}
  .hero .pill{position:absolute;top:12px;left:12px;right:12px;transform:none;width:auto;height:46px;
    padding:6px 6px 6px 16px;border-radius:999px}
  .pill nav{display:none}
  .pill .logo b{font-size:11px;line-height:9.5px}
  .pill .logo img{width:18px;height:22px}
  /* CTA дублирует большую кнопку героя на том же экране — вместо неё бургер */
  .pill .cta{display:none}
  .pill .burger{display:inline-flex;flex-direction:column;gap:4px;background:none;border:0;width:auto;height:auto;padding:10px;cursor:pointer}
  .pill .burger span{width:20px;height:2px;background:#131313;display:block}
  /* фон героя: карточка на всю ширину, без шва от слоя гор слева */
  .hero .bg-mount{display:none}
  .hero .bg-card{left:0;top:0;border-radius:0}
  .hero .t{position:relative;z-index:5;top:auto;left:auto;transform:none;
    font-size:13.2vw;line-height:.92;letter-spacing:-.045em;white-space:normal}
  .hero .t3 br{display:none}
  .hero .t1,.hero .t2,.hero .t3,.hero .t4{display:block;margin:0;font-size:13.2vw;line-height:.94;letter-spacing:-.045em}
  .hero .t3{margin-left:14vw}
  .hero .t4{margin-left:0}
  .hero .btn-hero{position:absolute;left:20px;top:auto;bottom:24px;transform:none;
    height:44px;padding:0 22px;font-size:15px;letter-spacing:-.02em}
  .hero .stats{position:absolute;left:auto;right:20px;top:auto;bottom:24px;transform:none;
    font-size:14px;line-height:1.5;letter-spacing:-.02em}
  /* галерея: горизонтальная лента нормальных карточек */
  .gallery{height:auto;display:flex;gap:14px;overflow-x:auto;padding:24px 16px 8px;scroll-snap-type:x mandatory}
  .kcard{position:static;width:82vw;min-width:82vw;opacity:1;scroll-snap-align:center;
    border-radius:24px;padding:8px;gap:14px;filter:drop-shadow(0 4px 30px rgba(0,0,0,.12))}
  .kcard.side{width:82vw;min-width:82vw;opacity:1}
  .kcard .ph{height:56vw;border-radius:18px}
  .kcard .ph>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;top:0}
  .kcard .sl{left:auto;right:10px;top:10px;width:44px;min-height:32px;font-size:14px}
  .kcard .badge{height:26px;font-size:11px;letter-spacing:0;padding:0 10px}
  .kcard .badge.gift{left:12px;top:auto;bottom:12px}
  .kcard .badges{left:auto;right:12px;top:auto;bottom:12px}
  .kcard .name{font-size:24px;line-height:1;padding-top:4px}
  .kcard .price i{font-size:13px}
  .kcard .price b{font-size:19px;line-height:1.2}
  .kcard .kaspi{font-size:11.5px;line-height:1.3;padding:4px 12px 12px 16px}
  .btn-catalog{position:static;display:flex;width:auto;margin:10px 16px 0;height:46px;font-size:15px}
  /* одна цена: тот же постер, но крупнее */
  .oneprice{height:auto;padding:40px 16px 8px}
  .oneprice .txt{position:static;width:auto;font-size:11vw;line-height:.82;letter-spacing:-.04em}
  /* почему мы: вертикальный стек */
  .whyus{height:auto;padding:32px 16px 0}
  .whyus .head{position:static;width:auto;height:auto;font-size:11vw;line-height:1;letter-spacing:-.04em;
    justify-content:center;margin-bottom:18px}
  .wcard{position:static;width:auto !important;height:auto !important;min-height:230px;
    border-radius:22px;margin-bottom:14px;overflow:hidden}
  .wcard h3{position:static;transform:none;padding:20px 20px 0;width:auto !important;
    font-size:24px;line-height:1.05;letter-spacing:-.03em}
  .wcard p{position:static;transform:none;padding:10px 20px 16px;width:auto !important;
    font-size:15px;line-height:1.3;letter-spacing:-.02em}
  .wc1 img{position:static;display:block;width:min(78%,300px);height:auto;margin:4px auto 0}
  .wc2 .vid{position:static;width:auto;height:auto;padding:0 20px 20px}
  .wc2 .vid .fr{transform:rotate(-6deg);width:100%;height:52vw;margin:6px auto 10px}
  .wc3{display:flex;flex-direction:column}
  .wc3 img{position:static;order:-1;width:60%;height:auto;margin:0 auto}
  .wc4 img{position:static;width:100%;height:200px;object-fit:cover}
  /* весь путь */
  .path{height:auto;padding:36px 16px}
  .path .txt{position:static;width:auto;font-size:10.5vw;line-height:.9;letter-spacing:-.04em}
  /* шаги: стек */
  .steps{height:auto;padding:8px 16px 0}
  .steps .head{position:static;width:auto;font-size:11vw;line-height:.95;letter-spacing:-.04em;margin-bottom:16px}
  .scard{position:static;width:auto !important;height:auto !important;min-height:120px;
    border-radius:22px;margin-bottom:14px}
  .stitle{font-size:22px;line-height:1.05;letter-spacing:-.02em}
  .snum{font-size:28px;line-height:1;letter-spacing:-.02em}
  .stext{font-size:14px;line-height:1.3;letter-spacing:0}
  .st1 .photo{position:relative;width:auto;height:60vw;margin:8px}
  .st1 .stext,.st2 .stext{position:static;transform:none;width:auto;padding:8px 18px 0}
  .st1 .snum,.st2 .snum{position:static;transform:none;padding:10px 18px 0}
  .st1 .stitle,.st2 .stitle{position:static;transform:none;padding:2px 18px 16px}
  .st2 .check{position:static;transform:rotate(-14deg);width:70%;margin:18px auto 0}
  .st3 img{position:static;width:52%;max-height:190px;object-fit:contain;margin:6px auto 0}
  .st3 .stitle,.st4 .stitle,.st5 .stitle,.st6 .stitle{position:static;padding:14px 18px 0}
  .st3 .snum,.st5 .snum,.st6 .snum{position:static;padding:12px 18px 0}
  .st3 .stext,.st4 .stext,.st5 .stext,.st6 .stext{position:static;width:auto;padding:8px 18px 16px}
  .st4 img{position:static;width:calc(100% - 36px);height:44vw;margin:14px 18px 0}
  .st5 img{position:static;width:60%;margin:10px auto 0}
  .st6 img{position:static;width:90%;margin:8px auto 0}
  /* производство: стек */
  .factory{height:auto;padding:28px 16px}
  .factory .head{position:static;width:auto;font-size:10.5vw;line-height:.9;letter-spacing:-.04em;margin-bottom:16px}
  /* left/top остаются от десктопных правил и сдвигают relative-плитки — обнуляем */
  .factory .ftile{position:relative;left:auto;top:auto;width:auto !important;height:52vw !important;border-radius:18px;margin-bottom:12px}
  .factory .ftile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
  .factory .map .pin{display:none}
  .ptext{position:static;width:auto !important;font-size:15px;line-height:1.35;letter-spacing:-.01em;padding:4px 2px}
  /* подписи коллажа: на мобилке — вводный абзац до фото, факты галочками после */
  .factory{display:flex;flex-direction:column}
  .factory > *{order:2}
  .factory .head{order:0}
  .factory .t1,.factory .t2,.factory .t2b,.factory .t3{order:1;font-size:16px;line-height:1.4;padding:0 2px;color:#3b3b3b}
  .factory .t3{margin-bottom:18px}
  .factory .t4,.factory .t5,.factory .t6,.factory .t7{order:3;position:relative;left:auto;top:auto;padding:6px 2px 6px 26px}
  .factory .t4::before,.factory .t5::before,.factory .t6::before,.factory .t7::before{
    content:"✓";position:absolute;left:2px;top:6px;font-weight:700;color:#1c1a17}
  .pbtn{position:static !important;display:flex;width:auto !important;height:46px;font-size:15px;margin:10px 0}
  /* цену видно / смета / оффер */
  .seeprice,.estimate,.offer{height:auto;padding:28px 16px}
  .seeprice .txt1,.seeprice .txt2,.estimate .head,.offer .txt1,.offer .txt2,.offer .txt3{
    position:static;width:auto;text-align:left;font-size:10.5vw;line-height:.9;letter-spacing:-.04em}
  .seeprice .txt2{margin-top:18px}
  .estimate .check{position:static;width:80%;margin:18px auto}
  .estimate .note{position:static;width:auto;font-size:15px;line-height:1.35}
  .offer .txt1,.offer .txt2{text-indent:0}
  .estimate .head .hl1,.estimate .head .hl2{margin-right:0}
  .offer .txt2,.offer .txt3{margin-top:16px}
  .obtn{position:static;width:auto;height:46px;font-size:15px;margin-top:12px;display:flex}
  .offer .ob1{margin-top:24px}
  /* футер: стек */
  .fig .footer{height:auto;padding:36px 20px 28px;font-size:14px;line-height:1.5}
  .footer .logo2,.footer .desc,.footer .bigaddr,.footer .fmap,.footer .openmap,
  .footer .col,.footer .line,.footer .copy,.footer .policy{position:static}
  .footer .desc{margin:16px 0 20px;width:auto}
  .footer .bigaddr{width:auto;font-size:26px;line-height:1.05;margin-bottom:18px}
  .footer .fmap{width:100%;height:220px;border-radius:14px}
  .footer .openmap{display:inline-block;margin:12px 0 22px;font-size:17px}
  /* шрифты колонок заданы в --u — на мобилке возвращаем читаемые размеры */
  .footer .logo2{gap:8px}
  .footer .logo2 img{width:26px;height:31px}
  .footer .logo2 b{font-size:13px;line-height:11.5px}
  .footer .col{width:auto;margin-bottom:18px}
  .footer .col h5{margin-bottom:10px;font-size:13px}
  .footer .col a{margin-bottom:8px;font-size:15px}
  .footer .line{margin:8px 0 14px}
  .footer .copy{font-size:13px}
  .footer .policy{margin-top:6px;font-size:13px}
  /* лесенки с ручными пробелами свёрстаны под десктоп — на мобилке обычный поток текста */
  .bigtxt,.oneprice .txt,.path .txt,.wc3 h3,.wc3 p{white-space:normal}
}

/* живые карты (Google embed) в тайле производства и футере */
.factory .map iframe,.footer .fmap iframe{width:100%;height:100%;border:0;display:block}
.factory .map a,.footer .fmap a{display:block;width:100%;height:100%}
.factory .map a img,.footer .fmap a img{width:100%;height:100%;object-fit:cover}
