/* ==========================================
   Bradenton Leak Pros — Main Stylesheet
   Design: Industrial-utility meets Florida coastal
   Palette: Deep navy, slate, amber accent, off-white
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0f1f38;
  --navy-2: #162947;
  --slate:  #2d4263;
  --amber:  #c8872b;
  --amber-l:#e09e44;
  --white:  #f7f4ef;
  --gray:   #e9e6e0;
  --muted:  #8a8d96;
  --text:   #1c2333;
  --body:   'DM Sans', sans-serif;
  --serif:  'DM Serif Display', serif;
}

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

body {
  font-family: var(--body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-l); }

h1, h2, h3, h4, h5 {
  font-family: var(--body);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; max-width: 70ch; }
ul, ol { padding-left: 1.3rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ---- Site Header ---- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--amber);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1;
  flex-shrink: 0;
}
.site-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.logo-name {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.logo-tagline {
  font-size: 0.72rem;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.header-phone {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-phone svg { color: var(--amber); }
.header-phone:hover { color: var(--amber); }

/* ---- Navigation ---- */
nav.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
}
nav.main-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
nav.main-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
nav.main-nav .dropdown { position: relative; }
nav.main-nav .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  min-width: 240px;
  padding: 0.5rem 0;
  display: none;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
nav.main-nav .dropdown:hover .dropdown-menu { display: block; }
nav.main-nav .dropdown-menu a {
  display: block;
  padding: 0.55rem 1rem;
  border-radius: 0;
  font-size: 0.85rem;
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; transition: 0.3s; }

