/* ==========================================================================
   ISP Roofing and Construction — site stylesheet (Home + inner pages)
   WP: enqueue as the theme's main stylesheet (add the theme header comment
   to style.css when converting).

   GLOBAL / HOME
   01 Tokens            08 About              15 FAQ
   02 Font fallbacks    09 Services           16 Blog
   03 Base / reset      10 Why choose us      17 Footer
   04 Layout utilities  11 Team               18 Back to top
   05 Buttons           12 CTA banner         19 Reveal system
   06 Header / nav      13 Pricing            20 Ambient motion
   07 Hero + features   14 Reviews + stats    21 Reduced motion

   INNER PAGES (scoped by the body class printed by body_class())
   22 Shared: page hero, breadcrumb, current menu item, marquee
   23 About            → page-about.php          (body.page-about)
   24 Service Areas    → page-service-areas.php  (body.page-areas)
   25 Service Detail   → single-service.php      (body.page-service)
   26 Blog             → home.php                (body.page-blog)
   27 Contact          → page-contact.php        (body.page-contact)
   28 Inner-page motion + reduced motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   01 · DESIGN TOKENS
   Brand steel + charcoal sampled from the logo; architectural slate/navy
   neutrals; construction-gold accent. Gold buttons carry navy text (5.6:1+).
   -------------------------------------------------------------------------- */
:root {
  /* Brand — sampled from logo */
  --c-charcoal: #262A2D;
  --c-steel-100: #E7ECF0;
  --c-steel-300: #C9D3DB;
  --c-steel-500: #8FA1B1;
  --c-steel-700: #5B7083;

  /* Architectural neutrals */
  --c-navy-950: #0B1120;
  --c-navy-900: #0F172A;
  --c-navy-800: #1E293B;
  --c-navy-700: #334155;
  --c-slate-600: #475569;
  --c-slate-500: #64748B;
  --c-slate-400: #94A3B8;
  --c-slate-300: #CBD5E1;
  --c-slate-200: #E2E8F0;
  --c-slate-100: #F1F5F9;
  --c-alabaster: #F8FAFC;
  --c-white: #FFFFFF;

  /* Accent — construction gold */
  --c-gold-300: #FCD34D;
  --c-gold-400: #FBBF24;
  --c-gold-500: #F59E0B;
  --c-gold-600: #D97706;
  --c-gold-700: #B45309;

  /* Semantic */
  --bg: var(--c-alabaster);
  --surface: var(--c-white);
  --text: var(--c-navy-700);
  --text-strong: var(--c-navy-900);
  --text-muted: var(--c-slate-600);
  --text-on-dark: var(--c-slate-300);
  --border: var(--c-slate-200);
  --accent: var(--c-gold-600);
  --accent-text: var(--c-gold-700);
  --c-error: #DC2626;
  --c-error-text: #B91C1C;
  --c-success: #16A34A;

  /* Gradients */
  --grad-gold: linear-gradient(135deg, #FCD34D 0%, #F59E0B 45%, #D97706 100%);
  --grad-steel: linear-gradient(135deg, #F1F5F9 0%, #A7B4C0 48%, #5B7083 100%);
  --grad-navy: linear-gradient(165deg, #1E293B 0%, #0F172A 50%, #0B1120 100%);

  /* Glass */
  --blur: saturate(165%) blur(18px);
  --glass-light: rgba(255, 255, 255, 0.82);

  /* Layered shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 2px 4px rgba(15, 23, 42, 0.04), 0 12px 32px -8px rgba(15, 23, 42, 0.16);
  --shadow-lg: 0 4px 8px rgba(15, 23, 42, 0.04), 0 24px 56px -14px rgba(15, 23, 42, 0.26);
  --shadow-xl: 0 8px 16px rgba(15, 23, 42, 0.06), 0 40px 80px -22px rgba(15, 23, 42, 0.42);
  --shadow-gold: 0 10px 30px -8px rgba(217, 119, 6, 0.55);

  /* Type */
  --font-head: "Poppins", "Poppins Fallback", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, sans-serif;
  --fs-hero: clamp(2.2rem, 10vw, 5.25rem);
  --fs-h2: clamp(1.9rem, 1.2rem + 2.5vw, 3.05rem);
  --fs-lead: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem);

  /* Shape + layout */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --space-section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --header-h: 76px;
  --overlap: clamp(3.5rem, 8vw, 6rem);
  --cta-overlap: clamp(4rem, 8vw, 7rem);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (min-width: 1024px) {
  :root {
    --header-h: 84px;
    --fs-hero: min(6vw, 5.25rem);
  }
}

/* --------------------------------------------------------------------------
   02 · FONT FALLBACKS — metric-matched to stop layout shift on font swap
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Poppins Fallback";
  src: local("Arial");
  ascent-override: 93.62%;
  descent-override: 31.21%;
  line-gap-override: 8.92%;
  size-adjust: 112.16%;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
  size-adjust: 107.12%;
}

/* --------------------------------------------------------------------------
   03 · BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--c-gold-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--c-gold-400); color: var(--c-navy-900); }

html.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   04 · LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.section { position: relative; padding-block: var(--space-section); }
.section--dark { color: var(--text-on-dark); background: var(--grad-navy); }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 300;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--c-navy-900);
  background: var(--c-gold-400);
  transform: translateY(-180%);
  transition: transform 0.25s var(--ease-out);
}
.skip-link:focus { transform: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-gold);
}
.eyebrow--light { color: var(--c-gold-400); }

.eyebrow--chip {
  gap: 0.65rem;
  padding: 0.55rem 1.05rem 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.eyebrow--chip::before { display: none; }

.section-title {
  font-family: var(--font-head);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  text-wrap: balance;
}
.section--dark .section-title { color: var(--c-white); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--center { max-width: 780px; margin-inline: auto; text-align: center; }
.section-head--split { display: grid; gap: 1.5rem 4rem; align-items: end; }
.section-head__aside p { margin-bottom: 1.5rem; color: var(--text-muted); }
.section-head__aside p:last-child { margin-bottom: 0; }
.section--dark .section-head__aside p { color: var(--c-slate-400); }

@media (min-width: 960px) {
  .section-head--split { grid-template-columns: 1.1fr 1fr; }
}

/* --------------------------------------------------------------------------
   05 · BUTTONS (magnetic: --tx / --ty set by script.js)
   -------------------------------------------------------------------------- */
.btn {
  --tx: 0px;
  --ty: 0px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transform: translate(var(--tx), var(--ty));
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn__icon { transition: transform 0.35s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn:active { transform: translate(var(--tx), var(--ty)) scale(0.97); }
.btn--lg { min-height: 56px; padding: 1rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--gold {
  color: var(--c-navy-900);
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease-out);
}
.btn--gold:hover { box-shadow: 0 18px 38px -10px rgba(217, 119, 6, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn--gold:hover::after { transform: translateX(120%); }

.btn--navy {
  color: var(--c-white);
  background: var(--c-navy-900);
  box-shadow: var(--shadow-md);
}
.btn--navy:hover { background: var(--c-navy-800); box-shadow: var(--shadow-lg); }
.btn--navy .btn__icon { color: var(--c-gold-400); }

.btn--glass {
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.btn--glass:hover { border-color: rgba(251, 191, 36, 0.6); background: rgba(255, 255, 255, 0.12); }
.btn--glass .btn__icon { color: var(--c-gold-400); }

/* --------------------------------------------------------------------------
   06 · HEADER — full-width at the top, morphs into a floating glass capsule
   on scroll (adapted from 21st.dev "Morphing Scroll Navbar" by laziekiki,
   rebuilt with transform/opacity only). Hides on scroll down, returns on up.
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: transform 0.5s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(calc(-100% - 16px)); }

.scroll-progress {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

/* Glass capsule — fades/scales in once the page scrolls */
.site-header__inner::before {
  content: "";
  position: absolute;
  inset: 10px calc(var(--gutter) * -0.5);
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.7);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  backdrop-filter: saturate(170%) blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 44px -18px rgba(2, 6, 23, 0.7);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.4s var(--ease-out), transform 0.55s var(--ease-out);
  pointer-events: none;
}
.site-header.is-floating .site-header__inner::before { opacity: 1; transform: none; }

.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 44px; }
.brand__logo { width: 112px; height: auto; transition: transform 0.35s var(--ease-out); }
.brand:hover .brand__logo { transform: translateY(-1px) scale(1.02); }

.primary-nav__list { display: flex; align-items: center; gap: 0.15rem; }

.primary-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.25s ease, transform 0.3s var(--ease-out);
}
.primary-nav__link::after {
  content: "";
  position: absolute;
  right: 0.9rem;
  bottom: 0.45rem;
  left: 0.9rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.35s var(--ease-out);
}
.primary-nav__link:hover,
.primary-nav__link.is-active { color: var(--c-white); }
.primary-nav__link:hover::after,
.primary-nav__link.is-active::after { transform: scaleX(1); }

.primary-nav__link--cta {
  margin-left: 0.6rem;
  padding-inline: 1.35rem;
  color: var(--c-navy-900);
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold);
}
.primary-nav__link--cta::after { display: none; }
.primary-nav__link--cta:hover,
.primary-nav__link--cta.is-active { color: var(--c-navy-900); transform: translateY(-2px); }

.nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}
.nav-toggle__bar {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-white);
  transition: transform 0.4s var(--ease-out), opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
  .brand__logo { width: 126px; }
}

@media (max-width: 1023.98px) {
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2.5rem;
    background:
      radial-gradient(circle at 85% 10%, rgba(217, 119, 6, 0.22), transparent 45%),
      rgba(11, 17, 32, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out), visibility 0s linear 0.35s;
  }
  .nav-open .primary-nav {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s var(--ease-out), visibility 0s;
  }

  .primary-nav__list { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .primary-nav__list li {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.4s var(--ease-out), transform 0.55s var(--ease-out);
  }
  .nav-open .primary-nav__list li { opacity: 1; transform: none; }
  .nav-open .primary-nav__list li:nth-child(2) { transition-delay: 0.04s; }
  .nav-open .primary-nav__list li:nth-child(3) { transition-delay: 0.08s; }
  .nav-open .primary-nav__list li:nth-child(4) { transition-delay: 0.12s; }
  .nav-open .primary-nav__list li:nth-child(5) { transition-delay: 0.16s; }
  .nav-open .primary-nav__list li:nth-child(6) { transition-delay: 0.2s; }

  .primary-nav__link {
    width: 100%;
    min-height: 60px;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    font-size: 1.55rem;
    font-weight: 600;
  }
  .primary-nav__link::after { right: auto; bottom: 0.7rem; left: 0; width: 44px; }

  .primary-nav__link--cta {
    justify-content: center;
    margin: 1.5rem 0 0;
    padding: 1rem;
    border: 0;
    border-radius: var(--radius-pill);
    font-size: 1.1rem;
  }
}

/* --------------------------------------------------------------------------
   07 · HERO — full-bleed photography + layered navy gradient overlays
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 calc(var(--overlap) + 3.5rem);
  color: var(--c-white);
  background: var(--c-navy-950);
}

.hero__media { position: absolute; inset: -7% 0; z-index: -3; }
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  translate: 0 var(--py, 0px);
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.82) 0%, rgba(11, 17, 32, 0.66) 40%, rgba(11, 17, 32, 0.9) 100%);
}

.hero__lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 65% 70% at 22% 48%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 65% 70% at 22% 48%, #000 10%, transparent 75%);
}

.hero__inner { display: grid; gap: 2.75rem; align-items: end; }
.hero__content { max-width: 780px; }

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-gold-400);
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c-gold-400);
  opacity: 0;
}

.hero__title {
  margin: 1.4rem 0 1.5rem;
  font-family: var(--font-head);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--c-white);
}
.line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.line__inner { display: inline-block; }

.hero__accent {
  color: var(--c-gold-400);
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lead {
  max-width: 610px;
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.9);
}

.hero__actions { display: flex; align-items: center; gap: 1.75rem; margin-top: 2.25rem; }

.scroll-cue {
  display: flex;
  justify-content: center;
  width: 28px;
  height: 46px;
  padding-top: 8px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-pill);
}
.scroll-cue__dot { width: 4px; height: 9px; border-radius: 4px; background: var(--c-gold-400); }

.hero__card {
  width: min(100%, 420px);
  padding: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.hero__card-media {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: calc(var(--radius-lg) - 0.5rem);
  background: var(--c-navy-800);
}
.hero__card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.hero__card:hover .hero__card-media img { transform: scale(1.06); }

.hero__card-plate { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 0.7rem 0.55rem; }
.hero__card-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 1.2rem;
  color: var(--c-navy-900);
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold);
}
.hero__card-name { display: block; font-family: var(--font-head); font-weight: 600; line-height: 1.3; color: var(--c-white); }
.hero__card-tag { display: block; margin-top: 0.15rem; font-size: 0.86rem; color: var(--c-gold-300); }

@media (min-width: 1024px) {
  .hero { min-height: max(700px, 100svh); }
  .hero__inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 3rem; }
  .hero__card { justify-self: end; width: 100%; max-width: 360px; margin-bottom: 0.5rem; }
  .hero__shade {
    background:
      linear-gradient(90deg, rgba(11, 17, 32, 0.95) 0%, rgba(11, 17, 32, 0.84) 32%, rgba(11, 17, 32, 0.4) 64%, rgba(11, 17, 32, 0.25) 100%),
      linear-gradient(0deg, rgba(11, 17, 32, 0.92) 0%, rgba(11, 17, 32, 0) 34%),
      linear-gradient(180deg, rgba(11, 17, 32, 0.7) 0%, rgba(11, 17, 32, 0) 22%);
  }
}

@media (max-width: 479.98px) {
  .hero__eyebrow { font-size: 0.7rem; letter-spacing: 0.08em; }
  .hero__actions { gap: 1.25rem; }
}

/* ---- Key features (rise over the hero) ---------------------------------- */
.features {
  position: relative;
  z-index: 3;
  margin-top: calc(var(--overlap) * -1);
  padding-bottom: calc(var(--space-section) * 0.55);
}

.features__grid { display: grid; gap: 1.25rem; }

.features__intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.25rem;
  min-height: 300px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: var(--c-white);
  background: var(--c-navy-900);
  box-shadow: var(--shadow-xl);
}
.features__media { position: absolute; inset: 0; z-index: -2; }
.features__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.features__intro:hover .features__media img { transform: scale(1.06); }
.features__intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.78) 45%, rgba(11, 17, 32, 0.96) 100%);
}

