/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base font - 16px, sans-serif, proper line-height */
.body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #000000;
  font-size: 16px;
  text-align: left;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   KEYBOARD ACCESSIBILITY - WCAG 2.1 AA
   ============================================ */

/* Focus Visible - Required by WCAG 2.4.7 */
*:focus {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

*:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

/* Skip to Content Link - WCAG 2.4.1 Bypass Blocks */
.skip-to-content {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 1rem 1.5rem;
  background: #2563eb;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.skip-to-content:focus {
  left: 1rem;
  top: 1rem;
}

/* Enhanced button focus states */
.btn:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Card focus for keyboard navigation */
.service-card:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
  transform: translateY(-2px);
}

/* Header */
.header {
  background: rgb(255, 255, 255);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2563eb;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 60px;
  width: auto;
  max-width: 250px;
}

.company-name {
  color: #000000;
  font-size: 1.25rem;
  /* 20px */
  font-weight: 700;
  letter-spacing: -0.025em;
}

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

.nav a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s;
}

.nav a:hover {
  color: #2563eb;
}

.header-cta {
  background: #ef4444;
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  margin-left: 0.5rem;
}

.header-text {
  background: #2563eb;
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  margin-left: 0.5rem;
  text-decoration: none;
}

.header-text:hover {
  background: #1d4ed8;
}

/* Mobile Menu */
#menu-toggle {
  display: none;
}

#services-toggle {
  display: none;
}

.menu-icon {
  display: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: relative;
  z-index: 102;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 3px;
  background: #000000;
  margin: 6px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .menu-icon {
    display: block;
    flex-direction: column;
    justify-content: space-around;
  }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 80px 20px 20px;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 101;
    overflow-y: auto;
  }

  .nav > a {
    width: 100%;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
  }

  .has-dropdown {
    width: 100%;
    border-bottom: 1px solid #e5e7eb;
  }

  .dropdown-toggle {
    width: 100%;
    padding: 1rem;
    justify-content: flex-start;
  }

  /* Hide arrow and close button on mobile */
  .dropdown-arrow,
  .dropdown-close {
    display: none !important;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: #f9fafb;
    border-radius: 0;
    padding: 0;
    min-width: 100%;
    margin-top: 0;
  }

  .dropdown-menu a {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
  }

  #services-toggle:checked ~ .dropdown-menu {
    display: block !important;
  }

  .has-dropdown:hover .dropdown-menu {
    display: none;
  }

  .header-cta {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    margin-left: 0;
  }

  .header-text {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
    margin-left: 0;
  }

  #menu-toggle:checked ~ .nav {
    display: flex;
    right: 0;
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
  }

  #menu-toggle:checked ~ .menu-overlay {
    display: block;
  }
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
}

/* Breadcrumb */
.breadcrumb {
  background: #f5f5f5;
  padding: 1rem 0;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: #000000;
}

.breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  padding: 3rem 1rem;
}

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

.hero h1 {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.2;
  margin-top: 0.5rem;
  color: #000000;
}

.hero .service-tag {
  color: #dc2626;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.lead {
  font-size: 1.125rem;
  margin-top: 1rem;
  color: #000000;
  line-height: 1.75;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Buttons - 44px minimum height for touch */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  text-align: center;
  min-height: 44px;
  line-height: 1.4;
}

.btn-primary {
  background: #dc2626;
  color: white;
}

.btn-primary:hover {
  background: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background: #e5e7eb;
  color: #000000;
}

.btn-secondary:hover {
  background: #d1d5db;
}

/* Images - Responsive with proper aspect ratios */
.hero img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 100%;
}

@media (min-width: 768px) {
  .hero {
    padding: 4rem 1rem;
  }

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

  .hero h1 {
    font-size: 2.5rem;
  }
}

/* Content Sections - Short paragraphs as per checklist */
.section {
  padding: 3rem 1rem;
}

.section-alt {
  background: #f9fafb;
}

.section h2 {
  font-size: 1.875rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
  color: #000000;
}

.section .lead {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: #000000;
}

