/* ============================================================
   HOME BOOSTERS — Design System
   Brand: Navy + Teal + Gold accent · Modern, Confident, Premium
   ============================================================ */

:root {
  /* Brand colors */
  --navy-900: #0F1A2E;
  --navy-800: #16203A;
  --navy-700: #1F2A44;
  --navy-600: #2C3A5A;
  --teal-500: #00B5C2;
  --teal-600: #009BA6;
  --teal-50:  #E6F8FA;
  --gold-500: #C9A875;
  --gold-600: #B08F5C;
  --gold-50:  #F8F1E3;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #FAFBFC;
  --gray-50: #F8FAFC;
  --gray-100: #F2F4F7;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* Semantic */
  --success: #10B981;
  --warning: #F59E0B;
  --danger:  #EF4444;

  /* Typography */
  --font-display: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  /* Spacing (4/8) */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15,23,42,0.04);
  --shadow-sm: 0 2px 6px rgba(15,23,42,0.06);
  --shadow-md: 0 8px 24px rgba(15,23,42,0.08);
  --shadow-lg: 0 16px 40px rgba(15,23,42,0.12);
  --shadow-xl: 0 24px 64px rgba(31,42,68,0.18);
  --shadow-glow: 0 0 0 6px rgba(0,181,194,0.18);

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --header-h: 84px;

  /* Z */
  --z-nav: 100;
  --z-modal: 1000;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 150ms;
  --t-base: 220ms;
  --t-slow: 320ms;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* Focus */
:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px; left: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 20px;
  z-index: 9999;
  border-radius: 0 0 var(--radius-md) 0;
  font-weight: 600;
  transition: top var(--t-base) var(--ease-out);
}
.skip-link:focus { top: 0; }

/* Selection */
::selection { background: var(--teal-500); color: var(--white); }

/* ============================================================
   Typography
   ============================================================ */
.display, h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}
h1 { font-size: clamp(2rem, 5vw + 1rem, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 3vw + 0.75rem, 2.75rem); }
h3 { font-size: clamp(1.375rem, 1.5vw + 0.75rem, 1.875rem); }
h4 { font-size: var(--text-xl); font-weight: 700; }
p  { color: var(--gray-600); }
.lead { font-size: clamp(1.05rem, 0.4vw + 1rem, 1.25rem); color: var(--gray-600); line-height: 1.65; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-600);
}
.muted { color: var(--gray-500); }
.highlight { color: var(--teal-600); }

/* ============================================================
   Layout primitives
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
@media (min-width: 768px) { .container { padding-inline: var(--space-8); } }
@media (min-width: 1024px) { .container { padding-inline: var(--space-10); } }

.container-wide { max-width: var(--container-wide); }

section { padding: clamp(64px, 8vw, 120px) 0; }
.section-tight { padding: clamp(48px, 5vw, 80px) 0; }

.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.flex { display: flex; }
.stack { display: flex; flex-direction: column; gap: var(--space-4); }
.stack-lg { gap: var(--space-6); }
.center { text-align: center; }
.row-center { display: flex; align-items: center; }
.between { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }

/* Section header (intro block) */
.section-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: var(--space-12); }
.section-head h2 { margin-top: var(--space-3); }
.section-head .lead { margin-top: var(--space-4); }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base), background var(--t-base);
}
.site-header.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: var(--header-h);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--navy-900);
  /* Lock against flex compression — without this, longer ES nav labels
     squeeze the logo down to ~31px wide. */
  flex-shrink: 0;
}
.nav-brand img {
  height: 72px;
  width: auto;
  min-width: 140px;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}
@media (max-width: 640px) {
  .nav-brand img { height: 52px; min-width: 100px; }
}
.nav-links {
  display: none;
  align-items: center;
  gap: 0;
}
.nav-links a {
  position: relative;
  padding: 10px 16px;
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--gray-700);
  border-radius: var(--radius-md);
  text-align: center;
  white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast);
}
/* Vertical teal separator between each link except the last */
.nav-links a + a::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: rgba(0,181,194,0.4);
  pointer-events: none;
}
.nav-links a:hover { color: var(--navy-900); background: var(--gray-100); }
.nav-links a.active { color: var(--teal-600); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--teal-500);
  border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: var(--space-2); }

@media (min-width: 980px) {
  .nav-links { display: flex; }
}

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
}
.lang-toggle button {
  padding: 8px 12px;
  min-height: 36px;
  border-radius: var(--radius-full);
  color: var(--gray-500);
  transition: background var(--t-fast), color var(--t-fast);
  min-width: 40px;
}
@media (max-width: 640px) {
  .lang-toggle button { min-height: 40px; min-width: 44px; padding: 10px 12px; }
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--navy-900);
  color: var(--white);
}

/* Mobile menu trigger */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  color: var(--navy-900);
  transition: background var(--t-fast);
}
.menu-toggle:hover { background: var(--gray-100); }
@media (min-width: 980px) { .menu-toggle { display: none; } }

/* Mobile panel */
.mobile-panel {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: calc(var(--z-nav) - 1);
  padding: var(--space-6) var(--space-5) var(--space-10);
  transform: translateY(-110%);
  transition: transform var(--t-slow) var(--ease-out);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.mobile-panel.open { transform: translateY(0); }
.mobile-panel a {
  padding: 16px 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--navy-900);
  border-bottom: 1px solid var(--gray-100);
}
.mobile-panel a:hover { color: var(--teal-600); }
.mobile-panel .btn { margin-top: var(--space-6); }
@media (min-width: 980px) { .mobile-panel { display: none; } }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease-out),
              background var(--t-base),
              color var(--t-base),
              box-shadow var(--t-base),
              border-color var(--t-base);
  min-height: 48px;
  user-select: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--teal-500);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0,181,194,0.32);
}
.btn-primary:hover { background: var(--teal-600); box-shadow: 0 12px 32px rgba(0,181,194,0.42); }

.btn-dark {
  background: var(--navy-900);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-700); }