.features__title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-white);
}

.experience { display: flex; align-items: center; gap: 1rem; }
.experience__badge { position: relative; display: grid; place-items: center; flex: none; width: 96px; height: 96px; }
.experience__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.experience__track { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 6; }
.experience__progress {
  fill: none;
  stroke: var(--c-gold-400);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0.18;
}
.experience__num {
  position: relative;
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-white);
}
.experience__label {
  max-width: 10ch;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-white);
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  background: var(--glass-light);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.55s var(--ease-out);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.5rem; }
.feature-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 1.3rem;
  color: var(--c-gold-400);
  background: var(--c-navy-900);
  box-shadow: var(--shadow-md);
  transition: transform 0.55s var(--ease-spring);
}
.feature-card:hover .feature-card__icon { transform: rotate(-8deg) scale(1.06); }
.feature-card__num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-slate-300);
  transition: -webkit-text-stroke-color 0.4s ease;
}
.feature-card:hover .feature-card__num { -webkit-text-stroke-color: var(--c-gold-500); }
.feature-card__title {
  margin-bottom: 0.6rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-strong);
}
.feature-card__text { font-size: 0.96rem; color: var(--text-muted); }

@media (min-width: 700px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .features__grid { grid-template-columns: 1.15fr repeat(3, 1fr); }
}

/* --------------------------------------------------------------------------
   08 · ABOUT — layered photo collage
   -------------------------------------------------------------------------- */
.about { padding-top: calc(var(--space-section) * 0.6); }
.about__grid { display: grid; gap: clamp(3rem, 6vw, 5.5rem); align-items: center; }

.about__visual {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  padding: 1rem 0 14% 1rem;
}
.about__photo { overflow: hidden; border-radius: var(--radius-xl); background: var(--c-slate-200); box-shadow: var(--shadow-xl); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.about__visual:hover .about__photo img { transform: scale(1.05); }
.about__photo--main { width: 80%; aspect-ratio: 4 / 5; }
.about__photo--inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 4 / 3;
  border: 8px solid var(--bg);
  border-radius: var(--radius-lg);
}
.about__frame {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 48%;
  height: 48%;
  border: 2px solid var(--c-gold-500);
  border-radius: var(--radius-xl);
}
.about__dots {
  position: absolute;
  top: 8%;
  right: 2%;
  z-index: -1;
  width: 130px;
  height: 130px;
  background-image: radial-gradient(var(--c-slate-300) 1.7px, transparent 1.7px);
  background-size: 16px 16px;
}
.about__badge {
  position: absolute;
  top: 10%;
  left: 66%;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border: 6px solid var(--bg);
  border-radius: 50%;
  font-size: 2.1rem;
  color: var(--c-gold-400);
  background: var(--c-navy-900);
  box-shadow: var(--shadow-lg);
}
.about__badge-ring {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  fill: none;
  stroke: rgba(251, 191, 36, 0.55);
  stroke-width: 2;
  stroke-dasharray: 2 6;
}

.about__copy { display: grid; gap: 1rem; margin: 1.5rem 0 2rem; color: var(--text-muted); }
.about__points { display: grid; gap: 1rem; margin-bottom: 2.25rem; }

