@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --bg-primary: #0a0f1d;
  --bg-secondary: #131b2e;
  --bg-card: #1a243b;
  --bg-card-hover: #222f4c;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(247, 183, 49, 0.5);
  
  --accent-gold: #f7b731;
  --accent-amber: #ff9f1a;
  --accent-red: #ff4757;
  --accent-cyan: #38ada9;
  --accent-blue: #2e86de;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --shadow-glow: 0 0 25px rgba(247, 183, 49, 0.25);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* Space for mobile sticky CTA bar */
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fff;
}

/* Header & Top Emergency Alert Bar */
.top-emergency-bar {
  background: linear-gradient(90deg, #b00020, #e65100, #b00020);
  background-size: 200% 200%;
  animation: alertGradient 4s ease infinite;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

@keyframes alertGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.site-header {
  background-color: rgba(19, 27, 46, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 24px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo span.highlight {
  color: var(--accent-gold);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.header-nav a:hover {
  color: #fff;
}

.header-phone-cta {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
  color: #0b0f19 !important;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-glow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.header-phone-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(247, 183, 49, 0.45);
  color: #000 !important;
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 60px 0 80px 0;
  background: radial-gradient(circle at 50% 20%, rgba(56, 173, 169, 0.12), transparent 70%);
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(247, 183, 49, 0.1);
  border: 1px solid rgba(247, 183, 49, 0.3);
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title span.text-gold {
  color: var(--accent-gold);
  background: linear-gradient(135deg, #f7b731, #ff9f1a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 36px auto;
}

/* Instant ZIP & City Search Container */
.search-box-wrapper {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.search-input-group {
  display: flex;
  background-color: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input-group:focus-within {
  border-color: var(--accent-gold);
  box-shadow: 0 0 25px rgba(247, 183, 49, 0.25);
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 18px;
  color: #fff;
  font-size: 1.05rem;
  font-family: var(--font-body);
  outline: none;
}

.search-input::placeholder {
  color: var(--text-dim);
}

.search-btn {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
  color: #0b0f19;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0 26px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-results-dropdown {
  position: absolute;
  top: 105%;
  left: 0;
  right: 0;
  background-color: #172138;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  max-height: 350px;
  overflow-y: auto;
  z-index: 50;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  display: none;
}

.search-result-item {
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  color: #fff;
  cursor: pointer;
}

.search-result-item:hover {
  background-color: var(--bg-card-hover);
  color: var(--accent-gold);
}

/* Callouts & Trust Metrics Grid */
.trust-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.metric-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.metric-card:hover {
  transform: translateY(-3px);
  border-color: rgba(247, 183, 49, 0.3);
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Content Sections & Cards */
.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.location-card, .guide-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.location-card:hover, .guide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 183, 49, 0.4);
  box-shadow: var(--shadow-card);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.card-meta {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-amber {
  background: rgba(255, 159, 26, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(255, 159, 26, 0.3);
}

.badge-cyan {
  background: rgba(56, 173, 169, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 173, 169, 0.3);
}

.badge-red {
  background: rgba(255, 71, 87, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(255, 71, 87, 0.3);
}

/* Pricing & Climate Data Tables */
.data-table-container {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.data-table th {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 14px 18px;
  font-family: var(--font-heading);
  color: var(--accent-gold);
  border-bottom: 1px solid var(--border-color);
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* FAQ Accordion Styling */
.faq-section {
  margin: 50px 0;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  padding: 20px 24px;
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-question::before {
  content: "❓";
  font-size: 1.1rem;
}

.faq-answer {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin: 20px 0 30px 0;
  flex-wrap: wrap;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #131b2e;
  border-top: 2px solid var(--accent-gold);
  padding: 10px 16px;
  z-index: 999;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.6);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--accent-gold);
}

.mobile-cta-btn {
  flex: 1;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
  color: #0b0f19;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-glow);
}

/* Footer */
.site-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
  margin-top: 80px;
}

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

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--accent-gold);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }

  .mobile-sticky-cta {
    display: flex;
  }

  .mobile-menu-toggle { 
    display: flex; 
  }

  .header-nav { 
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #0f172a;
    border-bottom: 3px solid var(--accent-gold);
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    z-index: 999;
  }

  .header-nav.active {
    display: flex !important;
  }

  .header-nav a {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    padding: 12px 16px;
    background-color: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header-phone-cta {
    justify-content: center;
    text-align: center;
  }

  .hero-section { padding: 40px 0; }
  .hero-title { font-size: 2.1rem; }
  .search-input-group { flex-direction: column; }
  .search-btn { width: 100%; padding: 14px; margin-top: 6px; }
}
