/* =====================================================
   El Paso Roofing Co — Main Stylesheet
   Version 1.0 | Mobile-first | Clean & Fast
   ===================================================== */

/* ---- CSS VARIABLES ---- */
:root {
  --primary:       #1c2b4b;
  --primary-dark:  #111c35;
  --primary-light: #2d3f6b;
  --accent:        #d42b2b;
  --accent-hover:  #b82020;
  --orange:        #f07020;
  --white:         #ffffff;
  --off-white:     #f7f8fa;
  --gray-100:      #f3f4f6;
  --gray-200:      #e5e7eb;
  --gray-400:      #9ca3af;
  --gray-600:      #6b7280;
  --gray-800:      #374151;
  --dark:          #111827;
  --text:          #2d3748;
  --text-light:    #6b7280;
  --border:        #e2e8f0;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow:        0 4px 14px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.14);
  --radius:        6px;
  --radius-lg:     12px;
  --transition:    .2s ease;
  --max-width:     1160px;
  --nav-h:         68px;
}

/* ---- RESET ---- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,sans-serif;
  color:var(--text);background:var(--white);
  line-height:1.65;-webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button{cursor:pointer;border:none;background:none;font-family:inherit}
input,textarea,select{font-family:inherit}

/* ---- TYPOGRAPHY ---- */
h1{font-size:clamp(1.75rem,4.5vw,2.85rem);font-weight:800;line-height:1.15}
h2{font-size:clamp(1.4rem,3vw,2.1rem);font-weight:700;line-height:1.25}
h3{font-size:clamp(1.05rem,2.5vw,1.3rem);font-weight:600;line-height:1.35}
h4{font-size:1rem;font-weight:600}
p{margin-bottom:1rem}
p:last-child{margin-bottom:0}

/* ---- LAYOUT ---- */
.container{max-width:var(--max-width);margin:0 auto;padding:0 1.25rem}
.section   {padding:4rem 0}
.section-sm{padding:2.5rem 0}
.section-lg{padding:5.5rem 0}
.section-title   {text-align:center;margin-bottom:.6rem;color:var(--primary)}
.section-subtitle{text-align:center;color:var(--text-light);max-width:620px;margin:0 auto 2.5rem;font-size:1.05rem}
.text-center{text-align:center}
.text-white {color:var(--white)}
.bg-light   {background:var(--off-white)}
.bg-primary {background:var(--primary)}
.bg-dark    {background:var(--dark)}
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}
.mb-0{margin-bottom:0}
.grid-2{display:grid;grid-template-columns:1fr;gap:1.5rem}
.grid-3{display:grid;grid-template-columns:1fr;gap:1.5rem}
.grid-4{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem}