.point {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.35s ease;
}
.point:hover { transform: translateY(-4px); border-color: rgba(217, 119, 6, 0.35); box-shadow: var(--shadow-md); }
.point__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 1.2rem;
  color: var(--c-gold-700);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(217, 119, 6, 0.12));
}
.point__title { margin-bottom: 0.25rem; font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: var(--text-strong); }
.point__text { font-size: 0.92rem; line-height: 1.55; color: var(--text-muted); }

@media (min-width: 600px) {
  .about__points { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 1fr 1fr; }
}

/* --------------------------------------------------------------------------
   09 · SERVICES — photo cards on navy, spotlight hover (--mx / --my)
   Spotlight technique adapted from 21st.dev "Bento Grid" (karaui).
   -------------------------------------------------------------------------- */
.services { isolation: isolate; overflow: hidden; }
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.services__glow {
  position: absolute;
  top: -320px;
  left: 50%;
  z-index: -1;
  width: 1000px;
  height: 1000px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.16), transparent 60%);
  transform: translateX(-50%);
  pointer-events: none;
}

.svc-grid { display: grid; gap: 1.25rem; }

.svc {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s var(--ease-out);
}
.svc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 440px;
  height: 440px;
  margin: -220px 0 0 -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.2), transparent 62%);
  opacity: 0;
  transform: translate(var(--mx), var(--my));
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.svc:hover {
  transform: translateY(-10px);
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 32px 64px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(251, 191, 36, 0.12);
}
.svc:hover::before { opacity: 1; }

.svc__media { position: relative; overflow: hidden; aspect-ratio: 10 / 7; background: var(--c-navy-800); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.svc__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 35%, rgba(15, 23, 42, 0.9) 100%);
}
.svc:hover .svc__media img { transform: scale(1.08); }

.svc__body { position: relative; flex: 1; padding: 0 1.5rem 1.75rem; }
.svc__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: -27px 0 1.1rem;
  border-radius: 16px;
  font-size: 1.25rem;
  color: var(--c-navy-900);
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold);
  transition: transform 0.55s var(--ease-spring);
}
.svc:hover .svc__icon { transform: translateY(-4px) rotate(-6deg); }
.svc__icon--pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--c-gold-500);
  opacity: 0;
}
.svc__title { margin-bottom: 0.6rem; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--c-white); }
.svc__text { font-size: 0.9rem; line-height: 1.68; color: var(--c-slate-400); }

.svc--featured {
  border-color: rgba(251, 191, 36, 0.32);
  background: linear-gradient(180deg, rgba(217, 119, 6, 0.16), rgba(255, 255, 255, 0.03) 70%);
}

.svc-list {
  margin-top: 3rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.svc-list__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-white);
}
.svc-list__title::before { content: ""; width: 30px; height: 2px; border-radius: 2px; background: var(--grad-gold); }
.svc-list__items { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--c-slate-300);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.35s var(--ease-out), background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.pill .icon { font-size: 0.9rem; color: var(--c-gold-400); }
.pill:hover { transform: translateY(-3px); border-color: rgba(251, 191, 36, 0.5); color: var(--c-white); background: rgba(251, 191, 36, 0.1); }

@media (min-width: 640px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .svc-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   10 · WHY CHOOSE US — intro + photo, sticky stacking cards
   -------------------------------------------------------------------------- */
.why__grid { display: grid; gap: 3rem; }
.why__lead { margin: 1.25rem 0 2rem; font-size: 1.05rem; color: var(--text-muted); }

.why__photo {
  position: relative;
  overflow: hidden;
  margin-top: 2.5rem;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-xl);
  background: var(--c-slate-200);
  box-shadow: var(--shadow-lg);
}
.why__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.why__photo:hover img { transform: scale(1.05); }
.why__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 45%, rgba(15, 23, 42, 0.65) 100%);
}
.why__photo-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  font-size: 1.35rem;
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}

.why__stack { display: grid; gap: 1.5rem; }

.why-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.why-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 65%);
  pointer-events: none;
}
.why-card p { position: relative; font-size: 1.04rem; line-height: 1.78; }
.why-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.5rem;
  border-radius: 18px;
  font-size: 1.35rem;
}

.why-card--light { border: 1px solid var(--border); color: var(--text-muted); background: var(--surface); }
.why-card--light::after { background: radial-gradient(circle, rgba(251, 191, 36, 0.12), transparent 65%); }
.why-card--light .why-card__icon { color: var(--c-gold-400); background: var(--c-navy-900); }

.why-card--dark { color: var(--c-slate-300); background: var(--grad-navy); }
.why-card--dark .why-card__icon { color: var(--c-navy-900); background: var(--grad-gold); }

.why-card--gold { color: var(--c-navy-900); background: var(--grad-gold); }
.why-card--gold .why-card__icon { color: var(--c-gold-400); background: var(--c-navy-900); }

@media (min-width: 1024px) {
  .why__grid { grid-template-columns: 0.95fr 1.05fr; gap: 5rem; align-items: start; }
  .why-card { position: sticky; top: calc(var(--header-h) + 2rem); }
  .why-card:nth-child(2) { top: calc(var(--header-h) + 3.25rem); }
  .why-card:nth-child(3) { top: calc(var(--header-h) + 4.5rem); }
}

/* --------------------------------------------------------------------------
   11 · TEAM — portrait cards, glass name plate, 3D tilt (--tilt-x / --tilt-y)
   -------------------------------------------------------------------------- */
.team__grid { display: grid; gap: 1.5rem; }

.team-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  background: var(--c-navy-800);
  box-shadow: var(--shadow-lg);
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.team-card:hover { box-shadow: var(--shadow-xl); }

.team-card__media { position: absolute; inset: 0; }
.team-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.team-card:hover .team-card__img { transform: scale(1.07); }
.team-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, rgba(91, 112, 131, 0.35), rgba(15, 23, 42, 0.25));
  transition: opacity 0.5s ease;
}
.team-card:hover .team-card__media::before { opacity: 0; }
.team-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 50%, rgba(15, 23, 42, 0.85) 100%);
}

.team-card__body {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 1.1rem 1.2rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.42);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  transition: transform 0.5s var(--ease-out);
}
.team-card__body::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 1.2rem;
  width: 56px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--grad-gold);
  transform: scaleX(0.55);
  transform-origin: 0 50%;
  transition: transform 0.5s var(--ease-out);
}
.team-card:hover .team-card__body { transform: translateY(-4px); }
.team-card:hover .team-card__body::before { transform: scaleX(1); }
.team-card__name { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--c-white); }
.team-card__role { font-size: 0.88rem; color: var(--c-gold-300); }

@media (min-width: 540px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .team__grid { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   12 · CTA BANNER — photo + gradient, overlaps the pricing section
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  z-index: 3;
  margin-bottom: calc(var(--cta-overlap) * -1);
}

.cta__banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.75rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  color: var(--c-white);
  background: var(--c-navy-900);
  box-shadow: var(--shadow-xl);
}
.cta__media { position: absolute; inset: -12% 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; translate: 0 var(--py, 0px); }
.cta__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(11, 17, 32, 0.96) 0%, rgba(15, 23, 42, 0.86) 48%, rgba(180, 83, 9, 0.62) 100%);
}
.cta__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
  transform: translateX(-100%);
  pointer-events: none;
}

.cta__icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 22px;
  font-size: 1.9rem;
  color: var(--c-navy-900);
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold);
}
.cta__title {
  margin-bottom: 0.75rem;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.cta__text { max-width: 660px; color: rgba(226, 232, 240, 0.88); }

@media (min-width: 960px) {
  .cta__banner { grid-template-columns: auto 1fr auto; gap: 2.5rem; }
}

/* --------------------------------------------------------------------------
   13 · PRICING — glass plans, rotating gold border on the featured plan
   -------------------------------------------------------------------------- */
.pricing {
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--space-section) + var(--cta-overlap));
}
.pricing__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 40% at 50% 62%, rgba(217, 119, 6, 0.14), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 64px 64px;
  pointer-events: none;
}

.plans { display: grid; gap: 1.5rem; align-items: stretch; }

.plan {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s var(--ease-out);
}
.plan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 460px;
  height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.16), transparent 62%);
  opacity: 0;
  transform: translate(var(--mx), var(--my));
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.plan:hover { transform: translateY(-8px); border-color: rgba(251, 191, 36, 0.4); box-shadow: 0 32px 64px -26px rgba(0, 0, 0, 0.75); }
.plan:hover::before { opacity: 1; }

.plan__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem; }
.plan__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 16px;
  font-size: 1.25rem;
  color: var(--c-gold-400);
  background: rgba(251, 191, 36, 0.1);
}
.plan__name { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: var(--c-white); }

.plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.plan__amount {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-white);
}
.plan__currency { margin-right: 0.08em; font-size: 0.5em; vertical-align: 0.75em; color: var(--c-gold-400); }
.plan__period { font-size: 0.95rem; color: var(--c-slate-400); }

