/* ============================================
   RESET + ПЕРЕМЕННЫЕ
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

a:focus { outline: none; }
a:focus-visible, button:focus-visible, summary:focus-visible  { outline: 2px solid var(--accent2);  outline-offset: 3px;}

/* --- Локальные шрифты --- */
@font-face {
  font-family: 'Kapakana';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/kapakana-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/great-vibes-v21-cyrillic_latin-regular.woff2') format('woff2');
  unicode-range: U+0030-0039, U+0400-045F, U+0000-00FF; 
}


:root {
  --bg: #0f1115;
  --card: #171a21;
  --text: #f4f5f7;
  --muted: #b4bac6;
  --accent: #ff5c39;
  --accent2: #ffb09d;
  --border: #2e3440;
  --ok: #4ade80;
  --green: #73db9f;
  --line: #313846;
  --max-w: 1580px;
  --font-GreatVibes: 'Great Vibes', cursive;
  --font-Kapakana: 'Kapakana', cursive;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  --surface: #151922;
  --surface-2: #1b202b;
  --air: 2.5rem;

  
}

/* ============================================
   БАЗА
   ============================================ */
body { margin: 0; background: radial-gradient(circle at 82% 8%, rgba(255, 104, 72, .10), transparent 26rem), var(--bg); color: var(--text); font: 16px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
main { max-width: 100%; }

h1 { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; font-weight: 600; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 1.2rem; text-shadow: 1px 1px 0 var(--accent); opacity: .8; 
  & em { display: block; color: var(--accent); font-family: var(--font-GreatVibes); font-weight: 400; font-style: normal; font-size: 1.1em; letter-spacing: 0; text-align: right; text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3); }
}

h2 { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; font-weight: 400; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 1rem; 
  &::after { content: none; }
}
h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.5rem; }
h4 { font-size: 0.95rem; font-weight: 700; margin: 0 0 0.3rem; }
p { color: var(--muted); margin-bottom: 1rem; }
ul { list-style: none; }
a { color: inherit; }
img { max-width: 100%; }

.lead { color: var(--muted); font-size: 1.15rem; margin-bottom: 2rem; }
.stack { margin-top: 1rem; color: #cfd3da; font-size: 0.95rem; }

.case-page { 
  & section { position: relative; padding-bottom: 3rem;
    & h2 { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; font-weight: 400; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 1rem; 
      &::after { content: none; }
    }
  }
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem 1rem; }
.case-actions { display: flex; gap: 1rem; }
.logo-mobile { display: none; }
#cases { scroll-margin-top: 20px;}
/* ============================================
   ШАПКА
   ============================================ */
.hero { padding-top: var(--air); 
  & .eyebrow { color: rgba(255, 92, 57, 0.75); letter-spacing: 0.13em; text-transform: uppercase; margin: 0 0 1rem; }
  & h1 { margin: 0 0 1.2rem; font-size: clamp(2.2rem, 6vw, 5rem); letter-spacing: -0.02em; font-weight: 400; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; line-height: 6.5rem; 
    & em { display: block; color: var(--accent); font-family: var(--font-GreatVibes); font-weight: 400; font-style: normal; font-size: 1.1em; letter-spacing: 0; text-align: right; text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3); }
  }
}

.site-header { border-bottom: 1px solid var(--border); background: rgba(15, 17, 21, 0.95); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; }

.header-inner { max-width: var(--max-w); margin: 0 auto; padding: 1.1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; 
  @media (max-width: 780px) { padding: 0.9rem 20px; gap: 1rem; }
}

/* --- Лого --- */
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; 
  & img.logo-desktop { height: 50px; width: auto; display: block; transition: opacity 0.2s; }
  &:hover img { opacity: 0.85; }
  
  & img.logo-mobile { display: none; }
  
  @media (max-width: 780px) { 
    & img.logo-desktop { display: none; }
    & img.logo-mobile { display: block; height: 40px; width: auto; }
  }
}

/* --- Навигация --- */
.main-nav { display: flex; gap: 2rem; align-items: center; 
  & a { position: relative; font-family: var(--font-GreatVibes); font-weight: 400; font-size: 2rem; letter-spacing: 0.01em; color: var(--muted); text-decoration: none; line-height: 1.4; transition: color 0.2s; 
    &::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
    &:hover, &.active { color: var(--text); 
      &::after { transform: scaleX(1); }
    }
  }
}

/* --- Кнопка в шапке --- */
.header-cta { 
  @media (max-width: 780px) { display: inline-flex; padding: 0.5rem 1rem; font-size: 0.85rem; min-height: auto; white-space: nowrap; text-align: center; align-items: center; justify-content: center; margin: 0 auto; }
}

/* --- Бургер --- */
.burger { display: none; position: relative; width: 32px; height: 24px; cursor: pointer; margin-left: auto; z-index: 60; 
  &::before, &::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--text); transform: translateY(-50%); transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease; }
  &::after { box-shadow: 0 -8px 0 var(--text), 0 8px 0 var(--text); }
}


