/* ==========================================================================
   Alpenglow Tree Care LLC — styles.css
   ========================================================================== */

/* ---------- Self-Hosted Fonts (v6.2 — no Google Fonts CDN) ---------- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/playfair-display.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter.woff2') format('woff2');
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/caveat.woff2') format('woff2');
}

/* ---------- CSS Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* Force any reveal/float content to its resting, visible state */
  .reveal-up, .reveal-down, .reveal-left, .reveal-right, .reveal-scale,
  [data-animate], .float-animate, .float-animate-slow,
  .hero .hero-subtitle, .hero .hero-cta, .hero .hero-badges {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ---------- Design Tokens ---------- */
:root {
  /* Layout */
  --navbar-height: 80px;
  --max-width: 1200px;
  --content-width: 65ch;
  --section-pad: 80px 20px;
  --section-pad-mobile: 50px 16px;
  --radius: 8px;

  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Colors — Alpenglow Tree Care */
  --primary: #2B4D3F;
  --primary-dark: #1A3028;
  --primary-rgb: 43, 77, 63;
  --secondary: #3D6B54;
  --accent: #D4912A;
  --accent-dark: #B07722;
  --text: #1a1a1a;
  --text-light: #555;
  --bg: #ffffff;
  --bg-alt: #f5f3ef;
  --bg-dark: #1A3028;
  --border: #e3e0d8;

  /* Typography — 3-font system */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Caveat', cursive;

  /* Tinted Cards (3 rotation tints + neutral) */
  --color-card-tint-1: rgba(43, 77, 63, 0.06);
  --color-card-tint-2: rgba(212, 145, 42, 0.08);
  --color-card-tint-3: rgba(61, 107, 84, 0.07);
  --color-card-tint-neutral: #faf8f4;

  /* Elevation System */
  --elevation-1: 0 1px 3px rgba(0,0,0,0.08);
  --elevation-2: 0 4px 16px rgba(0,0,0,0.10);
  --elevation-3: 0 8px 28px rgba(0,0,0,0.16);

  /* Transitions */
  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

/* ---------- Skip-to-Content ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 10000;
  padding: var(--space-sm) var(--space-md);
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
}
.skip-link:focus { top: var(--space-sm); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Typography ---------- */
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding-top: var(--navbar-height);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}
@media (max-width: 767px) {
  .container { padding-inline: var(--space-md); }
}

/* ---------- Prose ---------- */
.prose { max-width: var(--content-width); }
.prose-centered { max-width: var(--content-width); margin-inline: auto; }

/* ---------- Answer Block ---------- */
.answer-block {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: var(--space-lg);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: var(--space-xl) 0;
}

/* ---------- Eyebrow Label ---------- */
.eyebrow-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

/* ---------- Section Title ---------- */
.section-title {
  margin-bottom: var(--space-lg);
}
.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: var(--content-width);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  /* Solid by default — the body reserves space above the hero, so the bar sits
     over light page background; a solid fill keeps nav text readable everywhere.
     On scroll it shifts to a translucent glassmorphism panel. */
  background-color: var(--primary);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
  transition: background-color var(--transition),
              box-shadow var(--transition), height var(--transition);
}
.navbar.scrolled {
  background-color: rgba(var(--primary-rgb), 0.82);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--elevation-2);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo img {
  height: 50px;
  width: auto;
  transition: height var(--transition);
}
.navbar.scrolled .navbar-logo img {
  height: 38px;
}
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--space-xl);
}
.nav-links a {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding: var(--space-xs) 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}
.nav-phone {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.nav-phone i { width: 18px; height: 18px; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 4px;
  box-shadow: var(--elevation-3);
  list-style: none;
  padding: var(--space-sm) 0;
  z-index: 1001;
  margin: 0;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block !important;
}
.dropdown li { list-style: none; margin: 0; padding: 0; }
.dropdown a {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  color: var(--text) !important;
  font-size: 0.95rem;
  white-space: nowrap;
}
.dropdown a::after { display: none !important; }
.dropdown a:hover {
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1002;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--navbar-height));
  background: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: var(--space-3xl);
  gap: var(--space-lg);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}
