/* ============================================================
   Meduza Software — meduzasoft.com
   Shared design system
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --ink: #0B1B34;
  --ink-soft: #33475F;
  --muted: #64748B;
  --brand: #12A9E8;
  --brand-2: #0A5FD4;
  --brand-cyan: #22CBF6;
  --accent: #6C5CE7;

  --bg: #FFFFFF;
  --bg-alt: #F3F8FD;
  --bg-deep: #081428;
  --bg-deep-2: #0C2140;
  --line: #E4EDF6;
  --line-deep: rgba(255,255,255,0.10);

  --grad-brand: linear-gradient(120deg, #22CBF6 0%, #0A5FD4 100%);
  --grad-accent: linear-gradient(120deg, #22CBF6 0%, #4C7EF3 48%, #6C5CE7 100%);
  --grad-deep: radial-gradient(1200px 600px at 15% -10%, #123a6b 0%, transparent 55%),
               radial-gradient(900px 500px at 100% 0%, #0e2f57 0%, transparent 50%),
               linear-gradient(180deg, #081428 0%, #0a1a33 100%);

  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(11,27,52,0.06);
  --shadow: 0 12px 34px rgba(11,27,52,0.09);
  --shadow-lg: 0 26px 60px rgba(11,27,52,0.16);
  --shadow-brand: 0 16px 40px rgba(12,110,214,0.28);

  --container: 1200px;
  --nav-h: 74px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; margin: 0 0 .4em; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
a { color: var(--brand-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand); }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 118px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); color: #dbe6f4; }
.section--deep h1, .section--deep h2, .section--deep h3 { color: #fff; }
.grid { display: grid; gap: 26px; }
.center { text-align: center; }
.max-64 { max-width: 64ch; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Eyebrow / section head ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brand-2);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-brand); }
.section--deep .eyebrow { color: var(--brand-cyan); }
.section-head { max-width: 62ch; }
.section-head.center { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.16rem; color: var(--ink-soft); }
.section--deep .lead { color: #b9cbe0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 22px 48px rgba(12,110,214,0.38); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-2); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Top navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(255,255,255,0.9); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 42px; flex: none; }
.brand__word { display: flex; flex-direction: column; justify-content: center; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.brand__name .me { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__tag { display: block; font-size: .57rem; letter-spacing: .34em; color: var(--muted); font-weight: 600; margin-top: 4px; }
.nav__links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav__links a { font-family: var(--font-display); font-weight: 500; font-size: .97rem; color: var(--ink-soft); position: relative; }
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--grad-brand); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 72px) 0 96px; overflow: hidden; background: var(--bg); }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__mesh {
  position: absolute; inset: -10% -5%;
  background:
    radial-gradient(560px 420px at 78% 18%, rgba(34,203,246,0.22), transparent 62%),
    radial-gradient(520px 420px at 92% 60%, rgba(108,92,231,0.16), transparent 60%),
    radial-gradient(620px 460px at 8% 90%, rgba(10,95,212,0.12), transparent 60%);
  filter: blur(2px);
}
.hero__grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .5;
  mask-image: radial-gradient(720px 520px at 70% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(720px 520px at 70% 30%, #000 0%, transparent 75%);
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 8px 7px 14px;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff;
  box-shadow: var(--shadow-sm); font-size: .84rem; color: var(--ink-soft); margin-bottom: 24px; font-weight: 500;
}
.hero__badge b { color: var(--ink); font-weight: 600; }
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #16c784; box-shadow: 0 0 0 4px rgba(22,199,132,.16); }
.hero__badge .pill { background: var(--grad-brand); color: #fff; font-weight: 600; padding: 3px 10px; border-radius: var(--r-pill); font-size: .74rem; letter-spacing: .04em; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .grad { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-token { position: relative; white-space: nowrap; color: var(--brand-2); font-weight: 700; }
.hero__lead { font-size: 1.22rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero__stats .n { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: var(--ink); line-height: 1; }
.hero__stats .n .grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stats .l { font-size: .86rem; color: var(--muted); margin-top: 6px; }

/* Hero visual */
.hero__visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 400px; }
.hero__orb {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: var(--grad-accent); filter: blur(46px); opacity: .32;
  animation: pulse 6s ease-in-out infinite;
}
.hero__medusa { position: relative; z-index: 2; width: 260px; height: auto; filter: drop-shadow(0 30px 50px rgba(10,95,212,0.34)); animation: float 7s ease-in-out infinite; }
.hero__card {
  position: absolute; z-index: 3; background: rgba(255,255,255,0.86); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 13px 16px;
  display: flex; align-items: center; gap: 11px; font-size: .88rem; font-weight: 500;
}
.hero__card .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: var(--grad-brand); flex: none; }
.hero__card.c1 { top: 12%; left: -6%; animation: float 6s ease-in-out infinite; }
.hero__card.c2 { bottom: 16%; right: -8%; animation: float 6.6s ease-in-out .6s infinite; }
.hero__card small { display: block; color: var(--muted); font-weight: 500; font-size: .74rem; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .3; } 50% { transform: scale(1.08); opacity: .42; } }

