/* === Base / Reset === */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      background-color: #0f2028; /* Matches footer exactly */
    }

    html, body {
      margin: 0;
      padding: 0;
      font-family: "Manrope", Arial, sans-serif;
      color: var(--ink);
      line-height: 1.55;
      overflow-x: hidden;
      width: 100%;
      position: relative;
    }
    
    body {
      background-color: var(--page); /* Light background for the main flow */
    }

    img {
      display: block;
      max-width: 100%;
    }

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

    button,
    input,
    textarea {
      font: inherit;
    }

    :focus-visible {
      outline: 3px solid rgba(24, 123, 205, 0.38);
      outline-offset: 3px;
    }

    /* === Variables === */
    :root {
      --page: #dae3ea;
      --surface: #ffffff;
      --surface-soft: #eaf1f7;
      --ink: #12202a;
      --muted: #5d6d78;
      --soft: #7d8b94;
      --line: #d8e2e4;
      --accent: #196caa;
      --accent-dark: #0d4772;
      --accent-light: #79c8ff;
      --brand-red: #d71f1f;
      --brand-white: #fefefe;
      --green: #277c62;
      --warning: #c77a22;
      --radius: 0.5rem;
      --shadow: 0 1.5rem 4rem rgba(14, 41, 58, 0.14);
      --container: 73.75rem;
      --section: 70px;
      --header-height: 8.8rem;
      --transition: 180ms ease;
    }

    /* === Layout / Container === */
    .container {
      width: min(var(--container), calc(100% - 2rem));
      margin-inline: auto;
    }

    .section {
      padding-block: var(--section);
      scroll-margin-top: 100px; /* Offset for sticky header */
    }

    .section-header {
      max-width: 100%;
      margin-bottom: 2rem;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      margin: 0 0 0.75rem;
      color: var(--accent-dark);
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    h1,
    h2,
    h3,
    p {
      margin-top: 0;
    }
    h1, h2, h3, h4, h5, h6 {
      color: var(--accent-dark);
    }

    h1 {
      max-width: 70rem;
      margin-bottom: 1rem;
      font-size: clamp(2rem, 4.2vw, 3.7rem);
      line-height: 1.04;
      letter-spacing: 0;
      overflow-wrap: break-word;
    }

    h2 {
      margin-bottom: 0.9rem;
      font-size: clamp(1.85rem, 4vw, 3.15rem);
      line-height: 1.08;
      letter-spacing: 0;
      font-weight: 800;
    }

    h2 span {
      font-weight: 400;
      color: var(--muted);
    }

    h3 {
      margin-bottom: 0.65rem;
      font-size: 24px;
      line-height: 1.25;
      letter-spacing: 0;
    }

    p {
      color: var(--muted);
      font-size: 18px;
    }

    .lead {
      max-width: 48rem;
      color: #2d3f4c;
      font-size: clamp(1.02rem, 1.6vw, 1.18rem);
    }

    .button-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 3rem;
      padding: 0.85rem 1.1rem;
      border: 1px solid transparent;
      border-radius: var(--radius);
      font-weight: 800;
      transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    }

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

    .btn-primary {
      color: #ffffff;
      background: var(--accent);
      box-shadow: 0 1rem 2rem rgba(24, 123, 205, 0.24);
    }

    .btn-secondary {
      color: var(--accent-dark);
      background: #ffffff;
      border-color: var(--line);
    }

    .btn-dark {
      color: #ffffff;
      background: var(--ink);
    }

    .icon {
      display: inline-grid;
      place-items: center;
      width: 2.5rem;
      height: 2.5rem;
      flex: 0 0 auto;
      border-radius: var(--radius);
      color: var(--accent-dark);
      background: #e4f1fb;
      font-size: 1.35rem;
    }

    .card {
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
      box-shadow: 0 0.75rem 2.2rem rgba(16, 42, 56, 0.06);
    }

    .about-partners {
      margin-top: 3rem;
    }

    .grid-3 {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    @media (min-width: 768px) {
      .grid-3 {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    /* === Header / Econest-inspired overlay === */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 20;
      color: var(--brand-white);
      transition: background var(--transition), box-shadow var(--transition);
    }

    .site-header.is-scrolled {
      background: rgba(8, 23, 35, 0.82);
      box-shadow: 0 1rem 3rem rgba(4, 15, 25, 0.18);
      backdrop-filter: blur(18px);
    }

    .header-strip {
      min-height: 2.55rem;
      background: linear-gradient(90deg, rgba(25, 108, 170, 0.96), rgba(10, 62, 100, 0.96));
      font-size: 0.82rem;
      font-weight: 700;
      transition: all var(--transition);
      overflow: hidden;
    }

    .site-header.is-scrolled .header-strip {
      min-height: 0;
      height: 0;
      padding: 0;
      margin: 0;
      opacity: 0;
    }

    .header-strip .container {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 2.55rem;
      gap: 0.65rem;
      text-align: center;
    }

    .strip-badge {
      display: inline-flex;
      align-items: center;
      min-height: 1.55rem;
      padding: 0.25rem 0.65rem;
      border-radius: 999px;
      color: var(--brand-white);
      background: var(--brand-red);
      white-space: nowrap;
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 5.3rem;
      padding-top: 0;
      gap: 1rem;
      border-bottom: 1px solid rgba(254, 254, 254, 0.18);
      transition: all var(--transition);
    }

    .site-header.is-scrolled .header-inner {
      min-height: 3.5rem;
      padding-top: 0;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      min-height: 5.3rem;
      gap: 0.75rem;
      padding-right: 1.2rem;
      border-right: 1px solid rgba(254, 254, 254, 0.16);
      font-weight: 800;
    }

    .brand-mark {
      display: inline-grid;
      place-items: center;
      width: 5.2rem;
      height: 5.2rem;
      overflow: visible;
      border-radius: 999px;
      background: var(--brand-white);
      box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.16);
      transition: all var(--transition);
      margin-top: -0.2rem;
    }

    .site-header.is-scrolled .brand-mark {
      width: 3.6rem;
      height: 3.6rem;
      margin-top: 0;
    }

    .brand-mark img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .brand strong {
      font-size: 1.5rem;
      line-height: 1;
      transition: all var(--transition);
    }

    .site-header.is-scrolled .brand strong {
      font-size: 1rem;
    }

    .brand span:last-child {
      color: rgba(254, 254, 254, 0.72);
      font-size: 1.17rem;
      font-weight: 700;
      transition: all var(--transition);
    }

    .site-header.is-scrolled .brand span:last-child {
      font-size: 0.78rem;
    }

    .nav {
      display: none;
      align-items: center;
      gap: 1.62rem;
      color: rgba(254, 254, 254, 0.88);
      font-size: 0.9rem;
      font-weight: 700;
      transition: all var(--transition);
    }

    .nav a,
    .phone-link {
      transition: color var(--transition);
    }

    .nav a:hover,
    .phone-link:hover {
      color: #ffffff;
    }

    .header-contact {
      display: none;
      align-items: center;
      gap: 0.8rem;
      transition: all var(--transition);
    }

    .phone-link {
      font-weight: 800;
      color: #ffffff;
      white-space: nowrap;
    }

    .header-phone {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      margin-right: 20px;
      padding-left: 1.1rem;
      border-left: 1px solid rgba(254, 254, 254, 0.16);
    }

    .header-phone iconify-icon {
      display: grid;
      place-items: center;
      width: 2.35rem;
      height: 2.35rem;
      border: 1px solid rgba(254, 254, 254, 0.32);
      border-radius: 999px;
      color: #ffffff;
      font-size: 1.1rem;
      transition: all var(--transition);
    }

    .menu-toggle,
    .mobile-phone-btn {
      display: inline-grid;
      place-items: center;
      width: 2.75rem;
      height: 2.75rem;
      border: 1px solid rgba(254, 254, 254, 0.28);
      border-radius: var(--radius);
      color: #ffffff;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(8px);
      font-size: 1.45rem;
      cursor: pointer;
      text-decoration: none;
    }
    
    .mobile-phone-btn {
      display: none; /* Hidden on desktop */
    }

    .mobile-panel {
      display: none;
      padding: 0.75rem 0 1rem;
    }

    .mobile-panel.is-open {
      display: grid;
      gap: 0.65rem;
      padding: 0.75rem;
      border: 1px solid rgba(254, 254, 254, 0.14);
      border-top: 0;
      border-radius: 0 0 var(--radius) var(--radius);
      background: rgba(8, 23, 35, 0.96);
      box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.24);
    }

    .mobile-panel a {
      min-height: 2.75rem;
      padding: 0.7rem 0.85rem;
      border: 1px solid rgba(254, 254, 254, 0.16);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.9);
      color: var(--ink);
      font-weight: 800;
    }

    @media (min-width: 1024px) {
      .nav,
      .header-contact {
        display: flex;
      }

      .menu-toggle,
      .mobile-panel {
        display: none;
      }
    }

    /* === Hero Section === */
    .hero {
      position: relative;
      overflow: hidden;
      min-height: min(45rem, 88vh);
      padding: calc(var(--header-height) + clamp(2.2rem, 4vw, 4.2rem)) 0 clamp(4.2rem, 6vw, 5.8rem);
      color: var(--brand-white);
      background:
        linear-gradient(90deg, rgba(6, 18, 29, 0.88) 0%, rgba(8, 36, 58, 0.76) 42%, rgba(25, 108, 170, 0.16) 72%, rgba(215, 31, 31, 0.08) 100%),
        url("Картинки/hero-background2.webp") center / cover;
    }

    .hero::before,
    .hero::after {
      content: "";
      position: absolute;
      pointer-events: none;
    }

    .hero::before {
      inset: 0 auto 0 0;
      width: min(52vw, 45rem);
      background:
        linear-gradient(116deg, rgba(255, 255, 255, 0.08) 0 35%, transparent 35% 52%, rgba(255, 255, 255, 0.05) 52% 100%);
      mix-blend-mode: screen;
      opacity: 0.55;
    }

    .hero::after {
      left: -4rem;
      right: -4rem;
      bottom: -1px;
      height: clamp(2.8rem, 5vw, 5.2rem);
      background: var(--page);
      clip-path: polygon(0 70%, 5% 49%, 9% 61%, 14% 37%, 19% 64%, 25% 43%, 31% 70%, 38% 46%, 44% 64%, 51% 38%, 58% 68%, 65% 45%, 72% 62%, 79% 42%, 86% 66%, 92% 48%, 100% 68%, 100% 100%, 0 100%);
    }

    .hero-grid {
      display: grid;
      gap: 2rem;
      min-width: 0;
      position: relative;
      z-index: 1;
    }

    .hero-copy {
      max-width: 64rem;
      min-width: 0;
    }

    .hero h1 {
      max-width: 64rem;
      color: #ffffff;
      font-size: clamp(2.65rem, 4.75vw, 4.45rem);
      line-height: 0.96;
      text-wrap: balance;
      text-shadow: 0 1.1rem 3rem rgba(0, 0, 0, 0.35);
    }

    .hero h1 span {
      display: block;
      color: #ffffff;
      white-space: nowrap;
    }

    .hero h1 strong {
      display: inline-block;
      color: var(--accent-light);
      font-weight: 800;
      white-space: nowrap;
    }

    .hero .lead {
      max-width: 43rem;
      color: rgba(254, 254, 254, 0.86);
      font-size: 20px;
      text-shadow: 0 0.5rem 1.6rem rgba(0, 0, 0, 0.28);
    }

    .hero .eyebrow {
      gap: 0.5rem;
      min-height: 2.15rem;
      padding: 0.42rem 0.75rem;
      border: 1px solid rgba(254, 254, 254, 0.16);
      border-radius: 999px;
      color: #ffffff;
      background: rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(10px);
      text-transform: none;
    }

    .trust-row {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.85rem;
      margin-top: 1.35rem;
      margin-bottom: 1rem;
      width: 100%;
    }

    .trust-item {
      display: flex;
      align-items: center;
      min-height: 5.15rem;
      gap: 0.8rem;
      padding: 1.05rem 1.15rem;
      border-radius: 0.75rem;
      color: rgba(255, 255, 255, 0.9);
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(10px);
    }

    .trust-icon {
      display: grid;
      place-items: center;
      width: 2.35rem;
      height: 2.35rem;
      flex: 0 0 auto;
      border-radius: 999px;
      color: var(--accent-light);
      background: rgba(255, 255, 255, 0.1);
      font-size: 1.35rem;
    }

    .trust-text {
      display: block;
      font-size: 1.03rem;
      font-weight: 900;
      line-height: 1.15;
    }

    .hero .btn {
      min-height: 3.25rem;
      border-radius: 999px;
      padding-inline: 1.25rem;
    }

    .hero .btn-primary {
      background: var(--brand-red);
      box-shadow: 0 1rem 2rem rgba(215, 31, 31, 0.32);
    }

    .hero .btn-secondary {
      border-color: rgba(255, 255, 255, 0.35);
      color: #ffffff;
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(12px);
    }

    .hero .button-row {
      align-items: center;
      gap: 1.8rem;
    }

    .hero-messengers {
      display: flex;
      align-items: center;
      gap: 0.85rem;
    }

    .messenger-icons {
      display: flex;
      gap: 0.5rem;
    }

    .messenger-icon {
      display: grid;
      place-items: center;
      width: 2.85rem;
      height: 2.85rem;
      border-radius: 999px;
      background: #fefefe;
      transition: transform var(--transition), box-shadow var(--transition);
      box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

    .messenger-icon:hover {
      transform: translateY(-2px);
      box-shadow: 0 0.8rem 1.5rem rgba(0, 0, 0, 0.25);
    }

    .messenger-icon svg {
      width: 1.55rem;
      height: 1.55rem;
    }

    .max-icon svg {
      color: #d71f1f;
    }

    .tg-icon svg {
      fill: #196caa;
    }

    .messenger-text {
      color: rgba(254, 254, 254, 0.95);
      font-size: 0.88rem;
      line-height: 1.35;
      font-weight: 700;
    }

    .hero-social {
      position: absolute;
      right: max(1rem, calc((100vw - var(--container)) / 2 - 4.5rem));
      top: 50%;
      z-index: 2;
      display: none;
      transform: translateY(-36%);
    }

    .hero-social ul {
      display: grid;
      gap: 0.55rem;
      padding: 0;
      margin: 0;
      list-style: none;
    }

    .hero-social a {
      display: grid;
      place-items: center;
      width: 2.25rem;
      height: 2.25rem;
      border-radius: 999px;
      color: #ffffff;
      background: rgba(255, 255, 255, 0.16);
      backdrop-filter: blur(8px);
      transition: background var(--transition), transform var(--transition);
    }

    .hero-social a:hover {
      transform: translateX(-2px);
      background: var(--brand-red);
    }

    .hero-scroll-dots {
      position: absolute;
      right: max(1rem, calc((100vw - var(--container)) / 2));
      bottom: clamp(4.2rem, 6vw, 6rem);
      z-index: 2;
      display: flex;
      gap: 0.55rem;
      align-items: center;
      padding: 0.45rem 0.75rem;
      border: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.11);
      backdrop-filter: blur(8px);
    }

    .hero-scroll-dots span {
      width: 0.35rem;
      height: 0.35rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.72);
    }

    .hero-scroll-dots span:first-child {
      width: 0.6rem;
      height: 0.6rem;
      border: 2px solid #ffffff;
      background: var(--accent);
    }

    @media (min-width: 640px) {
      .trust-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
    }

    @media (min-width: 1200px) {
      .hero-social {
        display: block;
      }
    }

    @media (max-width: 767px) {
      h1 {
        max-width: 100%;
        font-size: 1.92rem;
        line-height: 1.1;
      }

      .lead {
        font-size: 1rem;
      }

      :root {
        --header-height: 7.25rem;
        --section: 50px;
      }

      .section {
        scroll-margin-top: 180px !important;
      }

      .site-header {
        background: rgba(8, 23, 35, 0.82);
        box-shadow: 0 1rem 3rem rgba(4, 15, 25, 0.18);
        backdrop-filter: blur(18px);
      }

      .header-inner {
        min-height: 0 !important;
        padding-block: 5px !important;
        padding-top: 5px !important;
        display: flex !important;
        align-items: center !important;
      }

      .header-strip {
        font-size: 0.74rem;
      }

      .header-strip .container {
        justify-content: flex-start;
        overflow-x: auto;
        text-align: left;
      }

      .brand {
        display: flex !important;
        align-items: center !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
      }
      
      .brand > span:not(.brand-mark) {
        display: flex;
        flex-direction: column;
        justify-content: center;
        line-height: 1;
      }

      .mobile-phone-btn {
        display: inline-grid;
        margin-left: auto;
        margin-right: 0.5rem;
        margin-block: 0;
      }

      .brand-mark {
        width: 3.1rem !important;
        height: 3.1rem !important;
        margin: 0 !important;
        padding: 0 !important;
      }
      
      .brand strong {
        font-size: 1rem;
      }
      
      .brand span:last-child {
        font-size: 0.78rem;
      }

      .hero-copy {
        width: 100%;
        max-width: 100%;
      }

      .hero {
        min-height: 45rem;
        padding-top: calc(var(--header-height) + 8.5rem);
        background:
          linear-gradient(180deg, rgba(4, 18, 31, 0.88), rgba(5, 28, 47, 0.82)),
          url("Картинки/hero-background2.webp") 55% center / cover;
      }

      .hero h1 {
        font-size: clamp(2rem, 10vw, 2.6rem);
        line-height: 1.05;
        word-break: normal;
        hyphens: none;
        text-wrap: wrap;
      }

      .hero h1 span,
      .hero h1 strong {
        white-space: normal;
      }

      .trust-row {
        display: none;
      }

      .hero-scroll-dots {
        display: none;
      }

      .button-row .btn {
        width: 100%;
        white-space: normal;
        text-align: center;
      }

      .hero-messengers {
        width: 100%;
        justify-content: center;
        margin-top: 0.25rem;
      }

      /* Typography adjustments: headers -4px, other text -2px */
      h1 { font-size: clamp(1.6rem, 10vw, 2.3rem); }
      h2 { font-size: clamp(1.6rem, 8vw, 2.75rem); }
      h3 { font-size: 20px; }
      p, .lead, .trust-text, .service-card p, .faq-title, .phone-val, .footer-links a, .footer-bottom { 
        font-size: 16px !important; 
      }
      
      .faq .section-header {
        text-align: left;
        margin-inline: 0;
      }

      .header-strip .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding-block: 0.75rem;
        text-align: center;
      }
      .header-strip .strip-badge {
        font-size: 13px;
        padding: 0.6rem 1.2rem;
      }
    }

    /* === Symptoms Section === */
    .symptoms {
      background: var(--surface);
    }

    .symptom-card {
      padding: 1.25rem;
    }

    .symptom-card ul,
    .docs-list,
    .footer-list {
      display: grid;
      gap: 0.55rem;
      padding: 0;
      margin: 1rem 0 0;
      list-style: none;
    }

    .symptom-card li,
    .docs-list li,
    .footer-list li {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 0.5rem;
      color: #43545f;
    }

    .symptom-card li::before,
    .docs-list li::before,
    .footer-list li::before {
      content: "";
      width: 0.42rem;
      height: 0.42rem;
      margin-top: 0.56rem;
      border-radius: 999px;
      background: var(--accent);
    }

    /* === Services Section === */
    .services {
      background: linear-gradient(rgba(218, 227, 234, 0.90), rgba(218, 227, 234, 0.90)), 
                  url("Картинки/repsair-bgr.webp") center / cover no-repeat;
      background-color: #dae3ea;
    }

    .geo {
      background: #ffffff !important;
    }

    .service-card {
      position: relative;
      min-height: 28rem;
      border-radius: var(--radius);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      text-decoration: none;
      color: #ffffff;
      box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
    }

    .service-card img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
      z-index: 0;
    }

    .service-card:hover img {
      transform: scale(1.08);
    }

    .service-card-body {
      position: relative;
      z-index: 2;
      width: calc(100% - 2.5rem);
      margin: 0 1.25rem 1.25rem;
      padding: 1.5rem;
      background: rgba(14, 27, 37, 0.4);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: calc(var(--radius) - 0.25rem);
      display: flex;
      flex-direction: column;
      transition: background 0.4s ease, border-color 0.4s ease;
    }

    .service-card:hover .service-card-body {
      background: rgba(14, 27, 37, 0.65);
      border-color: rgba(255, 255, 255, 0.3);
    }

    .service-card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .service-card h3 {
      color: #ffffff;
      font-size: 24px;
      margin: 0;
      line-height: 1.2;
    }

    /* Arrow removed */
    .service-card-reveal {
      display: grid;
      grid-template-rows: 0fr;
      opacity: 0;
      transition: grid-template-rows 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
    }

    .service-card:hover .service-card-reveal {
      grid-template-rows: 1fr;
      opacity: 1;
    }

    .service-card-reveal-inner {
      overflow: hidden;
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
      padding-top: 0;
      transition: padding-top 0.4s ease;
    }

    .service-card:hover .service-card-reveal-inner {
      padding-top: 1rem;
    }

    .service-card p {
      color: rgba(255, 255, 255, 0.88);
      margin: 0;
      font-size: 0.9rem;
      line-height: 1.5;
    }

    .service-card-list {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .service-card-list li {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      color: rgba(255, 255, 255, 0.8);
      font-size: 0.85rem;
      line-height: 1.4;
    }

    .service-card-list li iconify-icon {
      color: var(--accent-light);
      font-size: 1.1rem;
      flex-shrink: 0;
      margin-top: 0.15rem;
    }

    .service-card .btn {
      width: 100%;
      margin-top: 0.5rem;
      border-color: rgba(255, 255, 255, 0.2);
      color: #ffffff;
      background: transparent;
      justify-content: space-between;
    }

    .service-card:hover .btn {
      background: var(--brand-red);
      border-color: var(--brand-red);
    }


    /* === Process Section === */
    .process {
      position: relative;
      overflow: hidden;
      background-color: #fafafa;
    }


    .step-watermark {
      position: absolute;
      bottom: -1.5rem;
      right: 1rem;
      font-size: 10rem;
      color: var(--accent-dark);
      opacity: 0.03;
      z-index: 0;
      pointer-events: none;
      transform: rotate(-15deg);
      transition: all 0.4s ease;
    }

    .step:hover .step-watermark {
      opacity: 0.06;
      transform: rotate(0deg) scale(1.1);
    }

    .process-slider-wrap {
      position: relative;
      margin-top: 0.5rem;
    }

    .process-slider {
      display: flex;
      gap: 1.5rem;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
      -ms-overflow-style: none;
      -webkit-overflow-scrolling: touch;
      cursor: grab;
      user-select: none;
      padding-bottom: 1rem; /* Space for shadow */
    }

    .process-slider::-webkit-scrollbar {
      display: none;
    }

    .process-slider .step {
      flex: 0 0 320px;
      scroll-snap-align: start;
      margin-bottom: 0;
    }

    @media (max-width: 767px) {
      .process-slider .step {
        flex: 0 0 280px; /* Peek next card */
      }
      .process .section-header {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
      }
      .process .slider-controls {
        order: 2;
        justify-content: flex-start;
        margin-bottom: 0.5rem;
      }
    }

    .step {
      position: relative;
      display: flex;
      flex-direction: column;
      padding: 2rem;
      border: none;
      border-radius: 1.5rem;
      background: #ffffff;
      transition: all 0.3s ease;
      transition: all 0.3s ease;
      z-index: 1;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(13, 71, 114, 0.06);
    }

    .step::after {
      content: "";
      position: absolute;
      inset: 0;
      background: #ffffff;
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: -1;
      box-shadow: 0 10px 30px rgba(13, 71, 114, 0.08);
    }

    .step:hover {
      transform: translateY(-5px);
    }

    .step:hover::after {
      opacity: 1;
    }

    .step::before {
      content: attr(data-step);
      position: absolute;
      top: 1.25rem;
      right: 1.25rem;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 1.75rem;
      height: 1.75rem;
      border-radius: 50%;
      border: 1.5px solid rgba(13, 71, 114, 0.3);
      color: var(--accent-dark);
      background: transparent;
      font-weight: 700;
      font-size: 0.75rem;
      transition: all 0.3s ease;
      z-index: 2;
    }

    .step:hover::before {
      background: var(--accent-dark);
      color: #ffffff;
      border-color: var(--accent-dark);
    }

    .step div {
      z-index: 2;
    }

    .step h3 {
      font-size: 24px;
      margin-bottom: 0.75rem;
      color: var(--ink);
      font-weight: 800;
      max-width: 85%; /* ensure title doesnt overlap the circle */
      line-height: 1.3;
    }

    .step p {
      margin-bottom: 0;
      font-size: 1rem;
      color: #4a5c68;
      line-height: 1.5;
    }

    .payment-note {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      margin-top: 1.25rem;
      padding: 0.75rem 1rem;
      border-radius: var(--radius);
      color: var(--green);
      background: #e7f4ef;
      font-weight: 800;
    }

    /* === Advantages / Geography === */
    .advantages {
      background: var(--page);
    }

    .advantage-card {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 0.9rem;
      padding: 1.15rem;
    }

    .advantage-card p {
      margin-bottom: 0;
    }

    .geo-layout,
    .docs-layout,
    .cta-layout {
      display: grid;
      gap: 1.5rem;
      align-items: center;
    }

    .geo-panel {
      overflow: hidden;
      border-radius: var(--radius);
    }

    .geo-panel img {
      width: 100%;
      height: 22rem;
      object-fit: cover;
    }

    .region-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.55rem;
      margin-top: 1.25rem;
    }

    .tag {
      padding: 0.48rem 0.72rem;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #ffffff;
      color: #41525d;
      font-size: 0.9rem;
      font-weight: 800;
    }

    @media (min-width: 900px) {
      .geo-layout,
      .docs-layout,
      .cta-layout {
        grid-template-columns: 1fr 0.9fr;
      }
    }

    /* === Docs Section === */
    .docs {
      background: var(--surface);
    }

    .docs-list li::before {
      background: var(--green);
    }

    .docs-metrics-list {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      box-sizing: border-box;
      padding: 0;
      border: 0;
      background: transparent;
      box-shadow: none;
    }

    .doc-metric {
      position: relative;
      display: flex;
      align-items: center;
      gap: 1.5rem;
      box-sizing: border-box;
      padding: 1.25rem 1.5rem;
      border: 1px solid var(--line);
      border-left: 4px solid var(--accent);
      border-radius: var(--radius);
      background: #ffffff;
      box-shadow: 0 0.25rem 0.75rem rgba(18, 32, 42, 0.03);
      transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    }

    .doc-metric:nth-child(1) {
      border-left-color: var(--accent-dark);
    }

    .doc-metric:nth-child(2) {
      border-left-color: var(--green);
    }

    .doc-metric::before {
      display: none;
    }

    .doc-metric::after {
      display: none;
    }

    .doc-metric:hover {
      transform: translateY(-2px);
      border-color: rgba(24, 123, 205, 0.16);
      border-left-color: var(--accent);
      box-shadow: 0 0.5rem 1.5rem rgba(18, 32, 42, 0.06);
    }

    .doc-metric:nth-child(1):hover {
      border-left-color: var(--accent-dark);
    }

    .doc-metric:nth-child(2):hover {
      border-left-color: var(--green);
    }

    .doc-metric strong {
      order: 1;
      flex-shrink: 0;
      min-width: 5.25rem;
      color: var(--ink);
      font-family: "Manrope", Arial, sans-serif;
      font-size: 2.25rem;
      line-height: 1;
      font-weight: 800;
      letter-spacing: 0;
      text-align: left;
    }

    .doc-metric:nth-child(1) strong {
      color: var(--accent-dark);
    }

    .doc-metric:nth-child(2) strong {
      color: var(--green);
    }

    .doc-metric:nth-child(3) strong {
      color: var(--accent);
    }

    .doc-metric > span {
      order: 2;
      color: var(--ink);
      font-size: 0.95rem;
      font-weight: 600;
      line-height: 1.4;
      text-align: left;
    }

    @media (max-width: 767px) {
      .docs-metrics-list {
        margin-top: 1.3rem;
      }

      .doc-metric {
        gap: 1rem;
        padding: 1.125rem 1.25rem;
      }

      .doc-metric strong {
        min-width: 4.35rem;
        font-size: 1.85rem;
      }

      .doc-metric > span {
        font-size: 0.88rem;
      }
    }

    /* === About Section === */
    .about-top-layout {
      display: grid;
      gap: 2rem;
      margin-bottom: 4rem;
    }

    .about-video-col {
      position: relative;
      aspect-ratio: 1;
      border-radius: 1.5rem;
      overflow: hidden;
      cursor: pointer;
      background: #000;
      box-shadow: var(--shadow-sm);
    }

    .about-video-col img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    }

    .about-video-col:hover img {
      transform: scale(1.05);
    }

    .play-overlay {
      position: absolute;
      inset: 0;
      background: rgba(13, 71, 114, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.3s;
    }

    .about-video-col:hover .play-overlay {
      background: rgba(13, 71, 114, 0.1);
    }

    .about-video-col iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    .about-media-col {
      display: grid;
      gap: 1rem;
      align-content: start;
    }

    .about-content-col h3 {
      font-size: 24px;
      margin-bottom: 0.65rem;
      color: var(--accent-dark);
    }

    @media (min-width: 900px) {
      .about-top-layout {
        grid-template-columns: 1fr 2fr;
        align-items: start;
      }
      .about-text-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
      }
    }

    .about-text-col {
      display: grid;
      gap: 1rem;
      align-content: start;
    }

    .about-text-col p {
      margin: 0;
      font-size: 16px;
      line-height: 1.55;
    }

    .about-office-photo {
      margin-top: 1rem;
      overflow: hidden;
      aspect-ratio: 1;
      border: 1px solid rgba(18, 32, 42, 0.1);
      border-radius: 1.5rem;
      background: #ffffff;
      box-shadow: 0 1rem 2.8rem rgba(14, 41, 58, 0.08);
    }

    .about-office-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: saturate(0.65) brightness(0.85) contrast(1.05);
    }

    .company {
      background: linear-gradient(rgba(218, 227, 234, 0.90), rgba(218, 227, 234, 0.90)), 
                  url("Картинки/nii2.png") center bottom / cover no-repeat;
      background-color: #dae3ea;
    }

    .about-card {
      padding: 0; /* Removed padding since card is gone */
    }

    .client-list-wrap {
      overflow: hidden;
      width: 100%;
      position: relative;
      margin-top: 1.5rem;
      mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
      -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }

    .client-ticker {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      width: max-content;
      animation: ticker 80s linear infinite;
    }

    @keyframes ticker {
      0% { transform: translateX(0); }
      100% { transform: translateX(calc(-50% - 1.5rem)); }
    }

    .client-item {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.25rem;
      font-size: 1.1rem;
      font-weight: 800;
      color: var(--accent);
      background: #ffffff;
      padding: 1rem 2rem;
      min-height: 6.5rem;
      border-radius: 1.25rem;
      box-shadow: 0 0.5rem 1.5rem rgba(25, 108, 170, 0.08);
      transition: all 0.3s ease;
      white-space: nowrap;
    }

    .client-item img {
      width: auto;
      height: 3.8rem;
      max-width: 160px;
      object-fit: contain;
    }

    /* === FAQ Section === */
    .faq {
      background: var(--surface);
    }

    .faq-list {
      display: grid;
      gap: 0.8rem;
      max-width: 58rem;
      margin: 0 auto;
    }
    .faq .section-header {
      margin-inline: auto;
      text-align: center;
    }

    details {
      border: none;
      border-radius: 2.5rem;
      background: #f2f6f9;
      transition: background 0.3s ease;
      overflow: hidden;
    }

    summary {
      min-height: 4.5rem;
      padding: 1.25rem 2rem;
      cursor: pointer;
      font-weight: 800;
      font-size: 1.15rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      list-style: none;
      color: var(--ink);
    }
    summary::-webkit-details-marker {
      display: none;
    }

    .faq-title {
      padding-right: 1rem;
    }

    .faq-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 2.75rem;
      height: 2.75rem;
      border-radius: 50%;
      background-color: rgba(13, 71, 114, 0.08);
      color: var(--accent-dark);
      font-size: 1.25rem;
      flex-shrink: 0;
      transition: all 0.3s ease;
    }
    .faq-icon .icon-minus {
      display: none;
    }

    details[open] {
      background: #eaf1f7;
    }

    details[open] .faq-icon {
      background-color: var(--accent-dark);
      color: #ffffff;
    }
    details[open] .faq-icon .icon-plus {
      display: none;
    }
    details[open] .faq-icon .icon-minus {
      display: block;
    }

    details p {
      margin: 0;
      padding: 0 2rem 1.5rem 2rem;
      color: #4a5c68;
      font-size: 16px;
      line-height: 1.6;
    }

    /* === Map Interaction Fix === */
    .map-wrapper {
      position: relative;
      border-radius: var(--radius);
      overflow: hidden;
      background: #e5e3df;
      box-shadow: var(--shadow-sm);
    }

    .map-overlay {
      position: absolute;
      inset: 0;
      background: rgba(255, 255, 255, 0.45);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 100;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1.25rem;
      cursor: pointer;
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      text-align: center;
      padding: 1.5rem;
    }

    @media (min-width: 1025px) {
      .map-overlay {
        display: none !important;
      }
    }

    .map-overlay.is-hidden {
      display: none;
    }

    .map-overlay-icon {
      width: 4rem;
      height: 4rem;
      background: var(--surface);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
      color: var(--accent);
      font-size: 1.8rem;
    }

    .map-overlay p {
      color: var(--accent-dark);
      font-weight: 800;
      font-size: 1.1rem !important;
      margin: 0 !important;
    }

    /* === Company Slider (Apple Style) === */
    .company-slider-wrap {
      position: relative;
      margin: 2rem 0 4rem;
    }

    .slider-container {
      display: flex;
      gap: 1.5rem;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      padding: 0 1.5rem 2rem;
      margin: 0 -1.5rem;
      scroll-padding: 1.5rem;
      scrollbar-width: none; /* Hide scrollbar Firefox */
      scroll-behavior: smooth;
    }

    .slider-container::-webkit-scrollbar {
      display: none; /* Hide scrollbar Chrome/Safari */
    }

    .slider-container {
      cursor: grab;
    }

    .slider-container:active {
      cursor: grabbing;
    }

    .slider-container.is-dragging {
      scroll-snap-type: none;
      scroll-behavior: auto;
    }

    .slider-container.is-dragging .slider-card {
      pointer-events: none;
      user-select: none;
    }

    .slider-card {
      flex: 0 0 clamp(16rem, 23.5%, 22rem);
      scroll-snap-align: start;
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }

    .slider-card-img {
      aspect-ratio: 4/3;
      background: #eef2f5;
      border-radius: 1.5rem;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .slider-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .slider-card-info h3 {
      display: none;
    }

    .slider-card-info p {
      font-size: 16px;
      color: var(--muted);
      line-height: 1.5;
    }

    .slider-controls {
      display: flex;
      gap: 0.75rem;
      justify-content: flex-end;
      position: absolute;
      top: -4.5rem;
      right: 0;
    }

    @media (max-width: 767px) {
      .slider-controls {
        position: relative;
        top: 0;
        margin-bottom: 1.5rem;
        justify-content: flex-start;
      }
      .company-slider-wrap {
        margin-top: 1rem;
      }
    }

    .slider-btn {
      width: 2.5rem;
      height: 2.5rem;
      border-radius: 50%;
      border: 1px solid var(--line);
      background: var(--surface);
      color: var(--ink);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .slider-btn:hover {
      background: var(--accent);
      color: #ffffff;
      border-color: var(--accent);
    }

    .slider-btn:active {
      transform: scale(0.92);
    }

    .slider-btn.disabled {
      opacity: 0.3;
      pointer-events: none;
      filter: grayscale(1);
    }

    /* === Map Contacts Section === */
    .contacts-map {
      background: var(--surface);
      padding-bottom: 0;
      font-family: "Roboto", sans-serif;
      font-weight: 400;
    }

    .contacts-map .section-header {
      margin-bottom: 3rem;
      text-align: left;
    }

    .contacts-map h2 {
      font-size: clamp(1.8rem, 4vw, 2.8rem);
    }

    .map-section-wrapper {
      position: relative;
      width: 100%;
      background: #eee;
    }

    .overlay-container {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 100%;
      pointer-events: none;
      z-index: 10;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      padding: 70px 0;
    }

    .contact-card {
      pointer-events: auto;
      background: #ffffff;
      width: min(440px, 100%);
      padding: clamp(1.25rem, 3vw, 2.5rem);
      border-radius: 1.25rem;
      box-shadow: 0 1.5rem 4rem rgba(13, 71, 114, 0.18);
      border: 1px solid rgba(13, 71, 114, 0.08);
    }

    @media (max-width: 1023px) {
      .map-section-wrapper {
        display: flex;
        flex-direction: column;
      }
      .overlay-container {
        position: static;
        height: auto;
        padding: 2rem 0; /* Remove horizontal padding for full-width card */
        justify-content: center;
      }
      .contact-card {
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 2rem 1.5rem; /* Keep content padding */
        box-shadow: none;
      }
      #contacts-map {
        height: 400px !important;
        order: -1; /* Map above contacts */
      }
    }

    .card-row {
      margin-bottom: 1.25rem;
    }

    .card-row .label {
      display: block;
      color: var(--muted);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      margin-bottom: 0.3rem;
    }

    .card-row p, .phone-val {
      margin: 0;
      color: var(--ink);
      font-size: 1.15rem;
      font-weight: 800;
      line-height: 1.2;
    }

    .phone-val {
      display: block;
      text-decoration: none;
      transition: color 0.3s;
    }

    .phone-val:hover {
      color: var(--accent);
    }

    .card-form-box {
      margin-top: 1.8rem;
      padding-top: 1.8rem;
      border-top: 1px solid var(--line);
    }

    .card-form-box h3 {
      font-size: 1.25rem;
      line-height: 1.2;
      margin-bottom: 1.5rem;
      color: var(--accent-dark);
      font-weight: 800;
    }

    .simple-form label {
      display: block;
      font-size: 0.75rem;
      font-weight: 800;
      color: var(--ink);
      margin-bottom: 0.5rem;
    }

    .simple-form input[type="tel"] {
      width: 100%;
      padding: 1.25rem 1.5rem;
      border: 1px solid var(--line);
      border-radius: 0.75rem;
      margin-bottom: 1.25rem;
      font-size: 1.05rem;
      background: #f8fafc;
      color: var(--ink);
      transition: border-color 0.3s, box-shadow 0.3s;
    }

    .simple-form input:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 4px rgba(25, 108, 170, 0.1);
    }

    .simple-form .btn {
      width: 100%;
      padding: 1.25rem;
      font-size: 1.05rem;
      font-weight: 800;
      letter-spacing: 0.05em;
      border-radius: 0.75rem;
    }

    .terms {
      margin-top: 25px;
      display: flex;
      align-items: flex-start;
      font-size: 0.82rem;
      color: var(--muted);
      line-height: 1.5;
      cursor: pointer;
      user-select: none;
    }

    .terms a {
      color: var(--accent-dark);
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
    }

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

    .custom-checkbox {
      position: absolute;
      opacity: 0;
      cursor: pointer;
      height: 0;
      width: 0;
    }

    .checkbox-box {
      display: inline-grid;
      place-items: center;
      width: 1.4rem;
      height: 1.4rem;
      background: #f4f6f8;
      border: 1.5px solid var(--line);
      border-radius: 0.35rem;
      transition: all 0.2s ease;
      color: #fff;
      flex-shrink: 0;
      margin-right: 15px;
    }

    .terms-text {
      position: relative;
      top: -5px;
    }

    .custom-checkbox:checked ~ .checkbox-box {
      background: var(--brand-red);
      border-color: var(--brand-red);
      box-shadow: 0 4px 10px rgba(215, 31, 31, 0.25);
    }

    .checkbox-box iconify-icon {
      font-size: 1rem;
      opacity: 0;
      transform: scale(0.6);
      transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .custom-checkbox:checked ~ .checkbox-box iconify-icon {
      opacity: 1;
      transform: scale(1);
    }

    .contact-inline a:hover {
      color: var(--brand-red);
    }

    /* === Footer === */
    .site-footer {
      padding: 5rem 0 calc(2.5rem + env(safe-area-inset-bottom));
      background: #0f2028;
      margin-top: -1px; /* Ensure no gap with previous section */
      color: #c8d4d8;
      font-family: "Roboto", sans-serif;
      font-size: 16px;
      font-weight: 400;
    }

    .footer-grid {
      display: grid;
      gap: 3rem;
      margin-bottom: 4rem;
    }

    @media (min-width: 1024px) {
      .footer-grid {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1.5rem;
      }
      
      .footer-brand {
        flex: 0 1 340px;
      }
      
      .footer-links {
        flex: 0 1 auto;
      }

      .footer-links:last-child {
        text-align: right;
      }
    }

    @media (max-width: 767px) {
      .site-footer {
        padding-top: 50px;
      }
      .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem 1.5rem;
        margin-bottom: 2rem;
      }
      .footer-brand {
        grid-column: 1 / -1;
        margin-bottom: 0;
      }
      .footer-links:nth-child(2) { /* Services column */
        grid-column: 1 / -1;
        margin-bottom: 0;
      }
      .footer-links h4 {
        margin-bottom: 0.8rem;
      }
      .footer-links a {
        white-space: normal;
        font-size: 15px !important;
      }

      /* Adjust H3 spacing in About section */
      .docs-layout {
        margin-bottom: 30px !important;
      }
      .about-top-layout {
        margin-top: 30px !important;
      }
      .about-partners {
        margin-top: 30px !important;
      }
    }

    .footer-brand .brand-mark {
      margin-bottom: 1.5rem;
      width: 5.2rem;
      height: 5.2rem;
      background: #fff;
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.15);
      overflow: visible;
    }

    .footer-brand .brand-mark img {
      width: 85%;
      height: 85%;
      object-fit: contain;
    }

    .footer-brand p {
      font-size: 0.95rem;
      line-height: 1.5;
      color: #9fb0b7;
      max-width: 320px;
    }

    .footer-links h4 {
      color: #ffffff;
      font-size: 1.15rem;
      font-weight: 800;
      margin-bottom: 1.8rem;
    }

    .footer-links ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 0.9rem;
    }

    .footer-links a {
      color: #9fb0b7;
      font-size: 1rem;
      transition: color 0.3s;
      font-weight: 500;
      text-decoration: none;
      white-space: nowrap;
    }

    .footer-links a:hover {
      color: #ffffff;
    }

    .footer-bottom {
      padding-top: 2.2rem;
      border-top: 1px solid rgba(255,255,255,0.1);
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 1.5rem;
      color: #7b8f98;
      font-size: 0.88rem;
    }

    .footer-bottom a {
      color: #9fb0b7;
      text-decoration: none;
      transition: color 0.3s;
    }

    .footer-bottom a:hover {
      color: #ffffff;
    }
    
    .audience-card {
      background: white;
      padding: 1.5rem;
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
    }

    /* === PC Specific Adjustments === */
    @media (min-width: 1024px) {
      /* Header Strip */
      .header-strip .container {
        flex-direction: row !important;
        justify-content: center !important;
        white-space: nowrap !important;
        gap: 1.2rem !important;
        min-height: 2.55rem !important;
      }
      .header-strip span {
        display: inline-block !important;
        white-space: nowrap !important;
      }
      .header-strip br, .strip-badge br {
        display: none !important;
      }
      .strip-badge {
        margin-top: 0 !important;
        display: inline-flex !important;
        white-space: nowrap !important;
        align-items: center !important;
      }

      /* Header Brand & Nav */
      .brand strong {
        font-size: 14px !important;
      }
      .brand span:last-child, .brand span span {
        font-size: 16px !important;
      }
      .site-header.is-scrolled .brand strong {
        font-size: 14px !important;
      }
      .site-header.is-scrolled .brand span:last-child {
        font-size: 16px !important;
      }
      .nav {
        display: flex !important;
        font-size: 16px !important;
      }
      .nav a {
        font-size: 16px !important;
      }
      .header-contact {
        display: flex !important;
      }
      .menu-toggle, .mobile-panel {
        display: none !important;
      }

      /* Footer */
      .site-footer {
        padding-top: 70px !important;
      }
      .footer-grid {
        display: flex !important;
        justify-content: space-between !important;
        align-items: stretch !important;
        gap: 1.5rem !important;
      }
      .footer-brand {
        display: flex !important;
        flex-direction: column !important;
        flex: 0 1 410px !important;
      }
      .footer-brand p {
        margin-top: auto !important;
        font-size: 16px !important;
        max-width: 410px !important;
        color: #9fb0b7 !important;
      }
      .footer-links {
        flex: 0 1 auto !important;
      }
      .footer-links h4, .footer-links a {
        font-size: 16px !important;
      }
      .footer-bottom, .footer-bottom a {
        font-size: 16px !important;
      }
      .footer-links:last-child {
        text-align: right !important;
      }
    }

    /* === REPAIR SERVICES SECTION === */
    .repair-services-section {
      background: var(--page);
    }
    .services-price-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0 3rem;
    }
    @media (max-width: 991px) {
      .services-price-list {
        grid-template-columns: 1fr;
        gap: 0;
      }
    }
    .price-list-column {
      display: flex;
      flex-direction: column;
    }
    .price-list-row {
      display: flex;
      align-items: center;
      gap: 1.25rem;
      padding: 0.85rem 0.5rem;
      border-bottom: 1px solid var(--line);
      transition: background-color var(--transition);
    }
    .price-list-row:first-child {
      border-top: 1px solid var(--line);
    }
    .price-list-row:hover {
      background-color: rgba(25, 108, 170, 0.04);
    }
    .price-list-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 2.25rem;
      height: 2.25rem;
      color: var(--accent);
      flex-shrink: 0;
    }
    .price-list-icon svg {
      width: 100%;
      height: 100%;
      display: block;
    }
    .price-list-info {
      flex: 1;
      min-width: 0;
    }
    .price-list-title {
      font-size: 1rem;
      font-weight: 700;
      color: var(--accent-dark);
      margin: 0 0 0.15rem 0;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      flex-wrap: wrap;
      line-height: 1.35;
    }
    .price-list-badge {
      font-size: 0.65rem;
      font-weight: 800;
      text-transform: uppercase;
      padding: 0.1rem 0.4rem;
      border-radius: 100px;
      white-space: nowrap;
    }
    .price-list-badge.badge-action {
      background: rgba(215, 31, 31, 0.1);
      color: var(--brand-red);
    }
    .price-list-badge.badge-free {
      background: rgba(39, 124, 98, 0.1);
      color: var(--green);
    }
    .price-list-desc {
      font-size: 0.84rem;
      color: var(--muted);
      margin: 0;
      line-height: 1.35;
    }
    .price-list-price-col {
      text-align: right;
      min-width: 7rem;
      flex-shrink: 0;
    }
    .price-list-price {
      font-size: 1rem;
      font-weight: 800;
      color: var(--ink);
      display: block;
      line-height: 1.2;
    }
    .price-list-note {
      font-size: 0.7rem;
      font-weight: 400;
      color: var(--soft);
      display: block;
      margin-top: 0.1rem;
    }
    .price-list-action {
      flex-shrink: 0;
    }
    .price-list-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      font-weight: 800;
      color: var(--accent);
      border: 1.5px solid var(--accent);
      background: transparent;
      padding: 0.4rem 0.85rem;
      border-radius: 4px;
      transition: all 0.2s ease;
      white-space: nowrap;
    }
    .price-list-btn:hover {
      background: var(--accent);
      color: #ffffff;
      border-color: var(--accent);
    }
    @media (max-width: 640px) {
      .price-list-row {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 0.25rem 0.75rem;
        padding: 0.65rem 0.25rem;
        align-items: center;
      }
      .price-list-icon {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: start;
        margin-top: 0.2rem;
        width: 1.5rem;
        height: 1.5rem;
      }
      .price-list-info {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
      }
      .price-list-price-col {
        grid-column: 3;
        grid-row: 1;
        text-align: right;
        min-width: auto;
        align-self: end;
      }
      .price-list-price {
        font-size: 0.9rem;
      }
      .price-list-action {
        grid-column: 3;
        grid-row: 2;
        text-align: right;
        align-self: start;
      }
      .price-list-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
      }
      .price-list-title {
        font-size: 0.9rem;
        line-height: 1.25;
      }
      .price-list-desc {
        font-size: 0.75rem;
        margin-top: 0.1rem;
        line-height: 1.25;
      }
    }

    /* === SYMPTOMS/PROBLEM SECTION === */
    .symptoms-repair-section {
      background: var(--surface-soft);
    }
    .symptoms-layout {
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: 3.5rem;
      align-items: start;
    }
    @media (max-width: 991px) {
      .symptoms-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
      }
    }
    .symptoms-intro {
      font-size: 1.05rem;
      color: var(--muted);
      margin-bottom: 2rem;
    }
    .symptoms-list {
      list-style: none;
      padding: 0;
      margin: 0 0 2.5rem 0;
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
    }
    .symptoms-list li {
      display: flex;
      align-items: center;
      gap: 1rem;
      background: var(--surface-soft);
      padding: 1rem 1.25rem;
      border-radius: var(--radius);
      border-left: 4px solid var(--brand-red);
      transition: transform 0.2s ease;
    }
    .symptoms-list li:hover {
      transform: translateX(5px);
    }
    .symptom-icon {
      font-size: 1.5rem;
      color: var(--brand-red);
      display: flex;
      align-items: center;
    }
    .symptom-text {
      font-size: 1.02rem;
      font-weight: 600;
      color: var(--ink);
    }
    .btn-symptoms {
      background: var(--brand-red);
      border-color: var(--brand-red);
    }
    .btn-symptoms:hover {
      background: #b51717;
      border-color: #b51717;
    }
    .symptoms-media {
      display: flex;
      justify-content: center;
    }
    .symptoms-cta-group {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-top: 1.5rem;
      flex-wrap: wrap;
    }
    .symptoms-cta-messengers {
      display: flex;
      gap: 0.75rem;
    }
    @media (max-width: 480px) {
      .symptoms-cta-group {
        gap: 0.5rem;
      }
      .symptoms-cta-group .btn-symptoms {
        padding: 0.85rem 0.8rem;
        font-size: 0.9rem;
      }
      .symptoms-cta-messengers {
        gap: 0.5rem;
      }
      .symptoms-cta-messengers .messenger-icon {
        width: 2.5rem;
        height: 2.5rem;
      }
      .symptoms-cta-messengers .messenger-icon svg {
        width: 1.35rem;
        height: 1.35rem;
      }
    }
    .media-frame {
      position: relative;
      border-radius: 1.5rem;
      overflow: hidden;
      box-shadow: var(--shadow);
      border: 1px solid var(--line);
      width: 100%;
      max-width: 32rem;
    }
    .media-frame img {
      width: 100%;
      height: auto;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease;
      filter: saturate(0.65) brightness(0.85) contrast(1.05);
    }
    .media-frame:hover img {
      transform: scale(1.03);
    }
    .media-badge {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: rgba(14, 27, 37, 0.75);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      color: #ffffff;
      padding: 0.4rem 0.8rem;
      border-radius: 100px;
      font-size: 0.8rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 0.4rem;
      border: 1px solid rgba(25, 108, 170, 0.15);
    }

    /* === slider cards custom rich metadata === */
    .case-card-title {
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--accent-dark);
      margin: 0 0 0.5rem 0;
      line-height: 1.3;
      height: 3rem;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .case-card-meta {
      display: flex;
      gap: 0.8rem;
      margin-bottom: 0.75rem;
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--accent);
      height: 1.5rem;
      align-items: center;
    }
    .case-card-meta iconify-icon {
      font-size: 1rem;
      vertical-align: middle;
      margin-top: -0.1rem;
    }
    .case-card-desc {
      font-size: 0.88rem;
      color: var(--muted);
      margin: 0 0 0.5rem 0;
      line-height: 1.45;
      height: 4.2rem;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .case-card-work {
      font-size: 0.88rem;
      color: var(--muted);
      margin: 0;
      line-height: 1.45;
    }
    .case-card-desc strong, .case-card-work strong {
      color: var(--ink);
    }

    @media (max-width: 991px) {
      .case-card-title {
        height: 3.4rem;
      }
      .case-card-desc {
        -webkit-line-clamp: 4;
        height: 5.6rem;
      }
    }

    /* === REGULATIONS/DOCUMENTATION SECTION === */
    .regulations-section {
      background: var(--surface-soft);
    }
    .regulations-layout {
      display: grid;
      grid-template-columns: 1fr 1.3fr;
      gap: 4rem;
      align-items: stretch;
    }
    @media (max-width: 991px) {
      .regulations-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        align-items: start;
      }
    }
    .regulations-media {
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .docs-visual-link {
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      text-decoration: none;
      outline: none;
    }
    .docs-image-wrapper {
      position: relative;
      border-radius: 1.5rem;
      overflow: hidden;
      box-shadow: var(--shadow);
      border: 1px solid var(--line);
      width: 100%;
      max-width: 32rem;
      margin: 0;
      flex-grow: 1;
      height: 100%;
      background-color: var(--line);
    }
    .docs-image-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top;
      display: block;
      transition: transform 0.5s ease;
      filter: saturate(0.65) brightness(0.85) contrast(1.05);
    }
    .docs-visual-link:hover .docs-image-wrapper img {
      transform: scale(1.04);
    }
    .docs-link-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(to top, rgba(14, 27, 37, 0.85), transparent);
      padding: 1rem;
      color: #ffffff;
      font-weight: 700;
      font-size: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .docs-visual-link:hover .docs-link-overlay {
      opacity: 1;
    }
    .regulations-intro {
      font-size: 1.02rem;
      color: var(--muted);
      margin-bottom: 2rem;
      line-height: 1.6;
    }
    .documents-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
    }
    @media (max-width: 575px) {
      .documents-list {
        grid-template-columns: 1fr;
        gap: 1rem;
      }
    }
    .documents-list li {
      display: flex;
      gap: 1rem;
      background: var(--surface);
      padding: 1.2rem;
      border-radius: var(--radius);
      border: 1px solid var(--line);
    }
    .doc-icon {
      font-size: 1.8rem;
      color: var(--accent);
      flex-shrink: 0;
    }
    .doc-details h4 {
      margin: 0 0 0.3rem 0;
      font-size: 1.05rem;
      font-weight: 800;
      color: var(--accent-dark);
    }
    .doc-details p {
      margin: 0;
      font-size: 0.85rem;
      color: var(--muted);
      line-height: 1.4;
    }
    .regulations-footer-group {
      margin-top: 1.25rem;
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }
    .regulations-plain-note {
      margin: 0;
      font-size: 0.95rem;
      line-height: 1.5;
      color: var(--ink);
      font-weight: 600;
    }
    .regulations-action-wrapper {
      margin-top: 0;
    }
    @media (max-width: 991px) {
      .regulations-media {
        height: auto;
      }
      .docs-visual-link {
        flex-grow: 0;
        display: block;
      }
      .docs-image-wrapper {
        flex-grow: 0;
        height: 250px;
      }
      .regulations-footer-group {
        margin-top: 1.5rem;
      }
    }
    .regulations-btn {
      width: 100%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

/* === DOCUMENTATION LAYOUT & SUBPAGE STYLES === */

.document-main {
  padding-top: calc(var(--header-height) + 2rem);
}

@media (max-width: 1023px) {
  .document-main {
    padding-top: 6.5rem;
  }
}

.layout-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 1rem;
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .layout-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 0.5rem;
  }
}

