/* ==========================================================================
   Poppy Freebird Bail Bonds Richmond - Production Stylesheet
   Pure CSS3 - Fast Loading, Fully Responsive, No External Frameworks
   ========================================================================== */

:root {
  /* Color Palette */
  --navy-950: #070d18;
  --navy-900: #0d172b;
  --navy-850: #121e36;
  --navy-800: #182744;
  --navy-700: #23375d;
  --gold-600: #9e7323;
  --gold-500: #c99738;
  --gold-400: #e0ac48;
  --gold-300: #ebd090;
  --gold-100: #fbf7ee;
  
  --surface-bg: #f8fafc;
  --surface-white: #ffffff;
  --surface-muted: #f1f5f9;
  --border-light: #e2e8f0;
  --border-dark: #26385a;
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #f8fafc;
  --text-inverse-muted: #cbd5e1;
  
  --alert-red: #dc2626;
  --alert-red-bg: #fef2f2;
  --alert-red-border: #fecaca;
  --badge-green: #15803d;
  --badge-green-bg: #f0fdf4;
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Radii & Shadows */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.1);
  --shadow-gold: 0 4px 16px rgba(201, 151, 56, 0.28);
  
  /* Container Safe Layout */
  --container-width: min(1200px, calc(100% - 32px));
}

/* ==========================================================================
   CSS Reset & Base Rules
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Container Utility */
.container {
  width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
}

/* Skip to content for accessibility */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}

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

/* Section Header Archetype */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
  background-color: var(--gold-100);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  border: 1px solid rgba(201, 151, 56, 0.2);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.25;
  margin-bottom: 14px;
}

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

/* ==========================================================================
   1. Top Information Bar
   ========================================================================== */

.top-bar {
  background-color: var(--navy-950);
  color: var(--text-inverse-muted);
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--border-dark);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  padding: 6px 0;
  gap: 16px;
}

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

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item svg {
  color: var(--gold-400);
  flex-shrink: 0;
}

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

.top-bar-phone {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.top-bar-phone:hover {
  color: var(--gold-400);
}

/* ==========================================================================
   2. Main Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--surface-white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

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

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

/* Brand Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  background-color: var(--navy-900);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  border: 1px solid var(--gold-500);
  flex-shrink: 0;
}

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

.brand-name {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-600);
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 4px;
  white-space: nowrap;
  position: relative;
}

.nav-link:hover, .nav-link:focus {
  color: var(--navy-900);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold-500);
  transition: width 0.2s ease;
}

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

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background-color: var(--surface-muted);
  color: var(--navy-900);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  min-height: 44px;
  transition: all 0.2s ease;
}

.btn-header-phone:hover {
  background-color: var(--surface-white);
  border-color: var(--navy-800);
  color: var(--navy-900);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--gold-500);
  color: var(--navy-950);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  min-height: 44px;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--gold-400);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--surface-white);
  color: var(--navy-900);
  border: 1px solid var(--navy-800);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  min-height: 44px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--surface-muted);
}

/* Hamburger Toggle Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: var(--surface-white);
  color: var(--navy-900);
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background-color: var(--navy-900);
  transition: transform 0.2s, opacity 0.2s;
}

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

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

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

/* Mobile Drawer Menu */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  height: calc(100vh - 76px);
  background-color: rgba(7, 13, 24, 0.6);
  z-index: 999;
}

.mobile-nav-content {
  background-color: var(--surface-white);
  padding: 24px;
  max-height: calc(100vh - 76px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-lg);
  border-bottom: 2px solid var(--gold-500);
}

.mobile-nav-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 14px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-900);
  border-radius: var(--radius-sm);
  min-height: 44px;
}

.mobile-nav-link:hover, .mobile-nav-link:focus {
  background-color: var(--surface-muted);
  color: var(--gold-600);
}

.mobile-nav-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   3. Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-bg) 100%);
  padding: 48px 0 64px;
  border-bottom: 1px solid var(--border-light);
}

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

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-900);
  background-color: var(--gold-100);
  border: 1px solid var(--gold-300);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 18px;
}

