/* ==========================================================================
   JengaFM — Dawn-inspired theme
   ========================================================================== */

:root {
  --color-bg: #F5F7FA;
  --color-surface: #FFFFFF;
  --color-surface-alt: #ECF1F9;
  --color-ink: #131A29;
  --color-ink-soft: #4E5B70;
  --color-ink-faint: #93A0B2;
  --color-navy: #163B87;
  --color-navy-dark: #0A1B42;
  --color-amber: #2F6FED;
  --color-amber-dark: #1A4FCB;
  --color-border: #DFE6F1;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(19, 26, 41, 0.06);
  --shadow-md: 0 8px 24px rgba(19, 26, 41, 0.10);
  --shadow-lg: 0 20px 48px rgba(19, 26, 41, 0.14);
  --container: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
svg { width: 20px; height: 20px; flex-shrink: 0; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--color-ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-amber-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--color-amber);
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-amber); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-amber-dark); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--color-navy); color: #fff; }
.btn-dark:hover { background: var(--color-navy-dark); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.4); color: currentColor; }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-ghost { background: var(--color-surface-alt); color: var(--color-navy); }
.btn-ghost:hover { background: var(--color-border); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* On dark (near-black) sections, invert the primary button so it stays visible */
.hero .btn-primary, .cta-band .btn-primary {
  background: #fff;
  color: var(--color-ink);
}
.hero .btn-primary:hover, .cta-band .btn-primary:hover {
  background: #E1E6E9;
}
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  max-width: 1360px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.15rem; color: var(--color-navy); }
.brand img { height: 76px; width: auto; object-fit: contain; }

