/* =========================
   Flozzo — Styles
   ========================= */

:root {
  --bg: #070912;
  --bg-elev: #0d1020;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e8ecf6;
  --muted: #8a92ab;
  --primary: #7c5cff;
  --accent: #22d3ee;
  --pink: #ff6ec4;
  --grad: linear-gradient(135deg, #7c5cff 0%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(124,92,255,.18), rgba(34,211,238,.12));
  --glow: 0 0 40px rgba(124, 92, 255, .35);
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --nav-h: 72px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; color: var(--muted); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  background: var(--grad-soft);
  margin-bottom: 16px;
}

/* ---------- Background FX ---------- */
.bg-fx {
  position: fixed; inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 50% -10%, rgba(124,92,255,.25), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(34,211,238,.18), transparent 60%),
              var(--bg);
}
.bg-fx .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}
.orb {
  position: absolute;
  width: 540px; height: 540px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  animation: float 18s ease-in-out infinite;
}
.orb-1 { background: #7c5cff; top: -120px; left: -120px; }
.orb-2 { background: #22d3ee; bottom: -160px; right: -120px; animation-delay: -6s; }
.orb-3 { background: #ff6ec4; top: 40%; left: 55%; width: 380px; height: 380px; opacity:.35; animation-delay: -12s; }
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(40px,-30px) scale(1.06); }
}
#particles { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 9, 18, .75);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.01em;
}
.brand-mark { display: inline-flex; }
.brand-logo { height: 36px; width: auto; display: block; }
.brand-logo-sm { height: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  position: relative;
  font-size: .95rem;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px;
  background: var(--grad); border-radius: 2px;
}
.nav-cta { color: #070912 !important; }
.hamburger {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--border-strong); border-radius: 10px;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.hamburger span {
  width: 18px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn-sm { padding: 10px 16px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--grad);
  color: #070912;
  box-shadow: 0 10px 30px rgba(124,92,255,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(124,92,255,.5); }
.btn-ghost {
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.28);
  transform: translateY(-2px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  display: flex; align-items: center;
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero-title { margin-bottom: 18px; }
.hero-sub { font-size: 1.1rem; max-width: 620px; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 36px; }
.trust {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 32px; flex-wrap: wrap;
}
.trust li { color: var(--muted); font-size: .92rem; }
.trust strong { color: var(--text); font-family: 'Space Grotesk'; font-size: 1.15rem; margin-right: 6px; }

.hero-visual {
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  width: 460px; max-width: 42vw;
  z-index: 1;
  filter: drop-shadow(0 30px 60px rgba(124,92,255,.35));
  animation: floatY 6s ease-in-out infinite;
}
.hero-visual img { width: 100%; height: auto; border-radius: var(--r-lg); }
@keyframes floatY {
  0%,100% { transform: translateY(calc(-50% - 6px)); }
  50%     { transform: translateY(calc(-50% + 6px)); }
}
.panel {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 22px;
  backdrop-filter: blur(14px);
}
.panel-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.panel-row:last-of-type { border-bottom: none; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.d1 { background: #7c5cff; box-shadow: 0 0 12px #7c5cff; }
.d2 { background: #22d3ee; box-shadow: 0 0 12px #22d3ee; }
.d3 { background: #ff6ec4; box-shadow: 0 0 12px #ff6ec4; }
.bar { height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.04)); }
.w55 { width: 55%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.panel-tag {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-size: .8rem; padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34,211,238,.12);
  color: #22d3ee;
  border: 1px solid rgba(34,211,238,.3);
}
.panel-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 10px #22d3ee; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .lead { font-size: 1.08rem; }

/* ---------- Cards / Grids ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.5); box-shadow: var(--glow); }
.icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--grad-soft);
  color: var(--accent);
  margin-bottom: 14px;
  border: 1px solid var(--border-strong);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-row {
  margin-top: 56px;
  background: linear-gradient(135deg, rgba(124,92,255,.1), rgba(34,211,238,.06));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.why-title { margin: 0; }
.why-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px;
  color: var(--text);
}
.why-list li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.why-list span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad);
  color: #070912;
  font-size: .8rem; font-weight: 700;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-card);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  overflow: hidden;
}
.service::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  padding: 1px; background: var(--grad);
  -webkit-mask: linear-gradient(#fff,#fff) content-box, linear-gradient(#fff,#fff);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--glow); }
.service:hover::before { opacity: 1; }
.service-icon {
  font-size: 1.8rem; margin-bottom: 14px;
  width: 52px; height: 52px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
}
.learn { color: var(--accent); font-weight: 600; font-size: .95rem; }
.learn:hover { color: var(--text); }
.service-cta {
  background: linear-gradient(135deg, rgba(124,92,255,.18), rgba(34,211,238,.1));
  display: flex; flex-direction: column; justify-content: center;
}

/* Timeline */
.timeline {
  list-style: none; padding: 0; margin: 0;
  max-width: 820px; margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: ""; position: absolute; left: 30px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--primary), var(--accent), transparent);
  opacity: .5;
}
.timeline li {
  position: relative;
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  padding: 22px 0;
}
.step {
  width: 60px; height: 60px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  font-family: 'Space Grotesk';
  font-weight: 700;
  color: var(--accent);
  position: relative; z-index: 1;
  box-shadow: 0 0 24px rgba(34,211,238,.2);
}
.timeline h3 { margin-bottom: 4px; }

/* Why grid */
.why-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
.tile {
  padding: 24px;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.tile:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.5); box-shadow: 0 0 30px rgba(34,211,238,.25); }
.tile-ico {
  font-size: 1.6rem; margin-bottom: 12px;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
}

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.t-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 26px;
  margin: 0;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.t-card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.45); box-shadow: var(--glow); }
