/* ============================================================
   CHIMNEY PROFESSIONALS — PRODUCTION CSS v2
   Brand: Navy #1B2A3D · Orange #E8590A · White #FFFFFF
   Mobile-first · ADA AA · Conversion-optimized
============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: #0F1C2A; color: #CBD5E0; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
:focus-visible { outline: 2px solid #E8590A; outline-offset: 3px; border-radius: 4px; }

/* ── VARIABLES ──────────────────────────────────────────── */
:root {
  --navy-darkest: #0A1520;
  --navy-dark:    #0F1C2A;
  --navy:         #1B2A3D;
  --navy-mid:     #243350;
  --navy-light:   #2D3F60;
  --navy-border:  #2E4060;
  --orange:       #E8590A;
  --orange-dark:  #C44D09;
  --orange-light: #F47B3A;
  --orange-pale:  rgba(232,89,10,0.10);
  --white:        #FFFFFF;
  --off-white:    #F4F6F9;
  --text-primary: #EDF2F7;
  --text-body:    #A0B0C3;
  --text-muted:   #657A93;
  --success:      #22C55E;
  --error:        #EF4444;
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  14px;
  --r-xl:  20px;
  --r-full: 9999px;
  --sh-sm:  0 1px 4px rgba(0,0,0,0.4);
  --sh-md:  0 4px 20px rgba(0,0,0,0.4);
  --sh-lg:  0 12px 48px rgba(0,0,0,0.5);
  --sh-orange: 0 4px 24px rgba(232,89,10,0.35);
  --ease: cubic-bezier(0.4,0,0.2,1);
  --header-h: 70px;
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media(min-width:768px){ .container { padding: 0 32px; } }
@media(min-width:1280px){ .container { padding: 0 40px; } }
section { padding: 72px 0; }
@media(min-width:768px){ section { padding: 96px 0; } }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1,h2,h3,h4 { color: var(--white); font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.2rem); letter-spacing: -0.01em; }
p  { font-size: 0.975rem; line-height: 1.72; }
.text-orange { color: var(--orange); }
.text-muted  { color: var(--text-muted); }

/* ── SECTION HEADERS ────────────────────────────────────── */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1rem; color: var(--text-body); }
.section-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--orange-pale); color: var(--orange);
  border: 1px solid rgba(232,89,10,0.28);
  border-radius: var(--r-full);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; padding: 6px 14px; margin-bottom: 14px;
}
.section-badge svg { width: 12px; height: 12px; flex-shrink: 0; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: 0.94rem;
  border: 2px solid transparent; border-radius: var(--r-md);
  cursor: pointer; transition: all 0.16s var(--ease);
  text-decoration: none; white-space: nowrap; padding: 12px 24px; line-height: 1;
}
.btn-sm  { padding: 9px 18px; font-size: 0.84rem; }
.btn-lg  { padding: 15px 30px; font-size: 1rem; }
.btn-xl  { padding: 18px 38px; font-size: 1.05rem; font-weight: 700; }
.btn-full { width: 100%; justify-content: center; }

.btn-orange {
  background: var(--orange); color: var(--white);
  border-color: var(--orange); box-shadow: var(--sh-orange);
}
.btn-orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 28px rgba(232,89,10,0.5); }

.btn-outline-orange { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-outline-orange:hover { background: var(--orange); color: var(--white); transform: translateY(-1px); }

.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-navy { background: var(--navy-mid); color: var(--white); border-color: var(--navy-border); }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-1px); }

.cta-section { text-align: center; margin-top: 44px; }
.cta-section p { margin-bottom: 18px; color: var(--text-body); }

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15,28,42,0.96); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--navy-border);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled { background: rgba(10,21,32,0.99); box-shadow: 0 2px 24px rgba(0,0,0,0.6); }

.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  height: var(--header-h); display: flex; align-items: center; gap: 24px;
}
@media(min-width:768px){ .header-inner { padding: 0 32px; } }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 0.95rem; font-weight: 800; color: var(--white); line-height: 1.1; letter-spacing: -0.01em; }
.logo-tagline { font-size: 0.62rem; color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

.nav-desktop { display: none; align-items: center; gap: 2px; margin-left: auto; }
@media(min-width:1040px){ .nav-desktop { display: flex; } }
.nav-desktop a {
  color: var(--text-body); font-size: 0.875rem; font-weight: 500;
  padding: 7px 12px; border-radius: var(--r-sm);
  transition: color 0.14s, background 0.14s;
}
.nav-desktop a:hover { color: var(--white); background: var(--navy-mid); }

.header-cta { display: none; align-items: center; gap: 10px; margin-left: auto; }
@media(min-width:768px){ .header-cta { display: flex; } }
@media(min-width:1040px){ .header-cta { margin-left: 0; } }

.header-phone-link {
  display: flex; align-items: center; gap: 8px;
  background: var(--orange); color: var(--white);
  padding: 9px 18px; border-radius: var(--r-md);
  font-weight: 700; font-size: 0.9rem;
  transition: background 0.15s, transform 0.15s;
  box-shadow: var(--sh-orange);
}
.header-phone-link:hover { background: var(--orange-dark); transform: translateY(-1px); }
.header-phone-link svg { width: 16px; height: 16px; }

.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; margin-left: auto; }
@media(min-width:768px){ .nav-toggle { display: none; } }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.nav-mobile { background: var(--navy); border-top: 1px solid var(--navy-border); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.nav-mobile[hidden] { display: none; }
.nav-mobile a { display: block; color: var(--text-body); font-size: 1rem; font-weight: 500; padding: 11px 14px; border-radius: var(--r-sm); transition: all 0.14s; }
.nav-mobile a:hover { color: var(--white); background: var(--navy-mid); }
.nav-mobile .btn { margin-top: 8px; text-align: center; justify-content: center; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; align-items: center;
  padding-top: var(--header-h); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(10,21,32,0.96) 0%, rgba(10,21,32,0.80) 50%, rgba(10,21,32,0.35) 100%),
    linear-gradient(to top,   rgba(10,21,32,0.70) 0%, transparent 45%);
}
@media(max-width:767px){
  .hero-bg::after {
    background: linear-gradient(to bottom, rgba(10,21,32,0.60) 0%, rgba(10,21,32,0.95) 70%);
  }
}
.hero-content {
  position: relative; z-index: 2; width: 100%;
  max-width: 1200px; margin: 0 auto;
  padding: 100px 20px 120px;
}
@media(min-width:768px){ .hero-content { padding: 110px 32px 130px; } }
@media(min-width:1040px){ .hero-content { max-width: 560px; margin: 0 0 0 calc((100vw - 1200px)/2 + 40px); padding: 110px 0 130px; } }