.plan__list { display: grid; flex: 1; gap: 0.9rem; margin-bottom: 2.25rem; }
.plan__list li { display: flex; align-items: center; gap: 0.75rem; color: var(--c-slate-300); }
.plan__list .icon {
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
  stroke-width: 3;
  color: var(--c-gold-400);
  background: rgba(251, 191, 36, 0.14);
}

.plan--featured {
  border-color: transparent;
  background: linear-gradient(180deg, rgba(217, 119, 6, 0.18), rgba(255, 255, 255, 0.04) 62%);
  box-shadow: 0 40px 80px -32px rgba(217, 119, 6, 0.5);
}
.plan--featured .plan__icon { color: var(--c-navy-900); border-color: transparent; background: var(--grad-gold); }
.plan__border {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  padding: 1.5px;
  border-radius: inherit;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.plan__border::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  aspect-ratio: 1;
  background: conic-gradient(from 0deg, rgba(148, 163, 184, 0.25) 0 40%, #FBBF24 62%, #D97706 78%, rgba(148, 163, 184, 0.25) 96%);
  transform: translate(-50%, -50%);
}

@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
}

/* --------------------------------------------------------------------------
   14 · REVIEWS (Trustindex widget shell) + ACHIEVEMENTS
   -------------------------------------------------------------------------- */
.reviews__widget { min-height: 250px; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.review-shell { display: grid; gap: 1.25rem; }

.review-shell__card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.review-shell__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.review-shell__head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.35rem; }
.review-shell__who { display: grid; flex: 1; gap: 0.5rem; }
.review-shell__quote { width: 34px; height: 34px; color: var(--c-gold-500); opacity: 0.4; }
.review-shell__stars { display: flex; gap: 0.2rem; color: var(--c-gold-500); }
.review-shell__stars .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }

.sk {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 10px;
  border-radius: 6px;
  background: #EDF1F5;
}
.sk::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  transform: translateX(-100%);
}
.sk--avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; }
.sk--w80 { width: 80%; }
.sk--w60 { width: 60%; }
.sk--w40 { width: 40%; }

@media (max-width: 759.98px) {
  .review-shell__card:nth-child(n + 2) { display: none; }
}
@media (min-width: 760px) {
  .review-shell { grid-template-columns: repeat(3, 1fr); }
}

.achievements {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  color: var(--c-white);
  background: var(--c-navy-900);
  box-shadow: var(--shadow-xl);
}
.achievements__media { position: absolute; inset: -12% 0; z-index: -2; }
.achievements__media img { width: 100%; height: 100%; object-fit: cover; translate: 0 var(--py, 0px); }
.achievements::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(11, 17, 32, 0.95) 0%, rgba(15, 23, 42, 0.84) 55%, rgba(15, 23, 42, 0.7) 100%);
}
.achievements__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  font-weight: 700;
}
.achievements__title::before { content: ""; width: 30px; height: 2px; border-radius: 2px; background: var(--grad-gold); }
.achievements__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }

.stat {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.3rem;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  transition: transform 0.45s var(--ease-out), border-color 0.35s ease, background-color 0.35s ease;
}
.stat:hover { transform: translateY(-6px); border-color: rgba(251, 191, 36, 0.45); background: rgba(255, 255, 255, 0.11); }
.stat__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.7rem;
  border-radius: 13px;
  font-size: 1.1rem;
  color: var(--c-navy-900);
  background: var(--grad-gold);
}
.stat__value {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--c-white);
}
.stat__suffix { color: var(--c-gold-400); }
.stat__label { font-size: 0.95rem; color: var(--c-slate-300); }

@media (min-width: 900px) {
  .achievements__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  .stat { padding: 1.6rem; }
}

/* Count-up: reserve the final width so digits never shift layout */
[data-count] { display: inline-block; text-align: left; }
[data-count]::before {
  content: attr(data-count);
  display: block;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

/* --------------------------------------------------------------------------
   15 · FAQ — progressive <details>, panel eases via grid rows
   -------------------------------------------------------------------------- */
.faq__grid { display: grid; gap: 3rem; }

.faq__photo {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  background: var(--c-slate-200);
  box-shadow: var(--shadow-lg);
}
.faq__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.faq__photo:hover img { transform: scale(1.05); }
.faq__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 40%, rgba(15, 23, 42, 0.7) 100%);
}
.faq__photo-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  font-size: 1.35rem;
  color: var(--c-navy-900);
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold);
}

.faq__list { display: grid; gap: 1rem; }

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.faq__item:hover { box-shadow: var(--shadow-md); }
.faq__item[open]:not(.is-enhanced),
.faq__item.is-open { border-color: rgba(217, 119, 6, 0.4); box-shadow: var(--shadow-md); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: 1.25rem 1.5rem;
  list-style: none;
  font-family: var(--font-head);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-strong);
  cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline-offset: -3px; border-radius: var(--radius-lg); }

.faq__toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--c-navy-900);
  background: var(--c-slate-100);
  transition: transform 0.45s var(--ease-out), background-color 0.3s ease;
}
.faq__item[open]:not(.is-enhanced) .faq__toggle,
.faq__item.is-open .faq__toggle { transform: rotate(45deg); background: var(--c-gold-400); }

.faq__panel p { padding: 0 1.5rem 1.5rem; color: var(--text-muted); }
.faq__item.is-enhanced .faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}
.faq__item.is-enhanced.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__panel-inner { min-height: 0; overflow: hidden; }

@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: 0.85fr 1.15fr; gap: 5rem; align-items: start; }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* --------------------------------------------------------------------------
   16 · BLOG
   -------------------------------------------------------------------------- */
.blog { padding-top: calc(var(--space-section) * 0.4); }
.blog__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.5rem; }

.post-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.post-card__link { display: grid; height: 100%; }
.post-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--c-slate-200); }
.post-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.06); }

.post-card__body { position: relative; padding: 2rem 1.75rem; }
.post-card__arrow {
  position: absolute;
  top: -28px;
  right: 1.5rem;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--c-navy-900);
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold);
  transition: transform 0.55s var(--ease-spring);
}
.post-card:hover .post-card__arrow { transform: rotate(45deg); }
.post-card__title { margin-bottom: 0.6rem; font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; color: var(--text-strong); }
.post-card__excerpt { color: var(--text-muted); }

@media (min-width: 900px) {
  .post-card:only-child .post-card__link { grid-template-columns: 1.2fr 1fr; }
  .post-card:only-child .post-card__media { aspect-ratio: auto; min-height: 380px; }
  .post-card:only-child .post-card__body { display: flex; flex-direction: column; justify-content: center; padding: 3rem; }
  .post-card:only-child .post-card__arrow { position: static; order: 3; margin-top: 2rem; }
  .post-card:only-child .post-card__title { font-size: 1.9rem; }
}

