:root {
      --bg: #f5f3ef;
      --surface: #ffffff;
      --surface-soft: #f8f5f2;
      --ink: #141414;
      --muted: #625d57;
      --line: rgba(20, 20, 20, 0.12);
      --line-strong: rgba(20, 20, 20, 0.22);
      --accent: #c7342f;
      --accent-dark: #ab2622;
      --accent-soft: rgba(199, 52, 47, 0.08);
      --dark: #131922;
      --radius: 20px;
      --shadow: 0 18px 40px rgba(20, 20, 20, 0.05);
    }

    * { box-sizing: border-box; }

    html, body {
      margin: 0;
      padding: 0;
      scroll-behavior: smooth;
    }

    body {
      font-family: "IBM Plex Sans", sans-serif;
      color: var(--ink);
      background:
        radial-gradient(circle at top right, rgba(199, 52, 47, 0.08), transparent 28%),
        linear-gradient(180deg, #faf8f5 0%, var(--bg) 42%, #fbfaf8 100%);
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .container {
      width: min(1160px, calc(100% - 48px));
      margin-inline: auto;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 80;
      backdrop-filter: blur(14px);
      background: rgba(250, 248, 245, 0.86);
      border-bottom: 1px solid rgba(20, 20, 20, 0.06);
    }

    .site-header .container {
      min-height: 84px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
    }

    .logo-image {
      display: block;
      width: auto;
      height: 54px;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 22px;
    }

    .nav a {
      color: #39352f;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
      transition: color 0.18s ease;
    }

    .nav a:hover {
      color: var(--accent);
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .header-phone {
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
    }

    .nav-toggle {
      min-height: 44px;
      min-width: 44px;
      padding: 0;
      border-radius: 12px;
      border: 1px solid var(--line);
      display: none;
      align-items: center;
      justify-content: center;
      background: transparent;
      color: var(--ink);
      cursor: pointer;
      transition: border-color 0.18s ease, background 0.18s ease;
    }

    .nav-toggle:hover {
      border-color: var(--line-strong);
      background: rgba(255, 255, 255, 0.6);
    }

    .nav-toggle-box {
      position: relative;
      width: 22px;
      height: 14px;
      display: inline-block;
    }

    .nav-toggle-box span {
      position: absolute;
      left: 0;
      width: 100%;
      height: 1.5px;
      border-radius: 999px;
      background: currentColor;
      transition: top 0.25s ease 0.1s, transform 0.25s ease, opacity 0.18s ease;
    }

    .nav-toggle-box span:nth-child(1) { top: 0; }
    .nav-toggle-box span:nth-child(2) { top: calc(50% - 0.75px); }
    .nav-toggle-box span:nth-child(3) { top: calc(100% - 1.5px); }

    .nav-toggle[aria-expanded="true"] .nav-toggle-box span {
      transition: top 0.2s ease, transform 0.25s ease 0.18s, opacity 0.15s ease;
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(1) {
      top: calc(50% - 0.75px);
      transform: rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(2) {
      opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(3) {
      top: calc(50% - 0.75px);
      transform: rotate(-45deg);
    }

    .mobile-menu {
      border-top: 1px solid rgba(20, 20, 20, 0.06);
      background: rgba(250, 248, 245, 0.94);
    }

    .mobile-menu[hidden] {
      display: none;
    }

    .mobile-menu .container {
      padding: 14px 0 18px;
    }

    .mobile-group + .mobile-group {
      margin-top: 16px;
    }

    .mobile-label {
      display: block;
      margin-bottom: 10px;
      color: #6a645d;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .mobile-nav {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .mobile-nav a {
      min-height: 46px;
      padding: 0 14px;
      border-radius: 14px;
      border: 1px solid var(--line);
      display: inline-flex;
      align-items: center;
      background: #fff;
      color: #39352f;
      font-size: 14px;
      font-weight: 700;
      transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    }

    .mobile-nav a:hover {
      color: var(--accent);
      border-color: var(--line-strong);
      background: rgba(255, 255, 255, 0.84);
    }

    .btn {
      min-height: 50px;
      padding: 0 22px;
      border-radius: 14px;
      border: 1px solid transparent;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: "IBM Plex Sans", sans-serif;
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
      transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    }

    .btn:hover { transform: translateY(-1px); }

    .btn-primary {
      background: var(--accent);
      color: #fff;
      box-shadow: 0 16px 32px rgba(199, 52, 47, 0.18);
    }

    .btn-primary:hover { background: var(--accent-dark); }

    .btn-secondary {
      background: transparent;
      color: var(--ink);
      border-color: var(--line);
    }

    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.72);
      border-color: var(--line-strong);
    }

    .hero {
      padding: 74px 0 60px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
      gap: 40px;
      align-items: start;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      color: #6a645d;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 40px;
      height: 2px;
      background: var(--accent);
    }

    .hero-title {
      margin: 20px 0 18px;
      max-width: 560px;
      font-family: "IBM Plex Sans Condensed", sans-serif;
      font-size: clamp(46px, 6.2vw, 76px);
      line-height: 0.94;
      letter-spacing: -0.04em;
      font-weight: 700;
      text-transform: uppercase;
    }

    .hero-title .accent {
      color: var(--accent);
    }

    .hero-sub {
      margin: 0;
      max-width: 560px;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.72;
    }

    .hero-actions {
      margin-top: 26px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .hero-stats {
      margin-top: 34px;
      padding-top: 14px;
      border-top: 1px solid var(--line);
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      max-width: 720px;
    }

    .hero-stats strong {
      display: block;
      margin-bottom: 4px;
      color: var(--accent);
      font-family: "IBM Plex Sans Condensed", sans-serif;
      font-size: 26px;
      line-height: 1;
      font-weight: 700;
    }

    .hero-stats span {
      display: block;
      color: #4c4740;
      font-size: 14px;
      line-height: 1.7;
    }

    .hero-rail {
      padding: 24px;
      border-radius: var(--radius);
      border: 1px solid rgba(20, 20, 20, 0.08);
      border-top: 4px solid var(--accent);
      background: var(--surface);
      box-shadow: var(--shadow);
    }

    .rail-kicker {
      color: var(--muted);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .rail-title {
      margin: 14px 0 12px;
      font-family: "IBM Plex Sans Condensed", sans-serif;
      font-size: 34px;
      line-height: 0.94;
      font-weight: 700;
      text-transform: uppercase;
    }

    .rail-text {
      margin: 0 0 18px;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.75;
    }

    .rail-list {
      margin: 0 0 24px;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 12px;
    }

    .rail-list li {
      padding-top: 12px;
      border-top: 1px solid var(--line);
      color: #39352f;
      font-size: 14px;
      line-height: 1.7;
    }

    .rail-phone {
      display: inline-block;
      margin-bottom: 14px;
      color: var(--ink);
      font-size: 22px;
      font-weight: 800;
    }

    .rail-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .rail-links a {
      min-height: 40px;
      padding: 0 14px;
      border-radius: 12px;
      border: 1px solid rgba(20, 20, 20, 0.1);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 700;
      background: var(--surface-soft);
    }

    .brand-line {
      padding: 24px 0;
      border-top: 1px solid rgba(20, 20, 20, 0.08);
      border-bottom: 1px solid rgba(20, 20, 20, 0.08);
    }

    .brand-row {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
      align-items: center;
      justify-content: space-between;
    }

    .brand-label {
      color: var(--muted);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .brand-items {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
      align-items: center;
      color: #403b34;
      font-size: 15px;
      font-weight: 700;
    }

    .brand-items span {
      position: relative;
      padding-right: 18px;
    }

    .brand-items span::after {
      content: "";
      position: absolute;
      right: 0;
      top: 50%;
      width: 5px;
      height: 5px;
      margin-top: -2px;
      border-radius: 50%;
      background: rgba(199, 52, 47, 0.4);
    }

    .brand-items span:last-child {
      padding-right: 0;
    }

    .brand-items span:last-child::after {
      display: none;
    }

    .section {
      padding: 84px 0;
    }

    .section-head {
      max-width: 720px;
      margin-bottom: 40px;
    }

    .section-label {
      color: var(--accent);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .section-title {
      margin: 16px 0 18px;
      font-family: "IBM Plex Sans Condensed", sans-serif;
      font-size: clamp(44px, 6vw, 74px);
      line-height: 0.94;
      letter-spacing: -0.04em;
      font-weight: 700;
      text-transform: uppercase;
    }

    .section-text {
      margin: 0;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.85;
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 34px;
    }

    .feature {
      padding-top: 18px;
      border-top: 2px solid rgba(199, 52, 47, 0.18);
    }

    .feature-no {
      display: inline-block;
      margin-bottom: 14px;
      color: var(--accent);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .feature h3 {
      margin: 0 0 10px;
      font-size: 24px;
      line-height: 1.15;
    }

    .feature p {
      margin: 0;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.85;
    }

    .section-soft {
      background: linear-gradient(180deg, rgba(199, 52, 47, 0.04), rgba(199, 52, 47, 0.01));
      border-top: 1px solid rgba(20, 20, 20, 0.06);
      border-bottom: 1px solid rgba(20, 20, 20, 0.06);
    }

    .process {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 34px;
    }

    .step {
      padding: 24px;
      border-radius: 18px;
      border: 1px solid rgba(20, 20, 20, 0.08);
      background: rgba(255, 255, 255, 0.72);
    }

    .step-no {
      display: inline-block;
      margin-bottom: 16px;
      color: var(--accent);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .step h3 {
      margin: 0 0 10px;
      font-size: 24px;
      line-height: 1.15;
    }

    .step p {
      margin: 0;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.8;
    }

    .lead-wrap {
      display: grid;
      grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
      gap: 24px;
      align-items: start;
    }

    .lead-panel {
      padding: 28px;
      border-radius: var(--radius);
      background: linear-gradient(180deg, var(--accent), var(--accent-dark));
      color: #fff;
      box-shadow: 0 20px 44px rgba(199, 52, 47, 0.18);
    }

    .lead-panel h3 {
      margin: 0 0 16px;
      font-family: "IBM Plex Sans Condensed", sans-serif;
      font-size: clamp(40px, 5vw, 60px);
      line-height: 0.94;
      letter-spacing: -0.04em;
      font-weight: 700;
      text-transform: uppercase;
    }

    .lead-panel p {
      margin: 0 0 24px;
      color: rgba(255, 255, 255, 0.88);
      font-size: 16px;
      line-height: 1.8;
    }

    .lead-list {
      margin: 0 0 26px;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 12px;
    }

    .lead-list li {
      padding-top: 12px;
      border-top: 1px solid rgba(255, 255, 255, 0.2);
      font-size: 15px;
      line-height: 1.75;
    }

    .lead-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .lead-links a {
      min-height: 40px;
      padding: 0 14px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.22);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 700;
      background: rgba(255, 255, 255, 0.08);
    }

    .form-wrap {
      padding: 28px;
      border-radius: var(--radius);
      border: 1px solid rgba(20, 20, 20, 0.08);
      background: var(--surface);
      box-shadow: var(--shadow);
    }

    .form-wrap h3 {
      margin: 0 0 22px;
      font-size: 30px;
      line-height: 1.1;
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .form-grid .full {
      grid-column: 1 / -1;
    }

    label {
      display: block;
      margin-bottom: 8px;
      color: #6b655d;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .field {
      width: 100%;
      min-height: 54px;
      padding: 14px 16px;
      border-radius: 14px;
      border: 1px solid rgba(20, 20, 20, 0.12);
      background: #fff;
      color: var(--ink);
      font: inherit;
      outline: none;
      transition: border-color 0.18s ease, box-shadow 0.18s ease;
    }

    .field:focus {
      border-color: rgba(199, 52, 47, 0.4);
      box-shadow: 0 0 0 4px rgba(199, 52, 47, 0.08);
    }

    textarea.field {
      min-height: 124px;
      resize: vertical;
    }

    .form-actions {
      margin-top: 16px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .form-note {
      margin: 14px 0 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.7;
    }

    .form-consent {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin: 16px 0 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.5;
      cursor: pointer;
    }
    .form-consent input[type="checkbox"] {
      flex: 0 0 auto;
      margin-top: 2px;
      width: 16px;
      height: 16px;
      accent-color: var(--accent);
    }
    .form-consent a {
      color: var(--ink);
      text-decoration: underline;
    }
    .form-consent a:hover { color: var(--accent); }

    .form-status {
      display: none;
      margin-top: 14px;
      padding: 14px 16px;
      border-radius: 14px;
      font-size: 14px;
      font-weight: 700;
      line-height: 1.7;
    }

    .form-status.ok {
      display: block;
      background: rgba(33, 105, 67, 0.08);
      border: 1px solid rgba(33, 105, 67, 0.16);
      color: #30583a;
    }

    .form-status.err {
      display: block;
      background: rgba(199, 52, 47, 0.08);
      border: 1px solid rgba(199, 52, 47, 0.16);
      color: #7c2a26;
    }

    .form-status.info {
      display: block;
      background: rgba(20, 20, 20, 0.04);
      border: 1px solid var(--line);
      color: var(--muted);
    }

    .faq {
      display: grid;
      gap: 10px;
    }

    .faq-item {
      border-top: 1px solid var(--line-strong);
    }

    .faq-btn {
      width: 100%;
      padding: 22px 0;
      border: 0;
      background: transparent;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      color: var(--ink);
      text-align: left;
      font-family: "IBM Plex Sans", sans-serif;
      font-size: 20px;
      font-weight: 700;
      cursor: pointer;
    }

    .faq-btn span:last-child {
      color: var(--accent);
      font-size: 24px;
      font-weight: 400;
    }

    .faq-content {
      display: none;
      max-width: 760px;
      padding: 0 0 22px;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.85;
    }

    .faq-item.open .faq-content {
      display: block;
    }

    .final-line {
      padding: 0 0 76px;
    }

    .final-box {
      padding-top: 20px;
      border-top: 2px solid rgba(199, 52, 47, 0.18);
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }

    .final-box h3 {
      margin: 0 0 10px;
      font-family: "IBM Plex Sans Condensed", sans-serif;
      font-size: clamp(38px, 5vw, 58px);
      line-height: 0.94;
      letter-spacing: -0.04em;
      font-weight: 700;
      text-transform: uppercase;
    }

    .final-box p {
      margin: 0;
      max-width: 560px;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.8;
    }

    .site-footer {
      padding: 28px 0 38px;
      border-top: 1px solid rgba(20, 20, 20, 0.08);
      color: var(--muted);
    }

    .footer-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      flex-wrap: wrap;
      font-size: 13px;
      line-height: 1.7;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }

    .reveal {
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    html.js .reveal {
      opacity: 0;
      transform: translateY(16px);
    }

    html.js .reveal.show {
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 980px) {
      .nav {
        display: none;
      }

      .nav-toggle {
        display: inline-flex;
      }

      .hero-grid,
      .lead-wrap,
      .grid-3,
      .process {
        grid-template-columns: 1fr;
      }

      .hero-grid {
        gap: 40px;
      }

      .hero-stats {
        grid-template-columns: 1fr 1fr 1fr;
      }
    }

    @media (max-width: 720px) {
      .container {
        width: min(1160px, calc(100% - 28px));
      }

      .site-header .container {
        min-height: 76px;
      }

      .logo-image {
        height: 44px;
      }

      .header-phone {
        display: none;
      }

      .header-actions {
        gap: 10px;
      }

      .header-actions .btn {
        min-height: 46px;
        padding: 0 16px;
      }

      .nav-toggle {
        min-height: 46px;
        min-width: 46px;
      }

      .hero {
        padding: 56px 0 52px;
      }

      .hero-title {
        max-width: 100%;
        font-size: clamp(34px, 10.5vw, 52px);
      }

      .hero-sub,
      .section-text,
      .final-box p {
        font-size: 16px;
      }

      .hero-actions .btn,
      .form-actions .btn {
        width: 100%;
      }

      .hero-stats {
        grid-template-columns: 1fr;
        margin-top: 26px;
      }

      .section {
        padding: 68px 0;
      }

      .form-wrap,
      .lead-panel,
      .hero-rail {
        padding: 20px;
      }

      .form-grid {
        grid-template-columns: 1fr;
      }

      .mobile-nav {
        grid-template-columns: 1fr;
      }
    }

    /* ============================================================
       Reviews grid (social proof)
       ============================================================ */
    .reviews-head {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
      align-items: center;
      margin-bottom: 28px;
    }

    .reviews-rating {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 16px;
      border-radius: 14px;
      background: var(--surface);
      border: 1px solid var(--line);
    }

    .reviews-rating .stars {
      color: #f5a623;
      font-size: 18px;
      letter-spacing: 2px;
    }

    .reviews-rating .score {
      font-weight: 800;
      font-size: 18px;
    }

    .reviews-rating .count {
      color: var(--muted);
      font-size: 13px;
    }

    .reviews-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 22px;
    }

    .review-card {
      padding: 26px;
      border-radius: var(--radius);
      border: 1px solid var(--line);
      background: var(--surface);
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .review-card .quote {
      color: var(--ink);
      font-size: 15px;
      line-height: 1.7;
    }

    .review-card .quote::before {
      content: "“";
      display: inline-block;
      color: var(--accent);
      font-family: "IBM Plex Sans Condensed", sans-serif;
      font-size: 36px;
      line-height: 0;
      vertical-align: -10px;
      margin-right: 6px;
    }

    .review-card .meta {
      margin-top: auto;
      padding-top: 12px;
      border-top: 1px solid var(--line);
      display: flex;
      justify-content: space-between;
      gap: 10px;
      color: var(--muted);
      font-size: 13px;
    }

    .review-card .author {
      font-weight: 800;
      color: var(--ink);
    }

    /* ============================================================
       Cases grid (case studies with numbers)
       ============================================================ */
    .case-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 22px;
    }

    .case-card {
      padding: 28px;
      border-radius: var(--radius);
      border: 1px solid var(--line);
      border-top: 4px solid var(--accent);
      background: var(--surface);
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .case-card .niche {
      color: var(--muted);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .case-card h3 {
      margin: 0;
      font-size: 22px;
      line-height: 1.2;
    }

    .case-card .deltas {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      padding: 12px 0;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .case-card .deltas div {
      font-size: 13px;
      color: var(--muted);
    }

    .case-card .deltas strong {
      display: block;
      color: var(--accent);
      font-family: "IBM Plex Sans Condensed", sans-serif;
      font-size: 22px;
      line-height: 1;
      margin-bottom: 4px;
    }

    .case-card .body {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.7;
    }

    /* ============================================================
       Calculator widget
       ============================================================ */
    .calc-wrap {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
      gap: 28px;
      padding: 28px;
      border-radius: var(--radius);
      border: 1px solid var(--line);
      border-top: 4px solid var(--accent);
      background: var(--surface);
      box-shadow: var(--shadow);
    }

    .calc-form { display: grid; gap: 14px; }

    .calc-form label {
      display: block;
      font-size: 13px;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 6px;
    }

    .calc-form .field {
      width: 100%;
      min-height: 48px;
      padding: 12px 14px;
      border-radius: 12px;
      border: 1px solid var(--line);
      background: var(--surface-soft);
      font-family: inherit;
      font-size: 15px;
      color: var(--ink);
    }

    .calc-form .field:focus {
      outline: none;
      border-color: var(--accent);
      background: #fff;
    }

    .calc-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .calc-result {
      align-self: stretch;
      padding: 24px;
      border-radius: 16px;
      background: linear-gradient(180deg, rgba(199, 52, 47, 0.08), rgba(199, 52, 47, 0.02));
      border: 1px dashed rgba(199, 52, 47, 0.4);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 18px;
    }

    .calc-result .kicker {
      color: var(--muted);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .calc-result .price {
      font-family: "IBM Plex Sans Condensed", sans-serif;
      font-size: 44px;
      line-height: 1;
      color: var(--accent);
      font-weight: 700;
    }

    .calc-result .price small {
      display: block;
      font-size: 14px;
      color: var(--muted);
      font-weight: 500;
      margin-top: 6px;
    }

    .calc-result .term {
      color: var(--ink);
      font-size: 14px;
      line-height: 1.6;
    }

    .calc-result .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    /* Инлайн-форма захвата контактов внутри карточки калькулятора */
    .calc-lead {
      display: none;
      grid-column: 1 / -1;
      margin-top: 4px;
      padding-top: 22px;
      border-top: 1px solid var(--line);
      animation: calcLeadIn 0.25s ease;
    }
    .calc-lead.open { display: block; }
    @keyframes calcLeadIn {
      from { opacity: 0; transform: translateY(-6px); }
      to { opacity: 1; transform: none; }
    }
    .calc-lead-head {
      font-size: 14px;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 14px;
    }
    .calc-lead-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }
    .calc-lead-grid label {
      display: block;
      font-size: 13px;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 6px;
    }
    .calc-lead-grid .field {
      width: 100%;
      min-height: 48px;
      padding: 12px 14px;
      border-radius: 12px;
      border: 1px solid var(--line);
      background: var(--surface-soft);
      font-family: inherit;
      font-size: 15px;
      color: var(--ink);
    }
    .calc-lead-grid .field:focus {
      outline: none;
      border-color: var(--accent);
      background: #fff;
    }
    .calc-lead-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
    .calc-lead-foot {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      align-items: center;
      justify-content: space-between;
      margin-top: 16px;
    }
    .calc-lead-foot .form-consent { margin: 0; }
    .calc-lead-foot .btn { white-space: nowrap; }
    .calc-lead-done {
      padding: 16px 18px;
      border-radius: 14px;
      background: rgba(33, 105, 67, 0.08);
      border: 1px solid rgba(33, 105, 67, 0.16);
      color: #30583a;
      font-size: 14px;
      font-weight: 700;
      line-height: 1.7;
    }
    .calc-lead-done a { color: #216943; text-decoration: underline; }

    /* ============================================================
       Mobile sticky CTA bar
       ============================================================ */
    .mobile-cta {
      position: fixed;
      left: 12px;
      right: 12px;
      bottom: 12px;
      z-index: 90;
      display: none;
      grid-template-columns: 48px 48px 1fr;
      gap: 8px;
      padding: 8px;
      border-radius: 18px;
      background: rgba(20, 20, 20, 0.92);
      backdrop-filter: blur(12px);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
      transform: translateY(120%);
      transition: transform 0.28s ease;
    }

    .mobile-cta.show { transform: translateY(0); }

    .mobile-cta a {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      border-radius: 12px;
      font-size: 13px;
      font-weight: 800;
      color: #fff;
      text-decoration: none;
    }

    .mobile-cta .ic {
      background: rgba(255, 255, 255, 0.1);
    }

    .mobile-cta .ic svg {
      width: 20px;
      height: 20px;
      fill: currentColor;
    }

    .mobile-cta .primary {
      background: var(--accent);
    }

    @media (max-width: 760px) {
      .mobile-cta { display: grid; }
      body { padding-bottom: 80px; }
    }

    /* ============================================================
       Floating chat widget
       ============================================================ */
    .chat-fab {
      position: fixed;
      right: 22px;
      bottom: 22px;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 16px 32px rgba(199, 52, 47, 0.32);
      border: none;
      cursor: pointer;
      z-index: 85;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      transition: transform 0.18s ease;
    }

    .chat-fab:hover { transform: translateY(-2px) scale(1.04); }
    .chat-fab svg { width: 28px; height: 28px; fill: currentColor; }

    .chat-panel {
      position: fixed;
      right: 22px;
      bottom: 92px;
      width: min(320px, calc(100vw - 32px));
      z-index: 86;
      padding: 20px;
      border-radius: 18px;
      background: var(--surface);
      box-shadow: 0 24px 50px rgba(20, 20, 20, 0.16);
      border: 1px solid var(--line);
      transform: translateY(12px);
      opacity: 0;
      pointer-events: none;
      transition: transform 0.18s ease, opacity 0.18s ease;
    }

    .chat-panel.open {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }

    .chat-panel h4 {
      margin: 0 0 6px;
      font-size: 16px;
    }

    .chat-panel p {
      margin: 0 0 14px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.55;
    }

    .chat-panel .channels {
      display: grid;
      gap: 8px;
    }

    .chat-panel .ch {
      min-height: 44px;
      padding: 0 14px;
      border-radius: 12px;
      border: 1px solid var(--line);
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--ink);
      font-size: 14px;
      font-weight: 700;
      text-decoration: none;
    }

    .chat-panel .ch:hover {
      border-color: var(--accent);
      background: var(--surface-soft);
    }

    .chat-panel .ch.wa { color: #25d366; }
    .chat-panel .ch.tg { color: #2aabee; }
    .chat-panel .ch.tel { color: var(--accent); }

    @media (max-width: 760px) {
      .chat-fab { right: 16px; bottom: 86px; width: 52px; height: 52px; }
      .chat-fab svg { width: 24px; height: 24px; }
      .chat-panel { right: 16px; bottom: 148px; }
    }

    /* ============================================================
       Exit intent popup
       ============================================================ */
    .exit-overlay {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: none;
      align-items: center;
      justify-content: center;
      background: rgba(20, 20, 20, 0.55);
      backdrop-filter: blur(6px);
      padding: 24px;
    }

    .exit-overlay.open { display: flex; }

    .exit-popup {
      width: min(480px, 100%);
      padding: 30px;
      border-radius: 22px;
      background: var(--surface);
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
      position: relative;
      animation: popupIn 0.2s ease;
    }

    @keyframes popupIn {
      from { transform: translateY(12px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    .exit-popup h3 {
      margin: 0 0 6px;
      font-family: "IBM Plex Sans Condensed", sans-serif;
      font-size: 30px;
      line-height: 1.05;
      letter-spacing: -0.02em;
      text-transform: uppercase;
    }

    .exit-popup p {
      margin: 0 0 18px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.7;
    }

    .exit-popup .field {
      width: 100%;
      min-height: 50px;
      padding: 12px 14px;
      border-radius: 12px;
      border: 1px solid var(--line);
      font-size: 15px;
      margin-bottom: 12px;
    }

    .exit-popup .actions {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 10px;
    }

    .exit-popup .close {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: none;
      background: var(--surface-soft);
      cursor: pointer;
      font-size: 18px;
      line-height: 32px;
      color: var(--muted);
    }

    .exit-popup .close:hover { color: var(--accent); }

    .exit-status {
      margin-top: 10px;
      font-size: 13px;
    }

    /* ============================================================
       Breadcrumbs
       ============================================================ */
    .breadcrumbs {
      padding: 18px 0 0;
      color: var(--muted);
      font-size: 13px;
    }

    .breadcrumbs a {
      color: var(--muted);
      transition: color 0.15s ease;
    }

    .breadcrumbs a:hover { color: var(--accent); }

    .breadcrumbs .sep {
      margin: 0 8px;
      color: rgba(20, 20, 20, 0.25);
    }

    .breadcrumbs .current {
      color: var(--ink);
      font-weight: 700;
    }

    /* ============================================================
       Related pages
       ============================================================ */
    .related-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 14px;
    }

    .related-card {
      padding: 20px;
      border-radius: 16px;
      border: 1px solid var(--line);
      background: var(--surface);
      transition: border-color 0.18s ease, transform 0.18s ease;
      display: block;
    }

    .related-card:hover {
      border-color: var(--accent);
      transform: translateY(-2px);
    }

    .related-card .label {
      color: var(--accent);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      margin-bottom: 8px;
      display: block;
    }

    .related-card h4 {
      margin: 0 0 6px;
      font-size: 17px;
      color: var(--ink);
    }

    .related-card p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.55;
    }

    /* ============================================================
       Photo placeholders (until real photos)
       ============================================================ */
    .photo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
    }

    .photo-tile {
      aspect-ratio: 4 / 3;
      border-radius: 18px;
      background:
        linear-gradient(135deg, rgba(199, 52, 47, 0.1), rgba(199, 52, 47, 0.02)),
        var(--surface-soft);
      border: 1px dashed rgba(199, 52, 47, 0.35);
      display: flex;
      align-items: flex-end;
      padding: 18px;
      position: relative;
      overflow: hidden;
    }

    .photo-tile::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.6), transparent 50%);
      pointer-events: none;
    }

    .photo-tile span {
      position: relative;
      font-size: 13px;
      font-weight: 700;
      color: var(--ink);
    }

    .photo-tile small {
      position: absolute;
      top: 14px;
      right: 14px;
      font-size: 11px;
      color: var(--muted);
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    /* ============================================================
       Lead magnet cards
       ============================================================ */
    .lead-magnet-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 18px;
    }

    .lead-magnet {
      padding: 26px;
      border-radius: var(--radius);
      border: 1px solid var(--line);
      background: var(--surface);
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .lead-magnet .badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 12px;
      border-radius: 999px;
      background: var(--accent-soft);
      color: var(--accent);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      width: fit-content;
    }

    .lead-magnet h3 {
      margin: 0;
      font-size: 19px;
      line-height: 1.25;
    }

    .lead-magnet p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.65;
    }

    .lead-magnet .btn {
      align-self: flex-start;
      margin-top: auto;
    }

    /* ============================================================
       Two-step form: step toggling
       ============================================================ */
    .form-step[hidden] { display: none; }

    .form-step .field {
      width: 100%;
      min-height: 50px;
      padding: 12px 14px;
      border-radius: 14px;
      border: 1px solid var(--line);
      background: var(--surface-soft);
      font-family: inherit;
      font-size: 15px;
    }

    .form-step .field:focus {
      outline: none;
      border-color: var(--accent);
      background: #fff;
    }

    /* ============================================================
       Enriched footer
       ============================================================ */
    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr 1fr;
      gap: 36px;
      padding: 56px 0 36px;
      border-top: 1px solid rgba(20, 20, 20, 0.08);
    }

    .footer-grid h5 {
      margin: 0 0 14px;
      color: var(--muted);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .footer-grid ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 9px;
    }

    .footer-grid a {
      color: #39352f;
      font-size: 14px;
      transition: color 0.15s ease;
    }

    .footer-grid a:hover { color: var(--accent); }

    .footer-grid .brand-block {
      max-width: 320px;
    }

    .footer-grid .brand-block img {
      height: 44px;
      width: auto;
      margin-bottom: 14px;
    }

    .footer-grid .brand-block p {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.7;
    }

    .footer-bottom {
      padding: 22px 0;
      border-top: 1px solid rgba(20, 20, 20, 0.08);
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      justify-content: space-between;
      color: var(--muted);
      font-size: 13px;
    }

    @media (max-width: 760px) {
      .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 0 24px;
      }
      .calc-wrap { grid-template-columns: 1fr; padding: 20px; }
      .calc-row { grid-template-columns: 1fr; }
      .calc-lead-grid { grid-template-columns: 1fr; }
      .calc-lead-foot { gap: 12px; }
      .calc-lead-foot .btn { width: 100%; }
    }

    /* ============================================================
       Tariff table — proper internal padding
       ============================================================ */
    .tariff-tbl {
      width: 100%;
      border-collapse: collapse;
      font-size: 15px;
    }
    .tariff-tbl thead tr {
      background: var(--surface-soft);
      text-align: left;
    }
    .tariff-tbl th,
    .tariff-tbl td {
      padding: 14px 22px;
      border-bottom: 1px solid var(--line);
      vertical-align: middle;
    }
    .tariff-tbl th {
      font-size: 13px;
      font-weight: 800;
      color: var(--ink);
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    .tariff-tbl tbody tr:last-child td { border-bottom: none; }
    .tariff-tbl tbody tr:hover { background: rgba(199, 52, 47, 0.03); }
    .tariff-tbl td:nth-child(2) {
      font-weight: 800;
      color: var(--accent);
      white-space: nowrap;
    }
    .tariff-tbl td:nth-child(3) {
      color: var(--muted);
      white-space: nowrap;
    }

    .tariff-wrap {
      overflow-x: auto;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
      box-shadow: var(--shadow);
    }

    @media (max-width: 600px) {
      .tariff-tbl th,
      .tariff-tbl td { padding: 12px 14px; }
    }

    /* ============================================================
       Real photos: fleet/team/hero/marketplace
       ============================================================ */
    .photo-real {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 18px;
    }
    .photo-real figure {
      margin: 0;
      border-radius: 18px;
      overflow: hidden;
      background: var(--surface-soft);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }
    .photo-real img {
      display: block;
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
    }
    .photo-real figcaption {
      padding: 14px 16px;
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 12px;
      color: var(--ink);
    }
    .photo-real figcaption strong { font-size: 14px; }
    .photo-real figcaption span { color: var(--muted); font-size: 12px; font-weight: 700; }

    .team-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 18px;
    }
    .team-grid figure {
      margin: 0;
      text-align: center;
    }
    .team-grid img {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      border-radius: 18px;
      border: 1px solid var(--line);
    }
    .team-grid figcaption {
      margin-top: 10px;
    }
    .team-grid figcaption strong {
      display: block;
      font-size: 15px;
      color: var(--ink);
    }
    .team-grid figcaption span {
      color: var(--muted);
      font-size: 13px;
    }

    .hero-photo {
      width: 100%;
      max-width: 540px;
      aspect-ratio: 16 / 10;
      object-fit: cover;
      border-radius: 22px;
      box-shadow: var(--shadow);
      border: 1px solid var(--line);
    }

    .marketplace-card-photo {
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
      border-radius: 14px;
      margin-bottom: 14px;
    }

    /* ============================================================
       Image split: photo + text side by side
       ============================================================ */
    .image-split {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 36px;
      align-items: center;
    }
    .image-split.reverse {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .image-split.reverse .image-split-photo { order: 2; }
    .image-split-photo {
      border-radius: 22px;
      overflow: hidden;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }
    .image-split-photo img {
      display: block;
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
    }
    .image-split-text .label {
      color: var(--accent);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      margin-bottom: 12px;
      display: block;
    }
    .image-split-text h2 {
      margin: 0 0 16px;
      font-family: "IBM Plex Sans Condensed", sans-serif;
      font-size: clamp(32px, 4.4vw, 52px);
      line-height: 0.96;
      letter-spacing: -0.03em;
      font-weight: 700;
      text-transform: uppercase;
    }
    .image-split-text p {
      margin: 0 0 14px;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.78;
    }
    .image-split-text ul {
      margin: 14px 0 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 10px;
    }
    .image-split-text ul li {
      padding-left: 22px;
      position: relative;
      color: #39352f;
      font-size: 15px;
      line-height: 1.65;
    }
    .image-split-text ul li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 9px;
      width: 12px;
      height: 2px;
      background: var(--accent);
    }

    @media (max-width: 760px) {
      .image-split,
      .image-split.reverse { grid-template-columns: 1fr; gap: 22px; }
      .image-split.reverse .image-split-photo { order: 0; }
    }

    /* ============================================================
       Image banner: full-width photo with text overlay
       ============================================================ */
    .image-banner {
      position: relative;
      border-radius: 24px;
      overflow: hidden;
      min-height: 280px;
      background: var(--ink);
      color: #fff;
      display: flex;
      align-items: flex-end;
    }
    .image-banner img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.55;
    }
    .image-banner .overlay {
      position: relative;
      padding: 36px 40px;
      max-width: 720px;
    }
    .image-banner .label {
      color: #fff;
      opacity: 0.85;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }
    .image-banner h2 {
      margin: 12px 0 12px;
      font-family: "IBM Plex Sans Condensed", sans-serif;
      font-size: clamp(34px, 4.6vw, 52px);
      line-height: 0.96;
      letter-spacing: -0.02em;
      text-transform: uppercase;
    }
    .image-banner p {
      margin: 0;
      color: rgba(255, 255, 255, 0.85);
      font-size: 16px;
      line-height: 1.7;
      max-width: 560px;
    }

    @media (max-width: 760px) {
      .image-banner { min-height: 240px; }
      .image-banner .overlay { padding: 24px; }
    }

    /* ============================================================
       Feature cards with photos
       ============================================================ */
    .feature-photo {
      border: 1px solid var(--line);
      background: var(--surface);
      border-radius: var(--radius);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      box-shadow: var(--shadow);
    }
    .feature-photo img {
      display: block;
      width: 100%;
      aspect-ratio: 16 / 10;
      object-fit: cover;
    }
    .feature-photo .body { padding: 22px; }
    .feature-photo .label {
      color: var(--accent);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      margin-bottom: 8px;
      display: block;
    }
    .feature-photo h3 {
      margin: 0 0 8px;
      font-size: 19px;
      line-height: 1.25;
    }
    .feature-photo p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.7;
    }

    /* ============================================================
       Hero with right-side photo (variant of hero-rail)
       ============================================================ */
    .hero-photo-rail {
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      border: 1px solid var(--line);
      align-self: stretch;
      max-height: 480px;
    }
    .hero-photo-rail img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      min-height: 320px;
    }

    /* ============================================================
       Mobile header: simpler — let sticky bottom CTA do the work
       ============================================================ */
    @media (max-width: 720px) {
      .header-actions .btn-primary {
        display: none;
      }
      .logo-image {
        height: 38px;
      }
      .site-header .container {
        gap: 12px;
        min-height: 68px;
      }
    }

    /* ============================================================
       Hero-stats: 1 col on narrow phones to avoid squeezing
       ============================================================ */
    @media (max-width: 520px) {
      .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
      }
      .hero-stats > :nth-child(3) {
        grid-column: 1 / -1;
      }
    }

    /* ============================================================
       Reveal-fallback: never trap content in invisible state
       (kicks in if the IntersectionObserver hasn't fired yet)
       ============================================================ */
    html.js .reveal {
      animation: revealFallback 0s 1.8s forwards;
    }
    @keyframes revealFallback {
      to { opacity: 1; transform: translateY(0); }
    }

/* === Social icons (WA / TG / VK / MAX) === */
.social-row { display: inline-flex !important; flex-wrap: wrap; gap: 10px; align-items: center; padding: 0 !important; border: 0 !important; background: transparent !important; }
a.social-icon { width: 44px !important; height: 44px !important; min-height: 44px !important; border-radius: 50% !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; color: #fff !important; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; flex-shrink: 0; overflow: hidden !important; padding: 0 !important; border: 0 !important; font-size: 0 !important; }
a.social-icon:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(20,20,20,.18); filter: brightness(1.05); }
a.social-icon svg { width: 22px !important; height: 22px !important; display: block !important; }
a.social-icon img { width: 100% !important; height: 100% !important; display: block !important; object-fit: cover !important; border-radius: 0 !important; }
a.social-icon--wa  { background: #25D366 !important; }
a.social-icon--tg  { background: #229ED9 !important; }
a.social-icon--vk  { background: #0077FF !important; }
a.social-icon--max { background: transparent !important; padding: 0 !important; }
.site-footer a.social-icon { box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.channels .ch.vk  { background: #0077FF !important; color: #fff !important; }
.channels .ch.max { background: #B11ED5 !important; color: #fff !important; }

/* === SEO H2: sticky mobile CTA === */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 90;
  display: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 14px 22px;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(199, 52, 47, 0.35), 0 2px 6px rgba(0,0,0,0.08);
  font-size: 16px;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.sticky-cta:hover, .sticky-cta:focus { background: var(--accent-dark); color: #fff; }
@media (max-width: 768px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 84px; }
}

/* === header social compact (header unify 2026-05-04) === */
.header-social { flex-wrap: nowrap !important; gap: 6px !important; }
.header-social a.social-icon { width: 32px !important; height: 32px !important; min-height: 32px !important; }
.header-social a.social-icon svg { width: 16px !important; height: 16px !important; }
.header-social a.social-icon img { width: 32px !important; height: 32px !important; }
@media (max-width: 1180px) { .header-social { display: none !important; } }

/* === header CTA: keep on one line (header unify 2026-05-04) === */
.site-header .header-actions .btn { white-space: nowrap !important; font-size: 13px !important; padding: 10px 18px !important; line-height: 1.2 !important; }

/* Заголовки: ровная балансировка переносов (без «криво висящих» строк).
   text-wrap:balance игнорируется старыми браузерами — graceful fallback. */
.hero-title, .section-title, .final-box h3, .lead-panel h3 { text-wrap: balance; }

/* ============================================================
   Лид-модалка (CTA → поп-ап с формой)
   ============================================================ */
html.lead-modal-lock, html.lead-modal-lock body { overflow: hidden; }
.lead-modal-overlay {
  position: fixed; inset: 0; z-index: 1200;
  display: none; align-items: center; justify-content: center; padding: 20px;
  background: rgba(20,20,24,.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .2s ease;
}
.lead-modal-overlay.open { display: flex; opacity: 1; }
.lead-modal {
  background: #fff; border-radius: 16px; width: 100%; max-width: 460px;
  padding: 30px 26px 24px; position: relative;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.5);
  transform: translateY(14px) scale(.97);
  transition: transform .25s cubic-bezier(.16,.84,.44,1);
  max-height: calc(100vh - 40px); overflow-y: auto;
}
.lead-modal-overlay.open .lead-modal { transform: none; }
.lead-modal__close {
  position: absolute; top: 12px; right: 14px; width: 36px; height: 36px;
  border: 0; background: transparent; font-size: 26px; line-height: 1;
  color: #999; cursor: pointer; border-radius: 8px; transition: background .15s, color .15s;
}
.lead-modal__close:hover { background: #f2f2f2; color: #222; }
.lead-modal__title { margin: 0 0 6px; font-size: 22px; font-weight: 800; color: #1f1f23; }
.lead-modal__sub { margin: 0 0 18px; font-size: 14px; line-height: 1.5; color: #5a5a64; }
.lead-modal__row { margin-bottom: 12px; display: flex; flex-direction: column; gap: 6px; }
.lead-modal__row label { font-size: 13px; font-weight: 600; color: #333; }
.lead-modal__row label small { color: #999; font-weight: 500; }
.lead-modal .field { width: 100%; }
.lead-modal textarea.field { min-height: 70px; resize: vertical; }
.lead-modal__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-modal__consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #555; margin: 6px 0 16px; }
.lead-modal__submit { width: 100%; }
.lead-modal__status { margin-top: 12px; }
.lead-modal__status:empty { display: none; }
.lead-modal__done { text-align: center; padding: 16px 6px; font-size: 15px; line-height: 1.6; color: #1f1f23; }
.lead-modal__done a { color: #d11f2b; font-weight: 700; text-decoration: none; }
@media (max-width: 540px) { .lead-modal { padding: 26px 18px 20px; border-radius: 14px; } }

/* Герой статей блога: компактный заголовок, меньше переносов (узкую колонку 860px расширяем, balance→pretty) */
.hero-copy[style*="max-width:860px"] { max-width: 1080px !important; }
.hero-copy[style*="max-width:860px"] .hero-title {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.14;
  text-wrap: pretty;
}
.hero-copy[style*="max-width:860px"] .hero-sub { max-width: 760px; }

/* ============================================================
   Footer: бренд-колонка и контакты — как на главной (фидбек 16.07)
   ============================================================ */
.site-footer .footer-brand { display: grid; gap: 16px; align-content: start; }
.site-footer .footer-tag { max-width: 320px; }
.site-footer .footer-contact { display: grid; gap: 8px; }

/* ============================================================
   Мобильное меню: CTA-блок внутри меню НЕ должен наследовать
   стили нижнего sticky-бара .mobile-cta (конфликт классов)
   ============================================================ */
.mobile-menu .mobile-cta {
  position: static;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  transform: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  border-radius: 0;
  padding: 0;
  margin-top: 16px;
}
.mobile-menu .mobile-cta a { color: inherit; }
.mobile-menu .mobile-cta a.btn-primary { color: #fff; }
.mobile-menu .container { display: block; }
.mobile-menu .mobile-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

/* «Отслеживание» в шапке: на узких десктопах прячем, чтобы шапка не переполнялась */
@media (max-width: 1140px) {
  .nav a[href="/tracking/"] { display: none; }
}
