/* =============================================
   CARTER'S PROPERTY MANAGEMENT — site stylesheet
   Midnight navy + gold. One file: the page, the estimate form (section 22)
   and the self-hosted fonts.

   The CSP (_headers) allows no inline style attribute, so every style lives
   here: index.html carries classes only.
   ============================================= */

/* 0. FONTS — self-hosted (latin subset, variable weight), so no font CDN in
   the CSP and nothing loaded from a third party. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/playfair-display-latin.woff2') format('woff2');
}

/* 1. DESIGN TOKENS */
:root {
  --navy:          #070C1E; /* Midnight Navy */
  --navy-dark:     #040714; /* Midnight Black-Navy */
  --navy-light:    #0F172A; /* Slate Navy */
  --navy-card:     rgba(13, 19, 38, 0.65); /* Translucent Slate Navy Card */
  --gold:          #C5A880; /* Warm Luxury Gold */
  --gold-bright:   #DFBA8C; /* Rich Brand Metallic Gold */
  --gold-gradient: linear-gradient(135deg, #F3D0A8 0%, #C5A880 50%, #987A54 100%); /* Metallic Luxury Gold Gradient */
  --gold-light:    rgba(197, 168, 128, 0.06); /* Soft Gold Tint */
  --bg:            #070C1E; /* Dark Body Background */
  --bg-soft:       #040714; /* Dark Section Background */
  --bg-gray:       rgba(255, 255, 255, 0.03); /* Translucent Grey */
  --border:        rgba(197, 168, 128, 0.15); /* Thin Semi-translucent Gold Border */
  --border-glow:   rgba(197, 168, 128, 0.4);
  --text:          #FFFFFF; /* White Text */
  --text-mid:      #E2E8F0; /* Light Silver Text */
  --text-muted:    #94A3B8; /* Slate Gray Text */
  --radius:        12px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --shadow-sm:     0 4px 12px rgba(0,0,0,0.3);
  --shadow-md:     0 12px 32px rgba(0,0,0,0.45);
  --shadow-lg:     0 20px 50px rgba(0,0,0,0.6);
  --transition:    0.45s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.85s cubic-bezier(0.25, 1, 0.5, 1);
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Ambient background glow spots. The wrapper clips them: they hang off the
   page edges by design, and unclipped they widen the page past the screen. */
.ambient-glows {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.ambient-glow {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(150px);
  opacity: 0.12;
}
.glow-1 {
  top: 8%;
  left: -200px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
}
.glow-2 {
  top: 35%;
  right: -250px;
  background: radial-gradient(circle, #2E539A 0%, transparent 70%);
}
.glow-3 {
  top: 72%;
  left: 10%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
}

/* 2. GLOBAL RESET */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

@media (min-width: 901px) {
  body::before {
    content: '';
    position: fixed;
    inset: 1.25rem;
    border: 1px solid rgba(197, 168, 128, 0.35);
    border-radius: 24px;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 0 1.25rem #070C1E;
  }
  body {
    padding-top: 1.25rem; /* Offsets the top gold frame so content is not cut off */
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 3. TOP ANNOUNCEMENT BAR */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 0.6rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.top-bar a {
  color: var(--gold-bright);
  font-weight: 700;
  text-decoration: underline;
  margin-left: 0.5rem;
}

/* 4. HEADER */
.site-header {
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 15%, rgba(255, 255, 255, 0.22) 20%, rgba(255, 255, 255, 0.03) 28%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, rgba(197, 168, 128, 0.04) 0%, rgba(4, 7, 20, 0.75) 50%, rgba(4, 7, 20, 0.9) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(197, 168, 128, 0.35); /* sharper gold-tinted bottom border */
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  box-shadow: inset 0 1.5px 0 0 rgba(255, 255, 255, 0.3), 0 8px 32px rgba(0, 0, 0, 0.45); /* sharp specular top-edge bevel */
  transition: all var(--transition);
}
@media (min-width: 901px) {
  .site-header {
    top: 1.25rem; /* Sticks exactly to the inner top edge of the gold frame */
  }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.header-logo img {
  height: 42px;
  width: 42px;
  border-radius: 8px;
  border: 1.5px solid rgba(197, 168, 128, 0.5);
  object-fit: cover;
}
.header-logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  font-family: var(--font-serif);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.logo-sub {
  font-size: 0.62rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  font-weight: 600;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.header-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.25rem 0;
  position: relative;
  transition: color var(--transition);
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--gold);
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--transition);
}
.header-nav a.active::after,
.header-nav a:hover::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-phone {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
  white-space: nowrap;
}
.header-phone:hover {
  color: var(--gold);
}
.header-divider {
  color: rgba(197, 168, 128, 0.3);
  font-weight: 300;
}
.header-cta {
  background: var(--gold-gradient);
  color: var(--navy-dark) !important;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  white-space: nowrap;
  transition: all var(--transition);
}
.header-cta:hover {
  box-shadow: 0 0 20px rgba(197, 168, 128, 0.5);
  transform: translateY(-1px);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #FFFFFF;
  border-radius: 99px;
  transition: all var(--transition);
}

.mobile-nav {
  display: none;
  background: rgba(4, 7, 20, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(197, 168, 128, 0.15);
  border-bottom: 1px solid rgba(197, 168, 128, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 1.1rem 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(197, 168, 128, 0.08);
  transition: all var(--transition);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { 
  background: rgba(197, 168, 128, 0.05); 
  color: var(--gold-bright); 
  padding-left: 1.8rem;
}
.mobile-nav .mobile-phone {
  background: var(--gold-gradient);
  color: var(--navy-dark) !important;
  text-align: center;
  font-weight: 800;
}
.mobile-nav .mobile-phone:hover { 
  background: #FBBF24; 
  color: var(--navy) !important; 
}

/* 5. HERO — FULL-BLEED BACKGROUND IMAGE */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroBadgePop {
  0%   { opacity: 0; transform: translateY(20px) scale(0.9); }
  60%  { transform: translateY(-4px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroLineIn {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes heroBtnIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero {
  position: relative;
  width: 100%;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-image: url('/images/hero.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 80% 25%, rgba(197, 168, 128, 0.15) 0%, transparent 55%),
    linear-gradient(90deg, rgba(4, 7, 20, 0.98) 0%, rgba(4, 7, 20, 0.92) 30%, rgba(4, 7, 20, 0.5) 65%, rgba(4, 7, 20, 0.15) 100%),
    linear-gradient(0deg, rgba(4, 7, 20, 1) 0%, rgba(4, 7, 20, 0.1) 40%, transparent 100%);
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 2;
  pointer-events: none;
}

/* Floating scroll-down indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  pointer-events: none;
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 99px;
  position: relative;
}
.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 99px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.6s infinite ease-in-out;
}
@keyframes scrollWheel {
  0%   { opacity: 0; top: 6px; }
  20%  { opacity: 1; }
  80%  { opacity: 0; top: 18px; }
  100% { opacity: 0; top: 18px; }
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 8rem 1.5rem 6rem;
  max-width: 680px;
  margin-left: 10%;
  width: 100%;
}
.hero-content { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold-light);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1.15rem;
  border-radius: 99px;
  margin-bottom: 1.75rem;
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  opacity: 0;
  animation: heroBadgePop 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.2s forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-title .line1 {
  display: block;
  opacity: 0;
  color: #FFFFFF;
  animation: heroSlideUp 0.75s cubic-bezier(0.22,1,0.36,1) 0.45s forwards;
}
.hero-title .line2 {
  display: block;
  opacity: 0;
  color: var(--gold-bright);
  text-shadow: 0 0 20px rgba(197, 168, 128, 0.2);
  animation: heroSlideUp 0.75s cubic-bezier(0.22,1,0.36,1) 0.65s forwards;
}
.hero-title .line3 {
  display: block;
  opacity: 0;
  color: #FFFFFF;
  animation: heroSlideUp 0.75s cubic-bezier(0.22,1,0.36,1) 0.85s forwards;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 580px;
  opacity: 0;
  animation: heroSlideUp 0.7s ease 1.0s forwards;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 2.75rem;
  opacity: 0;
  animation: heroBtnIn 0.6s ease 1.2s forwards;
}

.hero-trust-mini {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.75rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroBtnIn 0.6s ease 1.4s forwards;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}
.hero-trust-item svg { color: var(--gold); }

/* Floating card sits at bottom-right of hero */
.hero-floating-card {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 3;
  background: rgba(13, 19, 38, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid rgba(197, 168, 128, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  animation: heroBtnIn 0.6s ease 1.6s forwards;
}
.floating-card-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  flex-shrink: 0;
}
.floating-card-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
}
.floating-card-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-shape { display: none; }
.hero-image-side { display: none; }

/* 6. BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 12px rgba(27,47,85,0.25);
}
.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,47,85,0.3);
  color: #fff;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gold-gradient);
  color: var(--navy-dark) !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}
.btn-gold::after, .header-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 42%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 2;
  transition: opacity var(--transition);
}
.btn-gold:hover::after, .header-cta:hover::after {
  opacity: 0.8;
}
.btn-gold:hover, .header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(197, 168, 128, 0.6);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--navy-dark) !important;
}
.btn-gold-full { width: 100%; margin-top: 0.25rem; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  border: 1.5px solid rgba(197, 168, 128, 0.4);
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(197, 168, 128, 0.08);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* 7. TRUST / STATS BAR */
.trust-bar {
  background: var(--navy);
  padding: 1.25rem 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 2rem;
}
.trust-icon-wrap {
  width: 36px;
  height: 36px;
  background: rgba(245,158,11,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--gold);
}
.trust-value {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}
.trust-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
.trust-divider {
  width: 1px;
  height: 2rem;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* 8. SECTION CHROME */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-light);
  border: 1px solid rgba(212,146,10,0.2);
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 0.9rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}
.section-title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1rem;
  text-align: center;
  width: 100%;
}
.section-title-divider::before,
.section-title-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  max-width: 200px;
  background: linear-gradient(to right, transparent, rgba(197, 168, 128, 0.45));
}
.section-title-divider::after {
  background: linear-gradient(to left, transparent, rgba(197, 168, 128, 0.45));
}
.gold-text {
  color: var(--gold-bright);
  text-shadow: 0 0 15px rgba(197, 168, 128, 0.25);
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
}
.section-center { text-align: center; }
.section-center .section-sub { margin: 0 auto; }

/* 9. ABOUT / INTRO SPLIT */
.about-section {
  padding: 8.5rem 0;
  background: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.about-image-wrap {
  position: relative;
}
.about-image-main {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 480px;
}
.about-badge-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold-bright);
  color: var(--navy);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge-float .big-num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  display: block;
}
.about-badge-float .small-label {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-content {}
.about-content .section-sub {
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold-bright);
}
.feature-icon svg {
  width: 26px;
  height: 26px;
}
.feature-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}
.feature-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 10. SERVICES — CARD GRID */
.services-section {
  padding: 8.5rem 0;
  background: var(--bg-soft);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
  margin-top: 3.5rem;
}
.service-card {
  border-radius: var(--radius-lg);
  cursor: default;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
}

/* Premium Glassmorphic Card Styling */
.service-card, 
.why-quote-card, 
.testimonial-card, 
.faq-item, 
.contact-info-card, 
.contact-form-card {
  position: relative;
  overflow: hidden;
  background: rgba(13, 19, 38, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.24); /* Brighter, sharper glass border edge */
  box-shadow: inset 0 1.5px 0 0 rgba(255, 255, 255, 0.32), var(--shadow-md); /* High-contrast top specular highlight */
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.service-card:hover,
.why-quote-card:hover,
.testimonial-card:hover,
.faq-item:hover,
.contact-info-card:hover,
.contact-form-card:hover {
  border-color: rgba(197, 168, 128, 0.6);
  background: rgba(13, 19, 38, 0.55);
  box-shadow: inset 0 1.5px 0 0 rgba(255, 255, 255, 0.42), var(--shadow-lg), 0 0 24px rgba(197, 168, 128, 0.12);
}

/* The cards' glass (reflection, glare, frost) is section 30. */
.service-card-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-image img {
  transform: scale(1.06);
}
/* Before/After label: sits in the text panel's top padding (it takes no
   room of its own) and lights the side the photo is showing. Nothing is
   drawn on the photo (owner, 2026-11-12). */
.before-after-label {
  position: absolute;
  top: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  overflow: hidden;
  border-radius: 99px;
  border: 1.5px solid var(--border);
}
.ba-before, .ba-after {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  transition: background 0.3s ease, color 0.3s ease;
}
.ba-before,
.service-card:hover .ba-after { background: var(--gold-bright); color: var(--navy-dark); }
.ba-after,
.service-card:hover .ba-before { background: transparent; color: rgba(255, 255, 255, 0.72); }

/* Swap images on hover */
.img-before, .img-after {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.45s ease;
}
.img-before { z-index: 1; opacity: 1; }
.img-after  { z-index: 2; opacity: 0; }
.service-card:hover .img-before { opacity: 0; }
.service-card:hover .img-after  { opacity: 1; }

.service-card-body {
  padding: 3rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.service-icon-wrap {
  width: auto;
  height: auto;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  color: var(--gold-bright);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.service-card:hover .service-icon-wrap {
  transform: scale(1.1) rotate(2deg);
  color: var(--gold-bright);
}
.service-icon-wrap svg {
  width: 46px;
  height: 46px;
  stroke-width: 2;
}
.service-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.service-card:hover .service-card-body h3 {
  color: var(--gold-bright);
}
.service-card-body p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex: 1;
}
.card-learn-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.05em;
  transition: all var(--transition);
  position: relative;
  display: inline-block;
  margin-top: auto;
}
.card-learn-more::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.card-learn-more:hover {
  color: #FFFFFF;
}
.card-learn-more:hover::after {
  transform: scaleX(1);
  background: #FFFFFF;
}

/* 5th card full-width and horizontal on desktop */
@media (min-width: 769px) {
  .service-card-wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
  }
  .service-card-wide .service-card-image {
    width: 50%;
    height: auto;
    min-height: 320px;
  }
  .service-card-wide .service-card-body {
    width: 50%;
    justify-content: center;
  }
}

/* The phone/touch before-to-after swap is in section 29: the animation that
   stood here could never run (its own "opacity: 0 !important" outranks an
   animation), so a phone showed only the before photos. */

/* 11. WHY CHOOSE US */
.why-section {
  padding: 8.5rem 0;
  background: var(--bg);
}
.why-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.why-checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 1.5rem;
}
.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
}
.check-icon {
  color: var(--gold-bright);
  font-size: 1.35rem;
  font-weight: 900;
}
.why-quote-card {
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
}
.quote-icon {
  font-family: Georgia, serif;
  font-size: 5.5rem;
  color: rgba(197, 168, 128, 0.1);
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  line-height: 1;
  user-select: none;
}
.quote-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.quote-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gold-bright);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.quote-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .why-split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .why-checklist-grid {
    gap: 1.25rem 1rem;
  }
  .checklist-item {
    font-size: 1rem;
  }
}

/* 12. TESTIMONIALS */
.testimonials-section {
  padding: 8.5rem 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(245,158,11,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.testimonials-section .section-title { color: #fff; }
.testimonials-section .section-tag {
  background: rgba(245,158,11,0.15);
  color: var(--gold-bright);
  border-color: rgba(245,158,11,0.2);
}
.testimonials-section .section-sub { color: rgba(255,255,255,0.65); }

.rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.stars { color: var(--gold-bright); font-size: 1.1rem; letter-spacing: 0.05em; }
.rating-row span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

.testimonials-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 3rem;
}
.testimonials-slider {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}
.testimonial-card {
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  flex: 0 0 calc(50% - 0.75rem);
}
@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 100%;
  }
}
.testimonial-card:hover {
  transform: translateY(-6px);
}
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.slider-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.slider-btn:hover {
  background: var(--gold-bright);
  color: var(--navy);
  border-color: var(--gold-bright);
  transform: scale(1.05);
}
.slider-dots {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}
.slider-dot.active {
  background: var(--gold-bright);
  width: 24px;
  border-radius: 99px;
}
.t-stars { color: var(--gold-bright); font-size: 0.95rem; margin-bottom: 1rem; }
.t-quote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-light), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}
.t-name { font-weight: 700; color: var(--gold-bright); font-size: 0.9rem; }
.t-role { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* 13. PORTFOLIO */
.portfolio-section {
  padding: 8.5rem 0;
  background: var(--bg-soft);
}
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 2rem 0 2.5rem;
}
.filter-btn {
  padding: 0.45rem 1.2rem;
  border-radius: 99px;
  border: 1px solid rgba(197, 168, 128, 0.25);
  background: rgba(13, 19, 38, 0.4);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
}
.filter-btn:hover { 
  border-color: var(--gold-bright); 
  color: #fff; 
  background: rgba(197, 168, 128, 0.08);
}
.filter-btn.active { 
  background: var(--gold-gradient); 
  border-color: rgba(255, 255, 255, 0.2); 
  color: var(--navy-dark); 
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-item:hover img { transform: scale(1.07); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;          /* closed: its buttons take no focus */
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  /* Room kept clear of the photo: counter + close above it, the Before/After
     pill + caption under it, an arrow each side. */
  --lb-top: 4.5rem;
  --lb-bottom: 6.75rem;
  --lb-side: 5.5rem;
  --lb-safe: env(safe-area-inset-bottom, 0px);
  padding: var(--lb-top) var(--lb-side) calc(var(--lb-bottom) + var(--lb-safe));
}
.lightbox.active { opacity: 1; visibility: visible; pointer-events: all; transition: opacity 0.3s ease, visibility 0s; }
.lightbox img {
  max-width: calc(100vw - 2 * var(--lb-side));
  max-height: calc(100vh - var(--lb-top) - var(--lb-bottom) - var(--lb-safe));
  max-height: calc(100dvh - var(--lb-top) - var(--lb-bottom) - var(--lb-safe));
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.lb-btn {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background var(--transition);
  line-height: 1;
}
.lb-btn:hover { background: rgba(255,255,255,0.22); }
#lb-close { top: 1.25rem; right: 1.25rem; }
#lb-prev  { left: 1.25rem; top: 50%; transform: translateY(-50%); }
#lb-next  { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-caption {
  position: absolute;
  bottom: calc(1.25rem + var(--lb-safe));
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 9rem);
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  font-weight: 600;
}

/* 14. FAQ */
.faq-section {
  padding: 8.5rem 0;
  background: var(--bg);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 760px;
  margin: 3rem auto 0;
}
.faq-item {
  border-radius: var(--radius-lg);
}
.faq-item.open {
  border-color: var(--gold-bright);
  background: rgba(13, 19, 38, 0.60);
  box-shadow: inset 0 1.5px 0 0 rgba(255, 255, 255, 0.42), 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(197, 168, 128, 0.15);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-serif);
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--gold); }
.faq-item.open .faq-q { color: var(--gold); }
.faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease, color var(--transition);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--gold); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 34rem;          /* was 300px, which cut answers off with text enlarged to 125%; rem grows with the text */
  padding: 0 1.5rem 1.25rem;
}
/* Each question is a heading (answer engines and screen readers find questions by
   them); the button inside keeps its own type, so nothing looks different. */
