/* ============================================
   Varsity Grind — Agency Website Styles
   ============================================ */

:root {
  /* Colors */
  --color-primary: #0f1e3d;        /* Deep navy */
  --color-primary-dark: #0a1530;
  --color-charcoal: #1a1f2e;
  --color-accent: #f4b400;         /* Gold */
  --color-accent-dark: #d99a00;
  --color-success: #2e8b57;        /* Soft green */
  --color-success-light: #e8f5ee;
  --color-white: #ffffff;
  --color-bg: #ffffff;
  --color-bg-alt: #eef0f5;         /* Slightly darker section bg */
  --color-bg-dark: #0f1e3d;

  /* Card surfaces — new darker palette */
  --color-card: #101d38;           /* Dark navy card surface */
  --color-card-alt: #17264a;       /* Elevated dark card */
  --color-card-soft: #f3f5fa;      /* Soft neutral card (for light sections) */

  /* Borders — stronger contrast */
  --color-border: #c9cfdb;         /* Darker neutral border */
  --color-border-strong: #0f1e3d;  /* Heavy outline (navy) */
  --color-border-dark: rgba(255, 255, 255, 0.12);

  --color-text: #1a1f2e;
  --color-text-muted: #5a6472;
  --color-text-light: #8a94a6;
  --color-text-on-dark: #ffffff;
  --color-text-on-dark-muted: rgba(255, 255, 255, 0.78);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* Shadows — deeper for stronger depth */
  --shadow-sm: 0 2px 8px rgba(15, 30, 61, 0.12);
  --shadow-md: 0 10px 28px rgba(15, 30, 61, 0.18);
  --shadow-lg: 0 24px 55px rgba(15, 30, 61, 0.28);
  --shadow-gold: 0 12px 34px rgba(244, 180, 0, 0.35);
  --shadow-dark: 0 14px 40px rgba(10, 21, 48, 0.45);

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --transition: 0.25s ease;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
h4 { font-size: 1.05rem; }

p { color: var(--color-text-muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  background: rgba(244, 180, 0, 0.12);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: var(--space-2xl) 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-xl);
}

.section-head p {
  margin-top: var(--space-sm);
  font-size: 1.05rem;
}

.bg-alt { background: var(--color-bg-alt); }
.bg-dark {
  background: var(--color-primary);
  color: var(--color-white);
}
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: var(--color-white); }
.bg-dark p { color: rgba(255, 255, 255, 0.75); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(244, 180, 0, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.bg-dark .btn-secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}
.bg-dark .btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-ghost {
  color: var(--color-primary);
  padding: 0.6rem 1rem;
}
.btn-ghost:hover { color: var(--color-accent-dark); }

.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-charcoal));
  display: grid;
  place-items: center;
  color: var(--color-accent);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent-dark);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.nav-cta {
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.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 {
  padding: var(--space-xl) 0 var(--space-2xl);
  background: linear-gradient(180deg, #fbfbfd 0%, var(--color-white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244, 180, 0, 0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 1.2rem;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
}

.hero-trust::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 700;
}

/* Hero visual mockup */
.hero-visual {
  position: relative;
  min-height: 520px;
}

.phone-mockup {
  width: 260px;
  background: var(--color-primary);
  border-radius: 36px;
  padding: 14px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}
.phone-screen {
  background: var(--color-white);
  border-radius: 24px;
  padding: 1.25rem 1rem;
  min-height: 440px;
}
.phone-logo {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 10px;
  margin-bottom: 0.75rem;
}
.phone-screen h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.phone-screen .muted {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.85rem;
}
.reward-badge {
  background: linear-gradient(135deg, #fff6d6, #ffe587);
  border: 1px dashed var(--color-accent-dark);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  text-align: center;
  margin-bottom: 0.85rem;
}
.reward-badge .amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
}
.reward-badge .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}
.fake-input {
  background: var(--color-bg-alt);
  border-radius: 8px;
  height: 30px;
  margin-bottom: 0.5rem;
}
.fake-btn {
  background: var(--color-primary);
  color: var(--color-accent);
  text-align: center;
  padding: 0.55rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.4rem;
}