/* ============================================
   КНОПКИ
   ============================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.7rem 1.3rem; border-radius: 10px; font-size: 0.92rem; font-weight: 600; text-decoration: none; transition: 0.2s; white-space: nowrap; cursor: pointer; min-height: 50px;  width: fit-content;}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: #ff7050; }
.btn-ghost { color: var(--text); border: 1px solid var(--border); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.header-cta { padding: 0.55rem 1.1rem; font-size: 0.9rem; white-space: nowrap; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35); background: transparent; color: var(--accent); border: 1px dashed var(--accent); }
.contacts-actions { display: flex; gap: 1em; flex-wrap: wrap; margin-top: 1.5rem; }


/* ============================================
   СЕКЦИИ
   ============================================ */
.about-section {width: 100%; position: relative; }
.bdb { margin-bottom: 2rem; width: 100%; position: relative; padding-bottom: 3rem; }
   .bdb::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 1px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 5px 10px); opacity: 0.35; }
.about-section h2 { margin: 0 0 1rem; }
.about-section .lead { margin-bottom: 2rem; font-size: 1.25rem; }

.about-section-head { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1rem; }
.about-section-head .eyebrow { color: rgba(255, 92, 57, 0.85); font-size: 0.8rem; font-weight: 400; letter-spacing: 0.13em; text-transform: uppercase; margin: 0; white-space: nowrap; padding: 2.5rem 0 0 0; display: block; }

.eyebrow { display: flex; align-items: center; gap: 1rem; font-weight: 400; font-size: clamp(.6rem, 2.8vw, 0.8rem); letter-spacing: 0.01em; color: var(--accent); margin-bottom: 1.8rem; line-height: 1.2; text-align: right; margin-top: -1.1rem; }
.eyebrow::before { content: ""; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 5px 10px); opacity: 0.35; }


/* ============================================
   СЕТКИ
   ============================================ */
.about-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 2.5rem 0; }
.about-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

/* ============================================
   КАРТОЧКИ
   ============================================ */
.card { padding: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: 18px; }
.card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; font-weight: 700; }
.card p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.card .about-list { margin-top: 1rem; }
.card-num { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 0.9rem; border-radius: 50%; background: transparent; border: 1px solid var(--accent); color: var(--text); font-weight: 700; font-size: 0.95rem; }
.check { color: var(--ok); margin-right: 0.5rem; }

.card-list { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 1.2rem; padding: 0; list-style: none; margin-bottom: 2rem; }
.card-list li::before { content: "—"; color: var(--accent); margin-right: .5rem; }

/* ============================================
   ФАКТЫ
   ============================================ */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--border); border-radius: 18px; margin-bottom: 3rem; padding: 0 !important; gap: 0 !important; }
.facts > div { padding: 0 1.5rem; border-right: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); }
.facts > div:last-child { border-right: 0; }
.facts strong { display: block; font-size: 1.3rem; font-weight: 400; margin: 0.9rem 0 0.2rem; color: var(--text); }
.facts span { color: var(--muted); font-size: 0.82rem; display: block; margin-bottom: 0.9rem; }

/* ============================================
   HINT (details)
   ============================================ */
.hint { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hint + .hint { border-top: none; }
.hint summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 700; list-style: none; gap: 1rem; }
.hint summary::-webkit-details-marker { display: none; }
.hint summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; }
.hint[open] summary::after { content: "−"; }
.hint p { margin: 0 0 1.2rem; color: var(--muted); }

/* ============================================
   CTA
   ============================================ */
.cta { margin-top: 3rem; padding: 2rem; background: var(--card); border: 1px solid var(--border); border-radius: 16px; text-align: center; }
.cta h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.cta p { color: var(--muted); margin-bottom: 1.3rem; }
.cta-actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }

/* ============================================
   ФУТЕР
   ============================================ */
.site-footer {
  border-top: 1px solid var(--border); margin-top: 5rem; padding: 2.5rem 0;
  & .footer-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
    @media (max-width: 780px) { flex-direction: column; align-items: center; gap: 1rem; }  }
  & .footer-copy {
    display: inline-flex; align-items: flex-end; gap: 0.75rem; text-decoration: none; transition: opacity 0.2s;
    &:hover { opacity: 0.85; }
    & img { height: 40px; width: auto; display: block; opacity: 0.45; }
    & span { font-family: var(--font-Kapakana); font-weight: 400; font-size: 1.4rem; color: var(--muted); line-height: 1; }
  }
  & .footer-contacts {
    display: flex; gap: 1.25rem; margin-top: 25px;
    @media (max-width: 780px) { flex-wrap: wrap; justify-content: center; gap: 1rem 1.5rem; }
    & a {
      color: var(--muted); font-size: 1.9rem; text-decoration: none; transition: color 0.2s; display: inline-flex;
      &:hover { color: var(--accent); }
    }
  }
}
/* ============================================
   ПРОЦЕСС
   ============================================ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.step { position: relative; padding: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; 
  &::before { content: var(--bg-number); position: absolute; font-size: clamp(80px, 10vw, 140px); font-weight: 900; bottom: -35px; right: 10px; line-height: 1; z-index: 0; font-family: var(--font-GreatVibes); color: var(--accent); opacity: .15; }
  & h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.5rem; position: relative; z-index: 1; }
  & p { color: var(--muted); font-size: 0.9rem; margin: 0; position: relative; z-index: 1; margin-right: 7rem; }
}

/* ============================================
   ГЛАВНАЯ
   ============================================ */