.hero-headline {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800; line-height: 1.06;
  letter-spacing: -0.03em; color: var(--white);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #9DB5CA; max-width: 440px;
  line-height: 1.7; margin-bottom: 40px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Kept for backwards compatibility with other pages / sections */
.hero-trust { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.trust-pill {
  display: flex; align-items: center; gap: 8px;
  background: rgba(15,28,42,0.7); border: 1px solid rgba(232,89,10,0.25);
  border-radius: var(--r-full); padding: 7px 14px;
  font-size: 0.8rem; font-weight: 600; color: var(--text-primary);
  backdrop-filter: blur(8px);
}
.trust-pill svg { width: 15px; height: 15px; color: var(--orange); flex-shrink: 0; }

/* Review card — kept for other sections */
.hero-review-inner {
  background: rgba(27,42,61,0.95); border: 1px solid var(--navy-border);
  border-radius: var(--r-xl); padding: 22px;
  box-shadow: var(--sh-lg); backdrop-filter: blur(12px);
}
.review-head { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 14px; }
.review-av {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--orange); color: var(--white);
  font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.review-av-blue   { background: #1D4ED8; }
.review-av-green  { background: #059669; }
.review-av-purple { background: #7C3AED; }
.review-av-rose   { background: #BE185D; }
.review-av-teal   { background: #0D9488; }
.review-name { font-size: 0.875rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.review-loc  { font-size: 0.72rem; color: var(--text-muted); }
.review-stars { color: #FBBF24; font-size: 0.8rem; letter-spacing: 1px; margin-top: 2px; }
.g-badge {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: auto; background: rgba(255,255,255,0.07);
  border-radius: 5px; padding: 3px 7px;
  font-size: 0.68rem; font-weight: 600; color: var(--text-body);
}
.review-quote { font-size: 0.83rem; color: var(--text-body); line-height: 1.6; font-style: italic; }

/* ── TRUST BAR ───────────────────────────────────────────── */
.trust-bar { padding: 24px 0; background: var(--navy); border-top: 1px solid var(--navy-border); border-bottom: 3px solid var(--orange); }
.trust-bar-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 32px; }
.trust-stat { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.trust-stat-num { font-size: 1.5rem; font-weight: 800; color: var(--orange); letter-spacing: -0.02em; line-height: 1; }
.trust-stat-lbl { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; text-align: center; }
.trust-divider { width: 1px; height: 34px; background: var(--navy-border); display: none; }
@media(min-width:600px){ .trust-divider { display: block; } }

/* ── URGENCY BANNER ──────────────────────────────────────── */
.urgency-banner { padding: 9px 0; background: var(--navy-darkest); border-bottom: 1px solid rgba(232,89,10,0.2); text-align: center; }
.urgency-text { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.02em; }
.urgency-text a { color: var(--orange); font-weight: 600; text-decoration: none; }
.urgency-text a:hover { text-decoration: underline; }

/* ── SERVICES ────────────────────────────────────────────── */
.services-section { background: var(--navy-dark); }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media(min-width:600px){ .services-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:900px){ .services-grid { grid-template-columns: repeat(3,1fr); } }
@media(min-width:1200px){ .services-grid { grid-template-columns: repeat(4,1fr); } }

.service-card {
  background: var(--navy); border: 1px solid var(--navy-border);
  border-radius: var(--r-lg); padding: 22px 20px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.service-card:hover { border-color: rgba(232,89,10,0.5); transform: translateY(-2px); box-shadow: var(--sh-md); }
.service-card-highlight { border-color: rgba(232,89,10,0.3); background: linear-gradient(135deg,rgba(232,89,10,0.07),var(--navy)); }

.service-icon-wrap { width: 42px; height: 42px; border-radius: var(--r-md); background: var(--orange-pale); border: 1px solid rgba(232,89,10,0.2); display: flex; align-items: center; justify-content: center; color: var(--orange); flex-shrink: 0; }
.service-icon-wrap svg { width: 20px; height: 20px; }
.service-card h3 { font-size: 0.97rem; color: var(--white); font-weight: 700; }
.service-card p { font-size: 0.82rem; color: var(--text-body); line-height: 1.6; flex: 1; }
.service-cta { font-size: 0.8rem; font-weight: 700; color: var(--orange); display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; transition: gap 0.14s; }
.service-cta:hover { gap: 9px; }
.service-cta svg { width: 14px; height: 14px; }

/* ── PRICING ─────────────────────────────────────────────── */
.pricing-section { background: var(--navy); border-top: 1px solid var(--navy-border); }
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 980px; margin: 0 auto; }
@media(min-width:768px){ .pricing-grid { grid-template-columns: repeat(3,1fr); } }

.pricing-card {
  position: relative; background: var(--navy-dark);
  border: 1px solid var(--navy-border); border-radius: var(--r-xl);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.pricing-card-featured { border-color: var(--orange); background: linear-gradient(160deg,rgba(232,89,10,0.08),var(--navy-dark)); box-shadow: 0 0 40px rgba(232,89,10,0.12); }

.popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white);
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 14px; border-radius: var(--r-full); white-space: nowrap;
}
.pricing-level { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); }
.pricing-card h3 { font-size: 1.15rem; color: var(--white); margin-top: -6px; }
.price-row { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.price-was { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; font-weight: 500; }
.price-now { font-size: 2rem; font-weight: 800; color: var(--orange); letter-spacing: -0.03em; line-height: 1; }
.price-after { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.price-custom { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); }
.discount-badge {
  display: inline-block; background: rgba(232,89,10,0.12); color: var(--orange);
  border: 1px solid rgba(232,89,10,0.3); border-radius: 5px;
  font-size: 0.7rem; font-weight: 700; padding: 5px 10px; width: fit-content;
}
.neutral-badge {
  display: inline-block; background: rgba(255,255,255,0.05); color: var(--text-body);
  border: 1px solid var(--navy-border); border-radius: 5px;
  font-size: 0.7rem; font-weight: 600; padding: 5px 10px; width: fit-content;
}
.pricing-features { display: flex; flex-direction: column; gap: 11px; flex: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.84rem; color: var(--text-body); line-height: 1.4; }
.pricing-features li svg { flex-shrink: 0; margin-top: 1px; width: 15px; height: 15px; color: var(--orange); }
.pricing-note { text-align: center; margin-top: 28px; font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; max-width: 680px; margin-left: auto; margin-right: auto; }
.pricing-note strong { color: var(--orange); }

/* ── WHY CHOOSE US ───────────────────────────────────────── */
.why-section { background: var(--navy-dark); }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: start; }
@media(min-width:1040px){ .why-grid { grid-template-columns: 1fr 400px; } }
.why-content h2 { margin: 14px 0 18px; }
.why-intro { font-size: 1rem; color: var(--text-body); margin-bottom: 32px; }
.why-points { display: flex; flex-direction: column; gap: 26px; margin-bottom: 36px; }
.why-point { display: flex; gap: 16px; align-items: flex-start; }
.why-point-icon { width: 44px; height: 44px; flex-shrink: 0; background: var(--orange-pale); border: 1px solid rgba(232,89,10,0.2); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: var(--orange); }
.why-point-icon svg { width: 20px; height: 20px; }
.why-point h3 { font-size: 0.97rem; margin-bottom: 5px; }
.why-point p { font-size: 0.84rem; color: var(--text-body); }

.why-visual { display: flex; flex-direction: column; gap: 16px; }
.why-photo-main { border-radius: var(--r-xl); overflow: hidden; border: 2px solid var(--orange); }
.why-photo-main img { width: 100%; height: 260px; object-fit: cover; }
.why-stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.why-stat-card { background: var(--navy); border: 1px solid var(--navy-border); border-radius: var(--r-lg); padding: 18px 16px; text-align: center; }
.why-stat-card.orange-border { border-color: rgba(232,89,10,0.35); background: linear-gradient(135deg,rgba(232,89,10,0.07),var(--navy)); }
.why-stat-num { font-size: 1.6rem; font-weight: 800; color: var(--orange); letter-spacing: -0.02em; display: block; }
.why-stat-lbl { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; }

/* ── GALLERY SLIDER ───────────────────────────────────────── */
.gallery-section {
  background: var(--navy-darkest);
  border-top: 1px solid var(--navy-border);
  overflow: hidden;
}

.gallery-slider-wrap {
  position: relative;
  /* Bleed beyond container padding so cards reach the edges */
  margin-left: -20px;
  margin-right: -20px;
}
@media(min-width:768px)  { .gallery-slider-wrap { margin-left: -32px; margin-right: -32px; } }
@media(min-width:1280px) { .gallery-slider-wrap { margin-left: -40px; margin-right: -40px; } }

/* Edge fade — desktop only, sits above cards */
@media(min-width:1024px){
  .gallery-slider-wrap::before,
  .gallery-slider-wrap::after {
    content: ''; position: absolute; top: 0; bottom: 68px; z-index: 10;
    width: 80px; pointer-events: none;
  }
  .gallery-slider-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--navy-darkest) 20%, transparent 100%);
  }
  .gallery-slider-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--navy-darkest) 20%, transparent 100%);
  }
}

/* Slider track */
.gallery-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 12px 20px 16px;
  align-items: flex-start;
}
@media(min-width:768px)  { .gallery-slider { padding: 12px 32px 16px; gap: 20px; } }
@media(min-width:1024px) { .gallery-slider { padding: 12px 64px 16px; gap: 24px; } }
.gallery-slider::-webkit-scrollbar { display: none; }