/* Receipt card */
.receipt-card {
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 200px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  z-index: 3;
  transform: rotate(-5deg);
}
.receipt-card .r-title {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.receipt-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  padding: 0.2rem 0;
  border-bottom: 1px dashed var(--color-border);
}
.receipt-line:last-of-type { border-bottom: none; }
.qr-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--color-border);
}
.qr-square {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  border-radius: 6px;
  background-image:
    linear-gradient(90deg, transparent 50%, var(--color-accent) 50%),
    linear-gradient(var(--color-accent) 50%, transparent 50%);
  background-size: 6px 6px, 6px 6px;
  background-blend-mode: overlay;
  flex-shrink: 0;
}
.qr-box small {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.flow-chip {
  position: absolute;
  right: 0;
  top: 40px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
}
.flow-chip .dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.2);
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
}
.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: linear-gradient(160deg, var(--color-card) 0%, var(--color-card-alt) 100%);
  border: 2px solid var(--color-primary-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  color: var(--color-text-on-dark);
  position: relative;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(244, 180, 0, 0.08);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-dark);
  border-color: var(--color-accent);
}
.card h3 {
  color: var(--color-text-on-dark);
  margin-bottom: 0.5rem;
}
.card p {
  font-size: 0.95rem;
  color: var(--color-text-on-dark-muted);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(244, 180, 0, 0.18);
  border: 1px solid rgba(244, 180, 0, 0.35);
  color: var(--color-accent);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.card-icon svg { width: 24px; height: 24px; }

/* Comparison cards */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.compare-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border-strong);
  box-shadow: var(--shadow-md);
}
.compare-card.old {
  background: var(--color-card-soft);
  border-color: #9aa3b5;
}
.compare-card.new {
  background: linear-gradient(135deg, #0a1530, #17264a);
  color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-dark);
}
.compare-card.new h3 { color: var(--color-white); }
.compare-card h3 { margin-bottom: 1rem; font-size: 1.15rem; }
.compare-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.compare-flow .chip {
  background: rgba(15, 30, 61, 0.08);
  border: 1px solid rgba(15, 30, 61, 0.18);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary);
}
.compare-card.new .chip {
  background: rgba(244, 180, 0, 0.22);
  border-color: rgba(244, 180, 0, 0.5);
  color: var(--color-accent);
}
.compare-flow .arrow {
  color: var(--color-text-muted);
  font-weight: 700;
}
.compare-card.new .arrow { color: var(--color-accent); }

/* Step cards */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  background: linear-gradient(160deg, var(--color-card) 0%, var(--color-card-alt) 100%);
  border: 2px solid var(--color-primary-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: all var(--transition);
  color: var(--color-text-on-dark);
  box-shadow: var(--shadow-md);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-dark);
  border-color: var(--color-accent);
}
.step-num {
  counter-increment: step;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 800;
  margin-bottom: 1rem;
  border: 2px solid var(--color-accent-dark);
  box-shadow: 0 4px 12px rgba(244, 180, 0, 0.35);
}
.step-num::before { content: counter(step); }
.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--color-text-on-dark);
}
.step p {
  font-size: 0.9rem;
  color: var(--color-text-on-dark-muted);
}

/* Industry / Use-case grid */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
}
.chip-card {
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.chip-card:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.chip-card:hover .ico {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}
.chip-card .ico {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(244, 180, 0, 0.18);
  border: 1px solid rgba(244, 180, 0, 0.4);
  color: var(--color-accent-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.chip-card .ico svg { width: 18px; height: 18px; }

/* Tiered / Package cards */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.tier {
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.tier:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}
.tier.featured {
  background: linear-gradient(160deg, var(--color-card) 0%, var(--color-card-alt) 100%);
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-dark);
  color: var(--color-text-on-dark);
}
.tier.featured h3,
.tier.featured .price { color: var(--color-white); }
.tier.featured .tier-desc { color: var(--color-text-on-dark-muted); }
.tier.featured .price {
  border-top-color: rgba(255, 255, 255, 0.15);
  border-bottom-color: rgba(255, 255, 255, 0.15);
}
.tier.featured .price span { color: var(--color-text-on-dark-muted); }
.tier.featured .feature-list li { color: var(--color-text-on-dark); }
.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.tier h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.tier .tier-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  min-height: 44px;
  margin-bottom: 1.25rem;
}
.tier .price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 1rem 0;
  border-top: 2px solid var(--color-border);
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 1.25rem;
}
.tier .price span {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 0.15rem;
}
.feature-list {
  margin-bottom: 1.5rem;
  flex: 1;
}
.feature-list li {
  padding: 0.45rem 0 0.45rem 1.75rem;
  position: relative;
  font-size: 0.92rem;
  color: var(--color-text);
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-success-light);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%232e8b57'><path d='M7.5 13.5l-3-3 1.5-1.5L7.5 10.5l6-6 1.5 1.5-7.5 7.5z'/></svg>");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Start simple columns */
.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.column {
  background: linear-gradient(160deg, var(--color-card) 0%, var(--color-card-alt) 100%);
  border: 2px solid var(--color-primary-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--color-text-on-dark);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.column:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-dark);
  transform: translateY(-3px);
}
.column h3 {
  font-size: 1.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--color-white);
}
.column .feature-list li { color: var(--color-text-on-dark); }

