/* ============================================
   707 HOME SERVICES — MASTER STYLESHEET v1.0
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; font-size: 1rem; line-height: 1.7; color: #1E293B; background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .3s; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ===== DESIGN TOKENS ===== */
:root {
  --primary: #0F172A;
  --accent: #F97316;
  --accent-dark: #EA580C;
  --secondary: #38BDF8;
  --secondary-dark: #0EA5E9;
  --bg-gray: #F8FAFC;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --success: #22C55E;
  --danger: #EF4444;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.20);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: .3s ease;
  --container-max: 1280px;
}

/* ===== CONTAINER ===== */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: var(--accent); color: #fff; text-align: center;
  padding: .6rem 3rem .6rem 1rem; font-size: .875rem; font-weight: 600;
  position: relative; z-index: 1001;
}
.announcement-bar a { color: #fff; font-weight: 700; text-decoration: underline; }
.dismiss-btn {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff; font-size: 1.1rem; padding: .25rem; line-height: 1;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--primary); position: sticky; top: 0; z-index: 1000;
  height: 80px; display: flex; align-items: center;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
/* Tighter side padding inside the header so everything fits at all widths */
.site-header .container { padding: 0 1.25rem; }
@media (min-width: 1440px) { .site-header .container { padding: 0 2rem; } }
.header-inner {
  display: grid;
  grid-template-columns: min-content 1fr min-content;
  align-items: center;
  width: 100%;
  gap: 1rem;
}
.header-cta { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; justify-content: flex-end; white-space: nowrap; }
.logo { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; min-width: 0; }
.logo-icon { width: 40px; height: 40px; background: var(--accent); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.logo-name { font-size: 1rem; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.logo-tagline { font-size: .65rem; color: var(--secondary); font-weight: 500; }
/* NAV — hidden on mobile, shown from 1200px */
.main-nav { display: none; }
@media (min-width: 1200px) {
  .main-nav { display: flex; align-items: center; justify-content: center; gap: 0; }
  .main-nav a { color: rgba(255,255,255,.85); font-size: .78rem; font-weight: 500; padding: .45rem .42rem; border-radius: var(--radius-sm); transition: all var(--transition); white-space: nowrap; display: flex; align-items: center; gap: .18rem; }
  .main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(255,255,255,.1); }
  .main-nav a.emergency-link { color: #FCA5A5; }
  .main-nav a.emergency-link:hover { background: rgba(239,68,68,.2); }
}
@media (min-width: 1360px) {
  .main-nav a { font-size: .875rem; padding: .45rem .6rem; }
}
@media (min-width: 1500px) {
  .main-nav a { font-size: .95rem; padding: .5rem .75rem; }
}
/* Phone in CTA — only at 1360px+ to avoid cramping */
.header-phone { display: none; color: #fff; font-weight: 700; font-size: .8rem; align-items: center; gap: .3rem; white-space: nowrap; }
@media (min-width: 1360px) { .header-phone { display: flex; } }
.header-phone:hover { color: var(--accent); }
/* Compact logo below 1200px */
@media (min-width: 1024px) and (max-width: 1199px) {
  .logo-name { font-size: .85rem; }
  .logo-tagline { display: none; }
}
.btn-free-estimate {
  display: none;
  background: var(--accent); color: #fff; padding: .55rem 1rem;
  border-radius: var(--radius-sm); font-weight: 700; font-size: .82rem;
  transition: all var(--transition); white-space: nowrap; border: none;
}
@media (min-width: 1200px) { .btn-free-estimate { display: inline-flex; } }
.btn-free-estimate:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(249,115,22,.4); }
.hamburger { display: flex; flex-direction: column; gap: 5px; padding: .5rem; background: none; border: none; }
@media (min-width: 1200px) { .hamburger { display: none; } }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: all var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--primary); z-index: 999;
  padding: 6rem 2rem 2rem; flex-direction: column; gap: .5rem; overflow-y: auto;
}
.mobile-menu.active { display: flex; }
.mobile-menu a { color: #fff; font-size: 1.2rem; font-weight: 600; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.close-menu { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 2rem; }

/* Mobile float call */
.mobile-call-btn {
  position: fixed; bottom: 1.5rem; right: 1.5rem; background: var(--accent); color: #fff;
  width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; box-shadow: var(--shadow-xl); z-index: 998;
  animation: pulse-ring 2s infinite;
}
@media (min-width: 1024px) { .mobile-call-btn { display: none; } }
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(249,115,22,.7); }
  70% { box-shadow: 0 0 0 15px rgba(249,115,22,0); }
  100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
}

