@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
  --font-title: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Color Palette - Amber/Orange Safety theme + Rich Slate Charcoal */
  --brand-primary-light: oklch(69% 0.19 56);     /* Vibrant Amber/Orange */
  --brand-primary-dark: oklch(76% 0.18 56);      /* Bright Amber/Orange */
  --brand-primary-hover-light: oklch(64% 0.18 56);
  --brand-primary-hover-dark: oklch(81% 0.16 56);

  --bg-light: oklch(98% 0.01 56);                /* Off-white */
  --bg-dark: oklch(14% 0.02 56);                 /* Very Dark Charcoal */
  --surface-light: oklch(100% 0 0);              /* Pure White */
  --surface-dark: oklch(20% 0.02 56);            /* Dark Slate Card background */
  
  --text-primary-light: oklch(18% 0.02 56);       /* Deep Slate Text */
  --text-primary-dark: oklch(95% 0.01 56);        /* White Text */
  --text-secondary-light: oklch(45% 0.02 56);     /* Muted Grey */
  --text-secondary-dark: oklch(75% 0.02 56);      /* Muted White */

  --border-light: oklch(90% 0.01 56);
  --border-dark: oklch(28% 0.02 56);

  --shadow-color-light: rgba(0, 0, 0, 0.06);
  --shadow-color-dark: rgba(0, 0, 0, 0.4);

  --glass-bg-light: rgba(255, 255, 255, 0.75);
  --glass-bg-dark: rgba(20, 20, 20, 0.75);
  --glass-border-light: rgba(255, 255, 255, 0.4);
  --glass-border-dark: rgba(255, 255, 255, 0.08);

  /* Resolved variables by default (Light Mode) */
  --brand-primary: var(--brand-primary-light);
  --brand-primary-hover: var(--brand-primary-hover-light);
  --bg: var(--bg-light);
  --surface: var(--surface-light);
  --text-primary: var(--text-primary-light);
  --text-secondary: var(--text-secondary-light);
  --border: var(--border-light);
  --shadow-color: var(--shadow-color-light);
  --glass-bg: var(--glass-bg-light);
  --glass-border: var(--glass-border-light);
  
  --drawer-width: min(20rem, 80dvw);
  --drawer-backdrop: 0;

  /* Custom Easing for springy/organic micro-animations */
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);

  color-scheme: light dark;
}

/* Fallback for browsers without light-dark support */
@media (prefers-color-scheme: dark) {
  :root {
    --brand-primary: var(--brand-primary-dark);
    --brand-primary-hover: var(--brand-primary-hover-dark);
    --bg: var(--bg-dark);
    --surface: var(--surface-dark);
    --text-primary: var(--text-primary-dark);
    --text-secondary: var(--text-secondary-dark);
    --border: var(--border-dark);
    --shadow-color: var(--shadow-color-dark);
    --glass-bg: var(--glass-bg-dark);
    --glass-border: var(--glass-border-dark);
  }
}

/* Specific theme attribute toggle override (from JavaScript) */
html[data-theme="light"] {
  --brand-primary: var(--brand-primary-light);
  --brand-primary-hover: var(--brand-primary-hover-light);
  --bg: var(--bg-light);
  --surface: var(--surface-light);
  --text-primary: var(--text-primary-light);
  --text-secondary: var(--text-secondary-light);
  --border: var(--border-light);
  --shadow-color: var(--shadow-color-light);
  --glass-bg: var(--glass-bg-light);
  --glass-border: var(--glass-border-light);
  color-scheme: light;
}

html[data-theme="dark"] {
  --brand-primary: var(--brand-primary-dark);
  --brand-primary-hover: var(--brand-primary-hover-dark);
  --bg: var(--bg-dark);
  --surface: var(--surface-dark);
  --text-primary: var(--text-primary-dark);
  --text-secondary: var(--text-secondary-dark);
  --border: var(--border-dark);
  --shadow-color: var(--shadow-color-dark);
  --glass-bg: var(--glass-bg-dark);
  --glass-border: var(--glass-border-dark);
  color-scheme: dark;
}

