/* Longwood Water Damage Restoration Pros — Modern Responsive Stylesheet */
:root {
  --bg-body: #F8FAFC;
  --bg-surface: #FFFFFF;
  --primary-navy: #0A192F;
  --secondary-blue: #0284C7;
  --accent-teal: #0D9488;
  --cta-highlight: #D97706;
  --cta-hover: #B45309;
  --safety-red: #DC2626;
  --safety-bg: #FEF2F2;
  --teal-bg: #F0FDFA;
  --text-main: #1E293B;
  --text-muted: #475569;
  --border-subtle: #E2E8F0;
  --shadow-card: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 10px 20px -3px rgba(15, 23, 42, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --max-width: 1200px;
}

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

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.prose {
  max-width: 72ch;
}

h1, h2, h3, h4 {
  color: var(--primary-navy);
  line-height: 1.25;
  margin-top: 0;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: var(--secondary-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary-navy);
}

:focus-visible {
  outline: 3px solid var(--secondary-blue);
  outline-offset: 2px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary-navy);
  color: #FFFFFF;
  padding: 12px 18px;
  z-index: 2000;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Top Disclosure Bar */
.disclosure-bar {
  background-color: #071224;
  color: #E2E8F0;
  font-size: 0.82rem;
  line-height: 1.45;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.disclosure-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.disclosure-bar a {
  color: #7DD3FC;
  font-weight: 600;
  white-space: nowrap;
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--primary-navy);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 10px rgba(10, 25, 47, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}

.brand-logo:hover {
  color: #E0F2FE;
}

.brand-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: #93C5FD;
  letter-spacing: 0.02em;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 20px;
}

.desktop-nav a {
  color: #F1F5F9;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: #7DD3FC;
  border-bottom-color: #7DD3FC;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-pill-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--cta-highlight);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: 999px;
  min-height: 44px;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
  transition: background-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn-pill-call:hover {
  background-color: var(--cta-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  cursor: pointer;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}

@media (min-width: 900px) {
  .desktop-nav {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  background-color: #0F2342;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 20px 24px;
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.mobile-drawer a {
  display: block;
  padding: 12px 14px;
  color: #F8FAFC;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
}

.mobile-drawer a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #7DD3FC;
}

/* Breadcrumbs */
.breadcrumb-nav {
  padding: 14px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #94A3B8;
}

.breadcrumb-list a {
  color: var(--secondary-blue);
  text-decoration: none;
}

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0A192F 0%, #0F3460 100%);
  color: #FFFFFF;
  padding: clamp(36px, 6vw, 72px) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.35fr 0.9fr;
    gap: 40px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 148, 136, 0.22);
  border: 1px solid rgba(94, 234, 212, 0.45);
  color: #99F6E4;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-section h1 {
  color: #FFFFFF;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 1.08rem;
  color: #E2E8F0;
  max-width: 62ch;
  margin-bottom: 24px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--cta-highlight);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 24px;
  border-radius: var(--radius-md);
  min-height: 54px;
  box-shadow: 0 8px 18px rgba(217, 119, 6, 0.35);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-hero-primary:hover {
  background-color: var(--cta-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  min-height: 54px;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

.hero-note {
  font-size: 0.85rem;
  color: #CBD5E1;
  max-width: 64ch;
}

.hero-card {
  background: rgba(255, 255, 255, 0.97);
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-card h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.hero-steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.hero-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.94rem;
}

.step-num {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--secondary-blue);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* Page Hero (Subpages) */
.page-hero {
  background: linear-gradient(135deg, #0A192F 0%, #0F3460 100%);
  color: #FFFFFF;
  padding: clamp(32px, 5vw, 52px) 0;
}

.page-hero h1 {
  color: #FFFFFF;
  margin-bottom: 12px;
}

.page-hero p {
  color: #E2E8F0;
  font-size: 1.04rem;
  max-width: 68ch;
  margin-bottom: 0;
}

/* Sections & Cards */
.section {
  padding: clamp(36px, 5vw, 64px) 0;
}

.section-header {
  margin-bottom: 28px;
  max-width: 72ch;
}

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary-blue);
  margin-bottom: 6px;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 22px;
}

.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--secondary-blue);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

.card-teal {
  border-top-color: var(--accent-teal);
}

.card-amber {
  border-top-color: var(--cta-highlight);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: #E0F2FE;
  color: var(--secondary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.card-icon-teal {
  background: #CCFBF1;
  color: var(--accent-teal);
}

.card-link {
  margin-top: auto;
  padding-top: 10px;
  font-weight: 600;
  font-size: 0.94rem;
}

/* Direct Answer Callout */
.direct-answer-box {
  background-color: var(--teal-bg);
  border-left: 4px solid var(--accent-teal);
  border-top: 1px solid #99F6E4;
  border-right: 1px solid #99F6E4;
  border-bottom: 1px solid #99F6E4;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 16px 0 22px;
  box-shadow: var(--shadow-card);
}

.direct-answer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--accent-teal);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* Safety Alert Box */
.safety-alert-box {
  background-color: var(--safety-bg);
  border-left: 4px solid var(--safety-red);
  border-top: 1px solid #FECACA;
  border-right: 1px solid #FECACA;
  border-bottom: 1px solid #FECACA;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 20px 0;
}

.safety-alert-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #991B1B;
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 10px;
}

.safety-alert-box ul {
  margin: 0;
  padding-left: 20px;
  color: #7F1D1D;
}

.safety-alert-box li {
  margin-bottom: 6px;
}

/* Info / Referral Highlight Box */
.info-panel {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--secondary-blue);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

/* Timeline Steps */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.timeline-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.timeline-badge {
  display: inline-block;
  background: #EFF6FF;
  color: var(--secondary-blue);
  border: 1px solid #BFDBFE;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* 2-Column Service Page Layout */
.service-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 993px) {
  .service-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 40px;
  }
}

.service-article section {
  margin-bottom: 34px;
}

.sticky-sidebar {
  display: grid;
  gap: 20px;
}

@media (min-width: 993px) {
  .sticky-sidebar {
    position: sticky;
    top: 92px;
  }
}

.sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.sidebar-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
}