.mobile-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-menu a {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mobile-menu .mobile-dropdown {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.mobile-menu .mobile-dropdown.active {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.mobile-menu .mobile-dropdown a {
  font-size: 1rem;
  opacity: 0.85;
}
.mobile-menu .mobile-phone {
  margin-top: var(--space-lg);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--space-2xl) var(--space-lg);
}
.hero h1 {
  color: #fff;
  margin-bottom: var(--space-md);
}

/* Hero load sequence */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 { animation: heroFadeUp 0.6s ease forwards; }
.hero .hero-subtitle {
  animation: heroFadeUp 0.6s ease 0.15s forwards;
  opacity: 0;
}
.hero .hero-cta {
  animation: heroFadeUp 0.6s ease 0.3s forwards;
  opacity: 0;
}
.hero .hero-badges {
  animation: heroFadeUp 0.6s ease 0.45s forwards;
  opacity: 0;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: var(--accent);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 0 var(--accent-dark);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--accent-dark);
}
.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--accent-dark);
}

.btn-secondary {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: transparent;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), color var(--transition);
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}

/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ---------- Badge Strip ---------- */
.badge-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  padding: var(--space-lg) 0;
}
.badge-strip .badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-strip .badge i { color: var(--accent); }

/* ---------- Ticker Strip ---------- */
.ticker-strip {
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
  padding: var(--space-md) 0;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: var(--space-2xl);
  animation: ticker 22s linear infinite;
  width: max-content;
}
.ticker-strip:hover .ticker-track {
  animation-play-state: paused;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--elevation-2);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--elevation-3);
  transform: translateY(-4px);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: var(--section-pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: var(--space-md); }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: var(--space-lg); }
.cta-banner .cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  transition: background var(--transition), border-color var(--transition);
}
.cta-phone:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.7);
}

/* ---------- Stat Counter ---------- */
.stat-counter {
  text-align: center;
}
.stat-counter .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.stat-counter .stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-sm);
}

/* ---------- Grids ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.grid-asym {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.split-reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.split-reverse > :first-child { order: 2; }
.split-reverse > :last-child { order: 1; }

.grid-2 > *, .grid-3 > *, .grid-asym > *, .split > *, .split-reverse > * {
  min-width: 0;
}

/* ---------- Image Composition ---------- */
.img-reveal {
  overflow: hidden;
  border-radius: var(--radius);
}
.img-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-framed {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.img-framed::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius);
  pointer-events: none;
}