.index-hero { display: grid; grid-template-columns: 1.08fr .46fr; gap: 4rem; align-items: center; margin-bottom: 3rem; margin-top: var(--air);
  & h1 { line-height: 6.5rem; }
  & .lead { margin-bottom: 1.5rem; }
}

/* Хиро — карточка «Проект под ключ» */
.hero-card { min-height: 470px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); position: relative; padding: 2.5rem; 
  &::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -90px; border: 22px solid rgba(255,104,72,.12); border-radius: 50%; }
  & .hero-card-title { position: relative; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.2rem; }
  & .hero-card-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; position: relative; 
    & li { display: grid; grid-template-columns: 34px 1fr; gap: 0.8rem; align-items: start; }
    & b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 92, 57, 0.12); color: var(--accent); font-weight: 700; font-size: 0.85rem; }
    & strong { display: block; font-size: 0.98rem; margin-bottom: 0.15rem; }
    & span { color: var(--muted); font-size: 0.85rem; }
  }
}

.availability { display: flex; align-items: center; gap: .55rem; margin-top: 1.4rem; color: var(--muted); font-size: .9rem; 
  &::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 5px rgba(115,219,159,.1); }
}
/* Кейсы (список на главной) */
.cases { background: linear-gradient(180deg, transparent, rgba(255,255,255,.018), transparent); }
.case-list { display: grid; gap: 32px; }

.case-card { display: grid; grid-template-columns: 1.06fr .94fr; min-height: 470px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); 
  &:nth-child(even) .case-visual { order: 2; }
}

.case-visual { position: relative; display: grid; place-items: center; padding: 34px; overflow: hidden; background: #ede7e2; color: #222; /*aspect-ratio: 700 / 540;*/ 
  & img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
  &.expo { background: #f0eeee; }
}

.case-body { padding: clamp(1.7rem,4vw,3.2rem); display: flex; flex-direction: column; justify-content: center; 
  & h3 { margin: 0 0 .8rem; font-size: clamp(2rem,4vw,3.35rem); line-height: 1; letter-spacing: -.04em; font-weight: 400; }
  & p { margin: 0; color: var(--muted); }
}

.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.tag { padding: .28rem .58rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; 
  &.accent { color: var(--accent); background: rgba(255, 92, 57, 0.12); border-color: transparent; }
  &.live { color: var(--ok); background: rgba(115, 219, 159, 0.12); border-color: transparent; }
}

.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1rem; 
  & span { padding: 4px 10px; border-radius: 100px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid transparent; color: var(--muted); background: rgba(255, 255, 255, 0.05); 
    &.accent { color: var(--accent); background: rgba(255, 92, 57, 0.12); }
    &.live { color: var(--ok); background: rgba(115, 219, 159, 0.12); }
  }
}

.case-points { display: grid; gap: .55rem; margin: 1.25rem 0 1.5rem; padding: 0; list-style: none; 
  & li { display: grid; grid-template-columns: 18px 1fr; gap: .55rem; color: var(--muted); font-size: 0.92rem; 
    &::before { content: "✓"; color: var(--ok); font-weight: 900; }
  }
}
.case-links { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Логотипы в заголовках кейсов */
.title-lift-link, .title-lift-expo { position: relative; padding-right: 130px; min-height: 48px; display: flex; align-items: center; 
  &::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 150px; min-height: 40px; background-repeat: no-repeat; background-position: center; background-size: contain; opacity: 0.6; }
}
.title-lift-link::after { background-image: url(/assets/lift-nav-logo.webp); filter: brightness(0) invert(1); }
.title-lift-expo::after { background-image: url(/assets/450-logo-rus.svg); filter: brightness(0) invert(1); }



  /* КОНСТРУКТОР БЛОКОВ*/
/* Сброс стандартного оформления чекбокса */
input[type="checkbox"] {    -webkit-appearance: none;    appearance: none;}

.builder-section { padding: 4rem 0; }
.builder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; }

.brick-group { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: 18px; transition: 0.25s; 
  &:hover { border-color: rgba(255, 92, 57, 0.3); }
}

.brick-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.5rem; 
  & .brick-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 92, 57, 0.08); color: var(--accent); 
    & svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  }
  & strong { font-size: 1.05rem; color: #fff; }
}

.brick-desc { margin: 0 0 0.5rem 0; color: var(--muted); font-size: 0.88rem; line-height: 1.4; }