/* ===== HERO ===== */
.hero {
  background: var(--primary);
  background-image: url('https://images.unsplash.com/photo-1732395805034-e0bf859665e5?w=1600&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center top;
  min-height: auto; padding: 0.75rem 0 1.25rem; display: flex; align-items: flex-start; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(15,23,42,.92) 55%, rgba(15,23,42,.6) 100%);
  z-index: 0;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(249,115,22,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(249,115,22,.04) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 820px; padding: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(249,115,22,.15); border: 1px solid rgba(249,115,22,.3);
  color: var(--accent); padding: .4rem 1rem; border-radius: 100px; font-size: .875rem;
  font-weight: 600; margin-bottom: 1.5rem;
}
.hero h1 { font-size: clamp(2rem,5vw,3.75rem); font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -1px; }
.hero h1 .typewriter-text { color: var(--accent); }
.hero-sub { font-size: clamp(1rem,2vw,1.2rem); color: rgba(255,255,255,.75); margin-bottom: 2.5rem; max-width: 600px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.btn-primary {
  background: var(--accent); color: #fff; padding: .875rem 2rem; border-radius: var(--radius-md);
  font-weight: 700; font-size: 1rem; display: inline-flex; align-items: center; gap: .5rem;
  transition: all var(--transition); border: 2px solid transparent;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(249,115,22,.45); }
.btn-outline {
  background: transparent; color: #fff; padding: .875rem 2rem; border-radius: var(--radius-md);
  font-weight: 700; font-size: 1rem; display: inline-flex; align-items: center; gap: .5rem;
  border: 2px solid rgba(255,255,255,.4); transition: all var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-2px); }
.hero-meta { display: flex; align-items: center; gap: 1.5rem; color: rgba(255,255,255,.6); font-size: .875rem; flex-wrap: wrap; }
.hero-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.4); }
.hero-meta strong { color: var(--accent); }
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.4); animation: bounce 2s infinite; font-size: 1.5rem; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

/* ===== TRUST BAR ===== */
.trust-bar { background: #3d1f1f; padding: 1.5rem 0; border-bottom: 2px solid rgba(255,255,255,.1); box-shadow: var(--shadow-sm); }
.trust-bar-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
@media (min-width: 640px) { .trust-bar-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .trust-bar-grid { grid-template-columns: repeat(6,1fr); } }
.trust-badge { display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; color: #fff; }
.trust-badge-icon { font-size: 1.2rem; }

/* ===== SECTIONS ===== */
section { padding: 5rem 0; }
.section-tag {
  display: inline-block; background: rgba(249,115,22,.1); color: var(--accent);
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: .3rem .75rem; border-radius: 100px; margin-bottom: .75rem;
}
.section-title { font-size: clamp(1.75rem,3.5vw,2.75rem); font-weight: 800; color: var(--text-dark); line-height: 1.2; margin-bottom: 1rem; letter-spacing: -.5px; }
.section-title.light { color: #fff; }
.section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; margin-bottom: 3rem; }
.section-sub.light { color: rgba(255,255,255,.75); }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ===== EMERGENCY BANNER ===== */
.emergency-banner {
  background: linear-gradient(135deg,#7F1D1D,#B91C1C,#EF4444);
  padding: 4rem 0; text-align: center; position: relative; overflow: hidden;
}
.emergency-banner::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg,rgba(255,255,255,.02),rgba(255,255,255,.02) 1px,transparent 1px,transparent 10px);
}
.emergency-banner h2 { font-size: clamp(1.75rem,4vw,3rem); font-weight: 900; color: #fff; margin-bottom: .75rem; position: relative; }
.emergency-banner p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 2rem; position: relative; }
.btn-emergency {
  background: #fff; color: #B91C1C; padding: 1rem 2.5rem; border-radius: var(--radius-md);
  font-weight: 800; font-size: 1.2rem; display: inline-flex; align-items: center; gap: .5rem;
  transition: all var(--transition); margin-bottom: 1.5rem; position: relative;
}
.btn-emergency:hover { transform: scale(1.05); box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.emergency-counter { color: rgba(255,255,255,.7); font-size: .875rem; font-weight: 600; position: relative; }

/* ===== SERVICE CARDS ===== */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3,1fr); } }
.service-card {
  background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-md);
  border: 1px solid var(--border); transition: all var(--transition); display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--accent); }
.service-card-icon { width: 56px; height: 56px; background: rgba(249,115,22,.1); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; margin-bottom: 1.25rem; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .75rem; }
.service-card p { color: var(--text-muted); font-size: .9rem; flex: 1; margin-bottom: 1.25rem; }
.service-card-link { color: var(--accent); font-weight: 700; font-size: .875rem; display: flex; align-items: center; gap: .25rem; transition: gap var(--transition); }
.service-card-link:hover { gap: .5rem; }

