/* ==========================================================================
   FrontStep Delivery — Main Stylesheet
   ========================================================================== */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle warm paper grain on the page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; height: auto; }

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

ul { list-style: none; padding: 0; }

button { font: inherit; cursor: pointer; border: none; background: none; }

:focus-visible {
  outline: 3px solid var(--navy-600);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--leading-snug);
  letter-spacing: -0.015em;
  color: var(--navy-800);
  font-optical-sizing: auto;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: var(--z-base);
}

.section { padding-block: var(--space-section); position: relative; z-index: var(--z-base); }

.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-700);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--sage-500);
  border-radius: 2px;
}

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { font-size: var(--text-3xl); margin-top: 1rem; }
.section-head p { margin-top: 1.1rem; color: var(--color-muted); font-size: var(--text-lg); }

.text-accent { color: var(--amber-600); }
.text-sage { color: var(--sage-700); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy-800);
  --btn-fg: var(--cream-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--radius-pill);
  transition: transform var(--dur-fast) var(--ease-out-soft),
              box-shadow var(--dur-normal) var(--ease-out-soft),
              background-color var(--dur-fast) var(--ease-out-soft);
  will-change: transform;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--accent {
  --btn-bg: var(--amber-500);
  --btn-fg: #2a1804;
  box-shadow: var(--shadow-brand);
}
.btn--accent:hover { --btn-bg: var(--amber-400); box-shadow: 0 22px 46px -14px rgba(197, 116, 26, 0.55); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy-800);
  border: 1.5px solid rgba(20, 48, 75, 0.25);
}
.btn--ghost:hover { --btn-bg: rgba(20, 48, 75, 0.06); box-shadow: none; transform: translateY(-2px); }

.btn--light {
  --btn-bg: var(--cream-card);
  --btn-fg: var(--navy-800);
}
.btn--lg { padding: 1.1rem 2rem; font-size: var(--text-base); }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--navy-700);
  transition: gap var(--dur-fast) var(--ease-out-soft), color var(--dur-fast);
}
.text-link svg { width: 1.05em; height: 1.05em; transition: transform var(--dur-fast) var(--ease-out-soft); }
.text-link:hover { color: var(--amber-600); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Brand tile (logo on its own slate backdrop) ---------- */
.brand-tile {
  display: grid;
  place-items: center;
  background: var(--slate-teal);
  border-radius: 22%;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.brand-tile img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-sticky);
  padding-top: clamp(0.6rem, 0.3rem + 1vw, 1.1rem);
  transition: padding var(--dur-normal) var(--ease-out-soft);
}
.nav {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0.55rem 0.7rem 0.55rem 0.9rem;
  margin-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: rgba(253, 250, 241, 0.72);
  border: 1px solid rgba(227, 216, 190, 0.8);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, var(--shadow-sm);
  transition: box-shadow var(--dur-normal) var(--ease-out-soft),
              background-color var(--dur-normal) var(--ease-out-soft);
}
.site-header.is-scrolled .nav {
  background: rgba(253, 250, 241, 0.92);
  box-shadow: var(--shadow-md);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-800);
  margin-right: auto;
}
.brand .brand-tile { width: 46px; height: 46px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-size: 1.12rem; letter-spacing: -0.01em; }
.brand-name span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-700);
  margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 0.15rem; }
.nav-links a {
  padding: 0.55rem 0.7rem;
  white-space: nowrap;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-700);
  border-radius: var(--radius-pill);
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.nav-links a:hover { background: rgba(20, 48, 75, 0.07); color: var(--navy-800); }

.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--navy-800);
  padding: 0.5rem 0.4rem;
  white-space: nowrap;
}
.nav-phone svg { width: 1.05em; height: 1.05em; color: var(--sage-600); }
.nav-phone:hover { color: var(--amber-600); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-pill);
  background: var(--navy-800);
  color: var(--cream-card);
  place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(8rem, 6rem + 8vw, 11rem);
  padding-bottom: clamp(3rem, 2rem + 5vw, 6rem);
  overflow: hidden;
}
.hero::after {
  /* soft sage glow top-right */
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(circle, rgba(136, 164, 77, 0.22), transparent 62%);
  z-index: 0;
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.95rem 0.45rem 0.5rem;
  background: var(--cream-card);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--ink-700);
  box-shadow: var(--shadow-sm);
}
.hero-pill .dot {
  display: inline-grid;
  place-items: center;
  padding: 0.2rem 0.6rem;
  background: var(--sage-100);
  color: var(--sage-700);
  border-radius: var(--radius-pill);
  letter-spacing: 0.08em;
}