.brick-option { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.4rem; border-radius: 8px; cursor: pointer; transition: 0.2s; font-size: 0.9rem; color: var(--muted); 
  &:hover { background: rgba(255,255,255,0.03); }
  & input[type="checkbox"] { margin-top: 0.2rem; accent-color: var(--accent); }
  & span { line-height: 1.4; }
}
.brick-level { color: var(--accent2); }
/* Блок результата (счетчик + кнопки) */
.builder-result { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 2rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px dashed var(--border); 
  & p { font-size: 1.1rem; color: var(--muted); margin: 0; }
  & span { font-weight: 700; font-size: 1.2rem; color: var(--accent); }
  & .btn { white-space: nowrap; }
}
.builder-actions { display: flex; gap: 1rem; align-items: center; 
  @media (max-width: 780px) {
    flex-direction: column;
    width: 100%;
    & .btn { width: 100%; justify-content: center; }
  }
}
/* --- Адаптив --- */
@media (max-width: 1100px) {
  .builder-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .builder-grid { grid-template-columns: 1fr; }
  
  .builder-result { flex-direction: column; align-items: stretch; text-align: center; gap: 1rem; 
    & .btn { width: 100%; justify-content: center; }
  }
}

/* Почему заказчику спокойнее */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2rem; }
.why-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); 
  & .why-num { display: block; color: var(--accent); font-size: 0.85rem; letter-spacing: 0.08em; margin-bottom: 0.8rem; }
  & h3 { margin: 0 0 0.5rem; font-size: 1.05rem; font-weight: 700; }
  & p { color: var(--muted); font-size: 0.9rem; margin: 0; }
}

/* Профиль (основной блок) */
.about-grid { display: grid; grid-template-columns: .75fr 2.25fr; gap: 60px; align-items: center; margin-top: var(--air); }

.portrait-placeholder { min-height: 390px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg,#252b37,#12151b); overflow: hidden; 
  & span { width: 190px; height: 190px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; color: var(--accent-soft); font: italic 700 6rem Georgia,serif; box-shadow: 0 0 0 40px rgba(255,255,255,.025), 0 0 0 80px rgba(255,255,255,.015); 
    & img { width: 80%; opacity: .75; }
  }
}

.profile-about-copy p { color: var(--muted); font-size: 1.04rem; }
.profile-about-list { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 1.2rem; padding: 0; list-style: none; margin-bottom: 2rem; 
  & li::before { content: "—"; color: var(--accent); margin-right: .5rem; }
}

.profile-block { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: start; padding: 2.5rem; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); margin-top: 1.5rem; }

.profile-mark { width: 92px; height: 92px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 92, 57, 0.08); font-family: var(--font-GreatVibes); font-size: 2.4rem; color: var(--accent); }
.profile-body > p { color: var(--muted); margin: 0 0 1.5rem; }

.profile-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 2rem; 
  & li { position: relative; padding-left: 1.4rem; font-size: 0.92rem; color: var(--muted); 
    &::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
  }
}

/* ============================================
   ПРОФИЛЬ
   ============================================ */

/* --- Хиро --- */
.about-hero { display: grid; grid-template-columns: 1.08fr .46fr; gap: 4rem; align-items: center; margin-bottom: 3rem; 
  & h1 { line-height: 1.05; }
  & .lead { margin-bottom: 1.5rem; }
}

.identity { position: relative; min-height: 460px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(145deg, #242a36, #12151b); 
  &::before, &::after { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 50%; }
  &::before { width: 430px; height: 430px; }
  &::after { width: 310px; height: 310px; }
  
  & .identity-mark { position: relative; z-index: 2; width: 190px; height: 190px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 50%; background: rgba(13, 15, 19, 0.35); 
    & img { width: 150px; height: auto; display: block; }
  }
  
  & .identity-note { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 3; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(13, 15, 19, 0.88); color: var(--muted); font-size: 0.86rem; 
    & strong { display: block; color: var(--text); font-size: 1rem; }
  }
}

/* --- Стек --- */
.stack-group { display: grid; grid-template-columns: 350px 1fr; gap: 2rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); 
  &:last-of-type { border-bottom: none; }
}

.stack-group-title { 
  & h3 { margin: 0 0 0.35rem; font-size: 1.5rem; font-weight: 300; }
  & p { color: var(--muted); font-size: 1.0rem; margin: 0; }
}

.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.tool { min-height: 174px; padding: 1.15rem; border: 1px solid var(--border); border-radius: 17px; background: var(--card); 
  & .icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 560%; background: rgba(255, 92, 57, 0.08); color: var(--accent); 
    & svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  }
  & h4 { margin: .8rem 0 .3rem; font-size: 0.95rem; font-weight: 700; }
  & p { margin: 0; color: var(--muted); font-size: .84rem; }
}

/* --- Качество --- */
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 2rem; }
.quality-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); 
  & h3 { display: flex; align-items: center; gap: .7rem; margin: 0 0 .6rem; 
    & span { color: var(--green); }
  }
  & p { margin: 0; color: var(--muted); }
  & ul { margin: 1rem 0 0; padding-left: 1.15rem; color: var(--muted); list-style-type: disc; }
}