.faq-h { margin: 0; font: inherit; }
.faq-a p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }
.faq-a a { color: var(--gold); font-weight: 700; }
.faq-a a:hover { text-decoration: underline; }

/* 15. CONTACT */
.contact-section {
  padding: 8.5rem 0;
  background: var(--bg-soft);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 3rem auto 0;
}
.contact-info-card {
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-info-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.75rem;
  color: #fff;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}
.cd-icon {
  width: 38px; height: 38px;
  background: rgba(197, 168, 128, 0.12);
  border: 1px solid rgba(197, 168, 128, 0.25);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.cd-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.15rem;
}
.cd-value {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.5;
  display: block;
}
a.cd-value:hover { color: var(--gold-bright); }

.contact-form-card {
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(7, 12, 30, 0.6);
  border: 1px solid rgba(197, 168, 128, 0.25);
  border-radius: 8px;
  padding: 0.8rem 1.1rem;
  color: #FFFFFF;
  font-size: 0.92rem;
  font-family: inherit;
  width: 100%;
  transition: all var(--transition);
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(7, 12, 30, 0.85);
  box-shadow: 0 0 15px rgba(197, 168, 128, 0.25);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-trust {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}
/* 16. FOOTER */
.site-footer {
  background: var(--navy-dark);
  padding: 4rem 0 0;
  color: rgba(255,255,255,0.75);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  margin-bottom: 3rem;
}
.footer-brand img {
  height: 56px;
  width: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.25rem;
}
.footer-nap {
  font-size: 0.85rem;
  line-height: 1.85;
  font-style: normal;
  color: rgba(255,255,255,0.6);
}
.footer-nap strong { color: #fff; display: block; margin-bottom: 0.2rem; }
.footer-nap a { color: var(--gold-bright); }
.footer-nap a:hover { text-decoration: underline; }

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-bright); }

.footer-call-cta {
  display: inline-block;
  background: var(--gold-bright);
  color: var(--navy-dark);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  margin-top: 0.75rem;
  transition: background var(--transition), transform var(--transition);
}
.footer-call-cta:hover {
  background: #FBBF24;
  transform: translateY(-2px);
  color: var(--navy-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.4rem 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.62);
  max-width: 1200px;
  margin: 0 auto;
}

/* 17. STICKY MOBILE CALL */
.sticky-call {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.9rem 2rem;
  border-radius: 99px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.15);
}
.sticky-call:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 12px 32px rgba(27,47,85,0.4);
  color: #fff;
}
@media (min-width: 768px) { .sticky-call { display: none; } }

