/* ===================================================================
   Ahmed Sons Pest & Cleaning Solutions - Professional Pest Control
   Aesthetic: Clean, Technical & Reassuring
   =================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700;800&family=Nunito+Sans:wght@300;400;500;600;700&display=swap');

/* ===================================================================
   CSS CUSTOM PROPERTIES
   =================================================================== */
:root {
  /* Colors - Clean & Protective */
  --primary: #166534;
  --primary-light: #1B7A3F;
  --primary-dark: #14532D;
  --secondary: #1E293B;
  --secondary-light: #334155;
  --accent: #65A30D;
  --accent-light: #84CC16;
  --accent-dark: #4D7C0F;
  --light-bg: #F0FDF4;
  --white: #FFFFFF;
  --dark: #0F172A;
  --muted: #6B7280;
  --warning: #DC2626;
  --gray-light: #F1F5F9;
  --gray: #94A3B8;
  --gray-dark: #475569;
  --border: #E2E8F0;

  /* Typography */
  --font-heading: 'Exo 2', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 30px rgba(15, 23, 42, 0.1);
  --shadow-green: 0 4px 20px rgba(22, 101, 52, 0.15);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--secondary);
  background-color: var(--white);
}

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

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

ul {
  list-style: none;
}

/* ===================================================================
   TYPOGRAPHY
   =================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary);
}

h1 { font-size: clamp(2.5rem, 6vw, 3.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

/* ===================================================================
   UTILITY CLASSES
   =================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-green {
  background: var(--light-bg);
}

.section-dark {
  background: var(--secondary);
  color: var(--white);
}

.section-navy {
  background: var(--dark);
  color: var(--white);
}

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

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

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

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-subtitle {
  color: var(--gray);
}

/* Decorative Divider */
.section-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.section-divider span {
  height: 2px;
  width: 40px;
  background: var(--primary);
  border-radius: 1px;
}

.section-divider i {
  color: var(--primary);
  font-size: 1rem;
}

.section-dark .section-divider span {
  background: var(--accent);
}

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

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-light);
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-warning {
  background: var(--warning);
  color: var(--white);
}

.btn-warning:hover {
  background: #B91C1C;
  transform: translateY(-2px);
}

.btn i {
  font-size: 0.9em;
}

/* ===================================================================
   HEADER & NAVIGATION
   =================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.125rem;
}

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

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
}

.logo-sub {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--secondary);
  position: relative;
  padding: 0.25rem 0;
}

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

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

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

.header-cta {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9375rem;
}

.header-phone i {
  font-size: 0.875rem;
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 100;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--secondary);
  margin: 5px 0;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    gap: 0;
    z-index: 99;
  }

  .nav.nav-open {
    display: flex;
  }

  .nav-link {
    padding: 0.75rem 2rem;
    width: 100%;
    text-align: center;
  }

  .nav-link::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .header-phone {
    display: none;
  }
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(22, 101, 52, 0.8), rgba(30, 41, 59, 0.85)), url('images/placeholder.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(22, 101, 52, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(101, 163, 13, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

/* Grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  z-index: 1;
  padding: 2rem;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(101, 163, 13, 0.15);
  border: 1px solid rgba(101, 163, 13, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 2rem;
}

.hero-badge i {
  font-size: 0.8rem;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
}

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

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-light);
  display: block;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 640px) {
  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .hero-stat {
    flex: 0 0 40%;
  }
}

/* ===================================================================
   PESTS SECTION
   =================================================================== */
.pests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pest-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pest-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

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

.pest-card:hover::before {
  transform: scaleX(1);
}

.pest-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  border-radius: 12px;
  color: var(--primary);
  font-size: 1.5rem;
}

.pest-card h3 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.pest-card p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 0;
  line-height: 1.6;
}

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

@media (max-width: 640px) {
  .pests-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   HOW IT WORKS
   =================================================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: calc(16.67% + 1rem);
  right: calc(16.67% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
  position: relative;
}

.step-number i {
  font-size: 2rem;
  color: var(--primary);
}

.step-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step h3 {
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .process-steps::before {
    display: none;
  }
}

/* ===================================================================
   WHY CHOOSE US
   =================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-card {
  display: flex;
  gap: 1.25rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(101, 163, 13, 0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(101, 163, 13, 0.15);
  border-radius: 12px;
  color: var(--accent-light);
  font-size: 1.25rem;
}

.feature-card h3 {
  color: var(--white);
  margin-bottom: 0.375rem;
  font-size: 1.125rem;
}

.feature-card p {
  color: var(--gray);
  font-size: 0.9375rem;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   STATS SECTION
   =================================================================== */
.stats-section {
  background: linear-gradient(rgba(22, 101, 52, 0.9), rgba(22, 101, 52, 0.9)), url('images/placeholder.jpg');
  background-size: cover;
  background-position: center;
  padding: 4rem 0;
}

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

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

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

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   TESTIMONIALS
   =================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: #F59E0B;
  font-size: 0.875rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
}

.testimonial-info h4 {
  font-size: 0.9375rem;
  color: var(--secondary);
  margin-bottom: 0;
}

.testimonial-info span {
  font-size: 0.8125rem;
  color: var(--muted);
}

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

@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   EMERGENCY BANNER
   =================================================================== */
.emergency-banner {
  background: linear-gradient(135deg, var(--warning) 0%, #991B1B 100%);
  padding: 3rem 0;
  text-align: center;
}

.emergency-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.emergency-text h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.emergency-text p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 1rem;
}