/* ---- BUTTONS ---- */
.btn{
  display:inline-flex;align-items:center;gap:.4rem;
  padding:.75rem 1.6rem;border-radius:var(--radius);
  font-weight:600;font-size:.95rem;transition:background var(--transition),transform var(--transition),box-shadow var(--transition);
  text-align:center;white-space:nowrap;cursor:pointer;border:none;
}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--accent);color:var(--white)}
.btn-primary:hover{background:var(--accent-hover);box-shadow:var(--shadow)}
.btn-secondary{background:transparent;color:var(--white);border:2px solid var(--white)}
.btn-secondary:hover{background:rgba(255,255,255,.15)}
.btn-outline{background:transparent;color:var(--accent);border:2px solid var(--accent)}
.btn-outline:hover{background:var(--accent);color:var(--white)}
.btn-dark{background:var(--primary);color:var(--white)}
.btn-dark:hover{background:var(--primary-dark)}
.btn-orange{background:var(--orange);color:var(--white)}
.btn-orange:hover{background:#d96015}
.btn-lg{padding:1rem 2rem;font-size:1.05rem}
.btn-sm{padding:.45rem .95rem;font-size:.85rem}
.btn-block{width:100%;justify-content:center}
.btn-group{display:flex;gap:.75rem;flex-wrap:wrap}

/* ---- ACCESSIBILITY ---- */
:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{
  position:absolute;top:-50px;left:1rem;
  background:var(--accent);color:var(--white);padding:.5rem 1rem;
  border-radius:0 0 var(--radius) var(--radius);z-index:9999;font-weight:600;
  transition:top .2s;
}
.skip-link:focus{top:0}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.site-header{position:sticky;top:0;z-index:1000;background:var(--white);box-shadow:var(--shadow-sm);overflow:visible}

/* Top bar */
.header-topbar{background:var(--primary);color:var(--white);padding:.35rem 0;font-size:.825rem}
.header-topbar .container{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.4rem}
.topbar-left{display:flex;align-items:center;gap:1.25rem}
.topbar-right{display:flex;align-items:center;gap:1rem}
.header-topbar a{color:rgba(255,255,255,.9);transition:color var(--transition)}
.header-topbar a:hover{color:var(--white)}
.topbar-phone{font-weight:700;font-size:.9rem}
.topbar-divider{color:rgba(255,255,255,.3)}
.header-hours{display:none}

/* Main nav */
.main-nav{background:var(--white);position:relative}
.nav-container{display:flex;align-items:center;justify-content:space-between;height:var(--nav-h)}

/* Logo */
.logo{display:flex;align-items:center;text-decoration:none;line-height:1}
.logo-img{
  display:block;height:42px;width:auto;max-width:210px;
  object-fit:contain;
}
@media(min-width:768px){.logo-img{height:48px;max-width:240px}}
/* Keep old names as no-ops so nothing breaks if referenced */
.logo-mark,.logo-name,.logo-tag{}

/* Desktop nav links */
.nav-links{display:none;align-items:center;gap:.1rem;list-style:none}
.nav-links > li > a{
  display:block;padding:.45rem .7rem;font-size:.875rem;font-weight:500;
  color:var(--text);border-radius:var(--radius);transition:color var(--transition),background var(--transition);
}
.nav-links > li > a:hover,.nav-links > li.active > a{color:var(--accent);background:var(--gray-100)}
.nav-links .btn{padding:.45rem .9rem;font-size:.825rem}

/* Dropdown — JS-controlled via .dd-open class */
.has-dropdown{position:relative}
.has-dropdown > a::after{content:' ▾';font-size:.65rem;vertical-align:.1em}
.dropdown{
  display:none;
  position:absolute;
  /* top:100% = flush against nav bar, no gap, so mouse never leaves .has-dropdown */
  top:100%;
  left:0;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:0 0 var(--radius) var(--radius);
  box-shadow:var(--shadow-lg);
  min-width:215px;
  padding:.35rem 0;
  z-index:2000;
}
.dropdown li a{
  display:block;padding:.5rem 1.1rem;font-size:.875rem;
  color:var(--text);white-space:nowrap;
}
.dropdown li a:hover{background:var(--off-white);color:var(--accent)}
/* Opened by JS only */
.has-dropdown.dd-open .dropdown{display:block}

/* Hamburger */
.menu-toggle{display:flex;flex-direction:column;gap:5px;width:38px;padding:5px;cursor:pointer}
.menu-toggle span{display:block;height:2px;background:var(--primary);border-radius:2px;transition:transform .3s,opacity .3s}
.menu-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle.open span:nth-child(2){opacity:0}
.menu-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Mobile menu — absolute overlay so it doesn't push sticky header or page content */
.mobile-menu{
  display:none;
  position:absolute;top:100%;left:0;right:0;
  background:var(--white);
  border-top:1px solid var(--border);
  box-shadow:var(--shadow-lg);
  z-index:999;
  max-height:calc(100vh - 100px);
  overflow-y:auto;
  padding:.25rem 0 1.25rem;
}
.mobile-menu.open{display:block}
.mobile-menu > ul > li > a,
.mobile-submenu-toggle{
  display:flex;align-items:center;justify-content:space-between;
  width:100%;padding:.65rem 1.25rem;font-weight:600;font-size:.9rem;
  color:var(--text);border-bottom:1px solid var(--gray-100);background:none;
  font-family:inherit;text-align:left;cursor:pointer;
}
.mobile-menu > ul > li > a:hover,
.mobile-submenu-toggle:hover{color:var(--accent);background:var(--off-white)}
.mobile-submenu{background:var(--off-white)}
.mobile-submenu a{display:block;padding:.5rem 2rem;font-size:.855rem;color:var(--text-light);border-bottom:1px solid var(--gray-200)}
.mobile-submenu a:hover{color:var(--accent)}
.mobile-submenu[hidden]{display:none}
.mobile-cta-btns{padding:.9rem 1.25rem 0;display:flex;flex-direction:column;gap:.5rem}

/* ---- STICKY ELEMENTS ---- */
/* Mobile bottom bar */
.sticky-phone-bar{
  position:fixed;bottom:0;left:0;right:0;z-index:998;
  display:flex;background:var(--accent);
}
.sticky-phone-bar a{
  flex:1;display:flex;align-items:center;justify-content:center;gap:.35rem;
  padding:.8rem .5rem;color:var(--white);font-weight:700;font-size:.9rem;
  border-right:1px solid rgba(255,255,255,.2);
}
.sticky-phone-bar a:last-child{border-right:none}
.sticky-phone-bar a:hover{background:var(--accent-hover)}

/* Desktop sticky top CTA bar (shows after scroll) */
.sticky-cta-bar{
  display:none;position:fixed;top:0;left:0;right:0;z-index:1100;
  background:var(--primary-dark);color:var(--white);
  padding:.55rem 1rem;
  transform:translateY(-100%);transition:transform .3s ease;
}
.sticky-cta-bar.visible{transform:translateY(0)}
.sticky-cta-bar .container{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.sticky-cta-bar .cta-left{display:flex;align-items:center;gap:.75rem;font-size:.85rem}
.sticky-cta-bar .cta-right{display:flex;gap:.6rem;flex-shrink:0}

/* =====================================================
   HERO
   ===================================================== */
.hero{
  background:linear-gradient(90deg,rgba(15,25,48,.93) 0%,rgba(17,28,53,.78) 45%,rgba(28,43,75,.42) 100%),
             url('images/8.jpg') center 35%/cover no-repeat;
  color:var(--white);padding:3.5rem 0 4rem;position:relative;overflow:hidden;
}
.hero .container{position:relative}
.hero-inner{max-width:680px}
.hero-badge{
  display:inline-flex;align-items:center;gap:.4rem;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);
  border-radius:100px;padding:.28rem .85rem;
  font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;
  margin-bottom:1.1rem;color:rgba(255,255,255,.9);
}
.hero h1{color:var(--white);margin-bottom:.9rem}
.hero-sub{font-size:1.08rem;color:rgba(255,255,255,.85);margin-bottom:1.85rem;max-width:540px}
.hero-btns{display:flex;gap:.7rem;flex-wrap:wrap;margin-bottom:2.25rem}
.hero-trust{display:flex;gap:1.1rem;flex-wrap:wrap}
.trust-chip{
  display:flex;align-items:center;gap:.3rem;
  font-size:.78rem;color:rgba(255,255,255,.8);font-weight:500;
}

/* =====================================================
   TRUST BADGE BAR
   ===================================================== */
.trust-bar{background:var(--primary);padding:.9rem 0}
.trust-bar .container{display:flex;align-items:center;justify-content:center;gap:1.75rem;flex-wrap:wrap}
.trust-badge{display:flex;align-items:center;gap:.55rem;color:var(--white);font-size:.82rem;font-weight:500}
.trust-badge .badge-icon{
  width:22px;height:22px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  color:var(--white);
}
.trust-badge .badge-icon svg{width:16px;height:16px;stroke:var(--white)}
.trust-badge strong{font-weight:700}

/* =====================================================
   STATS
   ===================================================== */
.stats-bar{background:var(--off-white);padding:2rem 0}
.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;text-align:center}
.stat-number{font-size:2rem;font-weight:800;color:var(--primary);display:block;line-height:1}
.stat-label{font-size:.75rem;color:var(--text-light);text-transform:uppercase;letter-spacing:.06em;margin-top:.2rem}

