/* ==========================================================================
   JMD Truck Permit Inc — Interstate design system
   Highway-green guide-sign panels, reflective-white keylines, warning-yellow
   signals. Overpass (Highway Gothic lineage) + Public Sans.
   ========================================================================== */

@view-transition { navigation: auto; }

:root {
  --green: #0C4A37;
  --green-600: #12634A;
  --green-900: #062A1F;
  --green-100: #D5E4DA;
  --green-50: #E7F0E9;
  --paper: #F1F4EF;
  --white: #FFFFFF;
  --ink: #12231C;
  --muted: #4F6058;
  --line: #D3DCD5;
  --yellow: #FFC61A;
  --yellow-600: #E3AD00;
  --yellow-50: #FFF7DB;
  --red: #C43A26;
  --lane: #E3AD00;

  --font-display: "Overpass", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --in-gutter: clamp(34px, 5vw, 64px);
  --ease: cubic-bezier(.22, .7, .2, 1);
  --hdr: 72px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 104px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
svg { max-width: 100%; }
a { color: var(--green); text-underline-offset: .2em; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }

:focus-visible { outline: 3px solid var(--focus, var(--green)); outline-offset: 3px; border-radius: 4px; }
.hero, .phero, .panel, .cta, .footer, .section--deep, .topbar, .mnav, .dock--dark { --focus: var(--yellow); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 6px;
  font: 700 1rem var(--font-display); text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--in { width: min(100% - 2 * var(--in-gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }

.section { padding-block: clamp(64px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--paper { background: var(--paper); }
.section--deep { background: var(--green-900); color: #fff; }
.section--cta { padding-block: 0 clamp(64px, 8vw, 112px); }
.section--paper + .section--cta { background: var(--paper); padding-top: 0; }

.section-head { max-width: 740px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { font-size: clamp(1.85rem, 1.1rem + 2.5vw, 2.95rem); font-weight: 800; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.15rem; max-width: 60ch; }
.section--deep .section-head p { color: rgba(255, 255, 255, .78); }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--green); --b-fg: #fff; --b-bd: var(--green); --b-sh: var(--green-900);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 8px; border: 2px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg);
  font: 700 1.05rem/1.1 var(--font-display); text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--b-sh);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--b-sh); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--b-sh); }
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i--go { transform: translateX(4px); }
.btn--primary { --b-bg: var(--yellow); --b-fg: var(--ink); --b-bd: var(--yellow); --b-sh: #A87F00; }
.btn--ghost { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255, 255, 255, .85); --b-sh: rgba(255, 255, 255, .25); }
.btn--ghost:hover { --b-bg: #fff; --b-fg: var(--green-900); }
.btn--outline { --b-bg: transparent; --b-fg: var(--green); --b-bd: var(--green); --b-sh: var(--green-100); }
.btn--outline:hover { --b-bg: var(--green); --b-fg: #fff; }
.btn--lg { padding: 17px 30px; font-size: 1.15rem; }
.btn--sm { padding: 10px 16px; font-size: .98rem; box-shadow: 0 3px 0 var(--b-sh); }
.btn--block { width: 100%; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading::before {
  content: ""; width: 1em; height: 1em; border-radius: 50%;
  border: 3px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite;
}

/* ---------- Top bar (live IFTA deadline) ---------- */
.topbar { background: var(--green-900); color: rgba(255, 255, 255, .88); font-size: .84rem; line-height: 1.3; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding-block: 6px; }
.topbar a { color: var(--yellow); text-decoration: none; font-weight: 700; }
.topbar a:hover { text-decoration: underline; }
.topbar__deadline { display: flex; align-items: center; gap: 10px; }
.topbar strong { color: #fff; font-weight: 700; }
.pulse { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); animation: pulse 2.4s infinite; }
.topbar__hours { display: flex; align-items: center; gap: 8px; white-space: nowrap; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s; view-transition-name: site-header;
}
.site-header.is-scrolled { box-shadow: 0 10px 28px -18px rgba(6, 42, 31, .55); }
.nav { display: flex; align-items: center; gap: 24px; min-height: var(--hdr); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green); flex: none; }
.brand__mark { width: 42px; height: 42px; --mark-shield: var(--green); --mark-road: var(--yellow); transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.06); }
.brand__text { display: grid; gap: 4px; line-height: 1; }
.brand__name { font: 800 1.6rem/1 var(--font-display); letter-spacing: .03em; }
.brand__sub { font: 600 .68rem/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.nav__links { display: none; margin-left: auto; align-items: stretch; gap: 2px; }
.nav__link {
  position: relative; display: flex; align-items: center; gap: 6px; height: var(--hdr);
  padding: 0 14px; color: var(--ink); text-decoration: none; font: 700 1.02rem var(--font-display);
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 18px; height: 4px; border-radius: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--green); }
.nav__link .i { width: 1em; height: 1em; transition: transform .25s; }
.has-menu:hover .nav__link .i, .has-menu:focus-within .nav__link .i { transform: rotate(180deg); }

.has-menu { position: relative; display: flex; }
.menu {
  position: absolute; left: 50%; top: 100%; width: 580px; padding: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 28px 50px -22px rgba(6, 42, 31, .5);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; transition: background-color .2s; }
.menu a:hover { background: var(--green-50); }
.menu__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--green-50); color: var(--green); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.menu a:hover .menu__icon { background: var(--green); color: var(--yellow); }
.menu__t { display: block; font: 700 .98rem/1.2 var(--font-display); }
.menu__s { display: block; font-size: .84rem; color: var(--muted); line-height: 1.3; }
.menu__all { grid-column: 1 / -1; justify-content: center; font: 700 .98rem var(--font-display); color: var(--green) !important; border-top: 1px dashed var(--line); border-radius: 0 !important; margin-top: 6px; padding-top: 14px !important; }

.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__phone {
  display: none; align-items: center; gap: 10px; padding: 8px 6px; color: var(--green);
  font: 800 1.08rem var(--font-display); text-decoration: none; white-space: nowrap;
}
.nav__phone .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--green-50); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.nav__phone:hover .ic { background: var(--green); color: var(--yellow); }
.nav__quote { display: none; }

.nav__toggle {
  width: 46px; height: 46px; border: 2px solid var(--green); border-radius: 10px; background: #fff; color: var(--green);
  display: grid; place-items: center; cursor: pointer; position: relative;
}
.nav__toggle span { position: absolute; width: 20px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle span:nth-child(1) { transform: translateY(-6px); }
.nav__toggle span:nth-child(3) { transform: translateY(6px); }
.nav-open .nav__toggle span:nth-child(1) { transform: rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav__toggle span:nth-child(3) { transform: rotate(-45deg); }

@media (min-width: 1100px) {
  .nav__links { display: flex; }
  .nav__actions { margin-left: 8px; }
  .nav__toggle { display: none; }
  .nav__quote { display: inline-flex; }
  .nav__phone .num { display: none; }
}
@media (min-width: 1260px) {
  .nav__phone { display: inline-flex; }
  .nav__phone .num { display: inline; }
}
@media (min-width: 1100px) and (max-width: 1259px) {
  .nav__phone { display: inline-flex; }
}

/* Mobile menu */
.mnav {
  position: fixed; inset: 0; z-index: 55; background: var(--green-900); color: #fff;
  padding: calc(var(--hdr-bottom, 84px) + 12px) var(--gutter) 32px; overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .5s var(--ease), visibility 0s .5s;
}
.nav-open .mnav { clip-path: inset(0); visibility: visible; transition: clip-path .5s var(--ease), visibility 0s; }
.mnav__links { display: grid; margin-bottom: 24px; }
.mnav__links a {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none;
  font: 800 1.7rem/1.1 var(--font-display);
  opacity: 0; transform: translateY(14px);
}
.nav-open .mnav__links a { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 55ms + 150ms); }
.mnav__links a[aria-current="page"] { color: var(--yellow); }
.mnav__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin: 0 0 28px; padding: 0; list-style: none; }
.mnav__sub a { color: rgba(255, 255, 255, .8); text-decoration: none; font-size: .98rem; padding: 6px 0; display: block; }
.mnav__cta { display: grid; gap: 12px; }

/* Mobile dock */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 58; display: none; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .3s var(--ease);
}
.nav-open .dock { transform: translateY(110%); }
@media (max-width: 759px) {
  .dock { display: grid; grid-template-columns: 1fr 1.2fr; }
  body { padding-bottom: 76px; }
  .page-contact .dock { display: none; }
  .page-contact { padding-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--green); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before, .phero::before {
  content: ""; position: absolute; inset: 14px; z-index: 1; pointer-events: none;
  border: 2px solid rgba(255, 255, 255, .7); border-radius: 18px;
}
.hero__grid {
  position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(56px, 7vw, 100px) clamp(64px, 8vw, 116px);
}
.hero__title { font-size: clamp(2.4rem, .6rem + 4.3vw, 4.4rem); font-weight: 800; line-height: .98; letter-spacing: -.02em; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
.hero__title .ln > span { display: block; }
.hero__lead { margin-top: 26px; max-width: 34em; font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); line-height: 1.55; color: rgba(255, 255, 255, .88); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__assure { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: rgba(255, 255, 255, .9); font-weight: 500; }
.hero__assure li { display: flex; align-items: center; gap: 8px; }
.hero__assure .i { color: var(--yellow); }

/* Page-load sequence (CSS-only; final state is the default without JS) */
.js .hero__title .ln > span { animation: rise .85s var(--ease) both; }
.js .hero__title .ln:nth-child(2) > span { animation-delay: .12s; }
.js .hero__title .ln:nth-child(3) > span { animation-delay: .24s; }
.js .fade-up { animation: fade-up .8s var(--ease) both; animation-delay: var(--d, 0s); }

/* Permit "cab card" */
.hero__visual { position: relative; display: grid; place-items: center; padding: 10px 14px 34px; }
.cab-back {
  position: absolute; width: min(100%, 410px); aspect-ratio: 1.25; border-radius: 12px; background: #DCE8E0;
  transform: translate(-22px, 20px) rotate(-6deg); opacity: .5; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
}
.cab {
  position: relative; width: min(100%, 420px); background: #fff; color: var(--ink); border-radius: 12px;
  transform: rotate(2deg); box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .6);
  animation: cab-in 1s var(--ease) .25s both;
}
.cab__strip { height: 14px; border-radius: 12px 12px 0 0; background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--green-900) 14px 28px); }
.cab__body { padding: 22px 24px 20px; display: grid; gap: 16px; }
.cab__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cab__brand { display: flex; align-items: center; gap: 10px; font: 800 1.15rem var(--font-display); color: var(--green); }
.cab__brand svg { width: 30px; height: 30px; --mark-shield: var(--green); --mark-road: var(--yellow); }
.cab__chip { position: relative; font: 800 .78rem var(--font-display); letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--green-50); color: var(--green); min-width: 84px; text-align: center; height: 26px; }
.cab__chip span { position: absolute; inset: 0; display: grid; place-items: center; }
.cab__chip .st-a { background: var(--yellow-50); color: #7A5A00; border-radius: 999px; animation: chip-out .3s 3s both; }
.cab__chip .st-b { animation: chip-in .3s 3.1s both; }
.cab__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cab__field label { display: block; font: 700 .68rem var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cab__field b { display: block; font: 800 1.3rem/1.25 var(--font-display); color: var(--ink); }
.cab__field--wide b { font-size: 1.05rem; font-weight: 700; }
.cab hr { border: 0; border-top: 2px dashed var(--line); margin: 0; }
.cab__checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cab__checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .96rem; }
.cab__tick { width: 22px; height: 22px; border-radius: 50%; background: var(--green); display: grid; place-items: center; animation: tick-bg .35s calc(1.1s + var(--i) * .38s) both; }
.cab__tick svg { width: 13px; height: 13px; stroke: #fff; stroke-width: 3.4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; animation: draw .4s calc(1.15s + var(--i) * .38s) both; }
.cab__foot { display: flex; justify-content: space-between; gap: 12px; font: 700 .72rem var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cab__sample { font: 500 .72rem var(--font-body); color: var(--muted); opacity: .8; }
.cab__stamp {
  position: absolute; right: -16px; bottom: 104px; padding: 6px 18px 4px;
  border: 4px solid var(--red); border-radius: 8px; color: var(--red); outline: 2px solid var(--red); outline-offset: 3px;
  font: 900 2.1rem/1 var(--font-display); letter-spacing: .08em; transform: rotate(-13deg); opacity: .92; mix-blend-mode: multiply; pointer-events: none;
  animation: stamp .55s cubic-bezier(.2, 1.3, .35, 1) 2.7s both;
}
.js .cab { animation: cab-in 1s var(--ease) .25s both, thump .35s 2.95s both; }

/* ---------- Inner page hero ---------- */
.phero { position: relative; background: var(--green); color: #fff; overflow: hidden; isolation: isolate; }
.phero::after {
  content: ""; position: absolute; right: 2%; bottom: 0; width: min(46%, 560px); aspect-ratio: 3 / 2; z-index: 0; opacity: .9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400' fill='none'%3E%3Cpath d='M300 0L40 400M300 0L560 400' stroke='%23fff' stroke-opacity='.14' stroke-width='3'/%3E%3Cpath d='M300 20V64M300 100V168M300 210V300M300 340V400' stroke='%23FFC61A' stroke-opacity='.55' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right bottom / contain;
}
.phero__in { position: relative; z-index: 2; padding-block: clamp(40px, 5vw, 64px) clamp(56px, 7vw, 96px); max-width: 860px; margin-left: max(var(--in-gutter), calc((100% - var(--wrap)) / 2)); margin-right: var(--in-gutter); }
.phero h1 { font-size: clamp(2.2rem, 1.2rem + 3.7vw, 4rem); font-weight: 800; line-height: 1.03; letter-spacing: -.015em; }
.phero .lead { margin-top: 22px; font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); line-height: 1.6; color: rgba(255, 255, 255, .88); max-width: 46em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 26px; padding: 0; list-style: none; font-size: .92rem; color: rgba(255, 255, 255, .72); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .55; }
.crumbs a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.crumbs a:hover { border-color: var(--yellow); color: var(--yellow); }
.fact {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 10px 18px 10px 14px;
  border: 2px solid var(--yellow); border-radius: 999px; color: #fff; font: 700 1.02rem var(--font-display);
}
.fact .i { color: var(--yellow); }
.js .phero .crumbs, .js .phero h1, .js .phero .lead, .js .phero .fact { animation: fade-up .7s var(--ease) both; }
.js .phero h1 { animation-delay: .06s; }
.js .phero .lead { animation-delay: .14s; }
.js .phero .fact { animation-delay: .22s; }

/* ---------- Stats ---------- */
.stats { background: var(--paper); padding-block: clamp(36px, 5vw, 60px); }
.stats__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { position: relative; padding: 6px clamp(16px, 3vw, 44px); }
.stat:first-child { padding-left: 0; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px;
  background: repeating-linear-gradient(to bottom, var(--lane) 0 14px, transparent 14px 26px);
}
.stat__num { display: block; font: 800 clamp(2.5rem, 1.6rem + 3.2vw, 4rem)/1 var(--font-display); color: var(--green); font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 10px; color: var(--muted); font-size: 1rem; line-height: 1.4; max-width: 19ch; }

/* ---------- Service panels (home) ---------- */
.panels { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.panel {
  position: relative; display: flex; flex-direction: column; gap: 14px; isolation: isolate;
  background: var(--green); color: #fff; border-radius: 16px; padding: clamp(26px, 3vw, 38px);
  text-decoration: none; transition: transform .4s var(--ease), background-color .3s;
}
.panel::before {
  content: ""; position: absolute; inset: 9px; z-index: -1; pointer-events: none;
  border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 10px; transition: border-color .3s, inset .35s var(--ease);
}
.panel:hover { transform: translateY(-5px); background: var(--green-600); }
.panel:hover::before { border-color: var(--yellow); inset: 6px; }
.panel__icon { width: 54px; height: 54px; color: var(--yellow); stroke-width: 1.5; }
.panel h3 { font-size: 1.55rem; font-weight: 800; color: #fff; }
.panel p { color: rgba(255, 255, 255, .84); }
.panel__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font: 700 1.05rem var(--font-display); color: var(--yellow); }
.panel__more .i { transition: transform .3s var(--ease); }
.panel:hover .panel__more .i { transform: translateX(6px); }
.panel--feature { grid-row: span 3; padding: clamp(30px, 4vw, 52px); gap: 18px; }
.panel--feature .panel__icon { width: 72px; height: 72px; }
.panel--feature h3 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.6rem); line-height: 1.05; }
.panel--feature p { font-size: 1.12rem; max-width: 34ch; }
.panel--row { flex-direction: row; align-items: flex-start; gap: 20px; }
.panel--row .panel__body { display: grid; gap: 8px; }
.checks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; }
.checks .i { color: var(--yellow); margin-top: .22em; stroke-width: 2.6; }
.section-foot { margin-top: 36px; }

/* ---------- Route (how it works + timeline) ---------- */
.route {
  --r-road: rgba(255, 255, 255, .14); --r-dash: rgba(255, 255, 255, .42); --r-fill: var(--yellow);
  --r-pin-bg: var(--green-900); --r-pin-bd: rgba(255, 255, 255, .35); --r-pin-fg: #fff; --r-pin-on-fg: var(--ink);
  --r-h: rgba(255, 255, 255, 1); --r-t: rgba(255, 255, 255, .78);
  position: relative; --p: 1;
}
.route--light { --r-road: var(--green-100); --r-dash: rgba(12, 74, 55, .35); --r-pin-bg: #fff; --r-pin-bd: var(--green-100); --r-pin-fg: var(--green); --r-h: var(--green-900); --r-t: var(--muted); }
.route__road { position: absolute; left: 0; right: 0; top: 22px; height: 10px; border-radius: 5px; background: var(--r-road); }
.route__road::before { content: ""; position: absolute; left: 10px; right: 10px; top: 4px; height: 2px; background: repeating-linear-gradient(90deg, var(--r-dash) 0 12px, transparent 12px 24px); }
.route__fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * 100%); border-radius: 5px; background: var(--r-fill); }
.route__truck { position: absolute; bottom: 4px; left: calc(var(--p) * 100%); width: 72px; height: 36px; transform: translateX(-90%); filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35)); }
.route__steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 40px); }
.route__step { position: relative; padding-top: 68px; transition: opacity .5s var(--ease); }
.route__pin {
  position: absolute; left: 0; top: 5px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font: 800 1.2rem var(--font-display); background: var(--r-fill); color: var(--r-pin-on-fg); border: 3px solid var(--r-fill);
  transition: background-color .35s, color .35s, border-color .35s, transform .45s var(--ease);
}
.route__step h3 { color: var(--r-h); font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.route__step p { color: var(--r-t); }
.route.is-live .route__step:not(.is-reached) { opacity: .7; }
.route.is-live .route__step:not(.is-reached) .route__pin { background: var(--r-pin-bg); border-color: var(--r-pin-bd); color: var(--r-pin-fg); }
.route.is-live .route__step.is-reached .route__pin { transform: scale(1.1); }

/* vertical / timeline variant */
.route--vertical .route__road { left: 17px; right: auto; top: 0; bottom: 0; width: 10px; height: auto; }
.route--vertical .route__road::before { left: 4px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: repeating-linear-gradient(to bottom, var(--r-dash) 0 12px, transparent 12px 24px); }
.route--vertical .route__fill { top: 0; left: 0; right: 0; bottom: auto; width: auto; height: calc(var(--p) * 100%); }
.route--vertical .route__truck { display: none; }
.route--vertical .route__steps { grid-template-columns: 1fr; gap: 44px; }
.route--vertical .route__step { padding: 0 0 0 76px; min-height: 44px; }
.route--vertical .route__pin { top: 0; }
.route--timeline .route__pin { width: 24px; height: 24px; left: 10px; top: 8px; border-width: 4px; font-size: 0; }
.route--timeline .route__step { padding-left: 64px; }
.route--timeline .route__road { left: 17px; }
.route--timeline .yr { display: block; font: 800 clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem)/1 var(--font-display); color: var(--green); margin-bottom: 8px; }
.route--timeline .route__step p { color: var(--ink); font-size: 1.1rem; max-width: 60ch; }
@media (max-width: 859px) {
  .route:not(.route--vertical) .route__road { left: 17px; right: auto; top: 0; bottom: 0; width: 10px; height: auto; }
  .route:not(.route--vertical) .route__road::before { left: 4px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: repeating-linear-gradient(to bottom, var(--r-dash) 0 12px, transparent 12px 24px); }
  .route:not(.route--vertical) .route__fill { top: 0; left: 0; right: 0; bottom: auto; width: auto; height: calc(var(--p) * 100%); }
  .route:not(.route--vertical) .route__truck { display: none; }
  .route:not(.route--vertical) .route__steps { grid-template-columns: 1fr; gap: 40px; }
  .route:not(.route--vertical) .route__step { padding: 0 0 0 76px; min-height: 44px; }
  .route:not(.route--vertical) .route__pin { top: 0; }
}

