/* =================================================================
   ERIC THE HANDYMAN — Design System
   Premium South Florida remodeling & handyman brand
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,500&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  /* ---- Color tokens ---- */
  --ink:        #0c1420;   /* near-black navy — hero / footer / dark sections */
  --navy:       #142a48;   /* brand navy — headings on light, buttons */
  --navy-2:     #1c3a63;   /* lighter navy for gradients/hover */
  --gold:       #a16207;   /* signal accent — warm amber/gold, sparing use only */
  --gold-2:     #854d0e;
  --leaf:       #15803d;   /* secondary accent — green, used for checks/trust icons */
  --leaf-2:     #166534;
  --paper:      #f7f4ee;   /* warm off-white section background */
  --paper-2:    #efeadd;
  --white:      #ffffff;
  --sand:       #e3ddcc;   /* hairlines / dividers on paper */
  --steel:      #545d6b;   /* body text on light */
  --mist:       #aab3c2;   /* muted text on dark */
  --mist-2:     #717c8d;

  /* ---- Type ---- */
  --display: 'Fraunces', serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;

  /* ---- Scale ---- */
  --container: 1280px;
  --radius: 2px;
  --gradient-horizon: linear-gradient(90deg, var(--navy) 0%, var(--gold) 55%, transparent 100%);

  --ease: cubic-bezier(.22,.61,.36,1);
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--body);
  color: var(--steel);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--display); color: var(--navy); margin:0; line-height:1.05; font-weight:600; }
p{ margin:0 0 1em; }
:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap{ max-width: var(--container); margin: 0 auto; padding: 0 28px; }
@media (max-width:720px){ .wrap{ padding: 0 20px; } }

.eyebrow{
  font-family: var(--body); font-weight:700; font-size: 12.5px; letter-spacing:.16em;
  text-transform:uppercase; color: var(--gold); display:flex; align-items:center; gap:10px; margin-bottom:16px;
}
.eyebrow::before{ content:''; width:22px; height:2px; background: var(--gold); display:inline-block; }

.h-xl{ font-size: clamp(2.6rem, 6vw, 5.2rem); letter-spacing:-.01em; }
.h-lg{ font-size: clamp(2.1rem, 4vw, 3.4rem); letter-spacing:-.01em; }
.h-md{ font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.h-sm{ font-size: 1.2rem; }
.lede{ font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--steel); max-width: 640px; }

/* ---- Scroll progress bar (signature device — the "horizon line") ---- */
.horizon-progress{
  position: fixed; top:0; left:0; height:3px; width:100%; z-index:9999;
  background: transparent;
}
.horizon-progress span{
  display:block; height:100%; width:0%;
  background: var(--gradient-horizon);
  transition: width .08s linear;
}
.horizon-rule{
  height:2px; width:100%; background: var(--gradient-horizon); opacity:.55; border:0;
}

/* ---- Buttons ---- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family: var(--body); font-weight:700; font-size:14.5px; letter-spacing:.01em;
  padding: 16px 30px; border-radius: var(--radius); border: 1px solid transparent;
  cursor:pointer; transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn-primary{ background: var(--gold); color:#fff; }
.btn-primary:hover{ background: var(--gold-2); transform: translateY(-2px); }
.btn-ghost{ background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover{ background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-navy{ background: var(--navy); color:#fff; }
.btn-navy:hover{ background: var(--navy-2); transform: translateY(-2px); }
.btn-outline{ background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover{ background: var(--navy); color:#fff; transform: translateY(-2px); }
.btn-block{ width:100%; }
.btn-sm{ padding:11px 20px; font-size:13px; }

/* =================================================================
   HEADER
   ================================================================= */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 1000;
  padding: 18px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s;
}
.site-header.is-scrolled{
  background: rgba(12,20,32,.92); backdrop-filter: blur(10px); padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:46px; width:auto; }