@media (min-width: 768px) {
  .section {
    padding: 4rem 1rem;
  }

  .section h2 {
    font-size: 2rem;
  }
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #dc2626;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #000000;
}

.card p {
  color: #000000;
  line-height: 1.6;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.process-item {
  display: flex;
  gap: 1rem;
  align-items: start;
}

.process-icon {
  color: #2563eb;
  flex-shrink: 0;
  margin-top: 0.25rem;
  width: 24px;
  height: 24px;
}

.process-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #000000;
}

.process-item p {
  color: #000000;
  line-height: 1.6;
}

.process-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Trust Signals - Reviews Section */
.trust-section {
  background: #eff6ff;
  padding: 3rem 1rem;
}

.review-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #10b981;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  max-width: 800px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #2563eb;
}

.review-author {
  font-weight: 600;
  color: #000000;
}

.review-date {
  font-size: 0.875rem;
  color: #000000;
}

.review-stars {
  color: #f59e0b;
}

.review-body {
  color: #000000;
  line-height: 1.6;
  font-style: italic;
}

.verified-badge {
  background: #dcfce7;
  color: #166534;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 0.5rem;
  text-decoration: none;
  transition: all 0.3s;
}

.verified-badge:hover {
  background: #bbf7d0;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Emergency Banner */
.emergency-banner {
  background: #fef2f2;
  border: 3px solid #dc2626;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin: 3rem auto;
  max-width: 800px;
}

.emergency-banner h3 {
  color: #991b1b;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.emergency-banner p {
  color: #991b1b;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
    .emergency-banner .btn {
        width: 100%;
        max-width: 100%;
        min-height: 44px; /* Google best practice */
        padding: 12px 16px; /* This + font height = 44px+ */
        font-size: 16px;
        box-sizing: border-box;
        display: inline-block;
        text-align: center;
    }
}
/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 2rem auto 0;
}

.faq-item {
  background: rgba(233, 233, 233, 0.315);
  border-color: #000000;
  border: 1px solid #000000;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: #0d84e6;
}

.faq-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #000000;
}

.faq-item p {
  color: #000000;
  line-height: 1.6;
}

/* Related Services */
.related-services {
  padding: 3rem 1rem;
}

.related-services h2 {
  font-size: 1.875rem;
  text-align: center;
  margin-bottom: 2rem;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  display: block;
  padding: 2rem;
  background: rgba(233, 233, 233, 0.315);
  border: 1px solid #07073b;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}

.service-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: #0d84e6;
}

.service-card h3 {
  color: #000000;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.service-card p {
  color: #000000;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.link-text {
  color: #dc2626;
  font-weight: 600;
}

@media (min-width: 768px) {
  .related-services {
    padding: 4rem 1rem;
  }

  .related-services h2 {
    font-size: 2rem;
  }
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 3rem 1rem;
  background: #f9fafb;
}

.final-cta h2 {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.final-cta .lead {
  max-width: 700px;
  margin: 0 auto 2rem;
}

@media (min-width: 768px) {
  .final-cta {
    padding: 4rem 1rem;
  }

  .final-cta h2 {
    font-size: 2rem;
  }
}

/* Footer */
.site-footer {
  background: #1e3a8a;
  color: white;
  padding: 3rem 1rem 1rem;
  margin-top: 0;
}

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

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #e0e7ff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
  text-decoration: underline;
}

.footer-section p {
  color: #e0e7ff;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgb(255, 255, 255);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
}

.footer-bottom a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: #e0e7ff;
  text-decoration: underline;
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: #000000;
  transition: color 0.3s;
  background: none;
  border: none;
  font-size: 1rem;
  padding: 0;
}

.dropdown-toggle:hover {
  color: #2563eb;
}

.dropdown-arrow {
  font-size: 0.75rem;
  transition: transform 0.3s;
}

.dropdown-close {
  display: none;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% - 5px);
  left: 0;
  background: white;
  min-width: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 0.5rem 0;
  z-index: 1000;
  padding-top: 1rem;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #000000 !important;
  text-decoration: none;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background: #f3f4f6;
  color: #2563eb !important;
}

.has-dropdown:hover .dropdown-menu {
  display: block;
}

.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}