.btn-outline {
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.btn-outline:hover { background: var(--navy-900); color: var(--white); }

.btn-ghost {
  color: var(--navy-900);
}
.btn-ghost:hover { background: var(--gray-100); }

.btn-gold {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn-gold:hover { background: var(--gold-600); color: var(--white); }

.btn-lg { padding: 18px 32px; font-size: var(--text-base); min-height: 56px; }
.btn-sm { padding: 10px 18px; min-height: 40px; font-size: var(--text-xs); }
.btn-block { width: 100%; }

/* ============================================================
   Badges & Pills
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--gray-100);
  color: var(--gray-700);
}
.badge-teal { background: var(--teal-50); color: var(--teal-600); }
.badge-gold { background: var(--gold-50); color: var(--gold-600); }
.badge-navy { background: var(--navy-900); color: var(--white); }
.badge-success { background: rgba(16,185,129,0.12); color: #047857; }
.badge svg { width: 14px; height: 14px; }

/* Pulsing dot */
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(16,185,129,0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* ============================================================
   Hero (home)
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0 clamp(64px, 8vw, 120px);
  background:
    radial-gradient(1200px 600px at 85% -20%, rgba(0,181,194,0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(201,168,117,0.18), transparent 60%),
    linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: var(--space-16); }
}
.hero h1 { margin-top: var(--space-4); }
.hero .lead { margin-top: var(--space-5); max-width: 560px; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.hero-trust {
  margin-top: var(--space-10);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  color: var(--gray-500);
  font-size: var(--text-sm);
}
.hero-trust-item { display: flex; align-items: center; gap: 8px; }
.hero-trust-item svg { width: 18px; height: 18px; color: var(--teal-500); }

/* Hero visual: stack of cards */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin-inline: auto;
}
.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.hero-card-main {
  inset: 8% 8% 12% 8%;
  display: flex;
  flex-direction: column;
}
.hero-card-main-img {
  flex: 1;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(0,181,194,0.22), transparent 65%),
    linear-gradient(180deg, #E9F4F6 0%, #CFE7EA 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
}
.hero-card-main-img img { max-height: 100%; width: auto; filter: drop-shadow(0 24px 32px rgba(15,26,46,0.25)); }
.hero-card-main-meta {
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--gray-100);
}
.hero-card-main-meta strong { font-family: var(--font-display); font-size: var(--text-lg); color: var(--navy-900); }
.hero-card-main-meta span { font-size: var(--text-xs); color: var(--gray-500); }

.hero-card-mini {
  width: 200px;
  padding: var(--space-4);
  background: var(--white);
}
.hero-card-mini.top {
  top: -2%;
  right: 0%;
  transform: rotate(3deg);
}
.hero-card-mini.bottom {
  bottom: -2%;
  left: -4%;
  transform: rotate(-4deg);
}
.hero-card-mini .icon-wrap {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--teal-50);
  color: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-3);
}
.hero-card-mini .icon-wrap svg { width: 22px; height: 22px; }
.hero-card-mini h5 { font-family: var(--font-display); font-size: var(--text-sm); color: var(--navy-900); margin-bottom: 2px; }
.hero-card-mini p { font-size: var(--text-xs); color: var(--gray-500); }

/* Hero floating tag */
.hero-tag {
  position: absolute;
  top: 12%;
  left: -4%;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-sm);
  box-shadow: var(--shadow-lg);
  transform: rotate(-6deg);
}

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero {
  padding: clamp(80px, 8vw, 140px) 0 clamp(48px, 5vw, 80px);
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(0,181,194,0.16), transparent 60%),
    linear-gradient(180deg, var(--off-white), var(--white));
  text-align: center;
}
.page-hero .container { max-width: 860px; }
.page-hero h1 { margin-top: var(--space-4); }
.page-hero .lead { margin-top: var(--space-5); }
.page-hero .hero-ctas { justify-content: center; margin-top: var(--space-8); }

/* ============================================================
   Service cards (home & lists)
   ============================================================ */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base),
              border-color var(--t-base);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card .icon-tile {
  width: 64px; height: 64px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-50);
  color: var(--teal-600);
  margin-bottom: var(--space-5);
  transition: transform var(--t-base) var(--ease-out);
}
.service-card:hover .icon-tile { transform: scale(1.05) rotate(-3deg); }
.service-card .icon-tile svg { width: 32px; height: 32px; }
.service-card h3 { margin-bottom: var(--space-3); }
.service-card p { color: var(--gray-600); margin-bottom: var(--space-5); }
.service-card .features { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-6); }
.service-card .features li { display: flex; align-items: center; gap: 10px; color: var(--gray-700); font-size: var(--text-sm); }
.service-card .features li svg { width: 18px; height: 18px; color: var(--teal-500); flex-shrink: 0; }
.service-card .card-cta { margin-top: auto; }
.service-card .card-cta a {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--navy-900); font-size: var(--text-sm);
}
.service-card .card-cta a svg { transition: transform var(--t-base); }
.service-card:hover .card-cta a svg { transform: translateX(4px); }

/* Variant accents */
.service-card[data-accent="teal"] .icon-tile { background: var(--teal-50); color: var(--teal-600); }
.service-card[data-accent="gold"] .icon-tile { background: var(--gold-50); color: var(--gold-600); }
.service-card[data-accent="navy"] .icon-tile { background: rgba(31,42,68,0.08); color: var(--navy-900); }

/* ============================================================
   Feature grid (benefits)
   ============================================================ */
.feature-grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.feature:hover { border-color: var(--teal-500); box-shadow: var(--shadow-md); }
.feature .icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--teal-50);
  color: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
}
.feature .icon-wrap svg { width: 24px; height: 24px; }
.feature h4 { margin-bottom: var(--space-2); color: var(--navy-900); }
.feature p { font-size: var(--text-sm); color: var(--gray-600); }

/* ============================================================
   Stats / Trust strip
   ============================================================ */
.stats {
  background: var(--navy-900);
  color: var(--white);
  padding: var(--space-12) 0;
}
.stats-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  color: var(--teal-500);
  line-height: 1;
}
.stat-label { font-size: var(--text-sm); color: rgba(255,255,255,0.7); margin-top: var(--space-2); }

/* ============================================================
   Tables (spec table)
   ============================================================ */
