/* =========================================================
   HermesGo landing page - modern, mobile-first
   ========================================================= */

:root {
  --bg: #070713;
  --bg-2: #0b0b1d;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text: #eef1fa;
  --muted: #a4adc4;
  --primary: #00f7ff;
  --primary-dark: #00c4cc;
  --accent: #8b5cf6;
  --good: #34d399;
  --danger: #ff6b6b;
  --grad: linear-gradient(135deg, #00f7ff 0%, #8b5cf6 100%);
  --grad-soft: linear-gradient(135deg, rgba(0, 247, 255, 0.16), rgba(139, 92, 246, 0.16));
  --radius: 20px;
  --radius-sm: 12px;
  --gutter: clamp(18px, 4.5vw, 36px);
  --section-y: clamp(64px, 9vw, 112px);
  --nav-h: 68px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(900px 500px at 12% -5%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(800px 500px at 95% 8%, rgba(0, 247, 255, 0.12), transparent 60%);
  background-repeat: no-repeat;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 750; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--primary); color: #04141a; padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.025) 20%, rgba(255, 255, 255, 0.025) 80%, transparent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }

.section-head { max-width: 680px; margin: 0 auto clamp(36px, 6vw, 64px); text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); margin: 14px 0 14px; }
.section-head p { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.12rem); }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--grad); color: #04141a; box-shadow: 0 10px 30px -10px rgba(0, 247, 255, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(0, 247, 255, 0.7); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--primary); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }

/* ---------- Top bar ---------- */
.topbar { background: rgba(0, 0, 0, 0.35); border-bottom: 1px solid var(--border); font-size: 0.85rem; color: var(--muted); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; transition: color 0.2s; }
.topbar a:hover { color: var(--primary); }
.topbar i { color: var(--primary); font-size: 0.8rem; }
.topbar .tagline { display: none; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 7, 19, 0.6);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-scrolled { background: rgba(7, 7, 19, 0.88); border-color: var(--border); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0.04em; font-size: 1.15rem; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a { padding: 10px 14px; border-radius: 999px; font-size: 0.92rem; font-weight: 550; color: var(--muted); transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.is-active { color: var(--text); background: var(--surface-2); }
.nav-cta { display: none; }
.menu-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; font-size: 1.15rem;
}

.drawer-backdrop { position: fixed; inset: 0; z-index: 150; background: rgba(2, 2, 10, 0.65); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s linear 0.3s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 160; width: min(88vw, 360px);
  background: var(--bg-2); border-left: 1px solid var(--border);
  padding: 18px 22px 28px; display: flex; flex-direction: column; gap: 22px;
  transform: translateX(100%); visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.35s;
  overflow-y: auto;
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.drawer nav a { display: block; padding: 15px 4px; font-size: 1.15rem; font-weight: 600; border-bottom: 1px solid var(--border); }
.drawer nav a:hover, .drawer nav a.is-active { color: var(--primary); }
.drawer .drawer-contact { margin-top: auto; display: grid; gap: 10px; color: var(--muted); font-size: 0.95rem; }
.drawer .drawer-contact a { display: flex; align-items: center; gap: 10px; }
.drawer .drawer-contact i { color: var(--primary); width: 18px; text-align: center; }
body.menu-open { overflow: hidden; }
body.menu-open .drawer { transform: none; visibility: visible; transition-delay: 0s; }
body.menu-open .drawer-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 7vw, 96px) clamp(48px, 8vw, 110px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.hero .container { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 6vw, 64px); align-items: center; }
.hero-copy, .mock { min-width: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; margin-bottom: 22px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 999px;
  font-size: 0.84rem; font-weight: 600; color: var(--muted);
}
.badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero h1 { font-size: clamp(2.3rem, 7.2vw, 4.4rem); line-height: 1.04; letter-spacing: -0.035em; }
.hero .lead { margin-top: 22px; max-width: 580px; color: var(--muted); font-size: clamp(1.02rem, 2.2vw, 1.2rem); }
.hero-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 40px; max-width: 560px; }
.stat { padding: 16px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.stat strong { display: block; font-size: clamp(1.4rem, 4.5vw, 2rem); letter-spacing: -0.02em; line-height: 1.1; }
.stat span { display: block; margin-top: 4px; font-size: 0.78rem; color: var(--muted); line-height: 1.35; }

/* Hero product mock */
.mock { position: relative; width: 100%; max-width: 560px; margin-inline: auto; }
.mock::before { content: ""; position: absolute; inset: -8% -6%; background: var(--grad-soft); filter: blur(60px); z-index: -1; border-radius: 50%; }
.mock-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border-strong); border-radius: 22px; box-shadow: var(--shadow);
  overflow: hidden; backdrop-filter: blur(14px);
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.mock-bar b { margin-left: 10px; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.mock-map { position: relative; aspect-ratio: 16 / 10; background:
  radial-gradient(circle at 30% 40%, rgba(0, 247, 255, 0.12), transparent 50%),
  linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 100% 32px,
  linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 32px 100%;
}
.mock-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route { fill: none; stroke: url(#routeGrad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 8 10; animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -360; } }
.pin { fill: var(--primary); }
.pin-ring { fill: none; stroke: var(--primary); stroke-opacity: 0.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(0.5); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.mock-rows { padding: 8px 10px 12px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.mock-row { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 11px 12px; border-radius: 12px; font-size: 0.85rem; }
.mock-row:nth-child(odd) { background: rgba(255, 255, 255, 0.03); }
.mock-row .av { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-soft); color: var(--primary); font-size: 0.8rem; }
.mock-row .who { flex: 1; min-width: 0; }
.mock-row .who b { display: block; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row .who small { color: var(--muted); font-size: 0.74rem; }
.chip { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; }
.chip.ok { background: rgba(52, 211, 153, 0.16); color: var(--good); }
.chip.go { background: rgba(0, 247, 255, 0.14); color: var(--primary); }
.chip.wait { background: rgba(139, 92, 246, 0.2); color: #c4b0ff; }
.float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; font-size: 0.8rem;
  background: rgba(14, 14, 32, 0.92); border: 1px solid var(--border-strong); box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite;
}
.float i { color: var(--primary); }
.float b { display: block; font-size: 0.95rem; line-height: 1.1; }
.float small { color: var(--muted); font-size: 0.7rem; }
.float--a { top: -14px; right: 8px; }
.float--b { display: none; bottom: 54px; left: -8px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Cards ---------- */
.card {
  position: relative; padding: clamp(22px, 3vw, 30px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0, 247, 255, 0.35); background: var(--surface-2); }
.icon-tile {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad-soft); border: 1px solid rgba(0, 247, 255, 0.25); color: var(--primary); font-size: 1.2rem;
}
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.97rem; }

.grid { display: grid; gap: 16px; }
.grid-features, .grid-perks, .grid-industries { grid-template-columns: minmax(0, 1fr); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.step { position: relative; padding: clamp(24px, 3vw, 32px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step-num {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad); color: #04141a; font-weight: 800; font-size: 1.15rem;
}
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--muted); }
.step p + p { margin-top: 10px; font-size: 0.93rem; }
.step p + p::before { content: "\2713\00a0"; color: var(--primary); font-weight: 800; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 340px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 18px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.quotes::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 3vw, 30px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.quote .stars { color: #fbbf24; letter-spacing: 3px; font-size: 0.85rem; }
.quote blockquote { margin: 0; font-size: 1.02rem; color: #dfe4f3; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 14px; min-width: 0; }
.quote figcaption > span:last-child { min-width: 0; }
.avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.95rem; color: #04141a; background: var(--grad); }
.quote figcaption b { display: block; font-size: 0.98rem; color: var(--text); }
.quote figcaption > span:last-child > span { color: var(--muted); font-size: 0.85rem; display: block; line-height: 1.4; }

/* ---------- Drive ---------- */
.drive { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.req { padding: clamp(24px, 3.4vw, 36px); border-radius: var(--radius); background: var(--grad-soft); border: 1px solid rgba(0, 247, 255, 0.28); }
.req h3 { font-size: 1.3rem; margin-bottom: 18px; }
.req ul { display: grid; gap: 14px; margin-bottom: 26px; }
.req li { display: flex; align-items: center; gap: 12px; }
.req li i { color: var(--primary); }

/* ---------- CTA ---------- */
.cta-panel {
  position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 7vw, 80px) clamp(22px, 5vw, 60px);
  border-radius: 28px; border: 1px solid var(--border-strong);
  background: radial-gradient(600px 300px at 15% 0%, rgba(0, 247, 255, 0.22), transparent 60%), radial-gradient(600px 300px at 90% 100%, rgba(139, 92, 246, 0.3), transparent 60%), var(--bg-2);
}
.cta-panel h2 { font-size: clamp(1.8rem, 4.8vw, 3rem); margin-bottom: 16px; }
.cta-panel p { max-width: 560px; margin: 0 auto 30px; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.15rem); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.form-card, .info-card { padding: clamp(22px, 3.4vw, 36px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.form-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.88rem; font-weight: 600; }
.field label .req-mark { color: var(--primary); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; font: inherit; font-size: 1rem; /* 16px stops iOS zoom */
  color: var(--text); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-strong); border-radius: 14px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #75809b; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: rgba(0, 247, 255, 0.05); box-shadow: 0 0 0 4px rgba(0, 247, 255, 0.15); }
.field input:user-invalid { border-color: var(--danger); }
.form-status { min-height: 1.5em; margin-top: 16px; font-weight: 600; font-size: 0.95rem; }
.form-status.ok { color: var(--good); }
.form-status.err { color: var(--danger); }
.info-card h3 { font-size: 1.3rem; margin-bottom: 22px; }
.info-item { display: flex; gap: 16px; padding-block: 16px; border-top: 1px solid var(--border); }
.info-item:first-of-type { border-top: 0; padding-top: 0; }
.info-item i { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: var(--grad-soft); color: var(--primary); }
.info-item h4 { font-size: 0.95rem; margin-bottom: 2px; }
.info-item p, .info-item a { color: var(--muted); font-size: 0.95rem; }
.info-item a:hover { color: var(--primary); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: rgba(0, 0, 0, 0.3); padding-top: clamp(44px, 7vw, 72px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; padding-bottom: 40px; }
.footer .brand { margin-bottom: 14px; }
.footer p { color: var(--muted); max-width: 380px; font-size: 0.95rem; }
.footer h4 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.footer li a { display: inline-block; padding: 6px 0; color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.footer li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 22px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 0.85rem; }
.footer-bottom a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Video dialog ---------- */
.video-dialog { width: min(94vw, 960px); padding: 0; border: 1px solid var(--border-strong); border-radius: 20px; background: #000; color: var(--text); overflow: visible; }
.video-dialog::backdrop { background: rgba(2, 2, 10, 0.82); backdrop-filter: blur(6px); }
.video-dialog video { width: 100%; max-height: 82vh; border-radius: 20px; background: #000; }
.video-close { position: absolute; top: -18px; right: -6px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--bg-2); cursor: pointer; font-size: 1rem; z-index: 2; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Tablet & up ---------- */
@media (min-width: 640px) {
  .float--b { display: flex; }
  .topbar .tagline { display: inline; }
  .hero-cta { flex-direction: row; flex-wrap: wrap; }
  .grid-features, .grid-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
  .quotes { grid-auto-columns: min(60vw, 420px); }
}

@media (min-width: 900px) {
  .contact { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 47px; left: calc(46px + 38px); right: -16px; height: 2px; background: linear-gradient(90deg, rgba(0, 247, 255, 0.5), transparent); }
  .drive { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: stretch; }
  .footer-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.2fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1000px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-btn { display: none; }
  .hero .container { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .grid-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-perks { grid-template-columns: minmax(0, 1fr); }
  .grid-industries { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; padding: 0; margin: 0; }
}

@media (min-width: 1280px) {
  :root { --nav-h: 76px; }
}

/* Very small phones */
@media (max-width: 360px) {
  .stat strong { font-size: 1.25rem; }
  .stat span { font-size: 0.72rem; }
  .brand { font-size: 1.02rem; }
  .brand img { width: 36px; height: 36px; }
  .badge { font-size: 0.78rem; }
}

/* Phones */
@media (max-width: 420px) {
  .topbar .container { justify-content: center; }
  .topbar .mail { display: none; }
  .hero-stats { gap: 8px; }
  .stat { padding: 14px 10px; }
  .float--b { left: 4px; }
  .float--a { right: 4px; }
  .btn { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
