/* Jacksonville Radon Mitigation — site stylesheet
   Palette: deep teal navy header, warm amber accent, warm off-white body */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #14333a;
  --navy-dark: #0d2328;
  --amber: #d97a3f;
  --amber-dark: #b8622e;
  --bg: #faf8f4;
  --card-bg: #ffffff;
  --text: #21303a;
  --text-light: #52646d;
  --border: #e2ddd3;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
}

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

a { color: inherit; }

h1, h2, h3 { line-height: 1.25; color: var(--navy); }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.7rem; margin: 2.2rem 0 1rem; }
h3 { font-size: 1.2rem; margin: 1.2rem 0 0.5rem; }

p { margin-bottom: 1rem; max-width: 75ch; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- Navigation ---------- */
header.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 300;
  border-bottom: 3px solid var(--amber);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: 0.2px;
}
.brand span { color: var(--amber); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links > li > a {
  color: #e8eef0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}
.nav-links > li > a:hover { color: var(--amber); }

.nav-links li { position: relative; }

.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.has-dropdown > a::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

/* Transparent hit-area bridge: keeps :hover alive while the pointer moves
   from the nav link down into the menu, instead of dropping through a gap. */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  padding-top: 14px;
  min-width: 280px;
  z-index: 200;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu-list {
  list-style: none;
  background: var(--navy);
  border: 1px solid #2a4c54;
  border-top: 3px solid var(--amber);
  padding: 8px 0;
  border-radius: 0 0 6px 6px;
}

.dropdown-menu-list li + li { border-top: 1px solid #2a4c54; }

.dropdown-menu-list a {
  display: block;
  padding: 11px 20px;
  color: #dbe6e8;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}

.dropdown-menu-list a:hover {
  background: #1c454e;
  color: #ffffff;
}

.nav-cta {
  background: var(--amber);
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--amber-dark); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #ffffff;
  padding: 60px 24px 70px;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 { color: #ffffff; margin-bottom: 18px; }
.hero p.lede { color: #cdd9db; font-size: 1.15rem; max-width: 52ch; }
.hero-img { border-radius: 10px; overflow: hidden; border: 4px solid rgba(255,255,255,0.15); }

.cta-row { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.02rem;
}
.btn-primary { background: var(--amber); color: #fff; }
.btn-primary:hover { background: var(--amber-dark); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* ---------- Sections ---------- */
main section { padding: 54px 24px; }
main section.alt { background: #f1ede4; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.content-col { max-width: 1100px; margin: 0 auto; }

ul.check-list, ol.step-list { margin: 0 0 1rem 1.2rem; }
ul.check-list li, ol.step-list li { margin-bottom: 0.6rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 1.5rem;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--amber);
  border-radius: 8px;
  padding: 22px;
}
.card h3 { margin-top: 0; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
}
.price-table th, .price-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.price-table th { background: var(--navy); color: #fff; }

/* FAQ flashcards */
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--amber);
  border-radius: 6px;
  padding: 18px 22px;
  margin-bottom: 14px;
}
.faq-item h3 { margin-top: 0; }

/* Services overview cards */
.service-block {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px;
  margin-bottom: 22px;
}
.service-block h2 { margin-top: 0; }

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
form.lead-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px;
}
form.lead-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 14px;
}
form.lead-form input, form.lead-form textarea, form.lead-form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
}
form.lead-form button {
  margin-top: 20px;
  width: 100%;
  background: var(--amber);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
}
form.lead-form button:hover { background: var(--amber-dark); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-dark);
  color: #cbd6d8;
  padding: 40px 24px 26px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.footer-inner h4 { color: #fff; margin-bottom: 10px; font-size: 1rem; }
.footer-inner a { color: #cbd6d8; text-decoration: none; }
.footer-inner a:hover { color: var(--amber); }
.footer-bottom {
  max-width: 1100px;
  margin: 26px auto 0;
  padding-top: 18px;
  border-top: 1px solid #24484f;
  font-size: 0.88rem;
  color: #93a5a9;
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-inner, .two-col, .contact-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.9rem; }
}
