:root {
  --navy-950: #071728;
  --navy-900: #0b2239;
  --navy-800: #102a43;
  --navy-700: #1e3a5f;
  --teal-700: #0a5c65;
  --teal-600: #0e7c86;
  --teal-500: #14919b;
  --teal-100: #e0f5f7;
  --cyan-300: #67e8f9;
  --slate-900: #102a43;
  --slate-700: #334e68;
  --slate-600: #486581;
  --slate-200: #d9e2ec;
  --slate-100: #f0f4f8;
  --bg-page: #f7fafc;
  --white: #ffffff;
  --green-700: #0f766e;
  --green-50: #ecfdf5;
  --red-700: #b91c1c;
  --red-50: #fef2f2;
  --amber-800: #92400e;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(11, 34, 57, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 34, 57, 0.1);
  --shadow-lg: 0 18px 40px rgba(7, 23, 40, 0.16);
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--slate-900);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* Draft Status Banner */
.draft-banner {
  background: var(--amber-100);
  color: var(--amber-800);
  border-bottom: 1px solid #f59e0b;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 0.5rem 1rem;
}

/* Header & Navigation */
.site-header {
  background: var(--navy-900);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-sm);
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-link img {
  height: 40px;
  width: auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.primary-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy-950);
  border-bottom: 2px solid var(--teal-500);
  padding: 1rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
}

.primary-nav.is-open {
  display: block;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-list a {
  display: block;
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-sm);
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  background: rgba(20, 145, 155, 0.22);
  color: var(--white);
}

.header-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.header-phone {
  color: var(--cyan-300);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.3rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--teal-600);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-500);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--slate-200);
}

.btn-secondary:hover {
  background: var(--slate-100);
  color: var(--navy-900);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-sm {
  padding: 0.52rem 0.95rem;
  font-size: 0.88rem;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(115deg, rgba(7, 23, 40, 0.94) 0%, rgba(11, 34, 57, 0.88) 55%, rgba(14, 124, 134, 0.78) 100%),
    url("assets/images/florida-flooded-homes.jpg") center/cover no-repeat;
  color: var(--white);
  padding: 3.5rem 0 4rem;
}

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

.eyebrow {
  display: inline-block;
  background: rgba(103, 232, 249, 0.16);
  color: var(--cyan-300);
  border: 1px solid rgba(103, 232, 249, 0.35);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.12rem;
  color: #e2e8f0;
  margin: 0 0 1.4rem;
  max-width: 620px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
}

.hero-stat strong {
  display: block;
  font-size: 1.15rem;
  color: var(--cyan-300);
}

.hero-stat span {
  font-size: 0.88rem;
  color: #e2e8f0;
}

/* Hero Form Card */
.hero-card {
  background: var(--white);
  color: var(--slate-900);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--teal-600);
}

.hero-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.3rem;
}

.hero-card-sub {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--slate-600);
}

/* Page Hero (Inner Pages) */
.page-hero {
  background: linear-gradient(125deg, var(--navy-950) 0%, var(--navy-800) 65%, var(--teal-700) 100%);
  color: var(--white);
  padding: 2.75rem 0 2.5rem;
}

.page-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.2;
}

.page-hero p {
  margin: 0;
  max-width: 720px;
  color: #dbeafe;
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-header {
  max-width: 740px;
  margin-bottom: 2.25rem;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  color: var(--navy-900);
  line-height: 1.25;
}

.section-header p {
  margin: 0;
  color: var(--slate-600);
  font-size: 1.02rem;
}

/* Grids & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card-featured {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-800);
}

.card-featured p,
.card-featured li {
  color: #dbeafe;
}

.card-top-teal {
  border-top: 4px solid var(--teal-600);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.price-figure {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--cyan-300);
  margin: 0.35rem 0 0.65rem;
}

.price-figure-dark {
  color: var(--teal-700);
}

/* Equal-Weight Guarantee Notice Box */
.notice-box {
  background: var(--amber-50);
  border: 1px solid #f59e0b;
  border-left: 5px solid #d97706;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  margin-top: 1.5rem;
  color: var(--slate-900);
  font-size: 0.97rem;
}

.notice-box strong {
  color: var(--amber-800);
}

.info-box {
  background: var(--teal-100);
  border: 1px solid #88d8df;
  border-left: 5px solid var(--teal-600);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.35rem;
  color: var(--navy-900);
  font-size: 0.97rem;
}

.danger-box {
  background: var(--red-50);
  border: 1px solid #fca5a5;
  border-left: 5px solid var(--red-700);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.3rem;
  color: #7f1d1d;
  font-size: 0.95rem;
}

/* Scope Lists */
.scope-card-included {
  border-top: 4px solid var(--green-700);
}

.scope-card-excluded {
  border-top: 4px solid var(--red-700);
}

.scope-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.scope-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.icon-badge {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  margin-top: 2px;
}

.icon-yes {
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid #99f6e4;
}

.icon-no {
  background: var(--red-50);
  color: var(--red-700);
  border: 1px solid #fecaca;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal-600);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

/* Media Split */
.media-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.media-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-caption {
  padding: 0.65rem 0.9rem;
  font-size: 0.85rem;
  color: var(--slate-600);
  background: var(--slate-100);
}

/* City / Service Area Cards */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
}

.city-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.city-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-700);
  background: var(--teal-100);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.55rem;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.3rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #bcccdc;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--slate-900);
  background: var(--white);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal-600);
  outline: 2px solid rgba(14, 124, 134, 0.2);
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--slate-700);
}

