/* Greenville Plumber Expert - Production CSS */
:root {
  --primary-navy: #0a192f;
  --navy-dark: #060d17;
  --navy-light: #1e293b;
  --brand-blue: #0284c7;
  --brand-blue-hover: #0369a1;
  --brand-blue-light: #e0f2fe;
  --accent-orange: #ea580c;
  --accent-orange-hover: #c2410c;
  --emergency-red: #dc2626;
  --emergency-red-hover: #b91c1c;
  --emergency-bg: #fef2f2;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --bg-white: #ffffff;
  --bg-slate: #f8fafc;
  --bg-slate-card: #f1f5f9;
  --border-color: #e2e8f0;
  --border-focus: #38bdf8;
  --success-green: #16a34a;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.12), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

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

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

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

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

p {
  margin-bottom: 1.25rem;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  line-height: 1.25;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

h1 { font-size: 2.25rem; margin-top: 0; }
h2 { font-size: 1.75rem; border-bottom: 2px solid var(--brand-blue-light); padding-bottom: 0.35rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--brand-blue);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  font-weight: bold;
  border-radius: var(--radius-md);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 2px;
}

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

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

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

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-item a {
  color: #fff;
  font-weight: 600;
}

/* Header */
.site-header {
  background-color: var(--primary-navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

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

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

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

.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.nav-desktop {
  display: none;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  
  .nav-list {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
  }
  
  .nav-link {
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.25rem;
    text-decoration: none;
    position: relative;
  }
  
  .nav-link:hover, .nav-link:focus, .nav-link.active {
    color: #38bdf8;
    text-decoration: none;
  }
}

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

.btn-header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--emergency-red);
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  font-size: 0.95rem;
  box-shadow: 0 2px 4px rgba(220, 38, 38, 0.4);
  transition: background-color 0.2s, transform 0.1s;
}

.btn-header-phone:hover {
  background-color: var(--emergency-red-hover);
  transform: translateY(-1px);
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  z-index: 1010;
}

@media (min-width: 992px) {
  .hamburger-btn {
    display: none;
  }
}

.hamburger-btn span {
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}

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

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

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

/* Mobile Drawer Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background-color: var(--primary-navy);
  z-index: 1005;
  padding: 5rem 1.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -5px 0 25px rgba(0,0,0,0.5);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
  z-index: 1004;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

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

.mobile-nav-link {
  color: #f8fafc;
  font-size: 1.15rem;
  font-weight: 600;
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-link:hover, .mobile-nav-link:focus {
  color: #38bdf8;
  text-decoration: none;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--brand-blue);
  color: #fff !important;
}

.btn-primary:hover {
  background-color: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-emergency {
  background-color: var(--emergency-red);
  color: #fff !important;
}

.btn-emergency:hover {
  background-color: var(--emergency-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
  background-color: #f1f5f9;
  color: var(--text-dark) !important;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: #e2e8f0;
}

.btn-outline-white {
  background: transparent;
  color: #fff !important;
  border: 2px solid #fff;
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--primary-navy) !important;
}

/* Breadcrumbs */
.breadcrumb-container {
  background-color: var(--bg-slate);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.875rem;
}

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

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--text-muted);
}

.breadcrumb-item a:hover {
  color: var(--brand-blue);
}

.breadcrumb-item.active {
  color: var(--text-dark);
  font-weight: 600;
}

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

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, rgba(10, 25, 47, 0) 70%);
  pointer-events: none;
}

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

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