/* ── SLIDE CARD — fixed pixel width, no percentage tricks ── */
.gallery-slide {
  /* Mobile: 1 visible + peek of next */
  flex: 0 0 272px;
  width: 272px;
  height: 320px;
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--navy);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5), 0 1px 4px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
/* Tablet: ~2 visible */
@media(min-width:600px)  { .gallery-slide { flex: 0 0 300px; width: 300px; height: 340px; } }
/* Small desktop: ~2–3 visible */
@media(min-width:900px)  { .gallery-slide { flex: 0 0 320px; width: 320px; height: 360px; } }
/* Full desktop: 3 visible */
@media(min-width:1200px) { .gallery-slide { flex: 0 0 340px; width: 340px; height: 380px; } }

.gallery-slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.65), 0 0 0 1px rgba(232,89,10,0.3);
  border-color: rgba(232,89,10,0.3);
}

/* ── IMAGE — absolutely positioned to bypass height:auto conflict ── */
.gallery-slide img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
}
.gallery-slide:hover img { transform: scale(1.07); }

/* ── PERMANENT BOTTOM GRADIENT ── */
.gallery-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(5,12,20,0.96)  0%,
    rgba(5,12,20,0.52)  42%,
    rgba(5,12,20,0.08)  68%,
    transparent         100%
  );
}