/* --- Старт (2 колонки) --- */
.start-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; margin-top: 3rem; }
.checklist { display: grid; gap: 12px; }
.check { display: grid; grid-template-columns: 34px 1fr; gap: .8rem; padding: 1.1rem; border: 1px solid var(--border); border-radius: 15px; background: var(--card); 
  & b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(115, 219, 159, 0.11); color: var(--ok); font-weight: 700; }
  & strong { display: block; color: #fff; font-weight: 400; }
  & span { color: var(--muted); font-size: .86rem; }
}

.start-note { padding: 1.6rem; border: 1px solid rgba(255, 92, 57, 0.42); border-radius: 22px; background: linear-gradient(145deg, rgba(255, 92, 57, 0.13), rgba(255, 255, 255, 0.02)); margin-top: 5.5rem; 
  & h3 { margin-top: 0; font-size: 1.55rem; font-weight: normal; }
  & p { color: var(--muted); }
  & .hint { margin-top: 1rem; }
  & .btn { margin-top: 1rem; }
}

/* --- Карточки --- */
.about-card { padding: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: 18px; 
  & h3 { margin: 0 0 0.5rem; font-size: 1.05rem; font-weight: 700; }
  & p { color: var(--muted); font-size: 0.92rem; margin: 0; }
  & .about-list { margin-top: 1rem; }
}
.about-card-num { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 0.9rem; border-radius: 50%; background: transparent; border: 1px solid var(--accent); color: var(--text); font-weight: 700; font-size: 0.95rem; }
.about-check { color: var(--ok); margin-right: 0.5rem; }

/* --- Хиро-карточка (дубль из главной, но с min-height 250px) --- */
.hero-card { min-height: 250px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); position: relative; padding: 2.5rem; 
  &::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -90px; border: 22px solid rgba(255,104,72,.12); border-radius: 50%; }
  & .hero-card-title { position: relative; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.2rem; }
  & .hero-card-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; position: relative; 
    & li { display: grid; grid-template-columns: 34px 1fr; gap: 0.8rem; align-items: start; }
    & b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 92, 57, 0.12); color: var(--accent); font-weight: 700; font-size: 0.85rem; }
    & strong { display: block; font-size: 0.98rem; margin-bottom: 0.15rem; }
    & span { color: var(--muted); font-size: 0.85rem; }
  }
}

.availability { display: flex; align-items: center; gap: .55rem; margin-top: 1.4rem; color: var(--muted); font-size: .9rem; 
  &::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 5px rgba(115,219,159,.1); }
}

/* --- Заголовки блоков --- */
.bdb::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 1px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 5px 10px); opacity: 0.35; }
.about-section { margin-bottom: 2rem; width: 100%; position: relative; 
  & h2 { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; font-weight: 400; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 1rem; 
    &::after { content: none; }
  }
  & .lead { margin-bottom: 2rem; font-size: 1.25rem; }
}
.about-section-head { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1rem; }


/* ============================================
   КОНТАКТЫ
   ============================================ */
.case-page section { position: relative; padding-bottom: 3rem;
  & h2 { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; font-weight: 400; font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 1rem; 
    &::after { content: none; }
  }
}

/* --- Хиро --- */
.contact-hero { display: grid; grid-template-columns: 1fr 1fr; gap: var(--air); align-items: center; margin-bottom: 3rem; margin-top: var(--air);
  & .eyebrow { color: rgba(255, 92, 57, 0.75); font-size: 0.8rem; font-weight: 400; letter-spacing: 0.13em; text-transform: uppercase; margin: 0 0 1rem; }
  & h1 { margin: 0 0 1.2rem; font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.02em; font-weight: 400; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; line-height: 4.5rem; 
    & em { display: block; color: var(--accent); font-family: var(--font-GreatVibes); font-weight: 400; font-style: normal; font-size: 1.1em; letter-spacing: 0; text-align: right; text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3); }
  }
  & .lead { margin-bottom: 1.5rem; }
}

/* --- Сетка каналов --- */
.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; padding: 28px 0 28px; gap: var(--air); }

.channel { padding: clamp(1.4rem,3vw,2rem); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); 
  &.primary-card { background: linear-gradient(145deg, rgba(255,104,72,.15), var(--surface)); border-color: rgba(255,104,72,.46); }
  & .channel-head { display: flex; align-items: start; gap: 1rem; }
  & .channel-icon { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,104,72,.15); color: var(--accent2); font-size: 1.25rem; }
  & h2 { margin: 0; font-size: 1.45rem; }
  & .channel-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
  & .address { display: block; margin-top: 1.1rem; color: var(--muted); font-size: .88rem; overflow-wrap: anywhere; }
  & .status { min-height: 1.4em; margin: .6rem 0 0; color: var(--green); font-size: .84rem; }
}

/* Кнопки внутри контактов */
button.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.15rem; border-radius: 12px; text-decoration: none; cursor: pointer; }
.primary { background: var(--accent); color: #111318; }
button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.025); color: #fff; }

/* --- Шаблон письма --- */
.template-section { background: rgba(255,255,255,.012); }
.template-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--air); }