/* ---- Hero ---- */
.hero {
  background-image: linear-gradient(90deg, rgba(7, 20, 31, 0.84) 0%, rgba(7, 20, 31, 0.72) 45%, rgba(7, 20, 31, 0.48) 100%), url("../images/leak-detection-bradenton-hero.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4.5rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 35%, rgba(200,135,43,0.08) 100%);
  pointer-events: none;
}
.hero-grid, .hero > .container {
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,135,43,0.12);
  border: 1px solid rgba(200,135,43,0.3);
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 3px;
  margin-bottom: 1.25rem;
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; font-weight: 600; }
.hero h1 span { color: var(--amber); }
.hero-desc { color: rgba(255,255,255,0.72); font-size: 1.05rem; margin-bottom: 2rem; max-width: 52ch; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
}
.btn-primary:hover { background: var(--amber-l); border-color: var(--amber-l); color: #fff; }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.06); }
.btn-dark {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-dark:hover { background: var(--navy-2); }

.hero-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}
.hero-card {
  background: rgba(7,20,31,0.58);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(2px);
  border-radius: 8px;
  padding: 2rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-item { padding: 1rem; border-left: 3px solid var(--amber); }
.stat-num { font-size: 2rem; font-weight: 700; color: #fff; line-height: 1; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 0.25rem; }
.hero-trust {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}
.trust-item svg { color: var(--amber); flex-shrink: 0; }

/* ---- Quick Answer Block ---- */
.quick-answer {
  background: var(--navy-2);
  border-left: 4px solid var(--amber);
  border-radius: 0 6px 6px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.quick-answer-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.4rem;
}
.quick-answer p {
  color: #fff;
  font-size: 0.95rem;
  margin: 0;
  max-width: 100%;
}

/* ---- Service Cards ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--gray);
  border-radius: 6px;
  padding: 1.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--amber);
  transition: height 0.3s;
}
.service-card:hover::before { height: 100%; }
.service-card:hover { border-color: var(--amber); box-shadow: 0 4px 20px rgba(200,135,43,0.12); }
.service-icon {
  width: 44px;
  height: 44px;
  background: rgba(15,31,56,0.06);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--navy);
}
.service-card h3 { margin-bottom: 0.6rem; font-size: 1.05rem; }
.service-card p { font-size: 0.88rem; color: #555; margin-bottom: 0.75rem; }
.service-card a.link-more {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ---- Section Labels ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--amber);
}

/* ---- Why Us ---- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.reason-list { list-style: none; padding: 0; }
.reason-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--gray);
}
.reason-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.reason-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray);
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}
.reason-body h4 { margin-bottom: 0.3rem; }
.reason-body p { font-size: 0.9rem; color: #555; margin: 0; max-width: 100%; }
.info-block {
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 2.5rem;
}
.info-block h3 { color: #fff; margin-bottom: 1rem; }
.info-block p { color: rgba(255,255,255,0.75); font-size: 0.92rem; max-width: 100%; }
.info-block .detail-list { list-style: none; padding: 0; margin: 0; }
.info-block .detail-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  align-items: flex-start;
}
.info-block .detail-list li:last-child { border-bottom: none; }
.info-block .detail-list li svg { color: var(--amber); flex-shrink: 0; margin-top: 2px; }

/* ---- Process ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--gray);
  border-radius: 6px;
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 1.5rem;
  width: 32px;
  height: 32px;
  background: var(--amber);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step h4 { margin-bottom: 0.5rem; margin-top: 0.25rem; }
.process-step p { font-size: 0.87rem; color: #555; margin: 0; max-width: 100%; }

/* ---- Area Grid ---- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}
.area-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--gray);
  border-radius: 4px;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.area-pill svg { color: var(--amber); flex-shrink: 0; }
.area-pill:hover { border-color: var(--amber); color: var(--amber); }

/* ---- FAQ ---- */
.faq-list { border-top: 1px solid var(--gray); }
.faq-item { border-bottom: 1px solid var(--gray); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.2rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--body);
}
.faq-question svg { flex-shrink: 0; transition: transform 0.3s; color: var(--amber); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 0 1.25rem;
  font-size: 0.95rem;
  color: #444;
}
.faq-answer-inner p { max-width: 100%; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--amber);
  padding: 3.5rem 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; font-size: 1.75rem; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 100%; }
.btn-white {
  background: #fff;
  color: var(--amber);
  border-color: #fff;
}
.btn-white:hover { background: var(--white); color: var(--amber); }

/* ---- Footer ---- */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
footer h4 { color: #fff; margin-bottom: 1rem; font-size: 0.95rem; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 0.5rem; }
footer ul li a { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
footer ul li a:hover { color: var(--amber); }
.footer-logo-name { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.footer-desc { font-size: 0.88rem; line-height: 1.65; max-width: 100%; margin-bottom: 1.25rem; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}
.footer-contact li svg { color: var(--amber); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

/* ---- Inner Pages ---- */
.page-hero {
  background: var(--navy);
  padding: 4rem 0 3.5rem;
}
.breadcrumb {
  display: flex;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.breadcrumb li::after { content: '/'; margin-left: 0.4rem; }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--amber); }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero .lead { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 62ch; }

.content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  align-items: start;
}
.content-body h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; font-size: 1.65rem; }
.content-body h3 { margin-top: 2rem; margin-bottom: 0.6rem; font-size: 1.2rem; }
.content-body p { color: #333; }
.content-body ul, .content-body ol { color: #333; }
.content-body h2:first-child { margin-top: 0; }

.sidebar { position: sticky; top: 100px; }
.sidebar-card {
  background: #fff;
  border: 1px solid var(--gray);
  border-radius: 8px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h4 { margin-bottom: 1rem; font-size: 1rem; }
.sidebar-card .big-phone {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.sidebar-card .big-phone svg { color: var(--amber); }
.sidebar-card p { font-size: 0.88rem; color: #555; max-width: 100%; }
.service-list-sidebar { list-style: none; padding: 0; margin: 0; }
.service-list-sidebar li { border-bottom: 1px solid var(--gray); }
.service-list-sidebar li:last-child { border-bottom: none; }
.service-list-sidebar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.2s;
}
.service-list-sidebar a:hover { color: var(--amber); }
.service-list-sidebar a svg { color: var(--amber); }

/* ---- Schema / Structured data markers (hidden, for reference) ---- */
/* used with itemscope / itemprop */

/* ---- Utility ---- */
.bg-light { background: #f3f0eb; }
.bg-navy { background: var(--navy); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mb-3 { margin-bottom: 2rem; }
.highlight-box {
  background: rgba(200,135,43,0.08);
  border-left: 4px solid var(--amber);
  border-radius: 0 6px 6px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}
.highlight-box p { margin: 0; max-width: 100%; }

/* ---- Location Page Specific ---- */
.local-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.local-detail-card {
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  padding: 1.25rem;
}
.local-detail-card h5 { color: var(--amber); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.4rem; }
.local-detail-card p { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin: 0; max-width: 100%; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .site-logo { width: 50px; height: 50px; }
  .hero-image { height: 210px; }
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 700px) {
  nav.main-nav { display: none; }
  nav.main-nav.open { display: block; }
  nav.main-nav.open ul { flex-direction: column; padding: 1rem; }
  nav.main-nav.open .dropdown-menu { position: static; display: block; box-shadow: none; border: none; background: rgba(255,255,255,0.05); }
  .nav-toggle { display: block; }
  .header-inner { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 1.5rem; }
  .process-steps { grid-template-columns: 1fr; }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---- Content Images ---- */
.content-image {
  margin: 2rem 0 2.5rem;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
}
.content-image img {
  width: 100%;
  height: auto;
  display: block;
}
.content-image figcaption {
  padding: 0.7rem 1rem;
  background: #f3f0eb;
  color: #555;
  font-size: 0.82rem;
  line-height: 1.5;
}
.hero-content-image {
  margin-top: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
}
.hero-content-image img {
  width: 100%;
  height: auto;
  display: block;
}