/* === Sticky Sidebar TOC === */
.sidebar-container {
  position: relative;
}

.sticky-sidebar {
  position: sticky;
  top: 6.5rem;
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 0.75rem 2rem rgba(16, 42, 56, 0.04);
}

@media (max-width: 992px) {
  .sidebar-container {
    display: none;
  }
}

.toc-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--surface-soft);
  padding-bottom: 0.5rem;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-item {
  margin-bottom: 0.5rem;
}

.toc-item a {
  display: block;
  font-size: 0.85rem;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease, padding-left 0.15s ease;
  line-height: 1.4;
}

.toc-item a:hover,
.toc-item.active a {
  color: var(--accent);
  padding-left: 4px;
}

.toc-h2 {
  font-weight: 600;
}

.toc-h3 {
  padding-left: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}

/* === Document TOC === */
.document-toc {
  display: block;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: 2rem;
  box-shadow: 0 0.75rem 2rem rgba(16, 42, 56, 0.04);
}

.document-toc summary {
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: var(--accent-dark);
  cursor: pointer;
  outline: none;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.document-toc summary::-webkit-details-marker {
  display: none;
}

.document-toc summary::after {
  content: '▼';
  font-size: 0.7rem;
  transition: transform 0.2s;
}

.document-toc[open] summary::after {
  transform: rotate(180deg);
}

.document-toc-list {
  list-style: none;
  padding: 0.5rem 1rem 1rem;
  margin: 0;
  border-top: 1px solid var(--surface-soft);
  max-height: 300px;
  overflow-y: auto;
}

.document-toc-list li {
  margin-bottom: 0.5rem;
}

.document-toc-list a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
}