.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: var(--text-sm);
}
.spec-table thead {
  background: var(--navy-900);
  color: var(--white);
}
.spec-table th, .spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}
.spec-table th { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; }
.spec-table tbody tr { transition: background var(--t-fast); }
.spec-table tbody tr:hover { background: var(--gray-50); }
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table .model { font-weight: 700; color: var(--navy-900); }
.spec-table-cap { font-size: var(--text-xs); color: var(--gray-500); padding: 12px 18px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  position: relative;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(0,181,194,0.25), transparent 60%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,117,0.3), transparent 60%);
  pointer-events: none;
}
.cta-band .container {
  position: relative;
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 880px) { .cta-band .container { grid-template-columns: 1.6fr 1fr; gap: var(--space-12); } }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.78); margin-top: var(--space-4); max-width: 540px; }
.cta-band .hero-ctas { margin-top: var(--space-6); }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.4); color: var(--white); }
.cta-band .btn-outline:hover { background: var(--white); color: var(--navy-900); }

/* ============================================================
   Process steps
   ============================================================ */
.steps {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -18px;
  left: var(--space-6);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-2xl);
  color: var(--teal-500);
  background: var(--white);
  padding: 0 8px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}
.step h4 { margin-top: var(--space-3); margin-bottom: var(--space-2); }
.step p { font-size: var(--text-sm); }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.faq-item[open] { border-color: var(--teal-500); box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 14px; height: 14px;
  border-right: 2px solid var(--teal-500);
  border-bottom: 2px solid var(--teal-500);
  transform: rotate(45deg);
  transition: transform var(--t-base);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item .faq-body {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--gray-600);
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .testimonials { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  padding: var(--space-8);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.testimonial .stars { display: flex; gap: 2px; color: var(--gold-500); }
.testimonial .stars svg { width: 18px; height: 18px; }
.testimonial blockquote { color: var(--gray-700); font-size: var(--text-base); line-height: 1.6; }
.testimonial-meta { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--navy-700));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
}
.testimonial-name { font-family: var(--font-display); font-weight: 700; color: var(--navy-900); font-size: var(--text-sm); }
.testimonial-loc { font-size: var(--text-xs); color: var(--gray-500); }

/* ============================================================
   Forms
   ============================================================ */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; gap: var(--space-4); grid-template-columns: 1fr; margin-bottom: var(--space-4); }
@media (min-width: 640px) { .form-row.two { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--navy-900);
}
.field label .req { color: var(--danger); margin-left: 2px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: var(--text-base);
  color: var(--navy-900);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  min-height: 48px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gray-400); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: var(--shadow-glow);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .help { font-size: var(--text-xs); color: var(--gray-500); }
.field .error { font-size: var(--text-xs); color: var(--danger); display: none; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }
.field.has-error .error { display: block; }

.checkbox-group { display: flex; flex-direction: column; gap: var(--space-3); }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.checkbox:hover { border-color: var(--teal-500); background: var(--teal-50); }
.checkbox input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--teal-500); margin-top: 2px; }
.checkbox span { font-size: var(--text-sm); color: var(--navy-900); }

.form-success {
  display: none;
  padding: var(--space-5);
  background: rgba(16,185,129,0.08);
  border: 1px solid var(--success);
  border-radius: var(--radius-md);
  color: #065f46;
}
.form-success.show { display: block; }

/* ============================================================
   Info block (icon + text rows)
   ============================================================ */
.info-rows { display: flex; flex-direction: column; gap: var(--space-5); }
.info-row { display: flex; gap: var(--space-4); }
.info-row .icon-wrap {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--teal-50);
  color: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
}
.info-row .icon-wrap svg { width: 22px; height: 22px; }
.info-row h5 { color: var(--navy-900); margin-bottom: 2px; }
.info-row p { font-size: var(--text-sm); }
.info-row a { color: var(--teal-600); font-weight: 600; }
.info-row a:hover { text-decoration: underline; }

/* ============================================================
   Two column (image + content)
   ============================================================ */
.two-col {
  display: grid;
  gap: var(--space-10);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: var(--space-16); } }
.two-col.reverse > :first-child { order: 1; }
@media (min-width: 900px) {
  .two-col.reverse > :first-child { order: 2; }
  .two-col.reverse > :last-child { order: 1; }
}
.media-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--teal-50), var(--gray-100));
}
.media-card.water {
  background:
    radial-gradient(800px 600px at 50% 30%, rgba(0,181,194,0.25), transparent 60%),
    linear-gradient(180deg, #EAF6F8 0%, #C7E1E5 100%);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-10);
}
.media-card.water img { max-height: 100%; width: auto; filter: drop-shadow(0 30px 40px rgba(15,26,46,0.3)); }

.placeholder-illustration {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   Coverage / map
   ============================================================ */
.coverage {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .coverage { grid-template-columns: 0.9fr 1.1fr; } }
.coverage-map {
  border-radius: var(--radius-2xl);
  background: linear-gradient(180deg, var(--navy-900), var(--navy-700));
  padding: var(--space-8);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.coverage-map svg { width: 100%; height: auto; }

/* Real-map wrapper with absolutely positioned city pins */
.map-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.map-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.25));
}
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}
.map-pin-dot {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--teal-500);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.25);
}
.map-pin-dot::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--teal-500);
  opacity: 0.4;
  animation: mapPinPulse 2.2s ease-out infinite;
}
@keyframes mapPinPulse {
  0%   { transform: scale(0.6); opacity: 0.45; }
  100% { transform: scale(2.2);  opacity: 0; }
}
.map-pin-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.55), 0 0 8px rgba(0,0,0,0.4);
}
.map-pin-label-left {
  left: auto;
  right: 16px;
}
.state-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(0,181,194,0.18);
  color: var(--teal-500);
  font-weight: 600;
  font-size: var(--text-sm);
}
.coverage-cities {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(2, 1fr);
  margin-top: var(--space-5);
}
.coverage-cities li {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--text-sm); color: var(--gray-700);
}
.coverage-cities li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: var(--space-16) 0 var(--space-8);
  margin-top: 0;
}
.footer-grid {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-12);
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand img { height: 56px; width: auto; filter: brightness(0) invert(1); margin-bottom: var(--space-4); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: var(--text-sm); max-width: 320px; }
.footer-col h5 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--teal-500); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: var(--white); }

/* Socials */
.socials { display: flex; gap: var(--space-2); margin-top: var(--space-5); }
.socials a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background var(--t-fast), color var(--t-fast);
}
.socials a:hover { background: var(--teal-500); color: var(--navy-900); }
.socials svg { width: 18px; height: 18px; }

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

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

/* ============================================================
   Utilities
   ============================================================ */
