/* Defiance Water Damage Restoration Pros - Mobile-First Stylesheet */
:root {
  --navy: #0B2545;
  --navy-dark: #071930;
  --blue: #1368CE;
  --blue-hover: #0E53A8;
  --teal: #0D9488;
  --teal-light: #E6F6F4;
  --blue-light: #EEF5FD;
  --bg: #FFFFFF;
  --surface: #F8FAFC;
  --border: #E2E8F0;
  --text: #1E293B;
  --text-muted: #475569;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 16px rgba(11, 37, 69, 0.07);
  --shadow-lg: 0 10px 28px rgba(11, 37, 69, 0.12);
  --sticky-bar-height: 68px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  padding-bottom: var(--sticky-bar-height);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}

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

h1 {
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

h2 {
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.65rem;
  }
  h2 {
    font-size: 1.95rem;
  }
  h3 {
    font-size: 1.25rem;
  }
}

p {
  margin-top: 0;
  margin-bottom: 16px;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

a:hover {
  color: var(--blue-hover);
}

.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--blue) 0%, #0F56B3 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  border: none;
  box-shadow: 0 4px 14px rgba(19, 104, 206, 0.32);
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
}

.btn-call:hover,
.btn-call:focus {
  background: linear-gradient(135deg, var(--blue-hover) 0%, var(--navy) 100%);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-call-teal {
  background: linear-gradient(135deg, var(--teal) 0%, #0A766C 100%);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.28);
}

.btn-call-teal:hover,
.btn-call-teal:focus {
  background: linear-gradient(135deg, #0A766C 0%, var(--navy) 100%);
  color: var(--white);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--white);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.icon-phone {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2.5px solid currentColor;
  border-radius: 4px 10px 4px 10px;
  transform: rotate(-15deg);
  flex-shrink: 0;
}

.top-notice {
  background-color: var(--navy-dark);
  color: #CBD5E1;
  font-size: 0.82rem;
  padding: 8px 0;
  text-align: center;
}

.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 10px rgba(11, 37, 69, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.2;
  max-width: 65%;
}

@media (min-width: 768px) {
  .brand {
    font-size: 1.18rem;
    max-width: none;
  }
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--white);
  border-radius: 0 50% 50% 50%;
  transform: rotate(45deg);
  top: 12px;
  left: 11px;
}

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

.header-call {
  padding: 10px 14px;
  font-size: 0.88rem;
  white-space: nowrap;
}

@media (max-width: 400px) {
  .header-call {
    padding: 9px 11px;
    font-size: 0.82rem;
  }
  .brand {
    font-size: 0.94rem;
  }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0 10px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--navy);
  border-radius: 2px;
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }
}

.main-nav {
  display: none;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding: 12px 18px 18px;
}

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

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

.nav-list a {
  display: block;
  padding: 9px 12px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
}

.nav-list a:hover,
.nav-list a.active {
  background-color: var(--blue-light);
  color: var(--blue);
}

@media (min-width: 960px) {
  .main-nav {
    display: block;
    background-color: var(--white);
    border-top: 1px solid var(--border);
    padding: 0;
  }
  .nav-list {
    max-width: 1140px;
    margin: 0 auto;
    padding: 6px 18px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .nav-list a {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}

.breadcrumbs {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

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

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: #94A3B8;
}

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #103766 60%, #0E5468 100%);
  color: var(--white);
  padding: 44px 0 48px;
}

@media (min-width: 768px) {
  .hero {
    padding: 68px 0 72px;
  }
}

.hero-badge {
  display: inline-block;
  background-color: rgba(13, 148, 136, 0.25);
  border: 1px solid rgba(94, 234, 212, 0.45);
  color: #CCFBF1;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  color: var(--white);
  max-width: 820px;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.hero-note {
  font-size: 0.86rem;
  color: #CBD5E1;
  max-width: 680px;
  margin-bottom: 0;
}

.hero-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

@media (min-width: 768px) {
  .hero-highlights {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

.highlight-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.highlight-pill strong {
  display: block;
  color: #5EEAD4;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.highlight-pill span {
  font-size: 0.88rem;
  color: #E2E8F0;
}

.section {
  padding: 44px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 64px 0;
  }
}

.section-alt {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 760px;
  margin-bottom: 30px;
}

.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.grid-2,
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 680px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin-top: 14px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-link {
  margin-top: auto;
  padding-top: 14px;
  font-weight: 600;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.css-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--blue-light);
  border: 1px solid #CFE2FA;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.css-icon.teal {
  background: var(--teal-light);
  border-color: #B8EAE4;
}

.icon-drop::before {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--blue);
  border-radius: 0 50% 50% 50%;
  transform: rotate(45deg);
  margin-top: 4px;
}

.icon-wave::before {
  content: "";
  width: 22px;
  height: 10px;
  border-top: 3px solid var(--teal);
  border-bottom: 3px solid var(--blue);
  border-radius: 4px;
}

.icon-pipe::before {
  content: "";
  width: 20px;
  height: 20px;
  border-left: 5px solid var(--navy);
  border-bottom: 5px solid var(--blue);
  border-radius: 0 0 0 6px;
}

.icon-home::before {
  content: "";
  width: 20px;
  height: 16px;
  border: 3px solid var(--navy);
  border-top: 5px solid var(--teal);
  border-radius: 2px;
}

.icon-meter::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  box-shadow: inset 0 -5px 0 var(--teal);
}

.icon-shield::before {
  content: "";
  width: 18px;
  height: 20px;
  border: 3px solid var(--teal);
  border-radius: 3px 3px 10px 10px;
}

.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #123D73 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-lg);
  margin: 28px 0;
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
  }
}

.cta-banner h2,
.cta-banner h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.cta-banner p {
  color: #E2E8F0;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .cta-banner p {
    margin-bottom: 0;
  }
  .cta-banner .btn-call {
    flex-shrink: 0;
  }
}

.clean-list {
  padding-left: 20px;
  margin: 0 0 18px;
}

.clean-list li {
  margin-bottom: 10px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.04);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 20px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: inherit;
}

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

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text);
  border-top: 1px solid var(--surface);
}

.faq-item:not(.open) .faq-answer {
  display: none;
}

.disclosure-box {
  background-color: var(--blue-light);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}

.site-footer {
  background-color: var(--navy-dark);
  color: #CBD5E1;
  padding: 46px 0 32px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #CBD5E1;
}

.footer-links a:hover {
  color: #5EEAD4;
}

.footer-disclosure {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 22px;
}

.footer-disclosure h3 {
  font-size: 0.98rem;
  color: #5EEAD4;
  margin-bottom: 6px;
}

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

.mobile-sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--sticky-bar-height);
  background-color: var(--navy);
  border-top: 2px solid var(--teal);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 950;
  box-shadow: 0 -4px 16px rgba(7, 25, 48, 0.25);
}

.mobile-sticky-call .btn-call {
  width: 100%;
  max-width: 460px;
  padding: 12px 18px;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .mobile-sticky-call {
    display: none;
  }
}

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  margin-top: 28px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 22px 0;
}

@media (min-width: 680px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