.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav a {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--color-ink-soft);
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--color-navy); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-amber);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-email { font-weight: 700; font-size: 0.9rem; color: var(--color-navy); display: flex; align-items: center; gap: 6px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-navy); margin: 5px 0; border-radius: 2px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(79,141,255,0.35) 0%, rgba(79,141,255,0) 70%);
}
.hero .container {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero .eyebrow { color: rgba(255,255,255,0.75); }
.hero .eyebrow::before { background: rgba(255,255,255,0.6); }
.hero h1 { color: #fff; }
.hero p.lead { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  max-width: 520px;
}
.hero-stats div { border-left: 2px solid rgba(255,255,255,0.4); padding-left: 12px; }
.hero-stats strong { display: block; font-size: 1.5rem; color: #fff; }
.hero-stats span { font-size: 0.8rem; color: rgba(255,255,255,0.65); }

.hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.hero-panel h3 { color: #fff; margin-bottom: 16px; }
.hero-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hero-panel li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.05);
  padding: 10px 14px; border-radius: var(--radius-sm);
}
.hero-panel li svg { flex-shrink: 0; color: rgba(255,255,255,0.85); }

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: 88px 0; }
.section-alt { background: var(--color-surface-alt); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

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

/* Generic card */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.icon-badge {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(150deg, #EAF1FF, #D6E4FE);
  border: 1px solid var(--color-border);
  color: var(--color-amber);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge.navy { background: linear-gradient(150deg, #DCE7FE, #BCD1FC); color: var(--color-navy); }

/* Category overview cards (home page) */
.cat-card { display: flex; flex-direction: column; }
.cat-card .count { font-size: 0.78rem; font-weight: 700; color: var(--color-ink-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.cat-card h3 { margin-top: 4px; }
.cat-card a.more { margin-top: auto; font-size: 0.86rem; font-weight: 700; color: var(--color-amber-dark); padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; }
.cat-card a.more svg { transition: transform 0.15s ease; }
.cat-card:hover a.more svg { transform: translateX(3px); }

/* Sectors strip */
.sector-strip {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.sector-pill {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
  display: flex; align-items: center; gap: 8px;
}
.sector-pill svg { color: var(--color-amber); width: 16px; height: 16px; }

/* CTA band */
.cta-band {
  background: var(--color-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.72); margin: 0; }

/* ==========================================================================
   Services accordion
   ========================================================================== */
.services-toc {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 40px;
}
.toc-pill {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-ink-soft);
}
.toc-pill:hover { border-color: var(--color-amber); color: var(--color-navy); }

.accordion { display: flex; flex-direction: column; gap: 16px; }

.acc-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-margin-top: 96px;
}
.acc-header {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 24px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.acc-header .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.acc-header .head-text { flex: 1; }
.acc-header .head-text .count { font-size: 0.78rem; font-weight: 700; color: var(--color-amber-dark); text-transform: uppercase; letter-spacing: 0.05em; }
.acc-header .head-text h3 { margin: 2px 0 4px; }
.acc-header .head-text p { margin: 0; font-size: 0.92rem; }
.acc-chevron {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--color-surface-alt);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease, background 0.2s ease;
}
.acc-item.open .acc-chevron { transform: rotate(180deg); background: var(--color-amber); color: #fff; }

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.acc-item.open .acc-panel { max-height: 4000px; }
.acc-panel-inner { padding: 0 28px 32px; border-top: 1px solid var(--color-border); padding-top: 28px; }

/* ==========================================================================
   Services multirow (Shopify Dawn "Multirow" inspired)
   ========================================================================== */
.multirow { display: flex; flex-direction: column; gap: 40px; }

.mr-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
  scroll-margin-top: 136px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
}
.mr-row .mr-visual { order: 1; }
.mr-row .mr-content { order: 2; }
.mr-row:nth-child(even) .mr-visual { order: 2; }
.mr-row:nth-child(even) .mr-content { order: 1; }

.mr-visual {
  border-radius: var(--radius-lg);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  background: linear-gradient(155deg, #EAF1FF, #D6E4FE);
  border: 1px solid var(--color-border);
  color: var(--color-amber);
  position: relative;
  overflow: hidden;
}
.mr-row:nth-child(even) .mr-visual {
  background: linear-gradient(155deg, #DCE7FE, #BCD1FC);
  color: var(--color-navy);
}
.mr-visual::before {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1px dashed currentColor;
  opacity: 0.25;
}
.mr-visual svg { width: 84px; height: 84px; position: relative; }
.mr-visual .mr-count {
  position: relative;
  margin-top: 22px;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-navy);
}
.mr-visual .mr-count .num { display: inline-block; }
.mr-visual .mr-count span:not(.num) {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: inherit;
  margin-top: 2px;
}

.mr-content .count { font-size: 0.78rem; font-weight: 700; color: var(--color-amber-dark); text-transform: uppercase; letter-spacing: 0.05em; }
.mr-content h3 { margin: 6px 0 10px; font-size: 1.6rem; }

.mr-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 20px 0 24px; }
.mr-details .detail-block.full { grid-column: 1 / -1; }

.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 26px; }
.detail-block h4 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--color-ink-faint); margin-bottom: 10px; font-weight: 700;
}
.detail-block ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.detail-block li { font-size: 0.9rem; color: var(--color-ink-soft); display: flex; gap: 8px; align-items: flex-start; }
.detail-block li svg { flex-shrink: 0; margin-top: 3px; color: var(--color-amber); width: 14px; height: 14px; }

.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.service-tag {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.82rem;
  color: var(--color-ink);
  font-weight: 500;
}

.acc-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}
.acc-footer p { margin: 0; font-size: 0.88rem; }
.acc-footer strong { color: var(--color-navy); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-navy-dark); color: rgba(255,255,255,0.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand img { border-radius: 8px; height: 104px; }
.footer-brand p { color: rgba(255,255,255,0.55); margin-top: 14px; font-size: 0.9rem; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Contact / form
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--color-navy); }
.field input, .field select, .field textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--color-surface);
  color: var(--color-ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-amber);
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.15);
}
.contact-info-card { background: var(--color-navy); color: #fff; border-radius: var(--radius-lg); padding: 36px; }
.contact-info-card h3 { color: #fff; }
.contact-info-card ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-info-card li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.92rem; color: rgba(255,255,255,0.8); }
.contact-info-card li svg { color: rgba(255,255,255,0.85); flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   Utility
   ========================================================================== */
.pill-check { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--color-navy); }
.pill-check svg { color: var(--color-amber); }
.stack { display: flex; flex-direction: column; }
.mt-0 { margin-top: 0; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .mr-row, .mr-row:nth-child(even) { grid-template-columns: 1fr; }
  .mr-row .mr-visual, .mr-row:nth-child(even) .mr-visual { order: 1; }
  .mr-row .mr-content, .mr-row:nth-child(even) .mr-content { order: 2; }
  .mr-details { grid-template-columns: 1fr; }
}
/* ==========================================================================
   Motion & dynamics
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {

  /* Sticky header: shrink + gain shadow once the page scrolls */
  .site-header { transition: box-shadow 0.25s ease, height 0.25s ease; }
  .site-header .container { transition: height 0.25s ease; }
  .site-header.is-scrolled { box-shadow: var(--shadow-sm); }
  .site-header.is-scrolled .container { height: 72px; }
  .site-header.is-scrolled .brand img { height: 52px; }
  .brand img { transition: height 0.25s ease; }

  /* Scroll-reveal: elements fade + rise into place as they enter the viewport */
  [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.2, 0.65, 0.3, 1), transform 0.65s cubic-bezier(0.2, 0.65, 0.3, 1);
  }
  [data-reveal].in-view { opacity: 1; transform: translateY(0); }

  /* Hero ambient glow drift */
  .hero::before { animation: heroDrift 14s ease-in-out infinite alternate; }
  @keyframes heroDrift {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, 30px) scale(1.15); }
  }

  /* Card lift already has a transition; add a touch of easing consistency */
  .card, .cat-card, .mr-row, .mr-visual, .sector-pill, .toc-pill, .service-tag {
    transition: box-shadow 0.25s ease, transform 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }
  .service-tag:hover { background: var(--color-amber); border-color: var(--color-amber); color: #fff; transform: translateY(-1px); }

  /* Each category card floats on hover */
  .mr-row:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .mr-visual { transition: transform 0.4s ease; }
  .mr-row:hover .mr-visual { transform: translateY(-4px) rotate(-1deg); }
  .mr-row:nth-child(even):hover .mr-visual { transform: translateY(-4px) rotate(1deg); }

  /* Button press feedback */
  .btn { transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease; }
  .btn:active { transform: translateY(1px) scale(0.98); }

  /* Mobile nav slide/fade */
  .main-nav { transition: max-height 0.3s ease, opacity 0.25s ease; }

  /* Scrollspy active state on services TOC */
  .toc-pill.is-active { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }

  /* Scroll progress bar */
  .scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: var(--color-amber);
    z-index: 200;
    transition: width 0.1s linear;
  }

  /* Back-to-top button */
  .back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
    z-index: 90;
  }
  .back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .back-to-top:hover { background: var(--color-amber); }

  /* Animated counters get a subtle pop when they finish */
  .count-pop { animation: countPop 0.4s ease; }
  @keyframes countPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); }
    100% { transform: scale(1); }
  }
}