/* ---------- Floating Label Form ---------- */
.form-group {
  position: relative;
  margin-bottom: var(--space-lg);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-md);
  padding-top: var(--space-lg);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid #ddd;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
}
.form-group label {
  position: absolute;
  top: 50%;
  left: var(--space-md);
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-light);
  pointer-events: none;
  transition: all var(--transition);
}
.form-group textarea ~ label {
  top: var(--space-lg);
  transform: none;
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
  top: var(--space-xs);
  left: var(--space-sm);
  font-size: var(--label-float-size, 0.75rem); /* shrunk floating LABEL — inputs themselves stay 1rem (≥16px, no iOS zoom) */
  color: var(--primary);
  transform: none;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumb {
  padding: var(--space-md) 0;
  font-size: 0.85rem;
  color: var(--text-light);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 var(--space-sm); }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.85);
  padding: var(--space-3xl) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
}
.footer h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
}
.footer-about p {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 360px;
}
.footer-links {
  list-style: none;
}
.footer-links li { margin-bottom: var(--space-sm); }
.footer-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}
.footer-contact-item i {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: background var(--transition), transform var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}
.footer-bottom {
  margin-top: var(--space-2xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 900;
  box-shadow: var(--elevation-2);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover { background: var(--primary-dark); }

/* ---------- Sections ---------- */
section { padding: var(--section-pad); }
.bg-alt { background: var(--bg-alt); }
.bg-dark { background: var(--bg-dark); color: #fff; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark p { color: rgba(255,255,255,0.85); }

/* ---------- Scroll Animations (data-animate) ---------- */
[data-animate] {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease, clip-path 0.6s ease;
}
[data-animate="fade-up"] {
  transform: translateY(30px);
}
[data-animate="wipe-right"] {
  clip-path: inset(0 100% 0 0);
}
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
[data-animate="wipe-right"].in-view {
  clip-path: inset(0 0 0 0);
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border-bottom: 1px solid #eee;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-lg) 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}
.faq-question i {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding-bottom: var(--space-lg);
  color: var(--text-light);
  line-height: 1.7;
}

/* ---------- Last Updated ---------- */
.last-updated {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: var(--space-xl);
}

/* ---------- Homepage: Hero ---------- */
.hero-home {
  background: url('/assets/images/hero-climber-breckenridge-bg.webp?v=4') center/cover no-repeat;
}
.hero-home::after {
  background: linear-gradient(180deg, rgba(10,26,18,0.55) 0%, rgba(10,26,18,0.38) 55%, rgba(10,26,18,0.5) 100%);
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}
.hero-cta .btn-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  transition: background var(--transition), border-color var(--transition);
}
.hero-cta .btn-phone:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.7);
}
.hero-badges {
  display: flex;
  gap: var(--space-xl);
  justify-content: center;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.hero-badge i { color: var(--accent); width: 18px; height: 18px; }

/* ---------- Homepage: Trust Strip ---------- */
.trust-strip {
  padding: var(--space-xl) 0;
  background: var(--bg);
  border-bottom: 1px solid #eee;
}

/* ---------- Homepage: Identity ---------- */
.identity-section {
  padding: var(--space-2xl) 0;
  text-align: center;
}
.identity-text {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: var(--content-width);
  margin-inline: auto;
  line-height: 1.7;
}

/* ---------- Homepage: Services Grid ---------- */
.services-section .grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}
.service-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: var(--elevation-1);
  transition: box-shadow var(--transition), transform var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}
.service-card:hover {
  box-shadow: var(--elevation-3);
  transform: translateY(-4px);
}
.service-card .service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05) rotate(3deg);
}
.service-card h3 {
  font-size: 1.15rem;
  color: var(--text);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}
.service-card .card-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: gap var(--transition);
}
.service-card:hover .card-link { gap: var(--space-sm); }

/* ---------- Homepage: About Snippet ---------- */
.about-snippet .about-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-snippet .about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}
.about-snippet .about-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
}
.about-snippet .about-text h2 {
  margin-bottom: var(--space-lg);
}
.about-snippet .about-text p {
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

/* ---------- Homepage: Stats ---------- */
.stats-section {
  background: var(--bg-dark);
  color: #fff;
}
.stats-section .stat-number { color: var(--accent); }
.stats-section .stat-label { color: rgba(255,255,255,0.7); }

/* ---------- Homepage: Gallery ---------- */
.gallery-section .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-md);
}
.gallery-section .gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-section .gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-section .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.gallery-section .gallery-item:hover img {
  transform: scale(1.04);
}

/* ---------- Homepage: Process ---------- */
.process-section .process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  counter-reset: step;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step .step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  transition: transform var(--transition);
}
.process-step:hover .step-icon {
  transform: translateY(-4px);
}
.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}
.process-step p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}
.process-connector {
  display: none;
}

/* ---------- Homepage: FAQ ---------- */
.faq-section .faq-wrapper {
  max-width: 800px;
  margin-inline: auto;
}

/* ==========================================================================
   Service Pages
   ========================================================================== */