.hero h1 {
  font-size: var(--text-hero);
  line-height: var(--leading-tight);
  margin-top: 1.4rem;
}
.hero h1 .accent {
  color: var(--sage-600);
  font-style: italic;
  font-variation-settings: "SOFT" 60;
}
.hero-sub {
  margin-top: 1.5rem;
  max-width: 30em;
  font-size: var(--text-lg);
  color: var(--ink-700);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 1.8rem;
  margin-top: 2.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--cream-line);
}
.hero-trust .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--navy-800);
  line-height: 1;
}
.hero-trust .stat span { font-size: var(--text-sm); color: var(--color-muted); }

/* Hero visual: logo badge framed as an editorial card */
.hero-visual { position: relative; }
.hero-card {
  position: relative;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 1rem + 2vw, 2.4rem);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(136, 164, 77, 0.35), transparent 60%);
  pointer-events: none;
}
.hero-card img {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
}
.hero-ribbon {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.3rem;
  flex-wrap: wrap;
}
.hero-ribbon span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--cream-card);
}
.hero-ribbon span::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber-500);
}

/* floating chips around hero card */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  background: var(--cream-card);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy-800);
}
.float-chip small { display: block; font-weight: 600; font-size: var(--text-xs); color: var(--color-muted); }
.float-chip .ico {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  flex-shrink: 0;
}
.float-chip .ico svg { width: 18px; height: 18px; }
.float-chip--top { top: 8%; left: -7%; animation: float 6s ease-in-out infinite; }
.float-chip--bottom { bottom: 9%; right: -6%; animation: float 6s ease-in-out infinite 1.5s; }
.ico--sage { background: var(--sage-100); color: var(--sage-700); }
.ico--amber { background: var(--amber-100); color: var(--amber-600); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Marquee / trust strip ---------- */
.trust-strip {
  background: var(--navy-800);
  color: var(--cream-card);
  padding-block: 1.1rem;
  position: relative;
  z-index: var(--z-base);
}
.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2.6rem;
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
}
.trust-strip svg { width: 1.15em; height: 1.15em; color: var(--sage-300); }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 0.8rem + 1.5vw, 2rem);
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem 1.9rem;
  transition: transform var(--dur-normal) var(--ease-out-soft),
              box-shadow var(--dur-normal) var(--ease-out-soft);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-num {
  counter-increment: step;
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--sage-100);
  color: var(--sage-700);
  margin-bottom: 1.4rem;
}
.step-num::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.step h3 { font-size: var(--text-xl); margin-bottom: 0.6rem; }
.step p { color: var(--color-muted); }
.step .step-icon {
  position: absolute;
  top: 1.9rem; right: 1.8rem;
  width: 26px; height: 26px;
  color: var(--sage-500);
  opacity: 0.55;
}
.step:nth-child(2) .step-num { background: var(--amber-100); color: var(--amber-600); }
.step:nth-child(2) .step-icon { color: var(--amber-500); }
.step:nth-child(3) .step-num { background: rgba(58, 114, 163, 0.16); color: var(--navy-600); }
.step:nth-child(3) .step-icon { color: var(--navy-500); }

/* ==========================================================================
   CATEGORIES (what we deliver) — bento
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: clamp(0.9rem, 0.5rem + 1.2vw, 1.4rem);
}
.cat {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.6rem;
  background: var(--color-surface);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius-md);
  transition: transform var(--dur-normal) var(--ease-out-soft),
              border-color var(--dur-fast), box-shadow var(--dur-normal);
}
.cat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--sage-300); }
.cat .ico {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--sage-100);
  color: var(--sage-700);
}
.cat .ico svg { width: 24px; height: 24px; }
.cat h3 { font-size: var(--text-lg); }
.cat p { font-size: var(--text-sm); color: var(--color-muted); margin-top: auto; }
.cat--feature {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(155deg, var(--sage-600), var(--sage-700));
  color: var(--cream-card);
  justify-content: space-between;
  border: none;
}
.cat--feature h3, .cat--feature p { color: var(--cream-card); }
.cat--feature h3 { font-size: var(--text-2xl); max-width: 12em; }
.cat--feature .ico { background: rgba(255,255,255,0.16); color: var(--cream-card); width: 56px; height: 56px; }
.cat--feature p { opacity: 0.92; font-size: var(--text-base); max-width: 26em; }

/* ==========================================================================
   VALUE / WHY US — split editorial
   ========================================================================== */