.toc-list a {
  text-decoration: none;
  color: var(--text-main);
}

.toc-list a:hover {
  color: var(--secondary-blue);
  text-decoration: underline;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin: 18px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.93rem;
}

th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

th {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  font-weight: 600;
}

tbody tr:nth-child(even) {
  background-color: #F8FAFC;
}

/* Accordions (<details>) */
.faq-list {
  display: grid;
  gap: 12px;
}

details.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary-blue);
  flex-shrink: 0;
}

details.faq-item[open] summary::after {
  content: "−";
}

details.faq-item[open] summary {
  border-bottom: 1px solid var(--border-subtle);
  background-color: #F8FAFC;
}

.faq-answer {
  padding: 16px 20px;
  color: var(--text-main);
}

/* Final CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #0A192F 0%, #0F3460 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-hover);
  display: grid;
  gap: 20px;
  align-items: center;
}

@media (min-width: 820px) {
  .cta-banner {
    grid-template-columns: 1.4fr auto;
  }
}

.cta-banner h2 {
  color: #FFFFFF;
  margin-bottom: 8px;
}

.cta-banner p {
  color: #E2E8F0;
  margin-bottom: 0;
  max-width: 62ch;
}

/* Footer */
.site-footer {
  background-color: var(--primary-navy);
  color: #CBD5E1;
  padding: 48px 0 36px;
  margin-top: 40px;
  border-top: 4px solid var(--secondary-blue);
}

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

.site-footer h3 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 12px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.site-footer a {
  color: #93C5FD;
  text-decoration: none;
}

.site-footer a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-disclosure {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.85rem;
  color: #E2E8F0;
  margin-bottom: 20px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
}

/* Mobile Sticky Bottom Call Bar */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #FFFFFF;
    border-top: 2px solid var(--primary-navy);
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.16);
    padding: 8px 14px 10px;
  }

  .mobile-sticky-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 6px;
    font-weight: 600;
  }

  .mobile-sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    background-color: var(--cta-highlight);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }

  .mobile-sticky-btn:hover {
    background-color: var(--cta-hover);
    color: #FFFFFF;
  }
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.zip-chip {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: var(--primary-navy);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