.document-toc-list li.toc-h3 {
  padding-left: 1rem;
}

/* === Legal Document Formatting === */
.legal-item {
  position: relative;
  padding-left: 2.5rem !important;
  text-indent: -2.5rem !important;
  margin-bottom: 1.25rem !important;
  line-height: 1.6 !important;
}

.legal-num {
  font-weight: 700;
  color: var(--accent-dark);
  margin-right: 0.25rem;
}

/* === Main Document Panel === */
.document-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: 0 0.75rem 2rem rgba(16, 42, 56, 0.04);
}

@media (max-width: 768px) {
  .document-panel {
    padding: 1.5rem;
  }
}

.document-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.5rem;
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.document-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--accent-dark);
  line-height: 1.2;
  margin: 0;
}

/* === Document Content Typography === */
.document-content {
  font-size: 1.05rem;
  color: #2c3e50;
  line-height: 1.65;
}

.document-content p {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: var(--muted);
}

.document-content h1,
.document-content h2,
.document-content h3 {
  color: var(--accent-dark);
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.document-content h1 {
  font-size: 1.8rem;
  border-bottom: 1.5px solid var(--surface-soft);
  padding-bottom: 0.5rem;
}

.document-content h2 {
  font-size: 1.45rem;
  border-bottom: 1.5px solid var(--surface-soft);
  padding-bottom: 0.4rem;
}

.document-content h3 {
  font-size: 1.15rem;
}

.document-content hr {
  height: 1px;
  border: none;
  background-color: var(--line);
  margin: 2rem 0;
}

.document-content ul,
.document-content ol {
  margin-top: 0;
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.document-content li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.document-content li::marker {
  color: var(--accent);
}

.document-content strong {
  color: var(--ink);
  font-weight: 700;
}

.document-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.document-content a:hover {
  color: var(--accent-dark);
}

/* Checklist Items */
.document-content li.checkbox-li {
  list-style-type: none;
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
}

.document-content li.checkbox-li input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 0.25rem;
  margin: 0;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent);
  cursor: default;
}