/* Journey flow */
.journey {
  max-width: 700px;
  margin: 0 auto;
}
.journey-step {
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  text-align: center;
  font-weight: 600;
  color: var(--color-primary);
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.journey-step:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}
.journey-arrow {
  display: grid;
  place-items: center;
  color: var(--color-accent);
  font-size: 1.4rem;
  padding: 0.5rem 0;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.faq-item:hover {
  border-color: var(--color-accent-dark);
}
.faq-item.active {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.15rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1rem;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  display: grid;
  place-items: center;
  color: var(--color-accent);
  font-weight: 700;
  transition: var(--transition);
}
.faq-item.active .faq-q .plus {
  background: var(--color-accent);
  border-color: var(--color-accent-dark);
  color: var(--color-primary);
  transform: rotate(45deg);
}
/* FAQ answer — uses CSS Grid's grid-template-rows trick.
   This is more reliable than max-height because it doesn't depend
   on JS measuring scrollHeight (which can fail if the element is
   hidden, has transforms applied, or hasn't painted yet). */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-a > .faq-a-inner {
  overflow: hidden;
  min-height: 0;
}
.faq-item.active .faq-a {
  grid-template-rows: 1fr;
}
.faq-a-inner {
  padding: 0 1.4rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  transition: padding 0.3s ease;
}
.faq-item.active .faq-a-inner {
  padding: 0 1.4rem 1.25rem;
}

/* Fallback for older browsers that don't support animating grid-template-rows
   (Safari <16, older Edge). Progressive enhancement — still works, just snaps. */
@supports not (grid-template-rows: 0fr) {
  .faq-a {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .faq-item.active .faq-a {
    max-height: 500px;
  }
}

/* ---------- Why Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(160deg, var(--color-card) 0%, var(--color-card-alt) 100%);
  border: 2px solid var(--color-primary-dark);
  border-radius: var(--radius-lg);
  color: var(--color-text-on-dark);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.why-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-dark);
}
.why-item h3 { color: var(--color-white); }
.why-item p { color: var(--color-text-on-dark-muted); }
.why-item .why-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-primary);
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border: 2px solid var(--color-accent-dark);
  box-shadow: 0 6px 16px rgba(244, 180, 0, 0.35);
}
.why-item .why-icon svg { width: 28px; height: 28px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a2a52 100%);
  color: var(--color-white);
  text-align: center;
  padding: var(--space-2xl) 1.5rem;
  border-radius: var(--radius-xl);
  margin: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244, 180, 0, 0.25), transparent 70%);
  border-radius: 50%;
}
.cta-band h2 {
  color: var(--color-white);
  max-width: 700px;
  margin: 0 auto 1rem;
  position: relative;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
}
.cta-band .hero-ctas {
  justify-content: center;
  position: relative;
}

/* ---------- Service hero ---------- */
.service-hero {
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg, #fbfbfd, var(--color-white));
  text-align: center;
}
.service-hero h1 { max-width: 820px; margin: 0 auto 1rem; }
.service-hero p { max-width: 720px; margin: 0 auto 1.75rem; font-size: 1.1rem; }
.service-hero .hero-ctas { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
  padding: 2.25rem;
}

.form-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-dark);
  margin: 1.75rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px dashed var(--color-border);
}
.form-section-title:first-child { margin-top: 0; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}
.form-group .required { color: #d93025; }

.form-control {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: var(--transition);
}
.form-control:hover { border-color: var(--color-text-light); }
.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(244, 180, 0, 0.2);
}
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

.error-msg {
  color: #d93025;
  font-size: 0.82rem;
  margin-top: 0.3rem;
  display: none;
}
.form-group.has-error .form-control { border-color: #d93025; }
.form-group.has-error .error-msg { display: block; }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
  color: var(--color-text);
}
.check-label:hover {
  border-color: var(--color-primary);
  background: #fffbea;
}
.check-label:has(input:checked) {
  border-color: var(--color-accent);
  background: #fff9e0;
}
.check-label input {
  accent-color: var(--color-accent);
  width: 16px;
  height: 16px;
}
.check-label input:checked + span { font-weight: 600; color: var(--color-primary); }

