/* ==========================================================================
   GILBERT PLUMBER EXPERT - MASTER STYLESHEET
   High-Conversion, Fully Accessible (WCAG AA/AAA), Mobile-First Architecture
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --color-primary: #0f2c59;          /* Deep Navy - Trust & Authority */
  --color-primary-dark: #081730;     /* Dark Slate Navy */
  --color-primary-light: #1e4580;    /* Muted Blue */
  --color-secondary: #0077c2;        /* Vibrant Royal Blue - Action */
  --color-accent: #f37021;           /* High-Vis Orange CTA */
  --color-accent-hover: #d95a10;     /* Darker Orange Hover */
  --color-emergency: #d90429;        /* 24/7 Emergency Red Alert */
  --color-emergency-hover: #b00020;
  --color-success: #107e3e;          /* Guarantee / Check Green */
  --color-gold: #f5a623;             /* Star Rating Gold */
  
  /* Neutral Palette */
  --color-bg: #f8fafc;               /* Crisp Warm Light Gray */
  --color-surface: #ffffff;          /* Pure White Surface */
  --color-surface-alt: #edf2f7;      /* Subtle Neutral Gray */
  --color-text-main: #1e293b;        /* High Contrast Dark Charcoal */
  --color-text-muted: #475569;       /* Slate Gray Secondary */
  --color-text-light: #64748b;       /* Muted Hint Text */
  --color-border: #e2e8f0;          /* Clean Border Tone */
  --color-border-dark: #cbd5e1;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shadows & Depth */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 44, 89, 0.08), 0 2px 4px -2px rgba(15, 44, 89, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(15, 44, 89, 0.12), 0 4px 6px -4px rgba(15, 44, 89, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(15, 44, 89, 0.15), 0 8px 10px -6px rgba(15, 44, 89, 0.1);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-main);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

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

a:hover, a:focus-visible {
  color: var(--color-primary);
  text-decoration: underline;
}

button, input, select, textarea {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin-top: 2rem; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); margin-top: 1.5rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1.2rem;
  color: var(--color-text-muted);
}

ul, ol {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
}

li {
  margin-bottom: 0.4rem;
}

strong {
  color: var(--color-text-main);
  font-weight: 600;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 24px;
  z-index: 99999;
  border-radius: var(--radius-sm);
  font-weight: bold;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Utility Bar */
.utility-bar {
  background-color: var(--color-primary-dark);
  color: #e2e8f0;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.utility-items {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.utility-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
}

.utility-item strong {
  color: #fff;
}

.utility-badge {
  background: var(--color-accent);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Main Site Header */
.site-header {
  background-color: var(--color-surface);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo svg,
.brand-logo img {
  width: auto;
  max-width: 240px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  display: block;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  text-decoration: none;
  padding: 0.5rem 0.25rem;
  position: relative;
}

.nav-link:hover, .nav-link:focus-visible {
  color: var(--color-secondary);
  text-decoration: none;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-secondary);
  border-radius: 2px;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: var(--color-success);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.header-phone-cta:hover {
  background-color: var(--color-success);
  color: #fff;
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(243, 112, 33, 0.35);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--color-accent-hover);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(243, 112, 33, 0.45);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: #fff;
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-emergency {
  background-color: var(--color-emergency);
  color: #fff;
  box-shadow: 0 4px 14px rgba(217, 4, 41, 0.35);
}

.btn-emergency:hover {
  background-color: var(--color-emergency-hover);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

.btn-outline-white {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-outline-white:hover {
  background-color: #fff;
  color: var(--color-primary);
  text-decoration: none;
}

/* Mobile Hamburger Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  width: 24px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Navigation */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--color-surface);
  box-shadow: var(--shadow-xl);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  padding: 6rem 2rem 2rem 2rem;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(8, 23, 48, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.mobile-nav-links a:hover {
  color: var(--color-secondary);
}

.mobile-drawer-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Breadcrumbs */
.breadcrumbs-bar {
  background-color: #f1f5f9;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  margin: 0;
}

.breadcrumb-list li+li::before {
  content: "›";
  margin-right: 0.5rem;
  color: var(--color-text-light);
  font-size: 1.1rem;
}

.breadcrumb-list a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumb-list a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

.breadcrumb-list li[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
  color: #ffffff;
  padding: 4rem 0 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-content h1 {
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.hero-content h1 strong,
.hero-content h1 b {
  color: var(--color-accent) !important;
  font-weight: 800;
}

.hero-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-lead strong,
.hero-lead b,
.hero-content strong,
.hero-content b,
.hero-section strong,
.hero-section b {
  color: var(--color-accent) !important;
  font-weight: 700;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.trust-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #e2e8f0;
}

.trust-badge-item svg {
  color: #4ade80;
  width: 20px;
  height: 20px;
}

/* Quick Estimate / Dispatch Card */
.quote-card {
  background-color: var(--color-surface);
  color: var(--color-text-main);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}

.quote-card-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.quote-card-header h2 {
  font-size: 1.4rem;
  margin: 0 0 0.4rem 0;
}

.quote-card-header p {
  font-size: 0.875rem;
  margin: 0;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  color: var(--color-text-main);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-secondary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 119, 194, 0.15);
}

/* Content Layout (Main + Sidebar) */
.page-layout {
  padding: 3.5rem 0 5rem 0;
}

.layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .layout-grid {
    grid-template-columns: 1fr 340px;
  }
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-main);
}

.article-body p {
  color: #334155;
  margin-bottom: 1.4rem;
}

.article-body h2 {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-surface-alt);
  padding-bottom: 0.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.article-body h3 {
  color: var(--color-primary-light);
  margin-top: 1.75rem;
  margin-bottom: 0.85rem;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}

.article-body li {
  margin-bottom: 0.5rem;
  color: #334155;
}

/* Sidebar Widgets */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-sticky {
  position: sticky;
  top: 100px;
}

.widget-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.widget-card h3 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-surface-alt);
}

.widget-emergency {
  background: #fef2f2;
  border-color: #fecaca;
}

.widget-emergency h3 {
  color: var(--color-emergency);
}

.widget-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.widget-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-text-main);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg);
}