/* ===== ESTIMATOR ===== */
.estimator-section { background: var(--bg-gray); }
.estimator-tool { background: #fff; border-radius: var(--radius-xl); padding: 2.5rem; box-shadow: var(--shadow-xl); border: 1px solid var(--border); max-width: 720px; margin: 0 auto; }
.estimator-selects { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .estimator-selects { grid-template-columns: repeat(3,1fr); } }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); }
.form-group select, .form-group input, .form-group textarea {
  padding: .75rem 1rem; border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--text-dark); transition: border-color var(--transition); background: #fff; width: 100%;
}
.form-group select:focus, .form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.estimate-result { background: linear-gradient(135deg,#F0FFF4,#DCFCE7); border: 2px solid var(--success); border-radius: var(--radius-md); padding: 1.5rem; display: none; }
.estimate-result.visible { display: block; }
.estimate-result .cost-range { font-size: 1.75rem; font-weight: 900; color: #15803D; }
.estimate-result .cost-disclaimer { font-size: .8rem; color: #166534; margin-top: .25rem; }

/* ===== ZIP CHECKER ===== */
.zip-checker-section { background: var(--primary); padding: 5rem 0; }
.zip-checker-inner { max-width: 500px; margin: 0 auto; text-align: center; }
.zip-input-group { display: flex; gap: .75rem; margin: 2rem 0; }
.zip-input-group input {
  flex: 1; padding: 1rem 1.25rem; border: 2px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md); background: rgba(255,255,255,.08); color: #fff;
  font-size: 1.1rem; text-align: center; letter-spacing: 3px; font-weight: 700;
}
.zip-input-group input::placeholder { color: rgba(255,255,255,.4); letter-spacing: 0; font-weight: 400; }
.zip-input-group input:focus { outline: none; border-color: var(--accent); }
.zip-result { padding: 1rem 1.5rem; border-radius: var(--radius-md); font-weight: 700; font-size: 1rem; display: none; margin-bottom: 1.5rem; }
.zip-result.success { background: rgba(34,197,94,.15); border: 2px solid #22C55E; color: #22C55E; display: block; }
.zip-result.error { background: rgba(239,68,68,.15); border: 2px solid #EF4444; color: #FCA5A5; display: block; }

/* ===== WHY CHOOSE US ===== */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4,1fr); } }
.why-card { text-align: center; padding: 2rem 1.5rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); transition: transform var(--transition); }
.why-card:hover { transform: translateY(-4px); }
.why-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.why-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.why-card p { color: var(--text-muted); font-size: .9rem; }

/* ===== STATS ===== */
.stats-section {
  background: var(--primary);
  background-image: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1600&q=60&auto=format&fit=crop');
  background-size: cover; background-position: center;
  position: relative;
  padding: 4rem 0;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(15,23,42,.85);
}
.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; position: relative; z-index: 1; }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(5,1fr); } }
.stat-item { text-align: center; padding: 1.5rem; }
.stat-number { font-size: clamp(2rem,4vw,3rem); font-weight: 900; color: var(--accent); font-family: monospace; line-height: 1; margin-bottom: .5rem; }
.stat-label { color: rgba(255,255,255,.7); font-size: .875rem; font-weight: 500; }