.brief-list { display: grid; gap: 12px; }
.brief-item { display: grid; grid-template-columns: 36px 1fr; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); 
  & b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(115,219,159,.11); color: var(--ok); }
  & strong { display: block; font-weight: 400; }
  & span { color: var(--muted); font-size: .86rem; }
}

.mail-preview { padding: 1.45rem; border: 1px solid var(--line); border-radius: 22px; background: #f6f4f1; color: #23262b; box-shadow: 0 24px 65px rgba(0,0,0,.23); 
  & .mail-line { display: grid; grid-template-columns: 78px 1fr; gap: .6rem; padding: .5rem 0; border-bottom: 1px solid #dedbd6; font-size: .9rem; 
    & span:first-child { color: #72777f; }
  }
  & .mail-body { white-space: pre-line; padding: 1.2rem 0 0; font: 15px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace; }}
  & p.mail-note { margin-top: 1rem; color: var(--muted); font-size: .88rem; }

.builder-summary { display: none; margin: 1.5rem 0; padding: 1rem; background: rgba(0, 0, 0, 0.2); border-radius: 8px; }
.builder-summary-title { margin: 0 0 0.5rem 0; font-size: 0.85rem; color: var(--accent2); text-transform: uppercase; letter-spacing: 0.05em; }
.builder-summary-list { margin: 0; font-weight: 600; color: #fff; line-height: 1.4; }
/* --- Что будет дальше (expect) --- */
.expect { padding: 86px 0; }
.expect-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 2.5rem; }

.expect-card { padding: 1.0rem 1.4rem 1.5rem 1.4rem; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); padding-right: 9rem; position: relative; 
  &::before { content: var(--bg-number); position: absolute; font-size: clamp(80px, 10vw, 140px); font-weight: 900; color: #0f1115; bottom: -35px; right: 10px; line-height: 1; z-index: 0; font-family: var(--font-GreatVibes); color: var(--accent); opacity: .15; }
  & b { color: var(--accent); font-size: .78rem; letter-spacing: .12em; }
  & h3 { margin: .2rem 0 .4rem; }
  & p { margin: 0; color: var(--muted); font-size: .9rem; }
}

.privacy-note { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; 
  & strong { color: var(--text); }
}

/* --- Скриншоты --- */
.screens { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0; 
  & a { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); transition: 0.2s; 
    &:hover { border-color: var(--accent); transform: translateY(-2px); }
    & img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
  }
}


   /* ============================================
   КЕЙСЫ
   ============================================ */

/* --- Хиро кейса --- */
.hero.case { 
  & h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 4.5rem; 
    & em { font-size: clamp(2.5rem, 3vw, 3.2rem); color: var(--muted); }
  }
}

/* --- Коллаж --- */
.collage { width: 100%; height: 730px; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(12, 1fr); gap: 3px; max-width: 1560px; margin: 1.5rem auto; 
  @media (max-width: 1100px) { height: auto; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
  @media (max-width: 1080px) { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

.collage-item { background-size: cover; background-position: top center; border-radius: 0px; border: 1px solid var(--border); transition: transform 0.25s, box-shadow 0.25s; 
  &:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--accent); }
  
  @media (max-width: 1100px) { aspect-ratio: 4 / 3; grid-area: auto !important; border-radius: 8px; }
  @media (max-width: 1080px) { aspect-ratio: 16 / 10; border-radius: 12px; }
  
  &:nth-child(1) { grid-area: 1 / 1 / 7 / 3; }
  &:nth-child(2) { grid-area: 7 / 1 / 13 / 3; }
  &:nth-child(3) { grid-area: 1 / 3 / 5 / 5; }
  &:nth-child(4) { grid-area: 5 / 3 / 9 / 5; }
  &:nth-child(5) { grid-area: 9 / 3 / 13 / 5; }
  &:nth-child(6) { grid-area: 1 / 5 / 4 / 5; }
  &:nth-child(7) { grid-area: 4 / 5 / 7 / 5; }
  &:nth-child(8) { grid-area: 1 / 6 / 7 / 7; }
  &:nth-child(9) { grid-area: 7 / 5 / 13 / 7; }
}

.fact-value { color: var(--muted); }

/* --- Внутренности кейса --- */
.case-page {
  & .lead { color: var(--muted); font-size: 1.15rem; margin: 2rem 0; }
  & .two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.5rem 0 2rem; }
  & .col { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1.4rem 1.5rem; 
    & h3 { font-size: 1.05rem; margin-bottom: 0.8rem; }
    & ul { margin-bottom: 0; list-style-type: disc; margin-left: 1.5rem; color: var(--muted); 
      & li { font-size: 0.92rem; }
    }
  }
  & .col-tag { display: inline-block; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: rgba(255,92,57,0.12); color: var(--accent); margin-bottom: 0.7rem; 
    &.live { background: rgba(74,222,128,0.12); color: var(--ok); }
  }
  & .cta { margin-top: 3rem; padding: 2rem; background: var(--card); border: 1px solid var(--border); border-radius: 16px; text-align: center; 
    & h3 { font-size: 1.3rem; margin-bottom: 0.6rem; border-bottom: none; padding-bottom: 0; }
    & p { color: var(--muted); margin-bottom: 1.3rem; }
  }
}