.value { background: var(--cream-deep); }
.value .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.value-visual {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  padding: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  box-shadow: var(--shadow-lg);
  color: var(--cream-card);
}
.value-visual .quote-mark { font-family: var(--font-display); font-size: 4rem; line-height: 0.6; color: var(--amber-500); }
.value-visual blockquote { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.35; margin: 1rem 0 1.6rem; }
.value-visual figcaption { display: flex; align-items: center; gap: 0.8rem; }
.value-visual figcaption .brand-tile { width: 44px; height: 44px; }
.value-visual figcaption strong { display: block; }
.value-visual figcaption span { font-size: var(--text-sm); opacity: 0.8; }

.value-list { display: grid; gap: 1.4rem; margin-top: 2rem; }
.value-item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.value-item .ico {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--amber-100);
  color: var(--amber-600);
  flex-shrink: 0;
}
.value-item .ico svg { width: 22px; height: 22px; }
.value-item h3 { font-size: var(--text-lg); margin-bottom: 0.3rem; }
.value-item p { color: var(--ink-700); font-size: var(--text-sm); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 0.6rem + 1.5vw, 1.8rem);
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.9rem;
  transition: transform var(--dur-normal) var(--ease-out-soft), box-shadow var(--dur-normal);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-name { font-size: var(--text-lg); color: var(--navy-800); font-family: var(--font-display); font-weight: 600; }
.plan-desc { color: var(--color-muted); font-size: var(--text-sm); margin-top: 0.35rem; min-height: 2.8em; }
.plan-price { display: flex; align-items: baseline; gap: 0.3rem; margin: 1.4rem 0 0.2rem; }
.plan-price .amount { font-family: var(--font-display); font-size: var(--text-3xl); color: var(--navy-800); line-height: 1; }
.plan-price .per { color: var(--color-muted); font-size: var(--text-sm); font-weight: 600; }
.plan-note { font-size: var(--text-xs); color: var(--color-muted); margin-bottom: 1.4rem; }
.plan ul { display: grid; gap: 0.8rem; margin: 0.4rem 0 1.8rem; }
.plan li { display: grid; grid-template-columns: auto 1fr; gap: 0.65rem; font-size: var(--text-sm); color: var(--ink-700); }
.plan li svg { width: 20px; height: 20px; color: var(--sage-600); margin-top: 1px; }
.plan .btn { margin-top: auto; }

.plan--featured {
  background: linear-gradient(165deg, var(--navy-700), var(--navy-900));
  border: none;
  color: var(--cream-card);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.plan--featured .plan-name,
.plan--featured .plan-price .amount { color: var(--cream-card); }
.plan--featured .plan-desc,
.plan--featured .plan-price .per,
.plan--featured .plan-note,
.plan--featured li { color: rgba(253, 250, 241, 0.85); }
.plan--featured li svg { color: var(--amber-400); }
.plan-badge {
  position: absolute;
  top: -0.85rem; left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 1rem;
  background: var(--amber-500);
  color: #2a1804;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   SERVICE AREA
   ========================================================================== */
.area { background: var(--navy-900); color: var(--cream-card); overflow: hidden; }
.area::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 80% 20%, rgba(136,164,77,0.18), transparent 60%);
  pointer-events: none;
}
.area .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,1rem+4vw,4.5rem); align-items: center; }
.area h2 { color: var(--cream-card); font-size: var(--text-3xl); }
.area .eyebrow { color: var(--sage-300); }
.area .eyebrow::before { background: var(--sage-300); }
.area p { color: rgba(253,250,241,0.82); margin-top: 1.1rem; font-size: var(--text-lg); }
.area-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.area-tags span {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(253,250,241,0.22);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 600;
}
.area-cta { margin-top: 2.2rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }

.map-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(253,250,241,0.15);
  box-shadow: var(--shadow-lg);
  background: #14304b;
  aspect-ratio: 4 / 3.4;
}
.map-frame svg { width: 100%; height: 100%; display: block; }
.map-pin {
  position: absolute;
  display: grid; place-items: center;
}
.map-pin .pulse {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(226,144,47,0.3);
  position: relative;
}
.map-pin .pulse::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--amber-400);
  animation: pulse 2.4s ease-out infinite;
}
.map-badge {
  position: absolute;
  left: 50%; bottom: 1rem; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--cream-card);
  color: var(--navy-800);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: var(--text-sm);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.map-badge svg { width: 1.1em; height: 1.1em; color: var(--sage-600); }
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 0.6rem + 1.2vw, 1.6rem);
}
.tcard {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: var(--color-surface);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  transition: transform var(--dur-normal) var(--ease-out-soft), box-shadow var(--dur-normal);
}
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stars { display: flex; gap: 2px; color: var(--amber-500); }
.stars svg { width: 18px; height: 18px; }
.tcard blockquote { font-size: var(--text-base); color: var(--ink-700); line-height: 1.6; }
.tcard figcaption { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.avatar {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sage-100);
  color: var(--sage-700);
  font-family: var(--font-display);
  font-weight: 600;
  flex-shrink: 0;
}
.tcard figcaption strong { display: block; font-size: var(--text-sm); color: var(--navy-800); }
.tcard figcaption span { font-size: var(--text-xs); color: var(--color-muted); }
.tcard:nth-child(2) .avatar { background: var(--amber-100); color: var(--amber-600); }
.tcard:nth-child(3) .avatar { background: rgba(58,114,163,0.16); color: var(--navy-600); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-wrap { max-width: var(--container-narrow); margin-inline: auto; }
.faq-item {
  border: 1px solid var(--cream-line);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: box-shadow var(--dur-normal), border-color var(--dur-fast);
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: var(--sage-300); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--navy-800);
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--sage-700);
  transition: transform var(--dur-normal) var(--ease-out-soft), background-color var(--dur-fast);
}
.faq-item summary .chev svg { width: 16px; height: 16px; }
.faq-item[open] summary .chev { transform: rotate(45deg); background: var(--amber-100); color: var(--amber-600); }
.faq-item .faq-body { padding: 0 1.5rem 1.4rem; color: var(--ink-700); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { position: relative; z-index: var(--z-base); }
.cta-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--sage-600), var(--sage-700) 55%, var(--navy-800));
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  text-align: center;
  color: var(--cream-card);
  box-shadow: var(--shadow-lg);
}
.cta-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% -10%, rgba(255,255,255,0.18), transparent 60%);
}
.cta-card h2 { color: var(--cream-card); font-size: var(--text-3xl); position: relative; }
.cta-card p { position: relative; max-width: 40em; margin: 1.1rem auto 0; font-size: var(--text-lg); color: rgba(253,250,241,0.92); }
.cta-card .hero-cta { position: relative; justify-content: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: rgba(253,250,241,0.82);
  padding-top: clamp(3.5rem, 2rem + 5vw, 6rem);
  position: relative;
  z-index: var(--z-base);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 1rem + 3vw, 3rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(253,250,241,0.12);
}
.footer-brand .brand { color: var(--cream-card); margin-bottom: 1.2rem; }
.footer-brand .brand-name strong { font-size: 1.2rem; }
.footer-brand p { font-size: var(--text-sm); max-width: 32ch; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.footer-social a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(253,250,241,0.08);
  color: var(--cream-card);
  transition: background-color var(--dur-fast), transform var(--dur-fast);
}
.footer-social a:hover { background: var(--sage-600); transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; }

.footer-col h4 {
  color: var(--cream-card);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a { font-size: var(--text-sm); transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--sage-300); }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: var(--text-sm); margin-bottom: 0.7rem; }
.footer-contact svg { width: 1.1em; height: 1.1em; color: var(--sage-300); margin-top: 4px; flex-shrink: 0; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-block: 1.6rem;
  font-size: var(--text-xs);
}
.footer-bottom p { color: rgba(253,250,241,0.6); }
.footer-bottom .ribbon-tag {
  display: inline-flex; gap: 1.2rem;
  font-weight: 700; color: var(--sage-300);
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--dur-slow) var(--ease-out-expo),
              transform var(--dur-slow) var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; order: -1; }
  .value .container,
  .area .container { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cat--feature { grid-column: span 2; grid-row: span 1; }
  .footer-top { grid-template-columns: 1fr 1fr; }

  /* Collapse to the menu button before the links get cramped */
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: grid; }
  /* Open menu grows tall, so drop the pill radius (which would round into a
     circle and clip the lower entries) down to a clean rounded rectangle. */
  .nav.is-open { flex-wrap: wrap; border-radius: var(--radius-lg); }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 3;
    gap: 0.2rem;
    padding: 0.6rem 0.2rem 0.4rem;
    border-top: 1px solid var(--cream-line);
    margin-top: 0.4rem;
  }
  .nav.is-open .nav-links a { padding: 0.8rem 1rem; }
}

@media (max-width: 860px) {
  .steps,
  .plans,
  .testimonials-grid { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .cat--feature { grid-column: span 1; }
  .hero-trust { gap: 1.2rem; }
  .float-chip--top { left: 0; top: 4%; }
  .float-chip--bottom { right: 0; bottom: 4%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
