/* ==========================================================================
   Components
   ========================================================================== */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-icon { width: 16px; height: 16px; flex: none; }

.btn-primary {
  background: var(--teal-800);
  color: #fff;
  border-color: var(--teal-800);
}
.btn-primary:hover { background: var(--teal-900); border-color: var(--teal-900); }

.btn-secondary {
  background: transparent;
  color: var(--teal-800);
  border-color: var(--teal-800);
}
.btn-secondary:hover { background: var(--teal-tint); }

.btn-accent {
  background: var(--sand-500);
  color: var(--ink);
  border-color: var(--sand-500);
}
.btn-accent:hover { background: var(--sand-400); border-color: var(--sand-400); }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--teal-800);
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s ease, gap 0.2s ease;
}
.link-arrow:hover { border-color: var(--teal-800); gap: 9px; }
.link-arrow svg { width: 15px; height: 15px; }

/* --- Cards --- */
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.card--icon { flex: none; align-self: flex-start; }
.card .link-arrow { margin-top: auto; padding-top: var(--space-md); align-self: flex-start; }
.card > .chip, .card .card__hover-tag { align-self: flex-start; }
a.card:hover, .card.is-interactive:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--border-tinted);
  transform: translateY(-2px);
}
.card--stripe {
  border-left: 3px solid var(--sand-500);
}
.card--icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--teal-tint);
  color: var(--teal-800);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-md);
}
.card--icon svg { width: 22px; height: 22px; }
.card--icon--sand { background: var(--sand-100); color: var(--sand-900); }
.card h3 { margin-bottom: 0.4em; font-size: 19px; }
.card p { color: var(--muted); font-size: 15px; }

/* --- Badges / chips --- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  background: var(--teal-tint);
  color: var(--teal-800);
  border: 1px solid var(--border-tinted);
}
.chip--sand { background: var(--sand-100); color: var(--sand-900); border-color: var(--sand-400); }

/* --- Header / Nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  border-top: 3px solid var(--teal-800);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: var(--space-lg);
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wordmark__logo {
  height: 34px;
  width: auto;
  display: block;
}
.wordmark__logo--footer { height: 32px; }
.wordmark__mark {
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--teal-800);
  display: inline-block;
  position: relative;
}
.wordmark__mark::after {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--sand-500);
}

.main-nav { display: none; }
.main-nav__list { display: flex; align-items: center; gap: clamp(0.85rem, 1.6vw, 1.5rem); }
.main-nav__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--body);
  padding: 10px 1px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav__link:hover, .main-nav__item.is-open .main-nav__link { color: var(--teal-800); border-color: var(--teal-800); }
.main-nav__link svg { width: 13px; height: 13px; transition: transform 0.2s ease; }
.main-nav__item.is-open .main-nav__link svg { transform: rotate(180deg); }

.main-nav__item { position: relative; }
.mega {
  /* Starts flush against the nav link (top:100%, no gap) so the pointer
     never crosses dead space between link and panel — the visible offset
     comes from this element's own padding-top instead, keeping the whole
     region (link -> gap -> panel) continuously hoverable. */
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 90vw);
  padding-top: 14px;
  display: none;
  z-index: 70;
}
.mega__panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-overlay);
  padding: var(--space-lg);
}
.main-nav__item.is-open .mega { display: block; }
/* Hover reveal for mouse/trackpad users — click-toggle (is-open, above)
   remains the path for touch and keyboard users, handled in main.js. */
