  @font-face{ font-family:'Kontrabanda'; src:url('fonts/Kontrabanda.ttf') format('truetype'); font-weight:400; font-display:swap; }
  :root{
    --orange:#0055FF;       /* Vivid Orange */
    --orange-dark:#0044D6;   /* тёмный оттенок для наведения */
    --orange-light:#99BBFF;  /* светлый оттенок */
    --onyx:#16191B;         /* тёплый угольный (палитра B) */
    --azure:#333F48;        /* Dark Azure */
    --graphite:#5B6472;     /* тёплый средне-серый */
    --paper-white:#F7F7F7;  /* тёплый светло-серый (палитра B) */
    --ink:#16191B;          /* основной текст */
    --gray:#5B6472;         /* тёплый средне-серый */
    --light-gray:#F7F7F7;   /* тёплый светло-серый */
    --paper:#FFFFFF;
    --paper-card:#FFFFFF;
    --ochre:#0055FF;
    --sage:#5B6472;
    --line:#E4E4E7;
    --line-soft:#EDF2FA;

    /* --- типографическая шкала, шаг 1.25 (мажорная терция) --- */
    --fs-00: 13px;                              /* мелкие лейблы */
    --fs-0:  16px;    /* мелкий текст */
    --fs-1:  16px;   /* базовый текст */
    --fs-2:  clamp(18px, 16px + 0.3vw, 20px);  /* лид-абзац */
    --fs-3:  clamp(20px, 17px + 0.45vw, 24px);    /* h3 / подзаголовки */
    --fs-4:  clamp(24px, 19px + 0.9vw, 32px);    /* h2 внутри about */
    --fs-5:  clamp(32px, 22px + 2.1vw, 52px);    /* h2 разделов */
    --fs-6:  clamp(35px, 26px + 3.4vw, 68px);    /* крупные цифры */
    --fs-7:  clamp(36px, 20px + 4.2vw, 82px);    /* h1 */
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  html:has(#contact:target){scroll-behavior:auto;}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:0.01ms !important; transition-duration:0.01ms !important;}
  }
  body{
    background:#FFFFFF;
    color:var(--ink);
    font-family:'HelveticaLocal', Helvetica, Arial, sans-serif;
    line-height:1.5;
  }
  .shell{ width:100%; margin:0; padding:0; }
  .panel{ overflow:hidden; position:relative; }
  .panel-light{ background:#FFFFFF; }
  .panel-dark{ background:var(--onyx); color:var(--paper-card); }
  .panel section{ padding:clamp(56px, 7vw, 140px) 0; position:relative; }
  /* первый блок после главного экрана — отдельный воздух сверху */
  #stats{ padding-top:clamp(56px, 6vw, 110px); }
  a{color:inherit;}
  img{max-width:100%; display:block;}

  .label{
    font-family:'HelveticaLocal', Helvetica, Arial, sans-serif;
    font-size:16px;
    letter-spacing:0;
    text-transform:none;
    color:var(--gray);
  }

  h1,h2,h3{
    font-family:'HelveticaLocal', Helvetica, Arial, sans-serif;
    font-weight:700;
    line-height:1.08;
    letter-spacing:-0.02em;
    text-wrap:balance;          /* строки заголовка выравниваются по длине */
  }
  p, li, .lead2, figcaption{
    text-wrap:pretty;           /* не оставляет одинокое слово в конце абзаца */
    hyphens:none;
  }
  h1{ letter-spacing:-0.035em; }

  .wrap{
    width:100%;
    margin:0 auto;
    /* текучие поля: растут вместе с экраном, но не съедают его */
    padding:0 clamp(20px, 5vw, 120px);
  }

  /* --- header --- */
  header{
    padding:22px 0;
    position:absolute; top:0; left:0; right:0; z-index:10;
    background:transparent;
  }
  header .wrap{ display:flex; justify-content:space-between; align-items:center; }
    .logo{
    display:flex;
    align-items:baseline;   /* выравнивание по базовой линии, а не по краю блока */
    gap:10px;
  }
  .logo svg{ height:17px; width:auto; display:block; }
  /* логотип поверх тёмного экрана — белый */
  header .logo svg path{ fill:#FFFFFF; }
  header .logo-sub{ color:#C9CDD2; }
  footer .logo svg path{ fill:#FFFFFF; }
  .logo-sub{
    font-family:'HelveticaLocal', Helvetica, Arial, sans-serif;
    font-weight:400;
    font-size:16px;
    letter-spacing:0;
    color:#FFFFFF;
    line-height:1;
  }
  .logo span{ color:var(--ochre); }
  nav{
    display:flex; gap:8px;
  }
  nav a{
    font-family:'HelveticaLocal', Helvetica, Arial, sans-serif;
    font-size:16px; letter-spacing:0; text-decoration:none;
    padding:11px 20px; border-radius:999px;
    background:#FFFFFF; color:var(--ink);
    transition:background 0.15s, color 0.15s;
  }
  nav a:hover, nav a:focus-visible{ background:var(--orange); color:#fff; }
  a:focus-visible, button:focus-visible{ outline:2px solid var(--ochre); outline-offset:3px; }

  /* --- hero (устаревший блок удалён, теперь используется .hero-dark) --- */
  .cta-row{ margin-top:36px; display:flex; gap:16px; flex-wrap:wrap; }
  .btn{
    font-family:'HelveticaLocal', Helvetica, Arial, sans-serif;
    font-size:13px;
    font-weight:700;
    letter-spacing:0.07em;
    text-transform:uppercase;
    text-decoration:none;
    padding:7px 7px 7px 28px;
    display:inline-flex; align-items:center; gap:14px;
    border:none;
    border-radius:999px;
    transition:background 0.2s, transform 0.15s, color 0.2s;
  }
  .btn:active{ transform:scale(0.97); }
  .btn-arrow{
    width:40px; height:40px; border-radius:50%; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
    background:rgba(255,255,255,0.22);
    transition:background 0.2s, transform 0.2s;
  }
  .btn:hover .btn-arrow{ transform:translateX(2px); }
  .btn-arrow svg{ display:block; }
  .btn-primary{ background:var(--orange); color:#fff; }
  .btn-primary:hover{ background:var(--orange-dark); }
  .btn-dark{ background:var(--ink); color:#fff; }
  .btn-dark:hover{ background:var(--onyx); }
  .btn-ghost{
    background:transparent; color:var(--ink);
    border:1.5px solid rgba(0,0,0,0.28);
    padding:6px 6px 6px 26px;
  }
  .btn-ghost .btn-arrow{ background:rgba(0,0,0,0.08); }
  .btn-ghost .btn-arrow svg path{ stroke:var(--ink); }
  .btn-ghost:hover{ background:var(--ink); color:#fff; border-color:var(--ink); }
  .btn-ghost:hover .btn-arrow{ background:rgba(255,255,255,0.18); }
  .btn-ghost:hover .btn-arrow svg path{ stroke:#fff; }

  .plan-sketch{ padding:24px; background:var(--paper-card); }
  .plan-sketch svg{ width:100%; height:auto; }

  /* --- section shell --- */
  section{ padding:96px 0; }
  .section-head{
    display:flex; align-items:baseline; gap:16px;
    margin-bottom:36px;
  }
  .section-head h2{ font-size:var(--fs-5); }
  .section-head .label{ margin-left:auto; }

  /* --- portfolio --- */
  .cases{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
  }
  .case{
    background:var(--light-gray);
    border-radius:24px;
    overflow:hidden;
    display:flex; flex-direction:column;
  }
  .case-photo{
    height:220px; background:#EDEDEF center / cover no-repeat;
    display:flex; align-items:center; justify-content:center;
    font-family:'HelveticaLocal', Helvetica, Arial, sans-serif; font-size:13px; color:var(--gray);
    letter-spacing:0.08em; text-transform:uppercase;
  }
  .case-body{ padding:26px 28px 28px; display:flex; flex-direction:column; gap:12px; flex:1; }
  .case .num{ font-family:'HelveticaLocal', Helvetica, Arial, sans-serif; font-size:16px; font-weight:700; color:var(--orange); }
  .case h3{ font-size:var(--fs-3); }
  .case p{ font-size:var(--fs-0); color:var(--gray); }
  .case .tags{ display:flex; gap:8px; flex-wrap:wrap; margin-top:auto; padding-top:12px; }
  .tag{
    font-family:'HelveticaLocal', Helvetica, Arial, sans-serif;
    font-size:13px; letter-spacing:0;
    background:#EDEDEF; padding:6px 13px; border-radius:999px; color:var(--gray);
  }

  /* --- типы учреждений --- */
  .types-grid{
    display:grid; grid-template-columns:repeat(4, 1fr); gap:14px;
  }
  .type-card{
    background:var(--light-gray); border-radius:24px;
    padding:clamp(22px, 2vw, 32px);
    display:flex; flex-direction:column; gap:8px;
    min-height:190px;
    transition:background 0.25s, transform 0.25s;
  }
  .type-card span{ margin-top:auto; }
  .type-card:hover{ background:#E8F0FF; transform:translateY(-4px); box-shadow:0 16px 32px rgba(0,85,255,0.14); }
  .type-card:hover span{ color:var(--orange-dark); }
  .type-card:hover em{ color:#0044D6; }
  .type-card:hover .tc-icon{ color:var(--orange); }
  .type-card .tn{ font-size:13px; font-weight:700; color:var(--orange); margin-bottom:2px; }
  .type-card span{
    font-size:var(--fs-3); font-weight:700; letter-spacing:-0.015em; color:var(--ink);
  }
  .type-card em{ font-style:normal; font-size:var(--fs-0); color:var(--gray); }
  @media (max-width:1000px){ .types-grid{ grid-template-columns:repeat(3, 1fr); } }
  @media (max-width:720px){ .types-grid{ grid-template-columns:repeat(2, 1fr); } }
  @media (max-width:460px){ .types-grid{ grid-template-columns:1fr; } }

  /* ============ BENTO «Как это выглядит» ============ */
  .bento{
    display:grid;
    grid-template-columns:repeat(12, 1fr);
    grid-auto-rows:210px;
    gap:14px;
  }
  .b-cell{
    position:relative;
    border-radius:24px;
    overflow:hidden;
  }
  /* один угол срезан большим радиусом — как в референсе */
  .b-cut-tr{ border-top-right-radius:80px; }
  .b-cut-bl{ border-bottom-left-radius:80px; }
  .b-cut-br{ border-bottom-right-radius:80px; }

  /* фото-ячейка */
  .b-photo{ background:#EAEAEC center/cover no-repeat; }
  .b-photo::after{
    content:''; position:absolute; inset:0;
    background:linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.55) 100%);
    opacity:0; transition:opacity .3s;
  }
  .b-photo.has-cap::after{ opacity:1; }
  .b-cap{
    position:absolute; left:0; right:0; bottom:0; z-index:2;
    padding:32px 22px 20px;
    color:#fff; font-size:13px; line-height:1.4;
  }

  /* текстовая ячейка */
  .b-text{
    padding:clamp(22px,2.4vw,34px);
    display:flex; flex-direction:column; justify-content:flex-end;
  }
  .b-text.top{ justify-content:flex-start; }
  .b-text h3{ font-size:var(--fs-3); line-height:1.14; margin-bottom:10px; }
  .b-text p{ font-size:var(--fs-0); line-height:1.5; }
  .b-light{ background:var(--light-gray); }
  .b-light h3{ color:var(--ink); }
  .b-light p{ color:var(--gray); }
  .b-orange{ background:var(--orange); }
  .b-orange h3, .b-orange p{ color:#fff; }
  .b-orange p{ color:rgba(255,255,255,0.85); }
  .b-dark{ background:var(--onyx); }
  .b-dark h3{ color:#fff; }
  .b-dark p{ color:rgba(255,255,255,0.6); }

  /* рукописная приписка Caveat */
  .b-hand{
    font-family:'Kontrabanda', cursive;
    font-weight:400;
    font-size:24px;
    line-height:1;
    transform:rotate(-3deg);
    display:inline-block;
    margin-bottom:14px;
  }
  .b-orange .b-hand{ color:#fff; }
  .b-light .b-hand{ color:var(--orange); }
  .b-dark .b-hand{ color:var(--orange); }

  /* геометрический шейп-декор в углу текстовой карточки */
  .b-shape{
    position:absolute; z-index:0; pointer-events:none;
    width:130px; height:130px; right:-24px; top:-24px;
    opacity:0.14;
  }
  .b-text > *{ position:relative; z-index:1; }
  .b-dark .b-shape, .b-orange .b-shape{ opacity:0.16; }

  /* фото, вписанное в геометрическую форму-маску */
  .b-masked{ background:var(--light-gray); }
  .b-masked .b-mask-img{
    position:absolute; inset:0;
    background-size:cover; background-position:center;
  }

  /* паттерн из мелких шейпов */
  .b-pattern{
    background:var(--light-gray);
    background-image:
      radial-gradient(circle at 20% 30%, rgba(0,85,255,0.12) 0 8px, transparent 8px),
      radial-gradient(circle at 60% 70%, rgba(0,0,0,0.08) 0 8px, transparent 8px),
      radial-gradient(circle at 85% 25%, rgba(0,85,255,0.10) 0 6px, transparent 6px);
    background-size:90px 90px;
  }

  /* размеры ячеек по 12-колоночной сетке */
  .c5{ grid-column:span 5; } .c4{ grid-column:span 4; }
  .c3{ grid-column:span 3; } .c6{ grid-column:span 6; }
  .c7{ grid-column:span 7; } .c8{ grid-column:span 8; }
  .r2{ grid-row:span 2; }

  @media (max-width:1000px){
    .bento{ grid-template-columns:repeat(6,1fr); grid-auto-rows:190px; }
    .c5,.c7,.c8{ grid-column:span 6; }
    .c4,.c6,.c3{ grid-column:span 3; }
  }
  @media (max-width:600px){
    .bento{ grid-template-columns:1fr; grid-auto-rows:auto; gap:12px; }
    .c5,.c4,.c3,.c6,.c7,.c8{ grid-column:span 1; }
    .r2{ grid-row:span 1; }
    /* на мобилке всем ячейкам задаём удобную высоту */
    .b-cell{ min-height:210px; border-radius:24px; }
    .b-photo{ min-height:210px; }
    .b-masked{ min-height:260px; }
    .b-text{ min-height:auto; padding:26px 24px; }
    .b-cut-tr{ border-top-right-radius:56px; }
    .b-cut-bl{ border-bottom-left-radius:56px; }
    .b-cut-br{ border-bottom-right-radius:56px; }
  }

  /* --- видео процесса печати --- */
  .tech-video{
    position:relative; margin:0 0 clamp(24px, 2.6vw, 40px);
    border-radius:24px; overflow:hidden; background:var(--onyx);
  }
  .tech-video video{
    width:100%; height:auto; display:block; aspect-ratio:16/9; object-fit:cover; cursor:default;
  }
  .tech-video figcaption{
    position:absolute; left:0; right:0; bottom:0;
    padding:44px 28px 22px;
    background:linear-gradient(transparent, rgba(11,12,13,0.85));
    color:#F4F7FC; font-size:var(--fs-0); line-height:1.5;
    pointer-events:none;
  }
  .video-play{
    position:absolute; inset:0; margin:auto;
    width:76px; height:76px; border-radius:50%;
    background:var(--orange); border:none; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    transition:transform 0.2s, background 0.2s, opacity 0.25s;
  }
  .video-play span{
    width:0; height:0; margin-left:5px;
    border-left:20px solid #fff;
    border-top:13px solid transparent;
    border-bottom:13px solid transparent;
  }
  .video-play:hover{ transform:scale(1.08); background:var(--orange-dark); }
  .video-play.is-playing{ opacity:0; pointer-events:none; }
  @media (max-width:560px){
    .video-play{ width:60px; height:60px; }
    .tech-video figcaption{ padding:36px 20px 18px; }
  }

  /* --- технологии --- */
  .tech-lead{
    font-size:var(--fs-2); color:var(--ink); max-width:62ch; margin-bottom:clamp(32px,3.5vw,52px);
  }
  .tech-grid{
    display:grid; grid-template-columns:repeat(4,1fr); gap:14px; align-items:stretch;
  }
  .tech-card{
    background:var(--light-gray); border-radius:24px;
    padding:clamp(28px,2.4vw,40px);
    display:flex; flex-direction:column;
    min-height:380px; position:relative; overflow:hidden;
  }
  .tech-card--orange{ background:var(--orange); }
  .tech-card--dark{ background:var(--onyx); }
  .tech-num{
    font-size:13px; font-weight:700; color:var(--orange);
  }
  .tech-card--orange .tech-num{ color:rgba(255,255,255,0.6); }
  .tech-card--dark .tech-num{ color:rgba(255,255,255,0.45); }
  .tech-card h3{ font-size:var(--fs-3); margin-bottom:10px; margin-top:auto; padding-top:20px; }
  .tech-card--orange h3, .tech-card--dark h3{ color:#fff; }
  .tech-card p{ font-size:var(--fs-0); color:var(--gray); line-height:1.5; }
  .tech-card--orange p{ color:rgba(255,255,255,0.82); }
  .tech-card--dark p{ color:rgba(255,255,255,0.62); }
  .tech-card::after{
    content:attr(data-n);
    position:absolute; right:-4px; top:clamp(12px,1.6vw,22px);
    font-size:clamp(72px,8vw,108px); font-weight:700; line-height:1;
    letter-spacing:-0.04em; pointer-events:none;
    color:rgba(0,0,0,0.06);
  }
  .tech-card--orange::after{ color:rgba(0,0,0,0.10); }
  .tech-card--dark::after{ color:rgba(255,255,255,0.05); }
  .tech-note{
    margin-top:32px; padding:20px 26px;
    font-size:var(--fs-0); color:var(--gray);
  }
  @media (max-width:1000px){ .tech-grid{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:560px){ .tech-grid{ grid-template-columns:1fr; } }

  /* --- process --- */
  .process{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:20px;
  }
  .step{
    padding:32px 26px;
    background:var(--light-gray);
    border-radius:24px;
    position:relative;
  }
  .step .num{ font-family:'HelveticaLocal', Helvetica, Arial, sans-serif; font-size:16px; font-weight:700; color:var(--orange); }
  .step h3{ font-size:var(--fs-3); margin:10px 0 8px; }
  .step p{ font-size:var(--fs-0); color:var(--gray); }

  /* --- hero dark (кинематографичный вариант) --- */
  .hero-dark{
    position:relative;
    min-height:min(94vh, 960px, 58vw);
    display:flex; flex-direction:column; justify-content:flex-end;
    padding:clamp(120px, 15vh, 180px) 0 clamp(40px, 5vh, 64px);
    overflow:hidden; color:#FFFFFF;
    background:var(--onyx);
  }
  .hero-photo{
    position:absolute; inset:0;
    overflow:hidden;
    filter:brightness(1);
    transition:filter 0.9s cubic-bezier(0.22,0.61,0.36,1);
  }
  .hero-photo video{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit:cover; object-position:center 42%;
    display:block;
  }
  /* Заголовок и действия доступны при первом отображении страницы. */
  @media (prefers-reduced-motion:no-preference) {
    .hero-inner { animation:hero-entry .35s ease-out; }
    @keyframes hero-entry { from { transform:translateY(8px); } to { transform:none; } }
  }
  .hero-photo::after{
    content:''; position:absolute; inset:0;
    background:linear-gradient(180deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.25) 34%, rgba(0,0,0,0.78) 100%);
  }
  .hero-dark .badge{ 
    display:inline-flex; align-items:center; gap:8px; background:rgba(251,250,245,0.08);
    border:1px solid rgba(251,250,245,0.25);
    font-family:'HelveticaLocal', Helvetica, Arial, sans-serif; font-size:13px; letter-spacing:0.06em; text-transform:uppercase;
    padding:8px 16px; border-radius:999px; margin-bottom:32px; color:#D5D9DB;
  }
  .hero-dark h1{
    color:#FFFFFF; font-size:clamp(32px,18px + 3.8vw,68px); max-width:24ch; margin-bottom:20px;
  }
  .hero-dark p.lead2{ color:#B9BEC2; font-size:var(--fs-2); max-width:52ch; margin-bottom:40px; }
  .hero-dark .cta-row .btn-primary{ background:var(--ochre); border-color:var(--ochre); color:#fff; }
  .hero-dark .cta-row .btn-primary:hover{ background:var(--orange-dark); border-color:var(--orange-dark); }
  .hero-dark .cta-row .btn-ghost{ border-color:rgba(251,250,245,0.35); color:var(--paper-card); }
  .hero-dark .cta-row .btn-ghost .btn-arrow{ background:rgba(255,255,255,0.16); }
  .hero-dark .cta-row .btn-ghost .btn-arrow svg path{ stroke:#fff; }
  .hero-dark .cta-row .btn-ghost:hover{ background:#FFFFFF; color:var(--ink); border-color:#FFFFFF; }
  .hero-dark .cta-row .btn-ghost:hover .btn-arrow{ background:rgba(0,0,0,0.10); }
  .hero-dark .cta-row .btn-ghost:hover .btn-arrow svg path{ stroke:var(--ink); }
  /* --- раскладка главного экрана --- */
  .hero-inner{
    position:relative; z-index:2;
    display:flex; flex-direction:column;
    flex:1; gap:clamp(28px, 3.5vh, 48px);
  }
  .hero-top{ margin-top:auto; margin-bottom:auto; }
  .hero-bottom{
    display:flex; justify-content:space-between; align-items:flex-end;
    gap:48px; flex-wrap:wrap;
  }
  .hero-action{ width:auto; margin-left:auto; text-align:right; }
  .hero-tagline{
    max-width:36ch; margin-left:auto;
    font-size:var(--fs-2);
    color:#FFFFFF;
    line-height:1.3;
    margin-bottom:20px;
    text-shadow:0 1px 12px rgba(0,0,0,0.5);
  }
  .hero-action .cta-row{ margin-top:0; justify-content:flex-end; flex-wrap:nowrap; }
  .hero-action .cta-row .btn{ white-space:nowrap; }

  .hero-dark .tag-row{
    display:flex; gap:clamp(24px, 3vw, 56px); flex-wrap:wrap;
    margin-top:0; padding:0;
  }
  .hero-dark .tag-row div{ font-family:'HelveticaLocal', Helvetica, Arial, sans-serif; font-size:13px; color:#C9CDD2; }
  .hero-dark .tag-row div span{ display:block; color:#FFFFFF; font-size:16px; font-weight:700; margin-top:5px; }

  /* --- бегущая строка школ-партнёров --- */
  .panel section.marquee-row{
    display:grid;
    grid-template-columns:minmax(240px, 320px) 1fr;
    align-items:center;
    gap:clamp(24px, 3vw, 56px);
    padding:clamp(24px, 2.6vw, 40px) clamp(20px, 5vw, 120px);
    border-top:1px solid #EDEDEF;
    border-bottom:1px solid #EDEDEF;
  }
  .marquee-caption{ min-width:0; }
  .marquee{ overflow:hidden; position:relative; min-width:0; }
  .marquee::before, .marquee::after{
    content:''; position:absolute; top:0; bottom:0; width:70px; z-index:2; pointer-events:none;
  }
  .marquee::before{ left:0; background:linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
  .marquee::after{ right:0; background:linear-gradient(270deg, #fff, rgba(255,255,255,0)); }
  .marquee-inner{
    display:flex; width:max-content;
    animation:marquee 34s linear infinite;
  }
  .marquee-row:hover .marquee-inner{ animation-play-state:paused; }
  @media (prefers-reduced-motion: reduce){
    .marquee-inner{ animation:none; }
    .marquee{ overflow-x:auto; }
  }
  @keyframes marquee{
    from{ transform:translateX(0); }
    to{ transform:translateX(-50%); }
  }
  .marquee-track{ display:flex; align-items:center; }
  .marquee-item{
    display:flex; align-items:center; gap:12px;
    padding:0 clamp(22px, 2.2vw, 44px);
    font-size:var(--fs-1); font-weight:700; color:var(--ink); white-space:nowrap;
  }
  .marquee-item .m-mark{
    width:32px; height:32px; border-radius:12px; flex-shrink:0;
    background:var(--light-gray); color:var(--gray);
    display:flex; align-items:center; justify-content:center;
    font-size:13px; font-weight:700;
  }
  .marquee-caption{
    font-family:'HelveticaLocal', Helvetica, Arial, sans-serif;
    font-size:16px; line-height:1.5; letter-spacing:0;
    color:var(--gray);
  }
  @media (max-width:860px){
    .panel section.marquee-row{ grid-template-columns:1fr; gap:18px; }
  }

  /* --- stats --- */
  .stats-panel{
    background:var(--light-gray);
    border-radius:24px;
    padding:clamp(40px, 5vw, 80px) clamp(24px, 3.5vw, 56px) clamp(24px, 3.5vw, 56px);
  }
  .stats-panel > *{ position:relative; z-index:1; }
  .stats-manifest{ text-align:center; max-width:64ch; margin:0 auto clamp(40px, 4.5vw, 72px); }
  .stats-manifest .label{ justify-content:center; display:block; margin-bottom:18px; }
  .manifest-lead{
    font-size:var(--fs-3); color:var(--ink); margin-bottom:clamp(28px, 3.2vw, 48px);
  }
  .manifest-big{
    font-family:'HelveticaLocal', Helvetica, Arial, sans-serif;
    font-weight:700; font-size:var(--fs-4); line-height:1.62;
    letter-spacing:-0.02em; color:var(--ink); margin-bottom:20px;
    text-wrap:balance;
  }
  .manifest-lead{ line-height:1.7; text-wrap:balance; }
  .manifest-sub{ font-size:var(--fs-0); color:var(--gray); max-width:52ch; margin:0 auto; }
  .hl{
    background:transparent; color:var(--orange);
    border:2px solid var(--orange);
    padding:0.1em 0.42em 0.14em;
    margin:0 0.06em;
    border-radius:999px;
    white-space:nowrap;
    box-decoration-break:clone; -webkit-box-decoration-break:clone;
  }

  .stats-grid{
    display:grid; grid-template-columns:repeat(4, 1fr); gap:16px;
  }
  .stat-block{
    padding:clamp(24px, 2.2vw, 36px);
    background:#FFFFFF; border-radius:24px;
  }
  .stat-block .n{ font-family:'HelveticaLocal', Helvetica, Arial, sans-serif; font-weight:700; font-size:var(--fs-6); color:var(--ochre); line-height:1; letter-spacing:-0.03em; }
  .stat-block .l{ font-size:var(--fs-0); color:var(--gray); margin-top:8px; max-width:22ch; }

  /* --- testimonials --- */
  .testimonials{ display:grid; grid-template-columns:repeat(2, 1fr); gap:20px; }
  .testimonial{
    background:var(--light-gray);
    padding:0 0 20px; border-radius:24px; overflow:hidden;
    display:flex; flex-direction:column;
    height:auto;
  }
  .t-textwrap{ display:flex; flex-direction:column; }
  .testimonial p{
    display:-webkit-box; -webkit-box-orient:vertical;
    -webkit-line-clamp:4; overflow:hidden;
  }
  .testimonial.is-expanded p{
    -webkit-line-clamp:unset; overflow:visible;
  }
  .t-expand{
    background:none; border:none; cursor:pointer;
    font-size:13px; font-weight:700; color:var(--orange);
    margin:0 30px 20px; padding:0; text-align:left;
    width:fit-content;
  }
  .t-expand:hover{ color:var(--orange-dark); }
  .testimonial.is-expanded{ height:auto; }
  .testimonial.is-expanded .t-expand{ display:none; }
  .testimonial p{ font-size:16px; color:var(--ink); line-height:1.5; margin:20px 26px 16px; }
  .t-author{ display:flex; align-items:center; gap:12px; margin:0 26px; margin-top:12px; }
  .t-avatar{
    width:46px; height:46px; border-radius:50%; flex-shrink:0;
    background:var(--ochre); color:#fff;
    display:flex; align-items:center; justify-content:center;
    font-family:'HelveticaLocal', Helvetica, Arial, sans-serif; font-size:13px;
  }
  .testimonial .who{ font-size:16px; font-weight:700; color:var(--ink); }
  .testimonial .who span{ display:block; color:var(--gray); font-size:13px; font-weight:400; margin-top:2px; }

  /* --- принципы в блоке о направлении --- */
  .principles{ margin-top:36px; display:flex; flex-direction:column; gap:2px; }
  .principle{
    display:flex; gap:16px; align-items:flex-start;
    background:var(--light-gray); padding:18px 22px; border-radius:12px;
    font-size:var(--fs-0); color:var(--ink); max-width:46ch;
  }
  .principle .pn{
    font-family:'HelveticaLocal', Helvetica, Arial, sans-serif; font-size:13px; color:var(--ochre); flex-shrink:0; padding-top:2px;
  }

  /* --- faq --- */
  .faq-layout{
    display:grid; grid-template-columns:1fr minmax(280px, 380px);
    gap:clamp(28px, 3.5vw, 64px); align-items:start;
  }
  .faq-list{ min-width:0; }
  .faq-aside{
    background:var(--onyx); color:#fff;
    border-radius:24px; padding:clamp(28px, 2.6vw, 40px);
    position:sticky; top:24px;
  }
  .faq-aside h3{ font-size:var(--fs-3); margin-bottom:14px; color:#fff; }
  .faq-aside p{ font-size:var(--fs-0); color:#B9BEC2; margin-bottom:24px; }
  .faq-aside .btn-primary{
    background:var(--orange); border-color:var(--orange); color:#fff;
  }
  .faq-aside .btn-primary:hover{ background:#fff; border-color:#fff; color:var(--ink); }
  @media (max-width:900px){
    .faq-layout{ grid-template-columns:1fr; }
    .faq-aside{ position:static; }
  }
  .faq-item{ background:var(--light-gray); border-radius:24px; padding:22px 26px; margin-bottom:10px; }
  .faq-item summary{
    cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center;
    font-family:'HelveticaLocal', Helvetica, Arial, sans-serif; font-size:var(--fs-3); gap:16px;
  }
  .faq-item summary::-webkit-details-marker{ display:none; }
  .faq-item summary::after{
    content:'+'; font-family:'HelveticaLocal', Helvetica, Arial, sans-serif; font-size:20px; color:var(--ochre); flex-shrink:0;
  }
  .faq-item[open] summary::after{ content:'−'; }
  .faq-item p{ font-size:var(--fs-0); color:var(--gray); margin-top:12px; max-width:60ch; }
  .about{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:start; }
  .about p{ font-size:var(--fs-1); color:var(--gray); margin-bottom:16px; max-width:56ch; }
  .stat-row{ display:flex; gap:32px; margin-top:28px; }
  .stat .n{ font-family:'HelveticaLocal', Helvetica, Arial, sans-serif; font-weight:700; font-size:var(--fs-6); color:var(--ochre); letter-spacing:-0.03em; }
  .stat .l{ font-size:var(--fs-00); color:var(--gray); }

  /* --- contact --- */
  .contact{ background:var(--light-gray); color:var(--ink); border-radius:24px; position:relative; overflow:hidden; }
    .contact > *{ position:relative; z-index:1; }
  .contact{
    padding:clamp(40px,4.5vw,80px) clamp(28px,4vw,72px);
    display:grid; grid-template-columns:1fr 1fr; gap:clamp(36px,4vw,80px);
  }
  .contact h2{ color:var(--ink); font-size:var(--fs-5); margin-bottom:16px; }
  .contact p{ color:var(--gray); font-size:var(--fs-1); max-width:44ch; }
  .form-row{ margin-bottom:18px; }
  .form-row label{ display:block; font-family:'HelveticaLocal', Helvetica, Arial, sans-serif; font-size:13px; color:var(--gray); margin-bottom:7px; }
  .form-row input, .form-row textarea{
    width:100%; background:transparent; border:none; border-bottom:1px solid #4A5666;
    color:var(--paper-card); font-family:'HelveticaLocal', Helvetica, Arial, sans-serif; font-size:16px; padding:8px 0;
  }
  .form-row input:focus-visible, .form-row textarea:focus-visible{ outline:2px solid var(--orange); outline-offset:2px; border-color:var(--orange); }
  .form-row textarea{ resize:vertical; min-height:70px; }
  .contact .btn-primary{ background:var(--orange); border-color:var(--orange); color:#fff; margin-top:10px; cursor:pointer; }
  .contact .btn-primary:hover{ background:var(--orange-dark); border-color:var(--orange-dark); }

  /* --- согласие на обработку данных --- */
  .consent{
    display:flex; gap:11px; align-items:flex-start;
    font-size:13px; color:var(--gray); line-height:1.5;
    margin:20px 0 6px; cursor:pointer;
  }
  .consent input{
    width:19px; height:19px; flex-shrink:0; margin-top:1px;
    accent-color:var(--orange); cursor:pointer;
  }
  .consent a{ color:var(--ink); text-decoration:underline; }
  .consent a:hover{ color:var(--orange); }

  /* --- уведомление о cookie --- */
  .cookie{
    position:fixed; left:16px; right:16px; bottom:16px; z-index:100;
    background:var(--onyx); color:#F4F7FC;
    border-radius:24px; padding:20px 24px;
    display:flex; align-items:center; gap:20px; flex-wrap:wrap;
    max-width:720px; margin:0 auto;
    box-shadow:0 12px 40px rgba(0,0,0,0.25);
  }
  .cookie p{ font-size:16px; margin:0; flex:1; min-width:240px; line-height:1.5; }
  .cookie a{ color:#fff; text-decoration:underline; }
  .cookie .btn{
    background:var(--orange); border-color:var(--orange); color:#fff;
    padding:11px 22px; font-size:16px; cursor:pointer;
  }
  .cookie[hidden]{ display:none; }

  /* --- подвал --- */
  footer{
    background:var(--onyx); color:#E4E6E2;
    padding:clamp(48px, 5vw, 80px) 0 32px;
    margin-top:clamp(40px, 4vw, 72px);
    border-radius:24px 24px 0 0;
  }
  .footer-top{
    display:grid;
    grid-template-columns:1.6fr 1fr 1.2fr 1.2fr;
    gap:clamp(28px, 3vw, 56px);
    padding-bottom:clamp(32px, 3.5vw, 56px);
  }
  .footer-brand p{
    font-size:var(--fs-0); color:#5B6472; max-width:34ch; margin:18px 0 22px;
  }
  .footer-brand .logo-sub{ color:#E4E6E2; }
  .footer-social{ display:flex; gap:10px; flex-wrap:wrap; }
  .footer-social a{
    font-size:16px; text-decoration:none; color:#E4E6E2;
    border:1px solid rgba(255,255,255,0.22);
    padding:8px 16px; border-radius:999px;
    transition:background 0.15s, color 0.15s, border-color 0.15s;
  }
  .footer-social a:hover{ background:var(--orange); border-color:var(--orange); color:#fff; }

  .footer-col h4{
    font-size:16px; font-weight:700; color:#FFFFFF;
    margin-bottom:16px;
  }
  .footer-col a{
    display:block; font-size:var(--fs-0); color:#5B6472;
    text-decoration:none; margin-bottom:10px;
    transition:color 0.15s;
  }
  .footer-col a:hover{ color:var(--orange); }
  .footer-col p{ font-size:var(--fs-0); color:#5B6472; margin-bottom:10px; line-height:1.5; }
  .footer-hours{ color:#5B6472 !important; }
  .footer-cta .btn-primary{
    background:var(--orange); border-color:var(--orange); color:#fff; margin-top:6px;
    display:inline-flex; width:auto;
  }
  .footer-cta .btn-primary:hover{ background:#fff; border-color:#fff; color:#16191B; }

  .footer-bottom{
    border-top:1px solid rgba(255,255,255,0.12);
    padding-top:24px;
    display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px;
    font-size:13px; color:#5B6472;
  }
  .footer-legal{ display:flex; gap:20px; flex-wrap:wrap; align-items:center; }
  .footer-legal a{ color:#5B6472; text-decoration:none; }
  .footer-legal a:hover{ color:var(--orange); }

  @media (max-width:900px){
    .footer-top{ grid-template-columns:1fr 1fr; gap:36px; }
  }
  @media (max-width:560px){
    .footer-top{ grid-template-columns:1fr; }
    .footer-bottom{ flex-direction:column; }
  }

  /* --- широкоформатные экраны (1440p, 2560px и выше) --- */
  @media (min-width: 1500px){
    .cases{ gap:28px; }
    .case-photo{ height:260px; }
    .case-body{ padding:32px 34px 34px; }
    .stat-block{ padding:44px 34px; }
    .step{ padding:40px 32px; }

  }
  @media (min-width: 2000px){
    /* на 2560px карточки не должны разъезжаться — показываем больше в ряд */
    .stats-grid{ grid-template-columns:repeat(4, 1fr); gap:28px; }
    .process{ gap:28px; }
    .testimonials{ gap:32px; }
    .case-photo{ height:320px; }
    .about{ gap:clamp(56px, 8vw, 160px); }
  }

  @media (max-width: 1100px){
    .wrap{ padding:0 36px; }
  }
  @media (max-width: 860px){
    .cases{ grid-template-columns:1fr; }
    .process{ grid-template-columns:1fr 1fr; }
    .stats-grid{ grid-template-columns:1fr 1fr; }
    .testimonials{ grid-template-columns:1fr; }
    .about{ grid-template-columns:1fr; }
    .contact{ grid-template-columns:1fr; }

    /* шапка больше не поверх экрана — иначе наезжает на заголовок */
    header{
      position:static;
      background:var(--ink);
      padding:16px 0 14px;
    }
    header .wrap{
      flex-direction:column; align-items:stretch; gap:14px;
    }
    /* меню — одна строка с горизонтальной прокруткой */
    nav{
      display:flex; gap:8px;
      overflow-x:auto; -webkit-overflow-scrolling:touch;
      scrollbar-width:none;
      margin:0 calc(-1 * clamp(20px, 5vw, 120px));
      padding:0 clamp(20px, 5vw, 120px);
    }
    nav::-webkit-scrollbar{ display:none; }
    nav a{ white-space:nowrap; flex-shrink:0; }

    .hero-dark{
      min-height:auto;
      padding:44px 0 48px;
      justify-content:flex-start;
    }
    .hero-inner{ gap:40px; }
    .hero-top{ margin:0; }
    .hero-bottom{ flex-direction:column; align-items:stretch; gap:32px; }
    .hero-action{ width:100%; margin-left:0; text-align:left; }
    .hero-action .cta-row{ justify-content:flex-start; }
    .hero-dark .badge{  margin-bottom:24px; }
    .hero-dark .tag-row{ gap:20px 28px; }
  }
  @media (max-width: 640px){
    .wrap{ padding:0 20px; }
    nav{ margin:0 -20px; padding:0 20px; }
  }
  @media (max-width: 520px){
    .process{ grid-template-columns:1fr; }
    .stats-grid{ grid-template-columns:1fr; }
    .gallery{ grid-template-columns:1fr; }
    .hero-dark .badge{  font-size:13px; padding:9px 16px; }
    .hero-dark .tag-row{ gap:16px 24px; }
    .hero-dark .tag-row div{ font-size:13px; }
    .hero-dark .tag-row div span{ font-size:16px; }
    .hero-tagline{ font-size:var(--fs-1); }
    .stat-block{ padding:24px 20px; }
    .hero-dark{ padding:40px 0 44px; }
    .hero-action .cta-row{ flex-wrap:wrap; }
    .cta-row .btn{ text-align:center; }
    .logo svg{ height:15px; }
    .logo-sub{ font-size:16px; }
    nav a{ padding:9px 14px; font-size:13px; }
    .faq-item{ padding:18px 20px; }
    .faq-item summary{ font-size:var(--fs-1); }
    .tech-card, .step, .case-body{ padding:24px 22px; }
    .testimonial p, .t-author{ margin-left:22px; margin-right:22px; }
    .stats-panel{ padding:32px 20px 24px; }
  }

  /* --- появление блоков при скролле --- */
  .reveal{
    opacity:0;
    transform:translateY(28px);
    transition:opacity 0.7s cubic-bezier(0.22,0.61,0.36,1),
               transform 0.7s cubic-bezier(0.22,0.61,0.36,1);
    will-change:opacity, transform;
  }
  .reveal.is-visible{ opacity:1; transform:none; }
  .reveal-delay-1{ transition-delay:0.08s; }
  .reveal-delay-2{ transition-delay:0.16s; }
  .reveal-delay-3{ transition-delay:0.24s; }
  @media (prefers-reduced-motion: reduce){
    .reveal{ opacity:1; transform:none; transition:none; }
  }

  /* ============ ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ ============ */

  /* section-head: padding без полоски */
  .section-head{ padding-top:0; }

  /* 3. Карточки проектов: подъём и стрелка при наведении */
  .case{
    transition:transform 0.3s cubic-bezier(0.22,0.61,0.36,1), box-shadow 0.3s;
    position:relative;
  }
  .case:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,0.10);
  }
  .case-photo{ position:relative; }
  .case-arrow{
    position:absolute; right:16px; bottom:16px;
    width:44px; height:44px; border-radius:50%;
    background:var(--orange); color:#fff;
    display:flex; align-items:center; justify-content:center;
    font-size:20px; line-height:1;
    opacity:0; transform:translateY(8px);
    transition:opacity 0.3s, transform 0.3s;
  }
  .case:hover .case-arrow{ opacity:1; transform:none; }

  /* 4. Карточки технологий и этапов: тонкая реакция на наведение */
  .tech-card, .step{
    transition:background 0.25s, transform 0.25s;
  }
  .tech-card:hover{ transform:translateY(-5px); }
  .step:hover{ background:#E8EEF8; transform:translateY(-3px); }

  /* 5. Крупный полупрозрачный номер в углу карточек этапов */
  .step{ position:relative; overflow:hidden; }
  .step::after{
    content:attr(data-n);
    position:absolute; right:-8px; bottom:-26px;
    font-size:112px; font-weight:700; line-height:1;
    color:rgba(0,0,0,0.05);
    letter-spacing:-0.05em;
    pointer-events:none;
  }

  /* 6. Мягкое оранжевое свечение за блоком манифеста */
  .stats-panel{ position:relative; overflow:hidden; }
  .stats-panel::before{
    content:'';
    position:absolute; top:-140px; right:-120px;
    width:420px; height:420px; border-radius:50%;
    background:radial-gradient(circle, rgba(0,85,255,0.14), rgba(0,85,255,0) 70%);
    pointer-events:none;
  }

  /* 7. Стрелка у ссылок соцсетей футера */
  .footer-social a::after{ content:' ↗'; opacity:0.6; }

  /* 8. Аккуратная линия-разделитель между крупными зонами */
  .rule{
    height:1px; background:#EDEDEF;
    margin:0 clamp(20px, 5vw, 120px);
  }

  /* --- карточный стек в герое --- */
  .hero-card-stack{
    position:relative; width:280px; height:168px;
    margin-bottom:20px; margin-left:auto;
  }
  .hcs-card{
    position:absolute; right:0;
    width:268px; height:155px;
    border-radius:24px; overflow:hidden;
    background:rgba(0,0,0,0.9);
    cursor:pointer;
    will-change:transform, opacity;
  }
  .hcs-photo{
    position:absolute; inset:0;
    background:center/cover no-repeat;
    transition:filter 0.4s;
  }
  .hcs-card:hover .hcs-photo{ filter:brightness(0.75)!important; }
  .hcs-info{
    position:absolute; bottom:0; left:0; right:0;
    padding:38px 16px 13px;
    background:linear-gradient(transparent, rgba(11,12,13,0.82));
    display:flex; flex-direction:column; gap:2px;
  }
  .hcs-name{ color:#fff; font-size:16px; font-weight:700; line-height:1.2; }
  .hcs-sub{ color:rgba(255,255,255,0.6); font-size:13px; }
  /* начальные позиции (управляются JS после) */
  .hcs-card{ transition:transform 0.65s cubic-bezier(0.22,0.61,0.36,1), opacity 0.5s; }

  /* ── Process Bento ─────────────────────────────────────────────────── */
  .process-bento{
    display:grid; grid-template-columns:repeat(12,1fr); gap:14px;
  }

  .pb-card:hover{ transform:translateY(-4px); }
  .pb-card.c5{ grid-column:span 5; }
  .pb-card.c7{ grid-column:span 7; }
  .pb-card--orange{ background:var(--orange); }
  .pb-card--dark  { background:var(--onyx); }
  .pb-card--light { background:var(--light-gray); }
  .pb-card--photo { background:var(--onyx) center/cover no-repeat; }
  .pb-card--photo::after{
    content:''; position:absolute; inset:0;
    background:linear-gradient(170deg,rgba(0,0,0,0.12) 0%,rgba(0,0,0,0.78) 100%);
    pointer-events:none;
  }
  .pb-card--photo > *{ position:relative; z-index:1; }
  .pb-num{
    font-family:'Kontrabanda',cursive;
    position:absolute; right:12px; top:10px;
    font-size:clamp(68px,9vw,108px); font-weight:400; line-height:1;
    pointer-events:none;
    color:rgba(0,0,0,0.07);
  }
  .pb-card--orange .pb-num{ color:rgba(0,0,0,0.11); }
  .pb-card--dark   .pb-num{ color:rgba(255,255,255,0.05); }
  .pb-card--photo  .pb-num{ color:rgba(255,255,255,0.07); }
  .pb-tag{
    font-size:13px; font-weight:700; letter-spacing:0.06em;
    text-transform:uppercase; margin-bottom:10px; color:var(--orange);
  }
  .pb-card--orange .pb-tag{ color:rgba(255,255,255,0.7); }
  .pb-card--photo  .pb-tag{ color:var(--orange-light); }
  .pb-card h3{ font-size:var(--fs-3); margin-bottom:8px; }
  .pb-card--orange h3,
  .pb-card--dark   h3,
  .pb-card--photo  h3{ color:#fff; }
  .pb-card p{ font-size:var(--fs-0); color:var(--gray); max-width:38ch; }
  .pb-card--orange p{ color:rgba(255,255,255,0.82); }
  .pb-card--dark   p{ color:rgba(255,255,255,0.62); }
  .pb-card--photo  p{ color:rgba(255,255,255,0.72); }
  @media(max-width:900px){
    .process-bento{ grid-template-columns:repeat(2,1fr); }
    .pb-card.c5,.pb-card.c7{ grid-column:span 1; }
  }
  @media(max-width:520px){
    .process-bento{ grid-template-columns:1fr; }
  }

  .pb-card.c4{ grid-column:span 4; }
  .pb-img{
    grid-column:span 7;
    border-radius:24px;
    min-height:280px;
    background:var(--light-gray) center/cover no-repeat;
    position:relative; overflow:hidden;
  }
  .pb-img.c4{ grid-column:span 4; }
  .pb-img.c7{ grid-column:span 7; }
  /* пунктирная рамка — визуальный плейсхолдер */
  .pb-img::before{
    content:'фото';
    position:absolute; inset:0;
    display:flex; align-items:center; justify-content:center;
    font-size:13px; letter-spacing:0.06em; text-transform:uppercase;
    color:var(--gray); opacity:0.4;
    border:1.5px dashed rgba(107,122,144,0.35);
    border-radius:24px;
  }
  @media(max-width:900px){
    .pb-card.c4{ grid-column:span 1; }
    .pb-img.c7,.pb-img.c4{ grid-column:span 2; min-height:220px; }
  }
  @media(max-width:520px){
    .pb-img.c7,.pb-img.c4{ grid-column:span 1; min-height:200px; }
  }

  /* ═══════════════════════════════════════════
     Process grid (ASICS-style bento)
  ═══════════════════════════════════════════ */
  .pb-grid{
    display:grid;
    grid-template-columns:repeat(12,1fr);
    gap:12px;
  }
  .pb-c5{ grid-column:span 5; }
  .pb-c7{ grid-column:span 7; }
  .pb-c4{ grid-column:span 4; }

  /* Чисто текстовая карточка */
  .pb-text{
    border-radius:24px; padding:24px;
    display:flex; flex-direction:column; gap:0;
    min-height:340px;
  }
  .pb-text h3{ font-size:var(--fs-3); margin:12px 0 10px; flex:1; }
  .pb-text p{ font-size:var(--fs-0); line-height:1.5; }

  /* Сплит-карточка */
  .pb-split{
    border-radius:24px; overflow:hidden;
    display:flex; flex-direction:column;
    min-height:340px;
  }
  .pb-split-text{
    padding:20px 22px 16px;
    display:flex; flex-direction:column; flex:1;
  }
  .pb-split-text h3{ font-size:var(--fs-2); margin:10px 0 8px; }
  .pb-split-text p{ font-size:13px; line-height:1.5; opacity:0.75; }
  .pb-split-photo{
    height:180px;
    background:#D4D4D8 center/cover no-repeat;
    flex-shrink:0;
    position:relative;
  }
  /* плейсхолдер пока нет фото */
  .pb-split-photo:empty::after{
    content:'фото';
    position:absolute; inset:0;
    display:flex; align-items:center; justify-content:center;
    font-size:13px; letter-spacing:0.08em; text-transform:uppercase;
    color:rgba(100,100,100,0.5);
  }
  .pb-split-footer{
    padding:14px 22px;
    display:flex; justify-content:space-between; align-items:center;
    background:inherit;
  }
  .pb-split-footer span{ font-size:13px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:rgba(255,255,255,0.7); }
  .pb-split-footer--ink span{ color:rgba(0,0,0,0.5); }

  /* Фото-ячейка */
  .pb-photo{
    border-radius:24px; overflow:hidden;
    background:#D4D4D8 center/cover no-repeat;
    min-height:340px; position:relative;
  }
  .pb-photo:empty::after{
    content:'фото';
    position:absolute; inset:0;
    display:flex; align-items:center; justify-content:center;
    font-size:13px; letter-spacing:0.08em; text-transform:uppercase;
    color:rgba(100,100,100,0.45);
    border:1.5px dashed rgba(107,122,144,0.3);
    border-radius:24px;
  }

  /* Цвета */
  .pb-orange{ background:var(--orange); }
  .pb-dark  { background:var(--onyx); }
  .pb-light { background:var(--light-gray); }

  /* Badge (чип сверху слева) */
  .pb-top-row{
    display:flex; justify-content:space-between; align-items:flex-start;
  }
  .pb-badge{
    display:inline-flex; align-items:center;
    background:rgba(255,255,255,0.18);
    border:1px solid rgba(255,255,255,0.28);
    border-radius:999px;
    padding:5px 12px;
    font-size:13px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;
    color:#fff;
  }
  .pb-badge--ink{
    background:rgba(0,0,0,0.07);
    border-color:rgba(0,0,0,0.18);
    color:var(--ink);
  }
  /* Декоративный номер (Kontrabanda, топ-право) */
  .pb-deco{
    font-family:'Kontrabanda',cursive;
    font-size:24px; line-height:1;
    color:rgba(255,255,255,0.22);
  }
  .pb-deco--ink{ color:rgba(0,0,0,0.15); }

  /* Текст в оранжевых/тёмных карточках */
  .pb-orange h3, .pb-dark h3{ color:#fff; }
  .pb-light h3{ color:var(--ink); }
  .pb-orange p, .pb-dark p{ color:rgba(255,255,255,0.78); }
  .pb-light p{ color:var(--gray); }

  /* CTA-строка внизу текстовой карточки */
  .pb-cta-row{
    margin-top:auto; padding-top:20px;
    display:flex; justify-content:space-between; align-items:center;
  }
  .pb-cta-row span{ font-size:13px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:rgba(255,255,255,0.65); }

  /* Стрелка-кнопка */
  .pb-arr{
    width:38px; height:38px; border-radius:50%; flex-shrink:0;
    background:#fff; color:var(--orange);
    display:flex; align-items:center; justify-content:center;
    font-size:16px; font-weight:700;
    transition:transform 0.2s;
    cursor:pointer;
  }
  .pb-arr--ink{ background:var(--orange); color:#fff; }
  .pb-split:hover .pb-arr,
  .pb-text:hover .pb-arr{ transform:translateX(3px); }

  /* Hover */
  .pb-text, .pb-split{
    transition:transform 0.28s cubic-bezier(0.22,0.61,0.36,1);
  }
  .pb-text:hover, .pb-split:hover{ transform:translateY(-3px); }

  /* Mobile */
  @media(max-width:900px){
    .pb-grid{ grid-template-columns:repeat(2,1fr); }
    .pb-c5,.pb-c7,.pb-c4{ grid-column:span 1; }
    .pb-c7.pb-photo{ grid-column:span 2; min-height:240px; }
  }
  @media(max-width:520px){
    .pb-grid{ grid-template-columns:1fr; }
    .pb-c7.pb-photo{ grid-column:span 1; }
  }

  /* ══════════════════════════════════════════
     Process bento (ASICS-style)
  ══════════════════════════════════════════ */
  .pb-grid{
    display:grid;
    grid-template-columns:repeat(12,1fr);
    gap:12px;
  }
  .pb-c5{ grid-column:span 5; }
  .pb-c7{ grid-column:span 7; }
  .pb-c4{ grid-column:span 4; }

  /* Базовая карточка */
  .pb-card{
    border-radius:24px; overflow:hidden;
    min-height:340px;
    position:relative;
    display:flex; flex-direction:column;
    transition:transform 0.25s cubic-bezier(0.22,0.61,0.36,1);
  }
  .pb-card:hover{ transform:translateY(-3px); }

  /* Внутренний контент (текст вверху) */
  .pb-card-inner{
    padding:20px 22px 16px;
    position:relative; z-index:2;
    flex:1;
    display:flex; flex-direction:column; gap:0;
  }
  .pb-card-inner h3{
    font-size:var(--fs-3);
    margin:10px 0 8px;
  }
  .pb-card-inner p{ font-size:13px; line-height:1.5; opacity:0.8; }

  /* Фото поверх низа карточки (абсолют) */
  .pb-has-photo .pb-card-inner{ flex:0 0 auto; }
  .pb-photo-overlay{
    position:absolute;
    left:0; right:0; bottom:0;
    top:42%; /* занимает нижние 55% */
    background:#D4D4D8 center/cover no-repeat;
    z-index:1;
  }
  .pb-photo-overlay:empty::after{
    content:'фото';
    position:absolute; inset:0;
    display:flex; align-items:center; justify-content:center;
    font-size:13px; letter-spacing:0.08em; text-transform:uppercase;
    color:rgba(0,0,0,0.3);
  }

  /* Футер-строка */
  .pb-footer{
    padding:14px 20px;
    display:flex; justify-content:space-between; align-items:center;
    position:relative; z-index:2;
    margin-top:auto;
  }
  .pb-footer.pb-footer-on-photo{ padding:32px 20px 16px; margin-top:0; }
  .pb-footer span{
    font-size:13px; font-weight:700; letter-spacing:0.08em;
    text-transform:uppercase; color:rgba(255,255,255,0.6);
  }
  /* Кнопка поверх фото — добавляем тень под текстом */
  .pb-footer-on-photo{
    position:absolute;
    bottom:0; left:0; right:0;
    background:linear-gradient(transparent, rgba(0,0,0,0.58));
    z-index:3;
    padding:36px 20px 16px;
  }
  .pb-footer-on-photo span{ color:rgba(255,255,255,0.8); }
  .pb-footer--ink span{ color:rgba(0,0,0,0.6); }
  .pb-footer--ink{ background:linear-gradient(transparent, rgba(0,0,0,0.55)); }

  /* Стрелка */
  .pb-arr{
    width:36px; height:36px; border-radius:50%; flex-shrink:0;
    background:#fff; color:var(--orange);
    display:flex; align-items:center; justify-content:center;
    font-size:16px; font-weight:700;
    transition:transform 0.2s;
  }
  .pb-arr--ink{ background:var(--orange); color:#fff; }
  .pb-card:hover .pb-arr{ transform:translateX(3px); }

  /* Цвета */
  .pb-orange{ background:var(--orange); }
  .pb-dark  { background:var(--onyx); }
  .pb-light { background:var(--light-gray); }
  .pb-orange .pb-card-inner h3,
  .pb-dark   .pb-card-inner h3{ color:#fff; }
  .pb-light  .pb-card-inner h3{ color:var(--ink); }

  /* Badge */
  .pb-top-row{ display:flex; justify-content:space-between; align-items:center; }
  .pb-badge{
    display:inline-flex; align-items:center;
    background:rgba(255,255,255,0.2); border:1px solid rgba(255,255,255,0.3);
    border-radius:999px; padding:5px 12px;
    font-size:13px; font-weight:700; letter-spacing:0.05em; text-transform:uppercase;
    color:#fff;
  }
  .pb-badge--ink{ background:rgba(0,0,0,0.07); border-color:rgba(0,0,0,0.15); color:var(--ink); }

  /* Декор-номер (Kontrabanda) */
  .pb-deco{
    font-family:'Kontrabanda',cursive;
    font-size:24px; line-height:1;
    color:rgba(255,255,255,0.22);
  }
  .pb-deco--ink{ color:rgba(0,0,0,0.18); }

  /* Отдельная фото-ячейка (первый ряд) */
  .pb-photo-cell{
    border-radius:24px; overflow:hidden;
    min-height:340px;
    background:#D4D4D8 center/cover no-repeat;
    position:relative;
  }
  .pb-photo-cell:empty::after{
    content:'фото';
    position:absolute; inset:0;
    display:flex; align-items:center; justify-content:center;
    font-size:13px; letter-spacing:0.08em; text-transform:uppercase;
    color:rgba(0,0,0,0.3);
    border:1.5px dashed rgba(107,122,144,0.28);
    border-radius:24px;
  }

  /* Чисто текстовая (этап 1) */
  .pb-card:not(.pb-has-photo) .pb-footer span{ color:rgba(255,255,255,0.65); }

  /* Mobile */
  @media(max-width:1000px){
    .pb-grid{ grid-template-columns:repeat(2,1fr); }
    .pb-c5,.pb-c7,.pb-c4{ grid-column:span 1; }
    .pb-c7.pb-photo-cell{ grid-column:span 2; min-height:220px; }
  }
  @media(max-width:560px){
    .pb-grid{ grid-template-columns:1fr; }
    .pb-c7.pb-photo-cell{ grid-column:span 1; }
  }

  /* Видео внутри карточки УФ-печать */
  .tc-video-wrap{
    position:relative;
    flex:1 1 auto;
    min-height:130px;
    overflow:hidden; z-index:1;
  }
  .tc-video-wrap video{
    width:100%; height:100%; object-fit:cover; display:block;
  }

  .pb-media{
    flex:1 1 auto;
    position:relative;
    min-height:130px;
    overflow:hidden;
  }
  .pb-media .pb-photo-overlay,
  .pb-media .tc-video-wrap{
    position:absolute !important;
    inset:0;
    flex:none;
    min-height:0;
  }
  .pb-media .tc-video-wrap video{
    width:100%; height:100%; object-fit:cover; display:block;
  }

  .pb-footer-on-photo span{
    color:#fff !important;
    font-size:13px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase;
  }

  .type-card .tc-icon{
    display:block; margin-bottom:12px; opacity:0.6;
  }
  .type-card:hover .tc-icon{ opacity:1; }
  .type-card .tc-kont{
    font-family:'Kontrabanda',cursive;
    font-size:var(--fs-3); line-height:1.15;
    color:var(--gray); font-weight:400;
  }

  .pb-video-cell{ position:relative; overflow:hidden; }
  .pb-video-cell:hover video{ opacity:1; }
  .pb-video-cell video{ opacity:0.92; transition:opacity 0.3s; }

  /* ═══════════════ ARC CAROUSEL (зритель внутри цилиндра) ═══════════ */
  .arc-scene{
    position:relative; width:100%;
    overflow:hidden;
    user-select:none; touch-action:pan-y;
  }
  .arc-ring{
    position:absolute; inset:0;
    transform-style:preserve-3d;
  }
  .arc-card{
    position:absolute; left:50%; top:50%;
    border-radius:8px; overflow:hidden;
    clip-path:var(--arc-surface);
    backface-visibility:hidden;
    cursor:grab;
    background:#EAEAEC;
  }
  .arc-photo{ position:absolute; inset:0; background:center/cover no-repeat; }
  .arc-photo--placeholder{
    background:linear-gradient(150deg, #F7F7F7 0%, #D4D4D8 100%);
  }
  .arc-cap{
    position:absolute; left:0; right:0; bottom:0;
    padding:40px 16px 16px;
    font-size:16px; font-weight:700; color:#fff; line-height:1.28;
    white-space:normal; word-break:normal; overflow-wrap:break-word; hyphens:none;
    background:linear-gradient(transparent, rgba(0,0,0,0.72));
  }
  .arc-card > img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none;}
  .arc-card canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;}
  .arc-card:has(canvas) > img{opacity:0;}
  .arc-cap strong,.arc-cap small{display:block;}
  .arc-cap strong{font-size:clamp(21px,1.7vw,32px);line-height:1.14;}
  .arc-cap small{margin-top:4px;font-size:clamp(16px,1.1vw,20px);}
  .arc-card .arc-cap{padding:44px clamp(24px, 2.5vw, 44px) clamp(20px, 1.7vw, 30px);}
  .arc-card.arc-text-card{background:#edf2fa;color:#16191b;}
  .arc-text-card.pj-category-museum{background:#126839;color:white;}
  .arc-text-card.pj-category-sport{background:#ffd21f;}
  .arc-text-card.pj-category-symbols{background:#064edb;color:white;}
  .arc-text-card .arc-cap{background:none;color:inherit;}
  .arc-btn{
    position:absolute; top:50%; transform:translateY(-50%);
    width:48px; height:48px; border-radius:50%;
    background:#fff; border:none; cursor:pointer;
    font-size:20px; display:flex; align-items:center; justify-content:center;
    z-index:20; box-shadow:0 4px 16px rgba(0,0,0,0.14);
    color:var(--ink); transition:background 0.2s, color 0.2s;
  }
  .arc-btn:hover{ background:var(--orange); color:#fff; }
  .arc-prev{ left:clamp(16px,3vw,64px); }
  .arc-next{ right:clamp(16px,3vw,64px); }

  /* ── Stat cards: единая карточка, гладкий градиент, стеклянный блик ─ */
  .stats2{
    display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
  }
  .stat-card2{
    position:relative;
    border-radius:24px; overflow:hidden;
    padding:clamp(28px,2.6vw,38px);
    display:flex; flex-direction:column; justify-content:flex-start;
    background:#fff;
    box-shadow:0 1px 0 rgba(0,0,0,0.04);
    border:1px solid rgba(0,0,0,0.06);
    transition:transform 0.28s cubic-bezier(0.22,0.61,0.36,1);
  }
  
  .stat-card2:hover{ transform:translateY(-4px); }
  .stat-card2-num{
    position:relative; z-index:1;
    font-weight:700; line-height:0.9; letter-spacing:-0.03em;
    font-size:clamp(48px,5.2vw,80px); color:var(--orange);
    display:flex; align-items:flex-start; gap:0.08em;
    margin-bottom:clamp(16px,1.4vw,22px);
  }
  .stat-card2-num sup{
    font-size:var(--fs-2); font-weight:700;
    margin-top:0.35em; margin-left:0;
    letter-spacing:0; line-height:1; vertical-align:baseline;
    white-space:nowrap;
  }
  .num-plus{ margin-left:0; }
  .stat-card2 h4{
    position:relative; z-index:1;
    font-size:var(--fs-2); font-weight:700; color:var(--ink); margin:0; line-height:1.35;
  }
  .stat-card2 p{
    position:relative; z-index:1;
    font-size:16px; color:var(--gray); line-height:1.5; max-width:26ch;
  }
  @media(max-width:900px){ .stats2{ grid-template-columns:repeat(2,1fr); } }
  @media(max-width:520px){ .stats2{ grid-template-columns:1fr; gap:12px; } .stat-card2-top{ height:280px; } }

  /* ── Process unit: lead card + 2x2 grid (референс) ─────────────── */
  .proc-unit{
    display:grid; grid-template-columns:0.86fr 1.14fr;
    gap:14px;
  }
  .proc-lead{
    background:var(--light-gray); border-radius:24px;
    padding:clamp(28px,3vw,44px);
    display:flex; flex-direction:column; justify-content:space-between;
    min-height:340px;
  }
  .proc-lead h3{
    font-size:var(--fs-3); line-height:1.15; max-width:12ch;
  }
  .proc-arr{
    width:52px; height:52px; border-radius:50%;
    background:#fff; color:var(--ink);
    display:flex; align-items:center; justify-content:center;
    font-size:20px; align-self:flex-start;
    transition:transform 0.25s, background 0.25s, color 0.25s;
  }
  .proc-lead:hover .proc-arr{ background:var(--orange); color:#fff; transform:translateX(4px); }

  .proc-grid{
    display:grid; grid-template-columns:1fr 1fr; grid-template-rows:1fr 1fr;
    gap:14px;
  }
  .proc-cell{
    background:var(--orange); border-radius:24px;
    padding:clamp(22px,2.2vw,30px);
    display:flex; flex-direction:column; justify-content:space-between;
    min-height:163px;
    transition:transform 0.25s cubic-bezier(0.22,0.61,0.36,1);
  }
  .proc-cell:hover{ transform:translateY(-3px); }
  .proc-cell p{
    color:#fff; font-size:var(--fs-2); line-height:1.4;
    max-width:22ch;
  }
  .proc-icon{
    width:36px; height:36px; border-radius:50%;
    background:rgba(255,255,255,0.22); color:#fff;
    display:flex; align-items:center; justify-content:center;
    margin-top:14px; flex-shrink:0;
  }

  @media(max-width:900px){
    .proc-unit{ grid-template-columns:1fr; }
    .proc-lead{ min-height:auto; flex-direction:row; align-items:center; justify-content:space-between; }
    .proc-lead h3{ max-width:none; }
  }
  @media(max-width:560px){
    .proc-grid{ grid-template-columns:1fr; }
  }

  /* доп. воздух вокруг плотных плашечных блоков, чтобы не слипались */
  #stats2, #process, #tech{ padding-top:120px; padding-bottom:120px; }

  .stats2-lead{
    max-width:46ch; margin-bottom:clamp(32px,4vw,56px);
  }
  .stats2-lead p{
    font-size:var(--fs-4); font-weight:700;
    line-height:1.25; letter-spacing:-0.01em; color:var(--ink);
  }

  /* ── Manifest: самостоятельный текстовый блок-разделитель ─────── */
  #manifest{ padding:220px 0; }
  .manifest-text{
    max-width:36ch;
    font-size:clamp(30px,3.4vw,50px); font-weight:700;
    line-height:1.32; letter-spacing:-0.01em; color:var(--ink);
  }
  @media(max-width:640px){
    #manifest{ padding:100px 0; }
  }

  .hero-eyebrow{
    font-size:13px; letter-spacing:0.06em; text-transform:uppercase;
    color:rgba(255,255,255,0.6); margin-bottom:20px;
  }

  /* ── "С кем работаем": бегущие ленты плашек ─────────────────────── */
  .wp-marquee{
    display:flex; flex-direction:column; gap:16px;
    overflow:hidden;
    padding:8px 0;
  }
  .wp-row{ overflow:hidden; }
  .wp-track{
    display:flex; gap:20px; width:max-content;
  }
  .wp-left .wp-track{ animation:wpScrollLeft 42s linear infinite; }
  .wp-right .wp-track{ animation:wpScrollRight 42s linear infinite; }
  .wp-marquee:hover .wp-track{ animation-play-state:paused; }
  @keyframes wpScrollLeft{
    from{ transform:translateX(0); }
    to{ transform:translateX(-33.3333%); }
  }
  @keyframes wpScrollRight{
    from{ transform:translateX(-33.3333%); }
    to{ transform:translateX(0); }
  }
  @media (prefers-reduced-motion: reduce){
    .wp-track{ animation:none !important; }
  }

  .wp-pill{
    display:inline-flex; align-items:center; gap:18px;
    background:var(--light-gray);
    border-radius:999px;
    padding:18px 36px 18px 18px;
    flex-shrink:0;
    transition:background 0.25s, transform 0.25s;
  }
  .wp-pill:hover{ background:#E8F0FF; transform:translateY(-2px); }
  .wp-pill:hover .wp-ico{ background:var(--orange); color:#fff; }
  .wp-pill:hover .wp-label{ color:var(--orange-dark); }
  .wp-ico{
    width:58px; height:58px; border-radius:50%;
    background:#fff; color:var(--ink);
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
    transition:background 0.25s, color 0.25s;
  }
  .wp-ico svg{ width:26px; height:26px; }
  .wp-label{
    font-size:20px; font-weight:700; color:var(--ink);
    white-space:nowrap;
    transition:color 0.25s;
  }

  /* ── Отзывы: компактный слайдер ─────────────────────────────────── */
  .t-slider{ position:relative; }
  .t-track{
    display:flex; gap:24px;
    overflow-x:auto; scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    -ms-overflow-style:none; scrollbar-width:none;
    padding-bottom:4px;
  }
  .t-track::-webkit-scrollbar{ display:none; }
  .t-track .testimonial{
    flex:0 0 100%; scroll-snap-align:start;
    max-width:100%;
  }
  @media (min-width:900px){
    .t-track .testimonial{ flex:0 0 calc(60% - 12px); }
  }
  .t-prev, .t-next{
    position:absolute; top:50%; transform:translateY(-50%);
    z-index:5;
  }
  .t-prev{ left:-24px; }
  .t-next{ right:-24px; }
  @media (max-width:700px){
    .t-prev, .t-next{ display:none; }
  }
  
  /* ── Галерея «Как это выглядит»: только фото ─────────────── */
  .pg-grid{ display:grid; grid-template-columns:repeat(12,1fr); grid-auto-rows:clamp(190px,16vw,260px); gap:16px; }
  .pg-item{ position:relative; margin:0; border-radius:24px; overflow:hidden; background:#EAEAEC; }
  .pg-big{ grid-column:span 7; grid-row:span 2; }
  .pg-mid{ grid-column:span 5; }
  .pg-sm{ grid-column:span 4; }
  .pg-img{ position:absolute; inset:0; background:center/cover no-repeat; transition:transform 0.6s cubic-bezier(0.22,0.61,0.36,1); }
  .pg-item:hover .pg-img{ transform:scale(1.04); }
  .pg-item figcaption{
    position:absolute; left:14px; bottom:14px; right:14px; z-index:1;
    display:inline-flex; flex-wrap:wrap; align-items:baseline; gap:2px 8px; width:fit-content; max-width:calc(100% - 28px);
    background:rgba(255,255,255,0.94); color:var(--ink);
    padding:9px 14px; border-radius:12px;
  }
  .pg-t{ font-weight:700; font-size:16px; line-height:1.3; }
  .pg-p{ font-size:13px; color:var(--gray); line-height:1.3; }
  @media(max-width:900px){
    .pg-grid{ grid-template-columns:repeat(2,1fr); grid-auto-rows:200px; gap:12px; }
    .pg-mid,.pg-sm{ grid-column:span 1; }
    .pg-big,.pg-item:last-child{ grid-column:span 2; grid-row:span 1; }
  }
  @media(max-width:520px){
    .pg-grid{ grid-auto-rows:170px; gap:10px; }
    .pg-item{ border-radius:24px; }
    .pg-big{ grid-row:span 1; height:auto; }
    .pg-item figcaption{ left:10px; bottom:10px; right:10px; padding:7px 10px; border-radius:12px; max-width:calc(100% - 20px); }
    .pg-t{ font-size:13px; } .pg-p{ display:none; }
  }

  /* ── Отзывы: компактные карточки, 3 в ряд ───────────────── */
  #testimonials .testimonial{
    padding:28px 28px 24px; border-radius:24px; background:var(--light-gray);
    min-height:260px;
  }
  #testimonials .testimonial p{ margin:0 0 12px; font-size:16px; line-height:1.5; -webkit-line-clamp:5; }
  #testimonials .t-expand{ margin:0 0 20px; }
  #testimonials .t-author{ margin:auto 0 0; padding-top:18px; min-height:88px; box-sizing:border-box; border-top:1px solid rgba(0,0,0,0.08); align-items:flex-start; }
  #testimonials .t-avatar{ width:40px; height:40px; font-size:13px; }
  #testimonials .who{ font-size:16px; line-height:1.3; }
  #testimonials .who span{ font-size:13px; line-height:1.4; }
  #testimonials .t-track{ gap:16px; align-items:stretch; }
  #testimonials .t-track .testimonial{ flex:0 0 86%; }
  @media (min-width:700px){ #testimonials .t-track .testimonial{ flex:0 0 calc(50% - 8px); } }
  @media (min-width:1100px){ #testimonials .t-track .testimonial{ flex:0 0 calc((100% - 32px) / 3); } }
  @media (max-width:520px){ #testimonials .testimonial{ padding:22px 20px 20px; min-height:0; } }

  /* ── Отзывы: аккуратность ───────────────────────────────── */
  #testimonials .t-track{ overflow-y:hidden; overscroll-behavior-x:contain; }
  #testimonials .section-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:20px; }
  .t-nav{ display:flex; gap:10px; flex-shrink:0; }
  .t-btn{
    width:52px; height:52px; border-radius:50%; border:1px solid rgba(0,0,0,0.14);
    background:#fff; color:var(--ink); cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    transition:background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
  }
  .t-btn svg{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
  .t-btn:hover{ background:var(--orange); border-color:var(--orange); color:#fff; }
  .t-btn:disabled{ opacity:0.35; cursor:default; background:#fff; border-color:rgba(0,0,0,0.14); color:var(--ink); }
  /* обрезка текста без «…»: плавное затухание последней строки */
  #testimonials .testimonial p{
    display:block; -webkit-line-clamp:unset;
    max-height:calc(1.55em * 5); overflow:hidden;
    -webkit-mask-image:linear-gradient(to bottom, #000 calc(100% - 1.55em), transparent);
            mask-image:linear-gradient(to bottom, #000 calc(100% - 1.55em), transparent);
  }
  #testimonials .testimonial.is-clamped-off p,
  #testimonials .testimonial.is-expanded p{ max-height:none; -webkit-mask-image:none; mask-image:none; }
  #testimonials .testimonial{ min-height:0; }
  @media (max-width:700px){ .t-nav{ display:none; } }

  /* ── О компании: тёмная панель ──────────────────────────── */
  .ab-panel{
    background:var(--paper-white); color:var(--ink); border-radius:24px;
    padding:clamp(36px,5vw,80px) clamp(28px,5vw,80px) clamp(32px,4vw,64px);
  }
  .ab-top{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(20px,3vw,48px); align-items:end; }
  .ab-head{ grid-column:span 2; }
  .ab-lead{ grid-column:3; }
  .ab-label{ display:block; font-family:'Kontrabanda',cursive; font-size:var(--fs-4); color:var(--orange); margin-bottom:14px; line-height:1; }
  .ab-head h2{ font-size:var(--fs-5); line-height:1.05; color:var(--ink); margin:0; max-width:17ch; }
  .ab-lead p{ font-size:var(--fs-1); line-height:1.5; color:#5B6472; margin:0 0 14px; max-width:48ch; }
  .ab-lead p:first-child{ color:var(--ink); }
  .ab-lead p:last-child{ margin-bottom:0; }
  .ab-points{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(20px,3vw,48px); margin-top:clamp(40px,5vw,80px); }
  .ab-point{ border-top:1px solid rgba(0,0,0,0.12); padding-top:22px; }
  .ab-n{ display:block; font-weight:700; font-size:var(--fs-4); line-height:1; color:var(--orange); letter-spacing:-0.02em; margin-bottom:16px; }
  .ab-point p{ font-size:var(--fs-1); line-height:1.5; color:var(--ink); margin:0; max-width:30ch; }
  @media(max-width:900px){
    .ab-top{ grid-template-columns:1fr; gap:24px; align-items:start; }
    .ab-head,.ab-lead{ grid-column:auto; }
    .ab-points{ grid-template-columns:1fr; gap:0; margin-top:36px; }
    .ab-point{ display:flex; gap:18px; align-items:baseline; padding:18px 0; }
    .ab-n{ margin:0; font-size:24px; min-width:36px; }
  }
  @media(max-width:520px){ .ab-panel{ border-radius:24px; } }

  /* ══ Система «навигационная табличка» v2 ════════════════════
     Крепления рисуются слоем поверх карточки (::before),
     поэтому фото их не перекрывает. Цвет точки — по фону.   */
  :root{
    --scr-g:radial-gradient(circle, #B4C2D8 0 1.9px, transparent 2.5px);
    --scr-w:radial-gradient(circle, rgba(255,255,255,0.85) 0 1.9px, transparent 2.5px);
    --plate-drop:0 16px 30px -20px rgba(0,0,0,0.45);
  }
  .stat-card2, .testimonial, #tech .pb-card, .proc-cell, .proc-lead, .ab-panel, #contact .contact, .faq-aside{
    --s:var(--scr-g); --p:12px; --edge:#D4D4D8;
    position:relative;
    box-shadow:0 3px 0 var(--edge), var(--plate-drop) !important;
  }
  .stat-card2::before, .testimonial::before, #tech .pb-card::before, .proc-cell::before, .proc-lead::before, .ab-panel::before, #contact .contact::before, .faq-aside::before{
    content:""; position:absolute; inset:0; z-index:4; pointer-events:none; border-radius:inherit;
    background:
      var(--s) left var(--p) top var(--p)/6px 6px no-repeat,
      var(--s) right var(--p) top var(--p)/6px 6px no-repeat,
      var(--s) left var(--p) bottom var(--p)/6px 6px no-repeat,
      var(--s) right var(--p) bottom var(--p)/6px 6px no-repeat;
  }
  .ab-panel, #contact .contact{ --p:18px; }
  #tech .pb-card{ --s:var(--scr-w); }                 /* снизу фото — светлые точки видны и на сером, и на фото */
  #tech .pb-card::before{ background:
      var(--scr-g) left var(--p) top var(--p)/6px 6px no-repeat,
      var(--scr-g) right var(--p) top var(--p)/6px 6px no-repeat,
      var(--scr-w) left var(--p) bottom var(--p)/6px 6px no-repeat,
      var(--scr-w) right var(--p) bottom var(--p)/6px 6px no-repeat; }
  .proc-cell, .faq-aside{ --s:var(--scr-w); --edge:#0040C2; }
  #stats2 .stat-card2{ --edge:#E4E4E7; border-radius:24px; border:1px solid #E4E4E7; background:#fff; }

  /* табличка над заголовком */
  .section-head.sh-plate{ flex-direction:column; align-items:flex-start; gap:22px; }
  .plate{ display:inline-flex; align-items:stretch; border-radius:12px; box-shadow:var(--plate-drop); }
  .plate-n{ display:flex; align-items:center; justify-content:center; min-width:72px; padding:11px 16px; color:#fff; font-weight:800; font-size:24px; line-height:1; letter-spacing:-0.02em;
    border-radius:12px 0 0 12px; box-shadow:0 3px 0 #0040C2;
    background:var(--scr-w) left 5px top 5px/6px 6px no-repeat, var(--scr-w) left 5px bottom 5px/6px 6px no-repeat, var(--orange); }
  .plate-l{ display:flex; align-items:center; padding:11px 30px 11px 18px; font-weight:700; font-size:13px; letter-spacing:0.08em; text-transform:uppercase; color:var(--ink);
    border-radius:0 12px 12px 0;
    box-shadow:0 3px 0 #E4E4E7, inset 0 1px 0 #E4E4E7, inset -1px 0 0 #E4E4E7, inset 0 -1px 0 #E4E4E7;
    background:var(--scr-g) right 5px top 5px/6px 6px no-repeat, var(--scr-g) right 5px bottom 5px/6px 6px no-repeat, #fff; }
  .plate-solo{ margin-bottom:28px; }
  .plate-inpanel{ margin-bottom:22px; }

  /* FAQ: вопрос = дверная табличка */
  .faq-list{ gap:14px !important; }
  .faq-item{ background:#fff !important; border:0 !important; border-radius:12px !important; overflow:visible; padding:0 !important;
    box-shadow:0 3px 0 #E4E4E7, var(--plate-drop), inset 0 0 0 1px #E4E4E7 !important;
    background-image:var(--scr-g),var(--scr-g) !important; background-size:6px 6px !important; background-repeat:no-repeat !important;
    background-position:right 7px top 7px, right 7px bottom 7px !important; }
  .faq-item[open]{ background-image:var(--scr-g),var(--scr-g),var(--scr-g) !important; background-position:right 7px top 7px, right 7px bottom 7px, left 7px bottom 7px !important; }
  .faq-item summary{ display:flex !important; align-items:stretch; gap:0; padding:0 !important; }
  .faq-item .q-n{ flex:0 0 64px; display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-size:20px; letter-spacing:-0.02em;
    border-radius:12px 0 0 12px; box-shadow:0 3px 0 #0040C2;
    background:var(--scr-w) left 5px top 5px/6px 6px no-repeat, var(--scr-w) left 5px bottom 5px/6px 6px no-repeat, var(--orange); }
  .faq-item[open] .q-n{ border-radius:12px 0 0 0; box-shadow:none; }
  .faq-item .q-t{ flex:1; padding:20px 8px 20px 22px; }
  .faq-item summary::after{ align-self:center; margin:0 28px 0 8px; }
  .faq-item p{ padding:0 56px 22px 86px !important; margin:0 !important; }

  /* «Не нашли вопрос?» — оранжевая табличка */
  .faq-aside{ background:var(--orange) !important; border-radius:24px !important; }
  .faq-aside h3, .faq-aside p{ color:#fff !important; }
  .faq-aside .btn-primary{ background:#fff !important; color:var(--ink) !important; border-color:#fff !important; }
  .faq-aside .btn-primary .btn-arrow{ background:var(--orange) !important; color:#fff; }
  .faq-aside .btn-primary .btn-arrow svg *{ stroke:#fff; }

  .proc-grid{ gap:14px !important; }
  #testimonials .t-track{ padding-bottom:10px; }
  #testimonials .section-head.sh-plate{ display:grid; grid-template-columns:1fr auto; align-items:end; row-gap:22px; column-gap:20px; }
  #testimonials .section-head.sh-plate .plate{ grid-column:1; grid-row:1; justify-self:start; }
  #testimonials .section-head.sh-plate h2{ grid-column:1; grid-row:2; }
  #testimonials .section-head.sh-plate .t-nav{ grid-column:2; grid-row:2; }

  /* подписи галереи — маленькие таблички, крепления с двух сторон */
  .pg-item figcaption{ border-radius:12px !important; box-shadow:0 2px 0 rgba(0,0,0,0.14), 0 8px 18px -10px rgba(0,0,0,0.5); padding:9px 24px !important;
    background:var(--scr-g) left 6px top 6px/6px 6px no-repeat, var(--scr-g) left 6px bottom 6px/6px 6px no-repeat,
               var(--scr-g) right 6px top 6px/6px 6px no-repeat, var(--scr-g) right 6px bottom 6px/6px 6px no-repeat, rgba(255,255,255,0.97) !important; }

  @media(max-width:520px){
    .plate-n{ min-width:58px; font-size:20px; } .plate-l{ font-size:13px; padding-right:26px; }
    .faq-item .q-n{ flex-basis:48px; font-size:16px; } .faq-item .q-t{ padding:16px 6px 16px 16px; } .faq-item summary::after{ margin-right:18px; } .faq-item p{ padding:0 20px 18px 64px !important; }
    .pg-item figcaption{ padding:7px 20px !important; }
  }

  /* ══ Кнопки как таблички: плоская лицевая сторона + торец снизу ══ */
  .btn-primary{ box-shadow:0 3px 0 #0040C2, 0 14px 24px -16px rgba(0,30,90,0.55) !important; transition:transform 0.15s ease, box-shadow 0.15s ease, background 0.2s, color 0.2s !important; }
  .btn-primary:active{ transform:translateY(3px); box-shadow:0 0 0 #0040C2, 0 8px 16px -12px rgba(0,30,90,0.5) !important; }
  .btn .btn-arrow{
    background:#fff !important;
    box-shadow:0 3px 0 #E4E4E7, 0 6px 10px -6px rgba(0,0,0,0.35) !important;
    transition:transform 0.15s ease, box-shadow 0.15s ease;
  }
  .btn-primary .btn-arrow svg path, .btn-primary .btn-arrow svg *{ stroke:var(--orange) !important; }
  .btn:hover .btn-arrow{ transform:translateX(2px); }
  .btn:active .btn-arrow{ transform:translateY(2px); box-shadow:0 1px 0 #E4E4E7, 0 3px 6px -4px rgba(0,0,0,0.3) !important; }
  /* белая кнопка «Задать вопрос»: белая табличка + оранжевый кружок */
  .faq-aside .btn-primary{ box-shadow:0 3px 0 #0040C2, 0 14px 24px -16px rgba(0,30,90,0.55) !important; }
  .faq-aside .btn-primary .btn-arrow{ background:var(--orange) !important; box-shadow:0 3px 0 #0040C2, 0 6px 10px -6px rgba(0,30,90,0.45) !important; }
  .faq-aside .btn-primary .btn-arrow svg *{ stroke:#fff !important; }
  /* тёмная кнопка на первом экране: белый кружок с серым торцом */
  .btn-ghost .btn-arrow{ background:#fff !important; box-shadow:0 3px 0 #C4D0E2, 0 6px 10px -6px rgba(0,0,0,0.45) !important; }
  .btn-ghost .btn-arrow svg path{ stroke:var(--ink) !important; }
  #contact form .consent + .btn, #contact form .btn-primary{ margin-top:36px !important; }
  @media(max-width:520px){ #contact form .btn-primary{ margin-top:28px !important; } }

  /* ══ Манифест-куб: грани = таблички, поворот при прокрутке ══ */
  .cube-sec{ --W:min(920px, 88vw); --H:min(420px, 54vh); height:440vh; padding:0 !important; position:relative; }
  .cube-sticky{ position:sticky; top:0; height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:calc(var(--H) * 0.26); overflow:hidden; }
  .cube-sticky > .plate, .cube-dots{ position:relative; z-index:2; }
  .cube-stage{ width:var(--W); height:var(--H); perspective:1700px; }
  .cube{ --rx:0deg; position:relative; width:100%; height:100%; transform-style:preserve-3d;
    transform:translateZ(calc(var(--H) / -2)) rotateX(var(--rx)); will-change:transform; }
  .cf{ position:absolute; inset:0; backface-visibility:hidden; -webkit-backface-visibility:hidden;
    display:flex; flex-direction:column; justify-content:center; gap:clamp(14px,2vh,24px);
    padding:clamp(28px,4vw,64px); border-radius:6px; overflow:hidden;
    --s:var(--scr-g); color:var(--ink); background-color:#fff; }
  .cf::before{ content:""; position:absolute; inset:0; pointer-events:none;
    background:var(--s) left 16px top 16px/7px 7px no-repeat, var(--s) right 16px top 16px/7px 7px no-repeat,
               var(--s) left 16px bottom 16px/7px 7px no-repeat, var(--s) right 16px bottom 16px/7px 7px no-repeat; }
  .cf::after{ content:""; position:absolute; inset:0; background:#16191B; opacity:var(--shade,0); pointer-events:none; }
  .cf1{ transform:rotateX(0deg)    translateZ(calc(var(--H) / 2)); box-shadow:inset 0 0 0 1px #E4E4E7; }
  .cf2{ transform:rotateX(-90deg)  translateZ(calc(var(--H) / 2)); background-color:var(--orange); color:#fff; --s:var(--scr-w); }
  .cf3{ transform:rotateX(-180deg) translateZ(calc(var(--H) / 2)); background-color:#F7F7F7; box-shadow:inset 0 0 0 1px #E4E4E7; }
  .cf4{ transform:rotateX(-270deg) translateZ(calc(var(--H) / 2)); background-color:var(--orange); color:#fff; --s:var(--scr-w); }
  .cf-n{ font-weight:800; font-size:var(--fs-3); letter-spacing:-0.01em; color:var(--orange); }
  .cf-n i{ font-style:normal; opacity:0.45; margin-left:2px; }
  .cf2 .cf-n, .cf4 .cf-n{ color:#fff; }
  .cf-t{ margin:0; font-weight:700; font-size:clamp(24px,3.1vw,46px); line-height:1.2; letter-spacing:-0.015em; max-width:26ch; text-wrap:balance; }
  .cf2 .hl, .cf4 .hl{ color:#fff !important; border-color:#fff !important; }
  .cube-dots{ display:flex; gap:10px; }
  .cube-dots .cd{ font-weight:800; font-size:13px; padding:7px 11px; border-radius:12px; color:#5B6472; background:#fff;
    box-shadow:0 2px 0 #E4E4E7, inset 0 0 0 1px #E4E4E7; transition:background .25s, color .25s, box-shadow .25s; }
  .cube-dots .cd.is-on{ background:var(--orange); color:#fff; box-shadow:0 2px 0 #0040C2; }
  @media(max-width:700px){
    .cube-sec{ --W:88vw; --H:min(360px, 88vw, 52vh); height:400vh; }
    .cf{ padding:28px 26px; } .cf-t{ font-size:var(--fs-3); }
  }
  @media (prefers-reduced-motion: reduce){
    .cube-sec{ height:auto; padding:80px 0 !important; }
    .cube-sticky{ position:static; height:auto; }
    .cube-stage{ height:auto; perspective:none; }
    .cube{ transform:none; display:grid; gap:16px; height:auto; }
    .cf{ position:relative; transform:none !important; min-height:var(--H); }
    .cube-dots{ display:none; }
  }
  .panel{ overflow:clip; }   /* обрезает края так же, но не ломает «прилипание» куба */

  /* ── Куб слева, «обозначение этажа» справа ── */
  .cube-sec{ --W:min(820px, 60vw); }
  .cube-sticky{ gap:0 !important; }
  .cube-layout{ display:grid; grid-template-columns:var(--W) auto; column-gap:clamp(28px,4vw,64px);
    row-gap:calc(var(--H) * 0.26); align-items:center; padding-bottom:calc(var(--H) * 0.2); }
  .cube-plate{ grid-column:1; grid-row:1; justify-self:start; position:relative; z-index:2; }
  .cube-stage{ grid-column:1; grid-row:2; }
  .floor-sign{ grid-column:2; grid-row:2; height:var(--H); display:flex; align-items:stretch; gap:6px;
    padding:clamp(18px,2vw,28px) clamp(16px,1.6vw,26px) clamp(18px,2vw,28px) clamp(22px,2.2vw,34px);
    border-radius:24px; color:#fff; position:relative;
    background:var(--scr-w) left 14px top 14px/7px 7px no-repeat, var(--scr-w) right 14px top 14px/7px 7px no-repeat,
               var(--scr-w) left 14px bottom 14px/7px 7px no-repeat, var(--scr-w) right 14px bottom 14px/7px 7px no-repeat, var(--orange);
    box-shadow:0 4px 0 #0040C2, 0 24px 40px -26px rgba(0,30,90,0.6); }
  .fs-roll{ --dh:calc(var(--H) - clamp(36px,4vw,56px)); height:var(--dh); overflow:hidden; }
  .fs-track{ --k:0; transform:translateY(calc(var(--k) * -1 * var(--dh))); will-change:transform; }
  .fs-track span{ display:flex; align-items:center; justify-content:center; height:var(--dh);
    font-weight:800; font-size:calc(var(--dh) * 0.92); line-height:1; letter-spacing:-0.06em; min-width:0.62em; }
  .fs-label{ writing-mode:vertical-rl; transform:rotate(180deg); align-self:center;
    font-weight:800; font-size:var(--fs-3); letter-spacing:0.06em; text-transform:uppercase; white-space:nowrap; }
  .fs-label b{ font-weight:800; opacity:0.6; }
  @media(max-width:900px){
    .cube-sec{ --W:88vw; }
    .cube-layout{ grid-template-columns:1fr; row-gap:calc(var(--H) * 0.2); padding-bottom:0; }
    .floor-sign{ grid-column:1; grid-row:3; justify-self:start; height:auto; padding:10px 18px 10px 20px; gap:12px; align-items:center; border-radius:12px; }
    .fs-roll{ --dh:64px; }
    .fs-label{ writing-mode:horizontal-tb; transform:none; font-size:16px; }
  }
  @media (prefers-reduced-motion: reduce){ .floor-sign{ display:none; } .cube-layout{ display:block; } }

  /* куб крупнее на больших экранах */
  .cube-sec{ --W:min(1360px, 62vw); --H:min(620px, 56vh); }
  .cf-t{ font-size:clamp(24px, calc(var(--H) * 0.108), 74px) !important; max-width:22ch; }
  .fs-label{ font-size:clamp(18px, calc(var(--H) * 0.06), 36px) !important; }
  @media(max-width:900px){ .cube-sec{ --W:88vw; --H:min(360px, 88vw, 52vh); } .cf-t{ font-size:var(--fs-3) !important; } .fs-label{ font-size:16px !important; } }

  /* ── v3: стыки граней, цифра-вырез поверх таблички ── */
  .cf{ border-radius:0 !important; box-shadow:none !important; outline:1px solid transparent;
       transform-origin:50% 50%; }
  .cf1{ transform:rotateX(0deg)    translateZ(calc(var(--H) / 2 - 1px)) scale(1.002); }
  .cf2{ transform:rotateX(-90deg)  translateZ(calc(var(--H) / 2 - 1px)) scale(1.002); }
  .cf3{ transform:rotateX(-180deg) translateZ(calc(var(--H) / 2 - 1px)) scale(1.002); }
  .cf4{ transform:rotateX(-270deg) translateZ(calc(var(--H) / 2 - 1px)) scale(1.002); }
  .cf1{ background-color:#FFFFFF; box-shadow:inset 0 0 0 1px #E4E4E7 !important; } .cf3{ background-color:#F7F7F7; box-shadow:inset 0 0 0 1px #D4D4D8 !important; }
  .cube-stage{ position:relative; }
  .cube-stage::after{ content:''; position:absolute; left:6%; right:6%; bottom:calc(var(--H) * -0.16); height:calc(var(--H) * 0.12);
    background:radial-gradient(closest-side, rgba(0,0,0,0.16), transparent); pointer-events:none; }

  .floor-sign{ position:relative; height:var(--H); width:calc(var(--H) * 0.64);
    padding:0 !important; background:none !important; box-shadow:none !important; display:block !important; }
  .fs-plate{ position:absolute; left:0; right:0; bottom:0; height:62%; border-radius:24px;
    background:var(--scr-g) left 14px top 14px/7px 7px no-repeat, var(--scr-g) right 14px top 14px/7px 7px no-repeat,
               var(--scr-g) left 14px bottom 14px/7px 7px no-repeat, var(--scr-g) right 14px bottom 14px/7px 7px no-repeat, #fff;
    box-shadow:0 4px 0 #E4E4E7, inset 0 0 0 1px #E4E4E7, 0 24px 40px -26px rgba(0,0,0,0.45); }
  .fs-digits{ position:absolute; left:6%; right:26%; bottom:11%; height:100%; pointer-events:none; }
  .fs-digits span{ position:absolute; left:0; right:0; bottom:0; text-align:center;
    font-weight:800; font-size:calc(var(--H) * 0.9); line-height:0.8; letter-spacing:-0.06em; color:var(--orange);
    filter:drop-shadow(0 5px 0 #003AB0) drop-shadow(0 18px 18px rgba(0,30,90,0.28));
    will-change:transform, opacity; }
  .fs-label{ position:absolute; right:clamp(14px,1.6vw,22px); bottom:clamp(18px,2vw,28px); top:auto;
    writing-mode:vertical-rl; transform:rotate(180deg); color:var(--ink); }
  .fs-label b{ opacity:0.45; }
  @media(max-width:900px){
    .floor-sign{ grid-column:1; grid-row:3; justify-self:start; height:118px; width:210px; }
    .fs-plate{ height:78%; border-radius:12px; }
    .fs-digits{ left:4%; right:auto; width:48%; bottom:12%; }
    .fs-digits span{ font-size:120px; }
    .fs-label{ writing-mode:horizontal-tb; transform:none; right:18px; bottom:32px; }
  }

  /* крепления: отступ от угла пропорционален размеру таблички */
  .stat-card2, .testimonial, #tech .pb-card, .proc-cell, .proc-lead, .faq-aside{ --p:clamp(18px, 1.5vw, 24px); }
  .ab-panel, #contact .contact{ --p:clamp(24px, 2.1vw, 34px); }
  .faq-item{ background-position:right 12px top 12px, right 12px bottom 12px !important; }
  .faq-item[open]{ background-position:right 12px top 12px, right 12px bottom 12px, left 12px bottom 12px !important; }
  .cf::before{ background:
      var(--s) left 26px top 26px/7px 7px no-repeat, var(--s) right 26px top 26px/7px 7px no-repeat,
      var(--s) left 26px bottom 26px/7px 7px no-repeat, var(--s) right 26px bottom 26px/7px 7px no-repeat; }
  .proc-cell{ padding:clamp(38px, 3vw, 46px) clamp(36px, 2.8vw, 44px) !important; }
  #testimonials .testimonial{ padding:clamp(40px, 3vw, 46px) clamp(36px, 2.8vw, 44px) clamp(34px, 2.6vw, 40px) !important; }
  @media(max-width:520px){ #testimonials .testimonial{ padding:36px 30px 30px !important; } .proc-cell{ padding:36px 30px !important; } }

  /* ══ «Как мы работаем»: оранжевая панель + таблички лесенкой ══ */
  .st-panel{ position:relative; background:var(--orange); border-radius:24px;
    padding:clamp(36px,4vw,64px) clamp(28px,4vw,64px) clamp(44px,5vw,80px);
    box-shadow:0 4px 0 #0040C2, 0 30px 50px -34px rgba(0,30,90,0.6); }
  .st-panel::before{ content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
    --p:clamp(22px,2vw,32px);
    background:var(--scr-w) left var(--p) top var(--p)/7px 7px no-repeat, var(--scr-w) right var(--p) top var(--p)/7px 7px no-repeat,
               var(--scr-w) left var(--p) bottom var(--p)/7px 7px no-repeat, var(--scr-w) right var(--p) bottom var(--p)/7px 7px no-repeat; }
  .st-title{ color:#fff; font-size:var(--fs-5); line-height:1.02; margin:0; }
  .st-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(14px,1.6vw,24px); align-items:start; margin-top:clamp(8px,1vw,16px); }
  .st-card{ container-type:inline-size; position:relative; aspect-ratio:1/1; background:#fff; border-radius:24px; overflow:hidden;
    padding:0;
    box-shadow:0 4px 0 #E4E4E7, 0 22px 36px -22px rgba(0,30,90,0.55);
    transition:transform .3s cubic-bezier(.22,.61,.36,1); }
  .st-card::before{ content:""; position:absolute; inset:0; z-index:3; pointer-events:none; --p:16px;
    background:var(--scr-g) left var(--p) top var(--p)/6px 6px no-repeat, var(--scr-g) right var(--p) top var(--p)/6px 6px no-repeat,
               var(--scr-g) left var(--p) bottom var(--p)/6px 6px no-repeat, var(--scr-g) right var(--p) bottom var(--p)/6px 6px no-repeat; }
  /* лесенка, как в референсе */
  .st-c1{ margin-top:clamp(60px,7vw,120px); }
  .st-c2{ margin-top:clamp(110px,11vw,180px); }
  .st-c3{ margin-top:0; }
  .st-c4{ margin-top:clamp(60px,7vw,120px); }
  .st-card:hover{ transform:translateY(-6px); }
  .st-card h3{ position:absolute; z-index:2; margin:0; left:10cqw; top:10cqw; right:8cqw; max-width:13ch;
    font-size:clamp(13px,8.2cqw,36px); line-height:1.2; font-weight:700; color:var(--ink); }
  .st-num{ position:absolute; z-index:1; right:7cqw; bottom:-9cqw;
    font-weight:800; font-size:76cqw; line-height:1; letter-spacing:-0.06em; color:var(--orange);
    filter:drop-shadow(0 6px 0 #003AB0); pointer-events:none; }
  .st-tag{ position:absolute; z-index:2; left:10cqw; bottom:10cqw;
    background:var(--ink); color:#fff; font-size:clamp(11px,4.3cqw,17px); font-weight:700; letter-spacing:0.02em;
    padding:0.5em 1em; border-radius:999px; }
  @media(max-width:900px){
    .st-row{ grid-template-columns:repeat(2,1fr); margin-top:28px; }
    .st-c1,.st-c2,.st-c3,.st-c4{ margin-top:0; }
    .st-c2,.st-c4{ transform:translateY(28px); }
    .st-c2:hover,.st-c4:hover{ transform:translateY(22px); }
    .st-panel{ padding-bottom:64px; }
  }
  @media(max-width:520px){
    .st-row{ grid-template-columns:1fr; gap:14px; }
    .st-c2,.st-c4,.st-c2:hover,.st-c4:hover{ transform:none; }
    .st-card{ aspect-ratio:16/10; }
    .st-card h3{ font-size:6.6cqw; left:7cqw; top:7cqw; max-width:15ch; }
    .st-tag{ font-size:3.6cqw; left:7cqw; bottom:7cqw; }
    .st-num{ font-size:56cqw; right:6cqw; bottom:-7cqw; }
    .st-panel{ padding-bottom:40px; }
    .st-card{ border-radius:24px; }
    .st-card::before{ --p:11px; }
    .st-panel{ border-radius:24px; }
  }

  /* «Как мы работаем»: панель светлая, оранжевый только в цифрах */
  .st-panel{ background:#F7F7F7 !important; box-shadow:0 4px 0 #D4D4D8, 0 30px 50px -34px rgba(0,0,0,0.35) !important; }
  .st-panel::before{ background:var(--scr-g) left var(--p) top var(--p)/7px 7px no-repeat, var(--scr-g) right var(--p) top var(--p)/7px 7px no-repeat,
               var(--scr-g) left var(--p) bottom var(--p)/7px 7px no-repeat, var(--scr-g) right var(--p) bottom var(--p)/7px 7px no-repeat !important; }
  .st-title{ color:var(--ink) !important; }
  .st-card{ box-shadow:0 4px 0 #E4E4E7, inset 0 0 0 1px #EDEDEF, 0 22px 36px -22px rgba(0,0,0,0.3) !important; }

  /* ══ Палитра v2: синий — главный акцент, оранжевый — точечно ══ */
  :root{ --accent2:#FB4903; --accent2-edge:#D9481A; }
  .hl{ color:var(--accent2) !important; border-color:var(--accent2) !important; }
  .st-num{ color:var(--accent2) !important; filter:drop-shadow(0 6px 0 var(--accent2-edge)) !important; }

  /* ── Больше оранжевого: номера, цифры, этажи — оранжевые; кнопки и выделения — синие ── */
  .hl{ color:var(--orange) !important; border-color:var(--orange) !important; }
  .plate-n{ background:var(--scr-w) left 5px top 5px/6px 6px no-repeat, var(--scr-w) left 5px bottom 5px/6px 6px no-repeat, var(--accent2) !important; box-shadow:0 3px 0 var(--accent2-edge) !important; }
  .stat-card2-num, .stat-card2-num sup{ color:var(--accent2) !important; }
  .faq-item .q-n{ background:var(--scr-w) left 5px top 5px/6px 6px no-repeat, var(--scr-w) left 5px bottom 5px/6px 6px no-repeat, var(--accent2) !important; box-shadow:0 3px 0 var(--accent2-edge) !important; }
  .faq-item[open] .q-n{ box-shadow:none !important; }
  .faq-item summary::after{ color:var(--accent2) !important; }
  .fs-digits span{ color:var(--accent2) !important; filter:drop-shadow(0 5px 0 var(--accent2-edge)) drop-shadow(0 18px 18px rgba(120,40,0,0.25)) !important; }
  .st-tag{ background:var(--orange) !important; }
  .t-avatar{ background:var(--accent2) !important; }

  /* ══ Правки: табличка одним куском, серые номера в FAQ, оранжевые стрелки ══ */
  .plate{ border-radius:12px !important; overflow:hidden !important;
    box-shadow:0 0 0 1px #E4E4E7, 0 3px 0 1px #D4D4D8, 0 16px 30px -20px rgba(0,30,90,0.35) !important; }
  .plate-n{ border-radius:0 !important; box-shadow:none !important; }
  .plate-l{ border-radius:0 !important; box-shadow:none !important; }

  .faq-item .q-n{ color:#16191B !important; box-shadow:none !important; border-radius:12px 0 0 12px !important;
    background:var(--scr-g) left 5px top 5px/6px 6px no-repeat, var(--scr-g) left 5px bottom 5px/6px 6px no-repeat, #F7F7F7 !important;
    border-right:1px solid #E4E4E7; }
  .faq-item[open] .q-n{ border-radius:12px 0 0 0 !important; }
  .faq-item summary::after{ color:#5B6472 !important; }

  .btn .btn-arrow svg path, .btn .btn-arrow svg *{ stroke:#FB4903 !important; }
  .faq-aside .btn-primary .btn-arrow{ background:#F7F7F7 !important; box-shadow:0 3px 0 #D4D4D8, 0 6px 10px -6px rgba(0,30,90,0.3) !important; }
  .faq-aside .btn-primary .btn-arrow svg path, .faq-aside .btn-primary .btn-arrow svg *{ stroke:#FB4903 !important; }
  .faq-item .q-n{ background:var(--scr-g) left 9px top 9px/6px 6px no-repeat, var(--scr-g) left 9px bottom 9px/6px 6px no-repeat, #F7F7F7 !important; }

  /* ══ «Как мы работаем» v3: без подложки, таблички прибиваются по очереди ══ */
  #process .st-row{ margin-top:clamp(12px,2vw,28px); padding-bottom:clamp(20px,3vw,48px); }
  .st-card{ aspect-ratio:5/4 !important; box-shadow:0 4px 0 #E4E4E7, inset 0 0 0 1px #EDEDEF, 0 22px 36px -22px rgba(0,30,90,0.3) !important; }
  .st-card::before{ display:none !important; }
  .st-card h3{ font-size:clamp(15px,8.4cqw,38px) !important; max-width:12ch !important; left:11cqw !important; top:12cqw !important; }
  .st-tag{ left:11cqw !important; bottom:12cqw !important; }
  .st-c1{ --r:-1.6deg; } .st-c2{ --r:1.2deg; } .st-c3{ --r:-0.8deg; } .st-c4{ --r:1.8deg; }
  .st-c1{ margin-top:clamp(40px,5vw,90px) !important; } .st-c2{ margin-top:clamp(90px,9vw,150px) !important; }
  .st-c3{ margin-top:0 !important; } .st-c4{ margin-top:clamp(40px,5vw,90px) !important; }

  /* шуруп: шляпка с прорезью */
  .nail{ position:absolute; z-index:4; width:clamp(9px,3.4cqw,14px); aspect-ratio:1; border-radius:50%;
    background:radial-gradient(circle at 35% 30%, #FFFFFF 0 18%, #C7D2E4 45%, #9FAFC8 100%);
    box-shadow:0 1px 1.5px rgba(0,30,90,0.35); }
  .nail::after{ content:""; position:absolute; left:18%; right:18%; top:calc(50% - 0.75px); height:1.5px; background:#7F90AB; border-radius:1px; transform:rotate(var(--slot,35deg)); }
  .nail.n1{ left:5.5cqw; top:5.5cqw; --slot:30deg; } .nail.n2{ right:5.5cqw; top:5.5cqw; --slot:-20deg; }
  .nail.n3{ left:5.5cqw; bottom:5.5cqw; --slot:70deg; } .nail.n4{ right:5.5cqw; bottom:5.5cqw; --slot:10deg; }

  /* анимация: табличка прилетает и «встаёт» к стене, затем закручиваются шурупы */
  .st-anim .st-card{ opacity:0; transform:translateY(-46px) scale(1.12) rotate(calc(var(--r) * -4)); box-shadow:0 60px 60px -30px rgba(0,30,90,0.25) !important; }
  .st-anim .st-card .nail{ transform:scale(0) rotate(-540deg); opacity:0; }
  .st-anim .st-card.is-nailed{ opacity:1; transform:translateY(0) scale(1) rotate(var(--r));
    box-shadow:0 4px 0 #E4E4E7, inset 0 0 0 1px #EDEDEF, 0 22px 36px -22px rgba(0,30,90,0.3) !important;
    transition:opacity .45s ease, transform .75s cubic-bezier(.34,1.35,.64,1), box-shadow .75s ease; }
  .st-anim .st-card.is-nailed .nail{ transform:scale(1) rotate(0deg); opacity:1;
    transition:transform .6s cubic-bezier(.34,1.5,.64,1), opacity .2s; }
  .st-anim .st-card.is-nailed .n1{ transition-delay:.6s; } .st-anim .st-card.is-nailed .n2{ transition-delay:.75s; }
  .st-anim .st-card.is-nailed .n3{ transition-delay:.9s; } .st-anim .st-card.is-nailed .n4{ transition-delay:1.05s; }
  .st-card.is-nailed:hover{ transform:translateY(-6px) rotate(0deg) !important; transition:transform .3s ease !important; }
  @media(max-width:900px){ .st-c2,.st-c4{ transform:none; } .st-anim .st-card.is-nailed{ transform:rotate(var(--r)); } }
  @media(max-width:520px){ .st-card{ aspect-ratio:16/9 !important; } .st-card h3{ font-size:7cqw !important; } .st-tag{ font-size:3.6cqw !important; } }

  /* ══ Табличка v3: проще, обе части одной высоты, без торца ══ */
  .plate{ border-radius:12px !important; overflow:hidden !important; align-items:stretch !important;
    box-shadow:0 1px 2px rgba(0,30,90,0.10), 0 10px 22px -12px rgba(0,30,90,0.30) !important; }
  .plate-n{ border-radius:0 !important; box-shadow:none !important; margin:0 !important; }
  .plate-l{ border-radius:0 !important; margin:0 !important;
    box-shadow:inset 0 1px 0 #E4E4E7, inset -1px 0 0 #E4E4E7, inset 0 -1px 0 #E4E4E7 !important; }
  .plate-l{ box-shadow:none !important; }
  .plate{ box-shadow:0 0 0 0.5px rgba(0,30,90,0.08), 0 1px 2px rgba(0,30,90,0.10), 0 10px 22px -12px rgba(0,30,90,0.30) !important; }

  /* «О компании» без подложки — на белом, как остальные блоки */
  .ab-panel{ background:none !important; box-shadow:none !important; border-radius:0 !important;
    padding:0 !important; overflow:visible !important; }
  .ab-panel::before{ display:none !important; }
  .ab-points{ margin-top:clamp(48px,5vw,88px) !important; }
  .ab-head h2{ font-size:var(--fs-5) !important; max-width:16ch !important; }

  /* ══ Отзывы: лента «текст + фото», без подложек ══ */
  #testimonials .t-track{ gap:16px !important; align-items:stretch !important; padding:6px 2px 18px !important; }
  #testimonials .t-track > *{ flex:0 0 auto !important; height:clamp(340px,26vw,440px); scroll-snap-align:start; }
  #testimonials .tr-card{ width:clamp(290px,24vw,400px) !important; max-width:none !important; min-height:0 !important;
    background:#fff !important; border-radius:24px !important;
    box-shadow:inset 0 0 0 1px #EDEDEF, 0 18px 34px -24px rgba(0,30,90,0.35) !important;
    padding:clamp(22px,2vw,30px) !important; display:flex !important; flex-direction:column !important; gap:18px; }
  #testimonials .tr-card::before{ display:none !important; }
  #testimonials .tr-card.is-expanded{ height:auto; }
  .tr-head{ display:flex; align-items:center; gap:12px; }
  .tr-head .t-avatar{ width:44px !important; height:44px !important; flex:0 0 44px; }
  .tr-head .who{ font-size:16px; font-weight:700; line-height:1.25; color:var(--ink); }
  .tr-head .who span{ display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
    font-size:13px; font-weight:400; color:#5B6472; margin-top:3px; }
  #testimonials .tr-card .t-textwrap{ flex:1; min-height:0; display:flex; flex-direction:column; }
  #testimonials .tr-card p{ font-size:16px !important; line-height:1.5 !important; margin:0 0 10px !important;
    max-height:calc(1.55em * 7) !important; }
  #testimonials .tr-card .t-expand{ margin:auto 0 0 !important; }
  .tr-photo{ width:clamp(260px,21vw,360px); border-radius:24px; position:relative; overflow:hidden;
    background:#EAEAEC center/cover no-repeat; }
  .tr-photo--empty{ background:linear-gradient(150deg,#E8EEF8,#D5DFEE); }
  .tr-photo--empty::before{ content:"фото объекта"; position:absolute; inset:0; display:grid; place-items:center;
    font-size:13px; letter-spacing:.08em; text-transform:uppercase; color:#8A99B0; }
  .tr-place{ position:absolute; left:14px; bottom:14px; z-index:1; background:#fff; color:var(--ink);
    font-size:13px; font-weight:700; padding:8px 14px; border-radius:12px;
    box-shadow:0 1px 2px rgba(0,30,90,.1), 0 8px 18px -10px rgba(0,30,90,.35); }
  @media(max-width:520px){
    #testimonials .t-track > *{ height:380px; }
    #testimonials .tr-card{ width:84vw !important; }
    .tr-photo{ width:70vw; }
  }

  /* ══ Заявка без подложки ══ */
  #contact .contact{ background:none !important; box-shadow:none !important; border-radius:0 !important; padding:0 !important; overflow:visible !important; }
  #contact .contact::before{ display:none !important; }
  #testimonials .tr-card.is-expanded p, #testimonials .tr-card.is-clamped-off p{ max-height:none !important; -webkit-mask-image:none !important; mask-image:none !important; }
  #testimonials .tr-card p{ flex:1 1 auto !important; max-height:none !important; min-height:0; overflow:hidden !important; }
  #testimonials .tr-card .t-expand{ flex:0 0 auto; margin-top:6px !important; }
  @media(min-width:1600px){
    #testimonials .t-track > *{ height:26vw; }
    #testimonials .tr-card{ width:24vw !important; padding:1.9vw !important; }
    .tr-photo{ width:21vw; }
    #testimonials .tr-card p{ font-size:16px !important; }
    .tr-head .who{ font-size:16px; } .tr-head .who span{ font-size:13px; }
    .tr-head .t-avatar{ width:2.9vw !important; height:2.9vw !important; flex-basis:2.9vw; font-size:13px !important; }
    .tr-place{ font-size:13px; }
  }
  #testimonials .tr-head .who{ font-size:16px; line-height:1.25; }
  #testimonials .tr-head .who span{ font-size:13px; }
  @media(min-width:1600px){
    #testimonials .tr-head .who{ font-size:16px; } #testimonials .tr-head .who span{ font-size:13px; }
    #testimonials .tr-card .t-expand{ font-size:13px !important; }
  }
  /* Технологии: без креплений */
  #tech .pb-card::before{ display:none !important; }

  /* ══ Технологии: фото на всю карточку, текст на белой табличке ══ */
  #tech .pb-card{ background:#E4E4E7 !important; min-height:clamp(400px,31vw,560px) !important; box-shadow:0 18px 34px -24px rgba(0,30,90,0.35) !important; }
  #tech .pb-media{ position:absolute !important; inset:0 !important; min-height:0 !important; }
  #tech .pb-photo-overlay{ top:0 !important; }
  #tech .pb-card-inner{ position:absolute !important; left:12px; right:12px; bottom:12px; flex:none !important;
    background:#fff; border-radius:24px; padding:18px 20px 18px !important; min-height:clamp(150px,10.5vw,180px);
    box-shadow:0 1px 2px rgba(0,30,90,.08), 0 10px 22px -12px rgba(0,30,90,.35); }
  #tech .pb-card-inner h3{ margin:0 0 6px !important; }
  #tech .pb-card-inner p{ margin:0 !important; }
  #tech .pb-top-row{ display:none !important; }

  /* ══ Заявка: изометрический класс собирается при прокрутке ══ */
  .iso-wrap{ margin-top:clamp(20px,3vw,44px); max-width:560px; }
  .iso-room{ width:100%; height:auto; display:block; overflow:visible; }
  .iso-room .iso-base, .iso-room .iso-d{ transform-box:fill-box; transform-origin:50% 100%; }
  .iso-room .iso-m{ transform-box:fill-box; transform-origin:50% 50%; }
  .iso-anim .iso-base{ opacity:0; transform:translateY(14px); }
  .iso-anim .iso-d{ opacity:0; transform:translateY(-70px); }
  .iso-anim .iso-m{ opacity:0; transform:scale(.4); transform-origin:50% 50%; }
  .iso-anim .iso-stroke{ stroke-dashoffset:3; }
  .iso-anim.is-on .iso-base{ opacity:1; transform:none; transition:opacity .5s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
  .iso-anim.is-on .iso-d{ opacity:1; transform:none;
    transition:opacity .2s ease calc(.45s + var(--i) * .16s), transform .55s cubic-bezier(.34,1.5,.64,1) calc(.45s + var(--i) * .16s); }
  .iso-anim.is-on .iso-m{ opacity:1; transform:none;
    transition:opacity .35s ease calc(1.7s + var(--i) * .14s), transform .5s cubic-bezier(.34,1.5,.64,1) calc(1.7s + var(--i) * .14s); }
  .iso-anim.is-on .iso-stroke{ stroke-dashoffset:0; transition:stroke-dashoffset .8s ease 2.6s; }
  @media(max-width:900px){ .iso-wrap{ max-width:420px; margin-left:auto; margin-right:auto; } }
  .iso-wrap.is-gl .iso-room{ display:none; }
  .iso-gl{ display:block; width:100%; }
  .iso-wrap{ max-width:640px !important; }

  /* ══ Заявка: сцена слева крупно, заголовок и форма справа ══ */
  #contact .contact{ grid-template-columns:1.4fr 1fr !important; align-items:center; gap:clamp(24px,4vw,72px) !important; }
  .ct-scene .iso-wrap{ max-width:620px !important; margin:0 auto !important; }
  .ct-side > div:first-child{ margin-bottom:clamp(24px,3vw,40px); }
  @media(max-width:900px){ #contact .contact{ grid-template-columns:1fr !important; } .ct-scene{ order:2; } .ct-side{ order:1; } }

  /* ══ Заявка v2: сцена поменьше, короткая форма с выгодой ══ */
  #contact .contact{ grid-template-columns:1fr 1fr !important; }
  .ct-side{ max-width:640px; }
  .ct-scene .iso-wrap{ max-width:none !important; margin:0 !important; }
  #contact h2{ font-size:var(--fs-5) !important; line-height:1.05; margin-bottom:16px; max-width:22ch; }
  .ct-lead{ font-size:var(--fs-1); color:#5B6472 !important; max-width:40ch; margin:0 0 20px; }
  .ct-gets{ list-style:none; padding:0; margin:0 0 8px; display:grid; gap:10px; }
  .ct-gets li{ position:relative; padding-left:30px; font-size:16px; line-height:1.5; color:#5B6472; }
  .ct-gets li b{ color:var(--ink); font-weight:700; }
  .ct-gets li::before{ content:""; position:absolute; left:0; top:2px; width:20px; height:20px; border-radius:50%;
    background:#FB4903 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
  .ct-fields{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
  .ct-channel{ border:0; padding:0; margin:18px 0 6px; display:flex; flex-wrap:wrap; gap:8px; }
  .ct-channel legend{ font-size:13px; color:#5B6472; margin-bottom:10px; padding:0; }
  .ct-channel label{ cursor:pointer; }
  .ct-channel input{ position:absolute; opacity:0; pointer-events:none; }
  .ct-channel span{ display:inline-block; padding:9px 16px; border-radius:999px; font-size:16px; font-weight:600;
    background:#fff; color:var(--ink); box-shadow:inset 0 0 0 1.5px #E4E4E7; transition:background .2s, color .2s, box-shadow .2s; }
  .ct-channel input:checked + span{ background:var(--orange); color:#fff; box-shadow:none; }
  .ct-channel input:focus-visible + span{ outline:2px solid var(--orange); outline-offset:2px; }
  .ct-form .consent{ margin-top:14px; font-size:13px; }
  #contact .ct-note{ font-size:13px !important; color:#5B6472 !important; margin:12px 0 0 !important; }
  #contact form .btn-primary{ margin-top:22px !important; }
  @media(max-width:900px){ #contact .contact{ grid-template-columns:1fr !important; } .ct-scene{ order:2; } .ct-side{ order:1; } .ct-scene .iso-wrap{ max-width:520px !important; } }
  @media(max-width:520px){ .ct-fields{ grid-template-columns:1fr; } }
  #contact .ct-scene #isoWrap{ max-width:700px !important; margin:0 auto !important; }
  #contact .contact{ column-gap:clamp(40px,6vw,120px) !important; }
  @media(max-width:900px){ #contact .ct-scene #isoWrap{ margin:0 auto !important; } }

  /* ══ Единая система: отступы блоков 64 / 96 / 120, шаг 8 ══ */
  .panel section:not(.marquee-row):not(.cube-sec), #stats2, #process, #tech{ padding-top:64px !important; padding-bottom:64px !important; }
  @media(min-width:768px){ .panel section:not(.marquee-row):not(.cube-sec), #stats2, #process, #tech{ padding-top:96px !important; padding-bottom:96px !important; } }
  @media(min-width:1440px){ .panel section:not(.marquee-row):not(.cube-sec), #stats2, #process, #tech{ padding-top:120px !important; padding-bottom:120px !important; } }
  .section-head{ margin-bottom:40px !important; }
  .section-head.sh-plate{ gap:24px !important; }
  .plate-inpanel{ margin-bottom:24px !important; }
  .panel section.marquee-row{ padding-top:40px !important; padding-bottom:40px !important; }
  h1,h2,h3{ line-height:1.1; }
  #about .ab-head h2, #contact h2{ font-size:var(--fs-5) !important; line-height:1.1 !important; }
  .cube-sec{ height:300vh !important; }
  #tech .pb-card-inner p{ font-size:16px !important; opacity:1 !important; color:#5B6472 !important; line-height:1.5 !important; }
  #tech .pb-card-inner{ min-height:190px !important; }

  #why{
    --bg:#07090D; --bg-2:#0E131C; --card:#111823; --line:rgba(255,255,255,.08);
    --text:#EEF2F7; --muted:#8A96A8; --accent:#2DE2FF; --accent-2:#1B8CFF;
    --r-card:24px; --r-sm:12px;
    --s-1:8px; --s-2:16px; --s-3:24px; --s-4:32px; --s-6:48px; --s-8:64px; --s-12:96px;
  }
  
  #why{
    position:relative; overflow:hidden;
    padding:var(--s-12) 20px;
    background:
      radial-gradient(60% 45% at 50% 42%, rgba(45,226,255,.10), transparent 70%),
      radial-gradient(40% 30% at 80% 90%, rgba(27,140,255,.08), transparent 70%),
      linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  }
  #why .why-inner{ max-width:1200px; margin:0 auto; display:grid; gap:var(--s-6); justify-items:center; }
  #why .why-eyebrow{ font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); opacity:.85; }
  #why h2{ margin:var(--s-2) 0 0; text-align:center; font-weight:700; letter-spacing:-.02em; line-height:1.05;
    font-size:clamp(34px, 5vw, 64px);
    background:linear-gradient(180deg,#fff 30%,#9FB2C8); -webkit-background-clip:text; background-clip:text; color:transparent; }
  #why .stage{ position:relative; width:min(560px, 100%); aspect-ratio:1/1; }
  #why .stage canvas{ position:absolute; inset:0; width:100%; height:100%; display:block; }
  #why .word{
    position:absolute; left:50%; top:50%; transform:translate(-50%,-50%) scale(.96);
    font-weight:800; letter-spacing:.06em; white-space:nowrap; pointer-events:none;
    font-size:clamp(28px, 6.2vw, 64px); color:var(--accent);
    text-shadow:0 0 12px rgba(45,226,255,.75), 0 0 36px rgba(45,226,255,.45), 0 2px 0 rgba(0,0,0,.4);
    opacity:0; transition:opacity .6s ease, transform .6s ease;
  }
  #why .word.is-on{ opacity:1; transform:translate(-50%,-50%) scale(1); }
  #why .cards{ width:100%; display:grid; grid-template-columns:repeat(3, 1fr); gap:var(--s-3); }
  #why .card{
    position:relative; padding:var(--s-4); border-radius:var(--r-card);
    background:linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
    border:1px solid var(--line);
    transition:transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  }
  #why .card:hover{ transform:translateY(-4px); border-color:rgba(45,226,255,.35); box-shadow:0 20px 50px -24px rgba(45,226,255,.35); }
  #why .ico{ width:48px; height:48px; border-radius:var(--r-sm); display:grid; place-items:center; margin-bottom:var(--s-3);
    background:linear-gradient(140deg, rgba(45,226,255,.22), rgba(27,140,255,.10)); box-shadow:inset 0 0 0 1px rgba(45,226,255,.3); }
  #why .ico svg{ width:24px; height:24px; stroke:var(--accent); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
  #why .card h3{ margin:0 0 var(--s-1); font-size:20px; line-height:1.2; }
  #why .card p{ margin:0; font-size:16px; line-height:1.5; color:var(--muted); }
  @media (max-width:860px){ .cards{ grid-template-columns:1fr; } .why{ padding:var(--s-8) 20px; } }
  @media (prefers-reduced-motion: reduce){ .word, .card{ transition:none; } }

  #why{ color:var(--text); }
  #why .why-eyebrow{ text-align:center; }
  @media (max-width:860px){ #why .cards{ grid-template-columns:1fr; } #why{ padding:64px 20px; } }

  /* ══ «Зачем это школе» в стиле сайта ══ */
  #why{ background:transparent !important; color:var(--ink) !important; padding:120px 0 !important; }
  @media(max-width:1439px){ #why{ padding:96px 0 !important; } } @media(max-width:767px){ #why{ padding:64px 0 !important; } }
  #why .why-inner{ max-width:none; margin:0; padding:0 clamp(20px,5vw,120px); justify-items:stretch; gap:40px; }
  #why .section-head{ margin:0 !important; }
  #why h2{ background:none !important; -webkit-background-clip:initial !important; background-clip:initial !important; color:var(--ink) !important;
    text-align:left !important; font-size:var(--fs-5) !important; line-height:1.1 !important; letter-spacing:-.02em; margin:0 !important; }
  #why .stage{ justify-self:center; width:min(560px,100%); }
  #why .card{ background:#fff !important; border:0 !important; border-radius:24px !important;
    box-shadow:inset 0 0 0 1px #EDEDEF, 0 18px 34px -24px rgba(0,30,90,.35) !important; }
  #why .card:hover{ box-shadow:inset 0 0 0 1px #D4D4D8, 0 22px 40px -22px rgba(0,30,90,.4) !important; }
  #why .ico{ background:#F7F7F7 !important; box-shadow:none !important; border-radius:12px !important; }
  #why .ico svg{ stroke:var(--orange) !important; }
  #why .card h3{ color:var(--ink) !important; font-size:20px !important; }
  #why .card p{ color:#5B6472 !important; }
  #why .stage{ width:min(620px,100%) !important; }

  /* ══ Предложение во всю ширину: начало — кубик со словом — конец ══ */
  #why .why-row{ display:grid; grid-template-columns:1fr minmax(0,520px) 1fr; align-items:center; gap:clamp(16px,2.5vw,40px); }
  #why .why-row .stage{ width:100% !important; }
  #why .why-l, #why .why-r{ margin:0; font-weight:700; letter-spacing:-.02em; line-height:1.1; color:var(--ink);
    font-size:clamp(24px,2.6vw,44px); transition:opacity .28s ease, transform .28s ease; }
  #why .why-l{ text-align:right; } #why .why-r{ text-align:left; }
  #why .why-l.is-out{ opacity:0; transform:translateX(-12px); } #why .why-r.is-out{ opacity:0; transform:translateX(12px); }
  @media(max-width:860px){
    #why .why-row{ grid-template-columns:1fr; gap:8px; justify-items:center; }
    #why .why-l, #why .why-r{ text-align:center; max-width:18ch; }
    #why .why-row .stage{ width:min(420px,100%) !important; }
    #why .why-l.is-out, #why .why-r.is-out{ transform:none; }
  }

  /* ══ Таблички = заголовки блоков ══ */
  h2.plate-h{ display:inline-flex !important; align-items:stretch; margin:0 !important; padding:0; background:none !important;
    border-radius:18px; overflow:hidden; font-size:var(--fs-5) !important; line-height:1 !important; letter-spacing:-.02em;
    box-shadow:0 0 0 .5px rgba(0,30,90,.08), 0 2px 3px rgba(0,30,90,.08), 0 22px 40px -22px rgba(0,30,90,.35); max-width:100%; }
  h2.plate-h .plate-n{ display:flex; align-items:center; justify-content:center; min-width:0 !important; padding:.34em .42em !important;
    font-size:1em !important; font-weight:800; color:#fff; border-radius:0 !important; box-shadow:none !important;
    background:var(--scr-w) left 12px top 12px/8px 8px no-repeat, var(--scr-w) left 12px bottom 12px/8px 8px no-repeat, var(--accent2, #FB4903) !important; }
  h2.plate-h .plate-l{ display:flex; align-items:center; padding:.34em .9em .34em .5em !important; font-size:1em !important; font-weight:700;
    letter-spacing:-.02em !important; text-transform:none !important; color:var(--ink) !important; border-radius:0 !important; box-shadow:none !important;
    background:var(--scr-g) right 12px top 12px/8px 8px no-repeat, var(--scr-g) right 12px bottom 12px/8px 8px no-repeat, #fff !important; }
  .section-head.sh-plate{ gap:0 !important; }
  #about .ab-title{ margin:24px 0 0; font-size:var(--fs-4); font-weight:700; line-height:1.15; color:var(--ink); max-width:22ch; }
  #why .section-head{ justify-self:start; }
  @media(max-width:520px){ h2.plate-h{ border-radius:12px; } h2.plate-h .plate-n, h2.plate-h .plate-l{ background-size:6px 6px !important; } }
  h2.plate-h{ max-width:none !important; white-space:nowrap; }
  @media(max-width:520px){ h2.plate-h{ white-space:normal; } }
  #testimonials .section-head.sh-plate h2.plate-h{ grid-column:1; grid-row:1; justify-self:start; align-self:center; }
  #testimonials .section-head.sh-plate .t-nav{ grid-column:2; grid-row:1; align-self:center; }

/* === правки 29.09: заголовки-таблички меньше, этап сверху карточки, место для тени кубика === */
body h2.plate-h:not(#_){ font-size:clamp(24px, 14px + 1.6vw, 40px) !important; border-radius:14px !important; }
.st-tag{ top:11cqw !important; bottom:auto !important; }
.st-card h3{ top:25cqw !important; bottom:auto !important; }
@media(max-width:520px){
  .st-tag{ top:7cqw !important; left:7cqw !important; }
  .st-card h3{ top:18cqw !important; left:7cqw !important; }
}
#why{ overflow-x:clip; }
@media(max-width:700px){
  html body h2.plate-h:not(#_){ border-radius:10px !important; }
  html body h2.plate-h:not(#_) .plate-n{ padding:.34em .7em !important;
    background:var(--scr-w) left 5px top 5px/5px 5px no-repeat, var(--scr-w) left 5px bottom 5px/5px 5px no-repeat, var(--accent2, #FB4903) !important; }
  html body h2.plate-h:not(#_) .plate-l{ background:var(--scr-g) right 5px top 5px/5px 5px no-repeat, var(--scr-g) right 5px bottom 5px/5px 5px no-repeat, #fff !important; }
}
body h2.plate-h:not(#_) .plate-n{ padding:.34em .62em !important;
  background:var(--scr-w) left 9px top 9px/7px 7px no-repeat, var(--scr-w) left 9px bottom 9px/7px 7px no-repeat, var(--accent2, #FB4903) !important; }
body h2.plate-h:not(#_) .plate-l{ padding:.34em 1em .34em .55em !important;
  background:var(--scr-g) right 9px top 9px/7px 7px no-repeat, var(--scr-g) right 9px bottom 9px/7px 7px no-repeat, #fff !important; }
#why .stage canvas{ inset:-25% !important; width:150% !important; height:150% !important; pointer-events:none; }
#why .why-l, #why .why-r{ position:relative; z-index:1; }

.logo-sub{ white-space:nowrap; }
header .logo .logo-sub{ color:rgba(255,255,255,.72) !important; }
footer .logo .logo-sub{ color:rgba(255,255,255,.72) !important; }
@media(max-width:420px){ .logo-sub{ font-size:13px !important; } .logo{ gap:8px; } }

/* === первый экран помещается в окно ноутбука: текст слева, карточки и кнопки справа === */
@media(min-width:901px){
  section.hero-dark:not(#_){ min-height:min(100svh, 960px) !important; padding:clamp(92px, 16vh, 150px) 0 clamp(28px, 6vh, 64px) !important; }
  .hero-inner{ display:grid !important; grid-template-columns:minmax(0,1fr) auto; align-content:end; align-items:end; column-gap:clamp(32px,4vw,64px); }
  .hero-top{ grid-column:1; margin:0 !important; }
  .hero-bottom{ display:none !important; }
  .hero-action{ grid-column:2; margin:0 !important; }
  .hero-dark h1{ font-size:clamp(32px, min(4.1vw, 7.6vh), 68px) !important; }
  .hero-dark p.lead2{ margin-bottom:0 !important; font-size:clamp(16px, min(1.5vw, 2.9vh), 24px) !important; }
  .hero-eyebrow{ margin-bottom:clamp(10px, 2vh, 20px) !important; }
}

@media(min-width:901px) and (max-width:1199px){
  .hero-action .cta-row{ flex-direction:column; align-items:stretch; gap:10px; }
  .hero-action .cta-row .btn{ justify-content:space-between; }
  nav{ gap:6px !important; }
  nav a{ font-size:14px !important; padding:10px 14px !important; }
}

@media(max-width:900px){ .st-c1,.st-c2,.st-c3,.st-c4{ margin-top:0 !important; } }

@media(max-width:900px){ header nav{ -webkit-mask-image:linear-gradient(90deg,#000 82%,transparent); mask-image:linear-gradient(90deg,#000 82%,transparent); } }

.hero-dark h1{ margin-bottom:0 !important; }

/* ══ «Как это выглядит»: список слева + одно крупное фото с пагинацией-линиями ══ */
.pgx{ display:grid; grid-template-columns:minmax(280px, 5fr) 8fr; gap:clamp(24px,3vw,48px); align-items:stretch; margin-top:clamp(28px,3vw,48px); }
.pgx-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; border-top:1px solid #E4E4E7; }
.pgx-item{ border-bottom:1px solid #E4E4E7; }
.pgx-btn{ all:unset; box-sizing:border-box; width:100%; cursor:pointer; display:grid; grid-template-columns:40px 1fr; gap:12px; padding:18px 4px; }
.pgx-btn:focus-visible{ outline:2px solid #0055FF; outline-offset:2px; border-radius:12px; }
.pgx-n{ font-size:13px; font-weight:700; color:#8A93A1; padding-top:4px; transition:color .3s; }
.pgx-txt{ display:flex; flex-direction:column; gap:4px; }
.pgx-t{ font-size:var(--fs-3); font-weight:700; line-height:1.2; letter-spacing:-.01em; color:#8A93A1; transition:color .3s; }
.pgx-p{ font-size:13px; color:#8A93A1; }
.pgx-d{ font-size:16px; line-height:1.5; color:#5B6472; max-height:0; opacity:0; overflow:hidden; transition:max-height .45s ease, opacity .35s ease, margin .45s ease; }
.pgx-item.is-on .pgx-n{ color:#FB4903; }
.pgx-item.is-on .pgx-t{ color:var(--ink); }
.pgx-item.is-on .pgx-d{ max-height:6em; opacity:1; margin-top:6px; }
.pgx-btn:hover .pgx-t{ color:var(--ink); }
.pgx-view{ position:relative; border-radius:24px; overflow:hidden; min-height:clamp(380px, 38vw, 620px); background:#E4E4E7;
  box-shadow:0 0 0 .5px rgba(0,30,90,.08), 0 22px 40px -22px rgba(0,30,90,.35); }
.pgx-slide{ position:absolute; inset:0; background:center/cover no-repeat; opacity:0; transform:scale(1.04); transition:opacity .7s ease, transform 6s ease; }
.pgx-slide.is-on{ opacity:1; transform:scale(1); }
#tablichki{ scroll-margin-top:clamp(96px,40vh,440px); }
@media(max-width:700px){ #tablichki{ scroll-margin-top:86px; } }
.pgx-over{ position:absolute; left:0; right:0; bottom:0; padding:clamp(48px,5vw,72px) clamp(20px,2.4vw,32px) clamp(18px,2vw,28px); color:#fff;
  background:linear-gradient(180deg, rgba(10,14,22,0) 0%, rgba(10,14,22,.45) 100%); }
.pgx-cap{ display:none !important; margin:0 0 16px; display:flex; flex-direction:column; gap:4px; max-width:34ch; }
.pgx-cap-t{ font-size:var(--fs-2); font-weight:700; line-height:1.25; }
.pgx-cap-p{ font-size:13px; opacity:.8; }
.pgx-bars{ display:flex; align-items:center; gap:8px; }
.pgx-c{ font-size:13px; font-weight:700; opacity:.85; min-width:20px; }
.pgx-c1{ text-align:left; }
.pgx-bar{ all:unset; cursor:pointer; flex:1; height:16px; display:flex; align-items:center; }
.pgx-bar i{ position:relative; display:block; width:100%; height:3px; border-radius:3px; background:rgba(255,255,255,.35); overflow:hidden; }
.pgx-bar i::after{ content:''; position:absolute; inset:0; background:#fff; transform:scaleX(0); transform-origin:left; }
.pgx-bar.is-done i::after{ transform:scaleX(1); }
.pgx-bar.is-on i::after{ animation:pgxFill var(--pgx-dur,5s) linear forwards; }
.pgx.is-paused .pgx-bar.is-on i::after{ animation-play-state:paused; }
.pgx-bar:focus-visible i{ outline:2px solid #fff; outline-offset:3px; }
@keyframes pgxFill{ from{ transform:scaleX(0); } to{ transform:scaleX(1); } }
@media(max-width:900px){
  .pgx{ grid-template-columns:1fr; }
  .pgx-view{ order:-1; min-height:0; aspect-ratio:4/3; }
  .pgx-cap{ display:none; }
  .pgx-btn{ padding:14px 2px; }
}
@media (prefers-reduced-motion: reduce){ .pgx-slide{ transition:opacity .3s; transform:none !important; } .pgx-bar.is-on i::after{ animation:none; transform:scaleX(1); } }

/* === 29.09: меньше жирного. Жирный (700) только у заголовков, названий карточек, крупных цифр и кнопок === */
#stats2 .stat-card2 h4, #stats2 sup{ font-weight:400 !important; }
.wp-label, .marquee-item, .m-mark, .arc-cap, .pgx-n, .pgx-c, .fs-label, .q-n, .ab-n, .tr-place, .t-expand, .st-tag, #contact b{ font-weight:400 !important; }
.pgx-t{ font-weight:400 !important; }
.pgx-item.is-on .pgx-t{ font-weight:700 !important; }
.cf-t{ font-weight:400 !important; } .cf-t .hl{ font-weight:700 !important; }
.fs-label b{ font-weight:700 !important; }
body h2.plate-h:not(#_) .plate-n{ font-weight:700 !important; }

/* === «Как мы работаем»: текст таблички по центру, как на вывеске === */
.st-card{ display:flex !important; flex-direction:column; align-items:center; justify-content:center; gap:16px; text-align:center; padding:0 8%; box-sizing:border-box; }
.st-card .st-tag, .st-card h3{ position:static !important; inset:auto !important; left:auto !important; top:auto !important; right:auto !important; bottom:auto !important; }
.st-card h3{ max-width:13ch !important; margin:0 !important; }
.st-card .st-tag{ order:-1; font-size:13px !important; }
.st-card h3{ font-size:clamp(20px, 7.4cqw, 32px) !important; line-height:1.15 !important; }

/* === FAQ: карточка «Не нашли свой вопрос?» выровнена по верху списка === */
.faq-aside{ top:0 !important; }
@media(min-width:901px){ .faq-aside{ position:sticky !important; top:24px !important; align-self:start; } }

/* === Технологии: на узком ноутбуке 2×2, чтобы белая плашка не закрывала фото === */
@media(max-width:1199px) and (min-width:561px){ .tech-grid{ grid-template-columns:repeat(2,1fr) !important; } }

/* главная кнопка — крайняя справа */
@media(min-width:1200px){ .hero-action .cta-row{ flex-direction:row-reverse !important; justify-content:flex-start !important; } }

/* === заголовок первого экрана в две строки: кнопки столбиком справа, шрифт подстраивается под ширину === */
@media(min-width:901px){
  .hero-top{ container-type:inline-size; }
  .hero-dark h1{ font-size:min(68px, 6.2cqi, 8.5vh) !important; max-width:none !important; white-space:nowrap; }
  .hero-action{ width:280px; }
  .hero-action .cta-row{ flex-direction:column !important; align-items:stretch !important; justify-content:flex-start !important; gap:10px; }
  .hero-action .cta-row .btn{ justify-content:space-between; }
}

/* === 29.09 16:26 === */
/* кубик: ключевые слова просто жирные, без рамки-плашки */
.cf-t .hl{ border:0 !important; padding:0 !important; background:none !important; box-shadow:none !important; border-radius:0 !important; margin:0 !important; display:inline !important; }
.cf1 .hl, .cf3 .hl{ color:var(--ink) !important; }
.cf2 .hl, .cf4 .hl{ color:#fff !important; }
.cf-t{ max-width:none !important; text-wrap:wrap; }
@media(min-width:701px){ .cf-t{ font-size:min(clamp(24px, calc(var(--H) * 0.108), 74px), calc(var(--W) / 19)) !important; } }
@media(max-width:700px){ .cf-t .cbr{ display:none; } .cf-t{ text-wrap:pretty; } }
/* кубик: грани стыкуются вплотную, ребро — одна ровная тонкая линия у всех граней */
.cf, .cf1, .cf3{ outline:0 !important; box-shadow:inset 0 1px 0 rgba(0,0,0,.14), inset 0 -1px 0 rgba(0,0,0,.14) !important; }
.cf1{ transform:rotateX(0deg)    translateZ(calc(var(--H) / 2)) !important; }
.cf2{ transform:rotateX(-90deg)  translateZ(calc(var(--H) / 2)) !important; }
.cf3{ transform:rotateX(-180deg) translateZ(calc(var(--H) / 2)) !important; }
.cf4{ transform:rotateX(-270deg) translateZ(calc(var(--H) / 2)) !important; }
@media (prefers-reduced-motion: reduce){ .cf1,.cf2,.cf3,.cf4{ transform:none !important; } }
/* цифры: подписи рядом с числом снова жирные */
#stats2 sup{ font-weight:700 !important; }
/* этапы: заголовок ровно в две строки */
.st-card h3{ max-width:none !important; white-space:nowrap; }

/* === 29.09 16:48 === */
/* отступы между блоками больше */
.panel section:not(.marquee-row):not(.cube-sec), #stats2, #process, #tech{ padding-top:88px !important; padding-bottom:88px !important; }
@media(min-width:768px){ .panel section:not(.marquee-row):not(.cube-sec), #stats2, #process, #tech{ padding-top:128px !important; padding-bottom:128px !important; } }
@media(min-width:1440px){ .panel section:not(.marquee-row):not(.cube-sec), #stats2, #process, #tech{ padding-top:160px !important; padding-bottom:160px !important; } }
.cube-sec .cube-sticky{ padding-top:clamp(48px, 7vh, 96px); box-sizing:border-box; }
/* заголовок-табличка отделён от содержимого блока */
.section-head{ margin-bottom:clamp(40px, 4vw, 64px) !important; }
.pgx{ margin-top:0 !important; }
/* этапы: плашки разных цветов */
.st-c1 .st-tag{ background:#FB4903 !important; color:#fff !important; }
.st-c2 .st-tag{ background:#0055FF !important; color:#fff !important; }
.st-c3 .st-tag{ background:#16191B !important; color:#fff !important; }
.st-c4 .st-tag{ background:#E4E4E7 !important; color:#0055FF !important; }

/* === 29.09 16:53 === */
/* заголовок первого экрана чуть меньше — кнопкам больше места */
@media(min-width:901px){ .hero-dark h1{ font-size:min(56px, 5.4cqi, 7.6vh) !important; } }
/* больше воздуха между первым экраном, лентой школ и «Зачем это школе?» */
.panel section.marquee-row{ padding-top:56px !important; padding-bottom:56px !important; }
.cube-sec{ margin-top:clamp(56px, 7vw, 112px); }
/* обычное начертание у заголовков карточек; жирный остаётся у заголовков блоков, h1, цифр и кнопок */
.st-card h3, #tech h3, .faq-aside h3, .ab-title, .pgx-item.is-on .pgx-t, .hcs-name, .arc-cap, #testimonials .who{ font-weight:400 !important; }
.st-card h3{ letter-spacing:-.01em !important; }

/* кнопки первого экрана в ряд (от 1200px); заголовок подстраивается под оставшуюся ширину */
@media(min-width:1200px){
  .hero-action{ width:auto !important; }
  .hero-action .cta-row{ flex-direction:row-reverse !important; align-items:center !important; justify-content:flex-start !important; flex-wrap:nowrap !important; gap:12px; }
  .hero-dark h1{ font-size:min(56px, 6.1cqi, 7.6vh) !important; }
}

@media(min-width:1200px){
  .hero-inner{ column-gap:32px !important; }
  .hero-action .cta-row{ gap:8px !important; }
  .hero-action .cta-row .btn{ padding-left:22px !important; gap:14px !important; }
  .hero-dark h1{ font-size:min(60px, 6.35cqi, 8vh) !important; }
}

/* ══ «О компании»: слева суть, справа указатель направлений как табличка этажей в школе ══ */
.abx{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:clamp(32px,5vw,96px); align-items:center; }
.abx-title{ margin:0 0 24px; font-size:var(--fs-4); line-height:1.2; font-weight:400; letter-spacing:-.01em; color:var(--ink); max-width:18ch; }
.abx-title b{ font-weight:700; color:#0055FF; }
.abx-lead{ margin:0 0 36px; font-size:var(--fs-1); line-height:1.5; color:#5B6472; max-width:44ch; }
.abx-points{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:16px; }
.abx-points li{ display:grid; grid-template-columns:44px 1fr; gap:14px; align-items:start; font-size:var(--fs-1); line-height:1.5; color:var(--ink); max-width:44ch; }
.abx-pn{ display:inline-flex; align-items:center; justify-content:center; height:28px; border-radius:8px; background:#F7F7F7; color:#0055FF; font-size:13px; font-weight:700; margin-top:-1px; }
.abx-board{ position:relative; background:#fff; border-radius:24px; padding:clamp(24px,3vw,44px);
  box-shadow:0 4px 0 #E4E4E7, inset 0 0 0 1px #EDEDEF, 0 30px 50px -30px rgba(0,30,90,.35);
  background-image:var(--scr-g),var(--scr-g),var(--scr-g),var(--scr-g);
  background-size:8px 8px; background-repeat:no-repeat;
  background-position:left 16px top 16px, right 16px top 16px, left 16px bottom 16px, right 16px bottom 16px; }
.abx-board-top{ display:flex; justify-content:space-between; font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:#8A93A1; padding:0 4px 16px; border-bottom:2px solid var(--ink); }
.abx-list{ list-style:none; margin:0; padding:0; }
.abx-row{ display:grid; grid-template-columns:auto 1fr auto; gap:clamp(16px,2vw,24px); align-items:center; padding:clamp(14px,1.6vw,20px) 4px; border-bottom:1px solid #E4E4E7; }
.abx-fl{ width:clamp(48px,4.4vw,64px); aspect-ratio:1; border-radius:12px; display:flex; align-items:center; justify-content:center;
  font-size:clamp(26px,2.6vw,38px); font-weight:700; line-height:1; background:#F7F7F7; color:#0055FF; }
.abx-txt{ display:flex; flex-direction:column; gap:4px; min-width:0; }
.abx-name{ font-size:var(--fs-3); line-height:1.2; color:var(--ink); }
.abx-desc{ font-size:var(--fs-0); line-height:1.4; color:#5B6472; }
.abx-row.is-here{ background:#FFF4EF; margin:0 -12px; padding-left:16px; padding-right:16px; border-radius:16px; border-bottom-color:transparent; }
.abx-row.is-here .abx-fl{ background:#FB4903; color:#fff; box-shadow:0 3px 0 #D9481A; }
.abx-row.is-here .abx-name, .abx-row.is-here .abx-name{ font-weight:400 !important; }
.abx-row:last-child{ border-bottom:0 !important; }
.abx-here{ font-size:13px; font-weight:700; color:#FB4903; border:1.5px solid #FB4903; border-radius:999px; padding:6px 12px; white-space:nowrap; }
.abx-note{ margin:20px 4px 0; font-size:var(--fs-0); line-height:1.5; color:#5B6472; }
@media(max-width:900px){
  .abx{ grid-template-columns:1fr; gap:40px; }
}
@media(max-width:520px){
  .abx-row{ grid-template-columns:auto 1fr; }
  .abx-here{ grid-column:2; justify-self:start; margin-top:-4px; }
  .abx-row.is-here{ margin:0 -8px; padding-left:10px; padding-right:10px; }
}

/* ══════════ МОБИЛЬНАЯ ВЕРСИЯ ══════════ */
.burger{ display:none; }
/* плюсик в вопросах: ровный квадрат, по центру — на всех экранах */
.faq-item summary::after{ width:32px; height:32px; display:flex !important; align-items:center; justify-content:center; font-size:24px !important; line-height:1; margin:0 20px 0 8px !important; flex:0 0 32px; }
@media(max-width:1279px){
  header{ position:relative; padding:14px 0 !important; }
  header .wrap{ flex-direction:row !important; align-items:center !important; justify-content:space-between !important; gap:16px !important; }
  .burger{ display:flex; flex-direction:column; justify-content:center; gap:6px; width:44px; height:44px; padding:0 11px; border:0; border-radius:14px; background:rgba(255,255,255,.12); cursor:pointer; position:relative; z-index:101; -webkit-tap-highlight-color:transparent; }
  .burger span{ display:block; height:2px; border-radius:2px; background:#fff; transition:transform .3s ease, opacity .2s ease; }
  body.menu-open .burger span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
  body.menu-open .burger span:nth-child(2){ opacity:0; }
  body.menu-open .burger span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }
  header nav{ position:fixed !important; inset:0; z-index:100; margin:0 !important; padding:96px 24px 40px !important; background:#16191B;
    flex-direction:column !important; justify-content:center; gap:0 !important; overflow:visible !important;
    -webkit-mask-image:none !important; mask-image:none !important;
    opacity:0; visibility:hidden; transform:translateY(-12px); transition:opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
  body.menu-open header nav{ opacity:1; visibility:visible; transform:none; transition:opacity .25s ease, transform .25s ease; }
  header nav a{ background:none !important; color:#fff !important; border-radius:0 !important; padding:16px 0 !important; font-size:28px !important; line-height:1.15;
    text-align:left; border-bottom:1px solid rgba(255,255,255,.14); }
  header nav a:last-child{ color:#FB4903 !important; border-bottom:0; }
  body.menu-open{ overflow:hidden; }

}
@media(max-width:900px){
  /* первый экран */
  section.hero-dark:not(#_){ min-height:calc(100svh - 72px) !important; padding:48px 0 32px !important; justify-content:flex-end; }
  .hero-inner{ display:flex !important; flex-direction:column; justify-content:flex-end; gap:32px; }
  .hero-top{ container-type:normal; }
  .hero-dark h1{ font-size:clamp(30px, 9vw, 40px) !important; line-height:1.08 !important; white-space:normal !important; max-width:none !important; }
  .hero-eyebrow{ font-size:12px !important; margin-bottom:14px !important; }
  .hero-action{ width:100% !important; margin:0 !important; }
  .hero-action .cta-row{ flex-direction:column !important; align-items:stretch !important; gap:10px !important; }
  .hero-action .cta-row .btn{ width:100%; justify-content:space-between; }

  /* блок «Как это выглядит»: фото гарантированно имеет высоту */
  .pgx-view{ aspect-ratio:auto !important; height:min(78vw, 440px) !important; min-height:0 !important; }
  .pgx-slide{ background-size:cover !important; background-position:center !important; }

  /* вопросы: без правых креплений, чтобы не лезли на плюсик */
  .faq-item, .faq-item[open]{ background-image:none !important; }
  .floor-sign{ width:250px !important; }
  .fs-label{ right:16px !important; }
  .faq-item summary::after{ margin:0 12px 0 4px !important; }
}

/* === 30.09: правки по списку === */
/* 1. первый экран = целый экран, без потолка; лента и пустота после него короче */
@media(min-width:901px){ section.hero-dark:not(#_){ min-height:100svh !important; } }
.panel section.marquee-row{ padding-top:36px !important; padding-bottom:36px !important; }
.cube-sec{ margin-top:0 !important; }
.cube-sec .cube-sticky{ padding-top:clamp(24px,4vh,56px) !important; }

/* 2. у белой грани видны боковые рёбра */
.cf, .cf1, .cf3{ box-shadow:inset 0 1px 0 rgba(0,0,0,.14), inset 0 -1px 0 rgba(0,0,0,.14), inset 2px 0 0 #D4D4D8, inset -2px 0 0 #D4D4D8 !important; }

/* 3. цифры: мягче, без жёсткой «ступеньки» */
.fs-digits span{ color:var(--accent2) !important;
  background:linear-gradient(180deg,#FF7C4E 0%,#FB4903 55%,#F2521E 100%); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  filter:drop-shadow(0 2px 1px rgba(217,72,26,.35)) drop-shadow(0 14px 18px rgba(217,72,26,.18)) !important; }

/* 4. ленты: ровный шаг без gap, бесшовный сдвиг ровно на половину */
.wp-track{ gap:0 !important; }
.wp-pill{ margin-right:20px; }
.wp-left .wp-track{ animation:wpL2 60s linear infinite !important; }
.wp-right .wp-track{ animation:wpR2 60s linear infinite !important; }
@keyframes wpL2{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@keyframes wpR2{ from{ transform:translateX(-50%); } to{ transform:translateX(0); } }

/* 5. текст в плашках «Технологии» занимает всю плашку */
#tech .pb-card p, #tech .pb-card-inner p, #tech .pb-card-inner h3{ max-width:none !important; }
#tech .pb-card-inner{ padding-right:clamp(20px,2vw,32px) !important; }

/* 6–7. «О компании»: проще, без чёрной линии и без цифр-этажей */
.abx-board-top{ border-bottom:1px solid #E4E4E7 !important; }
.abx-fl{ display:none !important; }
.abx-row{ grid-template-columns:1fr auto !important; }
.abx-points, .abx-note{ display:none !important; }
.abx-row.is-here{ background:#F4F8FE !important; }
.abx-row.is-here .abx-name{ font-weight:400 !important; }
.abx-name, .abx-row.is-here .abx-name{ font-weight:400 !important; }
.abx-row:last-child{ border-bottom:0 !important; }
.abx-here{ color:#0055FF !important; border-color:#D4D4D8 !important; font-weight:400 !important; }
@media(max-width:520px){ .abx-row{ grid-template-columns:1fr !important; } .abx-here{ grid-column:1 !important; } }

/* === 30.09: крупный заголовок героя, кнопки под ним справа === */
@media(min-width:901px){
  section.hero-dark:not(#_) .hero-inner{ grid-template-columns:minmax(0,1fr) !important; row-gap:clamp(20px,3.5vh,40px); }
  section.hero-dark:not(#_) .hero-top{ grid-column:1 !important; }
  section.hero-dark:not(#_) .hero-action{ grid-column:1 !important; justify-self:end; }
  section.hero-dark:not(#_) .hero-action .cta-row{ flex-direction:row-reverse !important; align-items:center !important; }
  section.hero-dark:not(#_) .hero-action .cta-row .btn{ justify-content:flex-start; }
  section.hero-dark:not(#_) h1{ font-size:min(6.3cqi, 12.5vh, 136px) !important; line-height:1.04 !important; }
  section.hero-dark:not(#_) .hero-eyebrow{ font-size:clamp(13px,1.1vw,18px) !important; }
}

/* === 30.09 (2): цифра, технологии, герой, о компании === */
.fs-digits span{ background:none !important; -webkit-text-fill-color:currentColor !important; padding:0 .12em; box-sizing:border-box;
  filter:none !important;
  text-shadow:.5px .9px 0 #EA5A25, 1px 1.8px 0 #E25623, 1.5px 2.7px 0 #D9511F, 2px 3.6px 0 #CF4C1C, 2.5px 4.5px 0 #C54819, 3px 5.4px 0 #BA4316, 3.5px 6.3px 0 #B03E14,
    10px 22px 26px rgba(160,55,10,.26) !important; }
#tech .pb-card{ min-height:clamp(360px,27vw,470px) !important; }
#tech .pb-card-inner, #tech .pb-card-inner:not(#_){ min-height:192px !important; padding:18px 22px 20px !important; }
@media(min-width:901px){
  section.hero-dark:not(#_) .hero-action{ justify-self:start !important; }
  section.hero-dark:not(#_) .hero-action .cta-row{ justify-content:flex-end !important; }
  section.hero-dark:not(#_) h1{ font-size:min(6.1cqi, 10.8vh, 96px) !important; }
}
.abx{ grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; align-items:start !important; }
.abx-title{ max-width:none !important; font-size:var(--fs-5) !important; }
.abx-lead{ max-width:none !important; font-size:var(--fs-2) !important; line-height:1.5 !important; }
.abx-name{ font-size:var(--fs-2) !important; }
@media(max-width:900px){ .abx{ grid-template-columns:1fr !important; } }

/* === 30.09 (3): заголовок в три строки, кнопки справа внизу === */
@media(max-width:900px){ .hb{ display:none; } }
@media(min-width:901px){
  section.hero-dark:not(#_) .hero-inner{ grid-template-columns:minmax(0,1fr) auto !important; align-items:end !important; column-gap:clamp(32px,4vw,64px) !important; }
  section.hero-dark:not(#_) .hero-top{ grid-column:1 !important; }
  section.hero-dark:not(#_) .hero-action{ grid-column:2 !important; justify-self:end !important; align-self:end !important; }
  section.hero-dark:not(#_) .hero-action .cta-row{ flex-direction:row-reverse !important; justify-content:flex-end !important; }
  section.hero-dark:not(#_) h1{ font-size:min(5.6cqi, 9.4vh, 92px) !important; line-height:1.04 !important; white-space:nowrap !important; }
}
@media(min-width:901px) and (max-width:1199px){
  section.hero-dark:not(#_) .hero-action .cta-row{ flex-direction:column !important; align-items:stretch !important; }
}

/* ═══════════ ДИЗАЙН-СИСТЕМА: ШРИФТЫ (единая шкала) ═══════════
   caption 13 · body 16 · lead 20 · h3 24 · h2 40 · heading 52 · quote 48 · number 80 · hero = отдельный дисплейный размер
   на телефоне: lead 18 · h3 20 · h2 24 · heading 32 · quote 20 · number 48 */
:root{ --t-caption:13px; --t-body:16px; --t-lead:20px; --t-h3:24px; --t-h2:40px; --t-head:52px; --t-quote:48px; --t-num:80px; }
@media(max-width:900px){ :root{ --t-lead:18px; --t-h3:20px; --t-h2:24px; --t-head:32px; --t-quote:20px; --t-num:48px; } }

body h2.plate-h:not(#_){ font-size:var(--t-h2) !important; }
h2.plate-h .plate-n, h2.plate-h .plate-l{ font-size:1em !important; }
.cf-t, .cf-t .hl{ font-size:var(--t-quote) !important; }
.abx-title, .abx-title b, #contact h2{ font-size:var(--t-head) !important; }
.stat-card2-num, .num-plus{ font-size:var(--t-num) !important; }
#tech .pb-card-inner h3, #process h3, .faq h3, #faq h3, .pgx-t, .q-t{ font-size:var(--t-h3) !important; }
.fs-label, .fs-label b{ font-size:var(--t-body) !important; }
@media(min-width:901px){ .fs-digits{ left:6% !important; right:34% !important; bottom:11% !important; } .fs-digits span{ font-size:calc(var(--H) * .9) !important; display:flex !important; justify-content:center; white-space:nowrap; } }
#stats2 h4, #stats2 sup, .tech-lead, .abx-lead, .abx-name, .wp-label, .q-n{ font-size:var(--t-lead) !important; }
.stat-card2-num sup{ font-size:var(--t-lead) !important; }
.hero-eyebrow{ font-size:var(--t-caption) !important; }
@media(min-width:901px){
  section.hero-dark:not(#_) .hero-eyebrow{ font-size:var(--t-lead) !important; letter-spacing:.05em !important; }
}
@media(max-width:900px){ section.hero-dark:not(#_) .hero-eyebrow{ font-size:var(--t-body) !important; letter-spacing:.04em !important; } }

@media(min-width:901px){
  section.hero-dark:not(#_) .hero-eyebrow{ font-size:var(--t-lead) !important; text-transform:none !important; letter-spacing:0 !important; white-space:nowrap; color:rgba(255,255,255,.78) !important; }
  section.hero-dark:not(#_) h1{ font-size:min(7.6cqi, 11vh, 100px) !important; }
}
@media(max-width:900px){ section.hero-dark:not(#_) .hero-eyebrow{ text-transform:none !important; letter-spacing:0 !important; color:rgba(255,255,255,.78) !important; } }

/* === 30.09 (4): подпись героя — капс, связана с заголовком === */
@media(min-width:901px){
  section.hero-dark:not(#_) .hero-eyebrow{ font-size:clamp(16px, min(2cqi, 3vh), 28px) !important; text-transform:uppercase !important; letter-spacing:.08em !important; font-weight:700 !important; color:#fff !important; margin-bottom:clamp(14px,2.4vh,28px) !important; display:flex !important; align-items:center; white-space:nowrap; }
  section.hero-dark:not(#_) .hero-eyebrow::before{ content:''; flex:none; width:1.6em; height:3px; border-radius:2px; background:var(--accent2); margin-right:.7em; }
}
@media(max-width:900px){ section.hero-dark:not(#_) .hero-eyebrow{ font-size:var(--t-caption) !important; text-transform:uppercase !important; letter-spacing:.06em !important; font-weight:700 !important; color:#fff !important; } }

/* === 30.09 (5): ленты двигает скрипт (без огромных слоёв — в Safari они не рисовались) === */
.wp-track, .marquee-inner{ animation:none !important; }
.wp-left .wp-track, .wp-right .wp-track{ animation:none !important; }
.abx-title b{ color:inherit !important; }

/* === 30.09 (6): сам заголовок героя — капсом; подпись — обычным текстом === */
section.hero-dark:not(#_) h1{ text-transform:uppercase !important; letter-spacing:-.01em !important; line-height:1.06 !important; }
@media(min-width:901px){
  section.hero-dark:not(#_) h1{ font-size:min(5.3cqi, 9vh, 84px) !important; }
  section.hero-dark:not(#_) .hero-eyebrow{ text-transform:none !important; letter-spacing:0 !important; font-weight:400 !important; color:rgba(255,255,255,.85) !important; font-size:clamp(16px, min(1.7cqi, 2.8vh), 26px) !important; }
}
@media(max-width:900px){
  section.hero-dark:not(#_) h1{ font-size:min(7vw, 30px) !important; }
  section.hero-dark:not(#_) .hero-eyebrow{ text-transform:none !important; letter-spacing:0 !important; font-weight:400 !important; font-size:var(--t-body) !important; color:rgba(255,255,255,.85) !important; }
}

/* === 30.09 (7): герой светлее — без виньетки, затемнены только верх (меню) и низ (текст) === */
.hero-dark .hero-photo{ filter:none !important; }
.hero-photo::after{ background:
  linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 20%),
  linear-gradient(0deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.42) 26%, rgba(0,0,0,0) 58%) !important; }

/* === 30.09 (8): подпись героя — капс, без полоски === */
section.hero-dark:not(#_) .hero-eyebrow::before{ display:none !important; content:none !important; }
section.hero-dark:not(#_) .hero-eyebrow{ text-transform:uppercase !important; font-weight:700 !important; color:#fff !important; display:block !important; }
@media(min-width:901px){ section.hero-dark:not(#_) .hero-eyebrow{ letter-spacing:.08em !important; font-size:clamp(16px, min(1.9cqi, 3vh), 26px) !important; } }
@media(max-width:900px){ section.hero-dark:not(#_) .hero-eyebrow{ letter-spacing:.06em !important; font-size:var(--t-caption) !important; } }

/* === 30.09 (9): подпись героя меньше и ближе к заголовку === */
@media(min-width:901px){ section.hero-dark:not(#_) .hero-eyebrow{ font-size:clamp(13px, min(1.25cqi, 2.2vh), 18px) !important; letter-spacing:.07em !important; margin-bottom:clamp(6px,1.1vh,12px) !important; } }
@media(max-width:900px){ section.hero-dark:not(#_) .hero-eyebrow{ margin-bottom:8px !important; } }

/* === 30.09 (10): ровный левый край и короткое расстояние подпись → заголовок === */
section.hero-dark:not(#_) .hero-eyebrow{ margin-bottom:10px !important; }
section.hero-dark:not(#_) h1{ margin-top:-.08em !important; margin-left:-.035em !important; }

/* 30.09 (11) плашки технологий по размеру текста */
#tech .pb-card-inner, #tech .pb-card-inner:not(#_){ min-height:0 !important; padding:16px 20px 18px !important; }
#tech .pb-card-inner h3{ margin:0 0 4px !important; }

/* 01.10 карточки проектов — ссылки на страницы */
.arc-card{ cursor:pointer !important; }
.arc-card:focus-visible{outline:3px solid var(--blue);outline-offset:3px;}


/* 07.10 главный экран: новый заголовок, три строки, интерфейс сразу */
.hero-inner{ transition-duration:.5s !important; }
@media(min-width:901px){ section.hero-dark:not(#_) h1{ font-size:min(64px, 4.3cqi, 7vh) !important; white-space:nowrap !important; max-width:none !important; } }
@media(max-width:900px){ section.hero-dark:not(#_) h1{ font-size:clamp(22px, 7.6vw, 40px) !important; white-space:normal !important; overflow-wrap:normal; } }

/* 07.10 «Это не просто красиво»: слева текст, справа кубик Рубика */
#why{ padding-top:clamp(56px,7vw,112px) !important; padding-bottom:clamp(56px,7vw,112px) !important; }
#why .why-inner{ max-width:none !important; margin:0 !important; padding:0 clamp(20px,5vw,120px) !important; justify-items:start !important; gap:clamp(24px,3vw,48px) !important; }
#why .why-row{ display:grid !important; grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; align-items:center; gap:clamp(24px,5vw,96px); width:100%; }
#why .why-text{ max-width:30em; }
#why .why-eyebrow{ font-size:var(--t-caption) !important; letter-spacing:.14em; text-transform:uppercase; color:#5B6472 !important; opacity:1 !important; margin:0 0 16px; text-align:left !important; }
#why .why-body{ margin:0; font-size:var(--t-h3); line-height:1.4; font-weight:400; color:var(--ink); }
#why .why-row .stage{ justify-self:center; width:min(620px,100%) !important; }
@media(max-width:900px){ #why .why-row{ grid-template-columns:1fr !important; } #why .why-row .stage{ width:min(420px,100%) !important; } }

/* 07.10 «Цифры»: куб с цифрами на гранях */
#stats2.cube-sec{ padding:0 !important; }
.cf-big{ display:block; font-size:calc(var(--H) * .38); line-height:1; letter-spacing:-.03em; font-weight:700; margin-bottom:.12em; }
.cf-big small{ font-size:.38em; letter-spacing:0; font-weight:700; }
#stats2 .cf-t{ font-size:var(--t-h3) !important; font-weight:400; max-width:none; }
@media(max-width:900px){ .cf-big{ font-size:calc(var(--H) * .3); } }

/* 07.10 заголовок на всю ширину; кнопки справа, на уровне последней строки */
@media(min-width:1200px){
  section.hero-dark:not(#_) .hero-inner{ grid-template-columns:minmax(0,1fr) auto !important; }
  section.hero-dark:not(#_) .hero-top{ grid-column:1 / -1 !important; grid-row:1 !important; container-type:inline-size; }
  section.hero-dark:not(#_) .hero-action{ grid-column:2 !important; grid-row:1 !important; align-self:end; justify-self:end; position:relative; z-index:2; }
  section.hero-dark:not(#_) h1{ font-size:min(64px, 4.35cqi, 7.4vh) !important; }
}

/* 07.10 «Почему нас выбирают» */
#whyus{ padding:clamp(56px,7vw,112px) 0; }
.wc-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(14px,1.6vw,24px); margin-top:clamp(28px,3vw,48px); }
.wc-card{ position:relative; background:#F7F7F7; border-radius:24px; padding:clamp(24px,2.2vw,36px); min-height:clamp(200px,15vw,260px); display:flex; flex-direction:column; justify-content:space-between; gap:24px;
  box-shadow:0 3px 0 #D4D4D8, 0 16px 30px -20px rgba(0,0,0,.45); }
.wc-card::before{ content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:var(--scr-g) left 12px top 12px/6px 6px no-repeat, var(--scr-g) right 12px top 12px/6px 6px no-repeat, var(--scr-g) left 12px bottom 12px/6px 6px no-repeat, var(--scr-g) right 12px bottom 12px/6px 6px no-repeat; }
.wc-ico{ color:var(--orange); width:44px; height:44px; flex:none; margin-top:6px; }
.wc-card h3{ margin:0; font-size:var(--t-h3) !important; line-height:1.2; font-weight:400 !important; letter-spacing:-.01em; color:var(--ink); text-wrap:balance; }
@media(max-width:1100px){ .wc-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .wc-grid{ grid-template-columns:1fr; } .wc-card{ min-height:0; flex-direction:row; align-items:center; gap:18px; } .wc-ico{ margin:0; } .wc-card h3{ font-size:var(--t-lead) !important; } }
#project-gallery .tech-lead{ max-width:34em; margin:24px 0 clamp(24px,3vw,40px); }

/* 07.10 цифры на табличке */
.fs-label{display:none!important}
#stats2 .fs-digits span{font-size:calc(var(--H)*.36)!important;line-height:1;letter-spacing:-.03em;white-space:nowrap}
#stats2 .fs-digits span small{font-size:.4em;letter-spacing:0}
@media(max-width:900px){#stats2 .fs-digits span{font-size:96px!important}}

#stats2 .cf-t{font-size:clamp(28px,calc(var(--H)*.11),52px)!important;font-weight:700!important;line-height:1.1;max-width:80%}
#stats2 .fs-digits span{font-size:calc(var(--H)*.3)!important;flex-direction:column;align-items:center}
#stats2 .fs-digits span small{display:block;font-size:.3em;margin-top:.1em;line-height:1}
@media(max-width:900px){#stats2 .fs-digits span{font-size:80px!important}}

#stats2 .fs-digits{left:0!important;right:0!important;width:auto!important}

#stats2 .fs-digits span.n3{font-size:calc(var(--H)*.23)!important}
@media(max-width:900px){#stats2 .fs-digits span.n3{font-size:60px!important}}

/* 07.10 цифры крупно как раньше, единицы — как прежняя подпись */
#stats2 .floor-sign{width:calc(var(--H)*.92)!important}
#stats2 .fs-digits{left:0!important;right:0!important;bottom:11%!important}
#stats2 .fs-digits span{display:block!important;line-height:.8!important;font-size:calc(var(--H)*.62)!important}
#stats2 .fs-digits span.n3{font-size:calc(var(--H)*.46)!important}
#stats2 .fs-digits span.n4{font-size:calc(var(--H)*.37)!important}
#stats2 .fs-digits span small{position:absolute;right:clamp(14px,1.6vw,22px);bottom:calc(var(--H)*-.035);top:auto;display:block;font-size:clamp(18px,calc(var(--H)*.06),36px)!important;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ink);writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;margin:0;line-height:1;filter:none}
@media(max-width:900px){
 #stats2 .floor-sign{width:260px!important;height:140px!important}
 #stats2 .fs-digits span{font-size:120px!important}
 #stats2 .fs-digits span.n3{font-size:90px!important}
 #stats2 .fs-digits span.n4{font-size:72px!important}
 #stats2 .fs-digits span small{writing-mode:horizontal-tb;transform:none;font-size:14px!important;right:14px;bottom:2px}
}

#stats2 .fs-digits span{filter:none!important}
#stats2 .fs-digits span b{display:block;font-weight:inherit;color:var(--accent2);filter:drop-shadow(0 5px 0 var(--accent2-edge)) drop-shadow(0 18px 18px rgba(120,40,0,0.25))}
@media(max-width:900px){
 #stats2 .fs-digits span{font-size:100px!important}
 #stats2 .fs-digits span.n3{font-size:80px!important}
 #stats2 .fs-digits span.n4{font-size:64px!important}
 #stats2 .fs-digits span small{font-size:12px!important;right:12px;bottom:-4px}
}
#stats2 .fs-digits span small{text-shadow:none!important;-webkit-text-stroke:0!important;filter:none!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important}

/* 07.10 цифры выходят за табличку; куб компактнее */
@media(min-width:901px){
 #stats2.cube-sec{--W:min(940px,52vw);--H:min(440px,46vh)}
 #stats2 .floor-sign{width:calc(var(--H)*1.12)!important}
 #stats2 .fs-plate{height:42%!important}
 #stats2 .fs-digits{bottom:8%!important}
 #stats2 .fs-digits span{font-size:calc(var(--H)*.86)!important}
 #stats2 .fs-digits span.n3{font-size:calc(var(--H)*.6)!important}
 #stats2 .fs-digits span.n4{font-size:calc(var(--H)*.46)!important}
 #stats2 .cf-t{font-size:clamp(24px,calc(var(--H)*.1),44px)!important}
}
@media(max-width:900px){
 #stats2.cube-sec{--H:min(300px,80vw,46vh)}
 #stats2 .floor-sign{height:150px!important}
 #stats2 .fs-plate{height:50%!important}
 #stats2 .fs-digits span{font-size:112px!important}
 #stats2 .fs-digits span.n3{font-size:84px!important}
 #stats2 .fs-digits span.n4{font-size:68px!important}
}

/* 13.10 пояснение к цифре — под табличкой */
#stats2 .fs-digits span small{writing-mode:horizontal-tb!important;transform:none!important;left:0!important;right:0!important;top:auto!important;bottom:calc(var(--H)*-.17)!important;text-align:center;font-size:clamp(14px,calc(var(--H)*.05),24px)!important;letter-spacing:.04em;font-weight:800;text-transform:uppercase;white-space:nowrap}
@media(max-width:900px){#stats2 .fs-digits span small{bottom:-34px!important;font-size:13px!important}}

/* 13.10 цифры: плоские, без «пухлой» объёмной кромки и оранжевого свечения */
#stats2 .fs-digits span b{background:none!important;-webkit-text-fill-color:currentColor!important;color:var(--accent2)!important;text-shadow:none!important;-webkit-text-stroke:0!important;filter:drop-shadow(0 6px 8px rgba(0,0,0,.16))!important;letter-spacing:-.05em}

/* 13.10 «Это не просто красиво»: композиция и переносы */
@media(min-width:901px){
 #why .why-row{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)!important;gap:clamp(24px,4vw,72px)!important}
 #why .why-text{max-width:none!important}
 #why .why-body{font-size:clamp(26px,2.5vw,46px)!important;line-height:1.22!important;font-weight:600!important;letter-spacing:-.015em;text-wrap:balance;hyphens:none;overflow-wrap:normal;word-break:normal}
 #why .why-row .stage{width:min(700px,100%)!important}
}
#why .why-body{hyphens:none!important;text-wrap:balance}

/* 13.10 цифры как раньше (объёмная кромка), пояснение сбоку */
#stats2 .fs-digits span b{filter:none!important;
 text-shadow:.5px .9px 0 #EA5A25,1px 1.8px 0 #E25623,1.5px 2.7px 0 #D9511F,2px 3.6px 0 #CF4C1C,2.5px 4.5px 0 #C54819,3px 5.4px 0 #BA4316,3.5px 6.3px 0 #B03E14,10px 22px 26px rgba(160,55,10,.26)!important;
 letter-spacing:-.06em}
@media(min-width:901px){
 #stats2 .fs-digits{right:13%!important}
 #stats2 .fs-digits span.n3{font-size:calc(var(--H)*.5)!important}
 #stats2 .fs-digits span.n4{font-size:calc(var(--H)*.4)!important}
 #stats2 .fs-digits span small{writing-mode:vertical-rl!important;transform:rotate(180deg)!important;left:auto!important;right:calc(var(--H)*-.085)!important;bottom:calc(var(--H)*.02)!important;top:auto!important;white-space:normal!important;max-height:calc(var(--H)*.34);width:auto;text-align:left;font-size:clamp(12px,calc(var(--H)*.034),17px)!important;line-height:1.25;letter-spacing:.05em;font-weight:700}
}

@media(min-width:901px){
 #stats2 .fs-digits{right:22%!important}
 #stats2 .fs-digits span{font-size:calc(var(--H)*.72)!important}
 #stats2 .fs-digits span.n3{font-size:calc(var(--H)*.46)!important}
 #stats2 .fs-digits span.n4{font-size:calc(var(--H)*.37)!important}
 #stats2 .fs-digits span small{right:calc(var(--H)*-.11)!important}
}

/* 13.10 квадратная табличка, цифры выше и шире неё */
@media(min-width:901px){
 #stats2 .fs-plate{left:calc(44% - var(--H)*.18)!important;right:auto!important;width:calc(var(--H)*.36)!important;height:calc(var(--H)*.36)!important}
 #stats2 .fs-digits{left:0!important;right:12%!important;bottom:3%!important}
 #stats2 .fs-digits span{font-size:calc(var(--H)*.72)!important}
 #stats2 .fs-digits span.n3{font-size:calc(var(--H)*.55)!important}
 #stats2 .fs-digits span.n4{font-size:calc(var(--H)*.5)!important}
 #stats2 .fs-digits span small{right:calc(var(--H)*-.0)!important;left:auto!important;bottom:calc(var(--H)*.03)!important;max-height:calc(var(--H)*.36)}
}

@media(min-width:901px){
 #stats2 .fs-plate{left:calc(var(--H)*.205)!important;width:calc(var(--H)*.44)!important;height:calc(var(--H)*.44)!important}
 #stats2 .fs-digits{left:0!important;right:24%!important;bottom:6%!important}
 #stats2 .fs-digits span{font-size:calc(var(--H)*.72)!important}
 #stats2 .fs-digits span.n3{font-size:calc(var(--H)*.5)!important}
 #stats2 .fs-digits span.n4{font-size:calc(var(--H)*.42)!important}
 #stats2 .fs-digits span small{right:calc(var(--H)*-.21)!important;bottom:calc(var(--H)*.0)!important;max-height:calc(var(--H)*.44)}
}

#stats2 .fs-plate{background-color:#F3F6FB!important;box-shadow:0 6px 0 #D4D4D8, inset 0 0 0 1px #D4D4D8, 0 28px 40px -20px rgba(0,0,0,.4)!important}

/* 13.10 плашка крупнее */
@media(min-width:901px){
 #stats2 .floor-sign{width:calc(var(--H)*1.3)!important}
 #stats2 .fs-plate{left:calc(var(--H)*.27)!important;width:calc(var(--H)*.5)!important;height:calc(var(--H)*.5)!important}
 #stats2 .fs-digits{left:0!important;right:20%!important;bottom:15%!important}
 #stats2 .fs-digits span{font-size:calc(var(--H)*.8)!important}
 #stats2 .fs-digits span.n3{font-size:calc(var(--H)*.58)!important}
 #stats2 .fs-digits span.n4{font-size:calc(var(--H)*.48)!important}
 #stats2 .fs-digits span small{right:calc(var(--H)*-.2)!important;bottom:calc(var(--H)*-.15)!important;max-height:calc(var(--H)*.5)}
}

/* 13.10 «фигурная табличка»: квадратная плашка, объёмная цифра закреплена на ней
   и выходит за верхний и боковой край, пояснение напечатано на самой плашке */
@media(min-width:901px){
 #stats2 .floor-sign{width:calc(var(--H)*1.3)!important}
 #stats2 .fs-plate{left:calc(var(--H)*.06)!important;right:auto!important;bottom:0!important;width:calc(var(--H)*.62)!important;height:calc(var(--H)*.62)!important;border-radius:22px!important}
 #stats2 .fs-digits{left:0!important;right:auto!important;width:calc(var(--H)*1.3)!important;bottom:calc(var(--H)*.19)!important}
 #stats2 .fs-digits span{text-align:left!important;justify-content:flex-start!important;padding:0!important;font-size:calc(var(--H)*.8)!important}
 #stats2 .fs-digits span.n3{font-size:calc(var(--H)*.62)!important}
 #stats2 .fs-digits span.n4{font-size:calc(var(--H)*.5)!important;bottom:calc(var(--H)*.08)!important}
 #stats2 .fs-digits span small{writing-mode:horizontal-tb!important;transform:none!important;top:auto!important;right:auto!important;
   left:calc(var(--H)*.11)!important;width:calc(var(--H)*.5)!important;max-height:none!important;
   bottom:calc(var(--H)*-.145)!important;text-align:left!important;white-space:normal!important;
   font-size:clamp(13px,calc(var(--H)*.036),18px)!important;line-height:1.2!important;letter-spacing:.04em!important;font-weight:800!important;text-transform:uppercase}
 #stats2 .fs-digits span.n4 small{bottom:calc(var(--H)*-.225)!important}
}

@media(max-width:900px){
 #stats2 .floor-sign{width:270px!important;height:210px!important}
 #stats2 .fs-plate{left:10px!important;right:auto!important;bottom:0!important;width:170px!important;height:170px!important;border-radius:16px!important}
 #stats2 .fs-digits{left:0!important;right:auto!important;width:270px!important;bottom:56px!important}
 #stats2 .fs-digits span{text-align:left!important;justify-content:flex-start!important;padding:0!important;font-size:130px!important}
 #stats2 .fs-digits span.n3{font-size:96px!important}
 #stats2 .fs-digits span.n4{font-size:78px!important;bottom:-14px!important}
 #stats2 .fs-digits span small{writing-mode:horizontal-tb!important;transform:none!important;top:auto!important;right:auto!important;left:24px!important;width:140px!important;bottom:-42px!important;text-align:left!important;white-space:normal!important;font-size:11px!important;line-height:1.2!important;letter-spacing:.04em!important}
 #stats2 .fs-digits span.n4 small{bottom:-28px!important}
}

@media(max-width:900px){
 #stats2 .fs-plate{width:154px!important;height:154px!important}
 #stats2 .fs-digits{bottom:66px!important}
 #stats2 .fs-digits span{font-size:150px!important}
 #stats2 .fs-digits span.n3{font-size:120px!important}
 #stats2 .fs-digits span.n4{font-size:100px!important;bottom:16px!important}
 #stats2 .fs-digits span small{left:24px!important;width:124px!important;bottom:-52px!important}
 #stats2 .fs-digits span.n4 small{bottom:-68px!important}
}

/* 13.10 фигурная табличка — подложка крупнее */
@media(min-width:901px){
 #stats2 .floor-sign{width:calc(var(--H)*1.3)!important}
 #stats2 .fs-plate{left:calc(var(--H)*.04)!important;width:calc(var(--H)*.84)!important;height:calc(var(--H)*.84)!important;border-radius:28px!important}
 #stats2 .fs-digits{bottom:0!important}
 #stats2 .fs-digits span{font-size:calc(var(--H)*1.0)!important;bottom:calc(var(--H)*.22)!important}
 #stats2 .fs-digits span.n3{font-size:calc(var(--H)*.7)!important;bottom:calc(var(--H)*.36)!important}
 #stats2 .fs-digits span.n4{font-size:calc(var(--H)*.55)!important;bottom:calc(var(--H)*.46)!important}
 #stats2 .fs-digits span small{left:calc(var(--H)*.11)!important;width:calc(var(--H)*.66)!important;font-size:clamp(14px,calc(var(--H)*.045),22px)!important}
 #stats2 .fs-digits span.n2 small{bottom:calc(var(--H)*-.17)!important}
 #stats2 .fs-digits span.n3 small{bottom:calc(var(--H)*-.31)!important}
 #stats2 .fs-digits span.n4 small{bottom:calc(var(--H)*-.41)!important}
}

/* 14.10 пять этапов */
@media(min-width:901px){ #process .st-row{ grid-template-columns:repeat(5,1fr) !important; } }
.st-c5{ --r:-1.2deg; margin-top:clamp(90px,9vw,150px) !important; }
.st-c5 .st-tag{ background:#0055FF !important; color:#fff !important; }
@media(max-width:900px){ .st-c5{ margin-top:0 !important; transform:none; } }

/* 14.10 этапы: крупные объёмные цифры выходят за край таблички */
#process .st-row{ padding-top:clamp(70px,8vw,140px) !important; }
#process .st-card{ overflow:visible !important; justify-content:flex-end !important; align-items:flex-start !important; text-align:left !important; padding:0 9cqw 10cqw !important; }
#process .st-card h3{ position:static !important; font-size:clamp(17px,9.2cqw,36px) !important; font-weight:600 !important; line-height:1.1 !important; max-width:none !important; margin:0 !important; }
#process .st-tag{ display:none !important; }
#process .st-big{ position:absolute; z-index:5; left:8cqw; top:-30cqw; font-size:74cqw; line-height:.8; font-weight:800; letter-spacing:-.06em; color:#FB4903; pointer-events:none;
  text-shadow:.5px .9px 0 #EA5A25,1px 1.8px 0 #E25623,1.5px 2.7px 0 #D9511F,2px 3.6px 0 #CF4C1C,2.5px 4.5px 0 #C54819,3px 5.4px 0 #BA4316,3.5px 6.3px 0 #B03E14,10px 22px 26px rgba(160,55,10,.26); }
#process .st-c2 .st-big, #process .st-c5 .st-big{ color:#0055FF; text-shadow:.5px .9px 0 #0049DB,1px 1.8px 0 #0043CC,1.5px 2.7px 0 #003EBD,2px 3.6px 0 #0039AE,2.5px 4.5px 0 #00349F,3px 5.4px 0 #002F90,3.5px 6.3px 0 #002A80,10px 22px 26px rgba(0,30,120,.25); }
#process .st-c3 .st-big{ color:#16191B; text-shadow:.5px .9px 0 #111,1px 1.8px 0 #0d0d0d,1.5px 2.7px 0 #0a0a0a,2px 3.6px 0 #070707,2.5px 4.5px 0 #050505,3px 5.4px 0 #030303,3.5px 6.3px 0 #000,10px 22px 26px rgba(0,0,0,.25); }
@media(max-width:900px){
  #process .st-row{ gap:72px 18px !important; padding-top:70px !important; }
  #process .st-big{ font-size:44cqw; top:-18cqw; }
  #process .st-card h3{ font-size:clamp(18px,6.4cqw,30px) !important; }
}

/* 14.10 «Почему нас выбирают»: мозаика вместо одинаковой сетки */
@media(min-width:1101px){
  #whyus .wc-grid{ grid-template-columns:repeat(4,1fr) !important; grid-auto-rows:minmax(150px,auto); }
  #whyus .wc-big{ grid-column:span 2; grid-row:span 2; }
  #whyus .wc-orange{ grid-column:span 2; }
}
@media(max-width:1100px) and (min-width:561px){ #whyus .wc-big, #whyus .wc-orange{ grid-column:span 2; } }
#whyus .wc-card{ min-height:0 !important; justify-content:flex-start !important; gap:18px !important; transition:transform .25s ease, box-shadow .25s ease; }
#whyus .wc-card:hover{ transform:translateY(-4px); }
#whyus .wc-card h3{ font-weight:600 !important; font-size:clamp(18px,1.5vw,26px) !important; }
#whyus .wc-ico{ width:52px !important; height:52px !important; padding:12px; box-sizing:border-box; background:#fff; border-radius:14px; color:#0055FF !important; margin:0 !important; }
#whyus .wc-big{ background:#0055FF !important; color:#fff; justify-content:flex-end !important; overflow:visible; }
#whyus .wc-big h3{ color:#fff !important; font-size:clamp(24px,2.4vw,42px) !important; max-width:12ch; }
#whyus .wc-big .wc-ico{ display:none; }
#whyus .wc-num{ display:block; font-size:clamp(140px,15vw,280px); line-height:.8; font-weight:800; letter-spacing:-.06em; color:#FB4903; margin:auto 0 8px -.04em;
  text-shadow:.5px .9px 0 #EA5A25,1px 1.8px 0 #E25623,1.5px 2.7px 0 #D9511F,2px 3.6px 0 #CF4C1C,2.5px 4.5px 0 #C54819,3px 5.4px 0 #BA4316,3.5px 6.3px 0 #B03E14,10px 22px 30px rgba(0,20,90,.35); }
#whyus .wc-num i{ font-style:normal; font-size:.6em; vertical-align:.45em; }
#whyus .wc-orange{ background:#FB4903 !important; flex-direction:row !important; align-items:center !important; justify-content:space-between !important; }
#whyus .wc-orange h3{ color:#fff !important; font-size:clamp(24px,2.2vw,38px) !important; max-width:10ch; }
#whyus .wc-orange .wc-ico{ order:2; width:clamp(90px,8vw,130px) !important; height:clamp(90px,8vw,130px) !important; padding:22px; color:#FB4903 !important; border-radius:24px; }
@media(max-width:560px){ #whyus .wc-big{ min-height:300px !important; } #whyus .wc-num{ font-size:150px; } #whyus .wc-orange .wc-ico{ width:72px !important; height:72px !important; padding:16px; } }

#process .st-card{ padding:0 9% 10% !important; }
#process .st-big{ font-size:clamp(110px,14vw,230px) !important; top:-.42em !important; left:7% !important; }
#process .st-card h3{ font-size:clamp(17px,1.75vw,32px) !important; }
@media(max-width:900px){ #process .st-big{ font-size:150px !important; } #process .st-card h3{ font-size:24px !important; } }
@media(max-width:560px){ #whyus .wc-big{ flex-direction:column !important; align-items:flex-start !important; justify-content:flex-end !important; } #whyus .wc-big h3{ max-width:none; font-size:28px !important; } }

/* ===== 14.10 (v2) Спокойная переработка: #whyus и #process ===== */
/* --- «Почему нас выбирают»: ровная сетка, светлые карточки, оранжевый только в иконках --- */
#whyus .wc-grid{
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  grid-auto-rows:1fr !important;
  gap:clamp(14px,1.4vw,22px) !important;
  margin-top:clamp(28px,3vw,48px) !important;
}
#whyus .wc-card{
  grid-column:auto !important; grid-row:auto !important;
  background:#F2F6FD !important; color:var(--ink) !important;
  border-radius:22px !important;
  padding:clamp(22px,1.9vw,30px) !important;
  min-height:0 !important;
  display:flex !important; flex-direction:column !important;
  align-items:flex-start !important; justify-content:flex-start !important;
  gap:16px !important;
  box-shadow:inset 0 0 0 1px #E2EAF5 !important;
  transition:transform .22s ease, box-shadow .22s ease !important;
  overflow:visible !important;
}
#whyus .wc-card::before{ display:none !important; }
#whyus .wc-card:hover{ transform:translateY(-4px) !important; box-shadow:inset 0 0 0 1px #D4E0F2, 0 18px 30px -20px rgba(0,0,0,.4) !important; }
#whyus .wc-ico{
  display:block !important;
  width:52px !important; height:52px !important; padding:12px !important;
  box-sizing:border-box !important;
  background:#fff !important; border-radius:14px !important;
  color:var(--orange) !important; margin:0 !important;
  box-shadow:inset 0 0 0 1px #E6EDF8 !important;
}
#whyus .wc-card h3{
  color:var(--ink) !important;
  font-size:clamp(17px,1.25vw,21px) !important;
  font-weight:600 !important; line-height:1.25 !important;
  max-width:none !important; margin:0 !important; letter-spacing:-.01em !important;
}
/* карточка опыта — единственный акцент, спокойный синий фон */
#whyus .wc-big{
  background:#0055FF !important; color:#fff !important;
  justify-content:space-between !important;
}
#whyus .wc-big .wc-ico{ display:none !important; }
#whyus .wc-big .wc-num{
  display:block !important;
  font-size:clamp(56px,5vw,80px) !important; line-height:.9 !important;
  font-weight:800 !important; letter-spacing:-.04em !important;
  color:#fff !important; margin:0 !important; text-shadow:none !important;
}
#whyus .wc-big .wc-num i{ font-style:normal !important; font-size:.5em !important; vertical-align:.35em !important; color:#FFB59E !important; }
#whyus .wc-big h3{ color:#fff !important; font-size:clamp(19px,1.5vw,24px) !important; max-width:12ch !important; }
/* бывшая кислотная оранжевая карточка — как обычная светлая */
#whyus .wc-orange{
  background:#F2F6FD !important; color:var(--ink) !important;
  flex-direction:column !important; align-items:flex-start !important; justify-content:flex-start !important;
}
#whyus .wc-orange .wc-ico{ order:0 !important; width:52px !important; height:52px !important; padding:12px !important; color:var(--orange) !important; border-radius:14px !important; background:#fff !important; }
#whyus .wc-orange h3{ color:var(--ink) !important; max-width:none !important; font-size:clamp(17px,1.25vw,21px) !important; }
@media(max-width:1100px){ #whyus .wc-grid{ grid-template-columns:repeat(2,1fr) !important; } }
@media(max-width:560px){
  #whyus .wc-grid{ grid-template-columns:1fr !important; }
  #whyus .wc-card{ flex-direction:row !important; align-items:center !important; gap:16px !important; }
  #whyus .wc-ico{ flex:none !important; }
  #whyus .wc-big{ flex-direction:row !important; align-items:center !important; }
  #whyus .wc-big .wc-num{ font-size:56px !important; flex:none !important; }
}

/* --- «Этапы работы»: цветной веер карточек (референс) --- */
#process{ overflow:visible !important; }
#process .wrap{ overflow:visible !important; }
#process .st-row{
  display:flex !important; flex-wrap:nowrap !important;
  justify-content:center !important; align-items:flex-end !important;
  grid-template-columns:none !important; gap:0 !important;
  max-width:1120px !important; margin:clamp(28px,3vw,52px) auto 0 !important;
  padding:clamp(40px,4vw,70px) 0 clamp(44px,4vw,72px) !important;
}
#process .st-card{
  position:relative !important; flex:0 0 auto !important;
  width:clamp(156px,14.5vw,200px) !important;
  height:clamp(238px,19vw,292px) !important;
  min-height:0 !important; aspect-ratio:auto !important;
  margin:0 -7px !important; padding:clamp(18px,1.5vw,24px) !important;
  border-radius:26px !important; overflow:hidden !important;
  display:flex !important; flex-direction:column !important;
  align-items:flex-start !important; justify-content:flex-start !important;
  text-align:left !important; color:#fff !important; background:#2E6BF0;
  box-shadow:0 26px 42px -24px rgba(16,24,40,.5) !important;
  transition:transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease !important;
}
#process .st-card::before{ display:none !important; }
#process .nail{ display:none !important; }
#process .st-tag{ display:none !important; }
/* номер 0N — небольшой, сверху */
#process .st-big{
  position:static !important; z-index:auto !important; order:0 !important;
  font-size:clamp(14px,1vw,17px) !important; line-height:1 !important;
  font-weight:700 !important; letter-spacing:.04em !important;
  color:rgba(255,255,255,.82) !important; -webkit-text-fill-color:currentColor !important;
  -webkit-text-stroke:0 !important; text-shadow:none !important;
  margin:0 0 12px 0 !important; padding:0 !important; width:auto !important; pointer-events:none !important;
}
#process .st-big::before{ content:"0"; }
#process .st-c2 .st-big, #process .st-c5 .st-big, #process .st-c3 .st-big{ color:rgba(255,255,255,.82) !important; }
/* заголовок — крупный, белый, внизу */
#process .st-card h3{
  position:static !important; z-index:auto !important; order:1 !important;
  margin:0 !important; left:auto !important; top:auto !important; right:auto !important; bottom:auto !important;
  max-width:none !important; width:100% !important; white-space:normal !important;
  font-size:clamp(19px,1.5vw,25px) !important; font-weight:700 !important;
  line-height:1.16 !important; letter-spacing:-.01em !important; color:#fff !important;
}
/* цвета карточек */
#process .st-c1{ background:#2E6BF0 !important; }
#process .st-c2{ background:#13915E !important; }
#process .st-c3{ background:#E85C2A !important; }
#process .st-c4{ background:#20262E !important; }
#process .st-c5{ background:#0E9488 !important; }
/* дуга: наклон + смещение, центр сверху */
#process .st-card.st-c1{ transform:rotate(-8deg) translateY(38px) !important; z-index:1 !important; }
#process .st-card.st-c2{ transform:rotate(-4deg) translateY(15px) !important; z-index:2 !important; }
#process .st-card.st-c3{ transform:rotate(0deg)  translateY(0)    !important; z-index:3 !important; }
#process .st-card.st-c4{ transform:rotate(4deg)  translateY(15px) !important; z-index:2 !important; }
#process .st-card.st-c5{ transform:rotate(8deg)  translateY(38px) !important; z-index:1 !important; }
/* всегда видимы — без анимации «заколачивания» */
#process .st-anim .st-card, #process .st-card{ opacity:1 !important; }
#process .st-card.st-c1:hover{ transform:rotate(-8deg) translateY(22px) !important; z-index:9 !important; box-shadow:0 34px 50px -24px rgba(16,24,40,.6) !important; }
#process .st-card.st-c2:hover{ transform:rotate(-4deg) translateY(-1px) !important; z-index:9 !important; box-shadow:0 34px 50px -24px rgba(16,24,40,.6) !important; }
#process .st-card.st-c3:hover{ transform:rotate(0deg)  translateY(-14px) !important; z-index:9 !important; box-shadow:0 34px 50px -24px rgba(16,24,40,.6) !important; }
#process .st-card.st-c4:hover{ transform:rotate(4deg)  translateY(-1px) !important; z-index:9 !important; box-shadow:0 34px 50px -24px rgba(16,24,40,.6) !important; }
#process .st-card.st-c5:hover{ transform:rotate(8deg)  translateY(22px) !important; z-index:9 !important; box-shadow:0 34px 50px -24px rgba(16,24,40,.6) !important; }
@media(max-width:900px){
  #process .st-row{ flex-wrap:wrap !important; gap:14px !important; max-width:560px !important; padding:24px 0 8px !important; }
  #process .st-card{ width:calc(50% - 7px) !important; height:auto !important; min-height:150px !important; margin:0 !important; }
  #process .st-card.st-c1,#process .st-card.st-c2,#process .st-card.st-c3,#process .st-card.st-c4,#process .st-card.st-c5{ transform:none !important; }
  #process .st-card h3{ font-size:21px !important; }
}
@media(max-width:560px){
  #process .st-row{ flex-direction:column !important; flex-wrap:nowrap !important; max-width:420px !important; }
  #process .st-card{ width:100% !important; min-height:0 !important; flex-direction:row !important; align-items:center !important; gap:14px !important; height:auto !important; padding:18px 20px !important; }
  #process .st-big{ margin:0 !important; font-size:18px !important; flex:none !important; }
  #process .st-card h3{ font-size:19px !important; }
}

/* ===== 15.10 (v5) Чистый белый фон: без декоративных кругов ===== */
html{ background:#FFFFFF; }
body{ background:transparent !important; }
.panel-light{ background-color:transparent !important; }
.site-bg{ display:none; }

/* ===== Единая система (v8): «грани кубика» =====
   Интерфейс спокойный: белый, светло-серый, мягкие тени как у 3D-рендеров.
   Цвет живёт только в «плитках кубика» и в 3D. Палитра = цвета кубика Рубика. */
:root{ --k-blue:#0055FF; --k-orange:#FB4903; --k-yellow:#FFD21F; --k-green:#1FA24A; --k-red:#E5252A;
  --k-surface:#F3F4F6; --k-ink:#16191B; --k-muted:#5B6472;
  --k-shadow:0 1px 0 rgba(22,25,27,.04), 0 22px 40px -26px rgba(22,25,27,.35); }

/* плитка кубика: цветной квадрат с фаской, как наклейка на 3D-кубе */
.k-tile{ --t:var(--k-blue); --ic:#fff; display:grid; place-items:center; width:64px; height:64px; flex:none; border-radius:16px; background:var(--t); color:var(--ic);
  box-shadow:inset 0 -5px 0 rgba(0,0,0,.18), inset 0 2px 0 rgba(255,255,255,.35), 0 10px 18px -10px rgba(22,25,27,.5);
  transition:transform .6s cubic-bezier(.3,1.4,.4,1); }
.k-tile svg{ width:58%; height:58%; overflow:visible; }

/* ленты на светло-сером: те самые плавные линии, но тихо */
.k-ribbons{ position:relative; isolation:isolate; overflow:hidden; }
.k-ribbons::before{ content:""; position:absolute; inset:-25%; z-index:-1; pointer-events:none; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 420' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%23fff' stroke-linecap='round'%3E%3Cpath d='M-40 330 C 60 250 110 380 190 290 S 300 150 360 90' stroke-width='64'/%3E%3Cpath d='M-40 120 C 40 60 120 170 200 110 S 290 20 350 -10' stroke-width='28'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat; opacity:.9; transition:transform 1.2s cubic-bezier(.2,.9,.3,1); }

/* ---- Этапы работы ---- */
#process .pr-row{ list-style:none; margin:clamp(24px,3vw,48px) 0 0; padding:0; display:grid; gap:clamp(12px,1.4vw,20px); grid-template-columns:repeat(5,1fr); }
#process .pr-card{ position:relative; isolation:isolate; overflow:hidden; display:flex; flex-direction:column; gap:14px; min-height:clamp(290px,24vw,360px); padding:clamp(18px,1.6vw,26px);
  background:var(--k-surface); color:var(--k-ink); border-radius:24px; box-shadow:var(--k-shadow); transition:transform .4s cubic-bezier(.2,.9,.3,1), box-shadow .4s; }
#process .pr-card::before{ content:""; position:absolute; inset:-25%; z-index:-1; pointer-events:none; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 420' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%23fff' stroke-linecap='round'%3E%3Cpath d='M-40 330 C 60 250 110 380 190 290 S 300 150 360 90' stroke-width='64'/%3E%3Cpath d='M-40 120 C 40 60 120 170 200 110 S 290 20 350 -10' stroke-width='28'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat; transition:transform 1.2s cubic-bezier(.2,.9,.3,1); }
#process .pr-c2::before{ transform:scaleX(-1); } #process .pr-c3::before{ transform:scaleY(-1); } #process .pr-c4::before{ transform:scale(-1,-1); } #process .pr-c5::before{ transform:rotate(90deg); }
#process .pr-num{ font-size:13px; font-weight:700; letter-spacing:.08em; color:var(--k-muted); }
#process .pr-c1 .k-tile{ --t:var(--k-yellow); --ic:var(--k-ink); } #process .pr-c2 .k-tile{ --t:var(--k-blue); } #process .pr-c3 .k-tile{ --t:var(--k-orange); }
#process .pr-c4 .k-tile{ --t:var(--k-green); } #process .pr-c5 .k-tile{ --t:var(--k-red); }
#process .pr-card h3{ margin:auto 0 0 !important; font-size:clamp(19px,1.6vw,24px) !important; line-height:1.12 !important; font-weight:700 !important; letter-spacing:-.01em; white-space:normal !important; max-width:none !important; }
#process .pr-card p{ margin:0; font-size:14px; line-height:1.45; color:var(--k-muted); }
@media(hover:hover){
  #process .pr-card:hover{ transform:translateY(-6px); box-shadow:0 1px 0 rgba(22,25,27,.04), 0 30px 50px -28px rgba(22,25,27,.45); }
  #process .pr-card:hover .k-tile{ transform:rotate(90deg); }
  #process .pr-card:hover .k-tile svg{ transform:rotate(-90deg); transition:transform .6s cubic-bezier(.3,1.4,.4,1); }
}
#process .pr-row.pr-anim .pr-card{ opacity:0; transform:translateY(28px); }
#process .pr-row.pr-anim .pr-card.is-in{ opacity:1; transform:none; transition:opacity .5s ease, transform .7s cubic-bezier(.2,.9,.3,1), box-shadow .4s; }
@media(max-width:1100px){ #process .pr-row{ grid-template-columns:repeat(6,1fr); } #process .pr-card{ grid-column:span 2; min-height:280px; } #process .pr-c4{ grid-column:2 / span 2; } #process .pr-c5{ grid-column:4 / span 2; } }
@media(max-width:700px){
  #process .pr-row{ grid-template-columns:1fr; }
  #process .pr-card, #process .pr-c4, #process .pr-c5{ grid-column:auto; min-height:0; display:grid; grid-template-columns:64px 1fr; grid-template-areas:"t n" "t h" "t p"; column-gap:16px; row-gap:4px; align-items:center; }
  #process .k-tile{ grid-area:t; } #process .pr-num{ grid-area:n; } #process .pr-card h3{ grid-area:h; margin:0 !important; } #process .pr-card p{ grid-area:p; }
}

/* ---- Блок цифр: светло-серая панель с лентами вокруг параллелепипеда ---- */
#stats2 .cube-sticky{ isolation:isolate; }
#stats2 .cube-sticky::before{ content:""; position:absolute; z-index:-1; pointer-events:none; inset:clamp(12px,3vw,48px) clamp(12px,2.5vw,40px); border-radius:32px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 420' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%23fff' stroke-linecap='round'%3E%3Cpath d='M-40 330 C 60 250 110 380 190 290 S 300 150 360 90' stroke-width='64'/%3E%3Cpath d='M-40 120 C 40 60 120 170 200 110 S 290 20 350 -10' stroke-width='28'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat, var(--k-surface); }

/* ---- О компании ---- */
#about .ab2{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:clamp(28px,4vw,64px); align-items:start; margin-top:clamp(24px,3vw,44px); }
#about .ab2-title{ margin:0 0 18px; font-size:clamp(30px,3.6vw,54px); line-height:1.05; font-weight:700; letter-spacing:-.02em; }
#about .ab2-lead{ margin:0 0 24px; font-size:17px; line-height:1.5; max-width:46ch; color:var(--k-muted); }
#about .ab2-points{ list-style:none; margin:0; padding:0; display:grid; gap:2px; border-top:1px solid #E4E6EA; }
#about .ab2-points li{ display:flex; gap:16px; align-items:baseline; padding:16px 0; border-bottom:1px solid #E4E6EA; font-size:16px; line-height:1.4; }
#about .ab2-points li span{ flex:none; font-size:13px; font-weight:700; color:var(--k-orange); letter-spacing:.06em; }
#about .ab2-grid{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:16px; }
#about .ab2-card{ position:relative; display:flex; flex-direction:column; gap:10px; min-height:220px; padding:22px; background:var(--k-surface); border-radius:24px; box-shadow:var(--k-shadow); transition:transform .4s cubic-bezier(.2,.9,.3,1); }
#about .ab2-card b{ margin-top:auto; font-size:19px; line-height:1.15; font-weight:700; }
#about .ab2-card > span:last-child{ font-size:14px; line-height:1.45; color:var(--k-muted); }
#about .ab2-v .k-tile{ --t:var(--k-red); } #about .ab2-r .k-tile{ --t:var(--k-yellow); --ic:var(--k-ink); } #about .ab2-d .k-tile{ --t:var(--k-green); }
#about .ab2-card.is-here{ background:var(--k-blue); color:#fff; } #about .ab2-card.is-here > span:last-child{ color:rgba(255,255,255,.85); }
#about .ab2-card.is-here .k-tile{ --t:#fff; --ic:var(--k-blue); }
#about .ab2-here{ position:absolute; top:18px; right:18px; padding:6px 12px; background:#fff; color:var(--k-blue); border-radius:99px; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
@media(hover:hover){ #about .ab2-card:hover{ transform:translateY(-5px); } #about .ab2-card:hover .k-tile{ transform:rotate(90deg); } #about .ab2-card:hover .k-tile svg{ transform:rotate(-90deg); transition:transform .6s cubic-bezier(.3,1.4,.4,1); } }
#about .ab2-note{ grid-column:1 / -1; margin:0; padding:20px 24px; background:var(--k-ink); color:#fff; border-radius:20px; font-size:16px; text-align:center; }
@media(max-width:900px){ #about .ab2{ grid-template-columns:1fr; } }
@media(max-width:520px){ #about .ab2-grid{ grid-template-columns:1fr; } #about .ab2-card{ min-height:0; } }
@media(prefers-reduced-motion:reduce){ .k-tile, #process .pr-card, #about .ab2-card{ transition:none !important; } }

/* ---- Параллелепипед: грани кубика (чёрный корпус + цветная наклейка с фаской) ---- */
#stats2 .cf{ background:#16191B !important; color:#fff !important; outline:0 !important; box-shadow:none !important; }
#stats2 .cf::before{ content:""; position:absolute; inset:clamp(8px,1vw,14px); border-radius:clamp(14px,1.6vw,24px); background:var(--face,#0055FF); z-index:0;
  box-shadow:inset 0 -8px 0 rgba(0,0,0,.16), inset 0 3px 0 rgba(255,255,255,.3); }
#stats2 .cf-t{ position:relative; z-index:1; color:inherit !important; }
#stats2 .cf1{ --face:#0055FF; } #stats2 .cf2{ --face:#FB4903; } #stats2 .cf3{ --face:#1FA24A; } #stats2 .cf4{ --face:#FFD21F; color:#16191B !important; }

/* ---- Почему нас выбирают: как этапы — серые карточки, цветные плитки ---- */
#whyus .wc-grid .wc-card{ background:var(--k-surface) !important; border:0 !important; border-radius:24px !important; box-shadow:var(--k-shadow) !important; color:var(--k-ink) !important; gap:18px !important; transition:transform .4s cubic-bezier(.2,.9,.3,1) !important; }
#whyus .wc-grid .wc-card::before{ display:none !important; }
#whyus .wc-grid .wc-card h3{ font-weight:700 !important; color:var(--k-ink) !important; font-size:clamp(17px,1.35vw,21px) !important; line-height:1.2 !important; }
#whyus .wc-grid .wc-ico{ --t:#0055FF; width:56px !important; height:56px !important; padding:13px !important; box-sizing:border-box; border-radius:16px !important; background:var(--t) !important; border:0 !important; color:#fff !important; stroke:#fff !important;
  box-shadow:inset 0 -5px 0 rgba(0,0,0,.18), inset 0 2px 0 rgba(255,255,255,.35), 0 10px 18px -10px rgba(22,25,27,.5); transition:transform .6s cubic-bezier(.3,1.4,.4,1); margin:0 !important; }
#whyus .wc-grid .wc-card:nth-child(2) .wc-ico{ --t:#FB4903; } #whyus .wc-grid .wc-card:nth-child(3) .wc-ico{ --t:#1FA24A; } #whyus .wc-grid .wc-card:nth-child(4) .wc-ico{ --t:#E5252A; }
#whyus .wc-grid .wc-card:nth-child(5) .wc-ico{ --t:#FFD21F; color:#16191B !important; stroke:#16191B !important; } #whyus .wc-grid .wc-card:nth-child(6) .wc-ico{ --t:#0055FF; }
#whyus .wc-grid .wc-card:nth-child(7) .wc-ico{ --t:#FB4903; } #whyus .wc-grid .wc-card:nth-child(8) .wc-ico{ --t:#1FA24A; }
#whyus .wc-grid .wc-card.wc-big{ background:#0055FF !important; color:#fff !important; }
#whyus .wc-grid .wc-card.wc-big h3, #whyus .wc-grid .wc-card.wc-big .wc-num, #whyus .wc-grid .wc-card.wc-big .wc-num i{ color:#fff !important; }
#whyus .wc-grid .wc-card.wc-big .wc-ico{ display:none !important; }
#whyus .wc-grid .wc-card.wc-orange{ background:var(--k-surface) !important; } #whyus .wc-grid .wc-card.wc-orange h3{ color:var(--k-ink) !important; }
@media(hover:hover){ #whyus .wc-grid .wc-card:hover{ transform:translateY(-5px) !important; } #whyus .wc-grid .wc-card:hover .wc-ico{ transform:translateY(-3px) scale(1.06); } }

/* ---- Заявка: меньше текста, форма — главное ---- */
#contact .ct-lead{ margin-bottom:28px !important; }

/* =====================================================================
   ДИЗАЙН-СИСТЕМА v10 «Грани кубика»
   Смысл: школа собирается как кубик Рубика — идеология, навигация, дизайн,
   искусство, просвещение. Каждый блок = грань со своим цветом (как цветовое
   кодирование этажей в школьной навигации). Unbounded — шрифт вывесок:
   таблички, цифры, главный заголовок. Manrope — весь текст.
   ===================================================================== */
:root{
  --f-sign:'Days One', 'Manrope', Arial, sans-serif;
  --f-text:'Manrope', 'HelveticaLocal', Helvetica, Arial, sans-serif;
  --c-ink:#16191B; --c-muted:#5B6472; --c-subtle:#8A93A1; --c-line:#E4E6EA; --c-surface:#F3F4F6;
  --t-cap:13px; --t-s:15px; --t-b:17px; --t-lead:clamp(17px, 15px + .35vw, 20px);
  --t-h3:clamp(18px, 16px + .4vw, 22px); --t-h2:clamp(28px, 20px + 1.6vw, 44px);
  --sec-y:clamp(80px, 8vw, 128px); --head-gap:clamp(28px, 3vw, 44px);
  --r-card:24px; --r-tile:16px;
}
body, button, input, textarea, select{ font-family:var(--f-text) !important; }
body{ color:var(--c-ink); font-size:var(--t-b); }

/* цветовое кодирование граней (номер на табличке и акценты блока) */
#why{ --accent2:#0055FF; --accent2-edge:#0040C2; }
#cases{ --accent2:#FB4903; --accent2-edge:#D9481A; }
#project-gallery{ --accent2:#1FA24A; --accent2-edge:#178039; }
#whyus{ --accent2:#E5252A; --accent2-edge:#B81D21; }
#process{ --accent2:#FFD21F; --accent2-edge:#D9AE00; }
#about{ --accent2:#0055FF; --accent2-edge:#0040C2; }
#faq{ --accent2:#FB4903; --accent2-edge:#D9481A; }
#testimonials{ --accent2:#1FA24A; --accent2-edge:#178039; }
#process h2.plate-h .plate-n{ color:var(--c-ink) !important; }

/* таблички-заголовки: шрифт вывесок */
body h2.plate-h:not(#_), body h2.plate-h:not(#_) .plate-n, body h2.plate-h:not(#_) .plate-l{ font-family:var(--f-sign) !important; font-weight:600 !important; letter-spacing:-.01em !important; }
body h2.plate-h:not(#_){ font-size:clamp(20px, 12px + 1.3vw, 32px) !important; }

/* ритм секций: одинаковые поля и отступ от таблички до контента */
.panel section:not(.marquee-row):not(.cube-sec):not(.hero-dark), #why, #cases, #project-gallery, #whyus, #process, #about, #faq, #testimonials, #contact{ padding-top:var(--sec-y) !important; padding-bottom:var(--sec-y) !important; }
.section-head{ margin-bottom:var(--head-gap) !important; }
#process .pr-row, #about .ab2, #whyus .wc-grid{ margin-top:0 !important; }

/* главный заголовок — вывеска */
.hero-dark h1{ font-family:var(--f-text) !important; font-weight:800 !important; letter-spacing:-.025em !important; line-height:1.02 !important; }
.hero-eyebrow{ font-family:var(--f-text) !important; font-weight:700 !important; letter-spacing:.08em !important; }

/* заголовки уровня h2 (манифест, заявка) — один стиль */
#why .why-body, #contact h2{ font-family:var(--f-text) !important; font-size:var(--t-h2) !important; font-weight:700 !important; line-height:1.12 !important; letter-spacing:-.025em !important; }

/* h3 карточек — один стиль везде */
#process .pr-card h3, #whyus .wc-grid .wc-card h3, #about .ab2-card b, .faq-item .q-t, #testimonials .who{ font-family:var(--f-text) !important; font-size:var(--t-h3) !important; font-weight:700 !important; letter-spacing:-.015em !important; line-height:1.2 !important; }
.faq-item .q-t{ font-size:clamp(17px, 15px + .35vw, 20px) !important; font-weight:600 !important; }
#testimonials .who{ font-size:var(--t-b) !important; }

/* текст */
#process .pr-card p, #about .ab2-card > span:last-child, #about .ab2-points li{ font-size:var(--t-s) !important; }
#about .ab2-lead, #contact .ct-lead, .pgx-lead, #project-gallery .section-head + p, #project-gallery p:first-of-type{ font-size:var(--t-lead) !important; line-height:1.5 !important; color:var(--c-muted) !important; }
.faq-item p, #testimonials .testimonial p{ font-size:var(--t-b) !important; line-height:1.55 !important; }
#process .pr-num, .form-row label, #about .ab2-points li span{ font-size:var(--t-cap) !important; }

/* большие цифры — шрифт вывесок */
#whyus .wc-num, .fs-digits b, #process .pr-num{ font-family:var(--f-sign) !important; }
#whyus .wc-num{ font-weight:600 !important; letter-spacing:-.04em !important; }
.fs-digits b{ font-weight:700 !important; letter-spacing:-.04em !important; }

/* плитка кубика: один размер во всех блоках */
.k-tile, #whyus .wc-grid .wc-ico{ width:56px !important; height:56px !important; border-radius:var(--r-tile) !important; }
.k-tile svg{ width:30px !important; height:30px !important; }

/* параллелепипед: грани в цветах кубика, без чёрной рамки */
#stats2 .cf{ background:var(--face,#0055FF) !important; box-shadow:inset 0 0 0 1px rgba(0,0,0,.06), inset 0 -10px 0 rgba(0,0,0,.12), inset 0 4px 0 rgba(255,255,255,.22) !important; }
#stats2 .cf::before{ display:none !important; }

/* карточки без фото: фирменная заглушка вместо серого градиента */
.arc-photo--placeholder, .tr-photo--empty{ background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 420' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%23fff' stroke-linecap='round'%3E%3Cpath d='M-40 330 C 60 250 110 380 190 290 S 300 150 360 90' stroke-width='64'/%3E%3Cpath d='M-40 120 C 40 60 120 170 200 110 S 290 20 350 -10' stroke-width='28'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat, var(--c-surface) !important; }
.tr-photo--empty::before{ color:var(--c-subtle) !important; font-family:var(--f-text) !important; }

/* кнопки: на узких экранах не тянутся на всю ширину */
@media(max-width:900px){
  .hero-action .cta-row{ align-items:flex-start !important; }
  .hero-action .cta-row .btn{ width:auto !important; justify-content:flex-start !important; gap:14px; }
}

@media(min-width:901px){ html body .hero-dark h1:not(#_){ font-size:min(62px, 4.85cqi, 8vh) !important; } }
@media(max-width:900px){ html body .hero-dark h1:not(#_){ white-space:normal !important; font-size:clamp(24px, 6.4vw, 40px) !important; } }

/* параллелепипед на средних экранах: место для объёмных цифр */
@media(min-width:901px) and (max-width:1200px){ html body #stats2.cube-sec{ --W:min(940px,44vw) !important; } }

/* объёмные цифры в шрифте вывесок шире — компенсируем размер */
#stats2 .fs-digits b{ font-size:82% !important; }

/* ===== v11 ===== */
/* Days One — одно начертание: без искусственного жирного */
body h2.plate-h:not(#_), body h2.plate-h:not(#_) .plate-n, body h2.plate-h:not(#_) .plate-l,
#whyus .wc-num, .fs-digits b, #process .pr-num{ font-weight:400 !important; font-synthesis:none; }

/* иконки в плитках: плавность в обе стороны, без пружины на возврате */
.k-tile{ transition:transform .5s cubic-bezier(.2,.8,.2,1) !important; }
.k-tile svg{ transition:transform .5s cubic-bezier(.2,.8,.2,1) !important; }

/* параллелепипед: грань заполнена — номер сверху, крупная подпись снизу */
html body #stats2 .cf{ display:flex !important; flex-direction:column; justify-content:flex-end; align-items:flex-start; padding:clamp(24px,3.2vw,52px) !important; }
html body #stats2 .cf .cf-t{ font-family:var(--f-text) !important; font-weight:800 !important; font-size:clamp(30px, calc(var(--H) * .15), 84px) !important; line-height:1 !important; letter-spacing:-.035em !important; max-width:13ch !important; text-wrap:balance; text-align:left; margin:0 !important; }

/* ===== Мобильная версия (v12) ===== */
/* меню и шапка — шрифт системы; «Заявка» — кнопка, как остальные призывы */
#siteNav a, nav a{ font-family:var(--f-text) !important; }
@media(max-width:900px){
  #siteNav a{ font-weight:600 !important; font-size:24px !important; letter-spacing:-.01em; }
  #siteNav a[href="#contact"]{ align-self:flex-start; margin-top:16px; padding:14px 26px !important; border-radius:99px !important; background:#0055FF !important; color:#fff !important; border:0 !important; font-size:16px !important; text-transform:uppercase; letter-spacing:.04em; }
}
@media(max-width:700px){
  /* манифест — без девяти строк */
  #why .why-body{ font-size:clamp(22px, 6.2vw, 26px) !important; }
  /* грани параллелепипеда: подпись в пределах грани */
  html body #stats2 .cf .cf-t{ font-size:clamp(22px, 6.6vw, 30px) !important; max-width:100% !important; }
  html body #stats2 .cf{ padding:20px !important; }
  html body #stats2 .cf::before{ top:18px !important; left:20px !important; font-size:12px; }
    /* «О компании»: как этапы — плитка слева, текст справа */
  #about .ab2-grid{ gap:12px; }
  #about .ab2-card{ display:grid !important; grid-template-columns:56px 1fr; grid-template-areas:"t b" "t s"; column-gap:16px; row-gap:4px; align-items:center; padding:18px !important; }
  #about .ab2-card .k-tile{ grid-area:t; } #about .ab2-card b{ grid-area:b; margin:0 !important; } #about .ab2-card > span:last-child{ grid-area:s; }
  #about .ab2-here{ position:static !important; grid-column:2; justify-self:start; margin-bottom:6px; order:-1; }
  #about .ab2-card.is-here{ grid-template-areas:"t h" "t b" "t s"; } #about .ab2-card.is-here .ab2-here{ grid-area:h; }
  /* одинаковый зазор между карточками во всех блоках */
  #whyus .wc-grid{ gap:12px !important; } #process .pr-row{ gap:12px !important; }
  #whyus .wc-grid .wc-card{ padding:18px !important; }
}
/* мелкие подписи — не меньше 12 px */
#stats2 .fs-digits small, #stats2 small{ font-size:max(12px, 1em) !important; }
/* переключатели галереи: зона нажатия 44 px при той же тонкой полоске */
.pgx-bar{ position:relative; }
.pgx-bar::after{ content:""; position:absolute; left:-4px; right:-4px; top:-14px; bottom:-14px; }

/* ===== Мобильная версия (v13) ===== */
@media(max-width:700px){
  /* шкала для телефона: всё на ступень меньше */
  :root{ --t-cap:12px; --t-s:14px; --t-b:15px; --t-lead:16px; --t-h3:17px; --t-h2:23px; --sec-y:64px; --head-gap:24px; }
  body h2.plate-h:not(#_){ font-size:17px !important; }
  #why .why-body{ font-size:21px !important; line-height:1.18 !important; }
  #contact h2{ font-size:24px !important; }
  .faq-item .q-t{ font-size:16px !important; }
  #whyus .wc-num{ font-size:96px !important; }

  /* главный экран: затемнение под текстом, компактные кнопки */
  .hero-photo::after{ background:linear-gradient(180deg, rgba(10,12,14,.35) 0%, rgba(10,12,14,0) 22%), linear-gradient(0deg, rgba(10,12,14,.92) 0%, rgba(10,12,14,.78) 38%, rgba(10,12,14,.15) 70%, rgba(10,12,14,0) 85%) !important; }
  html body .hero-dark h1:not(#_){ font-size:26px !important; line-height:1.08 !important; }
  .hero-eyebrow{ font-size:11px !important; letter-spacing:.1em !important; opacity:.85; }
  .hero-action .cta-row{ gap:10px !important; }
  .hero-action .cta-row .btn{ min-height:48px !important; padding-top:8px !important; padding-bottom:8px !important; font-size:12px !important; }

  /* параллелепипед: вытянутый брусок как на десктопе, табличка с цифрой заходит на него */
  html body #stats2.cube-sec{ --W:calc(100vw - 48px) !important; --H:min(58vw, 240px) !important; height:300vh !important; }
  html body #stats2 .cube-sticky::before{ inset:max(16px, calc(50% - 290px)) 12px !important; border-radius:24px !important; }
  html body #stats2 .floor-sign{ justify-self:end !important; margin:-34px 14px 0 0 !important; position:relative; z-index:5; transform:scale(1.12); transform-origin:right top; }

  /* «Как это выглядит»: карточки с фото, листаются вбок — фото и подпись всегда вместе */
  #project-gallery .pgx-view{ display:none !important; }
  #project-gallery .pgx-list{ display:flex !important; flex-direction:row !important; align-items:flex-start; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; margin:0 -20px !important; padding:0 20px 8px !important; scroll-padding-left:20px; width:auto !important; max-width:none !important; scrollbar-width:none; border:0 !important; }
  #project-gallery .pgx-list::-webkit-scrollbar{ display:none; }
  #project-gallery .pgx-item{ flex:0 0 72%; display:block !important; height:auto !important; scroll-snap-align:start; border:0 !important; padding:0 !important; }
  #project-gallery .pgx-btn{ display:block !important; padding:0 !important; pointer-events:none; }
  #project-gallery .pgx-mimg{ display:block; aspect-ratio:4/5; border-radius:20px; background-size:cover; background-position:center; margin-bottom:12px; box-shadow:var(--k-shadow); }
  #project-gallery .pgx-n{ display:inline-block; font-family:var(--f-sign); font-size:12px !important; color:var(--accent2) !important; margin-bottom:4px; }
  #project-gallery .pgx-t{ color:var(--c-ink) !important; font-size:17px !important; font-weight:700 !important; line-height:1.2 !important; display:block; }
  #project-gallery .pgx-p{ font-size:13px !important; color:var(--c-muted) !important; }
  #project-gallery .pgx-bar, #project-gallery .pgx-bars{ display:none !important; }

  /* Сначала поля заявки, затем иллюстрация класса. */
  #contact .ct-scene{ order:2; }
  #contact .ct-side{ order:1; }
}

.pgx-mimg{ display:none; }
@media(max-width:700px){ #project-gallery .pgx-mimg{ display:block; } }

/* табличка этажа: одна цифра — узкая табличка, чтобы всё помещалось на экране */
@media(min-width:901px){ html body #stats2 .floor-sign{ width:calc(var(--H) * .82) !important; } html body #stats2 .fs-digits{ left:0 !important; right:0 !important; } html body #stats2 .fs-digits span{ left:0 !important; right:0 !important; } }
#stats2 .fs-digits small{ font-family:var(--f-sign); letter-spacing:.06em; }

html body #stats2 .cf::before{ display:block !important; inset:auto !important; background:none !important; box-shadow:none !important; border-radius:0 !important; z-index:1;
  top:clamp(20px,2.6vw,44px) !important; left:clamp(24px,3.2vw,52px) !important; font-family:var(--f-sign); font-size:clamp(13px,1.1vw,17px); letter-spacing:.04em; opacity:.8; color:inherit; }
html body #stats2 .cf1::before{ content:"Проекты"; } html body #stats2 .cf2::before{ content:"Площади"; }
html body #stats2 .cf3::before{ content:"Муралы"; } html body #stats2 .cf4::before{ content:"Опыт"; }
@media(min-width:701px){ html body #stats2 .cf .cf-t{ font-size:max(24px, min(calc(var(--H) * .15), calc((var(--W) - 2 * clamp(24px,3.2vw,52px)) / 6.3))) !important; } }

/* cookie: светлая компактная плашка вместо чёрной */
html body .cookie{ background:#fff !important; color:var(--ink) !important; border:1px solid #E3E6EB !important; box-shadow:0 12px 32px -12px rgba(22,25,27,.28) !important; border-radius:16px !important; padding:14px 16px !important; max-width:min(560px, calc(100vw - 32px)) !important; left:auto !important; right:16px !important; bottom:16px !important; transform:none !important; gap:14px !important; }
html body .cookie p{ font-size:13px !important; line-height:1.45 !important; min-width:0 !important; color:var(--c-muted) !important; }
html body .cookie a{ color:var(--ink) !important; }
html body .cookie .btn{ padding:10px 18px !important; font-size:13px !important; flex:none; }
@media(max-width:700px){ html body .cookie{ left:12px !important; right:12px !important; bottom:12px !important; flex-wrap:wrap; } }

/* «Почему нас выбирают» — слайдер цветных карточек */
html body .wy{ margin-top:clamp(28px,3vw,48px); }
html body .wy-track{ list-style:none; margin:0; padding:0 0 6px; display:flex; gap:clamp(14px,1.6vw,24px); overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; -webkit-overflow-scrolling:touch; outline-offset:6px; }
html body .wy-track::-webkit-scrollbar{ display:none; }
html body .wy-slide{ flex:0 0 clamp(260px, 29vw, 400px); height:clamp(300px, 28vw, 400px); scroll-snap-align:start; position:relative; border-radius:var(--r-card); padding:clamp(22px,2.2vw,32px); box-sizing:border-box; display:flex; flex-direction:column; justify-content:space-between; color:#fff; overflow:hidden; box-shadow:var(--k-shadow); transition:transform .35s cubic-bezier(.2,.7,.2,1); }
html body .wy-slide::after{ content:""; position:absolute; right:-18%; top:-22%; width:70%; aspect-ratio:1; border-radius:28%; background:rgba(255,255,255,.1); transform:rotate(18deg); pointer-events:none; }
@media(hover:hover){ html body .wy-slide:hover{ transform:translateY(-6px); } }
html body .wy-blue{ background:#0055FF; } html body .wy-orange{ background:#FB4903; } html body .wy-green{ background:#1FA24A; } html body .wy-red{ background:#E5252A; }
html body .wy-yellow{ background:#FFD21F; color:var(--ink); }
html body .wy-n{ font-family:var(--f-sign); font-size:13px; letter-spacing:.06em; opacity:.8; position:relative; z-index:1; }
html body .wy-ico{ position:relative; z-index:1; width:64px; height:64px; border-radius:var(--r-tile); background:rgba(255,255,255,.2); display:grid; place-items:center; margin-top:auto; margin-bottom:18px; }
html body .wy-yellow .wy-ico{ background:rgba(22,25,27,.1); }
html body .wy-ico svg{ width:34px; height:34px; stroke:currentColor; }
html body .wy-big{ position:relative; z-index:1; font-family:var(--f-sign); font-size:clamp(88px,9vw,144px); line-height:1; margin-top:auto; margin-bottom:14px; }
html body .wy-big i{ font-style:normal; font-size:.5em; vertical-align:top; }
html body .wy-slide h3{ position:relative; z-index:1; margin:0; font-family:var(--f-text); font-weight:700; font-size:clamp(19px,1.7vw,26px); line-height:1.22; letter-spacing:-.01em; color:inherit; }
html body .wy-ctl{ display:flex; align-items:center; gap:12px; margin-top:clamp(18px,2vw,28px); }
html body .wy-bar{ flex:1; height:4px; border-radius:4px; background:#E3E6EB; overflow:hidden; margin-right:12px; }
html body .wy-bar i{ display:block; height:100%; width:30%; background:var(--ink); border-radius:4px; transition:width .25s, transform .25s; transform-origin:left; }
html body .wy-btn{ width:48px; height:48px; border-radius:50%; border:1px solid #D5D9E0; background:#fff; color:var(--ink); display:grid; place-items:center; cursor:pointer; transition:background .2s,border-color .2s,opacity .2s; }
html body .wy-btn:hover:not(:disabled){ border-color:var(--ink); background:var(--surface); }
html body .wy-btn:disabled{ opacity:.35; cursor:default; }
@media(max-width:700px){ html body .wy-slide{ flex-basis:78%; height:300px; } html body .wy-btn{ display:none; } html body .wy-bar{ margin-right:0; } }

/* Слоган, который печатает УФ-принтер */
#wallprint{ background:#fff; padding:clamp(56px,8vw,120px) 0 clamp(64px,9vw,136px); overflow:hidden; }
#wallprint .wrap{ text-align:center; }
html body .wp-cap{ margin:0 0 clamp(44px,6vw,92px); font-family:var(--f-sign); font-size:var(--t-cap); letter-spacing:.08em; text-transform:uppercase; color:var(--subtle); }
.wp-stage{ position:relative; display:inline-block; font-size:clamp(38px,8.4vw,136px); --p:0; text-align:left; }
html body .wp-text{ margin:0; font-family:var(--f-text); font-weight:800; font-size:1em; line-height:1.06; letter-spacing:-.035em; color:var(--ink); display:flex; flex-direction:column; padding:.04em .06em .1em 0; clip-path:inset(0 calc((1 - var(--p)) * 100% + .02em) 0 0); }
html body .wp-text span{ display:block; white-space:nowrap; }
html body .wp-text span:first-child{ color:#0055FF; }
html body .wp-text em{ font-style:normal; color:#FB4903; }
.wp-printer{ position:absolute; height:3.3em; width:1.32em; bottom:-.5em; left:calc(var(--p) * 100%); margin-left:-.66em; pointer-events:none; filter:drop-shadow(.05em .08em .1em rgba(22,25,27,.22)); }
.wp-head{ transform-box:fill-box; }
.wp-stage.is-printing .wp-head{ animation:wpHead .42s linear infinite alternate; }
@keyframes wpHead{ from{ transform:translateY(-50px); } to{ transform:translateY(96px); } }
@media(prefers-reduced-motion:reduce){ .wp-stage{ --p:1 !important; } .wp-stage.is-printing .wp-head{ animation:none; } }
@media(max-width:700px){ .wp-stage{ font-size:clamp(30px,10.5vw,60px); } }

:root{ --surface:#F3F4F6; --subtle:#8A93A1; }

/* 3D-класс: мягкая тень под сценой */
#contact .iso-gl, #contact .iso-room{ filter:drop-shadow(0 4px 6px rgba(22,25,27,.16)) drop-shadow(0 26px 30px rgba(22,25,27,.2)) drop-shadow(0 60px 50px rgba(22,25,27,.1)); }

/* УФ-печать: принтер выводит картинку на стене */
.wp-stage{ font-size:clamp(96px,16vw,250px); padding-bottom:.3em; }
html body .wp-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; margin:0; padding:0; border:0; }
html body .wp-art{ height:2.6em; clip-path:inset(0 calc((1 - var(--p)) * 100%) 0 0); }
html body .wp-art img{ display:block; height:100%; width:auto; mix-blend-mode:multiply; }
.wp-printer{ bottom:0 !important; height:3.2em !important; width:1.28em !important; margin-left:-.64em !important; }
html body .wp-cap{ margin-bottom:clamp(28px,4vw,56px); }
@media(max-width:700px){ .wp-stage{ font-size:clamp(64px,31vw,140px); } }

/* принтер: корпус ниже, картинка идёт строго за головкой */
.wp-stage{ padding-bottom:.86em; }
.wp-printer{ height:3.6em !important; width:1.44em !important; margin-left:-.72em !important; }
.wp-stage.is-printing .wp-head{ animation:wpHead2 .8s linear infinite alternate; }
@keyframes wpHead2{ from{ transform:translateY(-96px); } to{ transform:translateY(78px); } }

/* ───────── первый экран: чертёж школы → настоящая школа ───────── */
html body > header, html body header:first-of-type{ position:sticky !important; top:0; z-index:60; padding:12px 0 !important; }
header a.logo{ text-decoration:none; }
.hd2{ position:relative; min-height:calc(100svh - 64px); display:flex; flex-direction:column; justify-content:space-between; background:#fff; overflow:hidden; padding-top:clamp(28px,6vh,72px); }
.hd2-head{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:24px clamp(32px,5vw,80px); align-items:end; position:relative; z-index:2; }
.hd2-eyebrow{ display:inline-flex; align-items:center; gap:10px; margin:0 0 clamp(14px,2vh,22px); font-family:var(--f-sign); font-size:var(--t-cap); letter-spacing:.08em; text-transform:uppercase; color:#5B6472; }
.hd2-eyebrow::before{ content:""; width:12px; height:12px; border-radius:4px; background:#FB4903; box-shadow:0 2px 0 #D9481A; }
html body .hd2 h1{ margin:0; font-family:var(--f-text); font-weight:800; font-size:clamp(28px,3.6vw,60px); line-height:1.06; letter-spacing:-.035em; color:var(--ink); max-width:29ch; }
.hd2-cta{ display:flex; flex-direction:column; gap:10px; min-width:250px; }
.hd2-cta .btn{ justify-content:space-between; white-space:nowrap; }
html body .hd2 .btn-ghost{ background:#fff; color:var(--ink); border:1px solid #D5D9E0; }
html body .hd2 .btn-ghost .btn-arrow{ background:var(--surface); } html body .hd2 .btn-ghost .btn-arrow svg path{ stroke:var(--ink); }
html body .hd2 .btn-ghost:hover{ border-color:var(--ink); background:var(--surface); }
.hd2-art{ position:relative; margin-top:clamp(24px,5vh,56px); line-height:0; }
.hd2-art .hd-svg{ display:block; width:128vw; max-width:none; margin-left:-14vw; height:auto; overflow:visible; }
.hd-sh{ fill:var(--fc,none); fill-opacity:0; stroke:#0055FF; stroke-width:2.4; stroke-linejoin:round; stroke-linecap:round; stroke-dasharray:1; stroke-dashoffset:1;
  animation:hdDraw 1.3s var(--d) cubic-bezier(.45,.1,.3,1) forwards, hdFill .9s var(--fd,5.2s) ease forwards, hdTone .9s 5.2s ease forwards; }
.hd-nf{ fill:none !important; animation:hdDraw 1.3s var(--d) cubic-bezier(.45,.1,.3,1) forwards, hdTone .9s 5.2s ease forwards; }
.hd-thin{ stroke-width:1.2; }
.hd-wall,.hd-back{ --fd:4.8s; } .hd-seg,.hd-orange,.hd-glass{ --fd:5.3s; } .hd-gl,.hd-col,.hd-pillar,.hd-win{ --fd:5.7s; }
@keyframes hdDraw{ to{ stroke-dashoffset:0; } }
@keyframes hdFill{ to{ fill-opacity:1; } }
@keyframes hdTone{ to{ stroke:#26303C; stroke-opacity:.3; } }
.hd-dimg{ opacity:0; animation:hdDim 5s .2s forwards; }
.hd-dimg line{ stroke:#0055FF; stroke-width:1.6; } .hd-dimg .hd-axis{ stroke-dasharray:10 6; opacity:.6; }
.hd-dimg text{ fill:#0055FF; font:400 20px 'Days One',Manrope,sans-serif; letter-spacing:.14em; }
@keyframes hdDim{ 0%{opacity:0} 12%{opacity:1} 85%{opacity:1} 100%{opacity:0} }
.hd-dec{ opacity:0; transform-box:fill-box; transform-origin:50% 60%; transform:translateY(10px) scale(.92); animation:hdDec .65s var(--dd) cubic-bezier(.2,1.3,.4,1) forwards; }
@keyframes hdDec{ to{ opacity:1; transform:none; } }
.hd-sg{ fill:#fff; font-family:Manrope,sans-serif; filter:drop-shadow(0 2px 2px rgba(80,20,0,.35)); } .hd-sm{ font:700 11px Manrope,sans-serif; fill:#fff; letter-spacing:.02em; }
.hd-tilegrid line{ stroke:#B8481A; stroke-width:1; opacity:.3; }
@media(prefers-reduced-motion:reduce){ .hd-sh,.hd-nf,.hd-dimg,.hd-dec{ animation-duration:.01s !important; animation-delay:0s !important; } }
@media(max-width:900px){ .hd2-head{ grid-template-columns:1fr; } .hd2-cta{ min-width:0; flex-direction:row; flex-wrap:wrap; } .hd2-cta .btn{ flex:1 1 220px; } }
@media(max-width:700px){ .hd2{ padding-top:24px; } .hd2-art .hd-svg{ width:250vw; margin-left:-75vw; } .hd2-cta{ flex-direction:column; } }

/* ───────── навигация-указатель: номера разделов как таблички ───────── */
html body > header, html body header:first-of-type{ background:transparent !important; border-bottom:1px solid #E8EBF0; transition:transform .35s cubic-bezier(.2,.8,.2,1); }
header::before{ content:""; position:absolute; inset:0; z-index:-1; background:rgba(255,255,255,.88); -webkit-backdrop-filter:blur(14px) saturate(1.4); backdrop-filter:blur(14px) saturate(1.4); }
header.is-hidden{ transform:translateY(-101%); }
header .logo svg path{ fill:#16191B !important; }
header #siteNav a i{ font-style:normal; flex:none; display:grid; place-items:center; width:24px; height:24px; border-radius:8px; background:var(--c,#16191B); color:#fff; font-family:var(--f-sign); font-size:11px; line-height:1; box-shadow:0 2px 0 rgba(0,0,0,.18); transition:transform .3s cubic-bezier(.2,1.4,.4,1); }
header #siteNav a[style*="#FFD21F"] i{ color:#16191B; }
header #siteNav a svg{ flex:none; }
@media(min-width:1280px){
  html body header #siteNav{ display:flex; align-items:center; gap:2px; }
  html body header #siteNav a{ display:inline-flex !important; align-items:center; gap:9px; padding:7px 14px 7px 8px !important; border-radius:999px !important; background:none !important; color:#3A4350 !important; font:600 14px/1 var(--f-text) !important; letter-spacing:0 !important; white-space:nowrap; transition:background .2s, color .2s, box-shadow .2s; }
  html body header #siteNav a:hover{ background:#F3F4F6 !important; color:#16191B !important; }
  html body header #siteNav a:hover i{ transform:rotate(-8deg) scale(1.12); }
  html body header #siteNav a.is-active{ color:#16191B !important; background:#fff !important; box-shadow:inset 0 0 0 1.5px var(--c); }
  html body header #siteNav a.is-active i{ transform:scale(1.08); }
  html body header #siteNav a.nav-cta{ margin-left:10px; padding:11px 18px !important; background:#0055FF !important; color:#fff !important; box-shadow:0 6px 16px -8px rgba(0,85,255,.7); }
  html body header #siteNav a.nav-cta:hover{ background:#0044CC !important; }
  html body header #siteNav a.nav-cta svg{ transition:transform .25s; } html body header #siteNav a.nav-cta:hover svg{ transform:translateX(3px); }
}
@media(max-width:1279px){
  .burger{ background:#F3F4F6 !important; } .burger span{ background:#16191B !important; }
  body.menu-open .burger{ background:rgba(255,255,255,.14) !important; } body.menu-open .burger span{ background:#fff !important; }
  header #siteNav a{ display:flex !important; align-items:center; gap:16px; }
  header #siteNav a i{ width:34px; height:34px; border-radius:10px; font-size:13px; }
  header #siteNav a.is-active{ color:#fff !important; }
  header #siteNav a.nav-cta{ display:inline-flex !important; gap:10px; }
  header #siteNav a.nav-cta svg{ display:none; }
}

/* ───────── иконки: плоские, без объёма и вращения ───────── */
html body .k-tile{ box-shadow:none !important; border-radius:14px !important; }
@media(hover:hover){
  html body #process .pr-card:hover .k-tile, html body #about .ab2-card:hover .k-tile{ transform:none !important; }
  html body #process .pr-card:hover .k-tile svg, html body #about .ab2-card:hover .k-tile svg{ transform:none !important; }
}
header #siteNav a i{ box-shadow:none !important; }

/* ───────── плотнее по вертикали: меньше пустого белого ───────── */
:root{ --sec-y:clamp(40px, 4.4vw, 68px); --head-gap:clamp(20px, 2.2vw, 32px); }
@media(max-width:700px){ :root{ --sec-y:40px; --head-gap:18px; } }
html body .cube-sec .cube-sticky{ padding-top:clamp(12px,2vh,28px) !important; }
html body #stats2.cube-sec{ height:260vh !important; margin-top:0 !important; }
@media(max-width:700px){ html body #stats2.cube-sec{ height:220vh !important; } }
.hd2{ min-height:min(calc(100svh - 64px), 860px); padding-top:clamp(24px,4vh,48px); }
.hd2-art{ margin-top:clamp(16px,3vh,32px); }
#wallprint{ padding:clamp(32px,4vw,64px) 0 clamp(36px,4.4vw,72px) !important; }
html body .wp-cap{ margin-bottom:clamp(20px,3vw,40px); }
html body .marquee-row{ padding-top:24px !important; padding-bottom:24px !important; }

#wallprint .wrap{ padding-top:0; }

/* «Этапы работы»: волнистый фон карточек почти прозрачный, чтобы не мешал тексту */
html body #process .pr-card::before{ opacity:.65 !important; }

/* акценты в тексте: цветные ключевые слова */
mark.ac{ background:none; color:inherit; font-weight:inherit; }
mark.ac-b{ color:#0055FF; } mark.ac-o{ color:#FB4903; } mark.ac-g{ color:#1FA24A; } mark.ac-r{ color:#E5252A; }

/* слайдер «Почему нас выбирают»: полоса прогресса мягче */
html body .wy-bar{ height:3px; background:#ECEFF4; }
html body .wy-bar i{ background:#9AA4B5; }

/* «Группа компаний»: вступление сверху на всю ширину → 4 карточки в ряд → 3 принципа в ряд */
html body #about .ab2{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(12px,1.4vw,20px); align-items:stretch; }
html body #about .ab2-intro, html body #about .ab2-grid{ display:contents; }
html body #about .ab2-lead{ order:1; grid-column:1 / -1; margin:0 0 clamp(8px,1.4vw,20px) !important; max-width:52ch !important; font-size:clamp(19px,1.9vw,28px) !important; line-height:1.38 !important; color:var(--c-ink) !important; letter-spacing:-.01em; }
html body #about .ab2-card{ order:2; min-height:clamp(200px,16vw,250px); }
html body #about .ab2-points{ order:3; grid-column:1 / -1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(20px,3vw,48px); border-top:0; margin-top:clamp(12px,2vw,28px); }
html body #about .ab2-points li{ display:block; padding:16px 0 0; border-bottom:0; border-top:1px solid #DDE1E7; font-size:var(--t-b) !important; line-height:1.45; }
html body #about .ab2-points li span{ display:block; margin-bottom:8px; }
@media(max-width:1100px){ html body #about .ab2{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:900px){ html body #about .ab2-points{ grid-template-columns:1fr; gap:0; } html body #about .ab2-points li{ padding:14px 0; } }
@media(max-width:520px){ html body #about .ab2{ grid-template-columns:1fr; } html body #about .ab2-card{ min-height:0; } }

/* значки-плитки поменьше */
html body .k-tile{ width:42px !important; height:42px !important; border-radius:12px !important; }
html body .k-tile svg{ width:22px !important; height:22px !important; }
html body .wy-ico{ width:46px; height:46px; border-radius:13px; margin-bottom:14px; }
html body .wy-ico svg{ width:24px; height:24px; }
@media(max-width:700px){
  html body #process .pr-card, html body #process .pr-c4, html body #process .pr-c5{ grid-template-columns:42px 1fr !important; }
  html body #about .ab2-card{ grid-template-columns:42px 1fr !important; }
}

/* ───────── телефон: параллелепипед и табличка этажа в одну линию, как на десктопе ───────── */
@media(max-width:900px){
  html body #stats2.cube-sec{ --H:min(36vw,190px) !important; --W:calc(100vw - 40px - var(--H) * .8 - 10px) !important; }
  html body #stats2 .cube-layout{ display:grid !important; grid-template-columns:var(--W) auto !important; column-gap:10px !important; row-gap:calc(var(--H) * .22) !important; align-items:center !important; padding-bottom:0 !important; }
  html body #stats2 .cube-stage{ grid-column:1 !important; grid-row:2 !important; width:var(--W) !important; height:var(--H) !important; }
  html body #stats2 .floor-sign{ grid-column:2 !important; grid-row:2 !important; justify-self:auto !important; align-self:center !important; width:calc(var(--H) * .8) !important; height:var(--H) !important; margin:0 !important; transform:none !important; padding:0 !important; }
}

/* отступы между блоками: просторнее, чтобы блоки не слипались */
:root{ --sec-y:clamp(64px, 7vw, 112px); --head-gap:clamp(28px, 3vw, 44px); }
@media(max-width:700px){ :root{ --sec-y:56px; --head-gap:22px; } }
html body .marquee-row{ padding-top:36px !important; padding-bottom:36px !important; }
#wallprint{ padding:clamp(48px,6vw,96px) 0 clamp(52px,6.4vw,104px) !important; }

/* телефон: табличка этажа устроена так же, как на десктопе, но по высоте куба */
@media(max-width:900px){
 html body #stats2 .floor-sign{width:calc(var(--H)*1.3)!important}
 html body #stats2 .fs-plate{left:calc(var(--H)*.04)!important;width:calc(var(--H)*.84)!important;height:calc(var(--H)*.84)!important;border-radius:28px!important}
 html body #stats2 .fs-digits{bottom:0!important}
 html body #stats2 .fs-digits span{font-size:calc(var(--H)*1.0)!important;bottom:calc(var(--H)*.22)!important}
 html body #stats2 .fs-digits span.n3{font-size:calc(var(--H)*.7)!important;bottom:calc(var(--H)*.36)!important}
 html body #stats2 .fs-digits span.n4{font-size:calc(var(--H)*.55)!important;bottom:calc(var(--H)*.46)!important}
 html body #stats2 .fs-digits span small{left:calc(var(--H)*.11)!important;width:calc(var(--H)*.66)!important;font-size:clamp(14px,calc(var(--H)*.045),22px)!important}
 html body #stats2 .fs-digits span.n2 small{bottom:calc(var(--H)*-.17)!important}
 html body #stats2 .fs-digits span.n3 small{bottom:calc(var(--H)*-.31)!important}
 html body #stats2 .fs-digits span.n4 small{bottom:calc(var(--H)*-.41)!important}
 html body #stats2 .floor-sign{width:calc(var(--H)*1.3)!important}
 html body #stats2 .fs-plate{left:calc(var(--H)*.06)!important;right:auto!important;bottom:0!important;width:calc(var(--H)*.62)!important;height:calc(var(--H)*.62)!important;border-radius:22px!important}
 html body #stats2 .fs-digits{left:0!important;right:auto!important;width:calc(var(--H)*1.3)!important;bottom:calc(var(--H)*.19)!important}
 html body #stats2 .fs-digits span{text-align:left!important;justify-content:flex-start!important;padding:0!important;font-size:calc(var(--H)*.8)!important}
 html body #stats2 .fs-digits span.n3{font-size:calc(var(--H)*.62)!important}
 html body #stats2 .fs-digits span.n4{font-size:calc(var(--H)*.5)!important;bottom:calc(var(--H)*.08)!important}
 html body #stats2 .fs-digits span small{writing-mode:horizontal-tb!important;transform:none!important;top:auto!important;right:auto!important;
   left:calc(var(--H)*.11)!important;width:calc(var(--H)*.5)!important;max-height:none!important;
   bottom:calc(var(--H)*-.145)!important;text-align:left!important;white-space:normal!important;
   font-size:clamp(13px,calc(var(--H)*.036),18px)!important;line-height:1.2!important;letter-spacing:.04em!important;font-weight:800!important;text-transform:uppercase}
 html body #stats2 .fs-digits span.n4 small{bottom:calc(var(--H)*-.225)!important}
 html body #stats2 .floor-sign{width:calc(var(--H)*.82)!important}
 html body #stats2 .fs-digits{left:0!important;right:0!important}
}

/* «Этапы работы» + установка с принтером в одном блоке: карточки слева, принтер справа */
#wallprint{ display:none; }
.pr-split{ display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); gap:clamp(24px,4vw,64px); align-items:center; }
.pr-art{ display:flex; justify-content:center; align-items:center; overflow:hidden; }
.pr-art .wp-stage{ font-size:clamp(64px,9.6vw,150px); }
html body #process .pr-split .pr-row{ grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
html body #process .pr-split .pr-card{ grid-column:auto !important; min-height:clamp(240px,19vw,300px); }
html body #process .pr-split .pr-card.pr-c5{ grid-column:1 / -1 !important; }
@media(max-width:900px){
  .pr-split{ grid-template-columns:1fr; }
  .pr-art .wp-stage{ font-size:clamp(64px,24vw,130px); }
}
@media(max-width:700px){
  html body #process .pr-split .pr-row{ grid-template-columns:1fr !important; }
  html body #process .pr-split .pr-card{ min-height:0; }
}

/* этапы + принтер: плашки компактнее, гений крупнее */
.pr-split{ grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; gap:clamp(20px,3vw,48px) !important; align-items:center; }
html body #process .pr-split .pr-card{ min-height:clamp(150px,12vw,190px) !important; padding:clamp(14px,1.2vw,20px) !important; gap:10px !important; }
html body #process .pr-split .pr-card h3{ font-size:clamp(16px,1.25vw,20px) !important; }
html body #process .pr-split .pr-card p{ font-size:13px !important; }
html body #process .pr-split .pr-row{ gap:clamp(10px,1vw,16px) !important; }
.pr-art .wp-stage{ font-size:clamp(84px,13vw,210px) !important; }
@media(max-width:900px){ .pr-split{ grid-template-columns:1fr !important; } .pr-art .wp-stage{ font-size:clamp(70px,26vw,140px) !important; } }

/* принтер реалистичнее: без глянца и «мультяшных» теней */
.wp-printer{ filter:drop-shadow(0 .05em .09em rgba(22,25,27,.22)) !important; }

/* «Этапы работы»: значок и заголовок в одну строку, без цифр, плавный узор */
html body #process .pr-card{ display:grid !important; grid-template-columns:44px 1fr !important; grid-template-areas:"t h" "p p" !important; column-gap:14px !important; row-gap:10px !important; align-items:center !important; align-content:start; min-height:0 !important; padding:clamp(16px,1.4vw,22px) !important; }
html body #process .pr-card .pr-num{ display:none !important; }
html body #process .pr-card .k-tile{ grid-area:t !important; }
html body #process .pr-card h3{ grid-area:h !important; margin:0 !important; }
html body #process .pr-card h3 br{ display:none; }
html body #process .pr-card p{ grid-area:p !important; margin:0 !important; position:relative; z-index:1; }
html body #process .pr-card::before{ inset:0 !important; transform:none !important; opacity:1 !important; background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 220%22 preserveAspectRatio=%22xMaxYMax slice%22%3E%3Cg fill=%22none%22 stroke=%22%23fff%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M180 250 C 230 150, 300 230, 350 130 S 420 40, 440 20%22 stroke-width=%2254%22 opacity=%22.85%22/%3E%3Cpath d=%22M120 250 C 180 190, 240 260, 300 180%22 stroke-width=%2214%22 opacity=%22.9%22/%3E%3C/g%3E%3C/svg%3E") right bottom/70% auto no-repeat !important; }
html body #process .pr-split .pr-card{ min-height:0 !important; }

/* телефон/планшет: параллелепипед короче, табличка этажа крупнее, плашка вокруг без лишнего воздуха */
@media(max-width:900px){
  html body #stats2.cube-sec{ --H:clamp(150px,44vw,280px) !important; --W:min(calc(var(--H) * 1.25), calc(100vw - 40px - var(--H) * .82 - 12px)) !important; }
  html body #stats2 .cube-layout{ justify-content:center !important; column-gap:12px !important; }
  html body #stats2 .cube-sticky::before{ inset:calc(50% - var(--H) * 1.0) 12px !important; }
  html body #stats2 .cf .cf-t{ font-size:clamp(15px, calc(var(--H) * .115), 24px) !important; }
}

/* слайдер «Почему нас выбирают» на телефоне: карточки компактнее */
@media(max-width:700px){
  html body .wy-slide{ flex:0 0 62% !important; height:180px !important; padding:16px !important; border-radius:18px; }
  html body .wy-ico{ width:36px !important; height:36px !important; border-radius:11px !important; margin-bottom:10px !important; }
  html body .wy-ico svg{ width:19px !important; height:19px !important; }
  html body .wy-slide h3{ font-size:15px !important; line-height:1.25 !important; }
  html body .wy-n{ font-size:11px !important; }
  html body .wy-track{ gap:10px !important; }
}

/* первый экран на телефоне: кнопки обычной высоты (раньше растягивались в овалы) */
@media(max-width:700px){
  html body .hd2-cta{ flex-direction:column; gap:10px; }
  html body .hd2-cta .btn{ flex:0 0 auto !important; width:100%; height:auto; min-height:52px; }
}

/* «Этапы работы»: без узора на карточках */

/* «Этапы работы»: у каждой карточки свой плавный узор */
html body #process .pr-card::before{ display:block !important; inset:0 !important; transform:none !important; opacity:1 !important; background-repeat:no-repeat !important; background-position:right bottom !important; background-size:cover !important; }

html body #process .pr-card::before{ background-position:center center !important; background-size:cover !important; }

/* «Этапы работы»: те же широкие плавные ленты, что и на фоне параллелепипеда; у каждой карточки своё положение */
html body #process .pr-card::before{ display:block !important; inset:0 !important; opacity:1 !important; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 420' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%23fff' stroke-linecap='round'%3E%3Cpath d='M-40 330 C 60 250 110 380 190 290 S 300 150 360 90' stroke-width='64'/%3E%3Cpath d='M-40 120 C 40 60 120 170 200 110 S 290 20 350 -10' stroke-width='28'/%3E%3C/g%3E%3C/svg%3E") center 20%/cover no-repeat !important; transform:none !important; }
html body #process .pr-c2::before{ background-position:center 55% !important; transform:scaleX(-1) !important; }
html body #process .pr-c3::before{ background-position:center 85% !important; }
html body #process .pr-c4::before{ background-position:center 38% !important; transform:scaleX(-1) !important; }
html body #process .pr-c5::before{ background-position:center 68% !important; }

/* ───────── чертёж главного экрана: тени и объём проявляются после заливки ───────── */
.hd-fx{ opacity:0; animation:hdFx 1.6s 6.8s ease forwards; }
@keyframes hdFx{ to{ opacity:1; } }
@media(prefers-reduced-motion:reduce){ .hd-fx{ animation-duration:.01s !important; animation-delay:0s !important; } }

/* ───────── главный экран: композиция — текст и кнопки слева, здание на всю ширину без выноса за края ───────── */
@media(min-width:901px){
  html body .hd2-head{ grid-template-columns:1fr; gap:clamp(22px,3.2vh,34px); align-items:start; }
  html body .hd2-cta{ flex-direction:row; flex-wrap:wrap; gap:12px; min-width:0; }
  html body .hd2-cta .btn{ flex:0 0 auto; width:auto; gap:18px; }
  html body .hd2-art .hd-svg{ width:100vw; margin-left:0; }
}
@media(min-width:901px){
  html body .hd2-art .hd-svg{ width:min(1200px,86vw); margin:0 auto; }
}

/* ───────── главный экран: плоские кнопки без объёма ───────── */
html body .hd2 .btn, html body .hd2 .btn:active, html body .hd2 .btn .btn-arrow, html body .hd2 .btn:active .btn-arrow{ box-shadow:none !important; }
html body .hd2 .btn:active{ transform:scale(.98) !important; }
html body .hd2 .btn:active .btn-arrow{ transform:none !important; }
html body .hd2 .btn-primary{ background:#0055FF !important; border:1px solid #0055FF; }
html body .hd2 .btn-primary:hover{ background:#0040C2 !important; border-color:#0040C2; }
html body .hd2 .btn-primary .btn-arrow{ background:#fff !important; }
html body .hd2 .btn-ghost{ background:transparent !important; border:1px solid #CBD1DA; }
html body .hd2 .btn-ghost .btn-arrow{ background:#F1F3F6 !important; }
html body .hd2 .btn-ghost:hover{ background:#F1F3F6 !important; border-color:var(--ink); }
@media(max-width:900px){ html body .hd2-cta .btn-primary{ order:-1; } }

/* ───────── главный экран: кнопки-таблички (как плашки разделов) ───────── */
html body .hd2 .hd2-cta{ gap:10px; }
html body .hd2 .hd2-cta .btn{ --bc:#fff; --dot:var(--scr-g); --tile:#F3F4F6; --tile-ink:var(--ink);
  display:inline-flex; align-items:stretch; justify-content:flex-start; gap:0; width:auto !important; min-height:0 !important; height:auto; flex:0 0 auto; padding:0 0 0 24px !important;
  border:0 !important; border-radius:10px; overflow:hidden; white-space:nowrap;
  font-family:var(--f-sign); font-size:14px; font-weight:600; letter-spacing:-.005em; text-transform:none; line-height:1; color:var(--ink);
  background:var(--dot) left 9px top 9px/6px 6px no-repeat, var(--dot) left 9px bottom 9px/6px 6px no-repeat, var(--bc) !important;
  box-shadow:0 0 0 .5px rgba(0,30,90,.10), 0 2px 3px rgba(0,30,90,.08) !important; align-self:flex-start; }
html body .hd2 .hd2-cta .btn:first-child{ line-height:1; }
html body .hd2 .hd2-cta .btn .btn-arrow{ display:flex; align-items:center; justify-content:center; width:42px; height:auto; align-self:stretch; margin:0 0 0 18px; border-radius:0 !important; background:var(--tile) !important; box-shadow:none !important; }
html body .hd2 .hd2-cta .btn .btn-arrow svg{ width:14px; height:14px; }
html body .hd2 .hd2-cta .btn .btn-arrow svg path{ stroke:var(--tile-ink) !important; }
html body .hd2 .hd2-cta .btn{ padding-top:13px !important; padding-bottom:13px !important; }
html body .hd2 .hd2-cta .btn .btn-arrow{ margin-top:-13px; margin-bottom:-13px; }
html body .hd2 .hd2-cta .btn-primary{ --bc:#0055FF; --dot:var(--scr-w); --tile:#0040C2; --tile-ink:#fff; color:#fff; }
html body .hd2 .hd2-cta .btn-primary .btn-arrow svg path{ stroke:#fff !important; }
html body .hd2 .hd2-cta .btn-primary:hover{ --bc:#0048D9; --tile:#0035A3; background:var(--dot) left 9px top 9px/6px 6px no-repeat, var(--dot) left 9px bottom 9px/6px 6px no-repeat, var(--bc) !important; }
html body .hd2 .hd2-cta .btn-ghost:hover{ --bc:#fff; --tile:#E6E9EF; background:var(--dot) left 9px top 9px/6px 6px no-repeat, var(--dot) left 9px bottom 9px/6px 6px no-repeat, var(--bc) !important; }
html body .hd2 .hd2-cta .btn:active{ transform:scale(.98) !important; }
/* кнопки-таблички: без «шурупов», шрифт текста тоньше */
html body .hd2 .hd2-cta .btn, html body .hd2 .hd2-cta .btn-primary:hover, html body .hd2 .hd2-cta .btn-ghost:hover{ background:var(--bc) !important; }
html body .hd2 .hd2-cta .btn{ padding-left:20px !important; font-family:var(--f-text); font-weight:500; letter-spacing:0; }

/* ───────── главный экран: масштаб на больших экранах и высота ровно в окно ───────── */
html body .hd2{ min-height:calc(100svh - 64px); }
html body .hd2 h1{ font-size:clamp(28px,3.6vw,88px); }
html body .hd2 .hd2-eyebrow{ font-size:clamp(11px,.82vw,17px); }
html body .hd2 .hd2-cta .btn{ font-size:clamp(14px,1vw,21px); padding:.95em 0 .95em 1.45em !important; border-radius:.7em; }
html body .hd2 .hd2-cta .btn .btn-arrow{ width:3em; margin:-.95em 0 -.95em 1.3em; }
html body .hd2 .hd2-cta .btn .btn-arrow svg{ width:1em; height:1em; }
@media(min-width:901px){ html body .hd2-art .hd-svg{ width:min(74vw,1900px); } }

/* ───────── главный экран: чертёж-сцена с направляющими и хотспотами ───────── */
html body .hd2 .hd2-head{ justify-items:center; text-align:center; }
html body .hd2 .hd2-text{ display:flex; flex-direction:column; align-items:center; }
html body .hd2 h1{ max-width:min(1300px,92vw); font-size:clamp(28px,3.5vw,76px); }
html body .hd2 .hd2-cta{ justify-content:center; align-self:center; }
html body .hd2 .hd2-cta .btn{ align-self:auto; }
.hd-chip{ display:inline-block; vertical-align:-.12em; height:1.02em; margin:0 .08em; border-radius:.22em; overflow:hidden; }
.hd-chip--cube{ width:1.02em; display:inline-grid; grid-template:1fr 1fr / 1fr 1fr; gap:.07em; padding:0; background:transparent; border-radius:.2em; }
.hd-chip--cube i{ display:block; border-radius:.08em; }
.hd-chip--cube i:nth-child(1){ background:#0055FF; } .hd-chip--cube i:nth-child(2){ background:#FB4903; }
.hd-chip--cube i:nth-child(3){ background:#FFD21F; } .hd-chip--cube i:nth-child(4){ background:#1FA24A; }
.hd-chip--photo{ width:1.9em; background:#E9ECF0 url(img/main/hero-school.jpg) center 40%/cover no-repeat; }

.hd-stage{ --u:calc(min(74vw,1900px) / 2400); position:relative; width:min(74vw,1900px); margin:0 auto; }
html body .hd2-art .hd-svg{ width:100%; margin:0; }
.hd-guides{ opacity:0; animation:hdFx 1.2s 6.6s ease forwards; }
.hd-gl-d line{ stroke:#C4CBD6; stroke-width:1.2; stroke-dasharray:7 7; vector-effect:non-scaling-stroke; }
.hd-gl-x path{ stroke:#8A93A1; stroke-width:1.4; fill:none; vector-effect:non-scaling-stroke; }
.hd-hots{ position:absolute; inset:0; pointer-events:none; z-index:3; line-height:1; }
.hd-hot{ position:absolute; width:14px; height:14px; margin:-7px 0 0 -7px; border-radius:4px; background:var(--c); box-shadow:0 0 0 2.5px #fff, 0 0 0 3.5px rgba(22,25,27,.12);
  opacity:0; animation:hdTag .5s cubic-bezier(.2,.8,.2,1) calc(7s + var(--n) * .18s) forwards; }
.hd-hot::after{ content:""; position:absolute; left:50%; bottom:100%; width:1px; height:calc(var(--u) * var(--lh-x, 100)); background:linear-gradient(var(--c),var(--c)); transform:translateX(-50%); display:none; }
.hd-tag{ position:absolute; left:50%; bottom:calc(100% + var(--u) * var(--lh)); transform:translateX(-50%); display:inline-flex; align-items:center; gap:.6em; padding:.55em 1.05em .55em .55em; border-radius:.9em; background:var(--t);
  font-family:var(--f-text); font-style:normal; font-weight:500; font-size:clamp(12px,.95vw,19px); color:var(--ink); white-space:nowrap; box-shadow:0 1px 2px rgba(22,25,27,.06); }
.hd-tag i{ width:1.45em; height:1.45em; border-radius:.45em; background:var(--c); flex:none; }
.hd-tag::after{ content:""; position:absolute; left:50%; top:100%; width:0; height:calc(var(--u) * var(--lh) - 7px); border-left:1.2px dashed var(--c); transform:translateX(-50%); }
@keyframes hdTag{ to{ opacity:1; } }
@media(max-width:900px){ .hd-hots, .hd-guides{ display:none; } .hd-stage{ width:auto; } html body .hd2-art .hd-svg{ width:250vw; margin-left:-75vw; } }
@media(prefers-reduced-motion:reduce){ .hd-hot, .hd-guides{ animation-duration:.01s !important; animation-delay:0s !important; } }

/* подписи-хотспоты: кнопка с плюсом и карточка по нажатию (по мотивам Green Cube) */
.hd-tag{ pointer-events:auto; display:block; padding:0 !important; background:none !important; box-shadow:none !important; border-radius:0 !important; }
.hd-tag-b{ all:unset; box-sizing:border-box; cursor:pointer; display:inline-flex; align-items:center; gap:.6em; padding:.5em .5em .5em .55em; border-radius:999px; background:var(--t);
  font-family:var(--f-text); font-weight:500; font-size:clamp(12px,.95vw,19px); line-height:1; color:var(--ink); white-space:nowrap; border:1px solid color-mix(in srgb, var(--c) 35%, transparent);
  transition:background .2s, border-color .2s; }
.hd-tag-b:hover{ border-color:var(--c); }
.hd-tag-b:focus-visible{ outline:2px solid var(--ink); outline-offset:2px; }
.hd-tag-b i{ width:1.2em; height:1.2em; border-radius:.35em; background:var(--c); flex:none; }
.hd-tag-b u{ position:relative; width:1.7em; height:1.7em; border-radius:50%; border:1px solid color-mix(in srgb, var(--c) 55%, var(--ink)); flex:none; background:rgba(255,255,255,.55); transition:transform .25s; }
.hd-tag-b u::before, .hd-tag-b u::after{ content:""; position:absolute; left:50%; top:50%; width:.7em; height:1.5px; background:var(--ink); transform:translate(-50%,-50%); }
.hd-tag-b u::after{ transform:translate(-50%,-50%) rotate(90deg); }
.hd-tag.is-open .hd-tag-b u{ transform:rotate(45deg); }
.hd-tag.is-open .hd-tag-b{ background:#fff; border-color:var(--c); }
.hd-pop{ position:absolute; left:50%; bottom:calc(100% + 10px); transform:translate(-50%,6px); width:clamp(220px,17vw,300px); display:flex; flex-direction:column; gap:.5em; padding:1em 1.15em 1.05em; text-align:left; white-space:normal;
  background:#fff; border-radius:16px; box-shadow:0 0 0 .5px rgba(0,30,90,.1), 0 14px 34px -14px rgba(0,30,90,.35); font-family:var(--f-text); font-size:clamp(12px,.9vw,16px); line-height:1.35; color:var(--ink);
  opacity:0; visibility:hidden; transition:opacity .2s, transform .2s, visibility .2s; z-index:5; }
.hd-pop strong{ font-weight:700; }
.hd-pop em{ font-style:normal; color:#5B6472; }
.hd-pop a{ align-self:flex-start; color:#0055FF; font-weight:600; text-decoration:none; }
.hd-pop a:hover{ text-decoration:underline; }
.hd-tag.is-open{ z-index:6; }
.hd-tag.is-open .hd-pop{ opacity:1; visibility:visible; transform:translate(-50%,0); }
.hd-tag::after{ z-index:-1; }

/* ───────── все кнопки сайта — единый стиль таблички (как на главном экране) ───────── */
html body .btn{ --bc:#fff; --tile:#F3F4F6; --tile-ink:#16191B;
  display:inline-flex; align-items:stretch; justify-content:flex-start; gap:0 !important; width:auto; min-height:0; padding:.95em 0 .95em 1.45em !important; border:0 !important; border-radius:.7em !important; overflow:hidden;
  font-family:var(--f-text) !important; font-size:15px; font-weight:500 !important; letter-spacing:0 !important; text-transform:none !important; line-height:1; text-decoration:none; white-space:nowrap; cursor:pointer;
  color:#16191B; background:var(--bc) !important; box-shadow:0 0 0 .5px rgba(0,30,90,.10), 0 2px 3px rgba(0,30,90,.08) !important; transition:background .2s, color .2s, transform .15s; }
html body .btn:not(:has(.btn-arrow)){ padding-right:1.45em !important; }
html body .btn .btn-arrow{ display:flex; align-items:center; justify-content:center; width:3em; height:auto; align-self:stretch; margin:-.95em 0 -.95em 1.3em !important; border-radius:0 !important; background:var(--tile) !important; box-shadow:none !important; }
html body .btn .btn-arrow svg{ width:1em; height:1em; }
html body .btn .btn-arrow svg path, html body .btn .btn-arrow svg *{ stroke:var(--tile-ink) !important; }
html body .btn:active{ transform:scale(.98); }
html body .btn-primary{ --bc:#0055FF; --tile:#0040C2; --tile-ink:#fff; color:#fff; }
html body .btn-primary:hover{ --bc:#0048D9; --tile:#0035A3; }
html body .btn-ghost{ --bc:#fff; color:#16191B; }
html body .btn-ghost:hover{ --tile:#E6E9EF; }
/* «Заявка» в меню */
html body header #siteNav a.nav-cta{ display:inline-flex !important; align-items:stretch; gap:0 !important; padding:.62em 0 .62em 1.1em !important; border-radius:.6em !important; font-weight:500 !important; overflow:hidden; box-shadow:0 0 0 .5px rgba(0,30,90,.10), 0 2px 3px rgba(0,30,90,.08) !important; }
html body header #siteNav a.nav-cta svg{ display:block !important; box-sizing:content-box; width:14px; height:14px; padding:0 .8em; margin-left:.9em; background:#0040C2; align-self:stretch; margin-top:-.62em; margin-bottom:-.62em; height:auto; }
html body .cookie .btn{ --bc:#0055FF; color:#fff; }

/* ───────── блок «Зайдите в школу»: 3D-сцена под главным экраном ───────── */
.s3d{ padding:clamp(24px,4vw,64px) 0 clamp(24px,4vw,64px); }
.s3d-frame{ position:relative; height:min(calc(100svh - 96px), 860px); min-height:520px; border-radius:24px; overflow:hidden; background:#fff; box-shadow:0 0 0 .5px rgba(0,30,90,.1), 0 24px 60px -34px rgba(0,30,90,.35); }
.s3d-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }
.s3d-m{ display:none; }
@media(max-width:900px){
  .s3d-frame{ display:none; }
  .s3d-m{ display:flex; flex-direction:column; gap:14px; text-decoration:none; align-items:flex-start; }
  .s3d-m-img{ display:block; width:100%; aspect-ratio:16/10; border-radius:20px; background-size:cover; background-position:center; }
}

/* вставки в заголовке: ровно по строке */
html body .hd2 h1 .nw{ white-space:nowrap; }
.hd-chip{ display:inline-block; vertical-align:-.1em; height:.92em; margin:0 .06em; border-radius:.2em; overflow:hidden; line-height:1; }
.hd-chip--cube{ width:.92em; background:
  linear-gradient(#0055FF,#0055FF) 0 0/calc(50% - .035em) calc(50% - .035em) no-repeat,
  linear-gradient(#FB4903,#FB4903) 100% 0/calc(50% - .035em) calc(50% - .035em) no-repeat,
  linear-gradient(#FFD21F,#FFD21F) 0 100%/calc(50% - .035em) calc(50% - .035em) no-repeat,
  linear-gradient(#1FA24A,#1FA24A) 100% 100%/calc(50% - .035em) calc(50% - .035em) no-repeat; border-radius:0; overflow:visible; }
.hd-chip--photo{ width:1.7em; background:#E9ECF0 url(img/main/chip-otkrytie.jpg) center 62%/cover no-repeat; }

/* кубик Рубика в заголовке вместо четырёх квадратов */
.hd-chip--cube{ width:.95em; height:.95em; background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cpolygon%20points%3D%2250%2C4%2092%2C26%2092%2C72%2050%2C96%208%2C72%208%2C26%22%20fill%3D%22%23DDE1E7%22/%3E%3Cpolygon%20points%3D%2250.0%2C5.3%2061.5%2C11.3%2050.0%2C17.3%2038.5%2C11.3%22%20fill%3D%22%230055FF%22/%3E%3Cpolygon%20points%3D%2236.0%2C12.7%2047.5%2C18.7%2036.0%2C24.7%2024.5%2C18.7%22%20fill%3D%22%23FFD21F%22/%3E%3Cpolygon%20points%3D%2222.0%2C20.0%2033.5%2C26.0%2022.0%2C32.0%2010.5%2C26.0%22%20fill%3D%22%23FFD21F%22/%3E%3Cpolygon%20points%3D%2264.0%2C12.7%2075.5%2C18.7%2064.0%2C24.7%2052.5%2C18.7%22%20fill%3D%22%230055FF%22/%3E%3Cpolygon%20points%3D%2250.0%2C20.0%2061.5%2C26.0%2050.0%2C32.0%2038.5%2C26.0%22%20fill%3D%22%23FFD21F%22/%3E%3Cpolygon%20points%3D%2236.0%2C27.3%2047.5%2C33.3%2036.0%2C39.3%2024.5%2C33.3%22%20fill%3D%22%23FFD21F%22/%3E%3Cpolygon%20points%3D%2278.0%2C20.0%2089.5%2C26.0%2078.0%2C32.0%2066.5%2C26.0%22%20fill%3D%22%23FFD21F%22/%3E%3Cpolygon%20points%3D%2264.0%2C27.3%2075.5%2C33.3%2064.0%2C39.3%2052.5%2C33.3%22%20fill%3D%22%23FFD21F%22/%3E%3Cpolygon%20points%3D%2250.0%2C34.7%2061.5%2C40.7%2050.0%2C46.7%2038.5%2C40.7%22%20fill%3D%22%23E5252A%22/%3E%3Cpolygon%20points%3D%229.3%2C30.0%2020.7%2C36.0%2020.7%2C48.0%209.3%2C42.0%22%20fill%3D%22%230055FF%22/%3E%3Cpolygon%20points%3D%229.3%2C44.6%2020.7%2C50.7%2020.7%2C62.7%209.3%2C56.7%22%20fill%3D%22%230055FF%22/%3E%3Cpolygon%20points%3D%229.3%2C59.3%2020.7%2C65.3%2020.7%2C77.4%209.3%2C71.3%22%20fill%3D%22%230055FF%22/%3E%3Cpolygon%20points%3D%2223.3%2C37.3%2034.7%2C43.3%2034.7%2C55.4%2023.3%2C49.3%22%20fill%3D%22%230055FF%22/%3E%3Cpolygon%20points%3D%2223.3%2C52.0%2034.7%2C58.0%2034.7%2C70.0%2023.3%2C64.0%22%20fill%3D%22%230055FF%22/%3E%3Cpolygon%20points%3D%2223.3%2C66.6%2034.7%2C72.7%2034.7%2C84.7%2023.3%2C78.7%22%20fill%3D%22%230055FF%22/%3E%3Cpolygon%20points%3D%2237.3%2C44.6%2048.7%2C50.7%2048.7%2C62.7%2037.3%2C56.7%22%20fill%3D%22%230055FF%22/%3E%3Cpolygon%20points%3D%2237.3%2C59.3%2048.7%2C65.3%2048.7%2C77.4%2037.3%2C71.3%22%20fill%3D%22%23FFD21F%22/%3E%3Cpolygon%20points%3D%2237.3%2C74.0%2048.7%2C80.0%2048.7%2C92.0%2037.3%2C86.0%22%20fill%3D%22%23FFD21F%22/%3E%3Cpolygon%20points%3D%2251.3%2C50.7%2062.7%2C44.6%2062.7%2C56.7%2051.3%2C62.7%22%20fill%3D%22%23E5252A%22/%3E%3Cpolygon%20points%3D%2251.3%2C65.3%2062.7%2C59.3%2062.7%2C71.3%2051.3%2C77.4%22%20fill%3D%22%231FA24A%22/%3E%3Cpolygon%20points%3D%2251.3%2C80.0%2062.7%2C74.0%2062.7%2C86.0%2051.3%2C92.0%22%20fill%3D%22%23FB4903%22/%3E%3Cpolygon%20points%3D%2265.3%2C43.3%2076.7%2C37.3%2076.7%2C49.3%2065.3%2C55.4%22%20fill%3D%22%231FA24A%22/%3E%3Cpolygon%20points%3D%2265.3%2C58.0%2076.7%2C52.0%2076.7%2C64.0%2065.3%2C70.0%22%20fill%3D%22%23E5252A%22/%3E%3Cpolygon%20points%3D%2265.3%2C72.7%2076.7%2C66.6%2076.7%2C78.7%2065.3%2C84.7%22%20fill%3D%22%23FB4903%22/%3E%3Cpolygon%20points%3D%2279.3%2C36.0%2090.7%2C30.0%2090.7%2C42.0%2079.3%2C48.0%22%20fill%3D%22%23FFD21F%22/%3E%3Cpolygon%20points%3D%2279.3%2C50.7%2090.7%2C44.6%2090.7%2C56.7%2079.3%2C62.7%22%20fill%3D%22%23FB4903%22/%3E%3Cpolygon%20points%3D%2279.3%2C65.3%2090.7%2C59.3%2090.7%2C71.3%2079.3%2C77.4%22%20fill%3D%22%23FB4903%22/%3E%3C/svg%3E") center/contain no-repeat !important; overflow:visible; }
.s3d[hidden]{ display:none !important; }
[hidden][data-todo]{ display:none !important; }

/* разметка главного экрана: появляется сразу, серая и тонкая */
html body .hd-sh{ stroke:#6B7584; stroke-width:1.2; }
html body .hd-thin{ stroke-width:.8; }
html body .hd-dimg line{ stroke:#6B7584; stroke-width:1; }
html body .hd-dimg text{ fill:#6B7584; }
html body .hd-guides{ animation:hdFx 1.2s .15s ease forwards; }
html body .hd-gl-d line{ stroke:#C9CFD8; stroke-width:1; stroke-dasharray:6 8; }
html body .hd-gl-x path{ stroke:#9AA2AF; stroke-width:1; }

/* заливка школы — одним плавным переходом после линий */
html body .hd-sh{ --fd:4.5s; animation:hdDraw 1.3s var(--d) cubic-bezier(.45,.1,.3,1) forwards, hdFill 1.4s var(--fd) ease-in-out forwards, hdTone 1s 4.5s ease forwards; }
html body .hd-nf{ animation:hdDraw 1.3s var(--d) cubic-bezier(.45,.1,.3,1) forwards, hdTone 1s 4.5s ease forwards; }
html body .hd-dec{ transform:none; animation:hdDecFade 1.2s 4.9s ease-in-out forwards; }
@keyframes hdDecFade{ to{ opacity:1; } }
html body .hd-fx{ animation:hdFx 1.4s 5.6s ease forwards; }
html body .hd-hot{ animation-delay:calc(6.3s + var(--n) * .15s); }

/* главный экран: блок с кнопками чуть выше, подальше от школы */
html body .hd2{ padding-top:clamp(8px,1.6vh,22px) !important; }
@media(min-width:901px){ html body .hd2-head{ gap:clamp(12px,1.6vh,18px) !important; } html body .hd2 .hd2-eyebrow{ margin-bottom:clamp(6px,1vh,12px); } }
@media(min-width:901px){ html body .hd2{ justify-content:flex-start; } html body .hd2-art{ margin-top:auto; margin-bottom:auto; padding-top:clamp(120px,16vh,220px); } }

/* вставка в заголовке: четыре цветных квадрата (как было) */
.hd-chip--cube{ width:.92em !important; height:.92em !important; border-radius:0; overflow:visible; background:
  linear-gradient(#0055FF,#0055FF) 0 0/calc(50% - .035em) calc(50% - .035em) no-repeat,
  linear-gradient(#FB4903,#FB4903) 100% 0/calc(50% - .035em) calc(50% - .035em) no-repeat,
  linear-gradient(#FFD21F,#FFD21F) 0 100%/calc(50% - .035em) calc(50% - .035em) no-repeat,
  linear-gradient(#1FA24A,#1FA24A) 100% 100%/calc(50% - .035em) calc(50% - .035em) no-repeat !important; }

/* чертёж: иерархия толщины линий, как в архитектурных фасадах */
html body .hd-sh{ stroke-width:1.1; }
html body .hd-ground{ stroke-width:3.4; stroke:#3A4250; }
html body .hd-wall{ stroke-width:2.2; }
html body .hd-orange, html body .hd-seg, html body .hd-col, html body .hd-pillar, html body .hd-back{ stroke-width:1.5; }
html body .hd-win, html body .hd-gl{ stroke-width:.9; }
html body .hd-glass{ stroke-width:1.2 !important; }
html body .hd-nf, html body .hd-thin{ stroke-width:.55; }
html body .hd-ground.hd-nf{ stroke-width:3.4; }
/* отметки уровней */
.hd-levels{ opacity:0; animation:hdFx 1.2s .4s ease forwards; }
.hd-lv path{ fill:#fff; stroke:#6B7584; stroke-width:1; vector-effect:non-scaling-stroke; }
.hd-lv text{ fill:#6B7584; font:500 15px 'SFMono-Regular',Menlo,Consolas,monospace; letter-spacing:.02em; }
.hd-lvl{ stroke:#9AA2AF; stroke-width:1; stroke-dasharray:4 4; vector-effect:non-scaling-stroke; fill:none; }
@media(max-width:900px){ .hd-levels{ display:none; } }
.hd-chip--photo{ background:#E9ECF0 url(img/main/chip-school29.jpg) center 48%/cover no-repeat !important; }

/* стёкла чертежа: отражение неба, глубина, блики */
html body .hd-win{ fill:url(#hdWinG); }
html body .hd-gl{ fill:url(#hdDoorG); }
html body .hd-glass{ stroke:#7C8C9C; }

/* порядок прорисовки чертежа: оси → земля → контур → объёмы → проёмы → переплёты → цвет */
html body .hd-ground{ --d:.15s !important; }
html body .hd-wall{ --d:.6s !important; }
html body .hd-seg{ --d:1.0s !important; }
html body .hd-orange, html body .hd-back{ --d:1.35s !important; }
html body .hd-col, html body .hd-pillar{ --d:1.8s !important; }
html body .hd-glass{ --d:2.2s !important; }
html body .hd-win, html body .hd-gl{ --d:2.6s !important; }
html body .hd-nf.hd-thin{ --d:3.2s !important; }
/* плоские чистые стёкла */
html body .hd-win{ fill:#4A5868; }
html body .hd-gl{ fill:#4D5B68; }
html body .hd-glass{ fill:#8EA5BA; stroke:#6F8497; }

/* заголовок: воздух до кнопок; вставка меньше и со скруглёнными углами */
@media(min-width:901px){ html body .hd2-head{ gap:clamp(24px,3.4vh,38px) !important; } html body .hd2 .hd2-eyebrow{ margin-bottom:clamp(10px,1.5vh,18px); } }
html body .hd2{ padding-top:clamp(14px,2.6vh,34px) !important; }
.hd-chip--cube{ width:.7em !important; height:.7em !important; vertical-align:.02em !important; margin:0 .1em !important; overflow:visible !important; border-radius:0 !important;
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Crect%20x%3D%226%22%20y%3D%226%22%20width%3D%2241%22%20height%3D%2241%22%20rx%3D%2211%22%20fill%3D%22%230055FF%22/%3E%3Crect%20x%3D%2253%22%20y%3D%226%22%20width%3D%2241%22%20height%3D%2241%22%20rx%3D%2211%22%20fill%3D%22%23FB4903%22/%3E%3Crect%20x%3D%226%22%20y%3D%2253%22%20width%3D%2241%22%20height%3D%2241%22%20rx%3D%2211%22%20fill%3D%22%23FFD21F%22/%3E%3Crect%20x%3D%2253%22%20y%3D%2253%22%20width%3D%2241%22%20height%3D%2241%22%20rx%3D%2211%22%20fill%3D%22%231FA24A%22/%3E%3C/svg%3E") center/contain no-repeat !important; }
/* школа шире: почти на всю ширину, но с полями по краям */
@media(min-width:901px){ .hd-stage{ --u:calc(min(86vw,2100px) / 2400); width:min(86vw,2100px); } html body .hd2-art .hd-svg{ width:100%; } }

/* теги у школы: точка → линия → подпись, с пружиной и пульсом */
html body .hd-hot{ opacity:0; animation:hdDot .55s cubic-bezier(.2,1.7,.4,1) calc(6.3s + var(--n) * .22s) forwards; }
@keyframes hdDot{ from{ opacity:0; transform:scale(0); } to{ opacity:1; transform:scale(1); } }
.hd-hot::before{ content:""; position:absolute; inset:-2px; border-radius:6px; border:2px solid var(--c); opacity:0; pointer-events:none;
  animation:hdRing 3s ease-out calc(7.1s + var(--n) * .3s) infinite; }
@keyframes hdRing{ 0%{ opacity:.65; transform:scale(1); } 65%,100%{ opacity:0; transform:scale(3); } }
html body .hd-hot .hd-tag{ opacity:0; animation:hdTagPop .65s cubic-bezier(.2,.9,.3,1.15) calc(6.75s + var(--n) * .22s) forwards; }
@keyframes hdTagPop{
  0%{ opacity:0; transform:translateX(-50%) translateY(14px) scale(.65); }
  55%{ opacity:1; transform:translateX(-50%) translateY(-4px) scale(1.05); }
  100%{ opacity:1; transform:translateX(-50%) translateY(0) scale(1); } }
html body .hd-hot .hd-tag::after{ transform-origin:50% 100%; animation:hdLine .5s ease-out calc(6.45s + var(--n) * .22s) both; }
@keyframes hdLine{ from{ transform:translateX(-50%) scaleY(0); } to{ transform:translateX(-50%) scaleY(1); } }
html body .hd-hot .hd-tag-b{ animation:hdFloat 4.6s ease-in-out calc(7.6s + var(--n) * .35s) infinite alternate; }
@keyframes hdFloat{ from{ transform:translateY(0); } to{ transform:translateY(-3px); } }
@media(prefers-reduced-motion:reduce){ .hd-hot, .hd-hot .hd-tag, .hd-hot .hd-tag::after, .hd-hot::before, .hd-hot .hd-tag-b{ animation:none !important; opacity:1; } .hd-hot::before{ opacity:0; } }

/* нижние теги: подпись под линией земли, выноска вниз */
html body .hd-hot.below .hd-tag{ bottom:auto; top:calc(100% + var(--u) * var(--lh)); }
html body .hd-hot.below .hd-tag::after{ top:auto; bottom:100%; transform-origin:50% 0; }
html body .hd-hot.below .hd-tag{ animation-name:hdTagPopB; }
@keyframes hdTagPopB{
  0%{ opacity:0; transform:translateX(-50%) translateY(-14px) scale(.65); }
  55%{ opacity:1; transform:translateX(-50%) translateY(4px) scale(1.05); }
  100%{ opacity:1; transform:translateX(-50%) translateY(0) scale(1); } }

/* воздух между кнопками и школой — по масштабу самой школы, чтобы на любом экране не упиралась */
@media(min-width:901px){ html body .hd2-art{ padding-top:max(150px, calc(min(86vw,2100px) / 2400 * 330)); } }

/* абзац «Это не просто красиво» — легче читать */
html body #why .why-body{ font-weight:500 !important; font-size:clamp(24px,2.3vw,42px) !important; line-height:1.32 !important; letter-spacing:-.012em !important; color:#22272B; max-width:34ch; }
html body #why .why-body mark.ac{ font-weight:600; }
@media(max-width:700px){ html body #why .why-body{ font-size:clamp(20px,5.6vw,24px) !important; line-height:1.34 !important; } }

/* заголовок главного экрана: без вставок, средний вес */
html body .hd2 h1{ font-weight:600 !important; letter-spacing:-.028em; }
@media(min-width:901px){ html body .hd2 h1{ white-space:nowrap; max-width:none !important; } }

/* надстрочная строка главного экрана: обычный шрифт, ровно */
html body .hd2 .hd2-eyebrow{ font-family:var(--f-text) !important; font-weight:500 !important; font-size:clamp(14px,1vw,17px) !important; letter-spacing:0 !important; text-transform:none !important; line-height:1; color:#5B6472; display:inline-flex; align-items:center; gap:.6em; }
html body .hd2 .hd2-eyebrow::before{ width:.55em; height:.55em; border-radius:50%; box-shadow:none; flex:none; margin:0; transform:translateY(.02em); }
@media(min-width:901px){ html body .hd2 .hd2-eyebrow{ margin-bottom:2px !important; } }

/* блок заголовка: отступ от шапки и больше воздуха до кнопок */
html body .hd2{ padding-top:clamp(40px,7.5vh,96px) !important; }
@media(min-width:901px){ html body .hd2-head{ gap:clamp(30px,4.4vh,52px) !important; } }
html body .hd2 .hd2-eyebrow{ text-transform:uppercase !important; letter-spacing:.08em !important; font-size:clamp(12px,.85vw,15px) !important; font-weight:600 !important; }

/* подписи у школы: без лишних обводок */
html body .hd-tag-b{ border:0 !important; box-shadow:none !important; padding:.55em .8em .55em .6em; }
html body .hd-tag-b u{ border:0 !important; background:transparent !important; width:1.1em; height:1.1em; }
html body .hd-tag-b u::before, html body .hd-tag-b u::after{ width:.8em; height:1.6px; background:var(--ink); }
html body .hd-tag-b:hover{ background:color-mix(in srgb, var(--t) 78%, var(--c)); }
html body .hd-tag.is-open .hd-tag-b{ background:#fff; box-shadow:0 0 0 1.5px var(--c) !important; }

/* интерактивные точки на школе — большая зона клика для десктопа */
@media(min-width:901px){
  html body .hd-hot{ pointer-events:auto; cursor:pointer; transition:transform .2s; }
  html body .hd-hot:hover{ transform:scale(1.32); }
  html body .hd-hot:active{ transform:scale(0.95); }
}

/* светлый футер в гамме сайта */
html body footer{ background:#F3F4F6 !important; color:#16191B !important; }
html body footer .logo svg path{ fill:#3377FF !important; }
html body footer .logo .logo-sub, html body footer .footer-brand .logo-sub{ color:#5B6472 !important; }
html body footer .footer-brand p, html body footer .footer-col p, html body footer .footer-hours{ color:#5B6472 !important; }
html body footer .footer-col h4{ color:#16191B !important; font-weight:700; }
html body footer .footer-col a{ color:#5B6472; }
html body footer .footer-col a:hover{ color:#0055FF; }
html body footer .footer-social a{ color:#16191B; border:0; background:#fff; box-shadow:0 0 0 .5px rgba(0,30,90,.10), 0 2px 3px rgba(0,30,90,.06); }
html body footer .footer-social a:hover{ background:#0055FF; color:#fff; }
html body footer .footer-bottom{ border-top:1px solid rgba(22,25,27,.10); color:#5B6472; }
html body footer .footer-legal a, html body footer .footer-legal span, html body footer .footer-bottom div{ color:#5B6472; }
html body footer .footer-legal a:hover{ color:#0055FF; }
html body footer .footer-cta .btn-primary{ margin-top:6px; }

/* ───────── телефон: главный экран ───────── */
@media(max-width:900px){
  html body .hd2{ min-height:0 !important; padding-top:28px !important; padding-bottom:8px; justify-content:flex-start !important; }
  html body .hd2 h1{ font-size:clamp(30px,9vw,40px) !important; line-height:1.08 !important; white-space:normal !important; max-width:none !important; }
  html body .hd2 .hd2-eyebrow{ font-size:12px !important; letter-spacing:.06em !important; margin-bottom:10px !important; }
  html body .hd2-head{ gap:20px !important; padding-left:20px; padding-right:20px; }
  html body .hd2 .hd2-cta{ flex-direction:column !important; width:100%; gap:10px; align-items:stretch; }
  html body .hd2 .hd2-cta .btn{ width:100% !important; justify-content:space-between; font-size:16px; padding-top:1em !important; padding-bottom:1em !important; }
  html body .hd2 .hd2-cta .btn .btn-arrow{ margin-top:-1em; margin-bottom:-1em; width:3.2em; }
  html body .hd2-art{ margin:12px 0 0 !important; padding-top:0 !important; }
}

/* ───────── телефон: светлое меню ───────── */
@media(max-width:1279px){
  html body header nav{ background:#fff !important; justify-content:flex-start; padding-top:110px !important; }
  html body header nav a{ color:#16191B !important; border-bottom:1px solid #E8EBF0; font-size:22px !important; padding:18px 0 !important; }
  html body header nav a.is-active{ color:#16191B !important; background:none !important; box-shadow:none !important; }
  html body header nav a.nav-cta{ display:flex !important; justify-content:space-between; width:100%; margin:28px 0 0 !important; padding:18px 0 18px 22px !important; font-size:18px !important; color:#fff !important; background:#0055FF !important; border:0 !important; border-radius:14px !important; text-transform:none !important; letter-spacing:0 !important; }
  html body header nav a.nav-cta svg{ display:block !important; width:20px; height:20px; margin:-18px 0; padding:0 22px; box-sizing:content-box; align-self:stretch; height:auto; background:#0040C2; }
  html body.menu-open .burger{ background:#F3F4F6 !important; } html body.menu-open .burger span{ background:#16191B !important; }
  html body header .burger{ position:relative; z-index:101; }
}

/* этапы работы: без разноцветной волнистой подложки, ровный фон карточки */
html body #process .pr-card::before{ display:none !important; background:none !important; content:none !important; }
html body #process .pr-card{ background:#F3F4F6 !important; }

/* ───────── телефон: порядок и воздух ───────── */
.t-hint{ display:none; }
@media(max-width:700px){
  /* главный экран */
  html body .hd2{ padding-top:36px !important; padding-bottom:20px; }
  html body .hd2 .hd2-eyebrow{ margin-bottom:16px !important; }
  html body .hd2-head{ gap:30px !important; }
  html body .hd2 .hd2-cta{ align-items:center !important; gap:12px !important; }
  html body .hd2 .hd2-cta .btn{ width:min(100%,300px) !important; }
  html body .hd2-art{ margin-top:36px !important; }
  /* статистика: вместо липкого куба — 4 карточки */
  html body #stats2.cube-sec{ height:auto !important; margin:0 !important; padding:8px 0 24px !important; }
  html body #stats2 .cube-sticky{ position:static !important; height:auto !important; display:block !important; padding:0 20px !important; overflow:visible !important; }
  html body #stats2 .cube-sticky::before, html body #stats2 .cube-stage::after, html body #stats2 .floor-sign{ display:none !important; }
  html body #stats2 .cube-layout{ display:block !important; padding:0 !important; }
  html body #stats2 .cube-stage{ width:100% !important; height:auto !important; perspective:none !important; }
  html body #stats2 .cube{ transform:none !important; display:grid !important; grid-template-columns:1fr 1fr; gap:12px; width:100% !important; height:auto !important; }
  html body #stats2 .cf{ position:relative !important; inset:auto !important; transform:none !important; min-height:150px !important; padding:18px 16px !important; border-radius:20px !important; display:flex !important; align-items:flex-end; box-shadow:none !important; outline:0 !important; }
  html body #stats2 .cf1{ background:#0055FF !important; color:#fff !important; }
  html body #stats2 .cf2{ background:#FB4903 !important; color:#fff !important; }
  html body #stats2 .cf3{ background:#1FA24A !important; color:#fff !important; }
  html body #stats2 .cf4{ background:#FFD21F !important; color:#16191B !important; }
  html body #stats2 .cf .cf-t{ font-size:17px !important; line-height:1.25 !important; max-width:none !important; color:inherit !important; }
  html body #stats2 .cf::before, html body #stats2 .cf::after{ display:none !important; }
  /* машина с росписью не липнет к карточкам */
  html body .pr-art{ margin-top:36px !important; }
  /* отзывы: видно, что листаются */
  html body #testimonials .t-nav{ display:flex !important; }
  html body #testimonials .t-track .testimonial{ flex:0 0 80% !important; }
  .t-hint{ display:flex; align-items:center; gap:8px; margin:14px 0 12px; font-size:14px; color:#5B6472; }
  .t-hint span{ display:inline-block; animation:tHint 1.4s ease-in-out infinite; }
  @keyframes tHint{ 0%,100%{ transform:translateX(0); } 50%{ transform:translateX(6px); } }
}

/* отзывчивость на касание: без задержки и серых вспышек */
a, button, summary, [role="button"], [role="link"], .arc-card{ -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
@media(max-width:700px){ .arc-btn{ width:44px !important; height:44px !important; } }

/* «Почему нас выбирают» на телефоне: вертикальные прямоугольники, крупный текст */
@media(max-width:700px){
  html body .wy-slide{ flex:0 0 74% !important; height:380px !important; padding:22px !important; border-radius:24px !important; }
  html body .wy-n{ font-size:13px !important; }
  html body .wy-ico{ width:56px !important; height:56px !important; border-radius:16px !important; margin-bottom:18px !important; }
  html body .wy-ico svg{ width:30px !important; height:30px !important; }
  html body .wy-slide h3{ font-size:26px !important; line-height:1.18 !important; letter-spacing:-.015em; }
  html body .wy-track{ gap:14px !important; }
}
@media(max-width:700px){
  html body .wy-slide{ flex:0 0 82% !important; }
  html body .wy-slide h3{ font-size:23px !important; hyphens:auto; -webkit-hyphens:auto; overflow-wrap:break-word; }
}
@media(max-width:700px){ html body .wy-slide h3{ hyphens:manual !important; -webkit-hyphens:manual !important; } }

/* ───────── телефон: главный экран на всю высоту, школа крупнее и рисуется быстро ───────── */
@media(max-width:900px){
  html body .hd2{ min-height:calc(100svh - 64px) !important; justify-content:space-between !important; padding-bottom:0 !important; }
  html body .hd2-art{ margin:auto 0 !important; padding:clamp(20px,4svh,40px) 0; }
  html body .hd2-art .hd-svg{ width:290vw; margin-left:-95vw; }
  html body .hd-sh{ animation:hdDraw .55s calc(var(--d) * .22) cubic-bezier(.45,.1,.3,1) forwards, hdFill .6s 1.1s ease-in-out forwards, hdTone .6s 1.1s ease forwards; }
  html body .hd-nf{ animation:hdDraw .55s calc(var(--d) * .22) cubic-bezier(.45,.1,.3,1) forwards, hdTone .6s 1.1s ease forwards; }
  html body .hd-dec{ animation:hdDecFade .6s calc(var(--dd) * .15) ease-in-out forwards; }
  html body .hd-fx{ animation:hdFx .6s 1.5s ease forwards; }
}

/* телефон: школа целиком по ширине экрана, больше воздуха между блоками */
@media(max-width:900px){
  html body .hd2-art .hd-svg{ width:100vw; margin-left:0; }
  html body .hd2-art{ padding:clamp(40px,7svh,72px) 0 clamp(32px,5svh,56px); }
  html body .hd2-head{ gap:28px !important; }
  html body .hd2 .hd2-eyebrow{ margin-bottom:18px !important; }
}

/* ═══════════ телефон: единая сетка отступов (шаг 8px) ═══════════
   поля 20 · секция 48 сверху/снизу · заголовок→контент 24 · карточки 16 · внутри карточки 20 */
@media(max-width:700px){
  :root{ --sec-y:48px; --head-gap:24px; }
  html body .section-head, html body .section-head.sh-plate{ margin-bottom:24px !important; }
  html body #testimonials .section-head.sh-plate{ margin-bottom:12px !important; row-gap:0 !important; }
  html body .t-hint{ margin:0 0 16px; }

  /* бегущая строка: компактные плашки в столбик вместо широкой ленты */
  html body .panel section.marquee-row, html body section.marquee-row{ display:block !important; padding:32px 20px !important; }
  html body .marquee-caption{ margin:0 0 16px; font-size:15px; line-height:1.45; max-width:30ch; }
  html body .marquee{ overflow:visible !important; }
  html body .marquee::before, html body .marquee::after{ display:none !important; }
  html body .marquee-inner{ width:auto !important; display:block !important; transform:none !important; animation:none !important; }
  html body .marquee-track[aria-hidden="true"]{ display:none !important; }
  html body .marquee-track{ display:flex !important; flex-wrap:wrap; gap:8px; width:auto !important; max-width:100%; transform:none !important; will-change:auto !important; }
  html body .marquee-item{ padding:6px 14px 6px 6px !important; gap:10px; border:1px solid #E4E6EA; border-radius:999px; background:#fff; font-size:14px !important; line-height:1.25; white-space:normal; font-weight:600 !important; }
  html body .marquee-item .m-mark{ width:28px; height:28px; border-radius:50%; font-size:11px; }

  /* «Группа компаний»: воздух между абзацем, карточками и пунктами */
  html body #about .ab2{ gap:16px !important; }
  html body #about .ab2-lead{ margin:0 0 8px !important; font-size:17px !important; line-height:1.5 !important; }
  html body #about .ab2-grid{ gap:16px !important; }
  html body #about .ab2-card{ padding:20px !important; column-gap:16px !important; row-gap:6px !important; border-radius:20px !important; }
  html body #about .ab2-points{ margin-top:8px !important; }
  html body #about .ab2-points li{ padding:16px 0 !important; font-size:15px !important; line-height:1.5 !important; }
  html body #about .ab2-points li span{ margin-bottom:6px; }
}
@media(max-width:700px){ html body .marquee-item:nth-child(n+5){ display:none !important; } }

/* телефон: зоны касания не меньше 44px (ссылки подвала, «Развернуть», документы) */
@media(max-width:700px){
  html body footer .footer-top a:not(.btn){ display:flex; align-items:center; min-height:44px; }
  html body footer .footer-legal a, html body footer .footer-bottom a{ display:inline-flex; align-items:center; min-height:44px; }
  html body .t-expand{ display:inline-flex; align-items:center; min-height:44px; }
  html body footer .footer-top{ row-gap:24px; }
}

/* ═══════════ телефон: проход по секциям — остальные блоки на ту же сетку ═══════════ */
@media(max-width:700px){
  /* статистика и этапы: карточки через 16, внутри 20 */
  html body #stats2 .cube{ gap:16px !important; }
  html body #stats2 .cf{ padding:20px 18px !important; }
  html body #process .pr-split .pr-row, html body #process .pr-row{ gap:16px !important; }
  html body #process .pr-split{ gap:16px !important; }
  html body #process .pr-split .pr-card{ padding:20px !important; gap:12px !important; }
  html body #process .pr-card p{ line-height:1.5 !important; }

  /* FAQ: вопросы через 16, блок «Не нашли вопрос» отделён */
  html body #faq .faq-layout{ gap:32px !important; }
  html body #faq .faq-item{ margin-bottom:16px !important; }
  html body #faq .faq-item summary{ min-height:64px; }
  html body #faq .faq-item:last-of-type{ margin-bottom:0 !important; }

  /* отзывы */
  html body #testimonials .t-track{ gap:16px !important; }

  /* форма: крупные подписи, высокие поля, кнопка на всю ширину */
  html body #contact .ct-side{ gap:24px; }
  html body #contact h2{ margin-bottom:12px !important; }
  html body #contact .ct-fields{ display:grid; gap:24px; margin-bottom:24px; }
  html body #contact .form-row label{ display:block; margin-bottom:8px; font-size:14px !important; color:#5B6472; }
  html body #contact .form-row input{ min-height:48px; font-size:17px; padding-top:8px; padding-bottom:8px; }
  html body #contact .consent{ display:flex; gap:12px; align-items:flex-start; margin:0 0 24px; font-size:14px; line-height:1.45; }
  html body #contact .consent input{ flex:none; width:24px; height:24px; margin-top:0; }
  html body #contact .ct-form .btn-primary{ width:100%; justify-content:space-between; min-height:56px; margin-top:0; }
}

/* телефон: кадр по центральному корпусу с вывеской (viewBox задаёт скрипт), края не вылезают */
@media(max-width:900px){
  html body .hd2-art .hd-svg{ width:calc(100vw - 40px); margin:0 20px; overflow:hidden !important; }
}

/* телефон: карточки этапов без теней, чтобы не сливались со следующей */
@media(max-width:700px){
  html body #process .pr-card, html body #process .pr-split .pr-card{ box-shadow:none !important; filter:none !important; }
  html body #process .pr-card::after{ display:none !important; }
}

/* телефон: настоящее здание (кадр задаёт скрипт в index.html), по ширине экрана с полями, края не вылезают */
@media(max-width:900px){
  html body .hd2-art .hd-svg{ width:calc(100vw - 40px); margin:0 20px; overflow:hidden !important; }
}

/* пункты комплексного оформления */
.pgx-steps{ margin:0; padding:0; list-style:none; counter-reset:st; display:grid; gap:4px 16px; font-size:15px; line-height:1.4; color:#5B6472; max-height:0; opacity:0; overflow:hidden; transition:max-height .45s ease, opacity .35s ease, margin .45s ease; }
.pgx-steps li{ counter-increment:st; display:flex; gap:10px; }
.pgx-steps li::before{ content:counter(st); flex:none; width:20px; height:20px; border-radius:50%; background:#FB4903; color:#fff; font-size:11px; font-weight:700; display:grid; place-items:center; margin-top:1px; }
html body .pgx-item.is-on .pgx-steps{ max-height:20em; opacity:1; margin-top:10px; }

/* «Почему нас выбирают»: без слайдера, сетка карточек */
html body #whyus .wy-ctl{ display:none !important; }
html body #whyus .wy-track{ display:grid !important; grid-template-columns:repeat(12,1fr); gap:clamp(12px,1.4vw,20px) !important; overflow:visible !important; scroll-snap-type:none; padding:0 !important; }
html body #whyus .wy-slide{ flex:none !important; grid-column:span 3; height:clamp(220px,19vw,280px) !important; scroll-snap-align:none; }
html body #whyus .wy-slide:nth-child(n+5){ grid-column:span 4; }
html body #whyus .wy-slide h3{ font-size:clamp(18px,1.5vw,22px) !important; }
@media(max-width:900px){
  html body #whyus .wy-track{ grid-template-columns:repeat(2,1fr); }
  html body #whyus .wy-slide, html body #whyus .wy-slide:nth-child(n+5){ grid-column:span 1; height:200px !important; }
  html body #whyus .wy-slide:last-child{ grid-column:1 / -1; height:150px !important; }
}
@media(max-width:520px){
  html body #whyus .wy-track{ gap:10px !important; }
  html body #whyus .wy-slide, html body #whyus .wy-slide:nth-child(n+5){ height:176px !important; padding:16px !important; }
  html body #whyus .wy-slide h3{ font-size:15px !important; }
  html body #whyus .wy-slide:last-child{ height:130px !important; }
}
@media(max-width:520px){
  html body #whyus .wy-slide, html body #whyus .wy-slide:nth-child(n+5){ padding:14px !important; }
  html body #whyus .wy-slide h3{ font-size:13.5px !important; line-height:1.25 !important; overflow-wrap:normal !important; word-break:normal !important; hyphens:auto !important; -webkit-hyphens:auto !important; }
}

/* этапы работы: почти без теней */
html body #process .pr-card, html body #process .pr-split .pr-card{ box-shadow:0 1px 2px rgba(22,25,27,.05) !important; filter:none !important; }
@media(hover:hover){ html body #process .pr-card:hover{ box-shadow:0 8px 18px -12px rgba(22,25,27,.22) !important; } }

/* Компактная горизонтальная навигация на небольших ноутбуках. */
@media(min-width:1280px) and (max-width:1380px){
  html body header #siteNav{ gap:2px !important; }
  html body header #siteNav a{ font-size:13px !important; padding:6px 9px 6px 6px !important; }
}

/* карточки проектов без фото: цветная плашка с названием */
html body .arc-photo--tile{ background:var(--tc) !important; display:flex; align-items:flex-start; justify-content:flex-start; padding:clamp(18px,2vw,30px); box-sizing:border-box; }
html body .arc-photo--tile .arc-big{ font-family:var(--f-sign); font-weight:400; font-size:clamp(28px,3.1vw,54px); line-height:1.02; letter-spacing:.01em; color:var(--tf); text-transform:uppercase; hyphens:manual; overflow-wrap:normal; }
html body .arc-photo--tile + .arc-cap{ background:none !important; color:var(--tf); }

/* главный экран с видео: высота = экран минус шапка */
html body section.hero-dark:not(#_){ min-height:calc(100svh - 64px) !important; padding:clamp(40px,8vh,90px) 0 clamp(28px,6vh,56px) !important; }
@media(max-width:900px){ html body section.hero-dark:not(#_){ min-height:calc(100svh - 64px) !important; padding:32px 0 36px !important; } }
html body .hero-dark .cta-row .btn-ghost{ background:#fff !important; color:#16191B !important; border-color:#fff !important; }
html body .hero-dark .cta-row .btn-ghost .btn-arrow{ background:#EDEFF3 !important; }
html body .hero-dark .cta-row .btn-ghost .btn-arrow svg path{ stroke:#16191B !important; }
html body .hero-dark .cta-row .btn-ghost:hover{ background:#EDEFF3 !important; }
html body .hero-dark .hero-photo::after{ background:linear-gradient(to top, rgba(10,12,14,.82) 0%, rgba(10,12,14,.55) 32%, rgba(10,12,14,.18) 62%, rgba(10,12,14,0) 100%) !important; }

/* «Почему нас выбирают»: спокойные пастельные карточки, яркий цвет только на иконках */
html body #whyus .wy-slide{ color:#16191B !important; box-shadow:none !important; }
html body #whyus .wy-slide::after{ background:rgba(255,255,255,.32) !important; }
html body #whyus .wy-n{ color:#16191B; opacity:.5; }
html body #whyus .wy-ico{ color:#fff !important; }
html body #whyus .wy-orange{ background:#FEE4D7 !important; } html body #whyus .wy-orange .wy-ico{ background:#FB4903 !important; }
html body #whyus .wy-lilac{ background:#EAE4FC !important; }  html body #whyus .wy-lilac .wy-ico{ background:#7040B4 !important; }
html body #whyus .wy-green{ background:#E3F4E9 !important; }  html body #whyus .wy-green .wy-ico{ background:#1FA24A !important; }
html body #whyus .wy-red{ background:#FDE1E4 !important; }   html body #whyus .wy-red .wy-ico{ background:#E5252A !important; }
html body #whyus .wy-blue{ background:#E4EDFF !important; }   html body #whyus .wy-blue .wy-ico{ background:#0055FF !important; }
html body #whyus .wy-yellow{ background:#FFF4CC !important; } html body #whyus .wy-yellow .wy-ico{ background:#FFD21F !important; color:#16191B !important; }
html body #whyus .wy-slate{ background:#E5E8EE !important; }  html body #whyus .wy-slate .wy-ico{ background:#49566C !important; }

/* принтер по видео: логотип «Крылья» на чёрной панели */
.wp-printer .pg-logo path{ fill:#fff !important; }
#process .pr-c6 .k-tile{ --t:var(--k-yellow); --ic:var(--k-ink); }
html body #process .pr-split .pr-card.pr-c5{ grid-column:auto !important; }

/* головка принтера: в покое наверху, едет за станцией */
.wp-head{ transform:translateY(-96px); }

/* Самый длинный мурал: отдельный блок */
#longest{ padding:clamp(28px,4vw,56px) 0; }
#longest .lm-card{ display:grid; grid-template-columns:1.25fr 1fr; gap:0; background:#F3F4F6; border-radius:28px; overflow:hidden; }
#longest .lm-photo{ min-height:clamp(260px,34vw,460px); background:url('img/gallery/longest.jpg') 38% 55%/cover no-repeat; }
#longest .lm-body{ padding:clamp(22px,3.2vw,48px); display:flex; flex-direction:column; justify-content:center; gap:14px; }
#longest .lm-badge{ align-self:flex-start; background:#FFD21F; color:#16191B; font-weight:800; font-size:13px; letter-spacing:.04em; text-transform:uppercase; padding:6px 12px; border-radius:999px; }
#longest h2{ margin:0; font-size:clamp(26px,3vw,42px); line-height:1.08; letter-spacing:-.03em; color:#16191B; }
#longest p{ margin:0; font-size:clamp(15px,1.25vw,18px); line-height:1.5; color:#3A3F46; }
#longest .lm-facts{ list-style:none; margin:6px 0 0; padding:0; display:grid; grid-template-columns:repeat(3,auto); gap:10px 22px; justify-content:start; }
#longest .lm-facts b{ display:block; font-size:clamp(20px,2vw,28px); letter-spacing:-.02em; color:#16191B; }
#longest .lm-facts span{ font-size:13px; color:#6B7480; }
@media(max-width:820px){ #longest .lm-card{ grid-template-columns:1fr; } #longest .lm-photo{ min-height:240px; } #longest .lm-facts{ grid-template-columns:repeat(2,auto); } }

/* Интерьер: общий вид блока */
#interior{ padding:clamp(28px,4vw,56px) 0; }
#interior .lm-card{ display:grid; grid-template-columns:1.25fr 1fr; gap:0; background:#F3F4F6; border-radius:28px; overflow:hidden; }
#interior .lm-photo{ min-height:clamp(260px,34vw,460px); background:url('img/gallery/longest.jpg') 38% 55%/cover no-repeat; }
#interior .lm-body{ padding:clamp(22px,3.2vw,48px); display:flex; flex-direction:column; justify-content:center; gap:14px; }
#interior .lm-badge{ align-self:flex-start; background:#FFD21F; color:#16191B; font-weight:800; font-size:13px; letter-spacing:.04em; text-transform:uppercase; padding:6px 12px; border-radius:999px; }
#interior h2{ margin:0; font-size:clamp(26px,3vw,42px); line-height:1.08; letter-spacing:-.03em; color:#16191B; }
#interior p{ margin:0; font-size:clamp(15px,1.25vw,18px); line-height:1.5; color:#3A3F46; }
#interior .lm-facts{ list-style:none; margin:6px 0 0; padding:0; display:grid; grid-template-columns:repeat(3,auto); gap:10px 22px; justify-content:start; }
#interior .lm-facts b{ display:block; font-size:clamp(20px,2vw,28px); letter-spacing:-.02em; color:#16191B; }
#interior .lm-facts span{ font-size:13px; color:#6B7480; }
@media(max-width:820px){ #interior .lm-card{ grid-template-columns:1fr; } #interior .lm-photo{ min-height:240px; } #interior .lm-facts{ grid-template-columns:repeat(2,auto); } }

/* Интерьер: тизер на главной */
#interior .lm-photo{ background-image:url('img/sozvezdiya/04.jpg'); background-position:50% 50%; }
#interior .lm-card{ grid-template-columns:1fr 1.25fr; }
#interior .lm-badge--blue{ background:#0055FF; color:#fff; }
#interior .btn{ align-self:flex-start; margin-top:6px; }
@media(max-width:820px){ #interior .lm-card{ grid-template-columns:1fr; } #interior .lm-photo{ order:-1; } }

/* Ссылки «Подробнее» в слайдере и кнопка каталога */
.pgx-item{ position:relative; }
.pgx-more{ display:none; margin:2px 0 10px 56px; font-size:13px; font-weight:700; color:#0055FF; text-decoration:none; }
.pgx-item.is-on .pgx-more{ display:inline-block; }
.pgx-more::after{ content:" →"; }
@media(max-width:700px){
  #project-gallery .pgx-more { display:inline-flex; align-items:center; min-height:44px; margin:0; }
  #project-gallery .pgx-more::before { content:""; position:absolute; inset:0; }
}
#longest .btn{ align-self:flex-start; margin-top:6px; }

/* Кнопка «Все проекты» под каруселью */
.all-projects{ display:flex; justify-content:center; padding-top:clamp(8px,1.5vw,20px); }

/* Форма заявки: статус отправки */
.ct-status{ margin:12px 0 0; font-size:15px; line-height:1.4; min-height:1.4em; color:var(--k-muted,#5B6472); }
.ct-status.is-ok{ color:#1FA24A; font-weight:600; }
.ct-status.is-err{ color:#E5252A; font-weight:600; }

/* FAQ: плашки вопросов не растягиваем на весь экран */
@media(min-width:901px){
  html body #faq .faq-layout{ grid-template-columns:minmax(0,1180px) clamp(320px,23vw,440px) !important; justify-content:space-between; gap:clamp(32px,4vw,64px) !important; }
}

/* «Как это выглядит»: чертёж школы над фото */
.pgx-right{ display:flex; flex-direction:column; gap:clamp(14px,1.6vw,22px); min-width:0; }
.pgx-right .pgx-view{ flex:1 1 auto; }
.pgx-draw{ line-height:0; padding:0 2px; }
.pgx-draw .hd-svg{ display:block; width:100%; height:auto; overflow:hidden; }
.pgx-draw .hd-guides, .pgx-draw .hd-levels, .pgx-draw .hd-dimg{ display:none !important; }
.pgx-draw .hd-sh, .pgx-draw .hd-nf, .pgx-draw .hd-dec, .pgx-draw .hd-fx{ animation-play-state:paused !important; }
.pgx-draw.is-run .hd-sh, .pgx-draw.is-run .hd-nf, .pgx-draw.is-run .hd-dec, .pgx-draw.is-run .hd-fx{ animation-play-state:running !important; }


/* чертёж школы: напротив описания блока, над фото */
.pgx-top{ display:grid; grid-template-columns:minmax(280px,5fr) 8fr; gap:clamp(24px,3vw,48px); align-items:end; margin-bottom:clamp(14px,1.6vw,22px); }
.pgx-top .pgx-draw{ padding:0; }
@media(max-width:900px){ .pgx-top{ grid-template-columns:1fr; margin-bottom:0; } }

/* «Как это выглядит»: аккуратная композиция — воздух над блоком, список по высоте фото */
@media(min-width:901px){
  .pgx-top{ margin-bottom:clamp(40px,4.6vw,76px) !important; }
  .pgx-top .tech-lead{ margin-bottom:0 !important; }
  .pgx-top .pgx-draw{ margin-bottom:-6px; }
  #project-gallery .pgx-list{ display:flex; flex-direction:column; height:100%; margin:0; }
  #project-gallery .pgx-item{ flex:1 1 auto; display:flex; flex-direction:column; justify-content:center; }
}

/* FAQ: лёгкие тени вместо тяжёлых */
html body #faq .faq-item{ box-shadow:0 0 0 1px #E4E4E7 inset, 0 1px 2px rgba(22,25,27,.04) !important; }
html body #faq .faq-item[open]{ box-shadow:0 0 0 1px #D4D8DF inset, 0 6px 18px -12px rgba(22,25,27,.18) !important; }
html body #faq .faq-aside{ box-shadow:0 8px 22px -14px rgba(0,64,194,.45) !important; }
html body #faq .faq-aside .btn-primary, html body #faq .faq-aside .btn-primary .btn-arrow{ box-shadow:none !important; }

/* точки на чертеже школы: связаны со слайдами «Как это выглядит» */
.pgx-draw{ position:relative; }
.pgx-draw .hd-hots{ z-index:4; }
.pgx-draw .hd-hot, .pgx-draw .hd-hot::before, .pgx-draw .hd-hot .hd-tag, .pgx-draw .hd-hot .hd-tag::after, .pgx-draw .hd-hot .hd-tag-b{ animation-play-state:paused !important; }
.pgx-draw.is-run .hd-hot, .pgx-draw.is-run .hd-hot::before, .pgx-draw.is-run .hd-hot .hd-tag, .pgx-draw.is-run .hd-hot .hd-tag::after, .pgx-draw.is-run .hd-hot .hd-tag-b{ animation-play-state:running !important; }
.pgx-draw .hd-tag-b, .pgx-draw .hd-pop{ font-size:clamp(12px,.85vw,15px); }
.pgx-draw .hd-pop{ width:clamp(190px,15vw,260px); }
.pgx-draw .hd-hot{ pointer-events:auto; cursor:pointer; }
.pgx-draw .hd-hot.is-top{ z-index:7; }

/* подписи на школе: серые, подсвечена только та, что выбрана в списке */
.pgx-draw .hd-hot:not(.is-active){ --c:#A3ABB7 !important; --t:#EEF0F3 !important; }
.pgx-draw .hd-hot:not(.is-active)::before{ animation:none !important; opacity:0 !important; }
.pgx-draw .hd-hot:not(.is-active) .hd-tag-b{ color:#6B7584; }
.pgx-draw .hd-hot:not(.is-active) .hd-tag-b:hover{ color:var(--ink); }
.pgx-draw .hd-hot.is-active{ z-index:6; }
.pgx-draw .hd-hot.is-active .hd-tag-b{ background:#fff; box-shadow:0 0 0 1.5px var(--c) !important; color:var(--ink); }
.pgx-draw .hd-tag-b, .pgx-draw .hd-hot{ transition:background .3s, color .3s, box-shadow .3s; }

/* чертёж школы в «Как это выглядит»: быстрая анимация (≈3 секунды вместо 8) */
html body .pgx-draw .hd-sh{ animation:hdDraw .55s calc(var(--d) * .38) cubic-bezier(.45,.1,.3,1) forwards, hdFill .6s 1.75s ease-in-out forwards, hdTone .5s 1.75s ease forwards; }
html body .pgx-draw .hd-nf{ animation:hdDraw .55s calc(var(--d) * .38) cubic-bezier(.45,.1,.3,1) forwards, hdTone .5s 1.75s ease forwards; }
html body .pgx-draw .hd-dec{ animation:hdDecFade .5s 1.9s ease-in-out forwards; }
html body .pgx-draw .hd-fx{ animation:hdFx .6s 2.2s ease forwards; }
html body .pgx-draw .hd-hot{ animation:hdDot .35s cubic-bezier(.2,1.7,.4,1) calc(2.5s + var(--n) * .09s) forwards; }
html body .pgx-draw .hd-hot::before{ animation:hdRing 3s ease-out calc(3s + var(--n) * .2s) infinite; }
html body .pgx-draw .hd-hot .hd-tag{ animation:hdTagPop .4s cubic-bezier(.2,.9,.3,1.15) calc(2.7s + var(--n) * .09s) forwards; }
html body .pgx-draw .hd-hot .hd-tag::after{ animation:hdLine .3s ease-out calc(2.55s + var(--n) * .09s) both; }
html body .pgx-draw .hd-hot .hd-tag-b{ animation:hdFloat 4.6s ease-in-out calc(3.2s + var(--n) * .2s) infinite alternate; }

/* ещё быстрее: весь чертёж ≈ 1,5 секунды */
html body .pgx-draw .hd-sh{ animation:hdDraw .3s calc(var(--d) * .18) cubic-bezier(.45,.1,.3,1) forwards, hdFill .35s .8s ease-in-out forwards, hdTone .3s .8s ease forwards; }
html body .pgx-draw .hd-nf{ animation:hdDraw .3s calc(var(--d) * .18) cubic-bezier(.45,.1,.3,1) forwards, hdTone .3s .8s ease forwards; }
html body .pgx-draw .hd-dec{ animation:hdDecFade .3s .9s ease-in-out forwards; }
html body .pgx-draw .hd-fx{ animation:hdFx .4s 1s ease forwards; }
html body .pgx-draw .hd-hot{ animation:hdDot .25s cubic-bezier(.2,1.7,.4,1) calc(1.1s + var(--n) * .05s) forwards; }
html body .pgx-draw .hd-hot::before{ animation:hdRing 3s ease-out calc(1.6s + var(--n) * .2s) infinite; }
html body .pgx-draw .hd-hot .hd-tag{ animation:hdTagPop .3s cubic-bezier(.2,.9,.3,1.15) calc(1.2s + var(--n) * .05s) forwards; }
html body .pgx-draw .hd-hot .hd-tag::after{ animation:hdLine .2s ease-out calc(1.15s + var(--n) * .05s) both; }
html body .pgx-draw .hd-hot .hd-tag-b{ animation:hdFloat 4.6s ease-in-out calc(1.8s + var(--n) * .2s) infinite alternate; }

/* телефон: чертёж показываем, кадрируем по центральному корпусу, подписи скрыты */
@media(max-width:900px){
  .pgx-top .pgx-draw{ margin:clamp(14px,4vw,24px) 0 clamp(16px,4vw,24px); }
}
@media(max-width:700px){
  .pgx-draw{ display:none !important; }
}

/* мобильное меню: активный пункт читаем (тёмный текст на белом) */
@media(max-width:1279px){
  html body header #siteNav a.is-active, html body.pj-page header #siteNav a.is-active{ color:#16191B !important; background:transparent !important; box-shadow:none !important; }
  html body header #siteNav a.is-active i{ transform:none; }
}

/* планшет: фото над списком, как и раньше (обёртка .pgx-right) */
@media(max-width:900px){ .pgx-right{ order:-1; } }

/* одинаковые отступы между блоками: рекорд и интерьер как остальные секции */
html body #longest, html body #interior{ padding-top:var(--sec-y) !important; padding-bottom:var(--sec-y) !important; }

/* СМИ о нас */
#press{ padding-top:var(--sec-y); padding-bottom:var(--sec-y); }
#press[hidden]{ display:none; }
.press-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); gap:20px; }
.press-card{ display:flex; flex-direction:column; gap:10px; padding:28px; border-radius:var(--r-card); background:var(--c-surface);
  color:var(--c-ink); text-decoration:none; box-shadow:var(--k-shadow); transition:transform .25s ease; }
.press-card:hover{ transform:translateY(-3px); }
.press-src{ font-family:var(--f-sign); font-size:18px; color:#0055FF; }
.press-date{ font-size:var(--t-cap); color:var(--c-muted); }
.press-title{ font-size:var(--t-b); font-weight:700; line-height:1.35; }
.press-more{ margin-top:auto; padding-top:12px; display:inline-flex; align-items:center; gap:8px; font-size:var(--t-s); font-weight:700; color:#0055FF; }
.press-card{ padding:0; overflow:hidden; }
.press-card > span:not(.press-img){ margin-left:28px; margin-right:28px; }
.press-img{ display:block; aspect-ratio:16/10; background-size:cover; background-position:center; background-color:#E4E6EA; margin-bottom:6px; }
.press-more{ padding-bottom:26px; }
.press-links{ margin-top:auto; padding-top:12px; display:flex; flex-wrap:wrap; gap:8px 22px; }
.press-links .press-more{ margin:0; padding:0 0 26px; text-decoration:none; }

#press .museum-press-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); max-width:860px;}
#press .press-heading{display:flex; flex-direction:row; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;}
#press .press-controls{display:flex; gap:8px; margin-left:auto;}
#press .press-controls button{display:grid;}
#pressTrack.press-grid{
  display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 60px)/4);
  gap:20px; overflow-x:auto; scroll-snap-type:x mandatory; padding-block:6px 22px;
}
#pressTrack > .press-card{min-width:0; scroll-snap-align:start;}
#press .press-grid .press-title{margin:0 28px; font:700 clamp(18px,1.35vw,24px)/1.3 var(--f-body,sans-serif);}
#press .press-grid .press-src{line-height:1.35; font-family:inherit; font-size:15px; font-weight:600; color:var(--c-muted);}
@media(max-width:1279px){#pressTrack.press-grid{grid-auto-columns:calc((100% - 40px)/3);}}
@media(max-width:950px){#pressTrack.press-grid{grid-auto-columns:calc((100% - 20px)/2);}}
@media(max-width:620px){#pressTrack.press-grid{grid-auto-columns:88%; gap:14px;}}
#press .press-card > time{ margin-inline:28px; }
#press .press-img > img{ display:block; width:100%; height:100%; object-fit:cover; }
#press .press-links{ padding-bottom:26px; }
#press .press-links .press-more{ padding-bottom:0; }



/* Кнопки первого экрана: стрелка занимает правый край целиком. */
html body section.hero-dark:not(#_) .hero-action .cta-row .btn{
  display:flex;
  justify-content:space-between !important;
  align-items:center;
  min-height:48px !important;
  padding:0 0 0 20px !important;
}
html body section.hero-dark:not(#_) .hero-action .cta-row .btn .btn-arrow{
  flex:0 0 48px;
  width:48px;
  min-height:48px;
  align-self:stretch;
  margin:0 0 0 18px !important;
  transform:none !important;
}

/* Один номер этажа виден даже до запуска JS и при reduced motion. */
html body #stats2.cube-sec .fs-digits > span[hidden]{display:none !important;}

/* Интерьер школы № 18 «Время, вперёд!»: рекреация с жёлтыми пуфами. */
html body #interior .lm-photo{background-image:url('img/sozvezdiya/10.jpg');background-position:50% 50%;}

/* География проектов */
#geography [data-accent="green"]{--geo-accent:#14823e;--geo-ink:#fff;}
#geography [data-accent="blue"]{--geo-accent:#0055ff;--geo-ink:#fff;}
#geography [data-accent="orange"]{--geo-accent:#ff692d;--geo-ink:#16191b;}
#geography [data-accent="yellow"]{--geo-accent:#ffd21f;--geo-ink:#16191b;}
#geography [data-accent="red"]{--geo-accent:#cf1731;--geo-ink:#fff;}

.geo-map{display:grid;gap:12px;min-width:0;}
.geo-scale{position:absolute;width:1px;height:1px;opacity:0;}
.geo-switch{display:flex;flex-wrap:wrap;gap:4px;width:fit-content;padding:4px;border-radius:14px;background:#edf2fa;}
.geo-switch label{
  padding:8px 12px;border-radius:10px;color:#33435b;cursor:pointer;
  font:700 clamp(12px,1vw,15px)/1.3 var(--f-text);
}
#geo-all:checked ~ .geo-switch label[for="geo-all"]{background:#0055ff;color:#fff;}
#geo-kaluga:checked ~ .geo-switch label[for="geo-kaluga"]{background:#30353a;color:#fff;}
#geo-all:focus-visible ~ .geo-switch label[for="geo-all"],
#geo-kaluga:focus-visible ~ .geo-switch label[for="geo-kaluga"]{outline:2px solid #0055ff;outline-offset:3px;}
.geo-views{overflow:hidden;border-radius:16px;background:#f3f5fa;}
.geo-view{display:none;position:relative;margin:0;}
#geo-all:checked ~ .geo-views .geo-overview,
#geo-kaluga:checked ~ .geo-views .geo-detail{display:block;}
.geo-detail > img{filter:grayscale(1) contrast(.96);}
.geo-view img{display:block;width:100%;height:auto;}
.geo-view span.geo-label{cursor:default;text-decoration:none;}
.geo-distance{position:absolute;left:4%;bottom:5%;width:13.52%;border-bottom:2px solid #485b55;text-align:center;color:#233730;font:700 12px/1.5 var(--f-text);}
.geo-distance::before,.geo-distance::after{content:"";position:absolute;bottom:0;height:5px;border-left:2px solid #485b55;}
.geo-distance::before{left:0;}.geo-distance::after{right:0;}
.geo-view [data-side="right"]{transform:translate(8px,-50%);}
.geo-view [data-side="left"]{transform:translate(calc(-100% - 8px),-50%);}
.geo-view [data-side="above"]{transform:translate(-50%,calc(-100% - 7px));}
.geo-view [data-side="below"]{transform:translate(-50%,7px);}
.geo-leader{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;}
.geo-label{z-index:1;}
.geo-label{
  position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);
  display:grid;place-items:center;min-height:24px;padding:4px clamp(5px,.7vw,12px);
  border:0;border-radius:99px;background:var(--geo-accent);color:var(--geo-ink);cursor:pointer;
  font:700 clamp(10px,1vw,15px)/1.16 var(--f-text);text-decoration:none;white-space:nowrap;
}
.geo-label:hover{text-decoration:underline;}
.geo-label:focus-visible{outline:2px solid #0055ff;outline-offset:2px;}
.geo-source{margin:0;padding-inline:4px;color:#4d5b70;font-size:12px;line-height:1.4;}
.geo-source a{color:inherit;text-underline-offset:.18em;}
.geo-pin{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);z-index:1;}
.geo-pin[open]{z-index:2;}
.geo-pin summary.geo-label{position:static;transform:none;list-style:none;}
.geo-pin summary::-webkit-details-marker{display:none;}
.geo-pin p{position:absolute;top:100%;left:50%;transform:translateX(-50%);width:max-content;max-width:min(240px,55vw);margin:5px 0 0;padding:9px 12px;border-radius:10px;background:white;color:var(--ink);box-shadow:0 3px 14px #0002;font:600 14px/1.35 var(--f-text);}
#geo-petersburg p{left:0;transform:none;}
#geo-arzamas p{left:auto;right:0;transform:none;}
@media(max-width:900px){
  #geo-kaluga:checked ~ .geo-views{overflow-x:auto;}
  .geo-detail{min-width:800px;}
}
@media(max-width:600px){
  .geo-overview{width:170%;margin-left:-33%;}
  .geo-distance{left:22%;}
}
@media(max-width:500px){
  .geo-views{border-radius:12px;}
  .geo-label{min-height:22px;padding-inline:5px;}
}

/* Запас под тень внутри горизонтальной прокрутки отзывов. */
html body #testimonials .t-track{padding:12px 12px 40px !important;margin:-12px -12px -40px;}
html body #testimonials .testimonial{box-shadow:0 8px 20px -12px rgba(28,42,69,.22) !important;}
/* Кадр фотографии из скриншота статьи: без заголовка и полей страницы. */
html body .press-img--zhukov{position:relative;overflow:hidden;}
html body .press-img--zhukov svg{display:block;position:absolute;inset:0;width:100%;height:100%;}

html body .cookie.cookie-over-hero { top:80px; bottom:auto !important; }
@media(max-width:1279px){
  html body header #siteNav {
    align-items:stretch; overflow-y:auto !important; overscroll-behavior:contain;
    padding:76px max(24px,5vw) 24px !important;
  }
  html body header #siteNav a { flex:none; min-height:44px; padding-block:10px !important; }
  html body header #siteNav .nav-cta { margin-top:14px !important; }
  html body.menu-open > header { z-index:110; transform:none; }
  html body.menu-open #cookie { visibility:hidden; }
}