/* ── CAPTION — always visible, above gradient ── */
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 18px 20px;
  z-index: 2;
  transition: padding 0.25s var(--ease);
}
.gallery-slide:hover .gallery-caption { padding-bottom: 24px; }

.gallery-caption-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 5px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}
.gallery-caption-city {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.gallery-caption-city::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* ── CONTROLS ── */
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  padding: 0 20px 4px;
}
@media(min-width:768px) { .gallery-controls { padding: 0 32px 4px; } }

.gallery-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  color: var(--white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s var(--ease), border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.gallery-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.08);
  box-shadow: 0 4px 18px rgba(232,89,10,0.45);
}
.gallery-btn:active { transform: scale(0.94); }
.gallery-btn svg { width: 18px; height: 18px; stroke-width: 2.5; }
.gallery-btn:disabled { opacity: 0.2; cursor: not-allowed; transform: none !important; box-shadow: none; }

/* ── DOTS ── */
.gallery-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gallery-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  cursor: pointer;
  border: none;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.25s var(--ease), width 0.3s cubic-bezier(0.34,1.2,0.64,1);
}
.gallery-dot:hover { background: rgba(255,255,255,0.5); }
.gallery-dot.active {
  background: var(--orange);
  width: 24px;
}

/* ── CERTIFICATIONS ──────────────────────────────────────── */
.certs-section { background: var(--navy-dark); padding: 56px 0; border-top: 1px solid var(--navy-border); }
.certs-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px 48px; }
.cert-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cert-item img { height: 80px; width: auto; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }
.cert-item span { font-size: 0.72rem; color: var(--text-muted); text-align: center; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.cert-divider { width: 1px; height: 60px; background: var(--navy-border); display: none; }
@media(min-width:640px){ .cert-divider { display: block; } }
.payment-img { height: 44px; width: auto; object-fit: contain; border-radius: var(--r-sm); }

/* ── REVIEWS ─────────────────────────────────────────────── */
.reviews-section { background: var(--navy); }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media(min-width:640px){ .reviews-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1040px){ .reviews-grid { grid-template-columns: repeat(3,1fr); } }
.review-card { background: var(--navy-dark); border: 1px solid var(--navy-border); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: border-color 0.18s, transform 0.18s; }
.review-card:hover { border-color: rgba(232,89,10,0.3); transform: translateY(-2px); }
.review-top { display: flex; align-items: flex-start; gap: 11px; }
.reviewer-name { font-size: 0.875rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.reviewer-loc  { font-size: 0.72rem; color: var(--text-muted); }
.reviewer-stars { color: #FBBF24; font-size: 0.82rem; letter-spacing: 1px; margin-top: 2px; }
.g-icon { margin-left: auto; flex-shrink: 0; }
.review-text { font-size: 0.855rem; color: var(--text-body); line-height: 1.68; font-style: italic; flex: 1; }
.review-date { font-size: 0.7rem; color: var(--text-muted); text-align: right; }
.reviews-gbp-cta { text-align: center; margin-top: 36px; }
.reviews-gbp-cta p { margin-bottom: 18px; color: var(--text-body); }
.gbp-link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 700; font-size: 0.9rem; border-bottom: 1px solid rgba(232,89,10,0.4); padding-bottom: 2px; transition: border-color 0.14s; }
.gbp-link:hover { border-color: var(--orange); }
.gbp-link svg { width: 18px; height: 18px; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-section { background: var(--navy-dark); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--navy); border: 1px solid var(--navy-border); border-radius: var(--r-lg); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 22px; background: none; border: none;
  cursor: pointer; color: var(--white); font-family: inherit;
  font-size: 0.95rem; font-weight: 600; text-align: left;
  transition: background 0.14s;
}
.faq-question:hover { background: var(--navy-mid); }
.faq-question[aria-expanded="true"] { color: var(--orange); }
.faq-chevron { flex-shrink: 0; color: var(--orange); transition: transform 0.25s var(--ease); }
.faq-chevron svg { width: 18px; height: 18px; }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease), padding 0.3s var(--ease); }
.faq-answer.open { max-height: 400px; padding: 0 22px 18px; }
.faq-answer p { font-size: 0.875rem; color: var(--text-body); line-height: 1.72; }
.faq-answer a { color: var(--orange); font-weight: 600; }

/* ── SERVICE AREAS ───────────────────────────────────────── */
.areas-section { background: var(--navy); }
.areas-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
@media(min-width:600px){ .areas-grid { grid-template-columns: repeat(3,1fr); } }
@media(min-width:900px){ .areas-grid { grid-template-columns: repeat(4,1fr); } }
.area-card { display: flex; flex-direction: column; gap: 3px; background: var(--navy-dark); border: 1px solid var(--navy-border); border-radius: var(--r-md); padding: 14px 16px; text-decoration: none; transition: all 0.15s var(--ease); }
.area-card:hover { border-color: rgba(232,89,10,0.4); background: var(--navy-mid); transform: translateY(-1px); }
.area-card-cta { border-color: rgba(232,89,10,0.3); background: linear-gradient(135deg,rgba(232,89,10,0.08),var(--navy-dark)); }
.area-name { font-size: 0.9rem; font-weight: 700; color: var(--white); }
.area-service { font-size: 0.7rem; color: var(--text-muted); line-height: 1.3; }
.area-card-cta .area-service { color: var(--orange); font-weight: 600; }
.areas-note { text-align: center; margin-top: 24px; font-size: 0.82rem; color: var(--text-muted); }
.areas-note a { color: var(--orange); font-weight: 600; }