/* Modern use of light-dark() where supported */
@supports (color: light-dark(white, black)) {
  :root {
    --brand-primary: light-dark(var(--brand-primary-light), var(--brand-primary-dark));
    --brand-primary-hover: light-dark(var(--brand-primary-hover-light), var(--brand-primary-hover-dark));
    --bg: light-dark(var(--bg-light), var(--bg-dark));
    --surface: light-dark(var(--surface-light), var(--surface-dark));
    --text-primary: light-dark(var(--text-primary-light), var(--text-primary-dark));
    --text-secondary: light-dark(var(--text-secondary-light), var(--text-secondary-dark));
    --border: light-dark(var(--border-light), var(--border-dark));
    --shadow-color: light-dark(var(--shadow-color-light), var(--shadow-color-dark));
    --glass-bg: light-dark(var(--glass-bg-light), var(--glass-bg-dark));
    --glass-border: light-dark(var(--glass-border-light), var(--glass-border-dark));
  }
}

/* --- RESET & BASIC STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  accent-color: var(--brand-primary);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Typography Enhancements (From Improve Text Layout Guide) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-primary);
  font-weight: 600; /* Montserrat Semi Bold */
  line-height: 1.2;
  text-wrap: balance; /* Balanced line wraps for titles */
}

p, li, blockquote {
  text-wrap: pretty; /* Prevents orphans in paragraphs and lists */
  color: var(--text-secondary);
}

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

img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- HEADER & FLOATING NAVIGATION --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: background-color 0.4s, border-color 0.4s;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
}

/* Theme switching for logo */
.logo-light {
  display: block;
}
.logo-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light {
    display: none;
  }
  :root:not([data-theme="light"]) .logo-dark {
    display: block;
  }
}

html[data-theme="dark"] .logo-light {
  display: none !important;
}
html[data-theme="dark"] .logo-dark {
  display: block !important;
}

html[data-theme="light"] .logo-light {
  display: block !important;
}
html[data-theme="light"] .logo-dark {
  display: none !important;
}

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

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.25rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-primary);
  transition: width 0.3s ease;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle Button */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}

.theme-toggle:hover {
  background-color: var(--surface);
  border-color: var(--brand-primary);
}

.theme-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.theme-toggle .sun-icon {
  display: none;
}

html[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

html[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}

/* Call Button Header */
.cta-button {
  background-color: var(--brand-primary);
  color: oklch(100% 0 0);
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s var(--ease-smooth), transform 0.2s var(--ease-elastic);
  box-shadow: 0 4px 10px rgba(220, 100, 0, 0.2);
}

.cta-button:hover {
  background-color: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(220, 100, 0, 0.3);
}

.cta-button:active {
  transform: translateY(0);
}

/* Mobile Hamburger Menu */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* --- NAVIGATION DRAWER (MOBILE SLIDE-IN MENU) --- */
.Drawer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-smooth), visibility 0.3s var(--ease-smooth);
}

.Drawer:popover-open {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
  display: block !important;
  opacity: 1;
  visibility: visible;
}

.Drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth);
  z-index: 1000;
}

.Drawer.drawer-open .Drawer-backdrop {
  opacity: 1;
}

.Drawer-sheet {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 85%;
  height: 100%;
  background-color: var(--surface);
  border-right: 1px solid var(--border);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.25rem;
  box-shadow: 10px 0 30px var(--shadow-color);
  transform: translateX(-100%);
  transition: transform 0.3s var(--ease-smooth);
  z-index: 1001;
  overflow-y: auto;
}

.Drawer.drawer-open .Drawer-sheet {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

.drawer-close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
  margin-bottom: 3rem;
}

.drawer-link {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.5rem 0;
  display: block;
}