/* =====================================================
   SERVICE CARDS
   ===================================================== */
.services-grid{display:grid;grid-template-columns:1fr;gap:1.25rem}
.service-card{
  background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:1.5rem;transition:box-shadow var(--transition),transform var(--transition);
  display:flex;flex-direction:column;
}
.service-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.service-icon{
  display:flex;align-items:center;justify-content:flex-start;
  margin-bottom:.85rem;
  color:var(--primary);
  flex-shrink:0;
}
.service-icon svg{width:30px;height:30px;stroke:var(--primary);stroke-width:1.5}
.service-card h3{color:var(--primary);margin-bottom:.4rem;font-size:1.02rem}
.service-card p{color:var(--text-light);font-size:.875rem;flex:1;margin-bottom:.9rem}
.link-arrow{color:var(--accent);font-weight:600;font-size:.855rem;display:inline-flex;align-items:center;gap:.25rem}
.link-arrow:hover{gap:.5rem}

/* =====================================================
   FEATURES / WHY CHOOSE US
   ===================================================== */
.feature-list{display:grid;grid-template-columns:1fr;gap:1.25rem}
.feature-item{display:flex;gap:.9rem;align-items:flex-start}
.feature-icon{
  flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  color:var(--primary);padding-top:.15rem;
}
.feature-icon svg{width:26px;height:26px;stroke:var(--primary);stroke-width:1.5}
.feature-item h4{color:var(--primary);margin-bottom:.15rem}
.feature-item p{color:var(--text-light);font-size:.875rem;margin:0}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-grid{display:grid;grid-template-columns:1fr;gap:1.25rem}
.testimonial-card{
  background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:1.5rem;box-shadow:var(--shadow-sm);
}
.stars{color:#f59e0b;font-size:.95rem;margin-bottom:.65rem;letter-spacing:.08em}
.testimonial-text{font-style:italic;color:var(--text);margin-bottom:.9rem;font-size:.9rem;line-height:1.65}
.reviewer-name{font-weight:700;color:var(--primary);font-size:.855rem}
.reviewer-loc{font-size:.78rem;color:var(--text-light)}
/* scrolling reviews row */
.reviews-viewport{overflow:hidden;position:relative;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);}
.reviews-track{display:flex;gap:1.25rem;width:max-content;
  animation:reviews-scroll 46s linear infinite;}
.reviews-viewport:hover .reviews-track{animation-play-state:paused;}
.reviews-track .testimonial-card{flex:0 0 330px;width:330px;}
@keyframes reviews-scroll{from{transform:translateX(0)}to{transform:translateX(calc(-50% - .625rem))}}
@media (prefers-reduced-motion:reduce){.reviews-track{animation:none;}.reviews-viewport{overflow-x:auto;}}

/* =====================================================
   BLOG CARDS
   ===================================================== */
.blog-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}
.blog-card{
  background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);
  overflow:hidden;display:flex;flex-direction:column;
  transition:box-shadow var(--transition);
}
.blog-card:hover{box-shadow:var(--shadow)}
.blog-img{
  background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);
  height:155px;display:flex;align-items:center;justify-content:center;
  position:relative;overflow:hidden;
}
.blog-img-label{
  font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.14em;
  color:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.2);
  padding:.3rem .8rem;border-radius:100px;
}
.blog-body{padding:1.2rem;flex:1;display:flex;flex-direction:column}
.blog-cat{font-size:.72rem;font-weight:700;color:var(--accent);text-transform:uppercase;letter-spacing:.08em;margin-bottom:.35rem}
.blog-card h3{font-size:.95rem;color:var(--primary);margin-bottom:.45rem;line-height:1.4}
.blog-excerpt{font-size:.855rem;color:var(--text-light);flex:1;margin-bottom:.9rem}

/* =====================================================
   FAQ ACCORDION
   ===================================================== */
.faq-list{max-width:800px;margin:0 auto}
.faq-item{border-bottom:1px solid var(--border)}
.faq-question{
  width:100%;display:flex;align-items:center;justify-content:space-between;
  padding:1rem 0;text-align:left;font-weight:600;color:var(--primary);
  background:none;border:none;cursor:pointer;font-family:inherit;font-size:.925rem;gap:1rem;
}
.faq-question:hover{color:var(--accent)}
.faq-toggle{flex-shrink:0;font-size:1.2rem;transition:transform .3s;color:var(--accent);line-height:1}
.faq-item.open .faq-toggle{transform:rotate(45deg)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .4s ease,padding .3s;color:var(--text-light);font-size:.875rem;line-height:1.7}
.faq-item.open .faq-answer{max-height:400px;padding-bottom:1rem}