.hero-h1 {
  font-size: clamp(2rem, 4vw, 2.95rem);
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

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

.hero-subtext {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-icon-box {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background-color: var(--gold-100);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Hero Media Column */
.hero-media-wrapper {
  position: relative;
}

.hero-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--surface-white);
  background-color: var(--navy-900);
}

.hero-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.hero-dispatch-card {
  position: absolute;
  bottom: -20px;
  left: 20px;
  right: 20px;
  background-color: var(--surface-white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dispatch-info {
  display: flex;
  flex-direction: column;
}

.dispatch-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-600);
}

.dispatch-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--navy-900);
}

.dispatch-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background-color: var(--navy-900);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.dispatch-phone:hover {
  background-color: var(--navy-800);
}

/* ==========================================================================
   4. Services Section
   ========================================================================== */

.services-section {
  padding: 88px 0;
  background-color: var(--surface-white);
}

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

.service-card {
  background-color: var(--surface-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-400);
}

.service-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--navy-900);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-title-wrap {
  display: flex;
  flex-direction: column;
}

.service-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-600);
}

.service-title {
  font-size: 1.3125rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.3;
}

.service-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.service-feature-item svg {
  color: var(--gold-500);
  flex-shrink: 0;
}

.service-cta-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-900);
  padding: 8px 0;
}

.service-cta-link:hover {
  color: var(--gold-600);
}

/* ==========================================================================
   5. Why Choose Us Section
   ========================================================================== */

.why-section {
  padding: 88px 0;
  background-color: var(--navy-900);
  color: var(--text-inverse);
}

.why-section .section-title {
  color: #ffffff;
}

.why-section .section-desc {
  color: var(--text-inverse-muted);
}

.why-section .section-eyebrow {
  background-color: rgba(201, 151, 56, 0.15);
  color: var(--gold-400);
  border-color: rgba(201, 151, 56, 0.35);
}

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

.why-card {
  background-color: var(--navy-850);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-500);
}

.why-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: rgba(201, 151, 56, 0.15);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-card-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.why-card-text {
  font-size: 0.9375rem;
  color: var(--text-inverse-muted);
  line-height: 1.6;
}

/* ==========================================================================
   6. Service Areas Section
   ========================================================================== */

.areas-section {
  padding: 88px 0;
  background-color: var(--surface-bg);
}

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

.area-card {
  background-color: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.area-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.area-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
}

.area-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 8px;
  background-color: var(--badge-green-bg);
  color: var(--badge-green);
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.area-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.area-facility {
  background-color: var(--surface-muted);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 16px;
  font-size: 0.8125rem;
}

.area-facility-title {
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.area-facility-meta {
  color: var(--text-muted);
  line-height: 1.4;
}

.area-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  background-color: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--navy-900);
  font-size: 0.875rem;
  font-weight: 700;
}

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

/* ==========================================================================
   7. Our Process Section
   ========================================================================== */