.widget-list a:hover {
  background-color: var(--color-surface-alt);
  color: var(--color-secondary);
  text-decoration: none;
  transform: translateX(4px);
}

/* Highlight Box / Alert Box */
.info-box {
  background-color: #f0f9ff;
  border-left: 4px solid var(--color-secondary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
}

.info-box h4 {
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.warning-box {
  background-color: #fffbeb;
  border-left: 4px solid #f59e0b;
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
}

.warning-box h4 {
  color: #b45309;
  margin-bottom: 0.5rem;
}

.emergency-box {
  background-color: #fef2f2;
  border-left: 4px solid var(--color-emergency);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
}

.emergency-box h4 {
  color: var(--color-emergency);
  margin-bottom: 0.5rem;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}

.card h3 {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.card p {
  flex-grow: 1;
  font-size: 0.95rem;
}

.card-link {
  font-weight: 700;
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Process Steps Section */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.step-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Accordion FAQ Component */
.faq-section {
  margin: 3rem 0;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-secondary);
  font-weight: 400;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  padding: 3.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 4rem 0;
  box-shadow: var(--shadow-xl);
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #e2e8f0;
  max-width: 650px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
}

.cta-banner strong,
.cta-banner b {
  color: var(--color-accent) !important;
  font-weight: 700;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Reviews & Testimonials */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.review-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: var(--color-gold);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.review-author {
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.review-location {
  color: var(--color-text-light);
  font-weight: normal;
}

/* Pricing Table */
.pricing-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--color-surface);
}

.pricing-table th, .pricing-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.pricing-table th {
  background-color: var(--color-surface-alt);
  color: var(--color-primary);
  font-weight: 700;
  font-family: var(--font-heading);
}

.pricing-table tr:hover {
  background-color: #f8fafc;
}

/* Footer */
.site-footer {
  background-color: var(--color-primary-dark);
  color: #cbd5e1;
  padding: 4.5rem 0 2rem 0;
  margin-top: auto;
  border-top: 4px solid var(--color-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.95rem;
}

.footer-contact-info a {
  color: #fff;
  font-weight: 600;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal-links a {
  color: #94a3b8;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* Floating Mobile Sticky CTA */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-surface);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  padding: 0.75rem 1rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
  gap: 0.75rem;
  z-index: 999;
  border-top: 1px solid var(--color-border);
}

@media (min-width: 1024px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.mobile-sticky-bar .btn {
  flex: 1;
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    padding-bottom: 75px;
  }
  .quote-card {
    padding: 1.5rem;
  }
}

/* Modal Alert Overlay for Form Error Notification */
.form-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(8, 23, 48, 0.75);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.form-modal-box {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--color-border);
  position: relative;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { transform: translateY(20px) scale(0.95); }
  to { transform: translateY(0) scale(1); }
}

.modal-icon-alert {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.modal-error-msg {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Hero Image Styling */
.hero-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-overlay-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(15, 44, 89, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.hero-image-overlay-badge strong {
  color: #4ade80;
}

/* Feature Showcase Images */
.section-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .section-showcase-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.showcase-image-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.showcase-image-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition);
}

.showcase-image-card:hover img {
  transform: scale(1.03);
}

.showcase-caption {
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}