/* --- Таймлайн --- */
.timeline { position: relative; margin-top: 2rem; padding-left: 2rem; 
  &::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
}
.timeline-item { position: relative; padding-bottom: 2rem; 
  &:last-child { padding-bottom: 0; }
}
.timeline-marker { position: absolute; left: -2rem; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline-content { 
  & h3 { margin: 0 0 0.4rem; font-size: 1.05rem; font-weight: 700; }
  & p { margin: 0; color: var(--muted); font-size: 0.92rem; }
}

/* --- Списки и визуал --- */
.about-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.about-copy { display: flex; flex-direction: column; }
.about-visual { display: flex; align-items: center; padding: 0 !important; 
  & video { width: 100%; height: auto; display: block; border-radius: 18px; border: 1px solid var(--line); }
}

.about-list.case-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; margin-bottom: 2rem; 
  & li { display: flex; gap: .55rem; align-items: baseline; 
    & strong { color: #fff; font-weight: normal; font-size: 1.0rem; word-wrap: nowrap; }
  }
}

/* --- Мокапы --- */
.case-preview-row { display: flex; align-items: center; justify-content: center; gap: 3rem; margin: 0 auto 60px; }
.case-preview { display: block; position: relative; }

.case-preview--desktop { aspect-ratio: 700 / 589; flex: 1; max-width: 900px; 
  &::before { content: ""; position: absolute; inset: 0; background: url('/assets/comp-mocup.webp') center / contain no-repeat; z-index: 2; pointer-events: none; }
  & img { position: absolute; left: 49.6%; top: 42%; transform: translate(-50%, -50%); width: 89.17%; height: 71.4%; object-fit: cover; object-position: top; display: block; z-index: 1; }
}

.case-preview--mobile { aspect-ratio: 482 / 974; flex: 0 0 320px; max-width: 320px; 
  &::before { content: ""; position: absolute; inset: 0; background: url('/assets/mocup-mobile.webp') center / contain no-repeat; z-index: 2; pointer-events: none; }
  & img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 89.2%; height: 95.5%; object-fit: cover; object-position: top; display: block; z-index: 1; }
}