/* ---------- State tile map ---------- */
.states { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.states .section-head { margin-bottom: 0; }
.map { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: clamp(3px, .55vw, 7px); }
.tile {
  aspect-ratio: 1; padding: 0; border: 0; border-radius: 6px; cursor: pointer; display: grid; place-items: center;
  background: var(--green); color: #fff; font: 700 clamp(.58rem, .38rem + .8vw, .95rem)/1 var(--font-display);
  transition: transform .2s var(--ease), background-color .2s, color .2s;
}
.tile:hover, .tile:focus-visible, .tile.is-on { background: var(--green-900); transform: scale(1.14); z-index: 2; }
.tile--st { background: var(--yellow); color: var(--ink); }
.tile--st:hover, .tile--st:focus-visible, .tile--st.is-on { background: var(--yellow-600); color: var(--ink); }
.js.reveal-ready .map:not(.is-in) .tile { opacity: 0; }
.map.is-in .tile { animation: pop .55s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 1ms); }
.map-caption { margin-top: 22px; min-height: 2.6em; font: 700 1.2rem/1.3 var(--font-display); color: var(--green); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 8px; font-size: .92rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--green); }
.legend i.st { background: var(--yellow); }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); }
.why__item { position: relative; padding: 4px clamp(20px, 3vw, 48px); }
.why__item:first-child { padding-left: 0; }
.why__item + .why__item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: repeating-linear-gradient(to bottom, var(--lane) 0 14px, transparent 14px 26px);
}
.why__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; margin-bottom: 20px; }
.why__icon .i { width: 26px; height: 26px; }
.why h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; color: var(--green-900); }
.why p { color: var(--muted); }