/* --------------------------------------------------------------------------
   17 · FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4rem, 8vw, 6rem);
  color: var(--c-slate-400);
  background: var(--c-navy-950);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.6), transparent);
}
.site-footer::after {
  content: "";
  position: absolute;
  top: -260px;
  left: 50%;
  width: 760px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(217, 119, 6, 0.12), transparent 65%);
  transform: translateX(-50%);
  pointer-events: none;
}

.site-footer__top { position: relative; z-index: 1; display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__logo { width: 180px; height: auto; }
.site-footer__name { margin-top: 1.25rem; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--c-white); }
.site-footer__tag { color: var(--c-gold-400); }
.site-footer__heading {
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-white);
}
.site-footer__nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.2rem 2rem; }
.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  transition: color 0.25s ease, transform 0.35s var(--ease-out);
}
.site-footer__nav a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-gold-500); opacity: 0.7; }
.site-footer__nav a:hover { color: var(--c-white); transform: translateX(4px); }

.site-footer__wordmark {
  position: relative;
  margin-bottom: -0.14em;
  font-family: var(--font-head);
  font-size: clamp(6rem, 26vw, 22rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.04em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.18), transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  pointer-events: none;
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  text-align: center;
}

@media (min-width: 800px) {
  .site-footer__top { grid-template-columns: 1.4fr 1fr; align-items: start; }
}

/* --------------------------------------------------------------------------
   18 · BACK TO TOP
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--c-navy-900);
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.45s var(--ease-out);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top.is-visible:hover { transform: translateY(-4px); }

/* --------------------------------------------------------------------------
   19 · REVEAL SYSTEM
   Elements hide only when JS can reveal them. script.js adds .reveal-ready
   to <html> at boot; if the script never runs, the failsafe shows everything.
   Uses the individual translate/scale properties so hover `transform`
   effects never clash with the entrance.
   -------------------------------------------------------------------------- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-reveal]:not(.is-visible) { opacity: 0; }
  html:not(.reveal-ready) [data-reveal]:not(.is-visible) { animation: reveal-failsafe 0.6s ease 2.5s forwards; }
  [data-reveal].is-visible { animation: reveal 0.95s var(--ease-out) calc(var(--i, 0) * var(--step, 90ms)) both; }
  [data-reveal="left"] { --rvx: -56px; --rvy: 0px; }
  [data-reveal="right"] { --rvx: 56px; --rvy: 0px; }
  [data-reveal="scale"] { --rvy: 18px; --rvs: 0.95; }
  .svc-list__items { --step: 40ms; }

  .experience__progress { stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-out) 0.35s; }
  .features__intro.is-visible .experience__progress { stroke-dashoffset: 0.18; }
}

@keyframes reveal {
  from { opacity: 0; translate: var(--rvx, 0px) var(--rvy, 36px); scale: var(--rvs, 1); }
  to { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes reveal-failsafe { to { opacity: 1; } }

/* --------------------------------------------------------------------------
   20 · AMBIENT MOTION (transform / opacity only)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  /* Hero entrance — pure CSS, no JS dependency */
  .hero__img { animation: hero-zoom 2.6s var(--ease-out) both; }
  .hero__eyebrow { animation: rise 0.9s var(--ease-out) 0.15s both; }
  .hero__title .line__inner { animation: line-up 1.05s var(--ease-out) both; }
  .hero__title .line:nth-child(1) .line__inner { animation-delay: 0.25s; }
  .hero__title .line:nth-child(2) .line__inner { animation-delay: 0.36s; }
  .hero__title .line:nth-child(3) .line__inner { animation-delay: 0.47s; }
  .hero__lead { animation: rise 0.9s var(--ease-out) 0.62s both; }
  .hero__actions { animation: rise 0.9s var(--ease-out) 0.76s both; }
  .hero__card { animation: card-in 1.1s var(--ease-out) 0.8s both, float 7s ease-in-out 2s infinite; }

  .pulse-dot::after { animation: ping 2s var(--ease-out) infinite; }
  .svc__icon--pulse::after { animation: ping-soft 2.4s var(--ease-out) infinite; }
  .scroll-cue__dot { animation: scroll-cue 1.9s var(--ease-in-out) infinite; }
  .about__badge-ring { animation: spin 22s linear infinite; }
  .plan__border::before { animation: spin-center 6s linear infinite; }
  .cta__banner::after { animation: sheen 6s ease-in-out 1.5s infinite; }
  .sk::after { animation: shimmer 1.8s ease-in-out infinite; }
}

@keyframes hero-zoom { from { scale: 1.14; } to { scale: 1; } }
@keyframes rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@keyframes line-up { from { translate: 0 110%; } to { translate: 0 0; } }
@keyframes card-in { from { opacity: 0; translate: 0 40px; scale: 0.96; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ping { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
@keyframes ping-soft { 0% { opacity: 0.55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes scroll-cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-center { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes sheen { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes shimmer { to { transform: translateX(100%); } }

/* --------------------------------------------------------------------------
   21 · REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   INNER PAGES
   Everything below extends the shared system above (tokens, buttons,
   header, footer, reveal + ambient motion). Page blocks are scoped by the
   body class WordPress prints with body_class().
   ========================================================================== */

/* --------------------------------------------------------------------------
   22 · INNER PAGES — SHARED
   WP: template-parts/page-hero.php, current menu item, services marquee
   -------------------------------------------------------------------------- */
/* Current page in the primary menu (WP adds aria-current="page") */
.primary-nav__link[aria-current="page"] { color: var(--c-white); }
.primary-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav__link--cta[aria-current="page"] {
  color: var(--c-navy-900);
  box-shadow: var(--shadow-gold), 0 0 0 3px rgba(251, 191, 36, 0.3);
}

/* Editorial page hero — full-bleed photo, navy gradients, grid lines */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: clamp(480px, 74svh, 700px);
  padding: calc(var(--header-h) + 3.5rem) 0 clamp(3rem, 7vw, 5.5rem);
  color: var(--c-white);
  background: var(--c-navy-950);
}
.page-hero__media { position: absolute; inset: -8% 0; z-index: -3; }
.page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  translate: 0 var(--py, 0px);
}
.page-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(0deg, rgba(11, 17, 32, 0.96) 0%, rgba(11, 17, 32, 0.6) 48%, rgba(11, 17, 32, 0.74) 100%);
}
.page-hero__inner { position: relative; display: grid; gap: 2.5rem; align-items: end; }
.page-hero__content { max-width: 880px; }

.page-hero__bar {
  display: block;
  width: 72px;
  height: 4px;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  background: var(--grad-gold);
  transform-origin: 0 50%;
}
.page-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.7rem, 1.5rem + 5.4vw, 5.75rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--c-white);
}
.page-hero__title--md { font-size: clamp(2.3rem, 1.3rem + 4vw, 4.6rem); }
.page-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.25rem; }
.page-hero__aside { justify-self: start; }

@media (min-width: 1024px) {
  .page-hero__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; }
  .page-hero__aside { justify-self: end; }
  .page-hero__shade {
    background:
      linear-gradient(90deg, rgba(11, 17, 32, 0.94) 0%, rgba(11, 17, 32, 0.72) 42%, rgba(11, 17, 32, 0.3) 100%),
      linear-gradient(0deg, rgba(11, 17, 32, 0.92) 0%, rgba(11, 17, 32, 0) 42%),
      linear-gradient(180deg, rgba(11, 17, 32, 0.72) 0%, rgba(11, 17, 32, 0) 26%);
  }
}

/* Breadcrumb (glass pill) */
.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-top: 1.75rem;
  padding: 0.6rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  color: rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.breadcrumb__label { font-family: var(--font-head); font-weight: 600; color: var(--c-white); }
.breadcrumb__sep { color: var(--c-gold-400); }
.breadcrumb__trail { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.breadcrumb__trail a { display: inline-flex; align-items: center; min-height: 32px; transition: color 0.25s ease; }
.breadcrumb__trail a:hover { color: var(--c-gold-300); }
.breadcrumb__trail [aria-current="page"] { color: var(--c-gold-300); }

/* Glass stat card in a page hero (ring + count-up) */
.glass-stat {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.1rem 1.75rem 1.1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* Section title, compact size (sidebar layouts) */
.section-title--sm { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); }

/* Services marquee — two rows drifting in opposite directions.
   The second list in each row is an aria-hidden duplicate for a seamless loop. */
.svc-band { overflow: hidden; padding-block: clamp(2.25rem, 5vw, 3.25rem); }
.marquee {
  display: grid;
  gap: 0.9rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__row { display: flex; width: max-content; }
.marquee__list { display: flex; flex: none; gap: 0.75rem; padding-right: 0.75rem; }
.marquee .pill { min-height: 52px; padding: 0.75rem 1.4rem; font-size: 1rem; white-space: nowrap; }

/* --------------------------------------------------------------------------
   23 · ABOUT PAGE (body.page-about)  →  WP: page-about.php
   -------------------------------------------------------------------------- */
/* Story: reuses the home "about" collage (.about__grid / .about__visual) */
.page-about .story { padding-bottom: calc(var(--space-section) * 0.75); }

/* Legacy — parallax photo + timeline copy */
.legacy__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.legacy__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  background: var(--c-slate-200);
  box-shadow: var(--shadow-xl);
}
.legacy__media-inner { position: absolute; inset: -9% 0; }
.legacy__media-inner img { width: 100%; height: 100%; object-fit: cover; translate: 0 var(--py, 0px); }
.legacy__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 55%, rgba(15, 23, 42, 0.7) 100%);
}
.legacy__chip {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 1;
  display: flex;
  gap: 0.6rem;
}
.legacy__chip span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  font-size: 1.3rem;
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.legacy__chip span:first-child { border-color: transparent; color: var(--c-navy-900); background: var(--grad-gold); }

.legacy__steps { position: relative; display: grid; gap: 1.75rem; margin-top: 2rem; padding-left: 2.4rem; }
.legacy__steps::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.55rem;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--c-gold-500), rgba(217, 119, 6, 0.08));
  transform-origin: 50% 0;
}
.legacy__step { position: relative; font-size: 1.04rem; line-height: 1.75; color: var(--text-muted); }
.legacy__step::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  left: -2.4rem;
  width: 1.2rem;
  height: 1.2rem;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--c-gold-500);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.18);
}

@media (min-width: 1024px) {
  .legacy__grid { grid-template-columns: 0.9fr 1.1fr; }
}

/* Mission & core values (dark) */
.values { isolation: isolate; overflow: hidden; }
.values__glow {
  position: absolute;
  right: -260px;
  bottom: -320px;
  z-index: -1;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.16), transparent 60%);
  pointer-events: none;
}
.values__head { display: grid; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.mission {
  position: relative;
  margin: 0;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.18), rgba(255, 255, 255, 0.03) 62%);
}
.mission__icon { width: 42px; height: 42px; margin-bottom: 1rem; color: var(--c-gold-400); }
.mission__text {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 0.98rem + 0.75vw, 1.55rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-white);
}

