/* ==========================================================================
   Lefakane Funerals - Professional Funeral & Cremation Services Website
   Designed & Developed by Eddie Digital Solutions
   Aesthetic: Ultra-Clean Luxury White Editorial
   ========================================================================== */

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

:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Crisp White & Light Neutrals Palette */
  --bg-page: #ffffff;
  --bg-section-alt: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;

  /* Authentic Logo Brand Colors (Used strictly as subtle accents) */
  --brand-navy: #172554;
  --brand-navy-light: #1e3a8a;
  --brand-gold: #c59b27;
  --brand-gold-dark: #a17c18;
  --brand-gold-subtle: #fefce8;

  /* Typography / Content Colors */
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Crisp Borders */
  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-focus: #172554;
  --border-gold-subtle: #fde68a;

  /* Border Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Refined Elevation Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 30px -10px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 20px 40px -15px rgba(15, 23, 42, 0.12), 0 8px 16px -6px rgba(15, 23, 42, 0.06);
  --shadow-floating: 0 20px 50px -12px rgba(15, 23, 42, 0.15);

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s 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;
  background-color: var(--bg-page);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   24/7 Emergency Header Top Bar
   ========================================================================== */
.emergency-top-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

.emergency-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.01em;
}

.emergency-tag a {
  color: var(--brand-navy);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background: #dc2626;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  animation: pulse-red 1.8s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.top-contact-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

.top-btn-link:hover {
  color: var(--brand-navy);
}

.top-whatsapp-link {
  color: #16a34a !important;
  font-weight: 700 !important;
}

.top-whatsapp-link:hover {
  color: #15803d !important;
}

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

.site-header.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  border-radius: var(--radius-xs);
  transition: transform var(--transition-fast);
}

.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.02);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
  line-height: 1.1;
  display: block;
}

.brand-slogan {
  display: block;
  font-size: 0.76rem;
  color: var(--brand-gold);
  font-style: italic;
  margin-top: 2px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-navy);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--brand-navy);
}

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

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   Button System
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-navy {
  background: var(--brand-navy);
  color: #ffffff;
  border-color: var(--brand-navy);
}

.btn-navy:hover {
  background: #0f172a;
  border-color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(23, 37, 84, 0.3);
  color: #ffffff;
}

.btn-gold {
  background: var(--brand-gold);
  color: #ffffff;
  border-color: var(--brand-gold);
}

.btn-gold:hover {
  background: var(--brand-gold-dark);
  border-color: var(--brand-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(197, 155, 39, 0.35);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--bg-section-alt);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
  color: var(--brand-navy);
}

.btn-outline-gold {
  background: #ffffff;
  border: 1px solid var(--brand-gold);
  color: var(--brand-gold-dark);
}

.btn-outline-gold:hover {
  background: var(--brand-gold-subtle);
  transform: translateY(-2px);
  color: var(--brand-gold-dark);
}

.btn-whatsapp {
  background: #16a34a;
  color: #ffffff;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(22, 163, 74, 0.4);
  color: #ffffff;
}

.btn-emergency {
  background: #dc2626;
  color: #ffffff;
  font-weight: 700;
}

.btn-emergency:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(220, 38, 38, 0.4);
  color: #ffffff;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
}

.mobile-nav-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  cursor: pointer;
  padding: 8px 10px;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background: var(--bg-section-alt);
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}

.mobile-nav-toggle .icon-close {
  display: none;
}

.mobile-nav-toggle.active .icon-open {
  display: none;
}

.mobile-nav-toggle.active .icon-close {
  display: block;
}

/* ==========================================================================
   Hero Section - White Pristine Luxury
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 70px 0 90px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-section-alt);
  border: 1px solid var(--border-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 22px;
}

.hero-title span {
  color: var(--brand-navy);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--brand-navy);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Hero Visual Card */
.hero-card-side {
  position: relative;
}

.hero-card-main {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  padding: 10px;
}

.hero-img-wrap {
  position: relative;
  border-radius: calc(var(--radius-xl) - 8px);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-section-alt);
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-card-main:hover .hero-img-wrap img {
  transform: scale(1.03);
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  color: #ffffff;
}

.hero-img-overlay h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.hero-img-overlay p {
  font-size: 0.88rem;
  color: #e2e8f0;
  margin-top: 4px;
}

.hero-badge-floating {
  position: absolute;
  bottom: 25px;
  left: -20px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-floating);
  display: flex;
  align-items: center;
  gap: 14px;
}

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-gold-subtle);
  border: 1px solid var(--border-gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold-dark);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.floating-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.floating-sub {
  font-size: 0.78rem;
  color: var(--brand-navy);
  font-weight: 600;
}

/* ==========================================================================
   Section Headers & Kickers
   ========================================================================== */
.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--brand-gold);
  margin-bottom: 12px;
}

.section-main-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   Services Section (Clean White Cards on Subtle Off-White Background)
   ========================================================================== */