/* ---------- Testimonials ---------- */
.quotes__track { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.quotes__track::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 100%; scroll-snap-align: start; padding-right: clamp(0px, 4vw, 60px); }
.quote__mark { display: block; font: 900 clamp(4.5rem, 8vw, 7rem)/.7 var(--font-display); color: var(--yellow); height: .5em; margin-bottom: 12px; }
.quote__text { font: 600 clamp(1.4rem, 1rem + 1.6vw, 2.2rem)/1.3 var(--font-display); color: var(--green-900); max-width: 30em; }
.quote__who { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: var(--yellow); display: grid; place-items: center; font: 800 1.1rem var(--font-display); }
.quote__who b { display: block; font: 800 1.1rem var(--font-display); color: var(--green-900); }
.quote__role { color: var(--muted); font-size: .96rem; }
.quotes__ctrl { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.roundbtn { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--green); background: #fff; color: var(--green); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.roundbtn:hover { background: var(--green); color: var(--yellow); transform: scale(1.06); }
.roundbtn--prev .i { transform: rotate(180deg); }
.dots { display: flex; gap: 8px; margin-left: 6px; }
.dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 6px; background: var(--green-100); cursor: pointer; transition: width .35s var(--ease), background-color .2s; }
.dots button[aria-current="true"] { width: 34px; background: var(--green); }