/* ── CONTACT / FORM ──────────────────────────────────────── */
.contact-section { background: var(--navy-dark); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 52px; align-items: start; }
@media(min-width:1040px){ .contact-grid { grid-template-columns: 360px 1fr; } }
.contact-info h2 { margin: 14px 0 18px; }
.contact-info > p { font-size: 0.975rem; color: var(--text-body); margin-bottom: 28px; }
.contact-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.contact-method { display: flex; align-items: center; gap: 14px; background: var(--navy); border: 1px solid var(--navy-border); border-radius: var(--r-md); padding: 14px 18px; text-decoration: none; transition: border-color 0.15s; }
.contact-method:hover { border-color: rgba(232,89,10,0.4); }
.contact-method-primary { border-color: rgba(232,89,10,0.35); background: linear-gradient(135deg,rgba(232,89,10,0.08),var(--navy)); }
.contact-method svg { color: var(--orange); flex-shrink: 0; width: 22px; height: 22px; }
.method-label { display: block; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-bottom: 2px; }
.method-value { display: block; font-size: 0.97rem; font-weight: 700; color: var(--white); }
.hours-block h3 { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 10px; }
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 20px; font-size: 0.84rem; color: var(--text-body); }

.form-wrapper { background: var(--navy); border: 1px solid var(--navy-border); border-radius: var(--r-xl); padding: 32px 26px; }
@media(min-width:768px){ .form-wrapper { padding: 36px 36px; } }
.lead-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media(min-width:600px){ .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); }
.form-hint { font-weight: 400; color: var(--text-muted); font-size: 0.72rem; }
.required-star { color: var(--orange); }
.form-group input,.form-group select,.form-group textarea {
  width: 100%; background: var(--navy-dark); border: 1px solid var(--navy-border);
  border-radius: var(--r-sm); color: var(--white); font-family: inherit;
  font-size: 0.88rem; padding: 10px 13px;
  transition: border-color 0.15s, box-shadow 0.15s; -webkit-appearance: none; appearance: none;
}
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23657A93' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; background-size: 15px; padding-right: 34px; cursor: pointer; }
.form-group select option { background: var(--navy-dark); }
.form-group textarea { resize: vertical; min-height: 88px; line-height: 1.6; }
.form-group input::placeholder,.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,89,10,0.18); }
.form-group input.invalid,.form-group select.invalid { border-color: var(--error); }
.field-error { font-size: 0.72rem; color: var(--error); min-height: 16px; display: block; }
.file-upload-area { position: relative; border: 2px dashed var(--navy-border); border-radius: var(--r-md); padding: 24px; text-align: center; cursor: pointer; transition: border-color 0.15s, background 0.15s; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.file-upload-area:hover,.file-upload-area.drag-over { border-color: var(--orange); background: var(--orange-pale); }
.file-upload-area input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; border: none; background: none; padding: 0; }
.file-upload-area svg { color: var(--orange); width: 28px; height: 28px; }
.file-upload-area p { font-size: 0.78rem; color: var(--text-muted); margin: 0; }
.checkbox-label { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; font-size: 0.8rem; color: var(--text-body); line-height: 1.5; font-weight: 400 !important; }
.checkbox-label input[type="checkbox"] { width: 17px; height: 17px; min-width: 17px; border-radius: 4px; border: 1px solid var(--navy-border); background: var(--navy-dark); padding: 0; cursor: pointer; accent-color: var(--orange); margin-top: 1px; }
.form-link { color: var(--orange); }
.form-note { display: flex; align-items: center; gap: 5px; font-size: 0.73rem; color: var(--text-muted); line-height: 1.5; margin-top: 8px; }
.form-note svg { flex-shrink: 0; width: 13px; height: 13px; }
.form-note a { color: var(--orange); font-weight: 600; }
.form-success { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.3); border-radius: var(--r-md); padding: 26px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.form-success[hidden] { display: none; }
.form-success-icon { color: var(--success); width: 40px; height: 40px; }
.form-success h3 { font-size: 1.15rem; color: var(--success); }
.form-success p { font-size: 0.875rem; }
.form-success a { color: var(--orange); font-weight: 700; }
.form-error-msg { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.3); border-radius: var(--r-md); padding: 14px; }
.form-error-msg[hidden] { display: none; }
.form-error-msg p { font-size: 0.85rem; color: var(--error); }
.form-error-msg a { color: var(--orange); font-weight: 600; }
#submit-btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ── FINAL CTA ───────────────────────────────────────────── */
.final-cta-section { background: linear-gradient(135deg,var(--navy-darkest) 0%,var(--navy) 100%); border-top: 3px solid var(--orange); text-align: center; }
.final-cta-section h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); margin-bottom: 18px; }
.final-cta-section > .container > p { font-size: 1rem; color: var(--text-body); max-width: 620px; margin: 0 auto 32px; }
.final-cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 22px; }
.final-trust-line { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--navy-darkest); border-top: 1px solid var(--navy-border); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; margin-bottom: 44px; }
@media(min-width:640px){ .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1040px){ .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-img { width: 42px; height: 42px; object-fit: contain; border-radius: 50%; }
.footer-logo-name { font-size: 0.95rem; font-weight: 800; color: var(--white); display: block; }
.footer-logo-tag  { font-size: 0.62rem; color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-tagline { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; }
.footer-tagline em { color: var(--orange); font-style: normal; font-weight: 600; }
.footer-contact-stack { display: flex; flex-direction: column; gap: 6px; }
.f-phone { font-size: 1.05rem; font-weight: 800; color: var(--orange); }
.f-email,.f-web  { font-size: 0.8rem; color: var(--text-muted); }
.footer-col h3 { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 0.81rem; color: var(--text-muted); transition: color 0.14s; line-height: 1.4; }
.footer-col ul a:hover { color: var(--orange); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.f-badge { font-size: 0.68rem; font-weight: 700; color: var(--text-muted); background: var(--navy); border: 1px solid var(--navy-border); border-radius: 4px; padding: 4px 9px; }
.footer-bottom { border-top: 1px solid var(--navy-border); padding-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.footer-bottom p { font-size: 0.76rem; color: var(--text-muted); }
.footer-bottom a { color: var(--orange); }
.footer-seo { font-size: 0.68rem !important; color: var(--navy-light) !important; }

/* ── MOBILE STICKY CTA ───────────────────────────────────── */
.mobile-sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; padding: 10px 14px; padding-bottom: max(10px,env(safe-area-inset-bottom)); background: rgba(10,21,32,0.97); border-top: 1px solid rgba(232,89,10,0.3); backdrop-filter: blur(14px); }
@media(min-width:768px){ .mobile-sticky-cta { display: none; } }
.mobile-call-btn { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--orange); color: var(--white); font-weight: 800; font-size: 0.97rem; border-radius: var(--r-md); padding: 13px 20px; width: 100%; transition: background 0.15s; box-shadow: var(--sh-orange); }
.mobile-call-btn:hover { background: var(--orange-dark); }
.mobile-call-btn svg { width: 20px; height: 20px; }

/* ── COOKIE BANNER ───────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1100;
  background: var(--navy); border-top: 2px solid var(--orange);
  padding: 16px 20px; box-shadow: 0 -4px 24px rgba(0,0,0,0.5);
  transform: translateY(100%); transition: transform 0.35s var(--ease);
}
.cookie-banner.visible { transform: translateY(0); }
@media(min-width:768px){ .cookie-banner { padding-bottom: 16px; } }
@media(max-width:767px){ .cookie-banner { bottom: 60px; } }
.cookie-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.cookie-text { flex: 1; font-size: 0.82rem; color: var(--text-body); min-width: 200px; line-height: 1.5; }
.cookie-text a { color: var(--orange); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-accept { background: var(--orange); color: var(--white); border: none; border-radius: var(--r-sm); padding: 9px 20px; font-family: inherit; font-size: 0.84rem; font-weight: 700; cursor: pointer; transition: background 0.14s; }
.cookie-accept:hover { background: var(--orange-dark); }
.cookie-decline { background: transparent; color: var(--text-muted); border: 1px solid var(--navy-border); border-radius: var(--r-sm); padding: 9px 16px; font-family: inherit; font-size: 0.84rem; cursor: pointer; transition: color 0.14s; }
.cookie-decline:hover { color: var(--text-primary); }

/* ── AI CHAT WIDGET ──────────────────────────────────────── */
.chat-widget { position: fixed; bottom: 88px; right: 20px; z-index: 950; }
@media(min-width:768px){ .chat-widget { bottom: 24px; } }
.chat-toggle-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--orange); color: var(--white); border: none;
  cursor: pointer; box-shadow: var(--sh-orange);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s var(--ease), background 0.14s;
  position: relative;
}
.chat-toggle-btn:hover { background: var(--orange-dark); transform: scale(1.06); }
.chat-toggle-btn svg { width: 26px; height: 26px; }
.chat-toggle-label { display: none; }
.chat-badge { position: absolute; top: -2px; right: -2px; background: #EF4444; color: #fff; width: 18px; height: 18px; border-radius: 50%; font-size: 0.65rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.chat-panel {
  position: absolute; bottom: 68px; right: 0;
  width: 320px; background: var(--navy);
  border: 1px solid var(--navy-border); border-radius: var(--r-xl);
  box-shadow: var(--sh-lg); overflow: hidden;
  transform: scale(0.92) translateY(16px); transform-origin: bottom right;
  opacity: 0; pointer-events: none;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}