/* ===== TECHNICIAN CARDS ===== */
.tech-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .tech-grid { grid-template-columns: repeat(3,1fr); } }
.tech-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: all var(--transition); }
.tech-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.tech-photo {
  height: 200px;
  background: linear-gradient(135deg,#CBD5E1,#94A3B8);
  display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem; position: relative; overflow: hidden;
}
.tech-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
}
.tech-specialty-badge { position: absolute; top: 1rem; right: 1rem; background: var(--accent); color: #fff; padding: .25rem .75rem; border-radius: 100px; font-size: .75rem; font-weight: 700; }
.tech-info { padding: 1.5rem; }
.tech-name { font-size: 1.1rem; font-weight: 800; margin-bottom: .25rem; }
.tech-nickname { color: var(--accent); font-size: .875rem; font-weight: 600; margin-bottom: .75rem; }
.tech-certs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
.tech-cert { background: rgba(56,189,248,.1); color: var(--secondary-dark); padding: .2rem .6rem; border-radius: 100px; font-size: .7rem; font-weight: 600; }
.tech-exp, .tech-fun-fact { font-size: .8rem; color: var(--text-muted); margin-bottom: .35rem; }
.tech-fun-fact { font-style: italic; }
.tech-rating { display: flex; align-items: center; gap: .5rem; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--border); font-size: .875rem; font-weight: 700; }
.stars { color: #FBBF24; }

/* ===== REVIEWS CAROUSEL ===== */
.reviews-section { background: var(--bg-gray); overflow: hidden; }
.reviews-carousel { overflow: hidden; position: relative; }
.reviews-track { display: flex; gap: 1.5rem; animation: scroll-reviews 40s linear infinite; width: max-content; padding-bottom: 1rem; }
.reviews-track:hover { animation-play-state: paused; }
@keyframes scroll-reviews { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.review-card { background: #fff; border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-md); min-width: 320px; max-width: 320px; border: 1px solid var(--border); }
.review-header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.reviewer-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,var(--accent),var(--secondary)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.reviewer-name { font-weight: 700; font-size: .9rem; }
.reviewer-city { font-size: .75rem; color: var(--text-muted); }
.review-stars { color: #FBBF24; font-size: .875rem; margin-left: auto; }
.review-text { font-size: .875rem; color: var(--text-dark); line-height: 1.6; margin-bottom: 1rem; }
.review-footer { display: flex; align-items: center; justify-content: space-between; font-size: .75rem; color: var(--text-muted); }
.google-badge { display: flex; align-items: center; gap: .25rem; font-weight: 600; }

/* ===== REBATES ===== */
.rebates-section { background: linear-gradient(135deg,#F0FDF4,#DCFCE7); padding: 5rem 0; }
.rebates-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .rebates-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .rebates-grid { grid-template-columns: repeat(4,1fr); } }
.rebate-card { background: #fff; border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-md); border-left: 4px solid var(--success); transition: transform var(--transition); }
.rebate-card:hover { transform: translateY(-4px); }
.rebate-amount { font-size: 1.75rem; font-weight: 900; color: #15803D; margin-bottom: .25rem; }
.rebate-program { font-weight: 700; font-size: .95rem; margin-bottom: .5rem; }
.rebate-desc { font-size: .85rem; color: var(--text-muted); }

/* ===== MEMBERSHIP PLANS ===== */
.plans-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .plans-grid { grid-template-columns: repeat(3,1fr); } }
.plan-card { background: #fff; border-radius: var(--radius-xl); padding: 2.5rem 2rem; box-shadow: var(--shadow-md); border: 2px solid var(--border); text-align: center; transition: all var(--transition); position: relative; }
.plan-card.popular { border-color: var(--accent); transform: scale(1.03); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; padding: .25rem 1rem; border-radius: 100px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.plan-name { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 1rem; }
.plan-price { font-size: 2.5rem; font-weight: 900; color: var(--text-dark); line-height: 1; }
.plan-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.plan-features { text-align: left; margin: 1.5rem 0; display: flex; flex-direction: column; gap: .5rem; }
.plan-feature { display: flex; align-items: center; gap: .5rem; font-size: .875rem; }
.plan-feature::before { content: '✓'; color: var(--success); font-weight: 700; }

/* ===== BEFORE/AFTER SLIDER ===== */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3,1fr); } }
.ba-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: #fff; }
.ba-slider { position: relative; height: 220px; overflow: hidden; cursor: ew-resize; user-select: none; }
.ba-before, .ba-after {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; font-size: 4rem;
}
.ba-before { background: linear-gradient(135deg,#94A3B8,#CBD5E1); }
.ba-before img, .ba-after img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.ba-after { background: linear-gradient(135deg,#38BDF8,#0EA5E9); clip-path: inset(0 50% 0 0); }
.ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; z-index: 10; }
.ba-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center; font-size: .65rem; color: var(--text-dark); font-weight: 800; }
.ba-labels { position: absolute; bottom: .5rem; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 .75rem; pointer-events: none; }
.ba-label { background: rgba(0,0,0,.6); color: #fff; font-size: .7rem; font-weight: 700; padding: .2rem .5rem; border-radius: var(--radius-sm); }
.ba-info { padding: 1.25rem; }
.ba-title { font-weight: 700; font-size: .95rem; margin-bottom: .5rem; }
.ba-meta { display: flex; gap: 1rem; font-size: .8rem; color: var(--text-muted); margin-bottom: .5rem; }
.ba-quote { font-size: .8rem; color: var(--text-muted); font-style: italic; border-left: 3px solid var(--accent); padding-left: .75rem; }

/* ===== AREAS GRID ===== */
.areas-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
@media (min-width: 640px) { .areas-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .areas-grid { grid-template-columns: repeat(7,1fr); } }
.area-card { background: #fff; border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem 1rem; text-align: center; transition: all var(--transition); display: flex; flex-direction: column; align-items: center; }
.area-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.area-icon { font-size: 2rem; margin-bottom: .5rem; }
.area-name { font-weight: 700; font-size: .875rem; margin-bottom: .25rem; }
.area-services { font-size: .68rem; color: var(--text-muted); }
.area-link { display: inline-block; margin-top: .5rem; font-size: .75rem; color: var(--accent); font-weight: 600; }

/* ===== PROMO BANNER ===== */
.promo-banner { background: linear-gradient(135deg,var(--primary),#1E3A5F); padding: 3rem 0; }
.promo-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
@media (min-width: 768px) { .promo-inner { flex-direction: row; justify-content: center; gap: 3rem; } }
.promo-content h3 { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: .25rem; }
.promo-content p { color: rgba(255,255,255,.7); }
.countdown-timer { display: flex; gap: .75rem; }
.countdown-unit { text-align: center; background: rgba(255,255,255,.1); border-radius: var(--radius-sm); padding: .75rem 1rem; min-width: 58px; }
.countdown-number { display: block; font-size: 1.75rem; font-weight: 900; color: var(--accent); font-family: monospace; line-height: 1; }
.countdown-label { font-size: .6rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.5); }

/* ===== REFERRAL ===== */
.referral-inner { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .referral-inner { grid-template-columns: 1fr 1fr; align-items: center; } }
.referral-steps { display: flex; flex-direction: column; gap: 1.5rem; margin: 2rem 0; }
.referral-step { display: flex; gap: 1rem; align-items: flex-start; }
.step-number { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.step-content h4 { font-weight: 700; margin-bottom: .25rem; }
.step-content p { font-size: .9rem; color: var(--text-muted); }
.referral-form-card { background: #fff; border-radius: var(--radius-xl); padding: 2.5rem; box-shadow: var(--shadow-xl); }

/* ===== FINAL CTA ===== */
.final-cta {
  background: linear-gradient(135deg, rgba(249,115,22,.92), rgba(194,65,12,.95)),
              url('https://images.unsplash.com/photo-1501594907352-04cda38ebc29?w=1600&q=60&auto=format&fit=crop');
  background-size: cover; background-position: center;
  padding: 5rem 0; text-align: center;
}
.final-cta h2 { font-size: clamp(1.75rem,4vw,2.75rem); font-weight: 900; color: #fff; margin-bottom: 1rem; }
.final-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin: 2rem 0 1rem; }
.btn-white { background: #fff; color: var(--accent); padding: .875rem 2rem; border-radius: var(--radius-md); font-weight: 700; font-size: 1rem; display: inline-flex; align-items: center; gap: .5rem; transition: all var(--transition); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,.2); }
.btn-outline-white { background: transparent; color: #fff; padding: .875rem 2rem; border-radius: var(--radius-md); font-weight: 700; font-size: 1rem; display: inline-flex; align-items: center; gap: .5rem; border: 2px solid rgba(255,255,255,.6); transition: all var(--transition); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; transform: translateY(-2px); }
.small-print { color: rgba(255,255,255,.7); font-size: .875rem; }

/* ===== FOOTER ===== */
.site-footer { background: var(--primary); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr repeat(4,1fr); } }
.footer-col h4 { color: #fff; font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 2px solid var(--accent); display: inline-block; }
.footer-logo-col p { color: rgba(255,255,255,.6); font-size: .875rem; margin: 1rem 0; }
.footer-license { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.08); border-radius: var(--radius-sm); padding: .4rem .75rem; color: rgba(255,255,255,.7); font-size: .75rem; font-weight: 600; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .875rem; transition: color var(--transition); display: flex; align-items: center; gap: .4rem; }
.footer-links a:hover { color: var(--accent); }
.footer-links a::before { content: '›'; color: var(--accent); }
.footer-contact-info { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-item { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact-icon { color: var(--accent); font-size: 1rem; flex-shrink: 0; margin-top: .1rem; }
.footer-contact-text { color: rgba(255,255,255,.65); font-size: .875rem; }
.footer-contact-text strong { color: #fff; display: block; }
.social-links { display: flex; gap: .75rem; margin-top: 1rem; }
.social-link { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: .95rem; color: rgba(255,255,255,.7); transition: background var(--transition); }
.social-link:hover { background: var(--accent); color: #fff; }
.footer-trust-strip { background: rgba(0,0,0,.2); padding: .75rem 0; text-align: center; color: rgba(255,255,255,.4); font-size: .75rem; font-weight: 600; letter-spacing: 1px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .footer-bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-copyright { color: rgba(255,255,255,.5); font-size: .8rem; }
.footer-legal-links { display: flex; gap: 1.5rem; }
.footer-legal-links a { color: rgba(255,255,255,.5); font-size: .8rem; transition: color var(--transition); }
.footer-legal-links a:hover { color: #fff; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }
.fade-in-delay-5 { transition-delay: .5s; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.5rem; border-radius: var(--radius-md); font-family: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,115,22,.4); }
.full-width { width: 100%; justify-content: center; }

/* ===== BACKGROUNDS ===== */
.bg-gray { background: var(--bg-gray); }
.bg-dark { background: var(--primary); }
.bg-white { background: #fff; }

/* ===== ABOUT PAGE ===== */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom,var(--accent),var(--secondary)); }
.timeline-item { position: relative; margin-bottom: 2.5rem; padding-left: 1.5rem; }
.timeline-item::before { content: ''; position: absolute; left: -2.4rem; top: .4rem; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
.timeline-year { font-size: .8rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: .25rem; }
.timeline-content h4 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.timeline-content p { font-size: .9rem; color: var(--text-muted); }
.guarantee-card { background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-md); border-left: 5px solid var(--success); margin-bottom: 1rem; display: flex; gap: 1.25rem; align-items: flex-start; }
.guarantee-icon { font-size: 2rem; flex-shrink: 0; }
.guarantee-content h3 { font-weight: 700; margin-bottom: .25rem; }
.guarantee-content p { font-size: .9rem; color: var(--text-muted); }
.credentials-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
@media (min-width: 640px) { .credentials-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .credentials-grid { grid-template-columns: repeat(4,1fr); } }
.credential-badge { background: #fff; border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem 1rem; text-align: center; transition: all var(--transition); }
.credential-badge:hover { border-color: var(--secondary); transform: translateY(-2px); }
.credential-icon { font-size: 2.5rem; margin-bottom: .5rem; }
.credential-name { font-size: .8rem; font-weight: 700; }
.community-items { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .community-items { grid-template-columns: repeat(2,1fr); } }
.community-item { background: #fff; border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-md); display: flex; gap: 1rem; }
.community-icon { font-size: 2rem; flex-shrink: 0; }
.community-text h4 { font-weight: 700; margin-bottom: .25rem; }
.community-text p { font-size: .875rem; color: var(--text-muted); }
.discounts-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .discounts-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .discounts-grid { grid-template-columns: repeat(4,1fr); } }
.discount-card { background: #fff; border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center; box-shadow: var(--shadow-md); border-top: 4px solid var(--accent); }
.discount-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.discount-percent { font-size: 2rem; font-weight: 900; color: var(--accent); margin-bottom: .25rem; }
.discount-name { font-weight: 700; font-size: .9rem; margin-bottom: .25rem; }
.discount-desc { font-size: .8rem; color: var(--text-muted); }

/* ===== EMERGENCY PAGE ===== */
.emergency-hero { background: linear-gradient(135deg,#450A0A,#7F1D1D,#991B1B); min-height: 85vh; display: flex; align-items: center; text-align: center; position: relative; overflow: hidden; }
.pulse-ring { position: absolute; width: 400px; height: 400px; border-radius: 50%; border: 2px solid rgba(239,68,68,.3); top: 50%; left: 50%; transform: translate(-50%,-50%); animation: pulse-expand 3s ease-out infinite; }
.pulse-ring:nth-child(2) { animation-delay: 1s; }
.pulse-ring:nth-child(3) { animation-delay: 2s; }
@keyframes pulse-expand { 0% { transform: translate(-50%,-50%) scale(.5); opacity: 1; } 100% { transform: translate(-50%,-50%) scale(2); opacity: 0; } }
.btn-call-emergency { display: inline-flex; align-items: center; gap: .75rem; background: #fff; color: #991B1B; padding: 1.25rem 3rem; border-radius: var(--radius-xl); font-size: 1.5rem; font-weight: 900; transition: all var(--transition); margin-bottom: 1rem; animation: emergency-pulse 1.5s ease-in-out infinite; }
@keyframes emergency-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.4); } 50% { box-shadow: 0 0 0 15px rgba(255,255,255,0); } }
.btn-call-emergency:hover { transform: scale(1.05); }
.emergency-items { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .emergency-items { grid-template-columns: repeat(2,1fr); } }
.emergency-item { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-md); padding: 1.25rem; display: flex; gap: 1rem; align-items: flex-start; color: #fff; }
.emergency-item-icon { font-size: 1.5rem; flex-shrink: 0; }
.emergency-item h4 { font-weight: 700; margin-bottom: .25rem; }
.emergency-item p { font-size: .85rem; color: rgba(255,255,255,.7); }
.response-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .response-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .response-grid { grid-template-columns: repeat(4,1fr); } }
.response-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; }
.response-city { color: var(--secondary); font-weight: 700; margin-bottom: .5rem; }
.response-time { font-size: 2rem; font-weight: 900; color: #fff; font-family: monospace; }
.response-unit { color: rgba(255,255,255,.5); font-size: .8rem; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border); overflow: hidden; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; background: none; border: none; font-family: inherit; font-size: .95rem; font-weight: 600; color: var(--text-dark); cursor: pointer; text-align: left; transition: background var(--transition); }
.faq-question:hover { background: var(--bg-gray); }
.faq-question.active { background: rgba(249,115,22,.05); color: var(--accent); }
.faq-chevron { transition: transform var(--transition); font-size: .875rem; flex-shrink: 0; }
.faq-question.active .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s ease; }
.faq-answer.open { max-height: 500px; padding-bottom: 1.25rem; }
.faq-answer p { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.5fr 1fr; } }
.contact-form-card { background: #fff; border-radius: var(--radius-xl); padding: 2.5rem; box-shadow: var(--shadow-xl); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .form-row.two-col { grid-template-columns: 1fr 1fr; } }
.form-group textarea { resize: vertical; min-height: 120px; }
.urgency-options { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; }
.urgency-btn { padding: .5rem; border: 2px solid var(--border); border-radius: var(--radius-sm); background: #fff; font-family: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; transition: all var(--transition); text-align: center; color: var(--text-dark); }
.urgency-btn:hover, .urgency-btn.active { border-color: var(--accent); background: rgba(249,115,22,.08); color: var(--accent); }
.urgency-btn.emergency-btn.active { border-color: var(--danger); background: rgba(239,68,68,.08); color: var(--danger); }
.btn-submit { background: var(--accent); color: #fff; border: none; padding: 1rem 2.5rem; border-radius: var(--radius-md); font-family: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; width: 100%; transition: all var(--transition); }
.btn-submit:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,115,22,.4); }
.contact-info-card { background: var(--primary); border-radius: var(--radius-xl); padding: 2.5rem; }
.contact-info-card h3 { color: #fff; font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; }
.info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; color: rgba(255,255,255,.8); }
.info-icon { color: var(--accent); font-size: 1.25rem; flex-shrink: 0; margin-top: .1rem; }
.info-text strong { display: block; color: #fff; font-weight: 700; margin-bottom: .2rem; }
.info-text p { font-size: .875rem; }
.after-submit-steps { display: flex; flex-direction: column; gap: 1rem; margin-top: 3rem; }
.after-submit-step { display: flex; gap: 1rem; align-items: flex-start; }
.step-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-text { font-size: .875rem; padding-top: .25rem; }
.step-text strong { display: block; font-weight: 700; }

/* ===== SERVICE PAGES ===== */
.cost-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.cost-table thead { background: var(--primary); color: #fff; }
.cost-table th, .cost-table td { padding: 1rem 1.25rem; text-align: left; font-size: .9rem; }
.cost-table th { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; }
.cost-table tbody tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
.cost-table tbody tr:last-child { border-bottom: none; }
.cost-table tbody tr:hover { background: var(--bg-gray); }
.cost-range { color: #15803D; font-weight: 700; }
.warning-signs { display: grid; gap: 1rem; }
@media (min-width: 640px) { .warning-signs { grid-template-columns: repeat(2,1fr); } }
.warning-sign { background: #FEF2F2; border: 1px solid #FCA5A5; border-radius: var(--radius-md); padding: 1.25rem; display: flex; gap: .75rem; }
.warning-sign-icon { font-size: 1.5rem; flex-shrink: 0; }
.warning-sign h4 { font-weight: 700; font-size: .9rem; margin-bottom: .25rem; color: #991B1B; }
.warning-sign p { font-size: .8rem; color: #B91C1C; }
.brands-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }
.brand-logo { background: #fff; border: 2px solid var(--border); border-radius: var(--radius-md); padding: .75rem 1.5rem; font-weight: 700; font-size: .875rem; color: var(--text-muted); transition: all var(--transition); }
.brand-logo:hover { border-color: var(--secondary); color: var(--secondary-dark); }
.how-it-works { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .how-it-works { grid-template-columns: repeat(3,1fr); } }
.how-step { text-align: center; }
.how-step-number { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.5rem; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.how-step h3 { font-weight: 700; margin-bottom: .5rem; }
.how-step p { font-size: .9rem; color: var(--text-muted); }

/* ===== REVIEWS PAGE ===== */
.review-stars-breakdown { display: flex; flex-direction: column; gap: .5rem; margin: 1.5rem 0; }
.star-row { display: flex; align-items: center; gap: .75rem; }
.star-label { font-size: .8rem; font-weight: 600; white-space: nowrap; width: 40px; }
.star-bar-track { flex: 1; height: 8px; background: var(--border); border-radius: 100px; overflow: hidden; }
.star-bar-fill { height: 100%; background: #FBBF24; border-radius: 100px; }
.star-percent { font-size: .8rem; color: var(--text-muted); width: 35px; text-align: right; }
.filter-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-tab { padding: .5rem 1.25rem; border: 2px solid var(--border); border-radius: 100px; background: #fff; font-family: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; transition: all var(--transition); color: var(--text-dark); }
.filter-tab:hover, .filter-tab.active { border-color: var(--accent); background: var(--accent); color: #fff; }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1200px) { .reviews-grid { grid-template-columns: repeat(3,1fr); } }
.review-card-full { background: #fff; border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.service-tag { display: inline-block; background: rgba(56,189,248,.1); color: var(--secondary-dark); font-size: .7rem; font-weight: 700; padding: .2rem .6rem; border-radius: 100px; margin-bottom: .75rem; }
.case-study-card { background: #fff; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); margin-bottom: 2rem; }
.case-study-header { background: var(--primary); padding: 2rem; color: #fff; }
.case-study-header h3 { font-size: 1.2rem; font-weight: 700; }
.case-study-body { padding: 2rem; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .case-study-body { grid-template-columns: repeat(3,1fr); } }
.case-step h4 { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: .5rem; }
.case-step p { font-size: .9rem; color: var(--text-muted); }
.case-outcome { background: var(--bg-gray); padding: 1rem 1.5rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.case-result { font-weight: 700; color: var(--success); }

/* ===== LOCATION PAGES ===== */
.location-hero { background: var(--primary); padding: 6rem 0 5rem; position: relative; overflow: hidden; }
.location-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(15,23,42,.88) 50%, rgba(15,23,42,.65) 100%); z-index: 0; }
.location-hero .container { position: relative; z-index: 1; }
.location-hero-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .location-hero-inner { grid-template-columns: 1fr 1fr; align-items: center; } }
.location-map-placeholder { height: 300px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(255,255,255,.3); }
.local-knowledge-box { background: linear-gradient(135deg,var(--primary),#1E3A5F); border-radius: var(--radius-xl); padding: 2.5rem; color: #fff; border-left: 5px solid var(--secondary); }
.local-knowledge-box h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; color: var(--secondary); }
.local-knowledge-box p { color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1.8; }

/* ===== VIDEO TESTIMONIALS ===== */
.video-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .video-grid { grid-template-columns: repeat(3,1fr); } }
.video-thumb { background: var(--primary); border-radius: var(--radius-lg); overflow: hidden; position: relative; cursor: pointer; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; transition: transform var(--transition); }
.video-thumb:hover { transform: scale(1.02); }
.play-btn { width: 60px; height: 60px; border-radius: 50%; background: rgba(249,115,22,.9); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff; z-index: 1; transition: all var(--transition); }
.video-thumb:hover .play-btn { background: var(--accent); transform: scale(1.1); }
.video-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(0,0,0,.7) 0%,transparent 50%); }
.video-info { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; color: #fff; }
.video-info h4 { font-size: .9rem; font-weight: 700; }
.video-info p { font-size: .75rem; color: rgba(255,255,255,.7); }

/* ===== PAGE HERO SECTIONS (responsive padding) ===== */
.page-hero { padding: 5rem 0 4rem; }
.page-hero-sm { padding: 4rem 0 3rem; }

/* ===== STORY GRID (About page) ===== */
@media (min-width: 1024px) {
  .story-grid { grid-template-columns: 1fr 1fr !important; }
  .story-owner-card { min-height: 600px; }
  .story-owner-card img { height: 100% !important; min-height: 500px; }
}

/* ===== INLINE BADGE (Location pages) ===== */
.inline-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #3d1f1f; border: 1px solid var(--border);
  color: #fff; padding: .3rem .8rem;
  border-radius: 100px; font-size: .8rem; font-weight: 600;
}

/* ===== TABLE WRAPPER (prevents horizontal overflow on mobile) ===== */
.table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); }

/* ============================================================
   RESPONSIVE — TABLET  (max-width: 1023px)
   ============================================================ */
@media (max-width: 1023px) {
  /* Section spacing */
  section { padding: 4rem 0; }

  /* Stats: 3 cols on tablet instead of jumping 2→5 */
  .stats-grid { grid-template-columns: repeat(3, 1fr); }

  /* Plans: stack nicely, remove scale that causes overflow */
  .plan-card.popular { transform: none; }

  /* Page hero sections */
  .page-hero { padding: 4rem 0 3rem; }
  .page-hero-sm { padding: 3rem 0 2.5rem; }

  /* Referral two-col form card padding */
  .referral-form-card { padding: 2rem; }

  /* Contact form */
  .contact-form-card { padding: 2rem; }

  /* Estimator tool */
  .estimator-tool { padding: 2rem; }

  /* Service page cost table: allow horizontal scroll */
  .cost-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Case study body: 1-col on tablet */
  .case-study-body { grid-template-columns: 1fr; }

  /* Location hero top padding */
  .location-hero { padding: 4.5rem 0 3.5rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE  (max-width: 639px)
   ============================================================ */
@media (max-width: 639px) {
  /* Section spacing: tighter on phones */
  section { padding: 3rem 0; }

  /* Page hero sections */
  .page-hero { padding: 3rem 0 2.5rem; }
  .page-hero-sm { padding: 2.5rem 0 2rem; }

  /* Hero */
  .hero { padding: 3rem 0 2.5rem; }
  .hero-content { padding: 0; }
  .hero h1 { font-size: 2rem; letter-spacing: -.5px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline { width: 100%; justify-content: center; }
  .hero-meta { gap: .75rem; font-size: .8rem; }
  .hero-meta .sep { display: none; }

  /* Announcement bar: smaller padding */
  .announcement-bar { font-size: .78rem; padding: .5rem 2.5rem .5rem .75rem; }

  /* Emergency banner button */
  .btn-emergency { font-size: 1rem; padding: .875rem 1.5rem; }

  /* Emergency hero button */
  .btn-call-emergency { font-size: 1.1rem; padding: 1rem 1.75rem; width: 100%; justify-content: center; }

  /* ZIP checker: stack input + button */
  .zip-input-group { flex-direction: column; }
  .zip-input-group .btn { width: 100%; justify-content: center; }

  /* Stats: keep 2-col on phones */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-item { padding: 1rem .5rem; }

  /* Countdown timer: wrap on very small screens */
  .countdown-timer { flex-wrap: wrap; justify-content: center; gap: .5rem; }
  .countdown-unit { min-width: 52px; padding: .6rem .75rem; }
  .countdown-number { font-size: 1.4rem; }

  /* Plans: single col, remove popular scale */
  .plan-card.popular { transform: none; }
  .plan-card { padding: 2rem 1.5rem; }

  /* Service pages: cost table horizontal scroll */
  .cost-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cost-table th, .cost-table td { padding: .75rem; font-size: .85rem; white-space: nowrap; }

  /* Final CTA buttons */
  .final-cta-btns { flex-direction: column; align-items: center; }
  .final-cta-btns .btn-white,
  .final-cta-btns .btn-outline-white { width: 100%; justify-content: center; max-width: 320px; }

  /* Contact form */
  .contact-form-card { padding: 1.5rem; border-radius: var(--radius-lg); }
  .contact-info-card { padding: 1.5rem; border-radius: var(--radius-lg); }
  .urgency-options { grid-template-columns: 1fr; }

  /* Referral */
  .referral-form-card { padding: 1.5rem; border-radius: var(--radius-lg); }

  /* Estimator */
  .estimator-tool { padding: 1.5rem; border-radius: var(--radius-lg); }

  /* Location hero */
  .location-hero { padding: 4rem 0 3rem; }
  .location-map-placeholder { height: 200px; font-size: 2rem; }

  /* Local knowledge box */
  .local-knowledge-box { padding: 1.75rem; }

  /* Review carousel cards */
  .review-card { min-width: 280px; max-width: 280px; padding: 1.25rem; }

  /* Before/after slider */
  .ba-slider { height: 180px; }

  /* FAQ question font */
  .faq-question { font-size: .875rem; padding: 1rem 1.25rem; }

  /* Footer */
  .footer-legal-links { flex-direction: column; gap: .5rem; }
  .site-footer { padding: 3rem 0 0; }

  /* Section title */
  .section-title { font-size: 1.6rem; }

  /* Service card grid: single column already, just ensure padding */
  .service-card { padding: 1.5rem; }

  /* Tech card photo */
  .tech-photo { height: 160px; }

  /* Plan card popular badge: stays visible */
  .popular-badge { font-size: .7rem; padding: .2rem .75rem; }

  /* Inline badge wrap */
  .inline-badge { font-size: .73rem; padding: .25rem .6rem; }

  /* Promo banner */
  .promo-content h3 { font-size: 1.25rem; }

  /* How it works: already 1-col, just tighten */
  .how-step { padding: 0 .5rem; }

  /* Area cards: 2-col already set, keep */
  .area-card { padding: 1rem .75rem; }
  .area-icon { font-size: 1.5rem; }
}

/* ===== MAP EMBED ===== */
.map-embed { width: 100%; height: 300px; border: 0; border-radius: var(--radius-lg); margin-top: 1rem; }

/* ===== UTILITY ===== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.inline-badge { display: inline-flex; align-items: center; gap: .4rem; background: #3d1f1f; border: 1px solid var(--border); color: #fff; border-radius: 100px; padding: .3rem .8rem; font-size: .8rem; font-weight: 600; }