/* ---------- Page Hero (compact for inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}
.page-hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: var(--space-2xl);
}
.page-hero h1 {
  color: #fff;
  margin-bottom: var(--space-sm);
}
.page-hero .page-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
}

/* ---------- Services Hub Grid ---------- */
.services-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}
.service-hub-card {
  display: flex;
  gap: var(--space-lg);
  background: var(--bg);
  border-radius: var(--radius);
  padding: var(--space-xl);
  box-shadow: var(--elevation-1);
  transition: box-shadow var(--transition), transform var(--transition);
  align-items: flex-start;
}
.service-hub-card:hover {
  box-shadow: var(--elevation-3);
  transform: translateY(-3px);
}
.service-hub-card .hub-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.service-hub-card:hover .hub-icon {
  background: var(--primary);
  color: #fff;
}
.service-hub-card h3 { font-size: 1.15rem; margin-bottom: var(--space-xs); }
.service-hub-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}
.service-hub-card .hub-link {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

/* ---------- Service Page Content ---------- */
.service-intro {
  padding: var(--space-2xl) 0;
}
.service-intro .intro-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

/* Split section images */
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
}

/* Benefits list */
.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  line-height: 1.6;
}
.benefits-list li i {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Related services links */
.related-services {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}
.related-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(var(--primary-rgb), 0.06);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--primary);
  transition: background var(--transition);
}
.related-link:hover {
  background: rgba(var(--primary-rgb), 0.12);
}

/* ==========================================================================
   Service Area Pages
   ========================================================================== */

/* ---------- Area Hub: Region Groups ---------- */
.region-group {
  margin-bottom: var(--space-3xl);
}
.region-group:last-child { margin-bottom: 0; }
.region-group h2 {
  margin-bottom: var(--space-sm);
}
.region-intro {
  color: var(--text-light);
  margin-bottom: var(--space-xl);
  max-width: var(--content-width);
}
.area-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.area-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--elevation-1);
  transition: box-shadow var(--transition), transform var(--transition);
}
.area-card:hover {
  box-shadow: var(--elevation-3);
  transform: translateY(-3px);
}
.area-card i { color: var(--primary); flex-shrink: 0; }
.area-card span {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
}

/* ---------- Area Page: Services List ---------- */
.area-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.area-service-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--elevation-1);
  transition: box-shadow var(--transition), transform var(--transition);
  font-weight: 500;
}
.area-service-link:hover {
  box-shadow: var(--elevation-2);
  transform: translateY(-2px);
}
.area-service-link i { color: var(--accent); flex-shrink: 0; }

/* ---------- Area Page: Google Map ---------- */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: var(--elevation-1);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1023px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .services-section .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-section .process-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-section .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-section .gallery-item.tall { grid-row: span 1; aspect-ratio: 4/3; }
  .services-hub-grid { grid-template-columns: 1fr 1fr; }
  .area-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  section { padding: var(--section-pad-mobile); }

  .hero { min-height: 70vh; }

  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; }

  .grid-2,
  .grid-3,
  .grid-asym,
  .split,
  .split-reverse {
    grid-template-columns: 1fr;
  }
  .split-reverse > :first-child { order: 1; }
  .split-reverse > :last-child { order: 2; }

  .badge-strip { gap: var(--space-md); }
  .badge-strip .badge { font-size: 0.8rem; }

  .services-section .grid-4 { grid-template-columns: 1fr; }
  .process-section .process-grid { grid-template-columns: 1fr 1fr; }
  .gallery-section .gallery-grid { grid-template-columns: 1fr; }
  .gallery-section .gallery-item.tall { grid-row: span 1; aspect-ratio: 4/3; }

  .services-hub-grid { grid-template-columns: 1fr; }
  .service-hub-card { flex-direction: column; }

  .area-cards { grid-template-columns: 1fr; }
  .area-services-grid { grid-template-columns: 1fr; }

  .page-hero { min-height: 35vh; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .back-to-top {
    bottom: var(--space-md);
    right: var(--space-md);
  }
}

/* ==========================================================================
   v6.1 PREMIUM LAYER  (added during foundation retrofit)
   ========================================================================== */

/* ---------- Nav CTA Button ---------- */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 22px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  box-shadow: 0 3px 0 var(--accent-dark);
  transition: transform var(--transition), box-shadow var(--transition);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--accent-dark); }