.stars { color: #facc15; letter-spacing: 2px; margin-bottom: 10px; }
.t-card blockquote { margin: 0 0 16px; font-size: 1.02rem; color: var(--text); }
.t-card figcaption { display: flex; align-items: center; gap: 12px; }
.t-card figcaption span { display: block; color: var(--muted); font-size: .85rem; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--g, var(--grad));
  display: inline-flex; align-items: center; justify-content: center;
  color: #070912; font-weight: 700; font-size: .9rem;
  flex: none;
  border: 1px solid var(--border-strong);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.plan h3 { font-size: 1.4rem; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 4px; }
.price .amt { font-family: 'Space Grotesk'; font-size: 2.4rem; font-weight: 700; }
.price .per { color: var(--muted); }
.plan-sub { color: var(--muted); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan ul li { padding: 8px 0; color: var(--muted); border-bottom: 1px dashed var(--border); font-size: .95rem; }
.plan ul li:last-child { border-bottom: none; }

.plan-popular {
  background: linear-gradient(180deg, rgba(124,92,255,.14), rgba(34,211,238,.06));
  border: 1px solid transparent;
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(124,92,255,.25);
}
.plan-popular::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1.5px; background: var(--grad);
  -webkit-mask: linear-gradient(#fff,#fff) content-box, linear-gradient(#fff,#fff);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--grad);
  color: #070912;
  font-weight: 700; font-size: .75rem; letter-spacing: .08em;
  padding: 6px 12px;
  border-radius: 999px;
}

/* FAQ */
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-card);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq details[open] { border-color: rgba(124,92,255,.4); box-shadow: var(--glow); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform .25s;
  font-weight: 400;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 22px 20px; margin: 0; }

/* CTA banner */
.cta-banner {
  padding: 80px 0;
  margin: 40px 0;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(124,92,255,.35), transparent 70%),
    linear-gradient(135deg, rgba(124,92,255,.18), rgba(34,211,238,.14));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-inner h2 { margin-bottom: 10px; }
.cta-inner .hero-cta { justify-content: center; margin: 28px 0 0; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.contact-form { padding: 28px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; margin-bottom: 6px; color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 4px rgba(124,92,255,.18);
}
.field.invalid input, .field.invalid textarea { border-color: #ff6b6b; box-shadow: 0 0 0 4px rgba(255,107,107,.15); }
.err { display: block; min-height: 1em; color: #ff8b8b; font-size: .82rem; margin-top: 4px; }
.form-status { margin: 14px 0 0; font-size: .92rem; }
.form-status.success { color: #6ee7b7; }
.form-status.error   { color: #ff8b8b; }

.contact-side { display: flex; flex-direction: column; gap: 14px; }
.contact-tile {
  display: flex; align-items: center; gap: 14px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.contact-tile:hover { transform: translateY(-2px); border-color: rgba(34,211,238,.4); box-shadow: 0 0 25px rgba(34,211,238,.2); }
.contact-tile-static { cursor: default; }
.contact-tile-static:hover { transform: none; border-color: var(--border); box-shadow: none; }
.contact-tile strong { display: block; }
.contact-tile span { color: var(--muted); font-size: .9rem; }
.contact-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex: none;
}

/* Footer */
.footer { padding: 60px 0 24px; border-top: 1px solid var(--border); margin-top: 40px; background: rgba(7, 9, 18, .6); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.foot-list { list-style: none; padding: 0; margin: 0; }
.foot-list li { margin-bottom: 8px; }
.foot-list a { color: var(--muted); font-size: .92rem; transition: color .2s; }
.foot-list a:hover { color: var(--text); }
.foot-contact { list-style: none; padding: 0; margin: 14px 0 0; }
.foot-contact li { color: var(--muted); font-size: .88rem; margin-bottom: 8px; line-height: 1.5; }
.foot-contact a { color: var(--muted); }
.foot-contact a:hover { color: var(--text); }
.footer h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text); margin-bottom: 16px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  transition: color .2s, border-color .2s, transform .2s;
}
.socials a:hover { color: var(--text); border-color: var(--primary); transform: translateY(-2px); }
.foot-bottom {
  padding-top: 20px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.foot-bottom a { color: var(--muted); }
.foot-bottom a:hover { color: var(--text); }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #070912;
  border: none;
  font-size: 1.2rem; font-weight: 700;
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s, box-shadow .25s;
  z-index: 40;
  box-shadow: 0 10px 30px rgba(124,92,255,.4);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { box-shadow: 0 14px 40px rgba(124,92,255,.6); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan-popular { transform: none; }
  .why-row { grid-template-columns: 1fr; text-align: left; }
  .why-list { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 9, 18, .96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 24px;
    transform: translateY(-110%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { margin-top: 12px; text-align: center; }
  .hamburger { display: inline-flex; }

  .section { padding: 70px 0; }
  .grid-4 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline li { grid-template-columns: 52px 1fr; gap: 16px; }
  .step { width: 50px; height: 50px; }
  .timeline::before { left: 25px; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust { gap: 18px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-visual { animation: none; }
}
