/* ============================================================
   EMERALD GARAGE DOOR SERVICES — TITUSVILLE, FL
   assets/css/style.css
   ============================================================ */

/* ── Variables ── */
:root {
  --green-dark:  #1b5e20;
  --green-main:  #2e7d32;
  --green-light: #4caf50;
  --green-pale:  #e8f5e9;
  --green-xpale: #f0fdf4;
  --accent:      #01470f;
  --accent-dark: #0a2d0a;
  --white:       #ffffff;
  --off-white:   #fafafa;
  --gray:        #9e9e9e;
  --text-dark:   #1a1a2e;
  --text-mid:    #374151;
  --text-light:  #6b7280;
  --border:      #e5e7eb;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.06);
  --shadow-md:   0 8px 24px rgba(0,0,0,.10);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.14);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --transition:  all .3s cubic-bezier(.4,0,.2,1);
  --font-body:   'Inter', system-ui, sans-serif;
  --font-head:   'Montserrat', 'Inter', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text-mid); background: var(--white); overflow-x: hidden; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--green-light); outline-offset: 3px; border-radius: 4px; }
button:focus-visible { outline: 3px solid var(--green-light); outline-offset: 3px; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); color: var(--text-dark); line-height: 1.2; }

/* ── Utilities ── */
.section-pad { padding: 90px 0; }
.text-accent  { color: var(--green-light); }
.section-header { max-width: 680px; margin: 0 auto 20px; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
.section-sub { color: var(--text-light); font-size: 1rem; margin-top: .75rem; }
.section-sub-left { color: var(--text-light); font-size: 1rem; margin-top: .75rem; }
.section-tag {
  display: inline-block;
  background: var(--green-pale); color: var(--green-dark);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 50px; margin-bottom: .75rem;
}

/* ============================================================  TOPBAR  */
.topbar { background: var(--green-dark); color: #a5d6a7; font-size: .8rem; font-weight: 500; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-left i { color: var(--green-light); }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-phone { color: #fff; font-weight: 700; display: flex; align-items: center; gap: 6px; transition: var(--transition); }
.topbar-phone:hover { color: var(--accent); }
.topbar-btn { background: var(--accent); color: #fff; font-weight: 700; font-size: .75rem; padding: 5px 14px; border-radius: 50px; transition: var(--transition); }
.topbar-btn:hover { background: var(--accent-dark); }

/* ============================================================  NAVBAR  */
#mainNav {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  transition: var(--transition);
  z-index: 1000;
}
#mainNav.scrolled { padding: 7px 0; box-shadow: var(--shadow-md); }
.navbar-brand { display: flex; align-items: center; padding: 0; }
.nav-logo {
  height: 42px; width: auto; max-width: 230px;
  object-fit: contain; display: block;
}
/* fallback text brand (kept for accessibility) */
.brand-icon { width: 42px; height: 42px; background: linear-gradient(135deg, var(--green-main), var(--green-light)); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; flex-shrink: 0; }
.brand-text { color: var(--text-dark); font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; }
.brand-accent { color: var(--green-main); }
.nav-link { color: var(--text-mid) !important; font-weight: 600; font-size: .88rem; padding: 8px 10px !important; border-radius: var(--radius-sm); transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--green-main) !important; background: var(--green-pale); }
.nav-cta {
  background: linear-gradient(135deg, var(--green-main), var(--green-light));
  color: #fff !important; font-weight: 700; font-size: .9rem;
  padding: 10px 22px; border-radius: 50px;
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition); box-shadow: 0 4px 14px rgba(46,125,50,.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(46,125,50,.4); color: #fff; }
.navbar-toggler { border: none; padding: 6px; background: var(--green-pale); border-radius: var(--radius-sm); }
.navbar-toggler:focus { box-shadow: none; }
.toggler-icon i { font-size: 1.4rem; color: var(--green-main); }

/* ============================================================  HERO SLIDER  */
.hero-section { position: relative; overflow: hidden; }
.hero-slider { position: relative; height: 100vh; min-height: 580px; max-height: 900px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; display: flex; }
.hero-slide.active { opacity: 1; z-index: 2; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); transition: transform 7s ease; }
.hero-slide.active .slide-bg { transform: scale(1); }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.62) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.08) 100%); z-index: 1; }
.container-xl.h-100 { height: 100%; }
.hero-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 100px 0 60px; max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: .8rem; font-weight: 700; padding: 8px 16px; border-radius: 50px; margin-bottom: 18px; width: fit-content; }
.hero-content h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 18px; text-shadow: 0 2px 16px rgba(0,0,0,.2); }
.hero-accent { color: #a5d6a7; }
.hero-sub { color: rgba(255,255,255,.9); font-size: clamp(.95rem, 2vw, 1.1rem); line-height: 1.7; margin-bottom: 28px; max-width: 580px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.btn-hero-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: #fff; font-weight: 800; font-size: 1rem; padding: 14px 28px; border-radius: 50px; transition: var(--transition); box-shadow: 0 6px 20px rgba(255,152,0,.4); white-space: nowrap; }
.btn-hero-primary:hover { background: var(--accent-dark); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(255,152,0,.5); color: #fff; }
.btn-hero-secondary { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.15); backdrop-filter: blur(8px); border: 2px solid rgba(255,255,255,.6); color: #fff; font-weight: 700; font-size: 1rem; padding: 14px 28px; border-radius: 50px; transition: var(--transition); white-space: nowrap; }
.btn-hero-secondary:hover { background: rgba(255,255,255,.25); color: #fff; transform: translateY(-3px); }
.btn-pulse { animation: pulseCta 2s infinite; }
@keyframes pulseCta { 0%,100%{ box-shadow: 0 6px 20px rgba(255,152,0,.4); } 50%{ box-shadow: 0 6px 36px rgba(255,152,0,.75), 0 0 0 8px rgba(255,152,0,.15); } }
.hero-trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.9); font-size: .85rem; font-weight: 600; }
.trust-item i { color: #ffd54f; }
.trust-divider { width: 1px; height: 18px; background: rgba(255,255,255,.3); }
/* slider controls */
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.3); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; transition: var(--transition); }
.slider-btn:hover { background: rgba(255,255,255,.3); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 10px; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; cursor: pointer; transition: var(--transition); padding: 0; }
.slider-dot.active { background: #fff; width: 28px; border-radius: 6px; }
.scroll-cue { position: absolute; bottom: 28px; right: 40px; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.scroll-cue span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.4); animation: scrollCue 1.5s infinite; }
.scroll-cue span:nth-child(2) { animation-delay: .2s; background: rgba(255,255,255,.6); }
.scroll-cue span:nth-child(3) { animation-delay: .4s; background: rgba(255,255,255,.8); }
@keyframes scrollCue { 0%,100%{opacity:.3;transform:translateY(0)} 50%{opacity:1;transform:translateY(6px)} }

/* ============================================================  STATS STRIP  */
.stats-strip { background: linear-gradient(135deg, var(--green-dark), var(--green-main)); padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { display: flex; align-items: center; gap: 16px; padding: 18px 24px; border-right: 1px solid rgba(255,255,255,.12); }
.stat-item:last-child { border-right: none; }
.stat-icon { font-size: 2rem; color: rgba(255,255,255,.45); flex-shrink: 0; }
.stat-body { display: flex; flex-direction: column; }
.stat-number { font-family: var(--font-head); font-size: 2rem; font-weight: 900; line-height: 1; color: #fff; display: inline; }
.stat-suffix { font-size: 1.2rem; font-weight: 700; color: rgba(255,255,255,.7); display: inline; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.75); font-weight: 500; margin-top: 4px; }

/* ============================================================  SERVICES  */
.services-section { background: var(--white); }
.service-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); height: 100%; display: flex; flex-direction: column; position: relative; }
.service-card:hover, .service-card:focus { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--green-light); }
.service-card--featured { border-color: var(--green-main); box-shadow: 0 4px 24px rgba(46,125,50,.15); }
.featured-badge { position: absolute; top: 12px; right: 12px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; padding: 4px 12px; border-radius: 50px; z-index: 4; }
.service-img-wrap { position: relative; overflow: hidden; }
.service-img { width: 100%; height: 200px; object-fit: cover; transition: transform .5s ease; display: block; }
.service-card:hover .service-img { transform: scale(1.06); }
.service-img-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.45) 100%); display: flex; align-items: flex-end; padding: 12px 16px; }
.service-img-overlay span { font-family: var(--font-head); font-size: 2.5rem; font-weight: 900; color: rgba(255,255,255,.25); line-height: 1; }
.service-card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.service-icon-pill { width: 42px; height: 42px; background: var(--green-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--green-main); margin-bottom: 12px; }
.service-icon-pill--blue  { background: #e3f2fd; color: #1565c0; }
.service-icon-pill--orange{ background: #fff8e1; color: #f57f17; }
.service-icon-pill--red   { background: #fce4ec; color: #c62828; }
.service-card-body h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.service-card-body p { font-size: .88rem; color: var(--text-light); flex: 1; margin-bottom: 14px; }
.service-list { list-style: none; margin-bottom: 18px; }
.service-list li { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 500; color: var(--text-mid); padding: 3px 0; }
.service-list li i { color: var(--green-main); font-size: .9rem; flex-shrink: 0; }
.service-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--green-main); font-weight: 700; font-size: .9rem; transition: var(--transition); margin-top: auto; }
.service-cta:hover { color: var(--green-dark); gap: 12px; }
/* emergency banner */
.emergency-banner { margin-top: 48px; background: linear-gradient(135deg,#fff3e0,#ffe0b2); border: 2px solid var(--accent); border-radius: var(--radius-lg); padding: 24px 32px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.emg-icon { font-size: 2rem; color: var(--accent); flex-shrink: 0; }
.emg-text { flex: 1; min-width: 200px; }
.emg-text strong { display: block; font-weight: 800; margin-bottom: 4px; }
.emg-text span { color: var(--text-mid); font-size: .9rem; }
.emg-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; font-weight: 700; font-size: .95rem; padding: 12px 24px; border-radius: 50px; white-space: nowrap; transition: var(--transition); box-shadow: 0 4px 14px rgba(255,152,0,.35); }
.emg-btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }

/* ============================================================  WHY US  */
.why-us-section { background: var(--off-white); }
.why-img-wrap { position: relative; padding: 20px; }
.why-main-img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); object-fit: cover; }
.why-badge-1, .why-badge-2 { position: absolute; background: var(--white); border-radius: 50px; padding: 10px 18px; font-size: .85rem; font-weight: 700; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.why-badge-1 { bottom: 30px; left: 0; animation: floatBadge 3.5s ease-in-out infinite; }
.why-badge-2 { top: 30px; right: 0; animation: floatBadge 4s ease-in-out infinite .8s; }
.why-badge-1 i { color: #ffc107; }
.why-badge-2 i { color: var(--green-main); }
.why-years-ring { position: absolute; top: 10px; left: 10px; width: 72px; height: 72px; background: linear-gradient(135deg,var(--green-main),var(--green-light)); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 16px rgba(46,125,50,.4); animation: floatBadge 3s ease-in-out infinite 1.2s; }
.why-years-ring strong { font-family: var(--font-head); font-size: 1.2rem; font-weight: 900; line-height: 1; }
.why-years-ring span { font-size: .65rem; font-weight: 700; opacity: .85; }
@keyframes floatBadge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.why-features { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.why-feat { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--border); transition: var(--transition); }
.why-feat:hover { border-color: var(--green-light); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.why-feat-icon { width: 44px; height: 44px; background: var(--green-pale); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--green-main); flex-shrink: 0; }
.why-feat-body h4 { font-size: .93rem; font-weight: 800; margin-bottom: 3px; }
.why-feat-body p { font-size: .84rem; color: var(--text-light); margin: 0; }

/* ============================================================  PROCESS  */
.process-section { background: var(--white); }
.process-timeline { display: flex; flex-direction: column; margin-top: 48px; max-width: 800px; margin-left: auto; margin-right: auto; }
.process-step { display: flex; gap: 24px; align-items: flex-start; padding-bottom: 36px; position: relative; }
.process-connector { position: absolute; left: 28px; top: 58px; width: 2px; height: calc(100% - 30px); background: linear-gradient(to bottom, var(--green-light), var(--green-pale)); }
.process-step:last-child .process-connector { display: none; }
.process-icon { width: 58px; height: 58px; background: linear-gradient(135deg,var(--green-main),var(--green-light)); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; position: relative; z-index: 2; box-shadow: 0 4px 14px rgba(46,125,50,.3); }
.process-icon span { font-size: .62rem; font-weight: 800; line-height: 1; opacity: .8; }
.process-icon i { font-size: 1rem; }
.process-body { padding-top: 8px; }
.process-body h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.process-body p { font-size: .9rem; color: var(--text-light); margin: 0; }

/* ============================================================  GALLERY — 3-per-row uniform  */
.gallery-section { background: var(--green-xpale); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  background: #c8e6c9;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .55s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  transform: translateY(100%);
  transition: var(--transition);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-caption span { color: #fff; font-size: .82rem; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.gallery-caption span i { color: #a5d6a7; font-size: .85rem; }

/* ============================================================  TESTIMONIALS  */
.testimonials-section { background: var(--white); }

/* -- Google rating banner -- */
.google-rating-banner {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 680px;
  margin: 0 auto 44px;
  box-shadow: 0 4px 20px rgba(46,125,50,.08);
}
.grb-left { display: flex; align-items: center; gap: 16px; }
.grb-logo { font-size: 2.4rem; color: #4285f4; flex-shrink: 0; }
.grb-info { display: flex; flex-direction: column; gap: 3px; }
.grb-name { font-weight: 800; font-size: .95rem; color: var(--text-dark); }
.grb-stars { display: flex; align-items: center; gap: 3px; color: #ffc107; font-size: 1rem; }
.grb-stars strong { color: var(--text-dark); font-size: 1.1rem; margin-left: 5px; }
.grb-count { font-size: .8rem; color: var(--text-light); }
.grb-btn { display: inline-flex; align-items: center; gap: 8px; background: #4285f4; color: #fff; font-weight: 700; font-size: .88rem; padding: 10px 20px; border-radius: 50px; transition: var(--transition); white-space: nowrap; }
.grb-btn:hover { background: #1a73e8; color: #fff; transform: translateY(-2px); }

/* -- Review cards: CSS Grid 3-col on desktop, 2-col on tablet, 1-col scroll on mobile -- */
.testimonials-slider-wrap { width: 100%; overflow: hidden; }
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
  height: 100%;
  min-width: 0; /* prevent grid blowout */
}
.testi-card:hover { border-color: var(--green-light); box-shadow: var(--shadow-md); }
.testi-header { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 46px; height: 46px; background: linear-gradient(135deg,var(--green-main),var(--green-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .8rem; color: #fff; flex-shrink: 0; }
.testi-meta { flex: 1; min-width: 0; }
.testi-meta strong { display: block; font-size: .9rem; color: var(--text-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.testi-location { font-size: .78rem; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.testi-location i { color: var(--green-main); font-size: .75rem; }
.testi-google-icon { color: #4285f4; font-size: 1.1rem; flex-shrink: 0; }
.testi-stars { color: #ffc107; font-size: .95rem; display: flex; gap: 2px; }
.testi-card blockquote { font-size: .9rem; color: var(--text-mid); font-style: italic; line-height: 1.7; margin: 0; position: relative; padding-left: 14px; flex: 1; }
.testi-card blockquote::before { content: '\201C'; font-size: 3.5rem; color: var(--green-pale); font-family: Georgia,serif; position: absolute; top: -12px; left: -4px; line-height: 1; font-style: normal; }
.testi-date { font-size: .75rem; color: var(--text-light); }
/* nav — hidden on desktop, shown on mobile */
.testi-nav { display: none; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.testi-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--white); color: var(--text-mid); display: flex; align-items: center; justify-content: center; font-size: 1rem; cursor: pointer; transition: var(--transition); }
.testi-btn:hover { border-color: var(--green-light); color: var(--green-main); }
.testi-dots { display: flex; gap: 8px; }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; transition: var(--transition); padding: 0; }
.testi-dot.active { background: var(--green-main); width: 22px; border-radius: 4px; }

/* ============================================================  PROBLEMS  */
.problems-section { background: var(--off-white); }
.problems-img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-md); margin-top: 20px; }
.problems-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.problem-card { background: var(--white); border-radius: var(--radius-md); padding: 20px 18px; text-align: center; border: 1.5px solid var(--border); transition: var(--transition); }
.problem-card:hover, .problem-card:focus { border-color: var(--green-light); box-shadow: var(--shadow-md); transform: translateY(-5px); }
.problem-icon { width: 50px; height: 50px; background: var(--green-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; color: var(--green-main); margin: 0 auto 12px; }
.problem-card h4 { font-size: .9rem; font-weight: 800; margin-bottom: 6px; }
.problem-card p { font-size: .82rem; color: var(--text-light); margin: 0; }

/* ============================================================  LOCAL  */
.local-section { background: var(--white); }
.local-highlights { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.local-hl { display: flex; align-items: center; gap: 12px; font-size: .93rem; font-weight: 600; }
.local-hl i { color: var(--green-main); font-size: 1.1rem; flex-shrink: 0; }
.local-img-wrap { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.local-main-img { width: 100%; object-fit: cover; display: block; }
.local-img-badge { position: absolute; bottom: 18px; left: 18px; background: var(--green-main); color: #fff; font-size: .82rem; font-weight: 700; padding: 8px 16px; border-radius: 50px; display: flex; align-items: center; gap: 6px; }
.btn-primary-green { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg,var(--green-main),var(--green-light)); color: #fff; font-weight: 700; font-size: 1rem; padding: 13px 28px; border-radius: 50px; transition: var(--transition); box-shadow: 0 4px 14px rgba(46,125,50,.3); }
.btn-primary-green:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(46,125,50,.4); color: #fff; }

/* ============================================================  AREAS  */
.areas-section { background: var(--green-xpale); }
.areas-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.area-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--green-dark); font-weight: 700; font-size: .9rem; padding: 10px 20px; border-radius: 50px; border: 1.5px solid var(--green-pale); transition: var(--transition); }
.area-pill:hover { background: var(--green-main); color: #fff; border-color: var(--green-main); transform: scale(1.05); }
.areas-note { color: var(--text-light); font-size: .9rem; }
.areas-note a { color: var(--green-main); font-weight: 700; }

/* ============================================================  FAQ  */
.faq-section { background: var(--white); }
.faq-img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.custom-accordion .accordion-item { border: 1.5px solid var(--border); border-radius: var(--radius-md) !important; margin-bottom: 12px; overflow: hidden; background: var(--white); }
.custom-accordion .accordion-button { background: var(--white); color: var(--text-dark); font-weight: 700; font-size: .93rem; border-radius: var(--radius-md) !important; box-shadow: none !important; padding: 16px 20px; }
.custom-accordion .accordion-button:not(.collapsed) { color: var(--green-main); background: var(--green-xpale); }
.custom-accordion .accordion-button::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232e7d32'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E"); }
.custom-accordion .accordion-body { font-size: .9rem; color: var(--text-mid); line-height: 1.7; padding: 4px 20px 16px; }
.custom-accordion .accordion-body a { color: var(--green-main); font-weight: 700; }

/* ============================================================  CONTACT  */
.contact-section { background: var(--off-white); }
.contact-wrapper { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1.5px solid var(--border); }
.contact-info-panel { background: linear-gradient(160deg,var(--green-dark),var(--green-main)); padding: 48px 40px; height: 100%; display: flex; flex-direction: column; gap: 16px; }
.section-tag-light { display: inline-block; background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 50px; }
.contact-info-panel h2 { font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 900; color: #fff; line-height: 1.2; margin: 0; }
.contact-info-panel p { color: rgba(255,255,255,.8); font-size: .93rem; margin: 0; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; }
.cd-icon { width: 40px; height: 40px; background: rgba(255,255,255,.15); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: rgba(255,255,255,.9); flex-shrink: 0; }
.cd-body span { display: block; font-size: .77rem; color: rgba(255,255,255,.6); font-weight: 500; }
.cd-body a { display: block; color: #fff; font-weight: 700; font-size: .95rem; word-break: break-word; }
.cd-body a:hover { color: #a5d6a7; }
.cd-body strong { display: block; color: #fff; font-weight: 700; font-size: .9rem; }
.contact-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.cbadge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.9); font-size: .77rem; font-weight: 700; padding: 6px 14px; border-radius: 50px; }
.cbadge i { color: #a5d6a7; }
.contact-form-panel { background: var(--white); padding: 48px 40px; }
.form-label { font-weight: 600; font-size: .87rem; color: var(--text-dark); margin-bottom: 6px; }
.req { color: #e53935; }
.form-control, .form-select { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .92rem; color: var(--text-dark); transition: var(--transition); background: var(--off-white); }
.form-control:focus, .form-select:focus { border-color: var(--green-light); background: var(--white); box-shadow: 0 0 0 3px rgba(76,175,80,.15); outline: none; }
.form-control::placeholder { color: var(--gray); }
.btn-submit-form { width: 100%; background: linear-gradient(135deg,var(--green-main),var(--green-light)); color: #fff; font-weight: 800; font-size: 1rem; padding: 15px 24px; border: none; border-radius: 50px; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 18px rgba(46,125,50,.3); }
.btn-submit-form:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(46,125,50,.4); }
.btn-submit-loading { display: none; align-items: center; gap: 10px; justify-content: center; }
.btn-submit-text { display: flex; align-items: center; gap: 10px; justify-content: center; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { background: #e8f5e9; border: 1.5px solid var(--green-light); border-radius: var(--radius-sm); padding: 14px 18px; font-size: .9rem; color: var(--green-dark); display: flex; align-items: center; gap: 10px; }
.form-success i { font-size: 1.2rem; color: var(--green-main); }

/* ============================================================  FOOTER  */
.site-footer { background: var(--text-dark); }
.footer-top { padding: 60px 0 40px; }
.footer-brand { margin-bottom: 16px; }
.footer-logo { height: 38px; width: auto; max-width: 220px; object-fit: contain; display: block; background-color: white;border-radius:10px; }
.footer-desc { color: #9e9e9e; font-size: .87rem; line-height: 1.7; max-width: 280px; margin-bottom: 12px; }
.footer-phone a, .footer-email a { display: inline-flex; align-items: center; gap: 9px; color: var(--green-light); font-weight: 700; font-size: .95rem; transition: var(--transition); margin-bottom: 6px; word-break: break-all; }
.footer-phone a:hover, .footer-email a:hover { color: #fff; }
.footer-heading { color: #fff; font-size: .9rem; font-weight: 800; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #9e9e9e; font-size: .87rem; transition: var(--transition); }
.footer-links a:hover { color: var(--green-light); padding-left: 4px; }
.footer-areas { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-areas span { font-size: .78rem; color: #9e9e9e; background: rgba(255,255,255,.05); padding: 4px 10px; border-radius: 4px; }
.footer-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ft-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(76,175,80,.12); border: 1px solid rgba(76,175,80,.25); color: var(--green-light); font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 50px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.fb-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: #666; font-size: .82rem; margin: 0; }
.fb-links { display: flex; gap: 20px; }
.fb-links a { color: #666; font-size: .82rem; transition: var(--transition); }
.fb-links a:hover { color: var(--green-light); }

/* ============================================================  FLOATING CTA & BACK-TO-TOP  */
.floating-cta { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 900; display: none; gap: 10px; background: var(--white); border-radius: 50px; padding: 8px 12px; box-shadow: 0 4px 24px rgba(0,0,0,.2); border: 1.5px solid var(--border); }
.float-call, .float-quote { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; padding: 10px 18px; border-radius: 50px; transition: var(--transition); }
.float-call { background: var(--green-main); color: #fff; }
.float-call:hover { background: var(--green-dark); color: #fff; }
.float-quote { background: var(--accent); color: #fff; }
.float-quote:hover { background: var(--accent-dark); color: #fff; }
.back-to-top { position: fixed; bottom: 28px; right: 24px; z-index: 999; width: 44px; height: 44px; background: var(--green-main); color: #fff; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: var(--transition); box-shadow: 0 4px 14px rgba(46,125,50,.4); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--green-dark); transform: translateY(-3px); }

/* ============================================================  RESPONSIVE  */

/* 1200px — large desktop */
@media (max-width: 1199px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  /* gallery stays 3-col */
  /* testimonials stays 3-col */
}

/* 991px — tablet landscape */
@media (max-width: 991px) {
  .section-pad { padding: 64px 0; }
  .hero-slider { height: 85vh; min-height: 540px; }
  /* gallery: 2 cols */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  /* testimonials: 2 cols */
  .testimonials-track { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .contact-info-panel { padding: 36px 28px; }
  .contact-form-panel { padding: 36px 28px; }
}

/* 767px — tablet portrait / mobile */
@media (max-width: 767px) {
  .topbar-left span:last-child { display: none; }
  .hero-slider { height: 100svh; min-height: 600px; max-height: none; }
  .hero-content { padding: 80px 0 80px; }
  .slider-btn { display: none; }
  .scroll-cue { display: none; }

  /* stats: 2×2 */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.12); }
  .stat-item:nth-last-child(1),
  .stat-item:nth-last-child(2) { border-bottom: none; }

  /* gallery: 2 cols */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* testimonials: switch to horizontal scroll carousel */
  .testimonials-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    /* reset grid */
    grid-template-columns: unset;
  }
  .testimonials-track::-webkit-scrollbar { display: none; }
  .testi-card {
    min-width: 76vw;
    max-width: 76vw;
    flex-shrink: 0;
    scroll-snap-align: start;
    height: auto;
  }
  .testi-nav { display: flex; }

  /* google rating banner */
  .google-rating-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    margin-bottom: 28px;
  }

  .floating-cta { display: flex; }
  .back-to-top { bottom: 88px; }
}

/* 575px — mobile */
@media (max-width: 575px) {
  .section-pad { padding: 48px 0; }
  .topbar { display: none; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-sub { font-size: .9rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-hero-primary, .btn-hero-secondary { justify-content: center; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 8px; }
  .trust-divider { display: none; }
  .stat-number { font-size: 1.6rem; }
  /* gallery: still 2 cols — works fine at 575 */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-item { aspect-ratio: 3 / 2; }
  /* reviews scroll: narrower card */
  .testi-card { min-width: 85vw; max-width: 85vw; }
  .nav-logo { height: 34px; }
  .footer-logo { height: 30px; }
  .problems-grid { grid-template-columns: 1fr; }
  .emergency-banner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .contact-info-panel { padding: 28px 20px; }
  .contact-form-panel { padding: 28px 20px; }
  .footer-top { padding: 40px 0 28px; }
}

/* 400px — small phones */
@media (max-width: 400px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 16 / 9; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat-item:last-child { border-bottom: none; }
  .testi-card { min-width: 92vw; max-width: 92vw; }
}

/* Prevent horizontal scroll globally */
body, html { overflow-x: hidden; max-width: 100%; }
.container-xl { padding-left: 16px; padding-right: 16px; }
