/* =============================================================
   Viral Flow LLC — Corporate Website
   Global stylesheet
   Author: Viral Flow LLC
   Stack: HTML5 + CSS3 + Vanilla JS (no frameworks)
   ============================================================= */

/* -------------------------------------------------------------
   1. Design tokens (CSS custom properties)
   ------------------------------------------------------------- */
:root {
  /* Color palette */
  --bg: #ffffff;
  --bg-secondary: #f8fafc;
  --primary: #0f172a;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --gray: #cbd5e1;
  --gray-soft: #e2e8f0;
  --text: #334155;
  --text-muted: #64748b;
  --success: #16a34a;
  --white: #ffffff;

  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  --gradient-hero: radial-gradient(1200px 600px at 80% -10%, rgba(37, 99, 235, 0.12), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(79, 70, 229, 0.08), transparent 55%);
  --gradient-soft: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Radii */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);

  /* Layout */
  --container: 1180px;
  --header-h: 72px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.4s;
}

/* -------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--primary);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
a:hover {
  color: var(--accent-dark);
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Focus visibility for accessibility */
:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 2000;
}
.skip-link:focus {
  left: 0;
}

/* -------------------------------------------------------------
   3. Layout helpers
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}
.section--tint {
  background: var(--bg-secondary);
}
.section--soft {
  background: var(--gradient-soft);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.section-head .eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.075rem;
}

.text-center {
  text-align: center;
}
.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Grids */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* -------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--btn-bg);
  color: var(--btn-fg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}
.btn:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.32);
}
.btn:active {
  transform: translateY(0);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--primary);
  border-color: var(--gray-soft);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--bg-secondary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.btn--lg {
  padding: 17px 34px;
  font-size: 1.05rem;
}

/* Ripple effect element injected by JS */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.5);
  animation: ripple 0.6s linear;
  pointer-events: none;
}
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* -------------------------------------------------------------
   5. Header / navigation
   ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background var(--dur) var(--ease);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--gray-soft);
  background: rgba(255, 255, 255, 0.9);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--primary);
  letter-spacing: -0.03em;
}
.brand:hover {
  color: var(--primary);
}
.brand__mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}
.brand__mark svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 5px 12px rgba(37, 99, 235, 0.35));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--primary);
  background: var(--bg-secondary);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  height: 38px;
  padding: 0 13px;
  border: 1px solid var(--gray-soft);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}
.lang-switch:hover {
  background: var(--bg-secondary);
  color: var(--primary);
  border-color: var(--gray);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-soft);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  color: var(--primary);
  font-size: 1.2rem;
}

/* -------------------------------------------------------------
   6. Hero
   ------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--gradient-hero), var(--bg);
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 110px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}
.hero p {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 560px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__trust i {
  color: var(--success);
}
.hero__art {
  position: relative;
}
.hero__art .glass-card {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* -------------------------------------------------------------
   7. Cards
   ------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-soft);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
  height: 100%;
}
.card--lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.25);
}
.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.1);
  margin-bottom: 18px;
}
.card h3 {
  margin-bottom: 8px;
}
.card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.98rem;
}

.glass-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}

/* Feature row (Why choose us) */
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-soft);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--gradient-accent);
}
.feature h3 {
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* -------------------------------------------------------------
   8. Company info panel
   ------------------------------------------------------------- */
.info-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.info-item {
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--gray-soft);
  border-radius: var(--radius);
}
.info-item .label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.info-item .value {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.02rem;
}
.info-item address {
  font-style: normal;
  color: var(--primary);
  font-weight: 500;
  line-height: 1.5;
}

/* -------------------------------------------------------------
   9. Payment methods
   ------------------------------------------------------------- */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.pay-card {
  background: var(--white);
  border: 1px solid var(--gray-soft);
  border-radius: var(--radius);
  padding: 24px 14px;
  text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pay-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.pay-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.pay-card span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* -------------------------------------------------------------
   10. Security section
   ------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.security-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--gray-soft);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary);
}
.security-badges i {
  color: var(--success);
}

/* -------------------------------------------------------------
   11. Counters / stats
   ------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}
.stat .caption {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* -------------------------------------------------------------
   12. CTA banner
   ------------------------------------------------------------- */
