/* =====================================================================
   Vyroweb — Cannabis SEO & Local SEO Specialists
   Shared design system
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette — Vyroweb brand purple (from logo) */
  --navy: #380D6F;        /* deep brand purple (logo wordmark) */
  --navy-800: #4C1D95;
  --navy-700: #5B21B6;
  --blue: #6D28D9;        /* royal violet — links, icons, secondary */
  --blue-600: #6D28D9;
  --blue-700: #5B21B6;
  --blue-50: #EDE9FE;
  --emerald: #7C3AED;     /* vivid violet — primary CTA */
  --emerald-600: #6D28D9;
  --emerald-50: #F5F3FF;
  --violet-light: #9169E4; /* logo gradient top */
  --white: #FFFFFF;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --text: #1E293B;
  --text-muted: #64748B;
  --border: #E2E8F0;

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

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);
  --shadow-glow: 0 20px 60px rgba(124, 58, 237, 0.22);

  /* Layout */
  --maxw: 1200px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); font-weight: 800; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-tint { background: var(--slate-50); }
.section-navy { background: var(--navy); color: #CBD5E1; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue);
  background: var(--blue-50); padding: 6px 14px; border-radius: var(--r-full);
  margin-bottom: 20px;
}
.section-navy .eyebrow { background: rgba(37,99,235,0.18); color: #93C5FD; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 16px; }
.section-head p { font-size: 18px; color: var(--text-muted); }
.section-navy .section-head p { color: #94A3B8; }

.text-emerald { color: var(--emerald-600); }
.text-blue { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; line-height: 1;
  padding: 14px 24px; border-radius: var(--r-md);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid rgba(37,99,235,.4); outline-offset: 2px; }
.btn-primary { background: var(--emerald); color: #fff; box-shadow: 0 6px 18px rgba(124,58,237,.32); }
.btn-primary:hover { background: var(--emerald-600); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(124,58,237,.40); }
.btn-secondary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(109,40,217,.26); }
.btn-secondary:hover { background: var(--blue-700); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--slate-400); transform: translateY(-2px); }
.btn-outline-light { background: rgba(255,255,255,.06); color: #fff; border: 1.5px solid rgba(255,255,255,.25); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); }
.btn-lg { padding: 18px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--navy); letter-spacing: -0.03em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--violet-light), var(--navy));
  display: grid; place-items: center; color: #fff; font-size: 18px; font-weight: 800;
}
.brand span { color: var(--emerald); }
.brand-logo { height: 38px; width: auto; display: block; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li > a, .nav-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 15px; color: var(--navy-700);
  transition: color .15s, background .15s;
}
.nav-menu > li > a:hover, .nav-trigger:hover { color: var(--blue); background: var(--slate-50); }
.nav-menu a.active { color: var(--blue); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 8px; min-width: 240px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: var(--r-sm); transition: background .15s; }
.dropdown a:hover { background: var(--slate-50); }
.dropdown a strong { font-size: 14px; color: var(--navy); font-weight: 700; }
.dropdown a small { font-size: 12px; color: var(--text-muted); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px auto; 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; overflow: hidden; padding: 80px 0 96px; background: var(--navy); color: #CBD5E1; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(145,105,228,.40), transparent 60%),
    radial-gradient(50% 50% at 10% 100%, rgba(124,58,237,.30), transparent 60%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #C4B5FD; background: rgba(145,105,228,.16);
  border: 1px solid rgba(145,105,228,.38);
  padding: 7px 16px; border-radius: var(--r-full); margin-bottom: 24px;
}
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; margin-bottom: 22px; }
.hero h1 .hl { background: linear-gradient(120deg, #C4B5FD, #9169E4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 19px; color: #94A3B8; max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.hero-badge { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #CBD5E1; font-weight: 600; }
.hero-badge svg { color: var(--emerald); flex: none; }

/* Hero visual card */
.hero-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-glow);
  backdrop-filter: blur(8px);
}
.hero-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.hero-card-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(124,58,237,.22); }
.hero-card-title { font-size: 14px; color: #94A3B8; font-weight: 600; }
.hero-metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.hero-metric { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-md); padding: 16px; }
.hero-metric .v { font-size: 28px; font-weight: 800; color: #fff; }
.hero-metric .v.up { color: #C4B5FD; }
.hero-metric .l { font-size: 12px; color: #94A3B8; margin-top: 4px; }
.hero-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; padding-top: 8px; }
.hero-bars i { flex: 1; background: linear-gradient(180deg, #A78BFA, #7C3AED); border-radius: 5px 5px 0 0; display: block; opacity: .95; }

/* ---------- Cards / 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); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--slate-300); }
.card-icon {
  width: 48px; height: 48px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue); margin-bottom: 18px;
}
.card-icon.emerald { background: var(--emerald-50); color: var(--emerald-600); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 15px; }

/* Service card */
.service-card { display: flex; flex-direction: column; position: relative; }
.service-card .arrow { margin-top: auto; padding-top: 18px; color: var(--blue); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.service-card:hover .arrow { gap: 10px; }

/* ---------- Process timeline ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--emerald)); opacity: .25; }
.step { text-align: center; position: relative; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--emerald)); box-shadow: var(--shadow-md);
  position: relative; z-index: 1;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14px; }

/* ---------- Case studies ---------- */
.case-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-head { padding: 22px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.case-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--emerald-600); background: var(--emerald-50); padding: 5px 12px; border-radius: var(--r-full); }
.case-body { padding: 24px; }
.case-body h3 { font-size: 18px; margin-bottom: 16px; }
.case-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.metric { text-align: center; padding: 14px 8px; background: var(--slate-50); border-radius: var(--r-md); }
.metric .v { font-size: 26px; font-weight: 800; color: var(--emerald-600); line-height: 1; }
.metric .l { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ---------- Industries ---------- */
.industry-pill {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  font-weight: 600; color: var(--navy); transition: border-color .2s, transform .2s;
}
.industry-pill:hover { border-color: var(--blue); transform: translateY(-2px); }
.industry-pill .ic { width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; }

/* ---------- Testimonials ---------- */
.t-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; height: 100%; display: flex; flex-direction: column; }
.t-stars { color: #F59E0B; margin-bottom: 14px; letter-spacing: 2px; }
.t-card blockquote { font-size: 16px; color: var(--text); margin-bottom: 22px; flex: 1; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--emerald)); color: #fff; display: grid; place-items: center; font-weight: 700; }
.t-author .n { font-weight: 700; font-size: 15px; color: var(--navy); }
.t-author .r { font-size: 13px; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-weight: 700; font-size: 16px; color: var(--navy); }
.faq-q .pm { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-size: 18px; transition: transform .25s, background .2s; }
.faq-item.open .pm { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); border-radius: var(--r-xl); padding: 64px 48px; text-align: center; color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, rgba(145,105,228,.45), transparent 60%), radial-gradient(50% 60% at 50% 120%, rgba(124,58,237,.32), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.cta-band p { color: #94A3B8; font-size: 18px; max-width: 560px; margin: 0 auto 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Lists ---------- */
.check-list li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; color: var(--text); }
.check-list li svg { color: var(--emerald-600); flex: none; margin-top: 3px; }
.check-list li strong { color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #94A3B8; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.footer-about p { font-size: 14px; color: #94A3B8; max-width: 300px; margin-bottom: 20px; }
.footer-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; font-weight: 700; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { font-size: 14px; color: #94A3B8; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin-bottom: 14px; }
.footer-contact svg { color: var(--emerald); flex: none; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: var(--r-sm); background: rgba(255,255,255,.06); display: grid; place-items: center; color: #CBD5E1; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; font-size: 13px; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { color: #94A3B8; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 36px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 7px; }
.field label .req { color: var(--emerald-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-family: inherit; font-size: 15px; color: var(--text);
  background: var(--slate-50); border: 1.5px solid var(--border); border-radius: var(--r-sm);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 13px; color: var(--text-muted); margin-top: 14px; text-align: center; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }
.form-success .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--emerald-50); color: var(--emerald-600); display: grid; place-items: center; margin: 0 auto 18px; }

/* ---------- Trust strip ---------- */
.trust-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 40px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--slate-600); font-size: 15px; }
.trust-item svg { color: var(--blue); }

/* ---------- Two-col feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(28px, 3.5vw, 38px); margin-bottom: 18px; }
.split p.lead { font-size: 18px; color: var(--text-muted); margin-bottom: 24px; }
.media-card { background: linear-gradient(135deg, var(--slate-50), #fff); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-sm); }

/* ---------- Deliverables grid ---------- */
.deliverable { display: flex; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); }
.deliverable .ic { width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--emerald-50); color: var(--emerald-600); display: grid; place-items: center; flex: none; }
.deliverable h4 { font-size: 16px; margin-bottom: 5px; color: var(--navy); }
.deliverable p { font-size: 14px; color: var(--text-muted); }

/* ---------- Prose (long content) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin: 44px 0 16px; }
.prose h3 { font-size: 22px; margin: 32px 0 12px; }
.prose p { margin-bottom: 18px; color: var(--slate-600); font-size: 17px; }
.prose ul { margin: 0 0 18px; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--slate-600); }
.prose ul li::before { content: ""; position: absolute; left: 6px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); }
.prose strong { color: var(--navy); }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(15,23,42,.06); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile nav panel ---------- */
.mobile-panel { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 460px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process::before { display: none; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .nav-menu, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .case-metrics { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .process { grid-template-columns: 1fr; }
  .process[style*="repeat(5"] { grid-template-columns: 1fr !important; }
  .form-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-band { padding: 48px 24px; }
  .mobile-cta { display: block; }
  body.has-mcta { padding-bottom: 76px; }

  /* Mobile nav panel */
  .mobile-panel {
    display: block; position: fixed; inset: var(--header-h) 0 0; z-index: 99;
    background: #fff; padding: 24px; transform: translateX(100%);
    transition: transform .3s ease; overflow-y: auto;
  }
  .mobile-panel.open { transform: none; }
  .mobile-panel a:not(.btn) { display: block; padding: 14px 12px; font-weight: 600; font-size: 17px; color: var(--navy); border-bottom: 1px solid var(--border); }
  .mobile-panel .sub a { padding-left: 24px; font-size: 15px; color: var(--slate-600); font-weight: 500; }
  .mobile-panel .m-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-400); padding: 18px 12px 6px; font-weight: 700; }
  .mobile-panel .btn { width: 100%; margin-top: 20px; color: #fff; border-bottom: none; }
}

@media (max-width: 480px) {
  .hero-metric-row { grid-template-columns: 1fr; }
}

/* Blog / About inline two-col grids collapse on smaller screens */
@media (max-width: 900px) {
  [style*="grid-template-columns:1fr 320px"],
  [style*="grid-template-columns:1.1fr 1fr"],
  [style*="grid-template-columns:1.05fr"] { grid-template-columns: 1fr !important; }
}
/* 5-step About timeline: 2 columns on tablet, 1 column on phone */
@media (min-width: 761px) and (max-width: 900px) {
  .process[style*="repeat(5"] { grid-template-columns: repeat(2, 1fr) !important; }
}

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