/* ==========================================================================
   Double R Renovations — High-Converting & SEO-Optimized Stylesheet
   Services: Interior & Exterior Painting | Bathroom Remodels | Laminate Flooring
   Locations: Austin, TX & Dallas, TX | Phone: (214) 631-9061
   ========================================================================== */

:root {
  /* Brand Palette: Warm Architectural Craftsmanship + High-Contrast Conversion CTAs */
  --bg-primary: #faf8f5;
  --bg-surface: #ffffff;
  --bg-muted: #f1ede6;
  --bg-dark: #141c24;
  --bg-dark-elevated: #1e2936;

  --text-primary: #141c24;
  --text-secondary: #4a5568;
  --text-muted: #6b7280;
  --text-on-dark: #f8fafc;

  /* Accent Colors */
  --accent-primary: #c85a17;       /* Warm Terracotta / Craftsman Amber-Orange for high-converting CTAs */
  --accent-primary-hover: #a9470e;
  --accent-secondary: #1e3a5f;     /* Deep Trustworthy Navy */
  --accent-gold: #d97706;          /* Star Rating & Badge Gold */
  --accent-green: #15803d;         /* Trust / Available / Checkmark Green */

  --border-light: #e5e0d8;
  --border-dark: #2d3b4d;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(20, 28, 36, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 28, 36, 0.09);
  --shadow-lg: 0 20px 40px rgba(20, 28, 36, 0.14);
  --shadow-cta: 0 8px 20px rgba(200, 90, 23, 0.32);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 92%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Skip to content for Accessibility & SEO */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}

/* ==========================================================================
   Top Announcement / Trust Bar
   ========================================================================== */
.top-bar {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  font-size: 0.875rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-dark);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-Perks {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-weight: 500;
}

.top-bar-item strong {
  color: #fff;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar-contact a {
  color: #f8fafc;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-contact a:hover {
  color: #fb923c;
}

/* ==========================================================================
   Sticky Navigation Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition), padding var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--bg-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  border: 2px solid var(--accent-primary);
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  font-weight: 700;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width var(--transition);
}

.main-nav a:hover {
  color: var(--text-primary);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
}

.phone-cta:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
  background: var(--accent-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(200, 90, 23, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border: 2px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  background: var(--bg-muted);
}

.btn-lg {
  padding: 16px 30px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--text-primary);
}

/* ==========================================================================
   Hero Section (Split Layout: High-Impact Value Prop + Instant Quote Form)
   ========================================================================== */
.hero {
  position: relative;
  padding: 64px 0 80px;
  background:
    linear-gradient(110deg, rgba(20, 28, 36, 0.90) 0%, rgba(20, 28, 36, 0.78) 52%, rgba(20, 28, 36, 0.62) 100%),
    url('images/BathMasterB.webp') center/cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fde68a;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero h1 .highlight {
  color: #fb923c;
  text-decoration: underline;
  text-decoration-color: rgba(251, 146, 60, 0.4);
  text-underline-offset: 6px;
}

.hero-lead {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 28px;
  max-width: 620px;
  line-height: 1.65;
}

.hero-service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  color: #ffffff;
}

.service-pill svg {
  color: #fb923c;
  flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fb923c;
}

.trust-metric span {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* Hero Instant Lead Capture Card */
.hero-form-card {
  background: #ffffff;
  color: var(--text-primary);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative;
}

.form-ribbon {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--accent-green);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.hero-form-card h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.hero-form-card p.form-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(200, 90, 23, 0.15);
}

.form-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

/* ==========================================================================
   Trust Banner / Why Homeowners Choose Double R
   ========================================================================== */
.trust-strip {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 28px 0;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff3eb;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.trust-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 88px 0;
}

.section-muted {
  background-color: var(--bg-muted);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  background: #fff3eb;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-dark .eyebrow {
  background: rgba(251, 146, 60, 0.15);
  color: #fb923c;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1.06rem;
  color: var(--text-secondary);
}

.section-dark .section-header p {
  color: #cbd5e1;
}

/* ==========================================================================
   Core 3 Services (Bathroom Remodels, Laminate Flooring, Painting)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-media {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.06);
}

.service-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(20, 28, 36, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}

.service-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.service-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.service-features {
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.service-features li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--accent-green);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.service-footer {
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.price-hint strong {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
}

.service-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  gap: 10px;
}

/* Additional Capabilities Banner (Kitchens & Full Home Remodels) */
.bonus-service-banner {
  margin-top: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 28px;
  box-shadow: var(--shadow-sm);
}