.services-section {
  padding: 96px 0;
  background: var(--bg-section-alt);
  border-bottom: 1px solid var(--border-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-card-hover);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  background: var(--bg-section-alt);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--brand-navy);
  margin-bottom: 22px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-bullets {
  list-style: none;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

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

.service-bullets li svg {
  color: var(--brand-navy);
  flex-shrink: 0;
}

/* ==========================================================================
   Funeral Cover Plans & Live Calculator (Clean White Aesthetic)
   ========================================================================== */
.plans-section {
  padding: 100px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.plans-calculator-wrapper {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 40px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-card);
}

.step-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-navy);
  color: #ffffff;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.plan-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}

.plan-card-label {
  cursor: pointer;
  display: block;
}

.plan-card-label input[type="radio"] {
  display: none;
}

.plan-card-box {
  background: var(--bg-section-alt);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  transition: var(--transition-fast);
}

.plan-card-label:hover .plan-card-box {
  border-color: #cbd5e1;
}

.plan-card-label input[type="radio"]:checked + .plan-card-box {
  border-color: var(--brand-navy);
  background: #ffffff;
  box-shadow: 0 8px 24px -6px rgba(23, 37, 84, 0.15);
}

.plan-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.plan-card-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--brand-navy);
}

.plan-badge-popular {
  font-size: 0.72rem;
  color: var(--brand-gold-dark);
  font-weight: 800;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-card-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.addons-list {
  background: var(--bg-section-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  margin-bottom: 24px;
}

.addon-checkbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
  cursor: pointer;
}

.addon-checkbox-row:last-child {
  border-bottom: none;
}

.addon-title {
  font-weight: 700;
  color: var(--text-main);
}

.addon-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.addon-price-tag {
  color: var(--brand-navy);
  font-weight: 800;
  font-size: 0.9rem;
}

.addon-checkbox-row input {
  accent-color: var(--brand-navy);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Plan Summary Box */
.plan-summary-box {
  background: var(--bg-section-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.summary-plan-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 6px;
}

.summary-benefits-list {
  list-style: none;
  margin: 24px 0;
  flex-grow: 1;
}

.summary-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-weight: 500;
}

.summary-benefit-item svg {
  color: #16a34a;
  flex-shrink: 0;
}

.total-premium-box {
  padding-top: 22px;
  border-top: 2px solid var(--border-light);
  margin-top: auto;
  text-align: right;
}

.total-premium-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.total-premium-display {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand-navy);
  line-height: 1.1;
  margin-top: 4px;
}

/* ==========================================================================
   Cremations Section
   ========================================================================== */
.cremations-section {
  padding: 96px 0;
  background: var(--bg-section-alt);
  border-bottom: 1px solid var(--border-light);
}

.cremation-banner-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  background: #ffffff;
}

/* ==========================================================================
   Executive Fleet & Gallery
   ========================================================================== */
.fleet-section {
  padding: 100px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.fleet-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-normal);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}

.fleet-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.fleet-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-light);
}

.fleet-card:hover img {
  transform: scale(1.04);
}

.fleet-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #ffffff;
}

.fleet-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-gold-subtle);
  font-weight: 800;
  margin-bottom: 4px;
}

.fleet-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

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

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 860px;
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
  background: #ffffff;
  color: var(--brand-navy);
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.lightbox-img-box {
  max-height: 520px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-box img {
  max-height: 520px;
  width: 100%;
  object-fit: contain;
}

.lightbox-caption {
  padding: 24px 30px;
  background: #ffffff;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--text-main);
  margin-bottom: 16px;
  font-weight: 800;
}

/* ==========================================================================
   Branch Locations
   ========================================================================== */
.branches-section {
  padding: 96px 0;
  background: var(--bg-section-alt);
  border-bottom: 1px solid var(--border-light);
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

.branch-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.branch-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 8px;
}

.branch-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
  line-height: 1.6;
}

.branch-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.branch-detail-row svg {
  color: var(--brand-navy);
  flex-shrink: 0;
  margin-top: 3px;
}

.branch-phone-link {
  color: var(--brand-navy) !important;
  font-weight: 800 !important;
  font-size: 1.15rem;
}

/* ==========================================================================
   Contact & Emergency 24/7 Form
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.contact-intro-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.7;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-section-alt);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.contact-channel-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.contact-channel-tag {
  font-size: 0.76rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.contact-channel-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.contact-card-form {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-card);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: var(--bg-section-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text-main);
  outline: none;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

.form-control:focus {
  background: #ffffff;
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 3px rgba(23, 37, 84, 0.1);
}

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

/* ==========================================================================
   Clean Site Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border-light);
  padding: 70px 0 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--brand-navy);
  padding-left: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.eddie-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.eddie-credit strong {
  color: var(--brand-navy);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid, .plans-calculator-wrapper, .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .plans-calculator-wrapper {
    padding: 30px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .emergency-top-bar {
    display: none;
  }
  .nav-menu {
    position: fixed;
    top: 86px;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: translateY(-160%);
    transition: var(--transition-normal);
    border-bottom: 1px solid var(--border-light);
  }
  .nav-menu.active {
    transform: translateY(0);
  }
  .mobile-nav-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-badge-floating {
    position: static;
    margin-top: 16px;
  }
}