/* 18. ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fadeUp 0.8s ease-out forwards;
}
.fade-delay-1 { animation-delay: 0.1s; }
.fade-delay-2 { animation-delay: 0.25s; }
.fade-delay-3 { animation-delay: 0.4s; }
.fade-delay-4 { animation-delay: 0.55s; }

/* Scroll reveal. Content is hidden only once js/site.js has run (it sets
   .js-reveal on <html>): if the script is blocked or fails, everything —
   the estimate form included — simply shows, instead of staying invisible. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-reveal .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.1s; }
.reveal-d5 { transition-delay: 0.2s; }
.reveal-d6 { transition-delay: 0.3s; }

/* 19. UTILITY */
.hidden { display: none !important; }

/* 20. RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .service-card-wide { grid-column: auto; }
  .why-grid        { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-inner       { padding: 5rem 1.5rem 4rem; }
  .hero-floating-card { right: 1rem; bottom: 1rem; padding: 0.85rem 1rem; }
  .about-grid       { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge-float { right: 0; bottom: -1rem; }
  .services-grid    { grid-template-columns: 1fr; }
  .why-grid         { grid-template-columns: 1fr; }
  .portfolio-grid   { grid-template-columns: repeat(2, 1fr); }
  .contact-grid     { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .header-nav, .header-phone, .header-cta { display: none; }
  .hamburger        { display: flex; }
  .form-row-2       { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .portfolio-grid   { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; }
  .hero-title       { font-size: 2rem; }
  .trust-divider    { display: none; }
  .trust-item       { padding: 0.5rem 1rem; }
}

/* =============================================
   21. PROMOTIONAL POPUP MODAL
   ============================================= */