.values__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-gold-400);
}
.values__label::before { content: ""; width: 30px; height: 2px; border-radius: 2px; background: var(--grad-gold); }

.values__grid { display: grid; gap: 1.25rem; counter-reset: value; }

.value-card {
  --mx: 50%;
  --my: 50%;
  counter-increment: value;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: 2rem 1.6rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s var(--ease-out);
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 380px;
  height: 380px;
  margin: -190px 0 0 -190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.2), transparent 62%);
  opacity: 0;
  transform: translate(var(--mx), var(--my));
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.value-card::after {
  content: counter(value, decimal-leading-zero);
  position: absolute;
  top: 1.1rem;
  right: 1.4rem;
  font-family: var(--font-head);
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(148, 163, 184, 0.3);
  transition: -webkit-text-stroke-color 0.4s ease;
}
.value-card:hover {
  transform: translateY(-10px);
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 32px 64px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(251, 191, 36, 0.12);
}
.value-card:hover::before { opacity: 1; }
.value-card:hover::after { -webkit-text-stroke-color: var(--c-gold-400); }

.value-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 0.6rem;
  border-radius: 16px;
  font-size: 1.3rem;
  color: var(--c-navy-900);
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold);
  transition: transform 0.55s var(--ease-spring);
}
.value-card:hover .value-card__icon { transform: rotate(-8deg) scale(1.06); }
.value-card__title { display: block; margin-bottom: 0.45rem; font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: var(--c-white); }
.value-card__text { display: block; font-size: 0.95rem; line-height: 1.65; color: var(--c-slate-400); }

.values__outro {
  max-width: 820px;
  margin-top: clamp(2.25rem, 4vw, 3rem);
  padding-left: 1.25rem;
  border-left: 3px solid var(--c-gold-500);
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--c-slate-300);
}

@media (min-width: 640px) {
  .values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .values__head { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: end; }
}
@media (min-width: 1160px) {
  .values__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Trust — copy + staggered photo pair with rotating seal */
.trust__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.trust__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.trust__photo {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-xl);
  background: var(--c-slate-200);
  box-shadow: var(--shadow-lg);
}
.trust__photo:nth-child(2) { margin-top: 3.5rem; }
.trust__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.trust__photo:hover img { transform: scale(1.06); }
.trust__seal {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  margin: -52px 0 0 -52px;
  border: 6px solid var(--bg);
  border-radius: 50%;
  font-size: 2rem;
  color: var(--c-gold-400);
  background: var(--c-navy-900);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
  .trust__grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* Process — four steps on a connecting rail */
.process { margin-top: clamp(4.5rem, 9vw, 7rem); }
.process__steps { position: relative; display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.process-step {
  position: relative;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.35s ease;
}
.process-step:hover { transform: translateY(-8px); border-color: rgba(217, 119, 6, 0.35); box-shadow: var(--shadow-lg); }
.process-step__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-navy-900);
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold), 0 0 0 6px var(--surface);
  transition: transform 0.55s var(--ease-spring);
}
.process-step:hover .process-step__num { transform: scale(1.08) rotate(-6deg); }
.process-step__title { margin-bottom: 0.5rem; font-family: var(--font-head); font-size: 1.12rem; font-weight: 600; color: var(--text-strong); }
.process-step__text { font-size: 0.95rem; color: var(--text-muted); }

.process__outro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
  font-weight: 500;
  text-align: center;
  color: var(--text-strong);
}
.process__outro .icon { color: var(--c-gold-600); }

@media (min-width: 700px) {
  .process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .process__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .process__steps::before {
    content: "";
    position: absolute;
    top: 56px;
    right: 8%;
    left: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--c-gold-500), rgba(217, 119, 6, 0.15));
    transform-origin: 0 50%;
  }
}

/* Serving Centennial — full-bleed parallax photo + glass card */
.serving {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(500px, 74vh, 660px);
  padding-block: var(--space-section);
  color: var(--c-white);
  background: var(--c-navy-950);
}
.serving__media { position: absolute; inset: -12% 0; z-index: -2; }
.serving__media img { width: 100%; height: 100%; object-fit: cover; translate: 0 var(--py, 0px); }
.serving::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 17, 32, 0.9) 0%, rgba(11, 17, 32, 0.55) 55%, rgba(11, 17, 32, 0.2) 100%),
    linear-gradient(0deg, rgba(11, 17, 32, 0.6) 0%, rgba(11, 17, 32, 0) 40%);
}
.serving__card {
  max-width: 640px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.45);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.serving__pin {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.5rem;
  border-radius: 18px;
  font-size: 1.35rem;
  color: var(--c-navy-900);
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold);
}
.serving__pin::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--c-gold-500);
  opacity: 0;
}
.serving__card .section-title { color: var(--c-white); }
.serving__card p { margin-top: 1.25rem; font-size: 1.05rem; line-height: 1.75; color: rgba(226, 232, 240, 0.9); }

/* --------------------------------------------------------------------------
   24 · SERVICE AREAS (body.page-areas)  →  WP: page-service-areas.php
   -------------------------------------------------------------------------- */
/* City names in the intro jump to (and flash) their card via :target */
.area-mark {
  position: relative;
  z-index: 0;
  font-weight: 600;
  color: var(--text-strong);
  white-space: nowrap;
}
.area-mark::after {
  content: "";
  position: absolute;
  right: -0.1em;
  bottom: 0;
  left: -0.1em;
  z-index: -1;
  height: 100%;
  border-radius: 3px;
  background: rgba(251, 191, 36, 0.38);
  transform: scaleY(0.14);
  transform-origin: 50% 100%;
  transition: transform 0.35s var(--ease-out);
}
.area-mark:hover::after,
.area-mark:focus-visible::after { transform: scaleY(1); }

.areas { isolation: isolate; overflow: hidden; }
.areas::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%);
  mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.areas__glow {
  position: absolute;
  top: -340px;
  left: 50%;
  z-index: -1;
  width: 1000px;
  height: 1000px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.15), transparent 60%);
  transform: translateX(-50%);
  pointer-events: none;
}

.areas__group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  grid-auto-flow: dense;
  gap: 1rem;
}
.areas__group + .areas__group { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

.areas__feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-column: 1 / -1;
  min-height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: var(--c-navy-800);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7);
}
.areas__feature img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.areas__feature:hover img { transform: scale(1.06); }
.areas__feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 30%, rgba(15, 23, 42, 0.85) 100%);
}
.areas__feature-icon {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  font-size: 1.3rem;
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}

.map-ping {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-gold-400);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.28), 0 6px 16px rgba(0, 0, 0, 0.4);
}
.map-ping::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c-gold-400);
  opacity: 0;
}
.map-ping--1 { top: 36%; left: 28%; }
.map-ping--2 { top: 54%; left: 60%; }
.map-ping--3 { top: 26%; left: 74%; }

.area-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 172px;
  padding: 1.35rem 1.4rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  scroll-margin-top: calc(var(--header-h) + 2rem);
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s var(--ease-out);
}
.area-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 340px;
  height: 340px;
  margin: -170px 0 0 -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.2), transparent 62%);
  opacity: 0;
  transform: translate(var(--mx), var(--my));
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.area-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--c-gold-400);
  opacity: 0;
  pointer-events: none;
}
.area-card:hover {
  transform: translateY(-8px);
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 28px 56px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(251, 191, 36, 0.12);
}
.area-card:hover::before { opacity: 1; }

.area-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.area-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 14px;
  font-size: 1.15rem;
  color: var(--c-gold-400);
  background: rgba(251, 191, 36, 0.1);
  transition: transform 0.55s var(--ease-spring), color 0.3s ease, background-color 0.3s ease;
}
.area-card:hover .area-card__icon { color: var(--c-navy-900); background: var(--c-gold-400); transform: translateY(-3px) rotate(-8deg); }
.area-card__arrow { font-size: 1.1rem; color: var(--c-slate-500); transition: transform 0.45s var(--ease-out), color 0.3s ease; }
.area-card:hover .area-card__arrow { color: var(--c-gold-400); transform: translate(3px, -3px); }

.area-card__title { display: grid; gap: 0.25rem; }
.area-card__pre { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-slate-400); }
.area-card__city { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; line-height: 1.25; color: var(--c-white); }

/* Coverage highlight — the areas named in the intro copy */
.area-card--core {
  border-color: rgba(251, 191, 36, 0.28);
  background: linear-gradient(160deg, rgba(217, 119, 6, 0.18), rgba(255, 255, 255, 0.03) 65%);
}
.area-card--core .area-card__icon { border-color: transparent; color: var(--c-navy-900); background: var(--grad-gold); box-shadow: var(--shadow-gold); }

@media (min-width: 640px) {
  .areas__feature { grid-column: span 2; grid-row: span 2; min-height: 360px; }
}