@media (hover: hover) and (pointer: fine) {
  .main-nav__item:hover .mega { display: block; }
  .main-nav__item:hover .main-nav__link { color: var(--teal-800); border-color: var(--teal-800); }
  .main-nav__item:hover .main-nav__link svg { transform: rotate(180deg); }
}
.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 24px; }
.mega__link {
  display: block;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--body);
}
.mega__link:hover { background: var(--background-alt); color: var(--teal-800); }
.mega__link small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.mega__foot {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.header-actions { display: flex; align-items: center; gap: var(--space-md); }
.header-cta { display: none; }
.nav-toggle {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (min-width: 1400px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--surface);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  padding: var(--space-lg);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-lg); }
.mobile-nav__list { display: flex; flex-direction: column; }
.mobile-nav__link {
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 17px;
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-nav__sub { display: none; padding-left: var(--space-md); }
.mobile-nav__item.is-open .mobile-nav__sub { display: block; }
.mobile-nav__sub a { display: block; padding: 10px 4px; font-size: 15px; color: var(--muted); font-weight: 500; }
.mobile-nav__cta { margin-top: var(--space-lg); }
body.nav-locked { overflow: hidden; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 55;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 10px var(--gutter);
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(21,32,30,0.06);
}
@media (min-width: 1400px) {
  .sticky-cta { display: none; }
}

/* --- Hero --- */
.hero {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  position: relative;
  overflow: hidden;
}
/* Higher specificity than the standalone .pattern-grid rule below, so the
   hero keeps its grid-line texture AND gets a soft brand-sand wash — a
   subtle spot of the warm-sand token behind the hero content instead of
   an all-white hero section. */
.hero.pattern-grid {
  background-image:
    radial-gradient(ellipse 60% 60% at 100% 0%, var(--sand-100) 0%, transparent 70%),
    radial-gradient(ellipse 50% 45% at 0% 100%, var(--sand-100) 0%, transparent 72%),
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: auto, auto, 28px 28px, 28px 28px;
}
.hero__grid {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 980px) {
  .hero__grid--split { grid-template-columns: 1.1fr 0.9fr; }
}
.hero__visual {
  background: linear-gradient(155deg, var(--teal-800), var(--teal-900));
  border-radius: var(--radius-xl);
  min-height: 320px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__form-panel {
  box-shadow: var(--shadow-overlay);
  border-top: 4px solid var(--sand-500);
}
.hero__fence-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 32px;
  display: block;
}
@media (min-width: 700px) {
  .hero__fence-line { height: 44px; }
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin-top: var(--space-lg); }
.hero__meta--left { justify-content: flex-start !important; }
.hero__meta-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.hero__meta-item svg { width: 16px; height: 16px; color: var(--teal-700); flex: none; }
.hero__meta-item:nth-child(2n) svg { color: var(--sand-700); }

/* Decorative grid pattern (abstract territory-grid motif, CSS only) */
.pattern-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.pattern-grid-dark {
  background-image:
    linear-gradient(rgba(11,93,80,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,93,80,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* --- CTA band --- */
.cta-band {
  background: var(--teal-900);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  color: #fff;
  text-align: center;
}
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.78); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; margin-top: var(--space-lg); }

/* --- Sections rhythm helpers --- */
.section-head { max-width: 640px; margin-bottom: var(--space-xl); }
.section-head.text-center { margin-left: auto; margin-right: auto; }

/* --- Pricing table --- */
.pricing-grid { display: grid; gap: var(--space-lg); }
@media (min-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.price-card--featured {
  border-color: var(--teal-800);
  box-shadow: var(--shadow-overlay);
  position: relative;
}
.price-card__badge {
  position: absolute; top: -13px; left: var(--space-lg);
  background: var(--sand-900); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: var(--radius-full);
}
.price-card__price { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--ink); margin: var(--space-sm) 0; }
.price-card__price span { font-size: 14px; font-weight: 500; color: var(--muted); }
.price-card__features { margin: var(--space-md) 0; flex: 1; }
.price-card__features li { display: flex; gap: 8px; padding: 7px 0; font-size: 14.5px; color: var(--body); }
.price-card__features svg { width: 17px; height: 17px; color: var(--teal-700); flex: none; margin-top: 2px; }

/* --- FAQ accordion --- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) 2px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink);
  cursor: pointer;
}
.faq-item__q svg { width: 18px; height: 18px; color: var(--teal-800); flex: none; transition: transform 0.2s ease; }
.faq-item.is-open .faq-item__q svg { transform: rotate(45deg); }
.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a-inner { overflow: hidden; }
.faq-item__a p { padding: 0 2px var(--space-md); color: var(--muted); font-size: 15px; }

/* --- Forms --- */
.field { margin-bottom: var(--space-md); }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal-800);
  box-shadow: 0 0 0 3px rgba(11,93,80,0.15);
  outline: none;
}
.field-row { display: grid; gap: var(--space-md); }
@media (min-width: 640px) {
  .field-row--2 { grid-template-columns: repeat(2, 1fr); }
}

.check-row { display: flex; align-items: flex-start; gap: 10px; margin: var(--space-sm) 0; }
.check-row input[type="checkbox"], .check-row input[type="radio"] {
  margin-top: 3px;
  width: 18px; height: 18px;
  accent-color: var(--teal-800);
  flex: none;
}
.check-row label { font-size: 13.5px; color: var(--body); font-weight: 400; }
.check-row a { color: var(--teal-800); font-weight: 600; text-decoration: underline; }