.nav-cta:active { transform: translateY(1px); box-shadow: 0 2px 0 var(--accent-dark); }
.nav-cta i { width: 16px; height: 16px; }
.nav-cta::after { display: none !important; }

/* ---------- Mobile Menu: glass + staggered reveal ---------- */
.mobile-menu {
  background: rgba(26, 48, 40, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.mobile-menu > a,
.mobile-menu > .mobile-dropdown-toggle {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.mobile-menu.active > a,
.mobile-menu.active > .mobile-dropdown-toggle { opacity: 1; transform: translateY(0); }
.mobile-menu.active > *:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.active > *:nth-child(2) { transition-delay: 0.12s; }
.mobile-menu.active > *:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu.active > *:nth-child(4) { transition-delay: 0.24s; }
.mobile-menu.active > *:nth-child(5) { transition-delay: 0.30s; }
.mobile-menu.active > *:nth-child(6) { transition-delay: 0.36s; }
.mobile-menu.active > *:nth-child(7) { transition-delay: 0.42s; }
.mobile-menu.active > *:nth-child(8) { transition-delay: 0.48s; }

/* ---------- SVG Section Dividers ---------- */
.section-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
  pointer-events: none;
}
.section-divider svg { display: block; width: 100%; height: 100%; }
.section-divider--top { top: -1px; }
.section-divider--bottom { bottom: -1px; }

/* ---------- Floating Decorative Accents ---------- */
.floating-accent {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
  color: var(--primary);
}
.float-animate { animation: floatY 6s ease-in-out infinite; }
.float-animate-slow { animation: floatY 11s ease-in-out infinite; }
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(4deg); }
}

/* ---------- Asymmetric / Broken-Grid Layouts ---------- */
.grid-asymmetric {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.grid-asymmetric--reverse {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-2xl);
  align-items: center;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.grid-asymmetric > *, .grid-asymmetric--reverse > *, .about-grid > * { min-width: 0; }

/* ---------- Overlapping Image Composition ---------- */
.image-stack {
  position: relative;
  padding: 0 var(--space-2xl) var(--space-2xl) 0;
}
.about-image-primary {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--elevation-2);
  object-fit: cover;
  transform: rotate(-1.5deg);
}
.about-image-secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  border-radius: var(--radius);
  border: 5px solid #fff;
  box-shadow: var(--elevation-3);
  object-fit: cover;
  transform: rotate(2.5deg);
}

/* ---------- Custom Image Shapes (clip-path) ---------- */
.img-diagonal { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
.img-blob { border-radius: 42% 58% 56% 44% / 50% 46% 54% 50%; overflow: hidden; }
.img-arch { border-radius: 50% 50% var(--radius) var(--radius) / 35% 35% var(--radius) var(--radius); overflow: hidden; }

/* ---------- Background Depth ---------- */
.bg-depth { position: relative; overflow: hidden; }
.bg-depth::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.10) 0%, rgba(var(--primary-rgb), 0) 70%);
  z-index: 0;
  pointer-events: none;
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.stat-watermark {
  position: absolute;
  font-family: var(--font-heading);
  font-size: clamp(8rem, 20vw, 16rem);
  font-weight: 800;
  color: rgba(var(--primary-rgb), 0.04);
  line-height: 0.8;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* ---------- Tinted Cards ---------- */
.card-tint-1 { background: var(--color-card-tint-1); }
.card-tint-2 { background: var(--color-card-tint-2); }
.card-tint-3 { background: var(--color-card-tint-3); }
.card-tint-neutral { background: var(--color-card-tint-neutral); }

/* ---------- Mixed Typography ---------- */
.text-accent {
  font-family: var(--font-accent);
  font-weight: 600;
  color: var(--accent);
  font-size: 1.35em;
  line-height: 1;
}
/* v6.1 design language: section subtitle uses the warm script accent */
.section-subtitle {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--accent);
  letter-spacing: 0.01em;
  max-width: none;
}
.eyebrow-label + .section-title,
.section-subtitle + .section-title { margin-top: var(--space-xs); }
.stat-block { text-align: center; }
.stat-block .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-block .stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-sm);
}