/* --------------------------------------------------------------------------
   25 · SERVICE DETAIL (body.page-service)  →  WP: single-service.php
   Main column + sticky quick-quote / service-nav sidebar.
   -------------------------------------------------------------------------- */
.call-pulse {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.14);
}
.call-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.3);
  opacity: 0;
}

.svc-layout { display: grid; gap: clamp(3.5rem, 7vw, 4.5rem); }
.svc-main { display: grid; gap: clamp(4rem, 8vw, 6rem); min-width: 0; }
.svc-prose { display: grid; gap: 1rem; margin-top: 1.25rem; font-size: 1.02rem; line-height: 1.75; color: var(--text-muted); }

.svc-figure { position: relative; margin: 2.25rem 0 0; padding-bottom: 13%; }
.svc-figure__main {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  background: var(--c-slate-200);
  box-shadow: var(--shadow-xl);
}
.svc-figure__inset {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 38%;
  overflow: hidden;
  aspect-ratio: 1;
  border: 6px solid var(--bg);
  border-radius: var(--radius-lg);
  background: var(--c-slate-200);
  box-shadow: var(--shadow-lg);
}
.svc-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.svc-figure:hover img { transform: scale(1.05); }
.svc-figure__badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  font-size: 1.5rem;
  color: var(--c-navy-900);
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold);
}
.svc-figure__badge::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--c-gold-500);
  opacity: 0;
}

/* Benefit cards (icon + paragraph) */
.benefits { display: grid; gap: 1rem; margin-top: 2rem; }
.benefit {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 1.25rem;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.35s ease;
}
.benefit::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--grad-gold);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 0.5s var(--ease-out);
}
.benefit:hover { transform: translateY(-5px); border-color: rgba(217, 119, 6, 0.35); box-shadow: var(--shadow-md); }
.benefit:hover::before { transform: scaleY(1); }
.benefit__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  font-size: 1.25rem;
  color: var(--c-gold-400);
  background: var(--c-navy-900);
  box-shadow: var(--shadow-md);
  transition: transform 0.55s var(--ease-spring);
}
.benefit:hover .benefit__icon { transform: rotate(-8deg) scale(1.06); }
.benefit p { font-size: 0.98rem; line-height: 1.7; color: var(--text-muted); }

/* Scope cards (numbered via CSS counters, checkerboard light/dark) */
.scope-grid { display: grid; gap: 1.25rem; margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: scope; }
.scope-card {
  counter-increment: scope;
  position: relative;
  overflow: hidden;
  padding: 1.9rem 1.6rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.35s ease;
}
.scope-card::after {
  content: counter(scope, decimal-leading-zero);
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-slate-300);
  transition: -webkit-text-stroke-color 0.4s ease;
}
.scope-card:hover { transform: translateY(-8px); border-color: rgba(217, 119, 6, 0.35); box-shadow: var(--shadow-lg); }
.scope-card:hover::after { -webkit-text-stroke-color: var(--c-gold-500); }
.scope-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  border-radius: 15px;
  font-size: 1.2rem;
  color: var(--c-gold-400);
  background: var(--c-navy-900);
  transition: transform 0.55s var(--ease-spring);
}
.scope-card:hover .scope-card__icon { transform: rotate(-8deg) scale(1.06); }
.scope-card p { font-size: 0.97rem; line-height: 1.7; }

.scope-card--dark { border-color: transparent; color: var(--c-slate-300); background: var(--grad-navy); }
.scope-card--dark::after { -webkit-text-stroke-color: rgba(148, 163, 184, 0.3); }
.scope-card--dark .scope-card__icon { color: var(--c-navy-900); background: var(--grad-gold); }

@media (min-width: 760px) {
  .scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Urgent CTA panel + tagline strip */
.urgent {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.25rem);
  border-radius: var(--radius-xl);
  color: var(--c-white);
  background: var(--c-navy-900);
  box-shadow: var(--shadow-xl);
}
.urgent__media { position: absolute; inset: -12% 0; z-index: -2; }
.urgent__media img { width: 100%; height: 100%; object-fit: cover; translate: 0 var(--py, 0px); }
.urgent::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(11, 17, 32, 0.96) 0%, rgba(15, 23, 42, 0.86) 55%, rgba(180, 83, 9, 0.6) 100%);
}
.urgent .section-title { color: var(--c-white); }
.urgent .svc-prose { color: rgba(226, 232, 240, 0.88); }
.urgent__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.tagline {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 0.92rem + 0.55vw, 1.35rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-navy-900);
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold);
}
.tagline .icon { flex: none; font-size: 1.4rem; }
.tagline::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.45) 50%, transparent 60%);
  transform: translateX(-100%);
  pointer-events: none;
}

/* Sidebar — a block (not grid) so the quick-quote card can stick within the
   full-height column: a grid item's sticky range would be its own row. */
.svc-aside > * + * { margin-top: 1.5rem; }
.aside-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.aside-card__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-strong);
}
.aside-card__title::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad-gold); }

.svc-nav { display: grid; gap: 0.5rem; }
.svc-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 0.8rem 1rem 0.8rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--text-strong);
  background: var(--c-alabaster);
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.svc-nav__link .icon { color: var(--c-slate-400); transition: transform 0.35s var(--ease-out), color 0.3s ease; }
.svc-nav__link:hover { transform: translateX(4px); border-color: rgba(217, 119, 6, 0.4); background: var(--surface); }
.svc-nav__link:hover .icon { color: var(--c-gold-600); transform: translateX(3px); }
.svc-nav__link[aria-current="page"] { border-color: var(--c-navy-900); color: var(--c-white); background: var(--c-navy-900); box-shadow: var(--shadow-md); }
.svc-nav__link[aria-current="page"] .icon { color: var(--c-gold-400); }

.quote-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  color: var(--c-slate-300);
  background: var(--grad-navy);
  box-shadow: var(--shadow-xl);
}
.quote-card::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  z-index: -1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.3), transparent 65%);
  pointer-events: none;
}
.quote-card__title { margin-bottom: 0.85rem; font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; line-height: 1.2; color: var(--c-white); }
.quote-card__text { font-size: 0.94rem; line-height: 1.65; color: var(--c-slate-400); }
.quote-card__list { display: grid; gap: 0.7rem; margin: 1.5rem 0 1.75rem; }
.quote-card__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 44px;
  font-size: 0.94rem;
  font-weight: 500;
  font-style: normal;
  line-height: 1.45;
  color: var(--c-white);
  overflow-wrap: anywhere;
  transition: color 0.25s ease;
}
a.quote-card__item:hover { color: var(--c-gold-300); }
.quote-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--c-gold-400);
  background: rgba(255, 255, 255, 0.07);
}

@media (min-width: 1024px) {
  .svc-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 4rem; align-items: start; }
  .svc-aside { align-self: stretch; }
  .quote-card { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* --------------------------------------------------------------------------
   26 · BLOG (body.page-blog)  →  WP: home.php (posts page)
   Latest post as a magazine hero; older posts fill .post-grid (3 columns).
   -------------------------------------------------------------------------- */
.blog-intro { max-width: 840px; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); text-align: center; }
.blog-intro p { margin-top: 1.25rem; font-size: 1.05rem; line-height: 1.75; color: var(--text-muted); }

.feature-post {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--c-navy-900);
  box-shadow: var(--shadow-xl);
  transition: transform 0.6s var(--ease-out);
}
.feature-post:hover { transform: translateY(-6px); }
.feature-post__link { display: grid; min-height: clamp(440px, 58vw, 620px); }
.feature-post__media { position: absolute; inset: 0; z-index: -2; }
.feature-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.feature-post:hover .feature-post__media img { transform: scale(1.06); }
.feature-post::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.05) 25%, rgba(11, 17, 32, 0.9) 100%);
  pointer-events: none;
}
.feature-post__body {
  align-self: end;
  display: grid;
  gap: 1rem;
  max-width: 720px;
  margin: clamp(0.75rem, 3vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  color: var(--c-white);
  background: rgba(15, 23, 42, 0.45);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.feature-post__title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--c-white);
}
.feature-post__excerpt { font-size: 1.05rem; color: rgba(226, 232, 240, 0.88); }
.feature-post__arrow {
  justify-self: start;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-top: 0.5rem;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--c-navy-900);
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold);
  transition: transform 0.55s var(--ease-spring);
}
.feature-post:hover .feature-post__arrow { transform: rotate(45deg); }

/* Category badge — WP: the_category() inside .post-card__media / .feature-post__body */
.post-badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-navy-900);
  background: var(--c-gold-400);
}
.post-card__media .post-badge { position: absolute; top: 1rem; left: 1rem; z-index: 1; }