.mobile-sticky-cta { display: none; }

@media (max-width: 760px) {
  .site-header .container {
    position: relative;
    height: 96px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
  }
  .nav-toggle { grid-column: 1; justify-self: start; }
  .site-header .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 60vw;
  }
  .header-cta { grid-column: 3; justify-self: end; }
  .header-cta .btn { display: none; }
  .site-header .brand img { height: 68px; max-width: 100%; }
  .site-header.is-scrolled .container { height: 76px; }
  .site-header.is-scrolled .brand img { height: 54px; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 101;
  }
  .main-nav.nav-open { max-height: 320px; opacity: 1; pointer-events: auto; }
  .main-nav a { width: 100%; padding: 14px 12px; font-size: 1rem; }
  .nav-toggle { display: block; }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle span { transition: transform 0.2s ease, opacity 0.2s ease; }
  .header-email { display: none; }
  .header-cta .btn-sm { padding: 9px 16px; font-size: 0.85rem; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 27, 66, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 99;
  }
  .nav-backdrop.visible { opacity: 1; pointer-events: auto; }

  .hero .container { padding-top: 48px; padding-bottom: 48px; gap: 32px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 32px; }
  .hero-stats strong { font-size: 1.2rem; }
  .hero-stats span { font-size: 0.72rem; }
  .hero-panel { padding: 20px; }

  section { padding: 48px 0; }
  .section-head { margin-bottom: 32px; }
  .cta-band { padding: 28px; text-align: center; justify-content: center; }
  .cta-band > div:first-child { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .acc-header { padding: 18px; gap: 14px; }
  .acc-panel-inner { padding: 0 18px 26px; }
  .mr-row { padding: 20px; gap: 24px; }
  .mr-visual { min-height: 160px; padding: 22px; }
  .mr-visual svg { width: 56px; height: 56px; }
  .mr-visual .mr-count { font-size: 1.5rem; margin-top: 14px; }
  .mr-content h3 { font-size: 1.3rem; }

  body.has-sticky-cta { padding-bottom: 76px; }
  .mobile-sticky-cta {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 95;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(19, 26, 41, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  .mobile-sticky-cta.visible { transform: translateY(0); }
}

@media (max-width: 420px) {
  .hero-stats { grid-template-columns: 1fr; gap: 8px; }
  .hero-stats div { display: flex; align-items: baseline; gap: 8px; border-left: none; border-top: 2px solid rgba(255,255,255,0.4); padding: 8px 0 0; }
  .hero-actions .btn { flex: 1 1 100%; }
}