.chip-toggle-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-toggle {
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--surface);
  color: var(--body);
  cursor: pointer;
}
.chip-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip-toggle:has(input:checked) {
  background: var(--teal-tint);
  border-color: var(--teal-800);
  color: var(--teal-800);
}
.chip-toggle:has(input:focus-visible) { outline: 2.5px solid var(--teal-800); outline-offset: 2px; }

/* Multi-step form */
.form-steps { display: flex; gap: 8px; margin-bottom: var(--space-lg); }
.form-steps__dot { flex: 1; height: 4px; border-radius: var(--radius-full); background: var(--border); }
.form-steps__dot.is-active, .form-steps__dot.is-done { background: var(--teal-800); }
.form-step { display: none; }
.form-step.is-active { display: block; }
.form-nav { display: flex; justify-content: space-between; margin-top: var(--space-lg); gap: var(--space-sm); }

.form-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
}
@media (min-width: 700px) {
  .form-panel { padding: var(--space-xl); }
}

.confirmation-panel {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}
.confirmation-panel__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  background: var(--teal-tint);
  color: var(--teal-800);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-md);
}

/* --- Table (comparison) --- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
table.compare th { background: var(--background-alt); font-family: var(--font-display); color: var(--ink); }
table.compare tr:last-child td { border-bottom: none; }

/* --- Breadcrumbs --- */
.breadcrumbs { font-size: 13px; color: var(--muted); padding: var(--space-md) 0; }
.breadcrumbs a { color: var(--muted); font-weight: 500; }
.breadcrumbs a:hover { color: var(--teal-800); }
.breadcrumbs__sep { margin: 0 8px; color: var(--border-tinted); }

/* --- Footer --- */
.site-footer { background: var(--teal-900); color: rgba(255,255,255,0.72); padding-top: var(--space-2xl); border-top: 3px solid var(--sand-500); }
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-md); }
.footer-grid { display: grid; gap: var(--space-lg); padding-bottom: var(--space-2xl); }
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
}
.footer-grid ul li { margin-bottom: 10px; font-size: 14px; }
.footer-brand p { font-size: 14px; max-width: 32ch; margin-top: var(--space-sm); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: var(--space-md) 0;
  display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: space-between; align-items: center;
  font-size: 13px;
}

/* --- Exit intent modal --- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(21,32,30,0.55);
  display: none;
  align-items: center; justify-content: center;
  padding: var(--space-lg);
}
.modal-overlay.is-open { display: flex; }
.modal-panel {
  background: var(--surface);
  border-radius: var(--radius-xl);
  max-width: 460px;
  width: 100%;
  padding: var(--space-xl);
  box-shadow: var(--shadow-overlay);
  position: relative;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
}

/* --- Content / prose pages (blog, guides, legal) --- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; font-size: 26px; }
.prose h3 { margin-top: 1.4em; font-size: 20px; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1em; color: var(--body); }
.prose ul, .prose ol { padding-left: 1.4em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--teal-800); text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote {
  border-left: 3px solid var(--sand-500);
  padding-left: var(--space-md);
  color: var(--muted);
  font-style: italic;
  margin: 1.5em 0;
}

/* --- Utility --- */
.divider { height: 1px; background: var(--border); border: none; margin: var(--space-xl) 0; }
.icon-list li { display: flex; gap: 10px; padding: 8px 0; font-size: 15px; }
.icon-list svg { width: 18px; height: 18px; color: var(--teal-700); flex: none; margin-top: 2px; }
.noscript-banner { background: var(--sand-100); color: var(--sand-900); text-align: center; padding: 10px; font-size: 13.5px; }

/* ==========================================================================
   Homepage v2 — immersive dark hero, service architecture, sector cards,
   process pipeline, guide previews. Scoped to these new classes so no
   existing page (which reuses .hero, .card, etc.) is affected.
   ========================================================================== */
.section-head__meta { font-family: var(--font-body); font-size: 13.5px; font-weight: 700; color: var(--teal-800); white-space: nowrap; }