/* ---------- Multi-Directional Scroll Reveals ----------
   opacity:0 only applies when JS has loaded (js-init class on <html>).
   Without JS, content is always visible. */
.js-init .reveal-up,
.js-init .reveal-down,
.js-init .reveal-left,
.js-init .reveal-right,
.js-init .reveal-scale {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.js-init .reveal-up { transform: translateY(42px); }
.js-init .reveal-down { transform: translateY(-42px); }
.js-init .reveal-left { transform: translateX(-52px); }
.js-init .reveal-right { transform: translateX(52px); }
.js-init .reveal-scale { transform: scale(0.92); }
.reveal-up.is-visible,
.reveal-down.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- TCPA Consent Checkbox ---------- */
.form-field--checkbox.tcpa-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.tcpa-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}
.tcpa-consent label {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
}
.tcpa-consent a { color: var(--primary); text-decoration: underline; }

/* ---------- Footer Legal Utility Row ---------- */
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-legal-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  transition: color var(--transition);
}
.footer-legal-links a:hover { color: var(--accent); }
.footer-legal-divider { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* ---------- Sticky Mobile CTA Bar ---------- */
.mobile-cta-bar { display: none; }

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  max-width: 520px;
  margin-inline: auto;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--elevation-3);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  z-index: 960;
  font-size: 0.85rem;
  line-height: 1.5;
}
.cookie-banner.hidden { display: none; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--primary); font-weight: 600; text-decoration: underline; }
.cookie-banner__dismiss {
  flex-shrink: 0;
  padding: 8px 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-banner__dismiss:hover { background: var(--primary-dark); }

/* ---------- Compliance / Legal Pages ---------- */
.hero--legal {
  min-height: 40vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
}
.hero--legal h1 { color: #fff; margin-bottom: var(--space-sm); }
.hero--legal .breadcrumb,
.hero--legal .breadcrumb a,
.page-hero .breadcrumb,
.page-hero .breadcrumb a { color: rgba(255,255,255,0.8); }
.hero--legal .breadcrumb strong,
.page-hero .breadcrumb strong { color: #fff; }
.legal-prose {
  max-width: 65ch;
  margin-inline: auto;
}
.legal-prose h2 {
  font-size: 1.5rem;
  margin: var(--space-2xl) 0 var(--space-md);
}
.legal-prose h3 {
  font-size: 1.15rem;
  margin: var(--space-xl) 0 var(--space-sm);
}
.legal-prose p,
.legal-prose li {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}
.legal-prose ul,
.legal-prose ol {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}
.legal-prose a { color: var(--primary); text-decoration: underline; }
.legal-prose .effective-date {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: var(--space-xl);
}

/* ---------- Premium Layer: Responsive ---------- */
@media (max-width: 1023px) {
  .grid-asymmetric,
  .grid-asymmetric--reverse,
  .about-grid { grid-template-columns: 1fr; }
  .grid-asymmetric--reverse > :first-child { order: 2; }
  .grid-asymmetric--reverse > :last-child { order: 1; }
}

@media (max-width: 768px) {
  .nav-cta { display: none; }

  .mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 950;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.18);
  }
  .mobile-cta-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
  }
  .mobile-cta-bar a i { width: 18px; height: 18px; }
  .mobile-cta-bar .cta-call { background: var(--primary); }
  .mobile-cta-bar .cta-quote { background: var(--accent); }

  body { padding-bottom: 56px; }
  .back-to-top { bottom: 72px; }
  .cookie-banner { bottom: 64px; }

  .image-stack { padding: 0 var(--space-xl) var(--space-xl) 0; }
}