.bg-soft { background: var(--off-white); }
.bg-gray { background: var(--gray-100); }
.bg-navy { background: var(--navy-900); color: var(--white); }
.bg-navy p, .bg-navy .lead { color: rgba(255,255,255,0.78); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }

.mt-0 { margin-top: 0; }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }

.mx-auto { margin-inline: auto; }
.text-center { text-align: center; }
.max-w-prose { max-width: 65ch; }
.max-w-md { max-width: 480px; }
.max-w-lg { max-width: 640px; }
.max-w-xl { max-width: 720px; }

/* Hide visually but keep accessible */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   HERO BLEED (homepage) — full-bleed photo with horizontal fade
   to solid navy on the text side (Select-style)
   Slide count: 5 (Water · Blinds · Shower Doors · Epoxy · Landscaping)
   ============================================================ */
.hero-bleed {
  position: relative;
  width: 100%;
  min-height: clamp(540px, 78vh, 760px);
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  padding: 0 !important;
  display: flex;
  align-items: center;
}

/* Photo layer — covers the entire section, full-bleed */
.hero-bleed-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bleed-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* +15% right offset so the photo subject isn't hidden under the navy fade */
  transform: translateX(15%);
  animation: hbSlideFade 40s infinite;
  will-change: opacity;
}
.hero-bleed-slide[data-slide="1"] { opacity: 1; }
.hero-bleed-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
  animation: hbKenBurns 40s infinite;
  will-change: transform;
}
.hero-bleed-slide[data-slide="1"], .hero-bleed-slide[data-slide="1"] img { animation-delay: 0s; }
.hero-bleed-slide[data-slide="2"], .hero-bleed-slide[data-slide="2"] img { animation-delay: 8s; }
.hero-bleed-slide[data-slide="3"], .hero-bleed-slide[data-slide="3"] img { animation-delay: 16s; }
.hero-bleed-slide[data-slide="4"], .hero-bleed-slide[data-slide="4"] img { animation-delay: 24s; }
.hero-bleed-slide[data-slide="5"], .hero-bleed-slide[data-slide="5"] img { animation-delay: 32s; }

@keyframes hbSlideFade {
  0%   { opacity: 0; }
  2%   { opacity: 1; }
  18%  { opacity: 1; }
  20%, 100% { opacity: 0; }
}
@keyframes hbKenBurns {
  0%   { transform: scale(1.02); }
  20%  { transform: scale(1.07); }
  20.01%, 100% { transform: scale(1.02); }
}

/* Horizontal fade — solid navy left → transparent right.
   This is the key visual: image blends seamlessly into solid color. */
.hero-bleed-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* Bottom darken for label legibility */
    linear-gradient(180deg, rgba(15,26,46,0) 60%, rgba(15,26,46,0.55) 100%),
    /* Subtle top vignette */
    linear-gradient(180deg, rgba(15,26,46,0.30) 0%, rgba(15,26,46,0) 40%),
    /* Horizontal solid-to-transparent — the hero effect */
    linear-gradient(
      90deg,
      var(--navy-900) 0%,
      var(--navy-900) 30%,
      rgba(15,26,46,0.92) 42%,
      rgba(15,26,46,0.55) 58%,
      rgba(15,26,46,0.10) 80%,
      rgba(15,26,46,0) 100%
    );
}

/* Content layer — sits above the photo on the navy-solid side */
.hero-bleed-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-bleed-text {
  max-width: 560px;
  padding: clamp(80px, 12vh, 120px) 0 clamp(56px, 8vh, 96px);
}
.hero-bleed-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0,181,194,0.18);
  color: #6FE5EE;
  border: 1px solid rgba(0,181,194,0.35);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.hero-bleed-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(0,181,194,0.25);
}
.hero-bleed-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--white);
  margin: 0 0 var(--space-4);
  max-width: 16ch;
  text-shadow: 0 2px 24px rgba(0,0,0,0.30);
}
.hero-bleed-lead {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin: 0 0 var(--space-6);
  max-width: 52ch;
}
.hero-bleed-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.hero-bleed-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
  font-size: var(--text-sm);
}
.hero-bleed-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.hero-bleed-trust-item svg {
  width: 18px; height: 18px;
  color: var(--teal-500);
}

/* Floating service label + progress dots on the photo side */
.hero-bleed-meta {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(20px, 4vh, 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  max-width: 40%;
  text-align: right;
}
.hero-bleed-labels {
  position: relative;
  min-height: 22px;
  width: 100%;
}
.hero-bleed-label {
  position: absolute;
  right: 0;
  top: 0;
  opacity: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--white);
  animation: hbLabelFade 40s infinite;
  white-space: nowrap;
}
.hero-bleed-label[data-slide="1"] { opacity: 1; animation-delay: 0s; }
.hero-bleed-label[data-slide="2"] { animation-delay: 8s; }
.hero-bleed-label[data-slide="3"] { animation-delay: 16s; }
.hero-bleed-label[data-slide="4"] { animation-delay: 24s; }
.hero-bleed-label[data-slide="5"] { animation-delay: 32s; }
@keyframes hbLabelFade {
  0%   { opacity: 0; transform: translateY(4px); }
  2%   { opacity: 1; transform: translateY(0); }
  18%  { opacity: 1; transform: translateY(0); }
  20%, 100% { opacity: 0; transform: translateY(-4px); }
}

.hero-bleed-dots {
  display: flex;
  gap: 5px;
}
.hero-bleed-dots span {
  width: 22px;
  height: 3px;
  background: rgba(255,255,255,0.30);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.hero-bleed-dots span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--teal-500);
  transform: scaleX(0);
  transform-origin: left;
  animation: hbDotFill 40s linear infinite;
}
.hero-bleed-dots span[data-dot="1"]::after { animation-delay: 0s; }
.hero-bleed-dots span[data-dot="2"]::after { animation-delay: 8s; }
.hero-bleed-dots span[data-dot="3"]::after { animation-delay: 16s; }
.hero-bleed-dots span[data-dot="4"]::after { animation-delay: 24s; }
.hero-bleed-dots span[data-dot="5"]::after { animation-delay: 32s; }
@keyframes hbDotFill {
  0%   { transform: scaleX(0); }
  20%  { transform: scaleX(1); }
  20.01%, 100% { transform: scaleX(0); }
}