@media(max-width:400px){ .chat-panel { width: 290px; } }
.chat-panel.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }
.chat-header { background: var(--orange); padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.chat-header-av { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; }
.chat-header-av svg { width: 20px; height: 20px; color: var(--white); }
.chat-header-info { flex: 1; }
.chat-header-name { font-size: 0.9rem; font-weight: 700; color: var(--white); }
.chat-header-status { font-size: 0.68rem; color: rgba(255,255,255,0.8); }
.chat-close { background: none; border: none; color: rgba(255,255,255,0.8); cursor: pointer; padding: 4px; border-radius: 4px; }
.chat-close:hover { color: var(--white); }
.chat-close svg { width: 18px; height: 18px; }
.chat-messages { height: 240px; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--navy-border); border-radius: 2px; }
.chat-msg { max-width: 85%; }
.chat-msg-bot { align-self: flex-start; }
.chat-msg-user { align-self: flex-end; }
.chat-bubble {
  padding: 9px 13px; border-radius: 14px;
  font-size: 0.82rem; line-height: 1.5;
}
.chat-msg-bot .chat-bubble { background: var(--navy-mid); color: var(--text-primary); border-bottom-left-radius: 4px; }
.chat-msg-user .chat-bubble { background: var(--orange); color: var(--white); border-bottom-right-radius: 4px; }
.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.quick-reply-btn { background: var(--navy-mid); color: var(--orange); border: 1px solid rgba(232,89,10,0.3); border-radius: var(--r-full); font-size: 0.72rem; font-weight: 600; padding: 5px 11px; cursor: pointer; font-family: inherit; transition: background 0.14s; }
.quick-reply-btn:hover { background: var(--orange-pale); }
.chat-input-area { padding: 10px 12px; border-top: 1px solid var(--navy-border); display: flex; gap: 8px; align-items: center; }
.chat-input { flex: 1; background: var(--navy-dark); border: 1px solid var(--navy-border); border-radius: var(--r-full); padding: 8px 14px; color: var(--white); font-family: inherit; font-size: 0.82rem; }
.chat-input:focus { outline: none; border-color: var(--orange); }
.chat-input::placeholder { color: var(--text-muted); }
.chat-send { background: var(--orange); border: none; border-radius: 50%; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: background 0.14s; }
.chat-send:hover { background: var(--orange-dark); }
.chat-send svg { width: 16px; height: 16px; color: var(--white); }
.chat-call-bar { background: var(--orange-pale); border-top: 1px solid rgba(232,89,10,0.2); padding: 10px 14px; text-align: center; }
.chat-call-bar a { font-size: 0.8rem; font-weight: 700; color: var(--orange); display: flex; align-items: center; justify-content: center; gap: 6px; }
.chat-call-bar svg { width: 14px; height: 14px; }

