/* ===================================
   South Philadelphia Locksmith - Main CSS
   Mobile-First, Core Web Vitals Optimized
   =================================== */

/* Critical CSS - Inline this in <head> for LCP optimization */
:root {
  --color-primary: #1a237e;
  --color-primary-dark: #0d1757;
  --color-accent: #f9a825;
  --color-accent-dark: #e65100;
  --color-danger: #c62828;
  --color-success: #2e7d32;
  --color-text: #1a1a2e;
  --color-text-light: #555770;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7ff;
  --color-bg-dark: #0d1757;
  --color-border: #e0e3f0;
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(26, 35, 126, 0.08);
  --shadow-md: 0 4px 20px rgba(26, 35, 126, 0.12);
  --shadow-lg: 0 8px 40px rgba(26, 35, 126, 0.18);
  --transition: 0.2s ease;
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
  contain: layout style;
}

.header-top {
  background: var(--color-danger);
  text-align: center;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.header-top a {
  color: #fff;
  font-weight: 700;
}

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

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-phone-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: var(--color-text) !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(249, 168, 37, 0.4);
  transition: background var(--transition), transform var(--transition);
  text-decoration: none !important;
}

.header-phone-btn:hover {
  background: var(--color-accent-dark);
  color: #fff !important;
  transform: scale(1.04);
  text-decoration: none !important;
}

.header-phone-btn svg {
  flex-shrink: 0;
}

/* Hamburger toggle button */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 19px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  margin-left: 4px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.2s ease;
  transform-origin: center;
}

/* Animated to X when open */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Nav — mobile collapsed by default */
#main-nav {
  background: var(--color-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

#main-nav.open {
  max-height: 480px;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-list li a {
  display: block;
  padding: 13px 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--transition), background var(--transition);
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-list li:last-child a {
  border-bottom: none;
}

.nav-list li a:hover,
.nav-list li a.active {
  color: var(--color-accent);
  border-left-color: var(--color-accent);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
}

/* Mobile Sticky Call Button */
.sticky-call-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: var(--color-danger);
  color: #fff !important;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(198, 40, 40, 0.5);
  animation: pulse-ring 2s ease infinite;
  text-decoration: none !important;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.5);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(198, 40, 40, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(198, 40, 40, 0);
  }
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, #283593 100%);
  background-image: url("/images/locksmith-philadelphia-hero.webp");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 48px 0 56px;
  position: relative;
  overflow: hidden;
  height: 680px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249, 168, 37, 0.2);
  border: 1px solid rgba(249, 168, 37, 0.5);
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--color-accent);
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-accent);
  color: var(--color-text) !important;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(249, 168, 37, 0.4);
  transition: all var(--transition);
  text-decoration: none !important;
  text-align: center;
}

.btn-primary:hover {
  background: #e65100;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(230, 81, 0, 0.4);
  text-decoration: none !important;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none !important;
  text-align: center;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  text-decoration: none !important;
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-danger);
  color: #fff !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(198, 40, 40, 0.4);
  transition: all var(--transition);
  text-decoration: none !important;
  text-align: center;
}

.btn-danger:hover {
  background: #b71c1c;
  transform: translateY(-2px);
  text-decoration: none !important;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.hero-trust-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ===================================
   INTRO CONTENT + IMAGE
   =================================== */
.intro-content-section {
  padding: 64px 0;
  background: #fff;
}

.intro-content-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 48px;
  align-items: center;
}

.intro-content-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.intro-content-text p {
  color: var(--color-text-light);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.intro-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.intro-feature-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--color-text);
  font-weight: 500;
}

.intro-feature-list li svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.intro-content-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-content-image img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .intro-content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .intro-content-image {
    order: -1;
  }

  .intro-content-image img {
    width: 100%;
    max-width: 350px;
    height: 280px;
  }
}

/* ===================================
   TRUST BADGES
   =================================== */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
  box-shadow: var(--shadow-sm);
}

.trust-bar-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 32px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
}