.process-section {
  padding: 88px 0;
  background-color: var(--surface-white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.process-card {
  background-color: var(--surface-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.process-number {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--border-light);
  line-height: 1;
}

.process-icon-box {
  width: 44px;
  height: 44px;
  background-color: var(--navy-900);
  color: var(--gold-400);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.process-step-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.process-step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   8. FAQ Section
   ========================================================================== */

.faq-section {
  padding: 88px 0;
  background-color: var(--surface-bg);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.is-active {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-900);
  gap: 16px;
  min-height: 44px;
}

.faq-question-btn:hover {
  color: var(--gold-600);
}

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--surface-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-item.is-active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--gold-100);
  color: var(--gold-600);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  border-top: 1px solid transparent;
}

.faq-item.is-active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.3s ease-in-out;
}

.faq-item.is-active .faq-answer-inner {
  border-top-color: var(--surface-muted);
}

/* ==========================================================================
   9. Contact / Quote Section
   ========================================================================== */

.contact-section {
  padding: 88px 0;
  background-color: var(--surface-white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
}

.contact-emergency-box {
  background-color: var(--alert-red-bg);
  border: 1px solid var(--alert-red-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.emergency-alert-icon {
  color: var(--alert-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.emergency-box-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--alert-red);
  margin-bottom: 4px;
}

.emergency-box-desc {
  font-size: 0.875rem;
  color: #7f1d1d;
  line-height: 1.45;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

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

.detail-icon-box {
  width: 42px;
  height: 42px;
  background-color: var(--navy-900);
  color: var(--gold-400);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.detail-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
}

.contact-form-card {
  background-color: var(--surface-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.form-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-900);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: var(--surface-white);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 44px;
}

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

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(13, 23, 43, 0.12);
}

.form-notice {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 12px;
}

.form-feedback {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 0.875rem;
  font-weight: 600;
}

.form-feedback.success {
  display: block;
  background-color: var(--badge-green-bg);
  color: var(--badge-green);
  border: 1px solid #bbf7d0;
}

/* ==========================================================================
   10. Final Call To Action Banner
   ========================================================================== */

.final-cta-section {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-850) 100%);
  color: #ffffff;
  border-top: 2px solid var(--gold-500);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.final-cta-text {
  max-width: 680px;
}

.final-cta-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
}

.final-cta-desc {
  font-size: 1rem;
  color: var(--text-inverse-muted);
  line-height: 1.55;
}

.final-cta-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Social Platform Links Section (Explicitly Marked)
   ========================================================================== */

.social-platforms-section {
  background-color: var(--navy-900);
  border-top: 1px solid var(--border-dark);
  padding: 32px 0;
}

.social-platforms-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.social-section-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.social-links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--navy-850);
  border: 1px solid var(--border-dark);
  color: var(--text-inverse-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  min-height: 44px;
  transition: all 0.2s ease;
}

.social-icon-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.social-icon-btn:hover {
  background-color: var(--navy-800);
  border-color: var(--gold-500);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   11. Footer
   ========================================================================== */

.site-footer {
  background-color: var(--navy-950);
  color: var(--text-inverse-muted);
  padding: 64px 0 32px;
  font-size: 0.875rem;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .brand-name {
  color: #ffffff;
}

.footer-desc {
  line-height: 1.6;
  color: var(--text-inverse-muted);
}

.footer-heading {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

.footer-link {
  color: var(--text-inverse-muted);
  transition: color 0.2s;
  display: inline-block;
  padding: 2px 0;
}

.footer-link:hover {
  color: var(--gold-400);
}

.footer-legal-notice {
  padding: 24px 0;
  border-top: 1px solid var(--border-dark);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
}

/* ==========================================================================
   404 Page Specific Styles
   ========================================================================== */

.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 64px 0;
  text-align: center;
}

.page-404-content {
  max-width: 600px;
  margin: 0 auto;
}

.code-404 {
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 900;
  color: var(--navy-900);
  line-height: 1;
  margin-bottom: 12px;
}

.title-404 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 16px;
}

.text-404 {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ==========================================================================
   Responsive Breakpoints
   1920px, 1440px, 1366px, 1280px, 1200px, 1024px, 768px, 480px, 390px, 375px
   ========================================================================== */

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-media-wrapper {
    max-width: 640px;
    margin: 0 auto;
  }

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

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

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

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

  .top-bar-inner {
    justify-content: center;
  }

  .btn-header-phone {
    display: none;
  }

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

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

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

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

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .final-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .final-cta-buttons {
    justify-content: center;
  }

  .hero-dispatch-card {
    position: static;
    margin-top: 16px;
  }

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

@media (max-width: 480px) {
  .container {
    width: calc(100% - 24px);
  }

  .hero-trust-bar {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-tagline {
    display: none;
  }

  .contact-form-card {
    padding: 24px 18px;
  }

  .social-icon-btn {
    width: calc(50% - 6px);
    justify-content: center;
  }
}

@media (max-width: 375px) {
  .header-actions .btn-primary {
    padding: 8px 12px;
    font-size: 0.8125rem;
  }
  
  .brand-icon-box {
    width: 36px;
    height: 36px;
  }
}