/* ---------- CTA ---------- */
.cta {
  position: relative; isolation: isolate; background: var(--green); color: #fff; border-radius: 20px;
  padding: clamp(36px, 5vw, 68px) clamp(30px, 5vw, 72px);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta::before { content: ""; position: absolute; inset: 10px; z-index: -1; border: 2px solid rgba(255, 255, 255, .6); border-radius: 12px; pointer-events: none; }
.cta > div:first-child { flex: 1 1 420px; }
.cta__btns { flex: 0 0 auto; }
.cta h2 { font-size: clamp(1.8rem, 1.1rem + 2.4vw, 2.9rem); font-weight: 800; max-width: 20ch; }
.cta p { margin-top: 14px; color: rgba(255, 255, 255, .85); font-size: 1.15rem; max-width: 46ch; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--green-900); color: rgba(255, 255, 255, .8); font-size: .98rem; }
.footer__lane { height: 8px; background: repeating-linear-gradient(90deg, var(--yellow) 0 36px, transparent 36px 72px); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 48px); }
.footer .brand { color: #fff; }
.footer .brand__mark { --mark-shield: var(--yellow); --mark-road: var(--green-900); }
.footer .brand__sub { color: rgba(255, 255, 255, .6); }
.footer address { font-style: normal; margin-top: 22px; line-height: 1.6; }
.footer h4 { font: 800 1.05rem var(--font-display); color: #fff; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer a { color: rgba(255, 255, 255, .8); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--yellow); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.footer__contact .i { color: var(--yellow); margin-top: .25em; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .92rem; }
.footer__legal { display: flex; gap: 24px; }
.totop { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; background: none; border: 0; color: var(--yellow); padding: 4px 0; }
.totop .i { transition: transform .3s var(--ease); }
.totop:hover .i { transform: translateY(-4px); }

/* ---------- Services page ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-bottom: 44px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 20px; border-radius: 999px; border: 2px solid var(--line); background: #fff; cursor: pointer;
  font: 700 1rem var(--font-display); transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.search { position: relative; flex: 1 1 260px; max-width: 380px; }
.search .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; padding: 12px 14px 12px 44px; border: 2px solid var(--line); border-radius: 999px; font: inherit; background: #fff; transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(12, 74, 55, .15); }
.group { margin-top: 56px; }
.group:first-of-type { margin-top: 0; }
.group__head { position: relative; display: flex; align-items: baseline; gap: 14px; padding-bottom: 18px; margin-bottom: 22px; }
.group__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--lane) 0 18px, transparent 18px 34px); }
.group__head h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; color: var(--green-900); }
.group__count { color: var(--muted); font-weight: 600; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc {
  position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 24px;
  background: #fff; border: 2px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none;
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: 7px 7px 0 var(--yellow); }
.svc__icon { width: 58px; height: 58px; border-radius: 14px; background: var(--green-50); color: var(--green); display: grid; place-items: center; transition: background-color .25s, color .25s; }
.svc__icon .i { width: 28px; height: 28px; }
.svc:hover .svc__icon { background: var(--green); color: var(--yellow); }
.svc h3 { font-size: 1.28rem; font-weight: 800; color: var(--green-900); margin-bottom: 6px; }
.svc p { color: var(--muted); font-size: 1rem; }
.svc__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font: 700 .98rem var(--font-display); color: var(--green); }
.svc__go .i { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
.svc:hover .svc__go .i { transform: translateX(5px); }
.svc[hidden], .group[hidden] { display: none; }
.js .svc { animation: fade-in .4s var(--ease); }
.empty { padding: 48px 24px; text-align: center; border: 2px dashed var(--line); border-radius: 14px; color: var(--muted); }
.empty b { display: block; font: 800 1.3rem var(--font-display); color: var(--green-900); margin-bottom: 6px; }
.empty[hidden] { display: none; }

/* ---------- Service detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.prose h3 { font-size: clamp(1.4rem, 1.1rem + .9vw, 1.75rem); font-weight: 800; color: var(--green-900); margin: 2.1em 0 .6em; }
.prose > h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; max-width: 66ch; line-height: 1.75; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.15em; max-width: 66ch; line-height: 1.75; }
.prose li + li { margin-top: .4em; }
.prose > h3:first-child + p { font-size: 1.2rem; line-height: 1.65; }
.caution { display: grid; grid-template-columns: auto 1fr; gap: 18px; margin: 2.4em 0 0; padding: 24px 26px; background: var(--yellow-50); border: 2px solid var(--yellow); border-radius: 14px; }
.prose .caution h3 { font-size: 1.3rem; color: var(--ink); margin: 0 0 .5em; }
.caution--info { background: var(--green-50); border-color: var(--green); }
.caution--info .caution__icon { color: var(--green); }
.prose .deadlines { padding: 0; margin: 1.4em 0 0; max-width: none; grid-template-columns: repeat(2, 1fr); }
.prose .deadlines li + li { margin-top: 0; }
.caution p { margin: 0 0 .9em; }
.caution p:last-child { margin-bottom: 0; }
.caution__icon { width: 46px; height: 46px; }
.deadlines { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.deadlines li { padding: 14px 16px; border-radius: 12px; background: #fff; border: 2px solid var(--line); display: grid; gap: 2px; transition: border-color .3s, background-color .3s; }
.deadlines b { font: 800 1.25rem var(--font-display); color: var(--green-900); }
.deadlines small { color: var(--muted); font-size: .86rem; }
.deadlines li.is-next { border-color: var(--green); background: var(--green); }
.deadlines li.is-next b, .deadlines li.is-next small { color: #fff; }
.deadlines li.is-next small { color: var(--yellow); font-weight: 700; }

.aside { position: sticky; top: 104px; display: grid; gap: 22px; padding: 28px; background: #fff; border: 2px solid var(--green); border-radius: 16px; box-shadow: 8px 8px 0 var(--green-100); }
.aside h2 { font-size: 1.4rem; font-weight: 800; color: var(--green-900); }
.ticklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.ticklist li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.4; }
.ticklist .ticklist__lead { font: 700 1.02rem var(--font-display); opacity: .85; }
.tk { flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.tk svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 3.2; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; }
.js.reveal-ready [data-inview]:not(.is-in) .tk svg { stroke-dashoffset: 24; }
[data-inview].is-in .tk svg { stroke-dashoffset: 0; transition: stroke-dashoffset .5s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 150ms); }
.related { display: grid; gap: 4px; padding-top: 18px; border-top: 2px dashed var(--line); }
.related strong { font: 700 .95rem var(--font-display); color: var(--muted); margin-bottom: 4px; }
.related a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font: 700 1.02rem var(--font-display); text-decoration: none; }
.related a .i { transition: transform .3s var(--ease); }
.related a:hover .i { transform: translateX(5px); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.pager a { display: grid; gap: 4px; padding: 22px 24px; border: 2px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.pager a:hover { border-color: var(--green); box-shadow: 6px 6px 0 var(--yellow); transform: translateY(-3px); }
.pager small { color: var(--muted); font-weight: 600; }
.pager b { font: 800 1.2rem var(--font-display); color: var(--green-900); }
.pager .next { text-align: right; }

/* ---------- About: values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value {
  position: relative; isolation: isolate; padding: clamp(26px, 3vw, 36px); background: #fff; border-radius: 16px;
  border: 2px solid var(--green); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.value::before { content: ""; position: absolute; inset: 6px; z-index: -1; border: 1.5px solid var(--green-100); border-radius: 10px; pointer-events: none; }
.value:hover { transform: translateY(-5px); box-shadow: 8px 8px 0 var(--yellow); }
.value h3 { font-size: 1.4rem; font-weight: 800; color: var(--green-900); margin-bottom: 10px; }
.value p { color: var(--muted); }

/* ---------- Packages ---------- */
.est { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(26px, 3.5vw, 44px); background: var(--paper); border-radius: 18px; margin-bottom: clamp(28px, 4vw, 44px); }
.est h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; color: var(--green-900); }
.est[hidden] { display: none; }
.est__ctl { margin-top: 22px; }
.est__val { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; font: 800 3rem/1 var(--font-display); color: var(--green); font-variant-numeric: tabular-nums; }
.est__val small { font: 600 1.05rem var(--font-body); color: var(--muted); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; border-radius: 6px; cursor: pointer; background: linear-gradient(to right, var(--green) var(--fill, 0%), var(--green-100) var(--fill, 0%)); }
.range:focus-visible { outline: 3px solid var(--green); outline-offset: 6px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--green-900); box-shadow: 0 3px 0 var(--green-900); cursor: grab; }
.range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--green-900); box-shadow: 0 3px 0 var(--green-900); cursor: grab; }
.range::-moz-range-track { background: transparent; }
.est__ticks { display: flex; justify-content: space-between; margin-top: 10px; font-size: .88rem; color: var(--muted); }
.est__out { padding: 26px; background: #fff; border: 2px solid var(--green); border-radius: 16px; display: grid; gap: 6px; box-shadow: 8px 8px 0 var(--green-100); }
.est__tier { font: 700 1rem var(--font-display); color: var(--muted); }
.est__total { font: 800 clamp(2.4rem, 1.6rem + 2.6vw, 3.5rem)/1 var(--font-display); color: var(--green-900); font-variant-numeric: tabular-nums; }
.est__total small { font: 600 1rem var(--font-body); color: var(--muted); }
.est__note { font-size: .92rem; color: var(--muted); margin: 6px 0 12px; line-height: 1.5; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 3vw, 38px);
  background: #fff; border: 2px solid var(--line); border-radius: 18px;
  transition: border-color .3s, box-shadow .35s var(--ease), transform .35s var(--ease);
}
.plan__tag { align-self: flex-start; padding: 4px 14px; border-radius: 999px; background: var(--green-50); color: var(--green); font: 700 .95rem var(--font-display); }
.plan h3 { font-size: 2rem; font-weight: 800; color: var(--green-900); }
.plan__price { font: 800 3.4rem/1 var(--font-display); color: var(--green-900); font-variant-numeric: tabular-nums; }
.plan__price small { font: 600 1rem var(--font-body); color: var(--muted); }
.plan .ticklist { flex: 1; align-content: start; }
.plan--feat { background: var(--green); border-color: var(--green); color: #fff; }
.plan--feat::before { content: ""; position: absolute; inset: 8px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 12px; pointer-events: none; }
.plan--feat h3, .plan--feat .plan__price { color: #fff; }
.plan--feat .plan__price small { color: rgba(255, 255, 255, .75); }
.plan--feat .plan__tag { background: var(--yellow); color: var(--ink); }
.plan--feat .tk { background: var(--yellow); }
.plan--feat .tk svg { stroke: var(--ink); }
.plan.is-match { border-color: var(--yellow); box-shadow: 0 0 0 5px rgba(255, 198, 26, .55), 0 24px 40px -24px rgba(6, 42, 31, .5); transform: translateY(-6px); }
.plan--feat.is-match { border-color: var(--yellow); }

.compare-wrap { position: relative; overflow-x: auto; border: 2px solid var(--line); border-radius: 16px; background: #fff; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--green); color: #fff; font: 800 1.1rem var(--font-display); border-bottom: 0; }
.compare thead th:nth-child(3) { background: var(--green-900); color: var(--yellow); }
.compare tbody td:first-child { font-weight: 600; }
.compare tbody td:nth-child(3) { background: var(--green-50); }
.compare tbody tr { transition: background-color .2s; }
.compare tbody tr:hover td { background: var(--yellow-50); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .no { color: #66766D; font-weight: 700; }
.compare .tick { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); }
.compare .tick svg { width: 15px; height: 15px; stroke: #fff; stroke-width: 3.2; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; }
.js.reveal-ready .compare:not(.is-in) .tick svg { stroke-dashoffset: 24; }
.compare.is-in .tick svg { stroke-dashoffset: 0; transition: stroke-dashoffset .5s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }

.faq { max-width: 860px; }
.faq details { border-bottom: 2px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font: 700 clamp(1.1rem, 1rem + .5vw, 1.3rem)/1.3 var(--font-display); color: var(--green-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--green); }
.faq__chev { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; transition: transform .35s var(--ease), background-color .2s, color .2s; }
.faq details[open] .faq__chev { transform: rotate(180deg); background: var(--green); color: var(--yellow); }
.faq details.is-closing .faq__chev { transform: none; background: var(--green-50); color: var(--green); }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 0 26px; color: var(--muted); max-width: 66ch; line-height: 1.7; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cinfo { display: grid; gap: 26px; }
.cinfo__item { display: flex; gap: 18px; align-items: flex-start; }
.cinfo__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--green); color: var(--yellow); display: grid; place-items: center; }
.cinfo__item b { display: block; font: 800 1.1rem var(--font-display); color: var(--green-900); margin-bottom: 2px; }
.cinfo__item a { font-weight: 600; overflow-wrap: anywhere; }
.cinfo__item > div { min-width: 0; }
.cinfo__item address { font-style: normal; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--green-50); color: var(--green); font: 700 .92rem var(--font-display); }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #9AA8A0; }
.status.is-open i { background: #1FAE63; animation: pulse-g 2.2s infinite; }
.status.is-closed { background: #EEF0EE; color: var(--muted); }
.mapbox { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 16px; border: 2px solid var(--line); background: var(--paper); display: grid; place-items: center; }
.mapbox::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 74, 55, .07) 1px, transparent 1px) 0 0 / 36px 36px, linear-gradient(rgba(12, 74, 55, .07) 1px, transparent 1px) 0 0 / 36px 36px; }
.mapbox__in { position: relative; display: grid; gap: 12px; justify-items: center; text-align: center; padding: 20px; }
.mapbox__in .i { width: 34px; height: 34px; color: var(--green); }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapbox__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.formcard { position: relative; padding: clamp(26px, 3.5vw, 44px); background: #fff; border: 2px solid var(--green); border-radius: 20px; box-shadow: 10px 10px 0 var(--green-100); }
.formcard h2 { font-size: 1.7rem; font-weight: 800; color: var(--green-900); margin-bottom: 6px; }
.formcard > p { color: var(--muted); margin-bottom: 26px; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font: 700 .98rem var(--font-display); color: var(--green-900); }
.field .opt { font-weight: 500; color: var(--muted); }
.control {
  width: 100%; padding: 13px 15px; font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
select.control { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C4A37' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; padding-right: 44px; }
textarea.control { resize: vertical; min-height: 116px; }
.control:hover { border-color: #9DB8A9; }
.control:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(12, 74, 55, .16); }
.field.is-invalid .control { border-color: var(--red); }
.field.is-invalid .control:focus { box-shadow: 0 0 0 4px rgba(196, 58, 38, .16); }
.field__err { display: none; color: #A22A18; font-size: .92rem; font-weight: 600; }
.field.is-invalid .field__err { display: block; animation: shake .35s; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { display: none; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-note.show { display: block; }
.form-note.error { background: #FCE9E5; color: #8E2A1A; }
.form-note.demo { background: var(--yellow-50); color: #6B5000; border: 2px solid var(--yellow); }
.sent { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 36px 8px; }
.sent[hidden] { display: none; }
.sent svg { width: 96px; height: 96px; }
.sent .c { fill: none; stroke: var(--green); stroke-width: 5; stroke-dasharray: 289; stroke-dashoffset: 289; animation: draw-c .8s .1s var(--ease) forwards; }
.sent .t { fill: none; stroke: var(--green); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw-c .5s .75s var(--ease) forwards; }
.sent h2 { margin: 0; }
.sent p { color: var(--muted); max-width: 40ch; }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 104px; display: grid; gap: 2px; }
.toc b { font: 800 1.05rem var(--font-display); margin-bottom: 8px; color: var(--green-900); }
.toc a { padding: 7px 0 7px 14px; border-left: 3px solid var(--line); color: var(--muted); text-decoration: none; font-size: .95rem; line-height: 1.35; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--green); }
.toc a.is-on { color: var(--green); border-color: var(--yellow); font-weight: 700; }
.notice { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px 24px; margin-bottom: 44px; background: var(--yellow-50); border: 2px solid var(--yellow); border-radius: 14px; }
.notice p { margin: 0; max-width: none; }
.notice b.h { display: block; font: 800 1.2rem var(--font-display); margin-bottom: 6px; }
.legal .prose h3 { scroll-margin-top: 110px; }
.legal .prose > h3:first-child + p { font-size: inherit; line-height: 1.75; }

/* ---------- 404 ---------- */
.lost { overflow-x: clip; min-height: 62vh; display: grid; place-items: center; padding-block: clamp(48px, 8vw, 96px); background: var(--paper); }
.sign {
  position: relative; isolation: isolate; width: min(100%, 720px); padding: clamp(36px, 6vw, 64px); text-align: center;
  background: var(--green); color: #fff; border-radius: 22px; box-shadow: 0 30px 50px -28px rgba(6, 42, 31, .7);
  animation: sign-in .9s var(--ease) both;
}
.sign::before { content: ""; position: absolute; inset: 12px; z-index: -1; border: 3px solid rgba(255, 255, 255, .8); border-radius: 14px; }
.sign h1 { font-size: clamp(5rem, 3rem + 12vw, 10rem); font-weight: 900; line-height: .9; letter-spacing: -.02em; color: var(--yellow); }
.sign p { margin: 20px auto 30px; font-size: 1.25rem; max-width: 28em; color: rgba(255, 255, 255, .9); }
.sign__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.sign__exit { display: inline-block; margin-bottom: 18px; padding: 6px 16px; background: #fff; color: var(--green-900); border-radius: 6px; font: 800 1rem var(--font-display); }

/* ---------- Reveal (enabled only once script.js is running) ---------- */
.js.reveal-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes cab-in { from { opacity: 0; transform: translateY(40px) rotate(8deg); } to { opacity: 1; transform: rotate(2deg); } }
@keyframes thump { 0%, 100% { translate: 0 0; } 40% { translate: 0 5px; } 70% { translate: 0 -1px; } }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-13deg) scale(2.4); } 55% { opacity: 1; transform: rotate(-13deg) scale(.92); } 100% { opacity: .92; transform: rotate(-13deg) scale(1); } }
@keyframes tick-bg { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@keyframes draw-c { to { stroke-dashoffset: 0; } }
@keyframes chip-out { to { opacity: 0; } }
@keyframes chip-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 198, 26, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 198, 26, 0); } }
@keyframes pulse-g { 0% { box-shadow: 0 0 0 0 rgba(31, 174, 99, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(31, 174, 99, 0); } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@keyframes sign-in { from { opacity: 0; transform: translateY(-28px) scale(.97); } to { opacity: 1; transform: none; } }

::view-transition-old(root) { animation: fade-in .18s reverse both; }
::view-transition-new(root) { animation: fade-in .3s both; }
::view-transition-group(site-header) { animation-duration: 0s; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .detail { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .est { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .states { grid-template-columns: minmax(0, 1fr); }
  .legal { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; margin-bottom: 8px; }
}
@media (max-width: 900px) {
  .panels { grid-template-columns: minmax(0, 1fr); }
  .panel--feature { grid-row: auto; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .why { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .why__item { padding: 0; }
  .why__item + .why__item::before { left: 0; right: 0; top: -18px; bottom: auto; width: auto; height: 4px; background: repeating-linear-gradient(90deg, var(--lane) 0 14px, transparent 14px 26px); }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .deadlines { grid-template-columns: repeat(2, 1fr); }
  .stats__row { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .stat { padding-left: clamp(16px, 4vw, 32px); }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(odd)::before { display: none; }
  .phero::after { opacity: .5; width: 70%; }
}
@media (max-width: 640px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .topbar__hours, .topbar a { display: none; }
  .topbar__in { justify-content: center; text-align: center; }
  .cta { flex-direction: column; align-items: flex-start; }
  .cta__btns, .cta__btns .btn { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .pager { grid-template-columns: minmax(0, 1fr); }
  .cab__stamp { right: -6px; font-size: 1.7rem; }
  .brand__sub { letter-spacing: .12em; }
  .quote__mark { margin-bottom: 8px; }
  .caution { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .brand__sub { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js.reveal-ready [data-reveal] { opacity: 1; transform: none; }
  .js.reveal-ready .map:not(.is-in) .tile { opacity: 1; }
  .cab__chip .st-a { opacity: 0; }
}
@media print {
  .topbar, .site-header, .dock, .cta, .footer__lane, .mnav { display: none !important; }
  .hero, .phero { background: #fff; color: #000; }
}
