:root {
    --bg: #07111f;
    --bg-soft: #0d1b2d;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-strong: rgba(255, 255, 255, 0.1);
    --text: #eef6ff;
    --text-muted: #aebed0;
    --text-soft: #d7e6f7;
    --accent: #45d1ff;
    --accent-2: #8ef6d2;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --container: 1160px;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  html,
  body,
  button,
  input,
  textarea,
  select {
    font-family: "Manrope", sans-serif;
  }
  
  body {
    margin: 0;
    background:
      radial-gradient(circle at top left, rgba(69, 209, 255, 0.2), transparent 34%),
      radial-gradient(circle at top right, rgba(142, 246, 210, 0.14), transparent 34%),
      var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-weight: 400;
  }
  
  body.nav-open {
    overflow: hidden;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
  }
  
  
  p {
    margin: 0;
  }
  
  .container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
  }
  
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 17, 31, 0.78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
  }
  
  .header-inner {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
  }
  
  .logo-header {
    display: inline-flex;
    align-items: center;
    height: 54px;
  }
  
  .logo-header img {
    display: block;
    width: auto;
    height: 54px;
    max-width: 260px;
    object-fit: contain;
  }
  
  .site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }
  
  .site-nav a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
  }
  
  .site-nav a:hover {
    color: var(--text);
  }
  
  .nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
  }
  
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
    border-radius: 10px;
  }
  
  .hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    padding: 120px 0 110px;
    overflow: hidden;
  }
  
  .hero-background {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        90deg,
        rgba(7, 17, 31, 0.96) 0%,
        rgba(7, 17, 31, 0.88) 38%,
        rgba(7, 17, 31, 0.48) 68%,
        rgba(7, 17, 31, 0.76) 100%
      ),
      linear-gradient(
        180deg,
        rgba(7, 17, 31, 0.35) 0%,
        rgba(7, 17, 31, 0.88) 100%
      ),
      url("images/hero-bg.webp") center right / cover no-repeat;
    z-index: 0;
  }
  
  .hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 180px;
    background: linear-gradient(180deg, transparent, var(--bg));
    z-index: 1;
  }
  
  .hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 760px);
    align-items: center;
  }
  
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-2);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  
  .eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 100px;
  }
  
  h1,
  h2,
  h3 {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.04em;
    line-height: 1.05;
  }
  
  h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(46px, 7vw, 82px);
  }
  
  h2 {
    font-size: clamp(32px, 4.2vw, 54px);
  }
  
  h3 {
    font-size: 22px;
  }
  
  .hero-lead {
    max-width: 720px;
    margin-top: 26px;
    color: var(--text-soft);
    font-size: 19px;
  }
  
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease,
      background 0.2s ease;
  }
  
  .btn:hover {
    transform: translateY(-2px);
  }
  
  .btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #06101d;
    box-shadow: 0 18px 45px rgba(69, 209, 255, 0.22);
  }
  
  .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid var(--border);
  }
  
  
  .section {
    padding: 96px 0;
  }
  
  .section-muted {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  
  .section-heading {
    max-width: 760px;
    margin-bottom: 42px;
  }
  
  .section-heading h2 {
    margin-top: 18px;
  }
  
  .section-heading p:not(.eyebrow) {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 18px;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  
  .service-card {
    position: relative;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 24px;
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.075),
        rgba(255, 255, 255, 0.025)
      );
    isolation: isolate;
    transition:
      transform 0.3s ease,
      border-color 0.3s ease,
      box-shadow 0.3s ease;
  }
  
  .service-card::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    top: -130px;
    right: -110px;
    border-radius: 50%;
    background: radial-gradient(
      circle,
      rgba(69, 209, 255, 0.23),
      transparent 68%
    );
    z-index: -1;
    transition:
      transform 0.4s ease,
      opacity 0.4s ease;
  }
  
  .service-card::after {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 0;
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent,
      var(--accent),
      var(--accent-2),
      transparent
    );
    opacity: 0;
    transform: scaleX(0.45);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(69, 209, 255, 0.42);
    box-shadow:
      0 24px 60px rgba(0, 0, 0, 0.3),
      0 0 40px rgba(69, 209, 255, 0.07);
  }
  
  .service-card:hover::before {
    transform: scale(1.2);
    opacity: 0.95;
  }
  
  .service-card:hover::after {
    opacity: 1;
    transform: scaleX(1);
  }
  
  .service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 42px;
  }
  
  .service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(69, 209, 255, 0.24);
    border-radius: 16px;
    background:
      linear-gradient(
        145deg,
        rgba(69, 209, 255, 0.16),
        rgba(142, 246, 210, 0.07)
      );
    color: var(--accent);
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
  }
  
  .service-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  
  .service-card:hover .service-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 12px 32px rgba(69, 209, 255, 0.17);
  }
  
  .service-tag {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  
  .service-card h3 {
    max-width: 280px;
    font-size: 24px;
    line-height: 1.15;
  }
  
  .service-card p {
    margin-top: 17px;
    color: var(--text-muted);
  }
  
  .service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 28px;
    color: var(--accent-2);
    font-size: 13px;
    font-weight: 700;
  }
  
  .service-link::after {
    content: "→";
    transition: transform 0.25s ease;
  }
  
  .service-card:hover .service-link::after {
    transform: translateX(5px);
  }

  #services .section-heading h2 {
    margin-top: 0;
  }
  
  .about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 72px;
    align-items: start;
  }
  
  .about-intro {
    position: sticky;
    top: 120px;
  }
  
  .about-intro h2 {
    max-width: 560px;
    margin: 0;
  }
  
  .about-lead {
    max-width: 540px;
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.75;
  }
  
  .about-content {
    color: var(--text-soft);
    font-size: 18px;
  }
  
  .about-content > p + p {
    margin-top: 18px;
  }
  
  .about-principles {
    display: grid;
    gap: 16px;
    margin-top: 38px;
  }
  
  .about-principle {
    position: relative;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 18px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.07),
        rgba(255, 255, 255, 0.025)
      );
    transition:
      transform 0.28s ease,
      border-color 0.28s ease,
      background 0.28s ease;
  }
  
  .about-principle::after {
    content: "";
    position: absolute;
    top: -70px;
    right: -70px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(
      circle,
      rgba(69, 209, 255, 0.16),
      transparent 70%
    );
    opacity: 0;
    transition: opacity 0.28s ease;
  }
  
  .about-principle:hover {
    transform: translateX(6px);
    border-color: rgba(69, 209, 255, 0.36);
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.09),
        rgba(255, 255, 255, 0.035)
      );
  }
  
  .about-principle:hover::after {
    opacity: 1;
  }
  
  .about-principle-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(69, 209, 255, 0.28);
    border-radius: 14px;
    background:
      linear-gradient(
        145deg,
        rgba(69, 209, 255, 0.16),
        rgba(142, 246, 210, 0.08)
      );
  }
  
  .about-principle-mark::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow:
      0 0 0 5px rgba(69, 209, 255, 0.08),
      0 0 18px rgba(69, 209, 255, 0.42);
  }
  
  .about-principle h3 {
    font-size: 21px;
    line-height: 1.2;
  }
  
  .about-principle p {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
  }
  
  .process-section {
    overflow: hidden;
  }
  
  .process-heading {
    max-width: 760px;
    margin-bottom: 54px;
  }
  
  .process-heading h2 {
    margin-top: 0;
  }
  
  .data-flow {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 220px;
    gap: 28px;
    align-items: stretch;
  }
  
  .flow-terminal {
    position: relative;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 24px;
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.07),
        rgba(255, 255, 255, 0.025)
      );
  }
  
  .flow-terminal::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    top: -90px;
    right: -80px;
    border-radius: 50%;
    background: radial-gradient(
      circle,
      rgba(69, 209, 255, 0.22),
      transparent 70%
    );
  }
  
  .flow-terminal-end::before {
    background: radial-gradient(
      circle,
      rgba(142, 246, 210, 0.2),
      transparent 70%
    );
  }
  
  .flow-terminal-label {
    position: absolute;
    top: 22px;
    left: 24px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  
  .flow-terminal strong {
    position: relative;
    z-index: 1;
    font-size: 23px;
    line-height: 1.15;
  }
  
  .flow-terminal p {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 14px;
  }
  
  .flow-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
  }
  
  .flow-line {
    position: absolute;
    left: 7%;
    right: 7%;
    top: 42px;
    height: 2px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
  }
  
  .flow-line::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      transparent,
      var(--accent),
      var(--accent-2),
      transparent
    );
    opacity: 0.7;
  }
  
  .flow-pulse {
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow:
      0 0 0 6px rgba(69, 209, 255, 0.08),
      0 0 24px rgba(69, 209, 255, 0.7);
    transform: translate(-50%, -50%);
    animation: flowPulseMove 8s linear infinite;
  }
  
  .flow-step {
    position: relative;
    min-height: 250px;
    padding: 82px 18px 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.055),
        rgba(255, 255, 255, 0.02)
      );
    transition:
      transform 0.3s ease,
      border-color 0.3s ease,
      background 0.3s ease,
      box-shadow 0.3s ease;
  }
  
  .flow-node {
    position: absolute;
    top: 31px;
    left: 50%;
    width: 22px;
    height: 22px;
    border: 5px solid var(--bg);
    border-radius: 50%;
    background: rgba(174, 190, 208, 0.55);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
    transform: translateX(-50%);
    transition:
      transform 0.3s ease,
      background 0.3s ease,
      box-shadow 0.3s ease;
  }
  
  .flow-step-content {
    opacity: 0.58;
    transform: translateY(5px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }
  
  .flow-step-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  
  .flow-step h3 {
    font-size: 22px;
  }
  
  .flow-step p {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
  }
  
  .flow-step.is-active {
    transform: translateY(-7px);
    border-color: rgba(69, 209, 255, 0.38);
    background:
      linear-gradient(
        180deg,
        rgba(69, 209, 255, 0.1),
        rgba(255, 255, 255, 0.025)
      );
    box-shadow:
      0 22px 55px rgba(0, 0, 0, 0.25),
      0 0 34px rgba(69, 209, 255, 0.08);
  }
  
  .flow-step.is-active .flow-node {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow:
      0 0 0 6px rgba(69, 209, 255, 0.08),
      0 0 24px rgba(69, 209, 255, 0.6);
    transform: translateX(-50%) scale(1.15);
  }
  
  .flow-step.is-active .flow-step-content {
    opacity: 1;
    transform: translateY(0);
  }
  
  @keyframes flowPulseMove {
    0% {
      left: 0%;
    }
  
    100% {
      left: 100%;
    }
  }
  
  .contact-section {
    padding-bottom: 110px;
  }
  
  .contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 54px;
    align-items: start;
  }
  
  .contact-intro h2 {
    max-width: 570px;
    margin: 0;
  }
  
  .contact-intro > p {
    max-width: 560px;
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.75;
  }
  
  .contact-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
  }
  
  .contact-topics span {
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
  }
  
  .form-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }
  
  .contact-form {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.065);
    box-shadow: var(--shadow);
  }
  
  .contact-form label {
    display: block;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 800;
  }
  
  .contact-form label + label {
    margin-top: 18px;
  }
  
  input,
  textarea {
    width: 100%;
    margin-top: 8px;
    padding: 16px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    outline: none;
    background: rgba(4, 11, 22, 0.8);
    color: var(--text);
    font: inherit;
    transition:
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }
  
  input:focus-visible,
  textarea:focus-visible {
    border-color: rgba(69, 209, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(69, 209, 255, 0.12);
  }
  
  textarea {
    resize: vertical;
  }
  
  .contact-form .btn {
    width: 100%;
    margin-top: 22px;
  }
  
  .form-note {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
  }

  .contact-form-wrap {
    position: relative;
  }
  
  .form-submit {
    position: relative;
  }
  
  .form-submit:disabled {
    cursor: wait;
    opacity: 0.82;
  }
  
  .submit-loader {
    display: none;
    width: 18px;
    height: 18px;
    margin-left: 10px;
    border: 2px solid rgba(6, 16, 29, 0.28);
    border-top-color: #06101d;
    border-radius: 50%;
    animation: formLoaderSpin 0.7s linear infinite;
  }
  
  .form-submit.is-loading .submit-loader {
    display: block;
  }
  
  @keyframes formLoaderSpin {
    to {
      transform: rotate(360deg);
    }
  }
  
  .form-result {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(4, 11, 22, 0.82);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.28s ease,
      visibility 0.28s ease;
  }
  
  .form-result.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .form-result-card {
    position: relative;
    width: min(100%, 440px);
    padding: 34px;
    border: 1px solid rgba(69, 209, 255, 0.3);
    border-radius: 24px;
    background:
      linear-gradient(
        145deg,
        rgba(18, 37, 61, 0.98),
        rgba(8, 20, 36, 0.98)
      );
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.45),
      0 0 48px rgba(69, 209, 255, 0.1);
    text-align: center;
    transform: translateY(18px) scale(0.97);
    transition: transform 0.3s ease;
  }
  
  .form-result.is-visible .form-result-card {
    transform: translateY(0) scale(1);
  }
  
  .form-result-close {
    position: absolute;
    top: 14px;
    right: 15px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }
  
  .form-result-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    border: 1px solid rgba(142, 246, 210, 0.35);
    border-radius: 20px;
    background:
      linear-gradient(
        145deg,
        rgba(69, 209, 255, 0.18),
        rgba(142, 246, 210, 0.1)
      );
    color: var(--accent-2);
    box-shadow: 0 14px 38px rgba(69, 209, 255, 0.15);
  }
  
  .form-result-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  
  .form-result-label {
    display: block;
    color: var(--accent-2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }
  
  .form-result h3 {
    margin-top: 14px;
    font-size: 28px;
    line-height: 1.15;
  }
  
  .form-result p {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
  }
  
  .form-result-button {
    width: 100%;
    margin-top: 26px;
  }
  
  .form-result.is-error .form-result-card {
    border-color: rgba(255, 123, 123, 0.32);
  }
  
  .form-result.is-error .form-result-icon {
    border-color: rgba(255, 123, 123, 0.35);
    background: rgba(255, 123, 123, 0.08);
    color: #ff9d9d;
  }
  
  .form-result.is-error .form-result-label {
    color: #ff9d9d;
  }
  
  @media (max-width: 720px) {
    .form-result {
      padding: 14px;
    }
  
    .form-result-card {
      padding: 30px 22px 22px;
    }
  
    .form-result h3 {
      font-size: 24px;
    }
  }
  
  .site-footer {
    border-top: 1px solid var(--border);
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.025),
        rgba(4, 11, 22, 0.92)
      );
  }
  
  .footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr auto;
    gap: 48px;
    align-items: start;
    padding: 54px 0 38px;
  }
  
  .footer-company strong {
    display: block;
    color: var(--text);
    font-size: 17px;
    font-weight: 700;
  }
  
  .footer-company p {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.75;
  }
  
  .footer-legal {
    display: grid;
    gap: 10px;
    color: var(--text-muted);
    font-size: 14px;
  }
  
  .footer-legal span {
    display: block;
  }
  
  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .footer-links a {
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease;
  }
  
  .footer-links a:hover {
    color: var(--accent);
  }
  
  .footer-bottom {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
  }
  
  .footer-bottom a {
    color: var(--text-soft);
    font-weight: 700;
  }
  
  @media (max-width: 980px) {
    .hero-grid,
    .contact-grid {
      grid-template-columns: 1fr;
    }

    .about-grid {
      grid-template-columns: 1fr;
      gap: 42px;
    }
    
    .about-intro {
      position: static;
    }
  
    .services-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .data-flow {
      grid-template-columns: 1fr;
    }
    
    .flow-track {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .flow-line {
      display: none;
    }
    
    .flow-terminal {
      min-height: 180px;
    }

    .footer-main {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .footer-links {
      grid-column: 1 / -1;
      flex-direction: row;
    }
  }
  
  @media (max-width: 720px) {
    .container {
      width: min(100% - 28px, var(--container));
    }
  
    .header-inner {
      height: 74px;
    }
  
    .nav-toggle {
      display: block;
    }
  
    .site-nav {
      position: fixed;
      left: 14px;
      right: 14px;
      top: 84px;
      display: none;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      padding: 14px;
      border: 1px solid var(--border);
      border-radius: 22px;
      background: rgba(7, 17, 31, 0.96);
      box-shadow: var(--shadow);
    }
  
    body.nav-open .site-nav {
      display: flex;
    }
  
    .site-nav a {
      padding: 14px 12px;
    }
  
    .logo-header {
        height: 44px;
      }
      
      .logo-header img {
        height: 44px;
        max-width: 210px;
      }
  
    .hero {
        min-height: 680px;
        padding: 90px 0 80px;
      }
  
    h1 {
      font-size: 43px;
    }
  
    .hero-lead {
      font-size: 17px;
    }

    .about-principle {
      grid-template-columns: 36px 1fr;
      padding: 20px;
    }
    
    .about-principle-mark {
      width: 36px;
      height: 36px;
      border-radius: 12px;
    }
  
    .section {
      padding: 72px 0;
    }
  
    .contact-form {
      padding: 22px;
    }
  
    .footer-links {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }

    .footer-main {
      grid-template-columns: 1fr;
      gap: 28px;
      padding: 42px 0 30px;
    }
    
    .footer-links {
      grid-column: auto;
      flex-direction: column;
    }
    
    .footer-bottom {
      padding: 22px 0;
      flex-direction: column;
      align-items: flex-start;
    }

    .flow-track {
      grid-template-columns: 1fr;
    }
    
    .flow-step {
      min-height: 0;
      padding: 24px 22px 24px 72px;
    }
    
    .flow-node {
      top: 28px;
      left: 28px;
      transform: none;
    }
    
    .flow-step.is-active .flow-node {
      transform: scale(1.15);
    }
    
    .flow-step.is-active {
      transform: translateX(6px);
    }

    .policy-card {
      padding: 24px 20px;
    }

  }

  .policy-content {
    margin-top: 34px;
    color: var(--text-soft);
  }
  
  .policy-content h2 {
    margin-top: 34px;
    font-size: 26px;
    letter-spacing: -0.03em;
  }
  
  .policy-content p {
    margin-top: 14px;
    color: var(--text-soft);
  }
  
  .policy-content ul {
    margin: 14px 0 0;
    padding-left: 22px;
    color: var(--text-soft);
  }
  
  .policy-content li + li {
    margin-top: 8px;
  }
  
  .policy-content a {
    color: var(--accent);
    font-weight: 800;
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }

    .policy-card {
      max-width: 920px;
      margin: 0 auto;
      padding: 38px;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      background: rgba(255, 255, 255, 0.055);
      box-shadow: var(--shadow);
    }
    
    .policy-header h1 {
      margin: 0;
      font-size: clamp(38px, 5vw, 58px);
    }
    
    .policy-header p {
      margin-top: 18px;
      color: var(--text-muted);
    }
    
    .policy-actions {
      margin-top: 34px;
    }
    
    @media (max-width: 720px) {
      .policy-card {
        padding: 24px 20px;
      }
    }
  
    *,
    *::before,
    *::after {
      scroll-behavior: auto !important;
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }

  .policy-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 38px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: var(--shadow);
  }
  
  .policy-header h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 58px);
  }
  
  .policy-header p {
    margin-top: 18px;
    color: var(--text-muted);
  }