.brand-text{ font-family: var(--display); color:#fff; font-weight:700; font-size:1.05rem; line-height:1.1; }
.brand-text small{ display:block; font-family: var(--body); font-weight:600; font-size:10.5px; letter-spacing:.14em; color: var(--mist); text-transform:uppercase; margin-top:2px;}

.main-nav{ display:flex; align-items:center; gap:4px; }
.main-nav > ul{ display:flex; align-items:center; gap:2px; }
.main-nav > ul > li{ position:relative; }
.main-nav > ul > li > a, .main-nav > ul > li > button{
  font-family: var(--body); font-weight:600; font-size:13.5px; color:#fff; padding:10px 16px;
  background:none; border:none; cursor:pointer; display:flex; align-items:center; gap:6px;
  letter-spacing:.01em;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > button:hover{ color: var(--mist); }
.caret{ width:8px; height:8px; border-right:1.6px solid currentColor; border-bottom:1.6px solid currentColor; transform:rotate(45deg); margin-top:-4px; transition: transform .25s; }
li.has-mega:hover .caret, li.has-mega.open .caret{ transform: rotate(225deg); margin-top:4px; }

.mega{
  position:fixed; left:0; right:0; top: 76px; background:#fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35);
  opacity:0; visibility:hidden; transform: translateY(-8px); transition: all .25s var(--ease);
  border-top: 1px solid var(--sand);
}
li.has-mega:hover .mega, li.has-mega.open .mega{ opacity:1; visibility:visible; transform: translateY(0); }
.mega-inner{ max-width: var(--container); margin:0 auto; padding: 36px 28px 40px; display:grid; grid-template-columns: 1.1fr 2.3fr; gap:40px; }
.mega-col h4{ font-size:11px; letter-spacing:.14em; text-transform:uppercase; color: var(--mist-2); font-family: var(--body); font-weight:700; margin-bottom:14px; }
.mega-list{ display:grid; gap:4px; }
.mega-list a{ display:block; padding:7px 10px; border-radius:3px; font-size:14px; color: var(--navy); font-weight:500; transition: background .15s, color .15s, padding-left .15s; }
.mega-list a:hover{ background: var(--paper); color: var(--gold); padding-left:14px; }
.mega-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 28px 24px; }
.mega-feature{ position:relative; border-radius:6px; overflow:hidden; height:150px; }
.mega-feature img{ width:100%; height:100%; object-fit:cover; transition: transform .5s var(--ease); }
.mega-feature:hover img{ transform: scale(1.07); }
.mega-feature figcaption{ position:absolute; inset:auto 0 0 0; padding:10px 12px; background:linear-gradient(0deg, rgba(0,0,0,.75), transparent); color:#fff; font-size:13px; font-weight:600; }

.header-actions{ display:flex; align-items:center; gap:14px; }
.header-phone{ display:flex; flex-direction:column; align-items:flex-end; color:#fff; }
.header-phone small{ font-size:10px; letter-spacing:.12em; text-transform:uppercase; color: var(--mist); }
.header-phone strong{ font-family: var(--display); font-size:1.05rem; font-weight:600; }
.nav-toggle{ display:none; background:none; border:1px solid rgba(255,255,255,.4); color:#fff; border-radius:3px; padding:9px 11px; cursor:pointer; }
.search-toggle{ display:flex; align-items:center; justify-content:center; background:none; border:1px solid rgba(255,255,255,.4); color:#fff; border-radius:3px; width:38px; height:38px; cursor:pointer; transition: background .2s, border-color .2s; }
.search-toggle:hover{ background: rgba(255,255,255,.12); }

/* ---- Header search panel ---- */
.search-panel{
  position:fixed; top:0; left:0; right:0; z-index:1050; background:#fff;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.35);
  transform: translateY(-100%); opacity:0; visibility:hidden;
  transition: transform .35s var(--ease), opacity .3s, visibility .3s;
  padding-top: 90px;
}
.search-panel.open{ transform: translateY(0); opacity:1; visibility:visible; }
.search-panel-inner{ padding: 26px 28px 34px; }
.search-input-row{ display:flex; align-items:center; gap:14px; border-bottom:2px solid var(--navy); padding-bottom:14px; color: var(--navy); }
.search-input-row svg{ flex-shrink:0; color: var(--mist-2); }
#searchInput{ flex:1; border:none; outline:none; font-family: var(--display); font-size: clamp(1.2rem,2.4vw,1.6rem); color: var(--navy); background:transparent; }
.search-close{ background:none; border:none; font-size:30px; line-height:1; color: var(--mist-2); cursor:pointer; padding:0 4px; }
.search-results{ display:grid; gap:2px; margin-top: 6px; max-height: 50vh; overflow-y:auto; }
.search-result{ display:flex; justify-content:space-between; align-items:center; gap:14px; padding:13px 8px; border-radius:3px; transition: background .15s; }
.search-result:hover{ background: var(--paper); }
.search-result span{ font-weight:600; color: var(--navy); font-size:15px; }
.search-result small{ font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color: var(--mist-2); flex-shrink:0; }
.search-fallback{ display:none; text-align:center; padding: 22px 10px 6px; }
.search-fallback.show{ display:block; }
.search-fallback p{ color: var(--steel); margin-bottom:14px; }
@media (max-width: 620px){ .search-panel{ padding-top: 76px; } .search-panel-inner{ padding:18px 18px 26px; } }

@media (max-width: 1080px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .header-phone{ display:none; }
}
@media (max-width: 760px){
  .header-actions .btn{ display:none; }
}
@media (max-width: 480px){
  .brand{ gap:8px; }
  .brand img{ height:34px; }
  .brand-text{ font-size:.82rem; }
  .brand-text small{ display:none; }
  .site-header{ padding: 14px 0; }
  .site-header.is-scrolled{ padding: 10px 0; }
}

/* Mobile drawer */
.mobile-drawer{ position:fixed; inset:0; background: var(--ink); z-index:1100; transform: translateX(100%); transition: transform .4s var(--ease); overflow-y:auto; }
.mobile-drawer.open{ transform: translateX(0); }
.mobile-drawer-head{ display:flex; justify-content:space-between; align-items:center; padding:20px 22px; border-bottom:1px solid rgba(255,255,255,.1); }
.mobile-drawer-close{ background:none; border:none; color:#fff; font-size:28px; cursor:pointer; line-height:1; }
.mobile-acc{ padding: 6px 10px 40px; }
.mobile-acc-item > button{ width:100%; text-align:left; background:none; border:none; color:#fff; padding:16px 12px; font-family:var(--body); font-weight:600; font-size:16px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid rgba(255,255,255,.08); }
.mobile-acc-panel{ display:none; padding: 4px 12px 18px 18px; }
.mobile-acc-item.open .mobile-acc-panel{ display:block; }
.mobile-acc-panel a{ display:block; padding:9px 0; color: var(--mist); font-size:14.5px; }
.mobile-cta{ padding: 18px; display:grid; gap:10px; }

/* =================================================================
   HERO (video parallax)
   ================================================================= */
.hero{ position:relative; height:100vh; min-height:560px; overflow:hidden; background:var(--ink); }
.hero-media{ position:absolute; inset:0; width:100%; height:100%; }
.hero-media video, .hero-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; will-change: transform; transform: scale(1.0); }
.hero-overlay{ position:absolute; inset:0; background:
  linear-gradient(180deg, rgba(8,13,22,.55) 0%, rgba(8,13,22,.35) 38%, rgba(8,13,22,.82) 100%);
  transition: opacity .2s; }
.hero-content{ position:relative; z-index:2; height:100%; display:flex; flex-direction:column; justify-content:flex-end; padding-bottom: 84px; will-change: transform, opacity; }
.hero-badges{ display:flex; gap:26px; flex-wrap:wrap; margin-top:30px; }
.hero-badge{ color:#fff; }
.hero-badge strong{ display:block; font-family:var(--display); font-size:1.7rem; font-weight:700; }
.hero-badge span{ font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color: var(--mist); }
.hero h1{ color:#fff; font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight:600; }
.hero .lede{ color: var(--mist); margin-top:18px; max-width:560px; font-size: clamp(1rem,1.6vw,1.2rem); }
.hero-ctas{ display:flex; gap:14px; margin-top:34px; flex-wrap:wrap; }
.hero-eyebrow{ color:#fff; opacity:.85; }
.scroll-cue{ position:absolute; right:32px; bottom:28px; z-index:3; color: var(--mist); display:flex; flex-direction:column; align-items:center; gap:8px; font-size:11px; letter-spacing:.16em; text-transform:uppercase; }
.scroll-cue::after{ content:''; width:1px; height:38px; background: linear-gradient(180deg, var(--mist), transparent); animation: scrollcue 1.8s infinite var(--ease); }
@keyframes scrollcue{ 0%{ transform: scaleY(.3); opacity:0;} 50%{ transform: scaleY(1); opacity:1;} 100%{ transform: scaleY(.3); opacity:0;} }
@media (max-width:720px){ .scroll-cue{ display:none; } }

/* Sub-page hero (image, shorter) */
.page-hero{ position:relative; min-height: 64vh; display:flex; align-items:flex-end; overflow:hidden; background: var(--ink); }
.page-hero-media{ position:absolute; inset:0; }
.page-hero-media img{ width:100%; height:100%; object-fit:cover; transform: scale(1.05); }
.page-hero-media::after{ content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(10,16,26,.35), rgba(10,16,26,.92)); }
.page-hero-inner{ position:relative; z-index:2; padding: 160px 0 64px; width:100%; }
.breadcrumb{ display:flex; gap:8px; font-size:12.5px; color: var(--mist); margin-bottom:22px; flex-wrap:wrap; }
.breadcrumb a{ color: var(--mist); } .breadcrumb a:hover{ color:#fff; }
.page-hero h1{ color:#fff; }
.page-hero .lede{ color: var(--mist); margin-top:14px; }
.page-hero-meta{ display:flex; gap:28px; margin-top:28px; flex-wrap:wrap; }
.page-hero-meta div{ color:#fff; font-size:13.5px; display:flex; align-items:center; gap:8px; }
.page-hero-meta strong{ color: var(--gold); }

/* =================================================================
   SECTIONS / GENERIC LAYOUT
   ================================================================= */
.section{ padding: 110px 0; }
.section-tight{ padding: 70px 0; }
.section.dark{ background: var(--ink); color: var(--mist); }
.section.dark h2, .section.dark h3{ color:#fff; }
.section.navy{ background: var(--navy); color: var(--mist); }
.section.navy h2, .section.navy h3{ color: #fff; }
.section.paper2{ background: var(--paper-2); }
.section-head{ max-width: 720px; margin-bottom: 56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head .eyebrow.center, .section-head.center .eyebrow{ justify-content:center; }
.section-head.center .eyebrow::before{ display:none; }

@media (max-width: 720px){ .section{ padding: 70px 0; } }

/* ---- Credentials strip (sits at base of hero) ---- */
.creds-strip{ background: var(--ink); border-top:1px solid rgba(255,255,255,.08); padding: 38px 0; }
.creds-strip .wrap{ display:flex; flex-wrap:wrap; gap: 34px; justify-content:space-between; align-items:center; }
.creds-item{ display:flex; align-items:center; gap:12px; color:#fff; }
.creds-item .num{ font-family:var(--display); font-size:1.9rem; color:#fff; font-weight:700; }
.creds-item .lbl{ font-size:12px; color: var(--mist); line-height:1.3; max-width:120px; }

/* ---- Category / Service grid cards ---- */
.grid{ display:grid; gap: 26px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px){ .grid-3, .grid-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .grid-3, .grid-4, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background:#fff; border:1px solid var(--sand); border-radius:4px; overflow:hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display:flex; flex-direction:column;
}
.card:hover{ transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(20,40,70,.35); }
.card-media{ position:relative; aspect-ratio: 4/3; overflow:hidden; background:var(--paper-2); }
.card-media img{ width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
.card:hover .card-media img{ transform: scale(1.08); }
.card-body{ padding: 22px 22px 26px; flex:1; display:flex; flex-direction:column; }
.card-body h3{ font-size:1.18rem; margin-bottom:8px; }
.card-body p{ font-size:14.5px; color: var(--steel); flex:1; }
.card-link{ font-weight:700; font-size:13px; letter-spacing:.04em; color: var(--gold); display:inline-flex; align-items:center; gap:6px; margin-top:10px; }
.card-link::after{ content:'→'; transition: transform .25s; }
.card:hover .card-link::after{ transform: translateX(4px); }

.cat-card .card-media{ aspect-ratio: 5/4; }

/* Image-free category tile (homepage) */
.cat-tile{
  display:flex; flex-direction:column; background:#fff; border:1px solid var(--sand); border-radius:4px;
  padding: 30px 26px 28px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
}
.cat-tile:hover{ transform: translateY(-5px); box-shadow: 0 26px 46px -26px rgba(20,40,70,.3); border-color: var(--gold); }
.cat-tile-icon{ width:50px; height:50px; border-radius:50%; background:var(--paper-2); color:var(--leaf); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.cat-tile h3{ margin-bottom:8px; }
.cat-tile p{ font-size:14.5px; color:var(--steel); margin-bottom:6px; flex:1; }

/* Service-area chips/buttons grid */
.area-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:14px; }
@media (max-width:900px){ .area-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width:620px){ .area-grid{ grid-template-columns: repeat(2,1fr); } }
.area-chip{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  background:#fff; border:1px solid var(--sand); padding:16px 18px; border-radius:3px;
  font-weight:600; color: var(--navy); font-size:14.5px;
  transition: background .25s, color .25s, transform .25s, border-color .25s;
}
.area-chip:hover{ background: var(--navy); color:#fff; border-color: var(--navy); transform: translateX(3px); }
.area-chip svg{ flex-shrink:0; opacity:.6; }

/* ---- Two-column content/image rows ---- */
.split{ display:grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items:center; }
.split.rev{ direction: rtl; }
.split.rev > *{ direction: ltr; }
@media (max-width: 880px){ .split{ grid-template-columns: 1fr; gap:40px; } }
.split-media{ position:relative; border-radius:4px; overflow:hidden; }
.split-media img{ width:100%; height:100%; object-fit:cover; }

/* ---- Benefit / numbered list ---- */
.check-list{ display:grid; gap:14px; margin-top: 22px; }
.check-list li{ display:flex; gap:12px; align-items:flex-start; font-size:15px; color: var(--steel); }
.check-list li svg{ flex-shrink:0; margin-top:3px; color: var(--leaf); }

.process-list{ display:grid; gap:0; counter-reset: step; }
.process-list li{ counter-increment: step; position:relative; padding: 26px 0 26px 64px; border-bottom:1px solid var(--sand); }
.process-list li:last-child{ border-bottom:none; }
.process-list li::before{ content: counter(step, decimal-leading-zero); position:absolute; left:0; top:24px; font-family: var(--display); font-size:1.6rem; color: var(--gold); font-weight:600; }
.process-list h4{ font-size:1.05rem; margin-bottom:6px; }
.process-list p{ font-size:14.5px; margin:0; }

/* ---- FAQ accordion ---- */
.faq-item{ border-bottom:1px solid var(--sand); }
.faq-item button{ width:100%; text-align:left; background:none; border:none; padding:22px 4px; display:flex; justify-content:space-between; align-items:center; gap:20px; cursor:pointer; font-family:var(--display); font-size:1.05rem; color: var(--navy); font-weight:600; }
.faq-plus{ width:20px; height:20px; position:relative; flex-shrink:0; }
.faq-plus::before, .faq-plus::after{ content:''; position:absolute; background: var(--gold); transition: transform .3s; }
.faq-plus::before{ width:100%; height:2px; top:9px; left:0; }
.faq-plus::after{ width:2px; height:100%; left:9px; top:0; }
.faq-item.open .faq-plus::after{ transform: rotate(90deg); }
.faq-panel{ max-height:0; overflow:hidden; transition: max-height .35s var(--ease); }
.faq-item.open .faq-panel{ max-height: 600px; }
.faq-panel-inner{ padding: 0 4px 24px; font-size:15px; color: var(--steel); }

/* ---- Reviews ---- */
.review-card{ background:#fff; border:1px solid var(--sand); border-radius:4px; padding: 28px 26px; height:100%; display:flex; flex-direction:column; }
.stars{ color: var(--gold); font-size:15px; letter-spacing:2px; margin-bottom:14px; }
.review-card p{ font-size:14.5px; color: var(--steel); flex:1; }
.review-meta{ display:flex; align-items:center; gap:12px; margin-top:18px; }
.review-avatar{ width:38px; height:38px; border-radius:50%; background: var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--display); font-weight:700; font-size:14px; }
.review-meta strong{ display:block; font-size:13.5px; color: var(--navy); }
.review-meta span{ font-size:12px; color: var(--mist-2); }

/* ---- Trust badge row ---- */
.trustbar{ display:flex; gap:40px; flex-wrap:wrap; align-items:center; justify-content:center; padding: 30px 0; }
.trustbar div{ display:flex; align-items:center; gap:10px; color: var(--steel); font-size:13.5px; font-weight:600; }
.trustbar svg{ color: var(--leaf); flex-shrink:0; }

/* ---- CTA band ---- */
.cta-band{ background: var(--navy); position:relative; overflow:hidden; color:#fff; padding: 90px 0; }
.cta-band::before{ content:''; position:absolute; inset:0; background: var(--gradient-horizon); opacity:.14; }
.cta-band-inner{ position:relative; z-index:1; display:flex; justify-content:space-between; align-items:center; gap:40px; flex-wrap:wrap; }
.cta-band h2{ color:#fff; max-width:560px; }
.cta-band .lede{ color: var(--mist); }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ---- Form ---- */
.lead-form{ background:#fff; border-radius:6px; padding: 38px 34px; box-shadow: 0 40px 80px -40px rgba(10,20,40,.4); }
.lead-form h3{ margin-bottom:6px; }
.lead-form .lede{ font-size:14px; margin-bottom:24px; }
.form-row{ display:grid; gap:8px; margin-bottom:16px; }
.form-row label{ font-size:12.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color: var(--navy); }
.form-row label .req{ color: var(--leaf); }
.form-row input, .form-row select, .form-row textarea{
  font-family: var(--body); font-size:15px; padding: 13px 14px; border:1.5px solid var(--sand); border-radius:3px;
  background: var(--paper); color: var(--navy); transition: border-color .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{ border-color: var(--gold); outline:none; background:#fff; }
.form-grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:480px){ .form-grid-2{ grid-template-columns:1fr; } }
.form-note{ font-size:12px; color: var(--mist-2); margin-top:14px; }
.form-success, .form-error{ display:none; padding:16px; border-radius:4px; font-size:14px; font-weight:600; margin-top:10px; }
.form-success{ background:#e8f3ea; color:#1e6b34; }
.form-error{ background:#fbe9e9; color:#a3262d; }
.form-success.show, .form-error.show{ display:block; }

/* ---- Gallery / before-after ---- */
.gallery-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:14px; }
@media (max-width:900px){ .gallery-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width:620px){ .gallery-grid{ grid-template-columns: repeat(2,1fr); } }
.gallery-item{ position:relative; aspect-ratio:1; overflow:hidden; border-radius:3px; cursor:pointer; }
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition: transform .5s var(--ease); }
.gallery-item:hover img{ transform: scale(1.1); }
.gallery-item figcaption{ position:absolute; inset:auto 0 0 0; padding:12px; font-size:12px; font-weight:700; color:#fff; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent); opacity:0; transition:opacity .3s; }
.gallery-item:hover figcaption{ opacity:1; }

/* ---- Stat band ---- */
.stat-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:30px; text-align:center; }
@media (max-width:760px){ .stat-grid{ grid-template-columns: repeat(2,1fr); } }
.stat-grid .num{ font-family:var(--display); font-size: clamp(2.2rem,4vw,3.2rem); font-weight:700; color: var(--white); }
.stat-grid .lbl{ font-size:12.5px; letter-spacing:.08em; text-transform:uppercase; color: var(--mist); margin-top:8px; }

/* ---- Footer ---- */
.site-footer{ background: var(--ink); color: var(--mist); padding: 80px 0 0; }
.footer-top{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 60px; border-bottom:1px solid rgba(255,255,255,.09); }
@media (max-width: 980px){ .footer-top{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .footer-top{ grid-template-columns: 1fr; } }
.footer-top h5{ color:#fff; font-family:var(--body); font-weight:700; font-size:12px; letter-spacing:.1em; text-transform:uppercase; margin-bottom:18px; }
.footer-top ul{ display:grid; gap:10px; }
.footer-top a{ font-size:14px; color: var(--mist); transition:color .2s; }
.footer-top a:hover{ color:#fff; }
.footer-brand p{ font-size:14px; color: var(--mist); max-width:280px; }
.footer-brand .brand{ margin-bottom:18px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding: 26px 0; flex-wrap:wrap; gap:10px; font-size:12.5px; color: var(--mist-2); }
.footer-bottom a{ color: var(--mist-2); } .footer-bottom a:hover{ color:#fff; }

/* ---- Sticky mobile call/quote bar ---- */
.sticky-bar{ position:fixed; left:0; right:0; bottom:0; z-index: 1000; display:none; }
.sticky-bar .row{ display:grid; grid-template-columns: 1fr 1fr; }
.sticky-bar a{ display:flex; align-items:center; justify-content:center; gap:8px; padding:16px 10px; font-weight:700; font-size:14.5px; color:#fff; }
.sticky-bar .call{ background: var(--navy); }
.sticky-bar .quote{ background: var(--gold); }
@media (max-width: 880px){ .sticky-bar{ display:block; } body{ padding-bottom: 64px; } }

/* Floating desktop quote tab */
.float-tab{ position:fixed; right:0; top:50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; z-index:900; background:var(--gold); color:#fff; padding:18px 11px; font-weight:700; font-size:13px; letter-spacing:.08em; border-radius:4px 0 0 4px; cursor:pointer; }
@media (max-width: 880px){ .float-tab{ display:none; } }

/* ---- Reveal-on-scroll ---- */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform: translateY(0); }
.reveal-stagger > *{ opacity:0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.in > *{ opacity:1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1){ transition-delay:.05s; }
.reveal-stagger.in > *:nth-child(2){ transition-delay:.12s; }
.reveal-stagger.in > *:nth-child(3){ transition-delay:.19s; }
.reveal-stagger.in > *:nth-child(4){ transition-delay:.26s; }
.reveal-stagger.in > *:nth-child(5){ transition-delay:.33s; }
.reveal-stagger.in > *:nth-child(6){ transition-delay:.40s; }

/* ---- misc ---- */
.tag-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.tag{ font-size:12px; font-weight:700; letter-spacing:.04em; padding:6px 12px; border:1px solid var(--sand); border-radius:20px; color: var(--steel); }
.divider{ height:1px; background: var(--sand); margin: 0; }
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.related-strip{ display:flex; gap:14px; flex-wrap:wrap; }
.related-chip{ font-size:13px; font-weight:600; color:var(--navy); border:1px solid var(--sand); padding:9px 16px; border-radius:20px; transition:all .2s; }
.related-chip:hover{ background:var(--navy); color:#fff; border-color:var(--navy); }

.icon-circle{ width:54px; height:54px; border-radius:50%; background:var(--paper-2); display:flex; align-items:center; justify-content:center; color:var(--leaf); margin-bottom:18px;}
.section.dark .icon-circle, .section.navy .icon-circle{ background: rgba(255,255,255,.08); }

.map-frame{ border-radius:6px; overflow:hidden; border:1px solid var(--sand); filter: grayscale(.15) contrast(1.05); }

/* Quick quote embed (service/category/city pages) */
.quick-quote-wrap{ max-width:620px; margin:0 auto; }
.quick-quote-wrap .lead-form{ padding: 34px 30px; }