.checkbox-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.form-alert {
  display: none;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-alert.is-visible {
  display: block;
}

.form-alert-warn {
  background: var(--amber-100);
  border: 1px solid #f59e0b;
  color: var(--amber-800);
}

.form-alert-danger {
  background: var(--red-50);
  border: 1px solid #f87171;
  color: #7f1d1d;
}

.form-alert-success {
  background: var(--green-50);
  border: 1px solid #34d399;
  color: #065f46;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
}

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

th,
td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--slate-200);
  vertical-align: top;
}

th {
  background: var(--slate-100);
  color: var(--navy-900);
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: #cbd5e1;
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
}

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

.footer-grid h4 {
  color: var(--white);
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--cyan-300);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Sticky Mobile CTA Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: var(--navy-950);
  border-top: 2px solid var(--teal-500);
  padding: 0.6rem 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  box-shadow: 0 -6px 20px rgba(7, 23, 40, 0.25);
}

@media (max-width: 959px) {
  body {
    padding-bottom: 68px;
  }
}

@media (min-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .media-split {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

@media (min-width: 960px) {
  .nav-toggle,
  .mobile-sticky-bar {
    display: none;
  }
  .primary-nav {
    display: flex;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    justify-content: flex-end;
  }
  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.2rem;
  }
  .nav-list a {
    padding: 0.45rem 0.65rem;
    font-size: 0.9rem;
  }
  .header-actions {
    flex-direction: row;
    align-items: center;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    gap: 0.85rem;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }
}

/* Top Utility Bar (Phone & Email prominently visible on every page) */
.utility-bar {
  background: var(--navy-950);
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  padding: 0.45rem 0;
}

.utility-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.25rem;
}

.utility-tag {
  color: #cbd5e1;
  font-weight: 500;
}

.utility-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.15rem;
}

.utility-contacts a {
  color: var(--cyan-300);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.utility-contacts a:hover {
  color: var(--white);
  text-decoration: underline;
}

.hero-direct-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.4rem;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(7, 23, 40, 0.55);
  border: 1px solid rgba(103, 232, 249, 0.35);
  border-radius: var(--radius-md);
  font-size: 0.96rem;
}

.hero-direct-contact a {
  color: var(--cyan-300);
  font-weight: 700;
  text-decoration: none;
}

.hero-direct-contact a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Breadcrumbs & City Page Helpers */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: #bae6fd;
  margin-bottom: 0.85rem;
}

.breadcrumb a {
  color: #e0f2fe;
  text-decoration: none;
}

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

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
}

.faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  color: var(--navy-900);
}

.faq-item p {
  margin: 0;
  color: var(--slate-700);
}

.nearby-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.nearby-links a {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--navy-900);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.nearby-links a:hover {
  background: var(--teal-100);
  border-color: var(--teal-500);
}

@media (min-width: 960px) {
  .nav-list a,
  .header-actions .btn {
    white-space: nowrap;
  }
  .nav-list a {
    padding: 0.45rem 0.5rem;
    font-size: 0.87rem;
  }
  .primary-nav {
    gap: 0.9rem;
  }
}


.vendor-disclosure {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  color: var(--slate-600);
  font-weight: 500;
}

.site-footer .vendor-disclosure {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  color: #94a3b8;
  font-weight: 500;
}