/* --- Dark immersive hero --- */
.home-hero {
  position: relative;
  overflow: hidden;
  background: var(--teal-800);
  color: #fff;
  padding-top: var(--space-2xl);
  padding-bottom: 0;
  border-bottom: 1px solid var(--teal-700);
}
.home-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.home-hero__bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 100% 0%, rgba(216,180,134,0.24), transparent 65%),
    radial-gradient(ellipse 60% 55% at 0% 100%, rgba(6,61,53,0.5), transparent 60%),
    linear-gradient(135deg, var(--teal-900) 0%, var(--teal-800) 55%, var(--teal-700) 100%);
}
.home-hero__bg-pattern {
  position: absolute; inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 24px 24px;
}
.home-hero__inner { position: relative; z-index: 1; }
.home-hero__grid { display: grid; gap: var(--space-xl); align-items: center; }
@media (min-width: 1024px) { .home-hero__grid { grid-template-columns: 1.15fr 0.85fr; } }

.home-badge {
  display: inline-flex; align-items: center; gap: var(--space-xs);
  max-width: 100%; box-sizing: border-box;
  padding: 7px 16px 7px 12px;
  background: var(--sand-900); border: 1px solid rgba(216,180,134,0.5);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.home-badge__dot { width: 8px; height: 8px; border-radius: 999px; background: var(--sand-500); flex: none; animation: home-pulse 2.2s ease-in-out infinite; }
.home-badge__text { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
@keyframes home-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.home-hero h1 { color: #fff; margin-top: var(--space-md); text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.home-hero h1 .accent { color: var(--sand-500); }
.home-hero__lede { font-size: 18px; line-height: 1.65; color: rgba(255,255,255,0.88); margin-top: var(--space-md); max-width: 62ch; }

.home-pillars { display: grid; grid-template-columns: 1fr; gap: var(--space-sm); margin-top: var(--space-lg); max-width: 640px; }
@media (min-width: 640px) { .home-pillars { grid-template-columns: 1fr 1fr; } }
.home-pillar {
  display: flex; align-items: flex-start; gap: var(--space-sm);
  padding: var(--space-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.home-pillar:hover { background: rgba(255,255,255,0.09); border-color: rgba(216,180,134,0.5); }
.home-pillar__icon {
  width: 34px; height: 34px; flex: none; margin-top: 2px;
  border-radius: var(--radius-md);
  background: rgba(216,180,134,0.18);
  border: 1px solid rgba(216,180,134,0.3);
  color: var(--sand-500);
  display: flex; align-items: center; justify-content: center;
}
.home-pillar__icon svg { width: 18px; height: 18px; }
.home-pillar__title { font-family: var(--font-body); font-size: 14px; font-weight: 700; color: #fff; display: block; }
.home-pillar__text { font-family: var(--font-body); font-size: 12.5px; color: rgba(255,255,255,0.68); display: block; margin-top: 2px; line-height: 1.45; }

.home-hero__links { margin-top: var(--space-lg); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); }
.home-hero__links a { font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--sand-500); display: inline-flex; align-items: center; gap: 4px; }
.home-hero__links a:hover { color: #fff; }
.home-hero__links a.is-quiet { color: rgba(255,255,255,0.75); font-weight: 600; }
.home-hero__links a.is-quiet:hover { color: #fff; }
.home-hero__links .sep { color: rgba(255,255,255,0.3); }

/* Prestige lead-capture card */
.home-card {
  position: relative;
  background: var(--surface);
  color: var(--body);
  border-radius: var(--radius-xl);
  border: 2px solid rgba(216,180,134,0.4);
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.45);
  padding: var(--space-lg);
  overflow: hidden;
}
.home-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--sand-500), var(--teal-800), var(--sand-500));
}
.home-card__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); flex-wrap: wrap; }
.home-card__kicker {
  font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--sand-900); background: var(--sand-100); border: 1px solid var(--sand-400);
  padding: 3px 9px; border-radius: var(--radius-sm);
}
.home-card__live { font-family: var(--font-body); font-size: 11px; font-weight: 700; color: var(--teal-800); display: inline-flex; align-items: center; gap: 5px; }
.home-card__live .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--teal-800); animation: home-pulse 2.2s ease-in-out infinite; }
.home-card h3 { margin-top: var(--space-xs); }
.home-card__sub { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.home-card__note { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: var(--space-xs); }

/* Qualitative trust bar under the hero (no invented figures — see components.js statRow rule) */
.home-trust {
  position: relative; z-index: 1;
  margin-top: var(--space-2xl);
  border-top: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  padding: var(--space-md) 0;
}
.home-trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); text-align: center; }
@media (min-width: 700px) { .home-trust__grid { grid-template-columns: repeat(4, 1fr); } }
.home-trust__item { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-xs); }
.home-trust__item + .home-trust__item { border-left: 1px solid rgba(255,255,255,0.1); }
.home-trust__item svg { width: 20px; height: 20px; color: var(--sand-500); margin-bottom: 6px; }
.home-trust__item span { font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: rgba(255,255,255,0.85); }