/* =====================================================
   FORMS
   ===================================================== */
.form-group{margin-bottom:1rem}
.form-group label{display:block;font-size:.845rem;font-weight:600;color:var(--text);margin-bottom:.3rem}
.form-group input,
.form-group textarea,
.form-group select{
  width:100%;padding:.68rem .9rem;border:1.5px solid var(--border);
  border-radius:var(--radius);font-size:.9rem;color:var(--text);
  background:var(--white);transition:border-color var(--transition);-webkit-appearance:none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(28,43,75,.08)}
.form-group textarea{resize:vertical;min-height:105px}
.form-row{display:grid;grid-template-columns:1fr;gap:1rem}
.form-consent{
  font-size:.77rem;color:var(--text-light);background:var(--off-white);
  border-radius:var(--radius);padding:.7rem .9rem;line-height:1.55;
  margin-bottom:.9rem;border:1px solid var(--border);
}
.form-consent a{color:var(--accent);text-decoration:underline}
.form-check{display:flex;align-items:flex-start;gap:.45rem;margin-bottom:.9rem}
.form-check input[type="checkbox"]{margin-top:3px;flex-shrink:0;width:auto;cursor:pointer}
.form-check label{font-size:.8rem;color:var(--text-light);cursor:pointer}
.form-success{text-align:center;padding:2rem 1rem}
.form-success .success-icon{font-size:2.5rem;margin-bottom:.75rem}
.form-success h3{color:var(--primary);margin-bottom:.5rem}
.form-success p{color:var(--text-light);font-size:.9rem}

/* =====================================================
   CTA SECTIONS
   ===================================================== */
.cta-section{background:var(--accent);color:var(--white);padding:3rem 0;text-align:center}
.cta-section h2{color:var(--white);margin-bottom:.7rem}
.cta-section p{color:rgba(255,255,255,.88);margin-bottom:1.75rem;max-width:560px;margin-left:auto;margin-right:auto}
.cta-box{background:var(--primary);color:var(--white);border-radius:var(--radius-lg);padding:2.5rem 1.75rem;text-align:center}
.cta-box h2,.cta-box h3{color:var(--white);margin-bottom:.65rem}
.cta-box p{color:rgba(255,255,255,.85);margin-bottom:1.5rem}
.cta-strip{background:var(--primary);color:var(--white);padding:1.75rem 0}
.cta-strip .container{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;flex-wrap:wrap}
.cta-strip p{margin:0;font-size:1.05rem;font-weight:600}
.cta-strip .btn-group{flex-shrink:0}

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb-wrap{background:var(--off-white);border-bottom:1px solid var(--border);padding:.55rem 0}
.breadcrumb-list{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap;font-size:.8rem;color:var(--text-light);list-style:none}
.breadcrumb-list li::after{content:'›';margin-left:.35rem}
.breadcrumb-list li:last-child::after{display:none}
.breadcrumb-list a{color:var(--text-light)}
.breadcrumb-list a:hover{color:var(--accent)}
.breadcrumb-list li:last-child{color:var(--text);font-weight:500}

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */
.page-hero{
  background:linear-gradient(140deg,var(--primary-dark),var(--primary));
  color:var(--white);padding:2.75rem 0;
}
.page-hero h1{color:var(--white);margin-bottom:.45rem}
.page-hero p{color:rgba(255,255,255,.82);max-width:580px;font-size:1.02rem}

/* =====================================================
   CONTENT LAYOUT HELPERS
   ===================================================== */
.content-split{display:grid;grid-template-columns:1fr;gap:2rem;align-items:start}
/* Real photo — replaces .img-placeholder */
.site-img{
  width:100%;height:280px;object-fit:cover;
  border-radius:var(--radius-lg);display:block;
}
@media(min-width:768px){.site-img{height:360px}}
/* Keep placeholder as fallback */
.img-placeholder{
  background:linear-gradient(135deg,var(--primary),var(--primary-light));
  border-radius:var(--radius-lg);height:255px;
  display:flex;align-items:center;justify-content:center;
  color:rgba(255,255,255,.25);font-size:3rem;
}
.highlight-box{
  background:var(--off-white);border-left:4px solid var(--accent);
  border-radius:0 var(--radius) var(--radius) 0;
  padding:1.1rem 1.4rem;margin:1.5rem 0;
}
.highlight-box p{margin:0;font-size:.92rem}
.check-list{list-style:none;display:flex;flex-direction:column;gap:.45rem}
.check-list li{display:flex;gap:.45rem;align-items:flex-start;font-size:.9rem}
.check-list li::before{content:'✓';color:var(--accent);font-weight:700;flex-shrink:0;margin-top:.05em}
.warn-list li::before{content:'⚠';color:var(--orange)}

/* =====================================================
   INSURANCE / PROCESS STEPS
   ===================================================== */
.steps-grid{display:grid;grid-template-columns:1fr;gap:1.25rem}
.step-card{
  background:var(--white);border-radius:var(--radius-lg);padding:1.2rem 1.4rem;
  display:flex;gap:.9rem;align-items:flex-start;box-shadow:var(--shadow-sm);
  border:1px solid var(--border);
}
.step-num{
  flex-shrink:0;width:34px;height:34px;background:var(--accent);color:var(--white);
  border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:.85rem;
}
.step-card h4{color:var(--primary);margin-bottom:.15rem;font-size:.95rem}
.step-card p{color:var(--text-light);font-size:.855rem;margin:0}

/* =====================================================
   PROMOTIONS
   ===================================================== */