.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 1.5rem;
}
.promo-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.promo-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 58, 0.75); /* Dark navy fallback overlay */
  backdrop-filter: blur(8px);
}
.promo-modal-content {
  position: relative;
  width: 100%;
  max-width: 820px;
  background: rgba(7, 12, 30, 0.9);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  z-index: 2;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(197, 168, 128, 0.25);
}
.promo-modal.active .promo-modal-content {
  transform: scale(1) translateY(0);
}
.promo-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy-dark);
  border: 1px solid var(--border);
  font-size: 1.75rem;
  width: 2.2rem;
  height: 2.2rem;
  line-height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.promo-close-btn:hover {
  background: var(--gold-bright);
  color: var(--navy-dark);
  border-color: var(--gold-bright);
  transform: rotate(90deg);
}
.promo-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  align-items: stretch;
}
.promo-image-side {
  position: relative;
  background: var(--bg-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.promo-info-side {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.promo-badge {
  align-self: flex-start;
  background: var(--gold-light);
  color: var(--gold);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(212, 146, 10, 0.2);
}
.promo-heading {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.promo-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.promo-price-tag {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.75rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--gold-bright);
}
.price-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.price-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-bright);
}
.promo-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.promo-cta-btn {
  flex: 1.2;
  text-align: center;
  padding: 0.85rem 1.5rem;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(245,158,11,0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.promo-secondary-btn {
  flex: 0.8;
  text-align: center;
  padding: 0.85rem 1.5rem;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-outline-navy {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.btn-outline-navy:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.promo-terms {
  font-size: 0.72rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .promo-grid {
    grid-template-columns: 1fr;
  }
  .promo-image-side {
    height: 220px;
  }
  .promo-info-side {
    padding: 2rem 1.5rem;
  }
  .promo-heading {
    font-size: 1.75rem;
  }
  .promo-close-btn {
    background: white;
    color: var(--navy-dark);
    top: 0.75rem;
    right: 0.75rem;
  }
  .promo-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .promo-cta-btn, .promo-secondary-btn {
    width: 100%;
    flex: none;
  }
}

/* ================================================
   COLLISION & PADDING FIXES — v2
   ================================================ */

/* Every section gets consistent vertical padding on tablet/mobile */
@media (max-width: 768px) {
  .about-section,
  .services-section,
  .why-section,
  .testimonials-section,
  .portfolio-section,
  .faq-section,
  .contact-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  /* Section header spacing */
  .section-center {
    padding: 0;
    margin-bottom: 2rem;
  }
  .section-center .section-title { margin-bottom: 0.6rem; }
  .section-center .section-sub { margin-top: 0; }
  
  /* About: fix badge overflow collision */
  .about-image-wrap {
    padding-bottom: 1.5rem;
    margin-bottom: 0;
  }
  .about-badge-float {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
  }
  .about-grid {
    gap: 1.5rem;
    padding: 0 1.25rem;
  }
  .about-grid > div:last-child {
    padding: 0;
  }
  .about-features {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* Services: card body text mustn't clip */
  .services-section .container { padding: 0 1.25rem; }
  .services-grid {
    gap: 1rem;
    margin-top: 0;
  }
  .service-card-body {
    padding: 1.1rem 1.1rem 1.25rem;
    gap: 0.5rem;
  }
  .service-card-body h3 { margin-bottom: 0.35rem; }
  .service-card-body p { line-height: 1.55; }
  
  /* Why cards: prevent text overflow */
  .why-section .container { padding: 0 1.25rem; }
  .why-grid { margin-top: 0; }
  .why-card {
    padding: 1.1rem 0.9rem;
    word-break: break-word;
    overflow: hidden;
  }
  .why-card h3 { line-height: 1.3; }
  .why-card p { word-break: break-word; }
  
  /* Testimonials: slider must not bleed */
  .testimonials-slider-wrapper {
    margin-top: 2rem;
    width: 100%;
    overflow: hidden;
  }
  .testimonials-slider {
    width: 100%;
  }
  .testimonial-card {
    flex: 0 0 calc(100vw - 2.5rem);
    min-width: 0;
    box-sizing: border-box;
    word-break: break-word;
  }
  
  /* Portfolio: grid stays within container */
  .portfolio-section .container { padding: 0 1.25rem; }
  .portfolio-grid {
    margin-top: 0;
    width: 100%;
  }
  .portfolio-item {
    width: 100%;
    min-width: 0;
  }
  
  /* FAQ: list items don't clip */
  .faq-section .container { padding: 0 1.25rem; }
  .faq-list {
    padding: 0;
    margin-top: 1.5rem;
    width: 100%;
    max-width: 100%;
  }
  .faq-item { width: 100%; }
  .faq-q span {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    line-height: 1.4;
  }
  
  /* Contact: cards don't run edge to edge */
  .contact-section .container { padding: 0 1.25rem; }
  .contact-grid {
    width: 100%;
    margin-top: 1.5rem;
  }
  .contact-info-card,
  .contact-form-card {
    width: 100%;
    box-sizing: border-box;
  }
  .form-group { margin-bottom: 0.85rem; }
  .cd-value { word-break: break-all; }
  
  /* Hero: floating card doesn't collide with trust badges */
  .hero-inner {
    padding-bottom: 6rem;
  }
  .hero-floating-card {
    bottom: 1rem;
    right: 1rem;
    z-index: 3;
  }
  .hero-trust-mini {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  /* Header: logo text must not overflow into hamburger */
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
  }
  .header-logo {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }
  .header-logo-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .hamburger {
    flex-shrink: 0;
    margin-left: auto;
  }
  
  /* Promo modal: doesn't overflow on tiny screens */
  .promo-modal { padding: 0.75rem; }
  .promo-modal-content { border-radius: 16px; }
  .promo-info-side { padding: 1.1rem 1rem 1.4rem; gap: 0; }
  .promo-heading { font-size: 1.25rem; }
  .promo-text { font-size: 0.82rem; margin-bottom: 0.9rem; }
  .promo-price-tag { margin-bottom: 1rem; }
  .promo-image-side { height: 150px; }
  
  /* Overflow guard: nothing bleeds past viewport edge */
  .testimonials-slider-wrapper,
  .portfolio-grid,
  .services-grid,
  .why-grid,
  .contact-grid,
  .footer-grid,
  .faq-list {
    overflow-x: hidden;
  }
  
  /* Header logo text fix */
  .header-logo img {
    height: 38px;
    flex-shrink: 0;
  }
  .header-logo-text {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 0.82rem;
    line-height: 1.15;
    max-width: none;
    font-weight: 800;
  }
}

@media (max-width: 400px) {
  .about-badge-float { bottom: 0.25rem; right: 0.25rem; padding: 0.6rem 0.8rem; }
  .about-grid { padding: 0 1rem; }
  .services-section .container { padding: 0 1rem; }
  .why-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .why-card { padding: 1.1rem; }
  .testimonial-card { flex: 0 0 calc(100vw - 2rem); padding: 1.25rem 1rem; }
  .testimonials-section .container { padding: 0 1rem; }
  .contact-info-card { padding: 1.5rem 1rem; }
  .contact-form-card { padding: 1.5rem 1rem; }
  .header-logo img { height: 34px; }
  .header-logo-text { font-size: 0.76rem; line-height: 1.1; }
}

@media (max-width: 340px) {
  .header-logo-text { font-size: 0.7rem; }
}

@media (max-width: 767px) {
  .site-footer {
    padding-bottom: 0;
  }
  .footer-grid {
    padding-bottom: 1.5rem;
    margin-bottom: 0;
  }
  .footer-bottom {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* ================================================
   UNIFIED ICON SYSTEM — match all icons site-wide
   Signature look: gold line-icon in gold-tinted
   rounded square container (like services/why cards)
   ================================================ */

/* Mobile-nav icons — now match the branded icon style */
.mnav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gold-light);
  border-radius: 9px;
  color: var(--gold);
  flex-shrink: 0;
  margin-right: 12px;
  transition: all var(--transition);
}
.mnav-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.25;
}
.mobile-nav a {
  display: flex;
  align-items: center;
}
.mobile-nav a:hover .mnav-icon {
  background: var(--gold);
  color: #fff;
}

/* The "Call Now" phone link in mobile nav — invert to read on navy bg */
.mobile-nav .mobile-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.mobile-nav .mobile-phone .mnav-icon {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.mobile-nav .mobile-phone:hover .mnav-icon {
  background: rgba(255,255,255,0.28);
  color: #fff;
}

/* Hamburger — white bars so they're visible on the dark glass header */
.hamburger span {
  width: 24px;
  height: 2.25px;
  background: #FFFFFF;
  border-radius: 99px;
}

/* Normalize ALL container icons to share identical visual weight */
.service-icon-wrap svg,
.why-card-icon svg,
.feature-icon svg {
  stroke-width: 2.25;
}

/* Standardize stroke-width on inline header/footer/contact/hero phone icons */
.header-phone svg,
.hero-btns svg,
.hero-trust-item svg,
.footer-call-cta svg,
.sticky-call svg,
.cd-icon svg,
.trust-icon-wrap svg {
  stroke-width: 2.25;
}

/* Contact-detail icons sit on a navy card — keep translucent gold tint */
.cd-icon {
  background: rgba(245,158,11,0.18);
  color: var(--gold-bright);
}
.cd-icon svg { width: 18px; height: 18px; stroke-width: 2.25; }

/* Size SVGs inside trust bar & floating card containers */
.trust-icon-wrap {
  color: var(--gold-bright);
}
.trust-icon-wrap svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.25;
}
.floating-card-icon {
  color: var(--gold);
}
.floating-card-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.25;
}

/* Hero trust mini check icons + all small inline icons consistent */
.hero-trust-item svg { width: 14px; height: 14px; stroke-width: 2.25; }


/* ================================================
   PHOTO UPLOAD MODULE — mobile-first
   ================================================ */
.label-optional {
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
  font-size: 0.68rem;
}
.photo-upload { width: 100%; }
.photo-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.photo-input:disabled { cursor: progress; }
.photo-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(7, 12, 30, 0.4);
  border: 1.5px dashed rgba(197, 168, 128, 0.25);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition);
  min-height: 110px;
}
.photo-dropzone:hover,
.photo-dropzone.is-drag,
.photo-dropzone:focus-within {
  border-color: var(--gold);
  background: rgba(197, 168, 128, 0.08);
}
.photo-dz-icon {
  width: 30px; height: 30px;
  color: var(--gold);
  margin-bottom: 0.1rem;
}
.photo-dz-main {
  font-size: 0.9rem;
  font-weight: 800;
  color: #FFFFFF;
}
.photo-dz-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
}
/* ================================================
   ACCESSIBILITY & ANTI-SPAM — v1
   ================================================ */

/* Skip-to-content link: invisible until focused by keyboard.
   Appears at top-left when a keyboard user hits Tab on page load. */
.skip-to-content {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 99999;
  background: var(--gold-bright);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s ease;
  box-shadow: var(--shadow-md);
}
.skip-to-content:focus {
  top: 1rem;
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

/* Keyboard focus ring: explicit gold outline for all interactive elements.
   Browsers provide default focus styles but they're often invisible on dark backgrounds. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Remove outline for mouse users (only show for keyboard) */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}


/* ================================================
   MOBILE-FIRST OPTIMIZATION — v3
   Priority: mobile experience above all else
   ================================================ */

@media (max-width: 768px) {

  /* HERO: remove left margin so text isn't pushed in on narrow phones */
  .hero-inner {
    margin-left: 0;
  }

  /* SERVICES: shorter fixed image so cards don't dominate the scroll */
  .service-card-image {
    height: 220px;
  }

  /* SERVICE WIDE CARD (Power Washing): force column on mobile —
     the desktop row layout breaks badly at single-column widths */
  .service-card-wide {
    flex-direction: column !important;
  }
  .service-card-wide .service-card-image {
    width: 100% !important;
    height: 220px !important;
    min-height: unset !important;
  }
  .service-card-wide .service-card-body {
    width: 100% !important;
  }

  /* FORMS — iOS ZOOM PREVENTION:
     iOS Safari auto-zooms any input with font-size < 16px.
     Force 1rem (16px) on all form fields on mobile. */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 1rem;
  }

  /* WHY SECTION: reduce heavy padding and margin on mobile */
  .why-quote-card {
    padding: 2rem 1.5rem;
  }
  .why-split-grid {
    margin-top: 2rem;
  }

  /* TESTIMONIALS: reduce inner padding on mobile */
  .testimonial-card {
    padding: 1.5rem 1.25rem;
  }

  /* PORTFOLIO FILTERS: ensure tap targets meet the 44px minimum */
  .filter-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.1rem;
  }

  /* SECTION TITLE DIVIDERS: remove max-width so lines scale
     naturally at narrow widths instead of disappearing */
  .section-title-divider::before,
  .section-title-divider::after {
    max-width: none;
  }

  /* PHOTO DROPZONE: "Drag & drop" is meaningless on touchscreens —
     hide that hint and show a mobile-friendly message instead */
  .photo-dz-sub-desktop { display: none; }
  .photo-dz-sub-mobile  { display: block; }

  /* HERO FLOATING CARD: ensure it never overlaps hero trust items */
  .hero-floating-card {
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.75rem 1rem;
    gap: 0.65rem;
  }
  .floating-card-icon {
    width: 36px;
    height: 36px;
  }

  /* CONTACT CARDS: tighter padding to fit content comfortably */
  .contact-info-card {
    padding: 2rem 1.5rem;
  }
  .contact-form-card {
    padding: 2rem 1.5rem;
  }

  /* SLIDER CONTROLS: bigger touch targets */
  .slider-btn {
    width: 48px;
    height: 48px;
  }

  /* STICKY CALL: ensure safe-area padding on notched phones */
  .sticky-call {
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }

  /* TOP BAR: slightly more padding on mobile for readability */
  .top-bar {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {

  /* TRUST BAR: add vertical gap when items wrap to two rows */
  .trust-bar-inner {
    row-gap: 0.65rem;
    padding: 0.75rem 1rem;
  }
  .trust-item {
    padding: 0.35rem 0.85rem;
  }

  /* HERO: even tighter padding on very small phones */
  .hero-inner {
    padding: 4rem 1.25rem 5rem;
  }

  /* SECTION TITLE: slightly tighter letter-spacing on small screens */
  .section-title {
    letter-spacing: -0.01em;
  }

  /* WHY CHECKLIST: tighter gap on small phones */
  .why-checklist-grid {
    gap: 1rem 0.85rem;
  }

  /* FAQ: reduce question font-size slightly for better line wrapping */
  .faq-q {
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
  }
  .faq-a {
    padding: 0 1.25rem;
  }
  .faq-item.open .faq-a {
    padding: 0 1.25rem 1rem;
  }
}

/* On desktop, show desktop dropzone text and hide mobile version */
@media (min-width: 769px) {
  .photo-dz-sub-desktop { display: block; }
  .photo-dz-sub-mobile  { display: none; }
}

/* ================================================
   22. UTILITIES that replace the design's inline styles
   (the CSP refuses style="…" attributes)
   ================================================ */
[hidden] { display: none !important; }

.icon-inline    { margin-right: 8px; vertical-align: middle; }
.icon-inline-sm { margin-right: 4px; vertical-align: middle; }
.icon-inline-md { margin-right: 6px; vertical-align: middle; }

.rating-row--center { justify-content: center; }
.cd-value--wrap { word-break: break-all; }


/* ================================================
   23. THE ESTIMATE FORM — js/intake-form.js drives it
   Hooks it relies on: form[data-intake-form], [data-intake="…"], the field
   names, and the classes it creates (.intake-photo, .intake-photo__remove).
   ================================================ */
.form-row-address { grid-template-columns: 2fr 1fr; }
@media (max-width: 768px) {
  .form-row-address { grid-template-columns: 1fr; }
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 0.5rem;
}

.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #F87171;
}