.hero h1,
.hero-content h1 {
  color: #ffffff !important;
  font-size: 2.35rem;
  line-height: 1.15;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

@media (min-width: 768px) {
  .hero h1,
  .hero-content h1 {
    font-size: 2.85rem;
  }
}

.hero h2,
.hero h3,
.hero h4,
.hero-content h2,
.hero-content h3,
.hero-content h4 {
  color: #ffffff !important;
}

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

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

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

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

.hero-card {
  background: #ffffff;
  color: var(--text-dark);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.hero-card h2,
.hero-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: var(--primary-navy) !important;
  border-bottom: none;
  padding-bottom: 0;
}

.hero-card p {
  color: var(--text-muted) !important;
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

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

.section-title {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.section-title h2 {
  font-size: 2.2rem;
  border-bottom: none;
  padding-bottom: 0;
}

.section-subtitle {
  color: var(--brand-blue);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Cards & Grids */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

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

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-weight: bold;
}

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

.card-link {
  margin-top: auto;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Emergency Banner */
.emergency-banner {
  background: linear-gradient(90deg, #991b1b 0%, #dc2626 100%);
  color: #fff;
  padding: 3rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin: 3rem 0;
  text-align: center;
}

.emergency-banner h2 {
  color: #ffffff;
  border-bottom: none;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.emergency-phone-large {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff !important;
  display: inline-block;
  margin: 1rem 0;
  background: rgba(0,0,0,0.25);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.3);
}

/* Content Layout (Article / Detail Pages) */
.page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
}

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

.main-content {
  font-size: 1.05rem;
  color: var(--text-body);
}

.main-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.main-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.main-content ul, .main-content ol {
  margin-bottom: 1.5rem;
}

.sidebar-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.widget {
  background-color: var(--bg-slate);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.widget-title {
  font-size: 1.25rem;
  color: var(--primary-navy);
  margin-top: 0;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--brand-blue);
  padding-bottom: 0.5rem;
}

.widget-cta-card {
  background: linear-gradient(135deg, var(--navy-dark), var(--primary-navy));
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
}

.widget-cta-card h3 {
  color: #ffffff;
  margin-top: 0;
}

.widget-cta-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.widget-phone {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #38bdf8 !important;
  margin: 1rem 0;
}

/* Accordion FAQ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

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

.faq-item[open] {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
}

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

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

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brand-blue);
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  content: "−";
  color: var(--brand-blue);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-message {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-weight: 500;
}

.form-message.success {
  display: block;
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.form-message.error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Tables */
.table-responsive {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

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

th {
  background-color: var(--bg-slate);
  color: var(--text-dark);
  font-weight: 700;
}

tr:last-child td {
  border-bottom: none;
}

/* Footer */
.site-footer {
  background-color: var(--navy-dark);
  color: #94a3b8;
  margin-top: auto;
  padding-top: 4rem;
  padding-bottom: 5rem;
  font-size: 0.9rem;
  border-top: 4px solid var(--brand-blue);
}

@media (min-width: 768px) {
  .site-footer {
    padding-bottom: 2rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-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 1fr 1fr 1.2fr;
  }
}

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

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background-color: var(--brand-blue);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #cbd5e1;
}

.footer-contact-item a {
  color: #cbd5e1;
}

.footer-contact-item a:hover {
  color: #38bdf8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.825rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

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

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

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

.sticky-cta-call {
  flex: 1.2;
  background-color: var(--emergency-red);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.sticky-cta-quote {
  flex: 1;
  background-color: var(--primary-navy);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Highlights and Badge Cards */
.pill-tag {
  display: inline-block;
  background-color: var(--brand-blue-light);
  color: var(--brand-blue-hover);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success-green);
  font-weight: bold;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Modal Error Popup */
.form-popup-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 25, 47, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.form-popup-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.form-popup-modal {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 2.25rem 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  text-align: center;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid #fecaca;
}

.form-popup-backdrop.active .form-popup-modal {
  transform: translateY(0) scale(1);
}

.popup-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}

.popup-close-btn:hover {
  background: #e2e8f0;
  color: var(--text-dark);
}

.popup-icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: #fee2e2;
  color: var(--emergency-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  font-size: 2rem;
}

.popup-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.popup-message {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.popup-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--emergency-red);
  color: #ffffff !important;
  font-size: 1.2rem;
  font-weight: 800;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
  transition: background-color 0.2s, transform 0.1s;
}

.popup-call-btn:hover {
  background-color: var(--emergency-red-hover);
  transform: translateY(-2px);
}

/* Hero Image Card Styling */
.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.15);
  background: #0f172a;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hero-image-card:hover img {
  transform: scale(1.02);
}

.hero-badge-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(10, 25, 47, 0.88);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-badge-overlay .badge-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #38bdf8;
}

.hero-badge-overlay .badge-sub {
  font-size: 0.8rem;
  color: #cbd5e1;
}

/* Featured Section Images */
.section-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 2rem 0;
  border: 1px solid var(--border-color);
}

.section-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}