.promos-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}
.promo-card{
  background:var(--white);border:2px solid var(--border);border-radius:var(--radius-lg);
  padding:2rem;text-align:center;transition:border-color var(--transition),box-shadow var(--transition);
}
.promo-card:hover{border-color:var(--accent);box-shadow:var(--shadow)}
.promo-badge{
  display:inline-block;background:var(--accent);color:var(--white);
  padding:.25rem .75rem;border-radius:100px;font-size:.72rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.08em;margin-bottom:.65rem;
}
.promo-value{font-size:2.1rem;font-weight:800;color:var(--primary);margin:.4rem 0;display:block}
.promo-card h3{color:var(--primary);margin-bottom:.45rem;font-size:1.1rem}
.promo-card p{color:var(--text-light);font-size:.875rem;margin-bottom:1.2rem}
.promo-fine{font-size:.72rem;color:var(--gray-400);margin-top:.5rem}

/* =====================================================
   FINANCING
   ===================================================== */
.financing-steps{display:grid;grid-template-columns:1fr;gap:1.25rem}
.fin-step{
  background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:1.4rem;display:flex;gap:.9rem;align-items:flex-start;
}
.fin-step-num{
  flex-shrink:0;width:34px;height:34px;background:var(--primary);color:var(--white);
  border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:.85rem;
}
.fin-step h4{color:var(--primary);margin-bottom:.2rem}
.fin-step p{color:var(--text-light);font-size:.875rem;margin:0}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-info-list{display:flex;flex-direction:column;gap:1.25rem}
.contact-info-item{display:flex;gap:.75rem;align-items:flex-start}
.contact-icon{
  flex-shrink:0;width:38px;height:38px;
  background:rgba(212,43,43,.08);border-radius:var(--radius);
  display:flex;align-items:center;justify-content:center;
  color:var(--accent);margin-top:.1rem;
}
.contact-icon svg{width:20px;height:20px;stroke:var(--accent)}
.contact-info-item h4{color:var(--primary);font-size:.875rem;margin-bottom:.1rem}
.contact-info-item p,.contact-info-item a{font-size:.875rem;color:var(--text-light)}
.contact-info-item a:hover{color:var(--accent)}
.map-placeholder{
  background:var(--light);border-radius:var(--radius-lg);height:230px;
  display:flex;align-items:center;justify-content:center;
  color:var(--text-light);font-size:.875rem;border:1px solid var(--border);
  text-align:center;padding:1rem;
}

/* =====================================================
   LEGAL PAGES
   ===================================================== */
.legal-content{max-width:820px;margin:0 auto}
.legal-updated{font-size:.8rem;color:var(--text-light);margin-bottom:1.75rem;padding-bottom:1rem;border-bottom:1px solid var(--border)}
.legal-content h2{color:var(--primary);margin:2rem 0 .65rem;font-size:1.2rem;padding-top:.5rem;border-top:1px solid var(--border)}
.legal-content h2:first-of-type{border-top:none;margin-top:0}
.legal-content h3{color:var(--primary-light);margin:1.25rem 0 .4rem;font-size:1rem}
.legal-content p,.legal-content li{font-size:.9rem;color:var(--text-light);line-height:1.7;margin-bottom:.65rem}
.legal-content ul{padding-left:1.25rem;list-style:disc}
.legal-content ul li{margin-bottom:.3rem}
.legal-content a{color:var(--accent);text-decoration:underline}
.legal-highlight{background:var(--off-white);border-radius:var(--radius);padding:1rem 1.25rem;margin:1rem 0;font-size:.875rem !important}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.team-values{display:grid;grid-template-columns:1fr;gap:1.25rem}
.value-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.4rem;text-align:center}
.value-card .icon{
  width:52px;height:52px;
  background:rgba(212,43,43,.08);border-radius:var(--radius);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto .75rem;color:var(--accent);
}
.value-card .icon svg{width:26px;height:26px;stroke:var(--accent)}
.value-card h4{color:var(--primary);margin-bottom:.35rem}
.value-card p{color:var(--text-light);font-size:.875rem;margin:0}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer{background:var(--primary-dark);color:rgba(255,255,255,.78);padding:3rem 0 0}
.footer-grid{display:grid;grid-template-columns:1fr;gap:2rem;padding-bottom:2rem}
.footer-col h4{color:var(--white);font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:.9rem}
.footer-col ul{display:flex;flex-direction:column;gap:.3rem}
.footer-col ul a{font-size:.855rem;color:rgba(255,255,255,.68)}
.footer-col ul a:hover{color:var(--white)}
.footer-brand{font-size:1.15rem;font-weight:800;color:var(--white);margin-bottom:.5rem}
.footer-nap p{font-size:.855rem;line-height:1.75}
.footer-nap a{color:rgba(255,255,255,.78)}
.footer-nap a:hover{color:var(--white)}
.footer-social{display:flex;gap:.6rem;margin-top:.9rem}
.footer-social a{
  width:38px;height:38px;background:rgba(255,255,255,.12);border-radius:var(--radius);
  display:flex;align-items:center;justify-content:center;color:var(--white);
  transition:background var(--transition),transform var(--transition);
  flex-shrink:0;
}
.footer-social a svg{display:block;flex-shrink:0}
.footer-social a:hover{background:var(--accent);transform:translateY(-2px)}
.footer-bottom{background:rgba(0,0,0,.2);padding:.9rem 0;font-size:.775rem;color:rgba(255,255,255,.45)}
.footer-bottom .container{display:flex;flex-direction:column;gap:.4rem;align-items:center;text-align:center}
.footer-legal-links{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center}
.footer-legal-links a{color:rgba(255,255,255,.55)}
.footer-legal-links a:hover{color:var(--white)}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* 540px+ */
@media(min-width:540px){
  .grid-2{grid-template-columns:repeat(2,1fr)}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .testimonials-grid{grid-template-columns:repeat(2,1fr)}
  .blog-grid{grid-template-columns:repeat(2,1fr)}
  .form-row{grid-template-columns:repeat(2,1fr)}
  .promos-grid{grid-template-columns:repeat(2,1fr)}
  .financing-steps{grid-template-columns:repeat(2,1fr)}
  .steps-grid{grid-template-columns:repeat(2,1fr)}
  .team-values{grid-template-columns:repeat(2,1fr)}
}