/* Media-release consent */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0.25rem 0 1.25rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-mid);
  cursor: pointer;
}
.form-check input {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--gold);
}

/* Honeypot: off-screen, unreachable. Never display:none (some bots skip
   fields that are not rendered). */
.intake__honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Turnstile widget (renders in an iframe from challenges.cloudflare.com) */
.form-turnstile { margin: 0.25rem 0 1rem; min-height: 0; }
.form-turnstile:empty { margin: 0; }

/* The status line: progress, the confirmation, refusals, "paused" */
.form-status {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(197, 168, 128, 0.35);
  background: rgba(7, 12, 30, 0.6);
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.55;
}
.form-status[data-tone="error"]   { border-color: #F87171; color: #FECACA; background: rgba(127, 29, 29, 0.25); }
.form-status[data-tone="success"] { border-color: #4ADE80; color: #BBF7D0; background: rgba(20, 83, 45, 0.3); }
.form-status[data-tone="warn"]    { border-color: #FBBF24; color: #FDE68A; background: rgba(120, 53, 15, 0.25); }

/* "Still needed: …" under a disabled button */
.form-outstanding {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-gold[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-gold[data-busy="1"] { cursor: progress; }

.form-trust a { color: var(--gold-bright); font-weight: 700; }

/* Photo previews (built by js/intake-form.js) */
.photo-previews {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}
@media (max-width: 480px) {
  .photo-previews { grid-template-columns: repeat(3, 1fr); gap: 0.45rem; }
}
.intake-photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.intake-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.intake-photo__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(4, 7, 20, 0.82);
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.intake-photo__remove:hover { background: rgba(4, 7, 20, 0.95); color: var(--gold-bright); }
.intake-photo__remove:disabled { opacity: 0.4; cursor: progress; }
@media (max-width: 480px) {
  .intake-photo__remove { width: 32px; height: 32px; } /* bigger tap target */
}

/* ================================================
   24. PHONE FIXES found in screenshots (2026-11-02)
   ================================================ */
@media (max-width: 768px) {
  /* The sticky "Call Now" button sits over this card on first load, and the
     stats bar right below repeats "500+ Projects". */
  .hero-floating-card { display: none; }
}
@media (max-width: 480px) {
  /* "OUR PREMIUM SERVICES" ran into the right edge at 390 px. */
  .section-title-divider {
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    gap: 0.75rem;
  }
}

/* ================================================
   25. 2-HOUR SPECIAL ON PHONES — tear-off ticket + bottom sheet
   (owner, 2026-11-07: no popup on a phone; the offer lives in the page)
   ================================================ */
.promo-ticket { display: none; }      /* desktop keeps the popup */
.promo-sheet-handle { display: none; }

@media (max-width: 768px) {
  /* The ticket. The outer <aside> carries the drop shadow (a mask would clip
     a box-shadow) and the stamp-in; the inner .ticket is cut to shape. */
  .promo-ticket {
    --stub: 92px;
    --notch: 11px;
    display: block;
    position: relative;
    z-index: 1;
    margin: 1.75rem 1.25rem 0.25rem;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.5));
  }
  .ticket {
    position: relative;
    display: grid;
    grid-template-columns: var(--stub) 1fr;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(140deg, rgba(197, 168, 128, 0.18) 0%, rgba(13, 19, 38, 0.97) 48%, #0D1326 100%);
    box-shadow: inset 0 0 0 1px rgba(197, 168, 128, 0.5);
    /* Punched notches, top and bottom, where the stub tears off. */
    -webkit-mask:
      radial-gradient(circle var(--notch) at var(--stub) 0, transparent 96%, #000 100%) top / 100% 51% no-repeat,
      radial-gradient(circle var(--notch) at var(--stub) 100%, transparent 96%, #000 100%) bottom / 100% 51% no-repeat;
            mask:
      radial-gradient(circle var(--notch) at var(--stub) 0, transparent 96%, #000 100%) top / 100% 51% no-repeat,
      radial-gradient(circle var(--notch) at var(--stub) 100%, transparent 96%, #000 100%) bottom / 100% 51% no-repeat;
  }
  .ticket-stub {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.25rem;
    background: var(--gold-gradient);
    color: var(--navy-dark);
  }
  .ticket-stub-num {
    font-family: var(--font-serif);
    font-size: 3.1rem;
    font-weight: 900;
    line-height: 0.9;
  }
  .ticket-stub-unit {
    margin-top: 0.4rem;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    padding-left: 0.24em; /* letter-spacing trails: re-centre */
  }
  /* The perforation between stub and ticket. */
  .ticket-stub::after {
    content: '';
    position: absolute;
    top: calc(var(--notch) + 5px);
    bottom: calc(var(--notch) + 5px);
    right: -1px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, rgba(7, 12, 30, 0.9) 0 5px, transparent 5px 10px);
  }
  .ticket-body { min-width: 0; padding: 1rem 1rem 1.1rem 1.15rem; }
  .ticket-kicker {
    margin-bottom: 0.3rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
  }
  .ticket-title {
    margin-bottom: 0.35rem;
    font-size: 1.22rem;
    line-height: 1.2;
    color: #FFFFFF;
  }
  .ticket-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
  }
  .ticket-price-num {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1;
    color: var(--gold-bright);
  }
  .ticket-price-note { font-size: 0.74rem; font-weight: 600; color: var(--text-mid); }
  .ticket-text {
    margin-bottom: 0.85rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-mid);
  }
  .ticket-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .ticket-book,
  .ticket-more {
    flex: 1 1 auto;              /* side by side when they fit, full width when they wrap */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;            /* a thumb-sized target */
    padding: 0.5rem 0.95rem;
    border-radius: 9px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .ticket-book {
    background: var(--gold-gradient);
    color: var(--navy-dark);
    border: 1px solid rgba(255, 255, 255, 0.25);
  }
  .ticket-more {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(197, 168, 128, 0.5);
  }
  .ticket-more:active { background: rgba(197, 168, 128, 0.12); }

  /* One shine across the ticket as it stamps into place. */
  .ticket::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 45%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.24) 50%, transparent 100%);
    transform: translateX(-130%) skewX(-18deg);
  }
  /* Hidden only while js/site.js is there to stamp it in (it sets .js-reveal
     and adds .is-in when the ticket scrolls into view). */
  .js-reveal .promo-ticket:not(.is-in) { opacity: 0; }
  .promo-ticket.is-in { animation: ticketStamp 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
  .promo-ticket.is-in .ticket::before { animation: ticketShine 1.1s ease 0.6s 1 both; }

  /* The offer as a bottom sheet (opened only by "See details" on a phone). */
  .promo-modal { align-items: flex-end; padding: 0; }
  .promo-modal-content {
    max-width: none;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 22px 22px 0 0;
    border-bottom: none;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .promo-modal.active .promo-modal-content { transform: translateY(0); }
  .promo-modal-content.is-dragging { transition: none; }
  /* Grab handle: drag the sheet down to close. Centred and narrow, so it
     never sits over the × button. */
  .promo-sheet-handle {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    width: 140px;
    height: 30px;
    margin-left: -70px;
    z-index: 12;
    cursor: grab;
    touch-action: none;
  }
  .promo-sheet-handle::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 50%;
    width: 42px;
    height: 5px;
    margin-left: -21px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  }
}

@keyframes ticketStamp {
  0%   { opacity: 0; transform: scale(0.9) rotate(-3deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes ticketShine {
  from { transform: translateX(-130%) skewX(-18deg); }
  to   { transform: translateX(330%) skewX(-18deg); }
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .promo-ticket:not(.is-in) { opacity: 1; }
  .promo-ticket.is-in,
  .promo-ticket.is-in .ticket::before { animation: none; }
  .promo-modal-content { transition: none; }
}

/* ================================================
   26. THE 2-HOUR SPECIAL BOX ON THE FORM (migration 167)
   ================================================ */
.form-check--special {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(197, 168, 128, 0.45);
  border-radius: 10px;
  background: rgba(197, 168, 128, 0.07);
}
.form-check--special strong { color: var(--gold-bright); }
.form-check--special:has(input:checked) {
  border-color: var(--gold-bright);
  background: rgba(197, 168, 128, 0.14);
}

/* ================================================
   27. REAL PHOTOS AND NO TEMPLATE REVIEWS (owner, 2026-11-07)
   ================================================ */
/* A service card with one photo (no before/after pair): no swap, no label. */
.service-card-image .img-single {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* "Why choose us": the estimate prompt that replaced a template quote. */
.why-cta-card { text-align: left; }
.why-cta-card .quote-text { font-style: normal; }
.why-cta-kicker {
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.why-cta-card .btn-gold { margin-top: 0.25rem; }

/* The glass covers a service card's words, not its photo (owner,
   2026-11-08): it is drawn on the card's text panel, never on the card
   (whose ::after would lie over the image). See section 30. */
.service-card-body { position: relative; }

/* ================================================
   28. THE GALLERY: BEFORE/AFTER PAIRS, AND A SWIPE REEL ON PHONES
       (owner, 2026-11-08: more photos, and a better way than scrolling
       to look at them on a phone). The desktop grid is the design's.
   ================================================ */
/* Every tile is a card: the photo on top, untouched, and a glass bar under it
   with the title and (for a pair) the Before/After pill. A pair's before
   photo lies over the after one, faded in or out by data-side (js/site.js).
   With the script armed, a pair starts on its before photo and its after
   stays hidden until the before has loaded, so the after never flashes up. */
.portfolio-item {
  display: flex;
  flex-direction: column;
  cursor: default;
  background: rgba(13, 19, 38, 0.45);
}
.pf-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex: 0 0 auto;
}
.pf-photo img { display: block; }
.portfolio-item .pf-before {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease, transform 0.5s ease;
}
.portfolio-item[data-side="before"] .pf-before { opacity: 1; }
.portfolio-item.is-quick .pf-before { transition-duration: 0.45s, 0.5s; }
.pf-armed .portfolio-item[data-pair]:not(.is-ready) .pf-after { opacity: 0; }
.pf-open {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}
.pf-open:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: -3px; border-radius: 0; }
.pf-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 0.6rem 0.9rem;
  overflow: hidden;
}
.pf-title {
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
}
.pf-bar .pf-flip { position: static; flex: 0 0 auto; z-index: 1; }

/* The before/after pill (tiles and the lightbox) */
.pf-flip {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 3;
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border-radius: 999px;
  border: 1px solid rgba(197, 168, 128, 0.45);
  background: rgba(8, 13, 28, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  font: inherit;
}
.pf-flip span {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transition: background 0.2s ease, color 0.2s ease;
}
.pf-flip .pf-flip-a,
.pf-flip[aria-pressed="true"] .pf-flip-b { background: var(--gold-bright); color: var(--navy-dark); }
.pf-flip[aria-pressed="true"] .pf-flip-a { background: transparent; color: rgba(255, 255, 255, 0.72); }
.pf-flip:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }

/* Lightbox additions: a counter and the pill under the photo */
.lb-count {
  position: absolute;
  top: 1.6rem;
  left: 1.5rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.lightbox .lb-flip {
  top: auto;
  left: 50%;
  bottom: calc(3.4rem + var(--lb-safe));
  transform: translateX(-50%);
}
.lightbox { touch-action: pinch-zoom; }
.lightbox img { -webkit-user-drag: none; user-select: none; }

/* The reel's controls exist only on a phone */
.reel-bar, .reel-strip { display: none; }

@media (max-width: 768px) {
  /* Filters: one row that scrolls sideways, not three wrapped rows */
  .portfolio-section .portfolio-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 1.5rem 0 1rem;
    padding-bottom: 2px;
  }
  .portfolio-section .portfolio-filters::-webkit-scrollbar { display: none; }
  .portfolio-section .filter-btn { flex: 0 0 auto; }

  /* The grid becomes a reel: one project at a time, the next one peeking */
  .portfolio-section .portfolio-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding: 4px 6% 8px;
    margin-top: 0;
  }
  .portfolio-section .portfolio-grid::-webkit-scrollbar { display: none; }
  .portfolio-section .portfolio-item {
    flex: 0 0 88%;
    width: auto;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .portfolio-section .portfolio-item:hover { transform: none; box-shadow: var(--shadow-sm); }
  .portfolio-section .portfolio-item:hover img { transform: none; }
  .portfolio-section .pf-flip span { padding: 0.4rem 0.75rem; font-size: 0.7rem; }

  .reel-bar {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 0.9rem;
  }
  .reel-nav {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(197, 168, 128, 0.35);
    background: rgba(13, 19, 38, 0.5);
    color: var(--gold-bright);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
  }
  .reel-nav:disabled { opacity: 0.35; cursor: default; }
  .reel-nav:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
  .reel-meter { flex: 1 1 auto; min-width: 0; display: grid; gap: 6px; }
  .reel-count {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
  }
  .reel-count b { color: var(--gold-bright); font-weight: 800; }
  .reel-progress { height: 2px; border-radius: 2px; background: rgba(197, 168, 128, 0.18); overflow: hidden; }
  .reel-fill { display: block; height: 100%; background: var(--gold-gradient); width: 0; transition: width 0.25s ease; }

  /* The filmstrip: every project as a thumbnail, tap one to jump to it */
  .reel-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-top: 0.85rem;
    padding: 3px 2px;
  }
  .reel-strip::-webkit-scrollbar { display: none; }
  .reel-thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.5;
    cursor: pointer;
    background: var(--navy-dark);
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
  }
  .reel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .reel-thumb[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--gold-bright); }
  .reel-thumb:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }

  /* Phone: the photo runs edge to edge, so the arrows move down beside the
     caption instead of lying on it */
  .lightbox { --lb-side: 0.75rem; --lb-bottom: 7.25rem; }
  .lightbox .lb-flip { bottom: calc(4.4rem + var(--lb-safe)); }
  .lightbox #lb-prev, .lightbox #lb-next { top: auto; bottom: calc(0.9rem + var(--lb-safe)); transform: none; }
  .lightbox #lb-prev { left: 0.9rem; }
  .lightbox #lb-next { right: 0.9rem; }
}
/* A phone on its side: the caption joins the counter and Close in the top
   row, so only the pill is left under the photo */
@media (max-height: 500px) {
  .lightbox { --lb-top: 4rem; --lb-bottom: 4.1rem; }
  .lightbox #lb-close { top: 0.5rem; }
  .lightbox .lb-count { top: 1.25rem; }
  .lightbox .lb-caption { bottom: auto; top: 1.25rem; max-width: calc(100% - 14rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lightbox .lb-flip { bottom: calc(0.7rem + var(--lb-safe)); }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-section .portfolio-grid { scroll-behavior: auto; }
  .portfolio-item .pf-before { transition: none; }
  .sticky-call { transition: none; }
  .reel-fill, .pf-flip span, .reel-thumb { transition: none; }
}

/* The floating Call Now button fades out while the gallery is on screen
   (owner, 2026-11-09): it covered the phone reel's filmstrip. Hidden, it is
   neither tappable nor focusable. */
.sticky-call {
  transition: transform var(--transition), box-shadow var(--transition), opacity 0.35s ease, visibility 0s linear 0s;
}
.sticky-call.is-tucked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(16px);
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0s linear 0.35s;
}
@media (prefers-reduced-motion: reduce) {
  .sticky-call, .sticky-call.is-tucked { transition: none; }
}

/* Swiping (owner, 2026-11-09): the lightbox photo follows a finger or a
   mouse; a mouse can drag the phone reel. */
.lightbox img { will-change: transform; touch-action: pinch-zoom; }   /* one finger swipes; two still zoom */
@media (max-width: 768px) {
  .portfolio-section .portfolio-grid { user-select: none; -webkit-user-select: none; }
  .portfolio-section .portfolio-grid.is-dragging { scroll-snap-type: none; cursor: grabbing; }
  .portfolio-section .portfolio-grid.is-dragging .pf-open { cursor: grabbing; }
}
@media (max-width: 768px) and (hover: hover) and (pointer: fine) {
  .portfolio-section .portfolio-grid .pf-open { cursor: grab; }
}

/* ================================================
   29. REVIEW FIXES (2026-11-12)
   ================================================ */

/* Service cards without a mouse (a phone, a tablet). js/site.js starts each
   card on its before photo (data-ba="before") and, once the card is on
   screen, fades to the after; it starts over when the card comes back into
   view. The before photo stays underneath, so the fade never dips to the
   card's background. Without the script, or with reduced motion, the card
   shows the finished work. (The animation this replaces never ran.) */
@media (hover: none), (max-width: 768px) {
  .service-card .img-before,
  .service-card:hover .img-before { opacity: 1; }
  .service-card .img-after,
  .service-card:hover .img-after { opacity: 1; transition: opacity 1.2s ease; }
  .service-card[data-ba="before"] .img-after { opacity: 0; }
  .service-card .ba-before,
  .service-card:hover .ba-before { background: transparent; color: rgba(255, 255, 255, 0.72); }
  .service-card .ba-after,
  .service-card:hover .ba-after { background: var(--gold-bright); color: var(--navy-dark); }
  .service-card[data-ba="before"] .ba-before { background: var(--gold-bright); color: var(--navy-dark); }
  .service-card[data-ba="before"] .ba-after { background: transparent; color: rgba(255, 255, 255, 0.72); }
}
@media (prefers-reduced-motion: reduce) {
  .service-card .img-before, .service-card .img-after, .ba-before, .ba-after { transition: none; }
}

/* The full header needs about 865 px; from 769 to 864 it ran off the side and
   the whole page scrolled sideways (an iPad held upright). The menu button
   now takes over up to 900 px, the width the design's frame already turns on. */
@media (max-width: 900px) {
  .header-nav, .header-right { display: none; }
  .hamburger { display: flex; }
}

/* Tap targets of at least 44 px, without moving anything: the extra area is
   an invisible box around the control. */
.hamburger { position: relative; }
.hamburger::before { content: ''; position: absolute; inset: -10px -6px; }
.card-learn-more::before { content: ''; position: absolute; inset: -11px -12px; }
a.cd-value { position: relative; }
a.cd-value::before { content: ''; position: absolute; inset: -11px 0; }

@media (max-width: 768px) {
  /* The text panel's top padding is too thin here to hold the Before/After
     label (it lay on the card's icon): it takes a line of its own */
  .service-card-body .before-after-label { position: static; transform: none; align-self: center; }
  /* A menu link lands with its heading clear of the sticky header */
  section[id] { scroll-margin-top: 1.25rem; }
  /* The offer sheet: its grab handle and × get a strip of their own, off the photo */
  .promo-modal-content { padding-top: 3rem; }
  .promo-close-btn { top: 0.4rem; }
}

/* Shown only when JavaScript is off (the form cannot send without it) */
.form-noscript {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(197, 168, 128, 0.45);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  line-height: 1.55;
  color: #fff;
}
.form-noscript a { color: var(--gold-bright); font-weight: 700; text-decoration: underline; }

/* A closed dialog's buttons take no focus (the offer's three were Tab stops
   on the bare page). */
.promo-modal { visibility: hidden; transition: opacity 0.4s ease, visibility 0s linear 0.4s; }
.promo-modal.active { visibility: visible; transition: opacity 0.4s ease, visibility 0s; }
/* The × is focused the moment the dialog opens. Its "transition: all" would
   also ease the visibility it inherits, leaving it hidden (so unfocusable)
   at that moment: ease only what its hover changes. */
.promo-close-btn { transition-property: background-color, color, border-color, transform; }

/* ================================================
   30. GLASS (owner, 2026-11-13: "visual effects should look like glass on
       the cards"). The one streak the design drew is replaced by what makes
       a pane read as glass:
       - something seen IN it: a photo card's text panel carries a soft,
         mirrored reflection of the photo above it, fading with distance,
         and it changes when the photo does (js/site.js adds it once the
         photo has loaded);
       - light ON it: a glare where the light lands (top left), two soft
         bands of window light that slide across when the card is hovered and
         slide into place when it first comes on screen, a breath of gold in
         the far corner, and a light under the pointer;
       - an edge: a bright line along the top, a dark one along the bottom;
       - frost: a fine grain.
       All of it is on the text panel (or, for a card with no photo, the
       card): nothing here is drawn over a photo.
   ================================================ */
@property --glass-sweep { syntax: '<percentage>'; inherits: true; initial-value: 71%; }
@property --glass-glow { syntax: '<number>'; inherits: true; initial-value: 0; }

.service-card-body, .pf-bar,
.why-quote-card, .testimonial-card, .faq-item, .contact-info-card, .contact-form-card {
  --glass-sweep: 71%;   /* where the bands of window light rest: the left third */
  --glass-glow: 0;      /* 1 while the pointer is on the pane */
}
.contact-form-card { --glass-sweep: 104%; }   /* no band of light across the form's fields: parked off the edge */
.service-card:hover .service-card-body,
.portfolio-item:hover .pf-bar,
.why-quote-card:hover, .testimonial-card:hover, .faq-item:hover, .contact-info-card:hover {
  --glass-sweep: 4%;    /* ...and where they slide to: off the right edge */
}

.service-card-body::after, .pf-bar::after,
.why-quote-card::after, .testimonial-card::after, .faq-item::after, .contact-info-card::after, .contact-form-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, calc(0.12 * var(--glass-glow))), transparent 70%),
    linear-gradient(112deg, transparent 0%, transparent 45.5%, rgba(255, 255, 255, 0.115) 48.4%, rgba(255, 255, 255, 0.03) 50.6%, rgba(255, 255, 255, 0.075) 52%, transparent 54.6%, transparent 100%) var(--glass-sweep) 0 / 250% 100% no-repeat,
    radial-gradient(120% 95% at 0% 0%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 30%, transparent 58%),
    radial-gradient(85% 75% at 100% 100%, rgba(223, 186, 140, 0.1), transparent 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 -0.32'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.13'/%3E%3C/svg%3E");
  /* The edge: a lit line along the top and left with a soft bloom under it,
     a gold glint along the bottom and right, as on a pane with some thickness */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 1px 0 0 rgba(255, 255, 255, 0.14),
    inset 0 10px 14px -10px rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(223, 186, 140, 0.2),
    inset -1px 0 0 rgba(223, 186, 140, 0.1);
  transition: --glass-sweep 1.15s cubic-bezier(0.22, 0.7, 0.2, 1), --glass-glow 0.45s ease;
}
/* The first time a pane is on screen, the light slides onto it (js/site.js adds .glass-in). */
@keyframes glassArrive {
  from { --glass-sweep: 104%; }
  to   { --glass-sweep: 71%; }
}
.glass-in::after { animation: glassArrive 1.5s cubic-bezier(0.22, 0.7, 0.2, 1) 0.15s 1 backwards; }

/* A photo card's text panel: blue glass, with the photo's reflection in it.
   js/site.js adds one .glass-echo per photo (a pair gets two: the before
   lies over the after, as the photos do) and the rules below show the one
   whose photo is showing, so the reflection changes with the photo. */
.service-card-body, .pf-bar {
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(120, 150, 230, 0.1) 0%, rgba(120, 150, 230, 0.03) 100%);
}
.pf-bar { flex: 1 1 auto; }   /* a tile stretched to its row's height has no empty strip under its bar */
.glass-echo {
  position: absolute;
  inset: -30px;           /* the blur's soft edge stays outside the panel, which clips it */
  z-index: -1;            /* over the panel's own tint, under its words */
  pointer-events: none;
  /* Mirrored (scaleY), so "to top" runs DOWN the panel on screen: the
     reflection is clearest beside the photo and fades away from it. */
  background:
    linear-gradient(to top, rgba(9, 16, 42, 0.4) 0%, rgba(8, 14, 38, 0.8) 34%, rgba(6, 11, 32, 0.92) 68%, rgba(5, 9, 28, 0.95) 100%),
    var(--echo, none) center bottom / cover no-repeat;
  transform: scaleY(-1);
  filter: blur(20px) saturate(1.6) brightness(0.92);
  opacity: 0;
  transition: opacity 1.2s ease;
}
.pf-bar .glass-echo {
  inset: -24px;
  background:
    linear-gradient(to top, rgba(9, 16, 42, 0.56) 0%, rgba(7, 12, 34, 0.84) 55%, rgba(5, 9, 28, 0.92) 100%),
    var(--echo, none) center bottom / cover no-repeat;
  filter: blur(14px) saturate(1.6) brightness(0.92);
}
.glass-echo.echo-after.is-ready { opacity: 1; }
/* Which reflection shows follows which photo shows (the same conditions as
   the photos' own rules): the gallery by data-side... */
