/* ============================================================
   DryOut Inc - Design System v2
   Water Damage Restoration, Florida
   Professional UI: controlled image ratios, overlay heroes,
   consistent spacing scale. No image is ever stretched.
   ============================================================ */
:root {
  --navy: #0a2540;
  --navy-2: #103a5f;
  --blue: #0284c7;
  --blue-light: #38bdf8;
  --blue-pale: #eaf4fb;
  --red: #dc2626;
  --red-dark: #b91c1c;
  --text: #243447;
  --muted: #5b7186;
  --border: #dce6ee;
  --bg: #ffffff;
  --bg-alt: #f3f8fc;
  --green: #15803d;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 16px 44px rgba(10, 37, 64, 0.14);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); color: var(--text); background: var(--bg);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--blue); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { scroll-margin-top: 110px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.28rem; margin-bottom: 8px; }
p { margin-bottom: 14px; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.78rem; font-weight: 700; color: var(--blue); margin-bottom: 12px;
}
.section-lead { font-size: 1.14rem; color: var(--muted); max-width: 780px; }
.lead-center { margin-left: auto; margin-right: auto; text-align: center; }
.small { font-size: 0.92rem; color: var(--muted); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 0 var(--border); transition: box-shadow 0.2s ease; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(10, 37, 64, 0.12); }
.emergency-bar { background: var(--red); color: #fff; }
.emergency-bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 7px 24px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-size: 0.92rem; font-weight: 600;
}
.emergency-badge {
  background: #fff; color: var(--red); font-weight: 800; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 10px; border-radius: 999px;
}
.emergency-bar a { color: #fff; text-decoration: none; font-weight: 800; }
.main-nav { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.logo { font-size: 1.45rem; font-weight: 800; color: var(--navy); text-decoration: none; white-space: nowrap; }
.logo span { color: var(--blue); }
.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin-left: auto; }
.nav-menu > li > a {
  display: block; padding: 10px 14px; color: var(--navy); text-decoration: none;
  font-weight: 600; font-size: 1rem; border-radius: 8px;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--blue); background: var(--blue-pale); }
.has-dropdown { position: relative; }
.dropdown-toggle {
  background: none; border: none; cursor: pointer; font: inherit; font-weight: 600;
  color: var(--navy); padding: 10px 14px; border-radius: 8px;
}
.dropdown-toggle::after { content: " +"; color: var(--blue); font-weight: 800; }
.dropdown-toggle.active { color: var(--blue); background: var(--blue-pale); }
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown { display: block; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 300px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: 10px; list-style: none; z-index: 120;
}
.dropdown a {
  display: block; padding: 9px 12px; color: var(--navy); text-decoration: none;
  font-weight: 500; font-size: 0.97rem; border-radius: 8px;
}
.dropdown a:hover { background: var(--blue-pale); color: var(--blue); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; margin-left: auto; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: 0.2s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 700; font-size: 1rem; line-height: 1.25;
  padding: 14px 28px; border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; text-align: center; text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary, .btn-call { background: var(--red); color: #fff; }
.btn-primary:hover, .btn-call:hover { background: var(--red-dark); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #0369a1; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-pale); }
.btn-ghost-light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.65); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.25); }
.btn-sm { padding: 10px 20px; font-size: 0.95rem; }
.btn-lg { padding: 17px 36px; font-size: 1.12rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- Hero (background image + overlay, fixed proportions) ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 28, 48, 0.92) 0%, rgba(7, 28, 48, 0.78) 46%, rgba(7, 28, 48, 0.38) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 96px 24px 88px; max-width: 1200px; margin: 0 auto; }
.hero-content { max-width: 660px; }
.hero h1 { color: #fff; font-size: 3rem; margin-bottom: 18px; }
.hero h1 .accent { color: var(--blue-light); }
.hero .hero-sub { font-size: 1.22rem; color: #d7e6f2; margin-bottom: 8px; max-width: 600px; }
.hero .eyebrow { color: var(--blue-light); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; list-style: none; padding: 0; }
.hero-badges li {
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 15px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: #fff;
  backdrop-filter: blur(3px);
}
.hero-badges li::before { content: "\2713 "; color: var(--blue-light); font-weight: 800; }
/* Inner page hero */
.page-hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.page-hero .hero-inner { padding: 64px 24px 58px; }
.page-hero h1 { color: #fff; font-size: 2.45rem; margin-bottom: 12px; }
.page-hero .hero-sub { font-size: 1.12rem; color: #d7e6f2; max-width: 720px; }
.breadcrumb { font-size: 0.9rem; color: #a9c6dd; margin-bottom: 16px; }
.breadcrumb a { color: #d7e6f2; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Trust bar / stats ---------- */
.trust-bar { background: var(--navy); color: #fff; }
.trust-bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 22px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
}
.stat-num { font-size: 1.7rem; font-weight: 800; color: #fff; display: block; line-height: 1.1; }
.stat-label { font-size: 0.88rem; color: #b9d2e6; }

/* ---------- Sections & layout ---------- */
.section { padding: 84px 0; }
.section-light, .section-alt { background: var(--bg-alt); }
.section-tight { padding: 56px 0; }
.section-head { max-width: 820px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.two-col-top { align-items: start; }

/* ---------- Image frames: fixed ratios, never stretched ---------- */
.img-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-21x9 { aspect-ratio: 21 / 9; }
.img-caption { font-size: 0.88rem; color: var(--muted); margin-top: 10px; text-align: center; }
.img-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.img-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
figure { margin: 0; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin: 0 0 10px; }
.card p { color: var(--muted); font-size: 0.99rem; }
.card .card-link { margin-top: auto; font-weight: 700; text-decoration: none; }
.card .card-link::after { content: " \2192"; }
.card-img { margin: -28px -28px 20px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 9; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 12px; background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}
.check-list { list-style: none; padding: 0; margin: 12px 0; }
.check-list li { padding: 6px 0 6px 30px; position: relative; font-size: 0.99rem; }
.check-list li::before { content: "\2713"; color: var(--green); font-weight: 800; position: absolute; left: 6px; }
.x-list li::before { content: "\2715"; color: var(--red); }

/* ---------- Answer box (LLM / AEO) ---------- */
.answer-box {
  background: var(--blue-pale); border: 1px solid #bfe0f2; border-left: 5px solid var(--blue);
  border-radius: var(--radius-sm); padding: 26px 30px; margin: 30px 0;
}
.answer-box .answer-label {
  display: block; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 8px;
}
.answer-box p { margin: 0; font-size: 1.06rem; color: var(--navy); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.steps li {
  counter-increment: step; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 26px 22px 84px; position: relative; box-shadow: var(--shadow);
  color: var(--muted); font-size: 0.99rem;
}
.steps li::before {
  content: counter(step); position: absolute; left: 24px; top: 24px;
  width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff;
  font-weight: 800; font-size: 1.15rem; display: flex; align-items: center; justify-content: center;
}
.steps li strong { display: block; color: var(--navy); font-size: 1.08rem; margin-bottom: 5px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 22px 0; border-radius: var(--radius); box-shadow: var(--shadow); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; background: #fff; }
table.data-table th, table.data-table td { border-bottom: 1px solid var(--border); padding: 13px 16px; text-align: left; vertical-align: top; }
table.data-table thead th { background: var(--navy); color: #fff; border-bottom: none; }
table.data-table tbody tr:nth-child(even) { background: var(--bg-alt); }
table.data-table tbody tr:last-child td { border-bottom: none; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--navy); font-size: 1.05rem;
  padding: 19px 52px 19px 22px; position: relative;
}
.faq-question::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--blue); font-weight: 400;
}
.faq-item.open .faq-question::after { content: "\2212"; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 22px 20px; color: var(--muted); margin: 0; }

/* ---------- Reviews ---------- */
.review-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.stars { color: #f59e0b; letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 10px; }
.review-card p { color: var(--text); font-size: 0.99rem; }
.review-meta { color: var(--muted); font-size: 0.88rem; font-weight: 600; margin-top: 12px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #14507e 100%); color: #fff; padding: 70px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9ddee; max-width: 640px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c9ddee; padding: 64px 0 0; font-size: 0.97rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #c9ddee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-about p { color: #a9c6dd; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding: 20px 0; font-size: 0.88rem; color: #8fb0ca; }
.footer-bottom a { color: #c9ddee; }

/* ---------- City directory ---------- */
.region-group { margin: 34px 0; }
.region-group h3 { border-bottom: 2px solid var(--blue); padding-bottom: 9px; }
.city-count { font-weight: 400; font-size: 0.9rem; color: var(--muted); }
.directory-list { list-style: none; padding: 0; margin: 16px 0; columns: 3; column-gap: 34px; }
.directory-list li { break-inside: avoid; padding: 5px 0; font-size: 0.96rem; }
.directory-list li a { color: var(--navy); text-decoration: none; font-weight: 500; }
.directory-list li a:hover { color: var(--blue); text-decoration: underline; }
.zip-count { font-size: 0.8rem; color: var(--muted); }
.city-links { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.city-links li a {
  display: inline-block; padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px;
  text-decoration: none; font-size: 0.92rem; color: var(--navy); background: #fff; font-weight: 500;
}
.city-links li a:hover { border-color: var(--blue); color: var(--blue); }
.zip-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.zip-cloud span { background: var(--blue-pale); color: var(--navy); border-radius: 8px; padding: 5px 11px; font-size: 0.9rem; font-weight: 600; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-card label { display: block; font-weight: 600; color: var(--navy); margin: 14px 0 6px; font-size: 0.95rem; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px;
  font: inherit; font-size: 1rem; background: #fff; color: var(--text);
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 2px solid var(--blue-light); border-color: var(--blue); }

/* ---------- Misc ---------- */
.notice-box { background: #fff7ed; border: 1px solid #fed7aa; border-left: 5px solid #f59e0b; border-radius: var(--radius-sm); padding: 20px 24px; margin: 24px 0; }
.notice-box p { margin: 0; }
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.sitemap-list { columns: 2; }
.sticky-call { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .img-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  h1 { font-size: 2.1rem; }
  .hero h1 { font-size: 2.3rem; }
  .hero-inner { padding: 64px 24px 56px; }
  .page-hero h1 { font-size: 2rem; }
  .section { padding: 60px 0; }
  .two-col { grid-template-columns: 1fr; gap: 34px; }
  .steps { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-call { display: none; }
  .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 14px 20px 20px; gap: 2px;
    box-shadow: 0 24px 40px rgba(10, 37, 64, 0.16); border-top: 1px solid var(--border);
    max-height: calc(100vh - 56px); overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav-menu > li > a, .dropdown-toggle { padding-top: 12px; padding-bottom: 12px; }
  .dropdown a { padding-top: 10px; padding-bottom: 10px; }
  .nav-menu.open { display: flex; }
  .main-nav { position: relative; }
  .dropdown { position: static; box-shadow: none; border: none; padding: 0 0 6px 14px; }
  .directory-list { columns: 2; }
  .sticky-call {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--red); color: #fff; text-align: center; font-weight: 800;
    padding: 14px; text-decoration: none; font-size: 1.05rem;
    box-shadow: 0 -4px 18px rgba(0,0,0,0.18);
  }
  body { padding-bottom: 52px; }
}
@media (max-width: 560px) {
  .card-grid, .card-grid-2, .card-grid-4, .img-grid, .img-grid-2 { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { grid-template-columns: 1fr 1fr; gap: 14px; }
  .directory-list { columns: 1; }
  .hero-badges li { font-size: 0.82rem; }
  .emergency-bar-inner { font-size: 0.82rem; gap: 8px; }
}

/* Tier 1 city page additions (2026-10-20) */
.updated-line { margin-top: 1.4rem; font-size: .92rem; color: #5b6570; }
.resource-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.resource-list li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.25rem; }
.resource-list a { font-weight: 700; }
.resource-list p { margin: .35rem 0 0; color: #48515a; }
@media (max-width: 700px) { .resource-list { grid-template-columns: 1fr; } }

/* At-a-glance facts box (AIO/AEO) */
.facts-box { margin-top: 1.25rem; }
.facts-box .check-list { margin: .6rem 0 0; }

.logo-mark { height: 36px; width: 36px; vertical-align: -9px; margin-right: 9px; }

.logo-img { height: 46px; width: auto; display: block; }

.footer-logo { height: 36px; width: auto; display: block; margin-bottom: 14px; }