/* --- Ссылки и мелочи --- */
.firmstyle-link { background: none; border: none; border-bottom: 1px dashed var(--accent); padding: 0; margin: 0; font: inherit; color: var(--text); cursor: pointer; transition: 0.2s; 
  &:hover { color: var(--accent); }
}
.personal h2 { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; font-size: 150%; }
@media (max-width: 780px) {
  body:has(.main-nav.is-open)::before { content: ""; position: fixed; inset: 0; background: rgba(15, 17, 21, 0.62); backdrop-filter: blur(2px); z-index: 40; }

  .container { padding: 0; }

  /* --- Меню --- */
  .burger { display: block; background: transparent; border: none; padding: 0; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: row; gap: 2rem; background: #1f242d; border-top: 2px solid var(--accent); border-bottom: 1px solid #6b75898f; border-left: 1px solid var(--border); border-right: 1px solid var(--border); padding: 0.7rem 1.5rem 0.3rem; z-index: 45; 
    & a { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; padding: 0.85rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--border); position: static; 
      &:last-child { border-bottom: none; }
      &::after { display: none; }
    }
    &.is-open { display: flex; }
  }
  .burger.is-active { 
    &::before { transform: translateY(-50%) rotate(45deg); }
    &::after { transform: translateY(-50%) rotate(-45deg); box-shadow: none; }
  }

  /* --- Базовые отступы --- */
  main { padding: 0 20px; }
  .hero { padding-top: 0; }

  /* --- Заголовки --- */
  .hero h1, .index-hero h1, .contact-hero h1 { line-height: 1.1; overflow-wrap: break-word; word-wrap: break-word; text-align: center; 
    & em { text-align: center; display: block; margin-top: 0.2rem; color: #fff; }
    &:before { display: none; }
  }
  h2 { text-align: center; }

  .about-section-head .eyebrow { color: var(--accent); font-size: .7rem; font-weight: 400; letter-spacing: 0.13em; text-transform: uppercase; white-space: nowrap; padding: .1rem 0 1.5rem 0; display: flex; flex-direction: column; align-items: center; border-top: 1px solid var(--accent); width: 100%; opacity: .65; margin-top: 1rem; }
  .hero .eyebrow { text-align: center; padding-top: 1em; display: flex; flex-direction: column; align-items: center; 
    &::before { display: none; }
  }
  .bdb { margin: 0; padding: 0; 
    &::after { display: none; }
  }

  /* --- Мокапы кейсов --- */
  .case-preview-row { gap: 0; } 
  .case-preview--mobile { display: none; }

  /* --- Хиро --- */
  .index-hero, .about-hero, .contact-hero { grid-template-columns: 1fr; gap: 2rem; }
  .hero h1, .index-hero h1 { line-height: 1.1; }
  .hero-card { min-height: auto; padding: 1.5rem; }
  .hero.case em { font-size: 2.1rem; line-height: 1.2; display: none; }

  /* --- Профиль --- */
  .container.about-grid { grid-template-columns: 1fr; gap: 2rem; align-items: start; margin-top: 2rem; display: flex; flex-direction: column-reverse; }
  .identity, .portrait-placeholder { display: none; }

  /* --- Списки и сетки --- */
  .about-grid-2, .about-grid-3, .card-list, .profile-about-list, .profile-list, .about-list.case-points, .quality-grid, .start-grid, .template-grid, .two-cols, .case-page .two-cols, .screens, .why-grid, .process-grid, .expect-grid, .stack-grid, .facts { grid-template-columns: 1fr; }
  
  .step { 
    & p { margin-right: 2rem; }
    &::before { bottom: -15px; right: 10px; opacity: .25; }
  }
  .profile-block { grid-template-columns: 1fr; }

  /* --- Кнопки --- */
  .btn.btn-primary, .case-actions .btn, .btn.btn-ghost { width: 100%; justify-content: center; text-align: center; }
  .case-actions { flex-direction: column; gap: 0.75rem; }
  .case-page section { position: relative; padding-bottom: 1.3rem; }

  /* --- Коллаж и скриншоты --- */
  .collage { grid-template-columns: 1fr; }
  .collage-item { aspect-ratio: 16 / 10; border-radius: 12px; }
  .screens { grid-template-columns: 1fr; }
  
  /* --- Карточки кейсов --- */
  .case-card { grid-template-columns: 1fr; 
    &:nth-child(even) .case-visual { order: 0; }
  }

  /* --- Стек --- */
  .stack-group { display: block; margin-bottom: 2rem; padding-bottom: 1.5rem; 
    &:last-of-type { margin-bottom: 0; border-bottom: none; }
  }
  .stack-group-title { margin-bottom: 1rem; 
    & h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
    & p { font-size: 0.95rem; margin: 0; }
  }
  .stack-grid { display: flex; flex-direction: column; gap: 12px; width: 100%; }
  .tool { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto 1fr; gap: 0 1rem; align-items: start; padding: 1.25rem; width: 100%; box-sizing: border-box; min-height: auto; 
    & .icon { grid-row: span 2; margin: 0; }
    & h4 { grid-column: 2; margin-top: 0; margin-bottom: 0.3rem; }
    & p { grid-column: 2; margin: 0; }
  }

  /* --- Карточки с цифрами --- */
  .about-card {
    &:has(.about-card-num) { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto 1fr; gap: 0 1rem; align-items: start; padding: 1.25rem; width: 100%; box-sizing: border-box; 
      & .about-card-num { grid-row: span 2; margin: 0; width: 40px; height: 40px; }
      & h3 { grid-column: 2; margin-top: 0; margin-bottom: 0.3rem; }
      & p { grid-column: 2; margin: 0; }
    }
    &:not(:has(.about-card-num)) { display: block; padding: 1.25rem; }
  }

  /* --- Факты (2x2) --- */
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 2rem; padding: 0 !important; 
    & > div { padding: 1.25rem 1rem; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); box-sizing: border-box; 
      &:nth-child(2n) { border-right: 0; }
      &:nth-child(n+3) { border-bottom: 0; }
    }
    & strong { font-size: 1.15rem; margin: 0 0 0.2rem; overflow-wrap: anywhere; }
    & span { font-size: 0.8rem; margin: 0; }
  }

  /* --- Контакты --- */
  .contact-layout { grid-template-columns: 1fr; gap: 1.5rem; padding: 20px 0 40px; margin-top: 0; }
  .channel { padding: 1.25rem; box-sizing: border-box; 
    &-head { flex-direction: row; align-items: flex-start; }
    & h2 { font-size: 1.2rem; text-align: left; }
    &-actions button { width: 100%; }
  }

  .expect-card { overflow: hidden; 
    &::before { bottom: -15px; opacity: .25; }
    & p { margin-right: -2rem; }
  }

  /* --- Фикс списков с галочками --- */
  .about-list.case-points { display: block; padding-left: 0; margin-left: 0; 
    & li { display: block; position: relative; padding-left: 1.5rem; margin-bottom: 0.8rem; 
      &::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 900; }
      & strong { display: inline; }
    }
  }
}

/* Плавный отклик для карточек */
.case-card, .about-card, .tool, .why-card, .step, .expect-card { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.case-card:hover, .about-card:hover, .tool:hover, .why-card:hover, .step:hover, .expect-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); border-color: rgba(255, 92, 57, 0.3); }

/* На мобилках (где нет курсора) отключаем */
@media (hover: none) {
  .case-card:hover, .about-card:hover, .tool:hover, .why-card:hover, .step:hover, .expect-card:hover { transform: none; box-shadow: none; border-color: var(--border); }
}