/* Mobile / narrow: photo as full background, vertical fade,
   text overlaid (legible everywhere) */
@media (max-width: 860px) {
  .hero-bleed {
    min-height: clamp(560px, 88vh, 760px);
  }
  .hero-bleed-slide { transform: none; }
  .hero-bleed-slide img { object-position: center; }
  .hero-bleed-fade {
    background:
      linear-gradient(180deg, rgba(15,26,46,0.70) 0%, rgba(15,26,46,0.55) 40%, rgba(15,26,46,0.90) 100%);
  }
  .hero-bleed-text {
    max-width: 100%;
    padding: clamp(96px, 14vh, 140px) 0 clamp(80px, 10vh, 120px);
  }
  .hero-bleed-meta {
    left: clamp(20px, 5vw, 40px);
    right: clamp(20px, 5vw, 40px);
    bottom: clamp(16px, 3vh, 28px);
    max-width: none;
    align-items: flex-start;
    text-align: left;
  }
  .hero-bleed-label { left: 0; right: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bleed-slide,
  .hero-bleed-slide img,
  .hero-bleed-label,
  .hero-bleed-dots span::after { animation: none !important; }
  .hero-bleed-slide[data-slide="1"] { opacity: 1; }
  .hero-bleed-label[data-slide="1"] { opacity: 1; transform: none; }
}

/* ============================================================
   HERO EDITORIAL (legacy — kept for reference only)
   ============================================================ */
.hero-editorial {
  background: var(--white);
  position: relative;
  padding: 0 !important; /* override global section padding */
}

/* Photo banner (top) — compact cinematic, fits above the fold */
.hero-editorial-banner {
  position: relative;
  width: 100%;
  /* 50vh max 460: photos lucen más grandes, todavía cabe arriba del fold */
  height: clamp(280px, 50vh, 460px);
  overflow: hidden;
  background: var(--navy-900);
}
@media (max-width: 720px) {
  .hero-editorial-banner { height: clamp(220px, 38vh, 320px); }
}

.hero-editorial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heSlideFade 32s infinite;
  will-change: opacity;
}
.hero-editorial-slide[data-slide="1"] { opacity: 1; }
.hero-editorial-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Show the photo starting from its original TOP (no upper crop) */
  object-position: center top;
  animation: heKenBurns 32s infinite;
  will-change: transform;
  /* Crisper rendering on scaled images */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.hero-editorial-slide[data-slide="1"], .hero-editorial-slide[data-slide="1"] img { animation-delay: 0s; }
.hero-editorial-slide[data-slide="2"], .hero-editorial-slide[data-slide="2"] img { animation-delay: 8s; }
.hero-editorial-slide[data-slide="3"], .hero-editorial-slide[data-slide="3"] img { animation-delay: 16s; }
.hero-editorial-slide[data-slide="4"], .hero-editorial-slide[data-slide="4"] img { animation-delay: 24s; }

@keyframes heSlideFade {
  0%   { opacity: 0; }
  3%   { opacity: 1; }
  22%  { opacity: 1; }
  25%, 100% { opacity: 0; }
}
@keyframes heKenBurns {
  /* Very subtle scale to minimize upscaling/blurring */
  0%   { transform: scale(1.01); }
  25%  { transform: scale(1.05); }
  25.01%, 100% { transform: scale(1.01); }
}

/* Small caption bottom-left of photo (subtle, not on top of content) */
.hero-editorial-caption {
  position: absolute;
  left: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 2;
  padding: 6px 14px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.hero-editorial-caption strong { font-weight: 700; }

/* Progress dots — clean line at bottom of banner */
.hero-editorial-progress {
  position: absolute;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 2;
  display: flex;
  gap: 6px;
}
.hero-editorial-progress span {
  width: 28px;
  height: 3px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.hero-editorial-progress span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  animation: heDotFill 32s linear infinite;
}
.hero-editorial-progress span[data-dot="1"]::after { animation-delay: 0s; }
.hero-editorial-progress span[data-dot="2"]::after { animation-delay: 8s; }
.hero-editorial-progress span[data-dot="3"]::after { animation-delay: 16s; }
.hero-editorial-progress span[data-dot="4"]::after { animation-delay: 24s; }
@keyframes heDotFill {
  0%   { transform: scaleX(0); }
  25%  { transform: scaleX(1); }
  25.01%, 100% { transform: scaleX(0); }
}

/* Text section below the photo — clean, generous, magazine-style */
.hero-editorial-text {
  padding: clamp(22px, 3vw, 44px) 0 clamp(24px, 3vw, 44px);
  background: var(--white);
}
.hero-editorial-text-inner {
  display: grid;
  gap: clamp(16px, 3vw, 40px);
  align-items: end;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .hero-editorial-text-inner {
    grid-template-columns: 1.2fr 1fr;
  }
}
.hero-editorial-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--teal-50);
  color: var(--teal-600);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.hero-editorial-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(0,181,194,0.18);
}
.hero-editorial-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy-900);
  margin: 0;
  max-width: 18ch;
}
.hero-editorial-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.hero-editorial-lead {
  font-size: clamp(var(--text-base), 1.4vw, var(--text-lg));
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
  max-width: 52ch;
}
.hero-editorial-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.hero-editorial-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: var(--text-sm);
}
.hero-editorial-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.hero-editorial-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--teal-500);
}

@media (prefers-reduced-motion: reduce) {
  .hero-editorial-slide, .hero-editorial-slide img, .hero-editorial-progress span::after { animation: none !important; }
  .hero-editorial-slide[data-slide="1"] { opacity: 1; }
}

/* ============================================================
   HERO CINEMATIC (legacy — kept for reference, not used)
   ============================================================ */
.hero-cinematic {
  position: relative;
  width: 100%;
  min-height: 88vh;
  /* Honor 16:9 native aspect on huge displays so photos aren't cropped */
  max-height: 920px;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(96px, 12vw, 160px);
  padding-top: clamp(140px, 18vw, 220px);
}
@media (max-width: 720px) {
  .hero-cinematic {
    min-height: 78vh;
    padding-top: clamp(120px, 22vw, 180px);
    padding-bottom: 120px;
  }
}