/* Warnings and Notices */
.warning-box {
  background: #fdf6f6;
  border-left: 4px solid var(--brand-red);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: #8b1e22;
  font-weight: 500;
}

.warning-box strong {
  color: #7b1317;
}

blockquote {
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  background: var(--surface-soft);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  font-style: italic;
  color: var(--muted);
}

blockquote p {
  margin: 0 !important;
}

/* Tables and Responsiveness */
.table-container {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0,0,0,0.01);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

th {
  background: var(--surface-soft);
  color: var(--accent-dark);
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--line);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: top;
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) {
  background: #fafcfd;
}

table input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent);
  margin: 0;
  vertical-align: middle;
}

/* === Document Index Hub Cards === */
.step-watermark-svg {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 8rem;
  height: 8rem;
  color: rgba(13, 71, 114, 0.03);
  pointer-events: none;
  z-index: 0;
  transition: all 0.3s ease;
}

.step:hover .step-watermark-svg {
  color: rgba(13, 71, 114, 0.08);
  transform: scale(1.05);
}

.step .btn {
  justify-content: space-between;
  margin-top: 1.5rem;
  width: 100%;
}

.step:hover .btn {
  background: var(--brand-red);
  color: #ffffff;
  border-color: var(--brand-red);
}

/* === Badges === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-legal {
  background: #fdf2f2;
  color: #c81e1e;
  border: 1px solid #fde8e8;
}

.badge-normative {
  background: #ebf5ff;
  color: #1e429f;
  border: 1px solid #e1effe;
}

/* === RUSSCON WATER REFINEMENTS === */