.drawer-link:hover {
  color: var(--brand-primary);
}

.drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}



/* --- HERO SECTION --- */
.hero {
  padding-top: 8.5rem;
  padding-bottom: 5rem;
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0b0c10;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 1;
  filter: none;
  border-radius: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(11, 12, 16, 0.98) 0%,
    rgba(11, 12, 16, 0.95) 38%,
    rgba(11, 12, 16, 0.8) 52%,
    rgba(11, 12, 16, 0.25) 70%,
    rgba(11, 12, 16, 0) 85%
  );
  pointer-events: none;
}

.hero-divider {
  width: 100%;
  max-width: 480px;
  height: 1px;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  margin: 1.5rem 0;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(220, 100, 0, 0.15);
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Pulsing Emergency Dot */
.emergency-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-primary-dark);
  border-radius: 50%;
  position: relative;
}

.emergency-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--brand-primary-dark);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3.5); opacity: 0; }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: oklch(100% 0 0);
  margin-bottom: 1.5rem;
  font-weight: 600; /* Montserrat Semi Bold */
}

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

.hero-desc {
  font-size: 1.15rem;
  color: oklch(85% 0.01 56);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s var(--ease-smooth), transform 0.2s var(--ease-elastic);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--brand-primary);
  color: oklch(100% 0 0);
  box-shadow: 0 4px 15px rgba(220, 100, 0, 0.3);
}

.btn-primary:hover {
  background-color: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 100, 0, 0.45);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: oklch(100% 0 0);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-trust-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 1.75rem;
  flex-wrap: nowrap;
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 620px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-trust-text {
  display: flex;
  flex-direction: column;
}

.hero-trust-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.hero-trust-desc {
  font-size: 0.78rem;
  color: oklch(75% 0.02 56);
  line-height: 1.2;
  margin-top: 2px;
}

.hero-trust-icon {
  color: #ffffff;
  width: 2.2rem;
  height: 2.2rem;
  flex-shrink: 0;
}

/* --- SERVICES SECTION --- */
.services {
  padding: 6rem 0;
  background-color: var(--bg);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4.5rem auto;
}

.section-header p {
  margin-top: 1.25rem;
  line-height: 1.7;
}

.section-tag {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 1.5rem auto 0 auto;
}

/* Service Card (Background visual, Glassmorphism & Micro-animations) */
.service-card {
  position: relative;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  box-shadow: 0 4px 20px var(--shadow-color);
  min-height: 290px;
  display: flex;
}

.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.service-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth), filter 0.4s ease;
  filter: brightness(0.6);
}

.service-card-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(14, 15, 20, 0.72) 0%,
    rgba(14, 15, 20, 0.9) 60%,
    rgba(14, 15, 20, 0.98) 100%
  );
  transition: background 0.4s ease;
}

html[data-theme="light"] .service-card-bg::after {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.72) 45%,
    rgba(255, 255, 255, 0.94) 100%
  );
}

html[data-theme="light"] .service-card-bg img {
  filter: brightness(1.02) contrast(1.08) saturate(1.1);
  opacity: 0.85;
}

html[data-theme="light"] .service-card-title {
  color: #111317;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .service-card-desc {
  color: #21252d;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

html[data-theme="light"] .service-icon-wrapper {
  background-color: rgba(245, 130, 32, 0.22);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
}

.service-card-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--brand-primary);
  transition: height 0.3s ease;
  z-index: 3;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-primary);
  box-shadow: 0 16px 36px var(--shadow-color);
}

.service-card:hover .service-card-bg img {
  transform: scale(1.08);
  filter: brightness(0.75);
}

html[data-theme="light"] .service-card:hover .service-card-bg img {
  transform: scale(1.08);
  filter: brightness(1.06) contrast(1.12) saturate(1.15);
  opacity: 1;
}

.service-card:hover::before {
  height: 100%;
}

.service-icon-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(220, 100, 0, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  transition: transform 0.3s var(--ease-elastic);
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--brand-primary);
  color: white;
}