.portfolio-item[data-side="before"] .glass-echo.echo-before.is-ready { opacity: 1; }
.portfolio-item.is-quick .glass-echo { transition-duration: 0.45s; }
/* ...a service card under a mouse by hover (before at rest)... */
@media (hover: hover) and (min-width: 769px) {
  .service-card .glass-echo.echo-before { transition-duration: 0.45s; }
  .service-card .glass-echo.echo-before.is-ready { opacity: 1; }
  .service-card:hover .glass-echo.echo-before.is-ready { opacity: 0; }
}
/* ...and a service card without one by data-ba. */
@media (hover: none), (max-width: 768px) {
  .service-card[data-ba="before"] .glass-echo.echo-before.is-ready { opacity: 1; }
}
@media (min-width: 769px) {
  /* The wide card's photo is beside its panel, so its reflection runs sideways. */
  .service-card-wide .glass-echo {
    background:
      linear-gradient(to left, rgba(9, 16, 42, 0.4) 0%, rgba(8, 14, 38, 0.8) 30%, rgba(6, 11, 32, 0.93) 56%, rgba(5, 9, 28, 0.96) 100%),
      var(--echo, none) right center / cover no-repeat;
    transform: scaleX(-1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-card-body::after, .pf-bar::after,
  .why-quote-card::after, .testimonial-card::after, .faq-item::after, .contact-info-card::after, .contact-form-card::after { transition: none; animation: none; }
  .glass-echo { transition: none; }
}
