/* ============================================
   Aurora Water Damage Restoration Pros
   Mobile-First Premium Stylesheet
   ============================================ */

:root {
  --navy: #0a2540;
  --navy-dark: #06182b;
  --blue: #1a73e8;
  --blue-bright: #4285f4;
  --blue-light: #e8f0fe;
  --teal: #0d9488;
  --teal-light: #ccfbf1;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.05);
  --shadow: 0 4px 12px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.12);
  --shadow-lg: 0 16px 40px rgba(10, 37, 64, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1120px;
  --header-height: 64px;
  --sticky-bar-height: 60px;
}

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

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  padding-bottom: var(--sticky-bar-height);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); margin-bottom: 0.875rem; }
h3 { font-size: clamp(1.15rem, 3vw, 1.35rem); margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--gray-700); }
.lead { font-size: 1.1rem; color: var(--gray-600); }

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--gray-50);
}

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

.section-navy h2,
.section-navy h3,
.section-navy p {
  color: var(--white);
}

.section-navy p {
  opacity: 0.9;
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.logo {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  flex-shrink: 0;
}

.logo span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.nav {
  display: none;
}

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

.nav-list a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.nav-list a:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
}

.menu-toggle span {
  display: block;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-top: 1px solid var(--gray-200);
  padding: 1rem;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

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

.mobile-nav a {
  display: block;
  padding: 0.875rem 1rem;
  font-weight: 600;
  color: var(--gray-800);
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav a:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.mobile-nav .mobile-cta {
  margin-top: 1rem;
  text-align: center;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
  white-space: nowrap;
  line-height: 1.3;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(26, 115, 232, 0.35);
}

.btn-primary:hover {
  background: #1557b0;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
}

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

.btn-secondary:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-teal:hover {
  background: #0f766e;
  color: var(--white);
}

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

.btn-white:hover {
  background: var(--gray-100);
  color: var(--navy);
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

/* Phone icon in buttons */
.btn-phone::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72c.127.96.361 1.903.7 2.81a2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0122 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72c.127.96.361 1.903.7 2.81a2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0122 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d3a66 50%, #0a4d7a 100%);
  color: var(--white);
  padding: 3rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(66, 133, 244, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}

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

.hero .lead {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-phone {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 1.25rem;
}

.hero-phone a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ========== SERVICE CARDS ========== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--blue-light);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--blue);
}

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

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-card a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue);
}

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

/* ========== CONTENT SECTIONS ========== */
.content-block {
  margin-bottom: 2.5rem;
}

.content-block:last-child {
  margin-bottom: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.checklist {
  margin: 1.25rem 0;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--gray-700);
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 18px;
  height: 18px;
  background: var(--teal);
  border-radius: 50%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
  background-color: var(--teal);
}

.warning-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--gray-700);
}

.warning-list li::before {
  content: '!';
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 20px;
  height: 20px;
  background: #fef3c7;
  color: #d97706;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ========== CTA BOXES ========== */
.cta-box {
  background: linear-gradient(135deg, var(--blue) 0%, #1557b0 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-md);
}

.cta-box h2,
.cta-box h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-box p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}

.cta-box .btn {
  margin: 0.35rem;
}

.cta-inline {
  background: var(--blue-light);
  border: 1px solid #c2d7f7;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  text-align: center;
}

.cta-inline p {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
}

/* ========== FAQ ========== */
.faq-list {
  margin-top: 1.5rem;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ========== HOW IT WORKS ========== */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  counter-reset: step;
}

.step {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  padding-left: 4.5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.25rem;
  top: 1.5rem;
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

/* ========== DISCLOSURE ========== */
.disclosure {
  background: var(--gray-100);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.disclosure h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.disclosure p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 2rem;
}

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

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

.footer a:hover {
  color: var(--white);
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

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

.footer-bottom p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white) !important;
  margin: 0.75rem 0;
}

/* ========== STICKY MOBILE CALL BAR ========== */
.sticky-call {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--navy);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  height: var(--sticky-bar-height);
}

.sticky-call .btn {
  width: 100%;
  max-width: 400px;
  padding: 0.8rem 1.25rem;
  font-size: 1.05rem;
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d3a66 100%);
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
}

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

.page-hero p {
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

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

.breadcrumb span {
  color: rgba(255,255,255,0.5);
}

/* ========== CONTACT / ABOUT ========== */
.info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.info-card h3 {
  margin-bottom: 0.75rem;
}

/* ========== 404 ========== */
.error-page {
  text-align: center;
  padding: 4rem 1.25rem;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.error-page h1 {
  font-size: 4rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ========== TABLET ========== */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

  .cta-inline {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ========== DESKTOP ========== */
@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }

  .sticky-call {
    display: none;
  }

  .menu-toggle {
    display: none;
  }

  .nav {
    display: block;
  }

  .header-cta {
    display: block;
  }

  .header-cta .btn {
    padding: 0.6rem 1.15rem;
    font-size: 0.9rem;
  }

  .logo {
    font-size: 1.1rem;
  }

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

  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }

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

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

  .section {
    padding: 4rem 0;
  }

  .hero {
    padding: 4.5rem 0 5rem;
  }
}

@media (min-width: 1024px) {
  .nav-list a {
    padding: 0.5rem 0.9rem;
  }
}

/* Print */
@media print {
  .sticky-call, .menu-toggle, .header-cta { display: none; }
  body { padding-bottom: 0; }
}