.trust-badge-icon {
  width: 40px;
  height: 40px;
  background: var(--color-bg-alt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.trust-badge span {
  font-size: 0.75rem;
  display: block;
  color: var(--color-text-light);
  font-weight: 400;
}

/* ===================================
   SECTIONS
   =================================== */
section {
  padding: 56px 0;
}

section h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-primary);
  margin: 32px 0 14px;
  letter-spacing: -0.02em;
}

section h2:first-child {
  margin-top: 0;
}

section ul,
section ol {
  margin: 12px 0 18px 22px;
}

section ul {
  list-style: disc;
}

section ol {
  list-style: decimal;
}

section li {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 8px;
  color: var(--color-text);
}

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

.section-dark {
  background: var(--color-bg-dark);
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.section-dark .section-label {
  color: var(--color-accent);
}

.section-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-dark .section-header h2 {
  color: #fff;
}

.section-header p {
  font-size: 1rem;
  color: var(--color-text-light);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.75);
}

/* ===================================
   SERVICE CARDS
   =================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-primary);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s ease;
}

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

.service-card:hover::before {
  transform: scaleY(1);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  background: var(--color-bg-alt);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-card a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-card a:hover {
  text-decoration: underline;
}

/* ===================================
   REVIEW / TESTIMONIALS
   =================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.review-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: #f9a825;
  font-size: 1.1rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

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

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-name {
  font-weight: 700;
  font-size: 0.88rem;
}

.review-meta {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  background: #fff;
}

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

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

.faq-question::after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a237e'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.25s ease;
}

details.faq-item[open]>.faq-question::after {
  transform: rotate(180deg);
}

.faq-question:hover {
  background: var(--color-bg-alt);
}

.faq-answer {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
  padding: 0 20px 16px;
}

/* ===================================
   EMERGENCY CTA BAND
   =================================== */
.emergency-cta {
  background: linear-gradient(135deg, var(--color-danger) 0%, #b71c1c 100%);
  color: #fff;
  padding: 48px 0;
  text-align: left;
}

.emergency-cta h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 900;
  margin-bottom: 8px;
  color: #f5f7ff;
}

.emergency-cta p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 24px;
}

.emergency-cta .cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.emergency-cta li {
  color: #fff;
}

/* ===================================
   AREA / LOCATION SECTION
   =================================== */
.area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.area-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  transition: all var(--transition);
  font-size: 0.85rem;
  font-weight: 600;
}

.area-card:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

/* ===================================
   ZIP CODE GRID
   =================================== */
.zip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zip-chip {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: all var(--transition);
}

.zip-chip:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  text-decoration: none;
}

/* ===================================
   BREADCRUMB
   =================================== */
.breadcrumb {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
  font-size: 0.8rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  list-style: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb li+li::before {
  content: '›';
  color: var(--color-text-light);
}

.breadcrumb a {
  color: var(--color-primary);
}

.breadcrumb [aria-current="page"] {
  color: var(--color-text-light);
}

/* ===================================
   STATS / COUNTERS
   =================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  margin-top: 4px;
}

/* ===================================
   FEATURES LIST
   =================================== */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(249, 168, 37, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.feature-item p {
  font-size: 0.85rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* ===================================
   FOOTER
   =================================== */
#site-footer {
  background: #0a0e2a;
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-name {
  color: #fff;
  font-size: 1.2rem;
}

.footer-brand p {
  font-size: 0.85rem;
  margin-top: 10px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: var(--color-text) !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 50px;
  margin-top: 14px;
  text-decoration: none !important;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-primary);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

#site-footer .footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

#site-footer .footer-links a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.footer-bottom {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* ===================================
   PAGE-SPECIFIC STYLES
   =================================== */

/* Inner page hero */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #fff;
  padding: 40px 0;
}

.page-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 0.95rem;
  opacity: 0.85;
  max-width: 600px;
}

/* Content prose */
.prose h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 32px 0 12px;
  color: var(--color-primary);
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 24px 0 8px;
}

.prose p {
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text);
}