.form-success {
  display: none;
  background: var(--color-success-light);
  border: 1px solid var(--color-success);
  color: #1e5c3a;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  font-weight: 500;
}
.form-success.visible { display: block; }

/* Contact sidebar */
.contact-sidebar .card { margin-bottom: 1.25rem; }
.next-steps-list {
  counter-reset: nxt;
}
.next-steps-list li {
  padding: 0.6rem 0 0.6rem 2.25rem;
  position: relative;
  counter-increment: nxt;
  font-size: 0.95rem;
  color: var(--color-text-on-dark);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}
.next-steps-list li:last-child { border-bottom: none; }
.next-steps-list li::before {
  content: counter(nxt);
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.82rem;
  border: 2px solid var(--color-accent-dark);
  box-shadow: 0 3px 8px rgba(244, 180, 0, 0.3);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  font-size: 0.95rem;
  color: var(--color-text-on-dark);
}
.contact-method a { color: var(--color-accent); }
.contact-method a:hover { color: #ffd24d; }
.contact-method .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(244, 180, 0, 0.2);
  border: 1px solid rgba(244, 180, 0, 0.4);
  color: var(--color-accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-method .ico svg { width: 18px; height: 18px; }

.social-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  color: var(--color-white);
  transition: var(--transition);
}
.social-row a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px);
}
.social-row svg { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-xl) 0 var(--space-md);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  color: var(--color-white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.footer-col ul li {
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}
.footer-col a { color: rgba(255, 255, 255, 0.7); transition: var(--transition); }
.footer-col a:hover { color: var(--color-accent); }
.footer-tag { font-size: 0.9rem; margin-top: 0.75rem; max-width: 280px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-disclaimer { max-width: 700px; line-height: 1.55; }

/* ---------- Snapshot highlight ---------- */
.snapshot {
  background: linear-gradient(135deg, #0a1530, #17264a);
  color: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.snapshot h3 { color: var(--color-white); font-size: 1.6rem; margin-bottom: 0.75rem; }
.snapshot p { color: rgba(255, 255, 255, 0.82); margin-bottom: 1rem; }
.snapshot ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
}
.snapshot ul li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
}
.snapshot ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}
.snapshot-quote {
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-white);
  margin-top: 1rem;
}

/* ---------- Who for / Who not for ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.audience-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 2px solid var(--color-border-strong);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.audience-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.audience-card.yes {
  background: linear-gradient(160deg, #1a4a30, #0f3320);
  border-color: var(--color-success);
  color: var(--color-white);
}
.audience-card.no  {
  background: linear-gradient(160deg, #4a1a1a, #331010);
  border-color: #d93025;
  color: var(--color-white);
}
.audience-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--color-white);
}
.audience-card ul li {
  padding: 0.4rem 0 0.4rem 1.75rem;
  position: relative;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.92);
}
.audience-card.yes ul li::before {
  content: '✓';
  color: #5ed894;
  font-weight: 800;
  font-size: 1rem;
  position: absolute;
  left: 0.25rem;
  top: 0.4rem;
}
.audience-card.no ul li::before {
  content: '✕';
  color: #ff7566;
  font-weight: 800;
  font-size: 1rem;
  position: absolute;
  left: 0.25rem;
  top: 0.4rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; margin-top: 2rem; }
  .grid-3, .grid-4, .steps, .why-grid, .tier-grid, .columns {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid, .snapshot, .compare-grid, .audience-grid {
    grid-template-columns: 1fr;
  }
  .snapshot ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile nav — trigger hamburger on tablets and phones */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  /* Anchor the menu directly under the header — no hardcoded top value */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-links a.active::after { display: none; }
  .nav-links .nav-cta {
    margin-top: 0.9rem;
    width: 100%;
    text-align: center;
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  section { padding: var(--space-xl) 0; }

  .grid-2, .grid-3, .grid-4, .steps, .why-grid, .tier-grid, .columns, .form-row, .checkbox-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-card { padding: 1.5rem; }
  .hero-visual { min-height: 560px; }
  .receipt-card { left: 10px; }
  .flow-chip { right: 10px; }
  .cta-band { padding: var(--space-xl) 1.25rem; border-radius: var(--radius-lg); }
  .snapshot { padding: 1.75rem; }

  /* Shrink header slightly on phones for more breathing room */
  .nav-inner { padding: 0.75rem 0; }
  .logo { font-size: 1.05rem; }
  .logo-mark { width: 32px; height: 32px; font-size: 0.85rem; }
}