/* Older posts: 3-column card grid (reuses .post-card from the home page) */
.post-grid { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.post-grid:empty { display: none; }
@media (min-width: 700px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   27 · CONTACT (body.page-contact)  →  WP: page-contact.php
   Contact cards + validated quote form, dark-mode map with office switcher.
   WP: swap the <form> fields for your form plugin's output and keep the
   .field / .field__control classes so the validation states still apply.
   -------------------------------------------------------------------------- */
.contact__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.contact__lead { margin: 1.25rem 0 2rem; font-size: 1.05rem; line-height: 1.75; color: var(--text-muted); }

.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.35s ease;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.55s var(--ease-out);
}
.contact-card:hover { transform: translateY(-6px); border-color: rgba(217, 119, 6, 0.35); box-shadow: var(--shadow-lg); }
.contact-card:hover::before { transform: scaleX(1); }
.contact-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 15px;
  font-size: 1.2rem;
  color: var(--c-gold-400);
  background: var(--c-navy-900);
  box-shadow: var(--shadow-md);
  transition: transform 0.55s var(--ease-spring);
}
.contact-card:hover .contact-card__icon { transform: rotate(-8deg) scale(1.06); }
.contact-card__title { margin-bottom: 0.5rem; font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--text-strong); }
.contact-card__lines { display: grid; gap: 0.15rem; }
.contact-card__link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.5rem;
  min-height: 40px;
  padding-block: 0.4rem;
  font-weight: 500;
  color: var(--text);
  overflow-wrap: anywhere;
  transition: color 0.25s ease;
}
.contact-card__link:hover { color: var(--accent-text); }
.contact-card__place { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-slate-500); }

/* Quote form card */
.contact__form-wrap { position: relative; isolation: isolate; }
.contact__form-wrap::before {
  content: "";
  position: absolute;
  top: -12%;
  right: -10%;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.22), transparent 65%);
  pointer-events: none;
}
.quote-form {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  background: var(--glass-light);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-xl);
}
.quote-form::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad-gold); }
.quote-form__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem; }
.quote-form__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 1.3rem;
  color: var(--c-navy-900);
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold);
}
.quote-form__title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}
.quote-form__fields { display: grid; gap: 0.35rem 1rem; }
.quote-form__submit { margin-top: 0.75rem; }
.quote-form__submit .btn__done { display: none; }
.quote-form.is-sent .quote-form__submit { color: var(--c-white); background: linear-gradient(135deg, #22C55E, #15803D); box-shadow: 0 10px 30px -8px rgba(21, 128, 61, 0.55); }
.quote-form.is-sent .quote-form__submit .btn__icon { display: none; }
.quote-form.is-sent .quote-form__submit .btn__done { display: block; width: 1.4em; height: 1.4em; }

.field { display: grid; gap: 0.3rem; }
.field__wrap { position: relative; }
.field__icon {
  position: absolute;
  top: 18px;
  left: 1.05rem;
  font-size: 1.1rem;
  color: var(--c-slate-400);
  pointer-events: none;
  transition: color 0.25s ease;
}
.field__control {
  width: 100%;
  min-height: 56px;
  padding: 0.95rem 3rem 0.95rem 3.1rem;
  border: 1.5px solid var(--c-slate-200);
  border-radius: 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--text-strong);
  background: var(--c-white);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
textarea.field__control { min-height: 150px; padding-top: 1rem; line-height: 1.55; resize: vertical; }
.field__control:hover { border-color: var(--c-slate-300); }
.field__control:focus { outline: none; border-color: var(--c-gold-500); box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2); }
.field__wrap:focus-within .field__icon { color: var(--c-gold-600); }

.field__state {
  position: absolute;
  top: 17px;
  right: 1rem;
  width: 22px;
  height: 22px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s ease, transform 0.4s var(--ease-spring);
  pointer-events: none;
}
.field__state--ok { color: var(--c-success); }
.field__state--err { color: var(--c-error); }
.field.is-valid .field__state--ok,
.field.is-invalid .field__state--err { opacity: 1; transform: none; }
.field.is-valid .field__control { border-color: rgba(22, 163, 74, 0.55); }
.field.is-invalid .field__control { border-color: var(--c-error); box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12); }
.field.is-invalid .field__icon { color: var(--c-error); }
.field__error { min-height: 1.35rem; font-size: 0.85rem; font-weight: 500; line-height: 1.35; color: var(--c-error-text); }

/* Dark-mode map with office switcher */
.map-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  background: var(--c-navy-950);
  box-shadow: var(--shadow-xl);
}
.map-panel__side {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--c-slate-300);
  background: var(--grad-navy);
}
.map-panel__title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.7rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-white);
}
.map-panel__title .icon { flex: none; color: var(--c-gold-400); }

.loc-btn {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  width: 100%;
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  text-align: left;
  color: var(--c-slate-300);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.loc-btn:hover { transform: translateY(-3px); border-color: rgba(251, 191, 36, 0.4); color: var(--c-white); }
.loc-btn[aria-pressed="true"] {
  border-color: rgba(251, 191, 36, 0.6);
  color: var(--c-white);
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.24), rgba(255, 255, 255, 0.04));
}
.loc-btn__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--c-gold-400);
  background: rgba(255, 255, 255, 0.07);
  transition: color 0.3s ease, background-color 0.3s ease;
}
.loc-btn[aria-pressed="true"] .loc-btn__icon { color: var(--c-navy-900); background: var(--grad-gold); }
.loc-btn__addr { padding-top: 0.45rem; font-weight: 500; line-height: 1.5; }

.contact-map { padding-top: 0; }

.map-panel__frame { position: relative; min-height: 360px; aspect-ratio: 4 / 3; background: #0D1526; }
.map-panel__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.55) brightness(0.92) contrast(0.95);
  transition: opacity 0.4s ease;
}
.map-panel.is-loading iframe { opacity: 0.35; }
.map-panel__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.55), transparent 16%), linear-gradient(0deg, rgba(11, 17, 32, 0.5), transparent 22%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 0 90px rgba(11, 17, 32, 0.6);
  pointer-events: none;
}
.map-panel__ping {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border: 2px solid rgba(251, 191, 36, 0.6);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 600px) {
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-form__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .map-panel { grid-template-columns: 380px minmax(0, 1fr); }
  .map-panel__frame { aspect-ratio: auto; min-height: 500px; }
}
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 4.5rem; }
}

/* --------------------------------------------------------------------------
   28 · INNER-PAGE MOTION (transform / opacity only) + REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .legacy__steps::before { transform: scaleY(0); transition: transform 1.4s var(--ease-out) 0.3s; }
  .legacy__steps.is-visible::before { transform: none; }
  .process__steps::before { transform: scaleX(0); transition: transform 1.6s var(--ease-out) 0.4s; }
  .process__steps.is-visible::before { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Page hero entrance — pure CSS, no JS dependency */
  .page-hero__img { animation: hero-zoom 2.6s var(--ease-out) both; }
  .page-hero__bar { animation: bar-in 1.1s var(--ease-out) 0.15s both; }
  .page-hero__title .line__inner { animation: line-up 1.05s var(--ease-out) 0.25s both; }
  .page-hero__title .line:nth-child(2) .line__inner { animation-delay: 0.36s; }
  .page-hero__title .line:nth-child(3) .line__inner { animation-delay: 0.47s; }
  .page-hero .breadcrumb,
  .page-hero__actions { animation: rise 0.9s var(--ease-out) 0.6s both; }
  .page-hero__aside { animation: card-in 1.1s var(--ease-out) 0.75s both; }
  .glass-stat .experience__progress { animation: ring-draw 1.8s var(--ease-out) 1s both; }

  .marquee__row { animation: marquee 46s linear infinite; }
  .marquee__row--reverse { animation-direction: reverse; animation-duration: 52s; }
  .marquee:hover .marquee__row,
  .marquee.is-paused .marquee__row { animation-play-state: paused; }

  .call-pulse::after,
  .serving__pin::after,
  .svc-figure__badge::after { animation: ping-soft 2.4s var(--ease-out) infinite; }
  .map-ping::after { animation: ping 2.4s var(--ease-out) infinite; }
  .map-ping--2::after { animation-delay: 0.8s; }
  .map-ping--3::after { animation-delay: 1.6s; }
  .map-panel__ping { animation: radar 2.8s var(--ease-out) infinite; }
  .trust__seal .about__badge-ring { animation: spin 22s linear infinite; }
  .tagline::after { animation: sheen 5.5s ease-in-out 1s infinite; }
  .area-card:target::after { animation: target-ring 1.1s ease-in-out 3; }
  .quote-form.is-shake { animation: shake 0.45s var(--ease-out); }
}

@keyframes bar-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ring-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0.18; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes radar { 0% { opacity: 0.8; transform: scale(0.15); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes target-ring { 50% { opacity: 1; } }
@keyframes shake { 20%, 60% { translate: -7px 0; } 40%, 80% { translate: 7px 0; } }

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__row { width: auto; }
  .marquee__list { flex: 1; flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .marquee__list[aria-hidden="true"] { display: none; }
}