.service-icon-wrapper svg {
  width: 1.75rem;
  height: 1.75rem;
}

.service-card-title {
  font-size: 1.3rem;
  font-weight: 700;
}

.service-card-desc {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --- TRUST FACTORS (WHY CHOOSE US) --- */
.why-us {
  padding: 6rem 0;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.why-images {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.why-img {
  border-radius: 12px;
  box-shadow: 0 10px 30px var(--shadow-color);
  width: 100%;
}

.why-img-large {
  grid-column: span 2;
  height: 250px;
  object-fit: cover;
}

.why-img-small {
  height: 180px;
  object-fit: cover;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.why-feature-card {
  display: flex;
  gap: 1.5rem;
}

.why-feature-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background-color: rgba(220, 100, 0, 0.1);
  color: var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.why-feature-title {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

/* --- EMERGENCY BANNER --- */
.emergency-banner {
  background: linear-gradient(135deg, oklch(22% 0.02 56) 0%, oklch(12% 0.02 56) 100%);
  border-top: 4px solid var(--brand-primary);
  padding: 4rem 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.emergency-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(220, 100, 0, 0.05) 0%, transparent 70%);
  z-index: 1;
}

.emergency-banner .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.emergency-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  font-weight: 800;
}

.emergency-banner h2 span {
  color: var(--brand-primary);
}

.emergency-banner p {
  color: oklch(85% 0.01 56);
  max-width: 600px;
  font-size: 1.1rem;
}

/* --- CONTACT & FORM SECTION --- */
.contact {
  padding: 6rem 0;
  background-color: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.contact-card-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(220, 100, 0, 0.1);
  color: var(--brand-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-card-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-card-text p {
  font-size: 0.95rem;
}

/* Form Styles */
.contact-form-wrapper {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 10px 30px var(--shadow-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  font-family: var(--font-body);
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(220, 100, 0, 0.15);
}

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

/* Modern Validation Style */
.form-control:user-valid {
  border-color: oklch(65% 0.15 140); /* Soft green for valid */
}

/* Honeypot field for netlify anti-spam */
.hidden-field {
  display: none !important;
}

/* --- FOOTER --- */
.footer {
  background-color: oklch(14% 0.02 56);
  color: oklch(80% 0.01 56);
  padding: 4rem 0 2rem 0;
  border-top: 1px solid var(--border);
}

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

.footer-col h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link:hover {
  color: var(--brand-primary);
}

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

/* Floating Emergency Call Button (Mobile Only) */
.floating-call {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--brand-primary);
  color: white;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(220, 100, 0, 0.4);
  z-index: 90;
  transition: transform 0.3s var(--ease-elastic);
  display: none;
}

.floating-call:hover {
  transform: scale(1.1);
}

.floating-call svg {
  width: 1.75rem;
  height: 1.75rem;
}

/* --- INTERACTIVE SCROLL ANIMATIONS (Progressive Enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
  /* Scroll anims unified with IntersectionObserver fallback for all screen sizes and viewport heights */

  /* Fallback animations driven by intersection observer (toggle active class) */
  .reveal-observer {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
  }

  .reveal-observer.active {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 992px) {
  .hero {
    min-height: auto;
    padding-top: 7.5rem;
    padding-bottom: 4rem;
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-bg::after {
    background: linear-gradient(
      180deg,
      rgba(11, 12, 16, 0.95) 0%,
      rgba(11, 12, 16, 0.88) 50%,
      rgba(11, 12, 16, 0.8) 100%
    );
  }

  .hero-divider {
    margin: 1.25rem auto;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    gap: 0.75rem;
  }

  .hero-trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

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

  .menu-toggle {
    display: block;
  }

  .header .cta-button {
    display: none; /* Hide in navbar on mobile */
  }

  .floating-call {
    display: flex; /* Show floating mobile call CTA */
  }

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