/* Background slideshow stage */
.hero-cinematic-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-cinematic-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: hcSlideFade 27s infinite;
  will-change: opacity;
}
/* Fallback: slide 1 visible by default so hero never appears empty */
.hero-cinematic-slide[data-slide="1"] { opacity: 1; }
.hero-cinematic-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  animation: hcKenBurns 27s infinite;
  will-change: transform;
}
.hero-cinematic-slide[data-slide="1"], .hero-cinematic-slide[data-slide="1"] img { animation-delay: 0s; }
.hero-cinematic-slide[data-slide="2"], .hero-cinematic-slide[data-slide="2"] img { animation-delay: 9s; }
.hero-cinematic-slide[data-slide="3"], .hero-cinematic-slide[data-slide="3"] img { animation-delay: 18s; }

/* Per-slide focal point — text is bottom-left so we anchor subjects toward right side */
/* Hero1: family + water softener on the right side of the frame */
.hero-cinematic-slide[data-slide="1"] img { object-position: 65% center; }
/* Hero2: technician installing blinds on the right; couple toward center */
.hero-cinematic-slide[data-slide="2"] img { object-position: 60% 45%; }
/* Hero3: epoxy installers on the right; floor reflection on the left preserves text space */
.hero-cinematic-slide[data-slide="3"] img { object-position: 70% 55%; }

@keyframes hcSlideFade {
  0%   { opacity: 0; }
  3%   { opacity: 1; }
  30%  { opacity: 1; }
  33.33%, 100% { opacity: 0; }
}
@keyframes hcKenBurns {
  0%   { transform: scale(1.04) translate3d(0, 0, 0); }
  33.33%  { transform: scale(1.12) translate3d(-1%, -0.8%, 0); }
  33.34%, 100% { transform: scale(1.04) translate3d(0, 0, 0); }
}

/* Dark gradient overlay — strong on left for text legibility, lighter on right to showcase image */
.hero-cinematic-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(15,26,46,0.92) 0%, rgba(15,26,46,0.82) 28%, rgba(15,26,46,0.55) 48%, rgba(15,26,46,0.28) 70%, rgba(15,26,46,0.22) 100%),
    linear-gradient(180deg, rgba(15,26,46,0.35) 0%, transparent 22%, transparent 70%, rgba(15,26,46,0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Foreground content */
.hero-cinematic-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-cinematic-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0,181,194,0.18);
  border: 1px solid rgba(0,181,194,0.45);
  color: #6FE5EE;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  backdrop-filter: blur(8px);
}
.hero-cinematic-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(0,181,194,0.3);
}
.hero-cinematic-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--white);
  margin: 0 0 var(--space-6);
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
  max-width: 18ch;
}
.hero-cinematic-lead {
  font-size: clamp(var(--text-base), 1.6vw, var(--text-lg));
  color: rgba(255,255,255,0.92);
  max-width: 56ch;
  margin: 0 0 var(--space-8);
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero-cinematic-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}
.hero-cinematic-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5) var(--space-8);
  color: rgba(255,255,255,0.85);
  font-size: var(--text-sm);
}
.hero-cinematic-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.hero-cinematic-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--teal-500);
  filter: drop-shadow(0 1px 6px rgba(0,0,0,0.4));
}

/* Light ghost button (for hero overlays) */
.btn-light-ghost {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
  backdrop-filter: blur(8px);
  transition: background var(--t-base), border-color var(--t-base);
}
.btn-light-ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
}

/* Floating gold tag */
.hero-cinematic-tag {
  position: absolute;
  top: clamp(110px, 14vw, 140px);
  right: clamp(24px, 4vw, 80px);
  z-index: 3;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(201,168,117,0.45), 0 2px 10px rgba(0,0,0,0.2);
  transform: rotate(-4deg);
  animation: hcTagPulse 2.4s ease-in-out infinite;
}
@keyframes hcTagPulse {
  0%, 100% { transform: rotate(-4deg) scale(1); }
  50%      { transform: rotate(-4deg) scale(1.06); }
}
@media (max-width: 720px) {
  .hero-cinematic-tag { display: none; }
}

/* Bottom indicator strip */
.hero-cinematic-indicator {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: 0 clamp(24px, 5vw, 80px);
}
.hero-cinematic-labels {
  position: relative;
  min-height: 48px;
  flex: 1;
  max-width: 360px;
}
.hero-cinematic-label {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: hcLabelFade 28s infinite;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--white);
}
.hero-cinematic-label[data-slide="1"] { opacity: 1; }
.hero-cinematic-label[data-slide="1"] { animation-delay: 0s; }
.hero-cinematic-label[data-slide="2"] { animation-delay: 7s; }
.hero-cinematic-label[data-slide="3"] { animation-delay: 14s; }
.hero-cinematic-label[data-slide="4"] { animation-delay: 21s; }
@keyframes hcLabelFade {
  0%   { opacity: 0; transform: translateY(8px); }
  3%   { opacity: 1; transform: translateY(0); }
  25%  { opacity: 1; transform: translateY(0); }
  28%, 100% { opacity: 0; transform: translateY(-8px); }
}
.hero-cinematic-label strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-base);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-500);
}
.hero-cinematic-label em {
  font-style: normal;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.95);
  font-weight: 500;
}

.hero-cinematic-dots {
  display: flex;
  gap: 6px;
}
.hero-cinematic-dot {
  width: 32px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
}
.hero-cinematic-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  animation: hcDotFill 28s linear infinite;
}
.hero-cinematic-dot[data-dot="1"]::after { animation-delay: 0s; }
.hero-cinematic-dot[data-dot="2"]::after { animation-delay: 7s; }
.hero-cinematic-dot[data-dot="3"]::after { animation-delay: 14s; }
.hero-cinematic-dot[data-dot="4"]::after { animation-delay: 21s; }
@keyframes hcDotFill {
  0%   { transform: scaleX(0); }
  25%  { transform: scaleX(1); }
  25.01%, 100% { transform: scaleX(0); }
}

/* Scroll cue */
.hero-cinematic-scroll {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 3;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.hero-cinematic-scroll-line {
  width: 2px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: hcScroll 1.6s ease-in-out infinite;
}
@keyframes hcScroll {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(12px); opacity: 0; }
}
@media (max-width: 720px) {
  .hero-cinematic-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cinematic-slide,
  .hero-cinematic-slide img,
  .hero-cinematic-tag,
  .hero-cinematic-label,
  .hero-cinematic-dot::after,
  .hero-cinematic-scroll-line { animation: none !important; }
  .hero-cinematic-slide[data-slide="1"] { opacity: 1; }
  .hero-cinematic-label[data-slide="1"] { opacity: 1; transform: none; }
}

