/* San Antonio Air Duct Cleaners — site styles */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: #2b2420;
  line-height: 1.7;
  background: #fbf7f2;
}

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

a {
  color: #b4491f;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #1c2b3a;
  border-bottom: 3px solid #c4571f;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1120px;
  margin: 0 auto;
  gap: 20px;
}

.brand {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  color: #e08540;
}

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

.nav-links li { position: relative; }

.nav-links a {
  color: #dbe3ec;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover { color: #ffffff; }

.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: 600;
}

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

.dropdown-menu-list {
  list-style: none;
  background: #1c2b3a;
  border: 1px solid #33465a;
  border-top: 3px solid #c4571f;
  padding: 8px 0;
}

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

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

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

.nav-phone {
  background: #c4571f;
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-phone:hover { background: #a8481a; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, #1c2b3a 0%, #253a4d 100%);
  color: #ffffff;
  padding: 64px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 2.3rem;
  line-height: 1.25;
  margin-bottom: 18px;
}

.hero p.lead {
  font-size: 1.1rem;
  color: #cdd8e3;
  margin-bottom: 24px;
  max-width: 46ch;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
}

.btn-primary {
  background: #c4571f;
  color: #ffffff;
}

.btn-primary:hover { background: #a8481a; }

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #4a5f74;
}

.btn-secondary:hover { border-color: #ffffff; }

.hero-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #aebfcf;
}

.hero-image img {
  border-radius: 6px;
  border: 1px solid #33465a;
}

/* ---------- Sections ---------- */

.page-section {
  padding: 60px 0;
}

.page-section.alt {
  background: #f1e9dd;
}

.page-section h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
  color: #1c2b3a;
}

.page-section h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #1c2b3a;
}

.page-section p {
  margin-bottom: 16px;
  max-width: 74ch;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.two-col img {
  border-radius: 6px;
}

.trigger-list, .qualify-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.trigger-list li, .qualify-list li {
  background: #ffffff;
  border-left: 4px solid #c4571f;
  padding: 14px 18px;
  border-radius: 4px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.step-card {
  background: #ffffff;
  padding: 22px;
  border-radius: 6px;
  border: 1px solid #e6ddcf;
}

.step-card .step-num {
  display: inline-block;
  background: #1c2b3a;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.diff-card {
  background: #ffffff;
  padding: 22px;
  border-radius: 6px;
  border-top: 3px solid #c4571f;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  background: #ffffff;
}

.price-table th, .price-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #e6ddcf;
}

.price-table th {
  background: #1c2b3a;
  color: #ffffff;
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  gap: 16px;
  margin-top: 10px;
}

.faq-card {
  background: #ffffff;
  border: 1px solid #e6ddcf;
  border-left: 4px solid #1c2b3a;
  padding: 20px 22px;
  border-radius: 6px;
}

.faq-card h3 {
  margin-bottom: 8px;
}

/* ---------- Service overview cards (services.html) ---------- */

.service-card {
  background: #ffffff;
  border: 1px solid #e6ddcf;
  border-radius: 6px;
  padding: 26px;
  margin-bottom: 22px;
}

.service-card h2 {
  margin-bottom: 10px;
}

.service-card .price-range {
  display: inline-block;
  background: #f1e9dd;
  color: #1c2b3a;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: #ffffff;
  padding: 26px;
  border-radius: 6px;
  border: 1px solid #e6ddcf;
  margin-bottom: 20px;
}

form.lead-form {
  background: #ffffff;
  padding: 28px;
  border-radius: 6px;
  border: 1px solid #e6ddcf;
  display: grid;
  gap: 16px;
}

.lead-form label {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 6px;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8cdb9;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.lead-form textarea { min-height: 120px; }

/* ---------- CTA band ---------- */

.cta-band {
  background: #c4571f;
  color: #ffffff;
  padding: 44px 0;
  text-align: center;
}

.cta-band h2 {
  color: #ffffff;
  margin-bottom: 14px;
}

.cta-band .btn-primary {
  background: #1c2b3a;
}

.cta-band .btn-primary:hover { background: #13202c; }

/* ---------- Footer ---------- */

.site-footer {
  background: #14212e;
  color: #a9b7c4;
  padding: 44px 0 30px;
  font-size: 0.9rem;
}

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

.footer-grid h4 {
  color: #ffffff;
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer-grid a {
  color: #a9b7c4;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.footer-grid a:hover { color: #ffffff; }

.footer-bottom {
  border-top: 1px solid #26384a;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- Mobile ---------- */

@media (max-width: 860px) {
  .hero-grid, .two-col, .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-row {
    flex-wrap: wrap;
  }

  .nav-links {
    gap: 16px;
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .dropdown-menu {
    left: 0;
  }

  .hero h1 { font-size: 1.7rem; }
}