.cta-banner {
  background: var(--gradient-accent);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-banner h2 {
  color: #fff;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 26px;
}
.cta-banner .btn {
  --btn-bg: #fff;
  --btn-fg: var(--accent-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.cta-banner .btn:hover {
  color: var(--accent-dark);
}

/* -------------------------------------------------------------
   13. Timeline (About page)
   ------------------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--gray-soft);
}
.timeline__item {
  position: relative;
  padding: 0 0 34px 24px;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.timeline__item h3 {
  margin-bottom: 4px;
}
.timeline__item p {
  color: var(--text-muted);
  margin: 0;
}

/* -------------------------------------------------------------
   14. Contact page
   ------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 7px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--gray);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
textarea.form-control {
  resize: vertical;
  min-height: 140px;
}
.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
}
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(22, 163, 74, 0.1);
  color: var(--success);
  font-weight: 600;
  margin-top: 16px;
}
.form-success.is-visible {
  display: flex;
}

.contact-info li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-soft);
}
.contact-info li:last-child {
  border-bottom: none;
}
.contact-info i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 3px;
}
.contact-info .k {
  display: block;
  font-weight: 600;
  color: var(--primary);
}
.contact-info .v {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-soft);
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
  background: var(--bg-secondary);
}
.map-embed iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* -------------------------------------------------------------
   15. Page hero (inner pages)
   ------------------------------------------------------------- */
.page-hero {
  background: var(--gradient-hero), var(--bg-secondary);
  padding: clamp(56px, 7vw, 88px) 0;
  text-align: center;
}
.page-hero .eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.page-hero p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 12px auto 0;
  font-size: 1.1rem;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.breadcrumb a {
  color: var(--text-muted);
}

/* -------------------------------------------------------------
   16. Legal / long-form content
   ------------------------------------------------------------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
}
.legal .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}
.legal h2 {
  font-size: 1.5rem;
  margin-top: 40px;
}
.legal h3 {
  margin-top: 26px;
}
.legal p,
.legal li {
  color: var(--text);
}
.legal ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 1rem;
}
.legal ul li {
  margin-bottom: 8px;
}
.legal .toc {
  background: var(--bg-secondary);
  border: 1px solid var(--gray-soft);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 36px;
}
.legal .toc strong {
  display: block;
  color: var(--primary);
  margin-bottom: 10px;
}
.legal .toc ol {
  columns: 2;
  gap: 30px;
  padding-left: 20px;
  color: var(--accent);
}

/* -------------------------------------------------------------
   17. Footer
   ------------------------------------------------------------- */
.site-footer {
  background: var(--primary);
  color: #cbd5e1;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.site-footer .brand {
  color: #fff;
  margin-bottom: 14px;
}
.site-footer .brand:hover {
  color: #fff;
}
.site-footer p {
  color: #94a3b8;
  font-size: 0.92rem;
  max-width: 320px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col a {
  color: #94a3b8;
  display: block;
  padding: 6px 0;
  font-size: 0.94rem;
}
.footer-col a:hover {
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  color: #94a3b8;
  font-size: 0.88rem;
}
.footer-bottom .pay-inline {
  display: flex;
  gap: 12px;
  font-size: 1.3rem;
  color: #cbd5e1;
}

/* -------------------------------------------------------------
   18. Scroll reveal animations
   ------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal="left"] {
  transform: translateX(-32px);
}
[data-reveal="right"] {
  transform: translateX(32px);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}
[data-reveal-delay="1"] {
  transition-delay: 0.08s;
}
[data-reveal-delay="2"] {
  transition-delay: 0.16s;
}
[data-reveal-delay="3"] {
  transition-delay: 0.24s;
}
[data-reveal-delay="4"] {
  transition-delay: 0.32s;
}
[data-reveal-delay="5"] {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* -------------------------------------------------------------
   19. Responsive
   ------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero__grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__art {
    order: -1;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pay-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .nav-toggle {
    display: grid;
    place-items: center;
  }
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    padding: 14px;
    border-bottom: 1px solid var(--gray-soft);
    box-shadow: var(--shadow);
    transform: translateY(-140%);
    transition: transform var(--dur) var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-links.is-open {
    transform: translateY(0);
  }
  .nav-links a {
    padding: 14px;
    font-size: 1rem;
  }
  .nav-cta .btn {
    display: none;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .info-panel {
    grid-template-columns: 1fr;
  }
  .pay-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .legal .toc ol {
    columns: 1;
  }
}