/* ---------- Hero Lead Form Card ---------- */
.hero-form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--elevation-3);
  padding: var(--space-xl);
  border-top: 4px solid var(--accent);
}
.hero-form-title {
  font-size: 1.4rem;
  margin-bottom: var(--space-lg);
  color: var(--primary);
}
.hero-form .form-group { margin-bottom: var(--space-md); }

/* ==========================================================================
   HOMEPAGE v6.1 PREMIUM  (section-by-section retrofit)
   ========================================================================== */

/* ---------- Transparent nav overlay (homepage only via $transparentNav) ---------- */
.navbar--overlay:not(.scrolled) {
  background-color: transparent;
  background-image: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 100%);
  box-shadow: none;
  border-bottom-color: transparent;
}

/* ---------- Hero: full-height split with embedded form ---------- */
.hero-home {
  min-height: 100vh;
  min-height: 100svh; /* small-viewport fallback: stable height under mobile URL bar */
  margin-top: calc(-1 * var(--navbar-height));
  align-items: center;
  text-align: left;
}
.hero-home::after {
  background: linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.35) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-3xl);
  align-items: center;
  width: 100%;
  padding-top: var(--navbar-height);
}
.hero-home .hero-content {
  position: relative;
  z-index: 2;
  max-width: none;
  padding: 0;
  text-align: left;
}
.hero-home h1 { text-align: left; }
.hero-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-md);
}
.hero-home .hero-cta { justify-content: flex-start; }
.hero-home .hero-badges { justify-content: flex-start; }
.hero-form-col { position: relative; z-index: 2; width: 100%; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .hero-home { text-align: center; }
  .hero-home .hero-content,
  .hero-home h1,
  .hero-home .hero-cta,
  .hero-home .hero-badges { text-align: center; justify-content: center; }
  .hero-form-col { max-width: 460px; margin-inline: auto; }
}

/* ---------- SVG Section Divider sizing ---------- */
.section-divider { height: clamp(48px, 6vw, 80px); }
.section-divider svg { width: 100%; height: 100%; display: block; }

/* ---------- Floating Accent icon sizing ---------- */
.floating-accent {
  width: clamp(90px, 12vw, 160px);
  height: clamp(90px, 12vw, 160px);
}
.floating-accent svg { width: 100%; height: 100%; stroke-width: 1; }

/* ---------- Section positioning for accents/dividers ---------- */
.services-section,
.stats-section,
.about-home,
.process-section,
.faq-section,
.closing-cta { position: relative; overflow: hidden; }

/* ---------- Services: tinted cards keep subtle border ---------- */
.service-card.card-tint-1,
.service-card.card-tint-2,
.service-card.card-tint-3,
.service-card.card-tint-neutral {
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  box-shadow: none;
}
.service-card.card-tint-1:hover,
.service-card.card-tint-2:hover,
.service-card.card-tint-3:hover,
.service-card.card-tint-neutral:hover {
  box-shadow: var(--elevation-2);
}

/* ---------- Stats: stat-block on dark + watermark ---------- */
.stats-section .stat-block .stat-number { color: var(--accent); }
.stats-section .stat-block .stat-label { color: rgba(255,255,255,0.7); }
.stats-section .stat-watermark { color: rgba(255,255,255,0.05); }
.stats-grid { position: relative; z-index: 2; }

/* ---------- About: asymmetric overlapping composition ---------- */
.about-home .about-text .prose p { margin-bottom: var(--space-md); }
.about-home .image-stack { max-width: 520px; }
.about-home .about-image-primary { aspect-ratio: 4/5; }
.about-home .about-image-secondary { aspect-ratio: 1/1; }
@media (max-width: 1023px) {
  .about-home .image-stack { margin-inline: auto; }
}

/* ---------- Gallery reveal mix safety ---------- */
.gallery-section .gallery-item { position: relative; }

/* ---------- FAQ depth ---------- */
.faq-section .floating-accent { opacity: 0.05; }

/* ---------- Section head wrapper ---------- */
.section-head { margin-bottom: var(--space-2xl); }
.section-head .section-subtitle + .section-title { margin-top: var(--space-xs); }