/* ---------- Marquee / trust strip ---------- */
.trust { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.trust__label { text-align: center; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; font-weight: 600; }
.trust__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.trust__row .chip { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; color: var(--ink-soft); font-size: 1.02rem; opacity: .8; }
.trust__row .chip svg { width: 22px; height: 22px; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pillar .k { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-bottom: 8px; }
.pillar .k .grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pillar p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

/* ---------- Service / feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad-brand); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { opacity: 1; }
.card__ic { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: var(--grad-brand); margin-bottom: 22px; box-shadow: var(--shadow-brand); }
.card__ic svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 18px; }
.card__list { list-style: none; display: grid; gap: 9px; margin-bottom: 20px; }
.card__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink-soft); }
.card__list li svg { width: 18px; height: 18px; color: var(--brand-2); flex: none; margin-top: 2px; }
.card__link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.card__link:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.feature-panel {
  border-radius: var(--r-lg); padding: 32px; background: var(--grad-deep); color: #cfe0f2;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.feature-panel h4 { color: #fff; margin: 0 0 4px; font-size: 1.05rem; }
.code-line { font-family: 'Space Grotesk', monospace; }
.tick-list { list-style: none; display: grid; gap: 16px; }
.tick-list li { display: flex; gap: 14px; align-items: flex-start; }
.tick-list .tk { width: 30px; height: 30px; border-radius: 9px; background: rgba(18,169,232,.12); color: var(--brand-2); display: grid; place-items: center; flex: none; }
.section--deep .tick-list .tk { background: rgba(34,203,246,.16); color: var(--brand-cyan); }
.tick-list .tk svg { width: 17px; height: 17px; }
.tick-list b { display: block; color: var(--ink); font-family: var(--font-display); }
.section--deep .tick-list b { color: #fff; }
.tick-list p { margin: 2px 0 0; color: var(--ink-soft); font-size: .96rem; }
.section--deep .tick-list p { color: #a9bfd8; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding-top: 26px; }
.step__n { font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .12em; color: var(--brand-2); }
.step h4 { margin: 8px 0 6px; font-size: 1.08rem; }
.step p { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 4px; border-radius: 3px; background: var(--grad-brand); }
.section--deep .step p { color: #a9bfd8; }

/* ---------- Stats band ---------- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.statband .s { text-align: center; padding: 8px; }
.statband .s .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4vw, 3rem); background: linear-gradient(120deg,#22CBF6,#7aa8ff); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.statband .s .l { color: #9db4d0; margin-top: 8px; font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: 28px; padding: clamp(40px, 6vw, 72px); overflow: hidden; background: var(--grad-deep); box-shadow: var(--shadow-lg); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 0%, rgba(34,203,246,.28), transparent 60%), radial-gradient(500px 300px at 10% 100%, rgba(108,92,231,.24), transparent 60%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c3d6ec; max-width: 54ch; margin-left: auto; margin-right: auto; }
.cta-band .hero__cta { justify-content: center; margin-top: 26px; }

/* ---------- Metric / callout cards ---------- */
.mini-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.mini { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-sm); }
.mini .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(18,169,232,.1); color: var(--brand-2); display: grid; place-items: center; margin-bottom: 16px; }
.mini h4 { font-size: 1.05rem; margin-bottom: 6px; }
.mini p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---------- Values grid ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value { display: flex; gap: 18px; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.value .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; flex: none; }
.value h4 { margin: 0 0 5px; font-size: 1.08rem; }
.value p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .88rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(18,169,232,.14); }
.field textarea { resize: vertical; min-height: 130px; }
.contact-info { display: grid; gap: 14px; }
.contact-info .row { display: flex; gap: 15px; align-items: flex-start; padding: 20px; border-radius: var(--r); background: var(--bg-alt); border: 1px solid var(--line); }
.contact-info .row .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; flex: none; }
.contact-info .row b { font-family: var(--font-display); display: block; margin-bottom: 2px; }
.contact-info .row a, .contact-info .row span { color: var(--ink-soft); }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 10px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + 64px) 0 60px; background: var(--grad-deep); color: #cfe0f2; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 0%, rgba(34,203,246,.2), transparent 60%); }
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #bcd0e8; max-width: 60ch; }
.breadcrumb { font-size: .84rem; color: #8fa7c4; margin-bottom: 18px; }
.breadcrumb a { color: var(--brand-cyan); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); color: #9fb3cc; padding: 66px 0 30px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 42px; border-bottom: 1px solid var(--line-deep); }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { margin: 18px 0 20px; max-width: 34ch; color: #90a6c1; font-size: .96rem; }
.footer h5 { font-family: var(--font-display); color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer a { color: #9fb3cc; font-size: .96rem; }
.footer a:hover { color: var(--brand-cyan); }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-deep); display: grid; place-items: center; color: #cfe0f2; }
.footer__social a:hover { background: var(--grad-brand); border-color: transparent; color: #fff; }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; font-size: .88rem; color: #7d93af; flex-wrap: wrap; }
.footer__bottom a { color: #9fb3cc; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__medusa, .hero__orb, .hero__card { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: 320px; order: -1; margin-bottom: 10px; }
  .hero__medusa { width: 200px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .split--rev .split__media { order: 0; }
  .cards, .pillars, .mini-cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .statband { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 4px; background: #fff; padding: 18px 24px 26px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .3s ease; z-index: 90;
  }
  .nav__links.open { display: flex; transform: translateY(0); }
  .nav__links a { padding: 10px 0; width: 100%; font-size: 1.05rem; }
  .nav__links .btn { display: inline-flex; margin-top: 8px; }
  .cards, .pillars, .mini-cards, .values { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; }
  .hero__card { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .footer__top { grid-template-columns: 1fr; }
  .statband { grid-template-columns: 1fr; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { width: 100%; }
}