/* --- Service architecture: spotlight + supporting grid --- */
.arch-spotlight {
  background: var(--teal-800);
  color: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--teal-900);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.arch-spotlight__grid { display: grid; gap: var(--space-xl); align-items: center; }
@media (min-width: 980px) { .arch-spotlight__grid { grid-template-columns: 1.6fr 1fr; } }
.arch-spotlight__tag {
  display: inline-flex; align-items: center; padding: 4px 12px;
  background: var(--sand-900); color: #fff; border: 1px solid rgba(216,180,134,0.4);
  border-radius: var(--radius-sm); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.arch-spotlight h3 { color: #fff; margin-top: var(--space-sm); }
.arch-spotlight p.lede { color: rgba(255,255,255,0.88); margin-top: var(--space-xs); }
.arch-spotlight__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); margin-top: var(--space-lg); }
.arch-spotlight__stat { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-sm); padding: var(--space-sm); }
.arch-spotlight__stat span { display: block; }
.arch-spotlight__stat .k { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sand-500); }
.arch-spotlight__stat .v { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: #fff; margin-top: 2px; }
.arch-spotlight__side { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: var(--space-md); }
.arch-spotlight__side-label { font-size: 13px; font-weight: 700; color: var(--sand-500); }
.arch-spotlight__side p { font-size: 13.5px; color: rgba(255,255,255,0.82); margin-top: 6px; }
.arch-spotlight__side-foot { display: flex; align-items: center; justify-content: space-between; margin-top: var(--space-sm); padding-top: var(--space-sm); border-top: 1px solid rgba(255,255,255,0.12); font-size: 11px; }
.arch-spotlight__side-foot .l { color: rgba(255,255,255,0.7); }
.arch-spotlight__side-foot .r { color: var(--sand-500); font-weight: 700; }

.svc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-lg); display: flex; flex-direction: column; justify-content: space-between; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.svc-card:hover { border-color: rgba(216,180,134,0.6); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.svc-card__icon { width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--background-alt); border: 1px solid var(--border); color: var(--teal-800); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-sm); }
.svc-card__icon svg { width: 21px; height: 21px; }
.svc-card__tag { font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--sand-900); }
.svc-card h4 { font-size: 17px; margin-top: 4px; }
.svc-card p { color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.5; }
.svc-card__foot { margin-top: var(--space-md); padding-top: var(--space-sm); border-top: 1px solid var(--border-tinted); display: flex; align-items: center; justify-content: space-between; color: var(--teal-800); font-size: 13.5px; font-weight: 700; }
.svc-card__foot svg { width: 15px; height: 15px; }

/* --- Sector (industry) cards --- */
.sector-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-lg); display: flex; flex-direction: column; justify-content: space-between; }
.sector-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-sm); }
.sector-card__head svg { width: 26px; height: 26px; color: var(--teal-800); }
.sector-card__tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; color: var(--sand-900); background: var(--sand-100); border: 1px solid var(--sand-400); padding: 3px 9px; border-radius: var(--radius-sm); white-space: nowrap; }
.sector-card h3 { font-size: 18px; margin-top: var(--space-sm); }
.sector-card p { color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.55; }
.sector-card__callout { margin-top: var(--space-md); padding: var(--space-sm); background: var(--background-alt); border: 1px solid var(--border); border-radius: var(--radius-md); }
.sector-card__callout .l { font-size: 11.5px; color: var(--muted); font-weight: 600; display: block; }
.sector-card__callout .v { font-size: 13px; color: var(--teal-800); font-weight: 700; display: block; margin-top: 2px; }