/* 768px+ */
@media(min-width:768px){
  .stats-grid{grid-template-columns:repeat(4,1fr)}
  .feature-list{grid-template-columns:repeat(2,1fr)}
  .header-hours{display:block}
  .content-split{grid-template-columns:1fr 1fr;gap:3rem}
  .img-placeholder{height:320px}
  .promos-grid{grid-template-columns:repeat(3,1fr)}
  .steps-grid{grid-template-columns:repeat(2,1fr)}
}

/* 1024px+ */
@media(min-width:1024px){
  .nav-links{display:flex}
  .menu-toggle,.mobile-menu{display:none !important}
  .sticky-phone-bar{display:none}
  .sticky-cta-bar{display:block}
  .grid-3{grid-template-columns:repeat(3,1fr)}
  .services-grid{grid-template-columns:repeat(3,1fr)}
  .grid-4{grid-template-columns:repeat(4,1fr)}
  .testimonials-grid{grid-template-columns:repeat(3,1fr)}
  .blog-grid{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:2fr 1fr 1fr 1fr}
  .steps-grid{grid-template-columns:repeat(4,1fr)}
  .footer-bottom .container{flex-direction:row;justify-content:space-between;text-align:left}
  body{padding-bottom:0}
}

/* Mobile bottom-bar padding */
@media(max-width:1023px){body{padding-bottom:54px}}

/* Large desktop */
@media(min-width:1280px){
  .hero{padding:5rem 0 5.5rem}
  .hero-inner{max-width:760px}
}

/* ===== Services accordion ===== */
.svc-accordion{max-width:780px;margin:0 auto;display:flex;flex-direction:column;gap:.6rem}
.svc-acc{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;transition:box-shadow var(--transition)}
.svc-acc[open]{box-shadow:var(--shadow-sm)}
.svc-summary{display:flex;align-items:center;gap:.85rem;padding:1rem 1.15rem;cursor:pointer;list-style:none;font-weight:700;color:var(--primary);user-select:none}
.svc-summary::-webkit-details-marker{display:none}
.svc-summary::marker{content:""}
.svc-ic{display:flex;align-items:center;color:var(--primary);flex-shrink:0}
.svc-ic svg{width:24px;height:24px;stroke:var(--primary);stroke-width:1.5}
.svc-name{flex:1;font-size:1rem}
.svc-chev{color:var(--text-light);transition:transform .25s ease;flex-shrink:0}
.svc-acc[open] .svc-chev{transform:rotate(180deg)}
.svc-summary:hover{background:var(--gray-100)}
.svc-panel{padding:0 1.15rem 1.15rem 3.45rem}
.svc-panel p{color:var(--text-light);font-size:.9rem;margin-bottom:.6rem;line-height:1.6}

/* ===== Real blog images ===== */
.blog-img img{width:100%;height:100%;object-fit:cover;display:block}

/* ===== Mobile polish ===== */
@media(max-width:560px){
  .reviews-track .testimonial-card{flex:0 0 80vw;width:80vw}
  .svc-panel{padding-left:1.15rem}
}

/* ===== Contact option cards ===== */
#opt-form:hover{background:var(--off-white) !important}
#opt-cal:hover{background:var(--primary-dark) !important}
@media(max-width:500px){
  #opt-form,#opt-cal{padding:.9rem .8rem}
}

/* ===== Hero split layout with premium form card ===== */
@media(min-width:900px){
  .hero-split{display:grid;grid-template-columns:1fr 430px;gap:2.5rem;align-items:center}
  .hero-inner.hero-split{max-width:none}
}
/* Mobile: form stacks FIRST (above hero text) */
@media(max-width:899px){
  .hero-split{display:flex;flex-direction:column}
  .hero-form-card{order:-1;margin-top:0;margin-bottom:1.25rem}
  .hero-content{order:1}
}
.hero-form-card{
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,.28),0 4px 16px rgba(0,0,0,.12);
  margin-top:2rem;
}
@media(min-width:900px){.hero-form-card{margin-top:0}}