/* Logo Mark Perfect Circle constraints */
.brand-mark {
  aspect-ratio: 1/1 !important;
  flex: 0 0 auto !important;
  border-radius: 50% !important;
  overflow: hidden !important;
}

.brand-mark img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Mobile header alignment & spacing adjustments */
@media (max-width: 1023px) {
  .brand br {
    display: none !important;
  }
  .brand > span:not(.brand-mark) {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    line-height: 1.15 !important;
    gap: 1px !important;
  }
  .brand strong {
    margin: 0 !important;
    line-height: 1 !important;
  }
  .brand span:last-child {
    margin: 0 !important;
    line-height: 1 !important;
  }
}

/* Subpage scrolled header immediately and permanently */
.site-header.always-scrolled {
  background: rgba(8, 23, 35, 0.82) !important;
  box-shadow: 0 1rem 3rem rgba(4, 15, 25, 0.18) !important;
  backdrop-filter: blur(18px) !important;
}

.site-header.always-scrolled .header-strip {
  min-height: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
}

.site-header.always-scrolled .header-inner {
  min-height: 3.5rem !important;
  padding-top: 0 !important;
}

.site-header.always-scrolled .brand-mark {
  width: 3.6rem !important;
  height: 3.6rem !important;
  margin-top: 0 !important;
}