/* ============================================================
   PAGE HERO WITH PHOTO BACKGROUND
   ============================================================ */
.page-hero-photo {
  position: relative;
  padding: var(--space-32) 0 var(--space-24);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
/* Compact variant for internal pages (~50vh, editorial-style) */
.page-hero-photo-compact {
  min-height: 56vh;
  display: flex;
  align-items: center;
  padding: var(--space-24) 0 var(--space-16);
}
.page-hero-photo-compact .page-hero-photo-content { max-width: 720px; }
.page-hero-photo-compact h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin: var(--space-3) 0 var(--space-4);
}
.page-hero-photo-compact .lead { margin-bottom: var(--space-6); }
.page-hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.page-hero-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  image-rendering: -webkit-optimize-contrast;
}
.page-hero-photo-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,26,46,0.88) 0%, rgba(15,26,46,0.72) 60%, rgba(15,26,46,0.55) 100%);
}

/* Shower-doors hero — decorative background used when no photo is
   uploaded yet (the onerror on the <img> hides the broken image). */
.page-hero-photo-bg-glass {
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 35%),
    radial-gradient(circle at 20% 70%, rgba(0,181,194,0.45) 0%, rgba(0,181,194,0) 50%),
    linear-gradient(135deg, #0F1A2E 0%, #1F2A44 50%, #009BA6 100%);
}
.page-hero-photo-bg-glass::after {
  background: linear-gradient(135deg, rgba(15,26,46,0.75) 0%, rgba(15,26,46,0.45) 60%, rgba(15,26,46,0.65) 100%);
}
.page-hero-photo-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.page-hero-photo-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin: var(--space-4) 0 var(--space-4);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.page-hero-photo-content .lead {
  color: rgba(255,255,255,0.85);
  max-width: 60ch;
  margin-bottom: var(--space-6);
}
.page-hero-photo-content .badge-teal {
  background: rgba(0,181,194,0.18);
  border: 1px solid rgba(0,181,194,0.4);
  color: #6FE5EE;
}

/* Infographic display */
.infographic-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--space-8);
}
.infographic {
  max-width: 900px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

/* ============================================================
   HERO PHOTO ENHANCEMENTS
   ============================================================ */
.hero-card-photo {
  padding: 0 !important;
  overflow: hidden;
}
.hero-card-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  position: absolute;
  inset: 0;
}
.hero-card-main .hero-card-main-meta {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  z-index: 2;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.hero-card-mini-photo {
  padding: 0 !important;
  overflow: hidden;
  position: relative;
}
.hero-card-mini-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-card-mini-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-card-mini-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15,26,46,0.85));
}
.hero-card-mini-photo h5,
.hero-card-mini-photo p {
  position: relative;
  z-index: 1;
  color: var(--white);
  margin-left: 14px;
  margin-right: 14px;
}
.hero-card-mini-photo h5 {
  margin-top: auto;
  font-weight: 700;
}
.hero-card-mini-photo p {
  margin-bottom: 14px;
  font-size: 12px;
  opacity: 0.92;
}
.hero-card-mini-photo {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* ============================================================
   SERVICE CARDS WITH PHOTOS · 4-up grid
   ============================================================ */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .grid-4 { grid-template-columns: 1fr; } }

.service-card-photo {
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
}
.service-card-photo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-500);
}
.service-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-100);
}
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.service-card-photo:hover .service-card-img img {
  transform: scale(1.05);
}
.service-card-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.service-card-body h3 {
  font-size: var(--text-xl);
  margin: 0;
  color: var(--navy-900);
}
.service-card-body > p {
  color: var(--gray-600);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.service-card-body .features { font-size: 0.875rem; }
.service-card-body .card-cta { margin-top: auto; padding-top: var(--space-2); }
.service-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 12px;
  background: #10B981;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
.service-card-photo[data-accent="green"]:hover { border-color: #10B981; }

/* Shower-doors fallback background — used when the real photo
   is not yet uploaded; the <img onerror> hides the broken image
   and this gradient + glass icon takes over. */
.service-card-img-glass {
  background:
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 35%),
    radial-gradient(circle at 25% 80%, rgba(0,181,194,0.35) 0%, rgba(0,181,194,0) 45%),
    linear-gradient(135deg, #0F1A2E 0%, #16203A 45%, #009BA6 100%);
}
.service-card-img-glass::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.55);
  background:
    linear-gradient(110deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.02) 35%, rgba(255,255,255,0.18) 60%, rgba(255,255,255,0.05) 80%, rgba(255,255,255,0.15) 100%);
  backdrop-filter: blur(2px);
  pointer-events: none;
}
.service-card-img-glass::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38%;
  height: 60%;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  filter: blur(8px);
  pointer-events: none;
}
.service-card-img-glass img {
  position: relative;
  z-index: 1;
}

/* ============================================================
   TEAM TEASER
   ============================================================ */
.team-teaser {
  padding: var(--space-24) 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}
.team-teaser-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.team-teaser-photo {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
}
.team-teaser-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.team-teaser-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(15,26,46,0.92);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
}
.team-teaser-badge svg { color: var(--teal-500); }
.team-teaser-copy h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  margin: var(--space-3) 0 var(--space-5);
}
.team-teaser-copy .lead { color: var(--gray-600); max-width: 56ch; }
@media (max-width: 860px) {
  .team-teaser-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SIMA HOMES SECTION
   ============================================================ */
.sima-section {
  padding: var(--space-24) 0;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(0,181,194,0.08), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(201,168,117,0.10), transparent 60%),
    linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

/* Question banner */
.sima-banner {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 60%, #1a2a48 100%);
  color: var(--white);
  padding: clamp(28px, 4vw, 56px);
  margin-bottom: var(--space-12);
  box-shadow: var(--shadow-xl);
  isolation: isolate;
}
.sima-banner-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(380px 240px at 85% 30%, rgba(0,181,194,0.35), transparent 70%),
    radial-gradient(420px 280px at 12% 110%, rgba(201,168,117,0.22), transparent 70%);
  z-index: -1;
}
.sima-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%);
  z-index: -1;
  pointer-events: none;
}
.sima-banner-inner {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: var(--space-12);
  align-items: center;
}
.sima-banner-copy h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  margin: var(--space-3) 0 var(--space-4);
  letter-spacing: -0.02em;
}
.sima-banner-copy .lead {
  color: rgba(255,255,255,0.82);
  max-width: 56ch;
  margin-bottom: var(--space-6);
}
.sima-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0,181,194,0.16);
  border: 1px solid rgba(0,181,194,0.35);
  color: #6FE5EE;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sima-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(0,181,194,0.25);
}
.sima-banner-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5) var(--space-8);
  margin-top: var(--space-2);
}
.sima-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.88);
  font-size: var(--text-sm);
  font-weight: 500;
}
.sima-trust-item svg {
  color: var(--teal-500);
  flex-shrink: 0;
}
.sima-banner-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-4);
}
.sima-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}
.sima-pill::before {
  content: "📍";
  font-size: 12px;
}