/* ── TYPING INDICATOR ────────────────────────────────────── */
@keyframes typingBounce { 0%,80%,100%{transform:translateY(0);opacity:0.4} 40%{transform:translateY(-5px);opacity:1} }
.typing-dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--orange); animation:typingBounce 1.2s infinite; }
.typing-dot:nth-child(2){animation-delay:0.2s}
.typing-dot:nth-child(3){animation-delay:0.4s}

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
@keyframes slideLeft { from { opacity:0; transform:translateX(36px); } to { opacity:1; transform:translateX(0); } }
.anim-fade-up   { opacity:0; }
.anim-slide-left{ opacity:0; }
.anim-fade-up.visible   { animation: fadeUp   0.6s var(--ease) forwards; }
.anim-slide-left.visible{ animation: slideLeft 0.65s var(--ease) 0.25s forwards; }
.d1 { animation-delay: 0.08s !important; }
.d2 { animation-delay: 0.16s !important; }
.d3 { animation-delay: 0.26s !important; }
.d4 { animation-delay: 0.38s !important; }
@media(prefers-reduced-motion:reduce){ .anim-fade-up,.anim-slide-left { opacity:1!important; animation:none!important; } }

/* ── BEFORE / AFTER SLIDER ───────────────────────────────── */
.before-after-section {
  background: var(--navy-darkest);
  border-top: 1px solid var(--navy-border);
  overflow: hidden;
}
.before-after-section .section-header {
  margin-bottom: 0;
  padding-bottom: 40px;
}
.ba-slider-wrap {
  margin-left: -20px;
  margin-right: -20px;
}
@media(min-width:768px)  { .ba-slider-wrap { margin-left: -32px; margin-right: -32px; } }
@media(min-width:1280px) { .ba-slider-wrap { margin-left: -40px; margin-right: -40px; } }

/* Edge fades on desktop */
@media(min-width:1024px) {
  .ba-slider-wrap::before,
  .ba-slider-wrap::after {
    content: ''; position: absolute; top: 0; bottom: 68px; z-index: 10;
    width: 60px; pointer-events: none;
  }
  .ba-slider-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--navy-darkest) 20%, transparent 100%);
  }
  .ba-slider-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--navy-darkest) 20%, transparent 100%);
  }
}

/* Reuse .gallery-slider track styles, override widths via .ba-slider */
/* align-items intentionally kept at flex-start (inherited) to avoid circular height dependency */
.ba-slider-wrap { position: relative; }

/* Each BA slide — wider card showing both images side by side */
.ba-slide {
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 560px;
  max-width: calc(100vw - 40px);
  height: 320px;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: var(--navy);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5), 0 1px 4px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: row;
  align-items: stretch;  /* stretch halves to slide height */
  cursor: default;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
@media(min-width:600px)  { .ba-slide { height: 340px; } }
@media(min-width:900px)  { .ba-slide { width: 660px; height: 360px; } }
@media(min-width:1200px) { .ba-slide { width: 740px; height: 380px; } }

/* Each half — flex, NOT absolutely positioned, so parent height works */
.ba-half {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  overflow: hidden;
}
.ba-half img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
}
.ba-slide:hover .ba-half img { transform: scale(1.04); }

/* Subtle bottom gradient overlaid on top of the img */
.ba-half-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,12,20,0.65) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}

/* Vertical divider line between before/after */
.ba-divider {
  width: 2px;
  flex-shrink: 0;
  background: linear-gradient(to bottom, transparent 8%, rgba(255,255,255,0.18) 30%, rgba(255,255,255,0.18) 70%, transparent 92%);
  z-index: 3;
}

/* Before / After badge labels */
.ba-label {
  position: absolute;
  top: 14px;
  z-index: 4;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.ba-label-before {
  left: 12px;
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
}
.ba-label-after {
  right: 12px;
  background: var(--orange);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Caption bar — absolute bottom, spans full slide width */
.ba-caption-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 18px 18px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(to top, rgba(5,12,20,0.92) 0%, transparent 100%);
  pointer-events: none;
}

/* ── YELP TRUST SECTION ───────────────────────────────────── */
.yelp-section {
  background: var(--navy-dark);
  border-top: 1px solid var(--navy-border);
  padding: 64px 0;
}
.yelp-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
@media(min-width:768px) {
  .yelp-inner {
    flex-direction: row;
    text-align: left;
    gap: 36px;
    align-items: flex-start;
  }
}
.yelp-logo-wrap { flex-shrink: 0; }
.yelp-logo-svg { width: 56px; height: 56px; border-radius: 12px; display: block; }
.yelp-content { flex: 1; }
.yelp-stars {
  font-size: 1.2rem;
  color: #d32323;
  letter-spacing: 2px;
  margin-bottom: 10px;
  line-height: 1;
}
.yelp-quote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.65;
  margin: 0 0 10px;
  padding: 0;
  border: none;
}
.yelp-attribution {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}
.yelp-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 8px;
  background: transparent;
  border: 1.5px solid #d32323;
  color: #d32323;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s;
  flex-shrink: 0;
  align-self: center;
}
.yelp-cta:hover {
  background: #d32323;
  color: #fff;
  transform: translateY(-2px);
}
@media(max-width:767px) { .yelp-cta { margin-top: 4px; } }