.emergency-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  padding: 1rem 2rem;
  border-radius: 8px;
  color: var(--warning);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  transition: transform var(--transition-fast);
}

.emergency-phone:hover {
  transform: scale(1.05);
}

.emergency-phone i {
  font-size: 1.25rem;
  animation: ring 2s infinite;
}

@keyframes ring {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(15deg); }
  20% { transform: rotate(-15deg); }
  30% { transform: rotate(10deg); }
  40% { transform: rotate(-10deg); }
  50% { transform: rotate(0deg); }
}

/* ===================================================================
   CTA SECTION
   =================================================================== */
.cta-section {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.95) 100%), url('images/placeholder.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(22, 101, 52, 0.1) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.cta-feature i {
  color: var(--accent-light);
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.25fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .logo-main {
  color: var(--white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  max-width: 300px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.footer h4 {
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 3px;
  font-size: 0.875rem;
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  margin: 0;
}

.footer-bottom a {
  color: var(--accent);
  opacity: 0.8;
}

.footer-bottom a:hover {
  opacity: 1;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
}

.footer-legal a:hover {
  color: var(--accent-light);
}

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

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

/* ===================================================================
   PAGE HERO (interior pages)
   =================================================================== */
.page-hero {
  padding: 10rem 0 4rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(22, 101, 52, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

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

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===================================================================
   ABOUT PAGE
   =================================================================== */
/* Story Section */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.story-image::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  position: relative;
  z-index: 1;
}

.story-image-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
  text-align: center;
}

.story-content h2 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.story-content p {
  color: var(--gray-dark);
  font-size: 1.0625rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--light-bg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.team-initials {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.team-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
}

.team-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.team-card p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 0;
}

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

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* Approach Section */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.approach-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-align: center;
}

.approach-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(101, 163, 13, 0.15);
  border-radius: 12px;
  color: var(--accent-light);
  font-size: 1.5rem;
}

.approach-card h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.approach-card p {
  color: var(--gray);
  font-size: 0.9375rem;
  margin: 0;
}

@media (max-width: 768px) {
  .approach-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Certifications */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.cert-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.cert-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.5rem;
}

.cert-card h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.cert-card p {
  color: var(--muted);
  font-size: 0.8125rem;
  margin: 0;
}

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

@media (max-width: 480px) {
  .certs-grid {
    grid-template-columns: 1fr;
  }
}

/* Safety Section */
.safety-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.safety-content > p {
  font-size: 1.125rem;
  color: var(--gray-dark);
  margin-bottom: 2rem;
}

.safety-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  text-align: left;
}

.safety-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--light-bg);
  border-radius: 8px;
  font-weight: 500;
  color: var(--secondary);
}

.safety-item i {
  color: var(--primary);
  font-size: 1.125rem;
}

@media (max-width: 640px) {
  .safety-list {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   SERVICES PAGE
   =================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition-normal);
}

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

.service-card-header {
  padding: 2rem 1.5rem 1.5rem;
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 12px;
  color: var(--white);
  font-size: 1.25rem;
}

.service-card-header h3 {
  margin-bottom: 0.25rem;
}

.service-card-price {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-body p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.service-includes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-includes li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--gray-dark);
}

.service-includes li i {
  color: var(--accent);
  font-size: 0.8125rem;
}

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

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Pricing Plans */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.plan-card {
  background: var(--white);
  border-radius: 12px;
  border: 2px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
}

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

.plan-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-green);
}

.plan-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 0.375rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan-card h3 {
  margin-bottom: 0.5rem;
}

.plan-price {
  margin-bottom: 1.5rem;
}

.plan-price .amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
}

.plan-price .period {
  font-size: 0.9375rem;
  color: var(--muted);
}

.plan-features {
  text-align: left;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--gray-dark);
}

.plan-features li i {
  color: var(--accent);
  font-size: 0.8125rem;
}

.plan-features li.disabled {
  color: var(--gray);
  opacity: 0.5;
}

.plan-features li.disabled i {
  color: var(--gray);
}

@media (max-width: 768px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ===================================================================
   CONTACT PAGE
   =================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form-section h2 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.contact-form-section > p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

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

.form-group label {
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--secondary);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

/* Contact Info */
.contact-info-section {
  background: var(--secondary);
  padding: 2.5rem;
  border-radius: 12px;
  color: var(--white);
}

.contact-info-section h2 {
  color: var(--white);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(101, 163, 13, 0.15);
  border-radius: 10px;
  color: var(--accent-light);
  font-size: 1rem;
}

.contact-info-item h4 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.125rem;
}

.contact-info-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin: 0;
}

.contact-hours {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hours h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

.emergency-box {
  margin-top: 2rem;
  padding: 1.25rem;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 10px;
  text-align: center;
}

.emergency-box p {
  color: #FCA5A5;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.emergency-box a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

/* Map Section */
.map-container {
  height: 400px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin: 0 auto;
  max-width: 1200px;
}

.map-placeholder {
  text-align: center;
  color: var(--white);
}

.map-placeholder i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.map-placeholder p {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.faq-item {
  background: var(--white);
  padding: 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
}

.faq-item h3 {
  color: var(--secondary);
  font-size: 1.0625rem;
  margin-bottom: 0.625rem;
}

.faq-item p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   ANIMATIONS
   =================================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
