/* De Pere Water Damage Restoration Pros - Mobile-First Stylesheet */
:root {
  --bg-page: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-alt: #f1f5f9;
  --bg-notice: #fffbeb;
  --border-notice: #f59e0b;
  --text-notice: #78350f;
  --bg-safety: #fef2f2;
  --border-safety: #dc2626;
  --text-safety: #7f1d1d;
  --navy-900: #0f172a;
  --navy-800: #1e3a5f;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-50: #f0fdfa;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #475569;
  --border-color: #cbd5e1;
  --border-light: #e2e8f0;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --container-max: 1120px;
  --sticky-bar-height: 76px;
}

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

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

body {
  margin: 0;
  padding: 0 0 var(--sticky-bar-height) 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-page);
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--navy-900);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  z-index: 1000;
}
.skip-link:focus {
  top: 16px;
}

/* Focus indicators */
:focus-visible {
  outline: 3px solid var(--teal-600);
  outline-offset: 2px;
}

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

/* Top Referral Disclosure Banner */
.disclosure-bar {
  background-color: var(--navy-900);
  color: #f8fafc;
  font-size: 0.85rem;
  line-height: 1.45;
  padding: 0.6rem 0;
  border-bottom: 2px solid var(--teal-600);
}
.disclosure-bar p {
  margin: 0;
}
.disclosure-bar strong {
  color: #5eead4;
}

/* Header & Navigation */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--navy-900);
}
.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--navy-800);
}
.brand-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  background-color: var(--teal-50);
  border: 1.5px solid var(--teal-700);
  color: var(--navy-900);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease;
}
.header-phone:hover {
  background-color: #ccfbf1;
}
.header-phone-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--teal-700);
}
.header-phone-number {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-900);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.site-nav {
  width: 100%;
  display: none;
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}
.site-nav.is-open {
  display: block;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.nav-list a {
  display: block;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  background-color: var(--bg-surface-alt);
  color: var(--blue-800);
}
.nav-list a[aria-current="page"] {
  border-left: 3px solid var(--teal-700);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
  .site-nav {
    display: block;
    width: auto;
    border-top: none;
    padding-top: 0;
    margin-top: 0;
  }
  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
  }
  .nav-list a {
    padding: 0.45rem 0.7rem;
    font-size: 0.92rem;
  }
  .nav-list a[aria-current="page"] {
    border-left: none;
    border-bottom: 2.5px solid var(--teal-700);
    border-radius: 0;
  }
}

/* Breadcrumb */
.breadcrumb {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 0.6rem 0;
  font-size: 0.85rem;
}
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  color: var(--text-muted);
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--border-color);
}
.breadcrumb a {
  color: var(--blue-800);
  text-decoration: underline;
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 2.25rem 0 2.5rem;
}
.hero-badge {
  display: inline-block;
  background-color: var(--teal-50);
  color: var(--teal-700);
  border: 1px solid #99f6e4;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  line-height: 1.2;
  color: var(--navy-900);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.hero-lead {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 72ch;
  margin: 0 0 1.5rem;
}

/* Call to Action Box */
.cta-card {
  background-color: #ffffff;
  border: 2px solid var(--navy-800);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  max-width: 680px;
  box-shadow: var(--shadow-md);
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background-color: var(--blue-800);
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--blue-800);
  text-align: center;
  transition: background-color 0.15s ease;
}
.cta-button:hover {
  background-color: var(--navy-900);
  border-color: var(--navy-900);
}
@media (min-width: 640px) {
  .cta-button {
    width: auto;
  }
}
.cta-disclaimer {
  margin: 0.75rem 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Page Header (Subpages) */
.page-header {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 2rem 0;
}
.page-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  line-height: 1.25;
  color: var(--navy-900);
  margin: 0 0 0.75rem;
}
.page-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 70ch;
  margin: 0;
}

/* Sections & Typography */
.section {
  padding: 2.5rem 0;
}
.section-alt {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  color: var(--navy-900);
  margin: 0 0 0.85rem;
  line-height: 1.3;
}
h3 {
  font-size: 1.15rem;
  color: var(--navy-800);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}
p {
  margin: 0 0 1rem;
  max-width: 74ch;
}
ul, ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
  max-width: 72ch;
}
li {
  margin-bottom: 0.45rem;
}

/* Answer-First Highlight Box */
.answer-box {
  background-color: var(--teal-50);
  border-left: 4px solid var(--teal-700);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.5rem;
  max-width: 74ch;
}
.answer-box p:last-child {
  margin-bottom: 0;
}

/* Safety Alert Box */
.safety-box {
  background-color: var(--bg-safety);
  border: 1.5px solid var(--border-safety);
  border-left-width: 6px;
  color: var(--text-safety);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
}
.safety-box h2, .safety-box h3 {
  color: var(--text-safety);
  margin-top: 0;
}
.safety-box ul {
  margin-bottom: 0;
}

/* Disclosure Notice Box */
.notice-box {
  background-color: var(--bg-notice);
  border: 1px solid var(--border-notice);
  border-left-width: 5px;
  color: var(--text-notice);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
}
.notice-box p:last-child {
  margin-bottom: 0;
}

/* Grid Cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}
.card h3 {
  color: var(--navy-800);
  margin-bottom: 0.6rem;
}
.card p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.card-link {
  display: inline-block;
  font-weight: 700;
  color: var(--blue-800);
  text-decoration: underline;
  font-size: 0.95rem;
}
.card-link:hover {
  color: var(--teal-700);
}

/* Step List */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--teal-700);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.step-num {
  display: inline-block;
  background-color: var(--navy-800);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

/* FAQ Accordion / List */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 76ch;
}
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  background-color: #ffffff;
}
.faq-item h3 {
  margin-bottom: 0.5rem;
  color: var(--navy-900);
}
.faq-item p:last-child {
  margin-bottom: 0;
  color: var(--text-secondary);
}

/* Comparison / Info Table */
.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}
th, td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
}
th {
  background-color: var(--navy-800);
  color: #ffffff;
  font-weight: 700;
}
tr:nth-child(even) td {
  background-color: var(--bg-surface);
}

/* Footer */
.site-footer {
  background-color: var(--navy-900);
  color: #e2e8f0;
  padding: 2.75rem 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}
.site-footer h2 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.site-footer p {
  color: #cbd5e1;
  font-size: 0.9rem;
}
.footer-phone {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #5eead4;
  text-decoration: underline;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li {
  margin-bottom: 0.45rem;
}
.footer-links a {
  color: #e2e8f0;
  text-decoration: underline;
}
.footer-links a:hover {
  color: #5eead4;
}
.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 1.25rem;
  font-size: 0.84rem;
  color: #94a3b8;
}

/* Mobile Sticky Call Bar */
.mobile-sticky-call {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--sticky-bar-height);
  background-color: var(--navy-900);
  border-top: 2px solid var(--teal-600);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 95;
  box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.2);
}
.mobile-sticky-call a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background-color: var(--teal-600);
  color: #ffffff;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 800;
  line-height: 1.2;
}
.mobile-sticky-call a:hover {
  background-color: var(--teal-700);
}
.mobile-sticky-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: #f0fdfa;
}
.mobile-sticky-main {
  font-size: 1.02rem;
}
@media (min-width: 768px) {
  .mobile-sticky-call {
    display: none;
  }
}