/* --- 4-stage process cards --- */
.stage-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-lg); display: flex; flex-direction: column; justify-content: space-between; }
.stage-card__num { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--sand-500); }
.stage-card h3 { font-size: 18px; margin-top: var(--space-sm); }
.stage-card p { color: var(--muted); font-size: 13.5px; margin-top: 6px; line-height: 1.5; }
.stage-card ul { margin-top: var(--space-md); padding-top: var(--space-sm); border-top: 1px solid var(--border-tinted); list-style: none; padding-left: 0; }
.stage-card li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--body); padding: 3px 0; }
.stage-card li svg { width: 15px; height: 15px; color: var(--teal-800); flex: none; margin-top: 2px; }

/* --- Guide preview cards --- */
.guide-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.guide-card:hover { border-color: rgba(216,180,134,0.6); box-shadow: var(--shadow-card); }
.guide-card__body { padding: var(--space-lg); }
.guide-card__meta { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; }
.guide-card__meta .cat { color: #fff; background: var(--sand-900); padding: 3px 9px; border-radius: var(--radius-sm); letter-spacing: 0.04em; text-transform: uppercase; }
.guide-card__meta .rt { color: var(--muted); font-weight: 600; }
.guide-card h3 { font-size: 17px; margin-top: var(--space-xs); line-height: 1.35; }
.guide-card p { color: var(--muted); font-size: 13.5px; margin-top: 6px; line-height: 1.5; }
.guide-card__foot { padding: 0 var(--space-lg) var(--space-lg); }
.guide-card__foot a { color: var(--teal-800); font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }

/* ==========================================================================
   Color-highlight hover cards (services / industries / locations index grids)
   ========================================================================== */
.card--accent-hover { position: relative; overflow: hidden; }
.card--accent-hover::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--card-accent, var(--teal-700));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.28s ease;
}
a.card--accent-hover:hover::before, .card--accent-hover.is-interactive:hover::before { transform: scaleX(1); }
a.card--accent-hover:hover, .card--accent-hover.is-interactive:hover {
  border-color: var(--card-accent, var(--teal-700));
}
a.card--accent-hover:hover .card--icon, .card--accent-hover.is-interactive:hover .card--icon {
  background: var(--card-accent, var(--teal-700));
  color: #fff;
}
a.card--accent-hover:hover h3, .card--accent-hover.is-interactive:hover h3 { color: var(--card-accent, var(--teal-700)); }
.card--accent-hover:nth-of-type(6n+1) { --card-accent: var(--teal-700); }
.card--accent-hover:nth-of-type(6n+2) { --card-accent: var(--sand-700); }
.card--accent-hover:nth-of-type(6n+3) { --card-accent: var(--teal-800); }
.card--accent-hover:nth-of-type(6n+4) { --card-accent: var(--sand-900); }
.card--accent-hover:nth-of-type(6n+5) { --card-accent: var(--teal-700); }
.card--accent-hover:nth-of-type(6n) { --card-accent: var(--sand-700); }
.card__hover-tag {
  display: inline-block; margin-top: 0.6rem; font-size: 12px; font-weight: 700;
  color: var(--card-accent, var(--teal-700));
}

/* ==========================================================================
   Deep-dive long-form content sections (service / industry / solution /
   location pages) — structured, scannable subheads rather than a wall of
   text, with a subtle left accent rail that cycles the brand colors.
   ========================================================================== */
.deep-dive { display: flex; flex-direction: column; gap: var(--space-xl); }
.deep-dive__item {
  padding-left: var(--space-lg);
  border-left: 3px solid var(--border-tinted);
}
.deep-dive__item:nth-child(3n+2) { border-left-color: var(--sand-400); }
.deep-dive__item:nth-child(3n) { border-left-color: var(--teal-700); }
.deep-dive__item h3 { font-size: 20px; margin-bottom: 0.5rem; }
.deep-dive__item p { color: var(--body); line-height: 1.7; margin-top: 0.75rem; }
.deep-dive__item p:first-of-type { margin-top: 0; }
.deep-dive__item a { color: var(--teal-800); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }

/* ==========================================================================
   Locations page redesign
   ========================================================================== */
.locations-hero {
  position: relative; overflow: hidden;
  background: var(--teal-800); color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
}
.locations-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(216,180,134,0.2), transparent 65%),
    radial-gradient(ellipse 55% 50% at 0% 100%, rgba(6,61,53,0.5), transparent 60%);
}
.locations-hero__inner { position: relative; z-index: 1; }
.locations-hero h1, .locations-hero p { color: #fff; }
.locations-hero .eyebrow { color: var(--sand-400); }
.locations-hero__stats { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin-top: var(--space-lg); }
.locations-hero__stat { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.9); }
.locations-hero__stat svg { width: 17px; height: 17px; color: var(--sand-400); flex: none; }