.prose ul,
.prose ol {
  margin: 12px 0 14px 20px;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  font-size: 0.95rem;
  margin-bottom: 6px;
  line-height: 1.65;
}

.prose strong {
  color: var(--color-text);
}

/* Contact form */
.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font-main);
  color: var(--color-text);
  transition: border-color var(--transition);
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.blog-card-body {
  padding: 20px;
}

.blog-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.blog-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 6px 0 8px;
  line-height: 1.3;
  color: var(--color-text);
}

.blog-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.blog-card-meta {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 12px;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center {
  text-align: center;
}

.text-accent {
  color: var(--color-accent);
}

.text-primary {
  color: var(--color-primary);
}

.text-white {
  color: #fff;
}

.mt-4 {
  margin-top: 16px;
}

.mt-8 {
  margin-top: 32px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-8 {
  margin-bottom: 32px;
}

.gap-2 {
  gap: 8px;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.fw-bold {
  font-weight: 700;
}

.fw-black {
  font-weight: 900;
}

.checkmark-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkmark-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkmark-list li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Info box */
.info-box {
  background: rgba(26, 35, 126, 0.06);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.info-box p {
  margin: 0;
  font-size: 0.9rem;
}

/* ===================================
   RESPONSIVE - TABLET (600px+)
   =================================== */
@media (min-width: 600px) {
  .hero-cta-group {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

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

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

  .emergency-cta .cta-group {
    flex-direction: row;
  }

  .area-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===================================
   RESPONSIVE - DESKTOP (900px+)
   =================================== */
@media (min-width: 900px) {

  /* Hide hamburger, show horizontal nav */
  .nav-toggle {
    display: none;
  }

  #main-nav {
    max-height: none !important;
    overflow: visible;
  }

  .nav-list {
    flex-direction: row;
    justify-content: center;
  }

  .nav-list li a {
    padding: 12px 18px;
    font-size: 0.9rem;
    border-left: none;
    border-bottom: 3px solid transparent;
  }

  .nav-list li:last-child a {
    border-bottom: 3px solid transparent;
  }

  .nav-list li a:hover,
  .nav-list li a.active {
    border-left: none;
    border-bottom-color: var(--color-accent);
  }

  .container {
    padding: 0 24px;
  }

  .header-main {
    padding: 14px 24px;
  }

  .logo-name {
    font-size: 1.3rem;
  }

  .nav-list {
    justify-content: center;
  }

  .nav-list li a {
    padding: 12px 18px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 72px 0 80px;
  }

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

  .hero-desc {
    font-size: 1.05rem;
  }

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

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

  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .area-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  section {
    padding: 72px 0;
  }

  .page-hero {
    padding: 56px 0;
  }

  .sticky-call-btn {
    display: none;
  }
}

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

/* Skip to content */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  font-size: 0.85rem;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

.pt-1 {
  padding-top: 1rem;
}

.pb-1 {
  padding-bottom: 1rem;
}

.top-h2 {
  font-size: 28px;
  font-weight: 900;
}

/* ===================================
   CRO Components
   =================================== */

/* Trust Strip */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 18px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.trust-badge svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.trust-badge .chk {
  color: #2e7d32;
  font-weight: 900;
  font-size: 0.9rem;
}

/* Reviews / Testimonials */
.reviews-section {
  background: var(--color-bg-alt);
}

.reviews-section .section-heading {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 18px;
  text-align: center;
  color: var(--color-primary);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.review-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: #f9a825;
  font-size: 1rem;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

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

.review-author {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-light);
}

/* Available-Now dot in header bar */
.available-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
  margin-right: 3px;
  vertical-align: middle;
  animation: dotBlink 1.5s ease infinite;
}

@keyframes dotBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}

/* Price note inside emergency CTA */
.cta-price-note {
  font-size: 0.82rem;
  opacity: 0.82;
  margin-top: -12px;
  margin-bottom: 18px;
}

/* Responsive */
@media (min-width: 600px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-badges {
    gap: 8px 28px;
  }

  .trust-badge {
    font-size: 0.83rem;
  }
}