/* Form card — dark header */
.hfc-header{
  background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%);
  padding:1.2rem 1.6rem 1.1rem;
}
.hfc-badge{
  display:inline-flex;align-items:center;gap:.3rem;
  background:rgba(212,43,43,.9);color:#fff;
  border-radius:100px;padding:.18rem .7rem;
  font-size:.67rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em;
  margin-bottom:.5rem;
}
.hfc-header h3{color:#fff;font-size:1.18rem;margin-bottom:.2rem;line-height:1.25}
.hfc-header p{color:rgba(255,255,255,.72);font-size:.78rem;margin:0}

/* Form card — body */
.hfc-body{padding:1.4rem 1.6rem 1.5rem}
.hero-form .form-group{margin-bottom:.7rem}
.hero-form .form-group label{
  font-size:.72rem;font-weight:700;color:var(--gray-800);
  text-transform:uppercase;letter-spacing:.05em;
  margin-bottom:.3rem;display:block;
}
.hero-form .form-group input,
.hero-form .form-group select,
.hero-form .form-group textarea{
  font-size:.9rem;padding:.65rem .9rem;
  border:1.5px solid var(--border);border-radius:var(--radius);
  width:100%;background:#fff;color:var(--text);
  transition:border-color var(--transition);
  font-family:inherit;
}
.hero-form .form-group input:focus,
.hero-form .form-group select:focus,
.hero-form .form-group textarea:focus{border-color:var(--primary);outline:none}
.hero-form .form-check{margin-bottom:.8rem}
.hero-form .form-check label{font-size:.71rem;color:var(--text-light);line-height:1.45}

/* Trust strip below submit */
.hfc-trust{
  display:flex;justify-content:center;gap:1rem;flex-wrap:wrap;
  margin-top:.75rem;padding-top:.75rem;
  border-top:1px solid var(--border);
}
.hfc-trust span{font-size:.7rem;color:var(--text-light);font-weight:600;display:flex;align-items:center;gap:.25rem}
.hfc-trust span::before{content:'✓';color:var(--accent);font-weight:800}

.hero-form-or{
  text-align:center;color:var(--gray-400);font-size:.73rem;
  margin:.85rem 0 .6rem;display:flex;align-items:center;gap:.5rem;
}
.hero-form-or::before,.hero-form-or::after{content:'';flex:1;height:1px;background:var(--border)}
.hero-form-cal-btn{
  display:flex;align-items:center;justify-content:center;gap:.45rem;
  width:100%;padding:.6rem;
  background:none;border:1.5px solid var(--primary);
  border-radius:var(--radius);color:var(--primary);
  font-weight:600;font-size:.84rem;cursor:pointer;
  transition:background var(--transition),color var(--transition);
  font-family:inherit;
}
.hero-form-cal-btn:hover{background:var(--primary);color:#fff}

/* ===== Service accordion Book button ===== */
.svc-panel-footer{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-top:.25rem}
.svc-book-btn{
  display:inline-flex;align-items:center;gap:.3rem;
  padding:.3rem .75rem;border-radius:20px;
  border:1.5px solid var(--primary);
  background:none;color:var(--primary);
  font-size:.77rem;font-weight:700;cursor:pointer;
  transition:background var(--transition),color var(--transition);
  font-family:inherit;white-space:nowrap;
}
.svc-book-btn:hover{background:var(--primary);color:#fff}

/* ============================================================
   COMPREHENSIVE RESPONSIVE + PERFORMANCE ADDITIONS
   ============================================================ */

/* ── Prevent horizontal scroll globally ── */
html,body{overflow-x:hidden}

/* ── Tablet (768px – 1023px) ── */
@media(min-width:768px) and (max-width:1023px){
  /* Hero: single column, narrower */
  .hero-split{display:flex;flex-direction:column;gap:1.5rem}
  .hero-form-card{order:-1;max-width:600px;width:100%;margin:0 auto}
  .hero-content{order:1;text-align:center}
  .hero-btns{justify-content:center}
  .hero-trust{justify-content:center}

  /* Navigation */
  .nav-links{gap:.6rem}
  .nav-links li a{font-size:.82rem}

  /* Grid cols: 2 on tablet */
  .blog-grid{grid-template-columns:repeat(2,1fr)}
  .steps-grid{grid-template-columns:repeat(2,1fr)}
  .content-split{grid-template-columns:1fr;gap:2rem}

  /* Stats bar */
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:1rem}

  /* Footer */
  .footer-grid{grid-template-columns:repeat(2,1fr);gap:1.5rem}
}

/* ── Small mobile (max 480px) ── */
@media(max-width:480px){
  /* Hero typography */
  .hero h1,.hero-content h1{font-size:1.7rem;line-height:1.2}
  .hero-sub{font-size:.95rem}

  /* Hero form card: full width, no extra margin */
  .hero-form-card{border-radius:10px;margin-left:0;margin-right:0}
  .hfc-body{padding:1rem 1.1rem 1.25rem}
  .hero-form .form-row{flex-direction:column;gap:0}
  .hfc-header{padding:1rem 1.1rem .85rem}
  .hfc-header h3{font-size:1.05rem}

  /* Section padding tighter on small phones */
  .section{padding:2.5rem 0}
  .page-hero{padding:2rem 0 1.5rem}

  /* Blog grid: single column */
  .blog-grid{grid-template-columns:1fr}

  /* Steps grid: single column */
  .steps-grid{grid-template-columns:1fr}

  /* Stats: 2 cols on small */
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:.75rem}
  .stat-number{font-size:2.2rem}

  /* Features list */
  .feature-item{gap:.75rem}
  .feature-icon{width:38px;height:38px;min-width:38px}

  /* Footer */
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom .container{flex-direction:column;gap:.5rem;text-align:center}
  .footer-legal-links{justify-content:center;flex-wrap:wrap}

  /* Sticky CTA bar */
  .sticky-cta-bar .cta-left{display:none}
  .sticky-cta-bar .cta-right{width:100%;justify-content:center;gap:.5rem}
  .sticky-cta-bar .btn{font-size:.78rem;padding:.45rem .85rem}

  /* Trust bar */
  .trust-bar .container{grid-template-columns:repeat(2,1fr)}
  .trust-badge span{font-size:.75rem}

  /* Breadcrumb */
  .breadcrumb-list{font-size:.75rem}

  /* Contact split */
  .content-split{grid-template-columns:1fr}

  /* Review cards */
  .testimonial-card{padding:1.25rem}
  .testimonial-text{font-size:.875rem}

  /* Table overflow protection */
  table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}

  /* Form row: always single col on phones */
  .form-row{flex-direction:column}

  /* CTA section */
  .cta-section .btn-group{flex-direction:column;align-items:center}
  .cta-section .btn{width:100%;max-width:320px;justify-content:center}
}

