* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Inter", "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background: #f4f6fb;
}
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2.75rem;
}

.site-header {
  background: radial-gradient(circle at 20% 20%, #1f3b5b 0%, #0b1727 55%);
  color: #e5e7eb;
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; flex-direction: column; gap: 0.15rem; }
.brand-mark { font-weight: 800; font-size: 1.25rem; color: #fff; letter-spacing: -0.01em; }
.brand-subtitle { color: #cbd5e1; font-size: 0.9rem; }
.main-nav { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.main-nav a { color: #e5e7eb; font-weight: 600; padding: 0.35rem 0.5rem; border-radius: 0.5rem; }
.main-nav a:hover { background: rgba(255,255,255,0.08); text-decoration: none; }

.mega-menu { position: relative; }
.mega-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-weight: 600;
}
.mega-toggle svg { transition: transform 0.2s ease; }
.mega-menu:hover .mega-toggle svg,
.mega-menu:focus-within .mega-toggle svg,
.mega-menu.open .mega-toggle svg {
  transform: rotate(180deg);
}
.mega-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: min(520px, 100vw - 2rem);
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
  padding: 1rem;
  display: none;
  z-index: 5;
  max-height: 70vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mega-menu.open .mega-panel {
  display: block;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.6rem;
}
.mega-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem;
  border-radius: 0.75rem;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-weight: 600;
}
.mega-item:hover {
  border-color: #2563eb;
  background: #eef2ff;
}
.mega-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.site-footer { background: #0b1727; color: #e2e8f0; padding: 2.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; align-items: start; }
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a { color: #cbd5e1; }
.footer-text { margin: 0.35rem 0 0; color: #cbd5e1; }
.footer-bottom { margin-top: 1.5rem; color: #94a3b8; font-size: 0.9rem; }

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: 1.8rem; align-items: center; margin: 1.2rem 0 2rem; }
.hero-compact { grid-template-columns: minmax(0, 1fr); }
.hero-title { font-size: 2.1rem; margin: 0.3rem 0 0.75rem; color: #0f172a; }
.hero-subtitle { margin: 0; color: #475569; font-size: 1rem; line-height: 1.6; }
.hero-panel { background: #fff; border-radius: 1rem; padding: 1rem 1.2rem; box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12); border: 1px solid #e2e8f0; }
.hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.5rem; margin-top: 1rem; }
.hero-stats div { background: rgba(255,255,255,0.7); border: 1px solid #e2e8f0; border-radius: 0.75rem; padding: 0.75rem; text-align: center; }
.hero-stats strong { display: block; font-size: 1.4rem; color: #0f172a; }
.hero-stats span { color: #475569; font-size: 0.9rem; }

.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; font-size: 0.8rem; color: #2563eb; margin: 0; }

.search-label { font-weight: 700; color: #0f172a; display: block; margin-bottom: 0.25rem; }
.search-input { width: 100%; padding: 0.8rem 1rem; border-radius: 0.85rem; border: 1px solid #cbd5f5; background: #f8fafc; font-size: 1rem; transition: border-color 0.12s ease, box-shadow 0.12s ease; }
.search-input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18); }
.search-hint { margin: 0.4rem 0 0; font-size: 0.9rem; color: #64748b; }

.state-search-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.1rem;
  padding: 1.2rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  margin-bottom: 1.25rem;
}
.state-search-actions { display: flex; flex-direction: column; gap: 0.35rem; }
.section-subtext { margin: 0.25rem 0 0; color: #64748b; line-height: 1.6; }

.home-long-text {
  background: #fff;
  border-radius: 1.1rem;
  border: 1px solid #e2e8f0;
  padding: 1.4rem;
  margin-top: 2rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}
.home-long-text h2 { margin: 0 0 0.6rem; font-size: 1.4rem; color: #0f172a; }
.home-long-text p { margin: 0.35rem 0; color: #475569; line-height: 1.7; }
.home-long-text ul { margin: 0.5rem 0; padding-left: 1.2rem; color: #475569; line-height: 1.7; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.state-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 1.5rem; gap: 1.4rem; }

.card { background: #fff; border-radius: 1rem; padding: 1.35rem; box-shadow: 0 14px 46px rgba(15, 23, 42, 0.1); border: 1px solid #e2e8f0; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(15, 23, 42, 0.14); }
.card-title { margin: 0.35rem 0; font-size: 1.15rem; color: #0f172a; }
.card-meta { font-size: 0.95rem; color: #475569; }
.card-tags { margin-top: 0.35rem; }

.state-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  height: 100%;
}
.state-card-cities {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.state-card .button-link {
  margin-top: auto;
  align-self: flex-start;
}
.state-card-text {
  margin: 0;
  color: #475569;
  line-height: 1.5;
}

.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 0.25rem 0.7rem; font-size: 0.8rem; background: #eef2ff; color: #4338ca; font-weight: 700; }
.button-link { display: inline-flex; align-items: center; justify-content: center; padding: 0.65rem 1.05rem; border-radius: 0.95rem; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; font-weight: 700; margin-top: 0.9rem; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.button-link:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35); }

.cta-buttons { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.1rem; }
.button-outline { display: inline-flex; align-items: center; justify-content: center; padding: 0.6rem 1rem; border-radius: 0.95rem; border: 1px solid #1d4ed8; color: #1d4ed8; font-weight: 700; background: transparent; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.button-outline:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15); }

.no-results { display: none; margin-top: 1.25rem; padding: 1rem; border-radius: 0.85rem; border: 1px dashed rgba(37, 99, 235, 0.35); background: #f0f5ff; color: #1d4ed8; text-align: center; font-weight: 700; }


.state-long-text { background: #fff; border-radius: 1.1rem; border: 1px solid #e2e8f0; padding: 1.4rem; margin-top: 2rem; box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08); }
.state-long-text h2 { margin: 0 0 0.6rem; font-size: 1.4rem; color: #0f172a; }
.state-long-text p { margin: 0.3rem 0; color: #475569; line-height: 1.7; }
.state-long-text strong { color: #0f172a; }
.state-long-text ul { margin: 0.6rem 0 0.9rem; padding-left: 1.3rem; list-style: disc; }
.state-long-text ul li { margin-bottom: 0.35rem; }
.state-long-text em { display: block; margin-top: 1rem; color: #475569; font-style: italic; }

.breadcrumbs { font-size: 0.92rem; margin: 0.5rem 0 1rem; color: #64748b; }
.breadcrumbs a { color: #475569; }
.breadcrumbs span { margin: 0 0.35rem; }

.layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.2rem; }

.business-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 1.2rem; align-items: center; background: #0b1727; color: #e2e8f0; border-radius: 1.2rem; padding: 1.4rem; box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22); }
.business-text h1 { margin: 0.25rem 0 0.5rem; font-size: 2rem; color: #fff; }
.business-address { margin: 0.25rem 0; color: #cbd5e1; }
.business-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; font-size: 0.95rem; }
.rating { font-weight: 700; color: #fbbf24; }

.image-frame { border-radius: 1rem; overflow: hidden; background: #111827; border: 1px solid rgba(226, 232, 240, 0.2); }
.image-frame img { display: block; width: 100%; height: 300px; object-fit: cover; }
.fallback-image { display: flex; align-items: center; justify-content: center; height: 300px; padding: 1rem; text-align: center; font-size: 0.95rem; color: #cbd5e1; }

.section { margin-top: 1.5rem; }
.section h2 { margin: 0 0 0.5rem; font-size: 1.25rem; color: #0f172a; }
.section p { margin: 0.25rem 0; color: #475569; line-height: 1.6; }

.info-card { background: #fff; padding: 1.25rem; border-radius: 1rem; border: 1px solid #e2e8f0; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); }
.meta-list { list-style: none; padding: 0; margin: 0.5rem 0 0; font-size: 0.97rem; color: #475569; }
.meta-list li { margin-bottom: 0.3rem; }
.note { margin-top: 0.75rem; font-size: 0.9rem; color: #64748b; }
.hours-lines { display: inline-block; margin-top: 0.25rem; line-height: 1.6; }

.pill { display: inline-block; background: rgba(255,255,255,0.12); color: #e5e7eb; padding: 0.2rem 0.55rem; border-radius: 999px; font-size: 0.78rem; border: 1px solid rgba(255,255,255,0.25); }
.highlight-list { list-style: disc; padding-left: 1.2rem; margin: 0.5rem 0 0; color: #0f172a; line-height: 1.6; }

.map-frame { border-radius: 1rem; overflow: hidden; border: 1px solid #e2e8f0; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12); }
.map-frame iframe { display: block; width: 100%; height: 320px; border: 0; }
.map-section { background: #fff; padding: 1rem; border-radius: 1rem; border: 1px solid #e2e8f0; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08); }

.related-section { background: #fff; padding: 1.2rem; border-radius: 1rem; border: 1px solid #e2e8f0; box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.6rem; }
.pill-link, .pill-link:visited { color: inherit; }
.pill-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-weight: 600;
  color: #0f172a;
}
.pill-link-name { font-size: 1rem; color: #0f172a; }
.pill-link-city { color: #64748b; font-size: 0.85rem; }
.pill-link:hover { text-decoration: none; border-color: #2563eb; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.18); }

.section-heading-text { margin: 0 0 0.5rem; font-size: 1.25rem; color: #0f172a; font-weight: 600; }

.info-content { background: #fff; padding: 1.25rem; border-radius: 1rem; border: 1px solid #e2e8f0; box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08); }
.info-content p { line-height: 1.7; color: #475569; }
.info-content ul { margin: 0.25rem 0 0; padding-left: 1.1rem; color: #475569; line-height: 1.6; }

.card .eyebrow { color: #0f172a; }

.mega-menu.open .mega-panel {
  display: block;
}

.mega-menu.open .mega-panel {
  animation: megaSlide 0.2s ease;
}

@keyframes megaSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .business-hero { grid-template-columns: minmax(0, 1fr); }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .image-frame img, .fallback-image { height: 240px; }

  .mega-panel {
    position: static;
    width: 100%;
    margin-top: 0.75rem;
  }

  .mega-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}
@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .main-nav { width: 100%; }
  .hero-title { font-size: 1.7rem; }
  .business-text h1 { font-size: 1.7rem; }
}