.bonus-service-banner img {
  width: 220px;
  height: 130px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.bonus-service-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.bonus-service-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Interactive Project Cost Estimator (Lead Magnet)
   ========================================================================== */
.estimator-wrapper {
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.calc-step {
  margin-bottom: 26px;
}

.calc-step-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #f8fafc;
  margin-bottom: 12px;
}

.calc-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.calc-option-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border-dark);
  color: #cbd5e1;
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: all var(--transition);
}

.calc-option-btn:hover {
  border-color: #fb923c;
  color: #ffffff;
}

.calc-option-btn.active {
  background: rgba(200, 90, 23, 0.2);
  border-color: #fb923c;
  color: #ffffff;
  box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.25);
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.calc-slider-value {
  font-family: var(--font-display);
  font-weight: 800;
  color: #fb923c;
  font-size: 1.1rem;
}

input[type="range"].calc-range {
  width: 100%;
  accent-color: var(--accent-primary);
  height: 8px;
  border-radius: 4px;
  cursor: pointer;
}

.calc-result-box {
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}

.calc-result-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 700;
}

.calc-price-range {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: #fb923c;
  margin: 10px 0 8px;
}

.calc-timeline {
  font-size: 0.9rem;
  color: #e2e8f0;
  margin-bottom: 20px;
}

.calc-includes {
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.calc-includes li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-includes li::before {
  content: '✓';
  color: #22c55e;
  font-weight: 800;
}

/* ==========================================================================
   Filterable Project Portfolio Gallery (All 14 Real Project Photos)
   ========================================================================== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: var(--shadow-cta);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-dark);
  height: 290px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.35s ease;
}

.portfolio-item:hover img {
  transform: scale(1.07);
  opacity: 0.88;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 28, 36, 0.92) 0%, rgba(20, 28, 36, 0.25) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #ffffff;
}

.portfolio-cat {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fb923c;
  font-weight: 800;
  margin-bottom: 4px;
}

.portfolio-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.portfolio-overlay p {
  font-size: 0.84rem;
  color: #cbd5e1;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 17, 23, 0.92);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  max-width: 960px;
  width: 100%;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20, 28, 36, 0.8);
  color: #ffffff;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap {
  background: #0f172a;
  max-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-height: 68vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-caption {
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   4-Step Renovation Process
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-card {
  background: var(--bg-surface);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  position: relative;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-primary);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.process-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.process-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Customer Testimonials & Social Proof
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.review-card {
  background: var(--bg-surface);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--accent-gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-text {
  font-size: 0.96rem;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.65;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.92rem;
}

.reviewer-project {
  font-size: 0.8rem;
  color: var(--accent-primary);
  font-weight: 600;
}

/* ==========================================================================
   SEO FAQ Accordion Section
   ========================================================================== */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--accent-primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-primary);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Bottom Lead Generation & Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 40px;
  border-radius: var(--radius-lg);
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-info-card p {
  color: #cbd5e1;
  margin-bottom: 28px;
}

.contact-method-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(251, 146, 60, 0.16);
  color: #fb923c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method strong {
  display: block;
  font-size: 0.85rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-method a, .contact-method span {
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
}

.service-areas-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  padding: 20px;
  border-radius: var(--radius-sm);
}

.service-areas-box h4 {
  font-size: 0.9rem;
  color: #fb923c;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.service-areas-box p {
  font-size: 0.86rem;
  color: #cbd5e1;
  margin-bottom: 0;
}

/* ==========================================================================
   Footer (Local SEO Silos & Sitemap Links)
   ========================================================================== */
.site-footer {
  background: #0c1117;
  color: #94a3b8;
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #1e293b;
}

.footer-col h4 {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a:hover {
  color: #fb923c;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

/* Floating Mobile Sticky Bar for High Conversion on Phones */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 10px 16px;
  z-index: 1500;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  gap: 10px;
}

/* Form Success Alert */
.form-success-msg {
  display: none;
  background: #dcfce7;
  border: 1px solid #16a34a;
  color: #14532d;
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.92rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .estimator-wrapper,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .portfolio-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bonus-service-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bonus-service-banner img {
    width: 100%;
    height: 200px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 20px;
    box-shadow: var(--shadow-md);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .header-actions .phone-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .services-grid,
  .portfolio-grid,
  .reviews-grid,
  .trust-strip-grid,
  .process-grid,
  .calc-options,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 0 60px;
  }

  .hero-trust-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mobile-sticky-cta {
    display: flex;
  }

  body {
    padding-bottom: 68px;
  }
}