/* ── CERT SECTION — CSIA conference photo ────────────────── */
.cert-item-photo {
  position: relative;
  gap: 0 !important;
}
.cert-conference-photo {
  width: 120px !important;
  height: 80px !important;
  object-fit: cover !important;
  object-position: center top;
  border-radius: 8px;
  border: 1px solid var(--navy-border);
  filter: none !important;
}
.cert-badge-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.cert-badge-inline {
  height: 40px !important;
  width: auto;
  object-fit: contain;
}
.cert-badge-overlay span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── MOBILE CHAT: bottom-sheet v5 (iOS Safari safe) ─────── */
@media(max-width:767px){
  /* Full-width sheet slides up from below viewport edge */
  .chat-panel {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    /* dvh = dynamic viewport height — respects iOS browser chrome */
    max-height: 90dvh;
    border-radius: 20px 20px 0 0;
    border: none;
    border-top: 2px solid var(--orange);
    transform: translateY(100%) !important;
    transform-origin: bottom center;
    opacity: 1 !important;
    pointer-events: none;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    /* Smooth slide + keyboard-nudge transition */
    transition: transform 0.28s cubic-bezier(0.32,0.72,0,1),
                bottom 0.12s linear,
                max-height 0.12s linear !important;
  }
  .chat-panel.open {
    transform: translateY(0) !important;
    pointer-events: auto;
  }
  /* Messages: flex-fill, contains scroll, smooth on iOS */
  .chat-messages {
    flex: 1 1 0% !important;
    height: 0 !important;
    min-height: 80px;
    max-height: none !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  /* Input row never shrinks */
  .chat-input-area { flex-shrink: 0; }
  /* Safe-area for iPhone home-indicator notch */
  .chat-call-bar {
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    flex-shrink: 0;
  }
  /* Hide toggle when sheet is open — close button inside is enough */
  body.chat-open .chat-toggle-btn { display: none; }
  /* Sticky CTA hides behind open sheet */
  body.chat-open .mobile-sticky-cta { display: none !important; }
  /* Scroll lock handled in JS (position:fixed approach for iOS) */
  body.chat-open { overflow: hidden; touch-action: none; }

  /* Semi-transparent backdrop with subtle blur */
  body.chat-open::before {
    content: '';
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1199;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }
}

/* ── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-dark); }
::-webkit-scrollbar-thumb { background: var(--navy-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ── PREVENT HORIZONTAL SCROLL (all devices) ─────────────── */
html, body { overflow-x: hidden; max-width: 100%; }

@media(max-width:767px){ body { padding-bottom: 62px; } }

/* ── MOBILE UX FIXES v3 ──────────────────────────────────── */
@media(max-width:767px){

  /* 1a. Urgency banner — push fully below the fixed header */
  .urgency-banner {
    margin-top: var(--header-h);
  }

  /* 1b. Hero — urgency-banner handles header offset; align left */
  .hero {
    align-items: flex-start;
    padding-top: 0;
  }
  .hero-content {
    padding: 56px 20px 80px;
  }
  .hero-headline { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero-sub      { font-size: 0.97rem; margin-bottom: 28px; max-width: 100%; }

  /* 2. Section headers — prevent left-side clip, tighter bottom gap */
  .section-header {
    margin-bottom: 32px;
    padding: 0 2px;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* 3. Trust bar stats — smaller on mobile */
  .trust-bar         { padding: 14px 0; }
  .trust-bar-grid    { gap: 10px 18px; }
  .trust-stat-num    { font-size: 1.2rem; }
  .trust-stat-lbl    { font-size: 0.62rem; }

  /* 4. Why-us stat cards — reduce padding + number size */
  .why-grid          { gap: 32px; }
  .why-stats-row     { gap: 8px; }
  .why-stat-card     { padding: 12px 10px; }
  .why-stat-num      { font-size: 1.25rem; }
  .why-stat-lbl      { font-size: 0.62rem; }

  /* 5. Cookie banner — compact single-row so it takes ~44px not 100px+ */
  .cookie-banner {
    bottom: 62px;           /* sits directly above sticky call bar */
    padding: 9px 12px;
  }
  .cookie-inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
  }
  .cookie-text {
    font-size: 0.73rem;
    min-width: 0;
    line-height: 1.3;
    /* Clamp to 2 lines so banner stays slim */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .cookie-actions    { flex-wrap: nowrap; flex-shrink: 0; gap: 6px; }
  .cookie-accept     { padding: 7px 12px; font-size: 0.76rem; }
  .cookie-decline    { padding: 7px 10px; font-size: 0.76rem; }

  /* 6. Chat widget — pill style on mobile, above sticky bar */
  .chat-widget { bottom: 76px; right: 14px; }
  .chat-toggle-btn {
    width: auto; height: 44px; border-radius: 9999px;
    padding: 0 16px 0 12px; gap: 7px;
  }
  .chat-toggle-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
  .chat-toggle-label {
    display: inline; font-size: 0.85rem; font-weight: 700;
    letter-spacing: 0.01em; line-height: 1;
  }
  .chat-badge { top: -3px; right: -3px; }

  /* 7. Turnstile widget — constrain width on narrow screens */
  #form-turnstile { max-width: 300px; }
  .turnstile-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: block;
  }
}