/* ── Min touch target size for interactive elements ── */
@media(max-width:767px){
  button,.btn,input,select,textarea,[role="button"]{
    min-height:44px;
  }
  .btn{min-height:48px;display:inline-flex;align-items:center;justify-content:center}
  .topbar-phone,.topbar-right a{min-height:44px;display:flex;align-items:center}

  /* Blog filter buttons on mobile: smaller but still touchable */
  .blog-filter-btn{min-height:40px;padding:.4rem .85rem}

  /* Nav dropdown: full width on mobile */
  .dropdown{min-width:100%}

  /* Hero form row: single column always on mobile */
  .hero-form .form-row{flex-direction:column;gap:0}
}

/* ── Tablet: 769px – 1024px hero fix ── */
@media(min-width:769px) and (max-width:899px){
  .hero-split{flex-direction:column;align-items:center}
  .hero-form-card{max-width:560px;width:100%}
}

/* ── Large desktop (1440px+) ── */
@media(min-width:1440px){
  .container{max-width:1320px}
  .hero h1,.hero-content h1{font-size:3.2rem}
}

/* ── Print styles ── */
@media print{
  .site-header,.sticky-cta-bar,.sticky-phone-bar,.mobile-menu,.cta-section,footer{display:none}
  body{font-size:12pt;color:#000}
  a{color:#000;text-decoration:none}
  .hero{background:none;color:#000}
}

/* ── Focus visible: accessibility ── */
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:3px}
a:focus-visible,button:focus-visible{outline:3px solid var(--accent)}

/* ── Blog card image height responsive ── */
.blog-img{height:200px;overflow:hidden;background:var(--off-white);position:relative}
.blog-img img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.blog-card:hover .blog-img img{transform:scale(1.04)}
@media(max-width:480px){.blog-img{height:180px}}

/* ── Section title responsive ── */
.section-title{font-size:clamp(1.5rem,4vw,2.2rem)}

/* ── Container padding on very small screens ── */
@media(max-width:360px){
  .container{padding-left:.75rem;padding-right:.75rem}
  .hfc-body{padding:.85rem .9rem 1rem}
}

/* ============================================================
   HOME SERVICES CARD GRID
   ============================================================ */
.home-svc-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.1rem;
  margin-top:2rem;
}
.home-svc-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:1.4rem 1.25rem 1.1rem;
  display:flex;
  flex-direction:column;
  gap:.55rem;
  transition:box-shadow var(--transition),transform var(--transition);
}
.home-svc-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.home-svc-icon{
  width:48px;height:48px;border-radius:10px;
  background:rgba(212,43,43,.08);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;margin-bottom:.2rem;
}
.home-svc-icon svg{stroke:var(--accent)}
.home-svc-card h3{font-size:.97rem;color:var(--primary);font-weight:700;margin:0}
.home-svc-card p{font-size:.84rem;color:var(--text-light);line-height:1.55;margin:0;flex:1}
.home-svc-actions{
  display:flex;align-items:center;justify-content:space-between;
  gap:.5rem;margin-top:.4rem;padding-top:.75rem;
  border-top:1px solid var(--border);
}
.home-svc-actions .link-arrow{font-size:.82rem;font-weight:600;white-space:nowrap}
.home-svc-actions .svc-book-btn{font-size:.78rem;padding:.3rem .7rem}
@media(max-width:1023px){
  .home-svc-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:540px){
  .home-svc-grid{grid-template-columns:repeat(2,1fr);gap:.75rem}
  .home-svc-card{padding:1rem .9rem .9rem}
  .home-svc-icon{width:40px;height:40px}
  .home-svc-card h3{font-size:.9rem}
  .home-svc-card p{display:none}
  .home-svc-actions{padding-top:.5rem}
}
@media(max-width:360px){
  .home-svc-grid{grid-template-columns:1fr}
}

/* ============================================================
   PHOTO SHOWCASE GRID
   ============================================================ */
.showcase-section{background:var(--white)}

.showcase-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  grid-auto-rows:220px;
  gap:10px;
  margin-top:2rem;
}

.showcase-item{
  position:relative;
  overflow:hidden;
  border-radius:10px;
  background:var(--off-white);
}

.showcase-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .4s ease;
}

.showcase-item:hover img{transform:scale(1.06)}

.showcase-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(20,30,48,.72) 0%,transparent 55%);
  display:flex;
  align-items:flex-end;
  padding:.85rem 1rem;
  opacity:0;
  transition:opacity .3s ease;
}

.showcase-item:hover .showcase-overlay{opacity:1}

.showcase-overlay span{
  color:#fff;
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}

/* Tall item spans 2 rows */
.showcase-item--tall{grid-row:span 2}

/* Wide item spans 2 cols */
.showcase-item--wide{grid-column:span 2}

/* Tablet: 2 columns */
@media(max-width:1023px){
  .showcase-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:200px}
  .showcase-item--wide{grid-column:span 2}
  .showcase-item--tall{grid-row:span 2}
}

/* Mobile: 2 tight columns, no span tricks */
@media(max-width:600px){
  .showcase-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:160px;gap:6px}
  .showcase-item--tall,.showcase-item--wide{grid-column:span 1;grid-row:span 1}
}

/* Very small: single column */
@media(max-width:380px){
  .showcase-grid{grid-template-columns:1fr;grid-auto-rows:200px}
}