/* Cards grid */
.sima-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}
.sima-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
  will-change: transform;
}
.sima-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-500);
}
.sima-card-img {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--gray-100);
}
.sima-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.sima-card:hover .sima-card-img img {
  transform: scale(1.06);
}
.sima-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,26,46,0.55));
  pointer-events: none;
}
.sima-card-tier {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 12px;
  background: rgba(255,255,255,0.95);
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
.sima-card-tier-popular {
  background: var(--teal-500);
  color: var(--white);
}
.sima-card-tier-premium {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--white);
}
.sima-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5);
  flex: 1;
}
.sima-card-head h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  margin: 0;
}
.sima-card-meta {
  display: block;
  margin-top: 2px;
  font-size: var(--text-sm);
  color: var(--gray-500);
  font-weight: 500;
}
.sima-card-kit {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sima-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  white-space: nowrap;
}
.sima-chip-water    { background: #E6F8FA; color: #006D75; border-color: #B8EEF2; }
.sima-chip-blinds   { background: #F8F1E3; color: #7A5A24; border-color: #EAD9B2; }
.sima-chip-epoxy    { background: #EEF1F8; color: #1F2A44; border-color: #D0D7E6; }
.sima-chip-landscape{ background: #E8F5EA; color: #1F6B3A; border-color: #BFE3C8; }
.sima-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--gray-100);
}
.sima-card-price strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
/* "Coming soon" variant — smaller strong, teal accent so it reads as a
   contact prompt rather than a missing price. */
.sima-card-price-soon strong,
.sima-model-price-bar-soon strong {
  font-size: var(--text-lg);
  color: var(--teal-600);
  letter-spacing: 0;
}
.sima-from {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.sima-card-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  transition: background var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
}
.sima-card:hover .sima-card-arrow {
  background: var(--teal-500);
  color: var(--white);
  transform: translateX(4px);
}

/* Footer note */
.sima-foot {
  margin-top: var(--space-10);
  padding: var(--space-6);
  background: var(--white);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.sima-foot p {
  margin: 0;
  color: var(--gray-600);
  font-size: var(--text-base);
}

/* Responsive */
@media (max-width: 820px) {
  .sima-banner-inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .sima-banner-cta {
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .sima-grid {
    grid-template-columns: 1fr;
  }
  .sima-banner-copy h2 { font-size: 1.6rem; }
  .sima-foot { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   SIMA KITS PAGE
   ============================================================ */
.sima-page-hero {
  padding: var(--space-20) 0 var(--space-12);
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(0,181,194,0.1), transparent 60%),
    linear-gradient(180deg, var(--white), var(--gray-50));
  text-align: center;
}
.sima-page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: var(--space-4) auto var(--space-4);
  max-width: 22ch;
}
.sima-page-hero .lead {
  max-width: 60ch;
  margin: 0 auto;
}
.sima-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
}
.sima-anchor-nav a {
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--navy-900);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all var(--t-base) var(--ease-out);
}
.sima-anchor-nav a:hover {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.sima-model-block {
  padding: var(--space-20) 0;
  scroll-margin-top: 90px;
}
.sima-model-block:nth-child(even) {
  background: var(--gray-50);
}
.sima-model-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.sima-model-grid .sima-model-img {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.sima-model-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.sima-model-block:nth-child(even) .sima-model-grid {
  grid-template-columns: 1fr 1.05fr;
}
.sima-model-block:nth-child(even) .sima-model-img {
  order: 2;
}
.sima-model-tier-badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.96);
  color: var(--navy-900);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.sima-model-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin: var(--space-2) 0 var(--space-3);
}
.sima-model-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  color: var(--gray-500);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-5);
}
.sima-model-specs span {
  display: inline-flex; align-items: center; gap: 6px;
}
.sima-model-includes {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0;
  display: grid;
  gap: var(--space-3);
}
.sima-model-includes li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}
.sima-model-includes li svg {
  flex-shrink: 0; color: var(--teal-500); margin-top: 2px;
}
.sima-model-includes strong {
  display: block;
  font-size: var(--text-base);
  color: var(--navy-900);
}
.sima-model-includes span {
  display: block;
  font-size: var(--text-sm);
  color: var(--gray-600);
}
.sima-model-price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  border-radius: var(--radius-lg);
  margin-top: var(--space-6);
  flex-wrap: wrap;
  gap: var(--space-4);
}
.sima-model-price-bar .sima-from { color: rgba(255,255,255,0.7); }
.sima-model-price-bar strong {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--white);
}
@media (max-width: 820px) {
  .sima-model-grid,
  .sima-model-block:nth-child(even) .sima-model-grid {
    grid-template-columns: 1fr;
  }
  .sima-model-block:nth-child(even) .sima-model-img {
    order: 0;
  }
}

/* ============================================================
   ENHANCIFY CALCULATOR (financing page)
   ============================================================ */
.enhancify-section { position: relative; }
.enhancify-wrap {
  max-width: 760px;
  margin: var(--space-8) auto 0;
  padding: clamp(20px, 3vw, 40px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
#paymentcalculatorwidget {
  width: 100%;
  min-height: 320px;
}

/* ============================================================
   Print
   ============================================================ */
@media print {
  .site-header, .site-footer, .cta-band, .hero-ctas { display: none; }
  body { color: #000; background: #fff; }
}