.state-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: block;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}
.state-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--card-accent, var(--teal-700));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.28s ease;
}
.state-card:hover { box-shadow: var(--shadow-card); border-color: var(--border-tinted); transform: translateY(-2px); }
.state-card:hover::before { transform: scaleX(1); }
.state-card:hover h3 { color: var(--card-accent, var(--teal-700)); }
.state-card:nth-of-type(6n+1) { --card-accent: var(--teal-700); }
.state-card:nth-of-type(6n+2) { --card-accent: var(--sand-700); }
.state-card:nth-of-type(6n+3) { --card-accent: var(--teal-800); }
.state-card:nth-of-type(6n+4) { --card-accent: var(--sand-900); }
.state-card:nth-of-type(6n+5) { --card-accent: var(--teal-700); }
.state-card:nth-of-type(6n) { --card-accent: var(--sand-700); }
.state-card__region { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sand-700); margin-top: 2px; }
.state-card__cities { margin-top: var(--space-md); padding-top: var(--space-sm); border-top: 1px solid var(--border-tinted); display: flex; flex-wrap: wrap; gap: 6px; }
.state-card__cities span { font-size: 12.5px; color: var(--muted); background: var(--background-alt); padding: 3px 9px; border-radius: var(--radius-sm); }

/* ==========================================================================
   How It Works — numbered timeline flow
   ========================================================================== */
.timeline { position: relative; display: flex; flex-direction: column; gap: 0; }
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__node {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--teal-800);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  flex: none;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--background);
}
.timeline__item:nth-child(even) .timeline__node { background: var(--sand-700); }
.timeline__line {
  position: absolute;
  left: 27px; top: 56px; bottom: -0.5rem;
  width: 2px;
  background: var(--border-tinted);
}
.timeline__item:last-child .timeline__line { display: none; }
.timeline__content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.timeline__content .cluster { gap: var(--space-sm); margin-bottom: 0.4em; }
.timeline__content .card--icon { margin-bottom: 0; width: 36px; height: 36px; }
.timeline__content .card--icon svg { width: 18px; height: 18px; }
.timeline__content h3 { font-size: 18px; }
@media (min-width: 700px) {
  .timeline__item { grid-template-columns: 72px 1fr; gap: var(--space-xl); }
  .timeline__node { width: 72px; height: 72px; font-size: 22px; }
  .timeline__line { left: 35px; top: 72px; }
}

/* ==========================================================================
   Contact page redesign
   ========================================================================== */
.contact-hero {
  position: relative; overflow: hidden;
  background: var(--teal-800); color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
}
.contact-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(216,180,134,0.2), transparent 65%),
    radial-gradient(ellipse 55% 50% at 0% 100%, rgba(6,61,53,0.5), transparent 60%);
}
.contact-hero__inner { position: relative; z-index: 1; }
.contact-hero h1, .contact-hero p { color: #fff; }
.contact-hero .eyebrow { color: var(--sand-400); }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex; align-items: flex-start; gap: var(--space-md);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.contact-card:hover { box-shadow: var(--shadow-card); border-color: var(--border-tinted); transform: translateY(-2px); }
.contact-card .card--icon { margin-bottom: 0; flex: none; }
.contact-card h3 { font-size: 16px; margin-bottom: 0.2em; }
.contact-card p { font-size: 14.5px; }
.contact-card__label { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.contact-panel {
  background: var(--teal-900);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}
.contact-panel h2, .contact-panel h3 { color: #fff; }
.contact-panel p { color: rgba(255,255,255,0.8); }
.contact-panel__list { margin-top: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-md); }
.contact-panel__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,0.9); }
.contact-panel__list svg { width: 17px; height: 17px; color: var(--sand-400); flex: none; margin-top: 2px; }

/* ==========================================================================
   Home hero fence-line motif (static-flow strip just above the trust bar)
   ========================================================================== */
.home-hero__fence-wrap {
  position: relative; z-index: 1;
  margin-top: var(--space-lg);
  height: 36px;
  overflow: hidden;
}
.home-hero__fence { position: absolute; left: 0; right: 0; bottom: -6px; width: 100%; height: 42px; display: block; }
@media (min-width: 700px) {
  .home-hero__fence-wrap { height: 48px; }
  .home-hero__fence { height: 56px; }
}