.site-header.always-scrolled .brand strong {
  font-size: 1rem !important;
}

.site-header.always-scrolled .brand span:last-child {
  font-size: 0.78rem !important;
}

@media (max-width: 1023px) {
  .site-header.always-scrolled .brand-mark {
    width: 3.1rem !important;
    height: 3.1rem !important;
  }
}

/* Page spacing adjustments on subpages */
.document-page .document-main {
  padding-top: 6.5rem !important;
}

@media (max-width: 1023px) {
  .document-page .document-main {
    padding-top: 5rem !important;
  }
}

/* Heading scroll margins for anchors */
.document-content [id],
.document-content h2,
.document-content h3 {
  scroll-margin-top: 100px !important;
}

/* Breadcrumbs style */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
}

.breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumbs a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.breadcrumbs .separator {
  color: var(--soft);
  user-select: none;
}

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

/* Mobile footer stacked layout and legal links wrap */
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-links {
    grid-column: 1 / -1 !important;
    text-align: left !important;
  }
}

@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  .footer-bottom a {
    display: block !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
  }
}

.footer-bottom a {
  line-height: 1.2 !important;
  display: inline-block;
  max-width: 100%;
  word-wrap: break-word;
}

/* Modal Windows style */
body.modal-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}

.rw-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(8, 23, 35, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.rw-modal-backdrop.is-open {
  display: flex;
}

.rw-modal {
  position: relative;
  width: min(100%, 31rem);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 2rem;
  border: 1px solid rgba(25, 108, 170, 0.18);
  border-radius: 8px;
  color: var(--ink, #12202a);
  background: #fff;
  box-shadow: 0 1.5rem 4rem rgba(8, 23, 35, 0.22);
}

.rw-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 6px;
  color: var(--accent-dark, #0d4772);
  background: rgba(25, 108, 170, 0.08);
  cursor: pointer;
}

.rw-modal-close svg {
  color: var(--accent-dark, #0d4772);
}

.rw-modal h3 {
  margin: 0 2.25rem 0.85rem 0;
  color: var(--accent-dark, #0d4772);
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.12;
}

.rw-modal-text {
  margin: 0 0 1.25rem;
  color: var(--ink, #12202a);
  font-size: 1.04rem;
  line-height: 1.45;
}

.rw-modal-service {
  display: none;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  margin: 0 0 1.25rem;
  padding: 0.9rem;
  border: 1px solid rgba(25, 108, 170, 0.16);
  border-radius: 8px;
  background: rgba(25, 108, 170, 0.06);
}

.rw-modal-service.is-visible {
  display: grid;
}

.rw-modal-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--accent, #196caa);
  border-radius: 8px;
  background: #fff;
}

.rw-modal-service-icon svg {
  width: 1.9rem;
  height: 1.9rem;
}

.rw-modal-service-title {
  margin: 0 0 0.25rem;
  color: var(--accent-dark, #0d4772);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.rw-modal-service-desc {
  margin: 0;
  color: var(--muted, #5d6d78);
  font-size: 0.9rem;
  line-height: 1.4;
}

.rw-modal-form {
  display: grid;
  gap: 0.8rem;
}

.rw-modal-form label:not(.terms) {
  color: var(--accent-dark, #0d4772);
  font-size: 0.86rem;
  font-weight: 800;
}

.rw-modal-form input[type="tel"] {
  width: 100%;
  min-height: 3rem;
  padding: 0 0.95rem;
  border: 1px solid rgba(13, 71, 114, 0.22);
  border-radius: 6px;
  color: var(--ink, #12202a);
  background: #fff;
}

.rw-modal-form .btn {
  width: 100%;
}

.rw-modal-form .rw-btn-danger {
  color: #fff;
  background: var(--brand-red, #e21a22);
  border-color: var(--brand-red, #e21a22);
  box-shadow: 0 0.85rem 1.8rem rgba(226, 26, 34, 0.24);
}

.rw-modal-thank-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 0 1rem;
  color: #fff;
  border-radius: 999px;
  background: var(--accent, #196caa);
  box-shadow: 0 0.8rem 1.6rem rgba(25, 108, 170, 0.2);
}

.rw-modal-thank-icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

@media (max-width: 520px) {
  .rw-modal {
    padding: 1.45rem;
  }
  .rw-modal h3 {
    margin-right: 2rem;
  }
}

