/* Asphalt Paving Baton Rouge - site stylesheet (canonical Beaumont shape, per-site palette). */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@500;600;700&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --primary: #0E3A53;
  --accent: #2F6B4F;
  --bg: #F5F7F6;
  --text: #1A2429;
  --muted: #666;
  --card-bg: #fff;
  --border: #e2e0d8;
  --sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--primary);
  line-height: 1.25;
  margin-top: 1.6em;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.55rem; border-bottom: 2px solid var(--accent); padding-bottom: 0.35em; }
h3 { font-size: 1.2rem; }
p { margin: 0.6em 0 1em; }
a { color: var(--primary); }
a:hover { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; }
.site-header .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); font-weight: 700; font-size: 1.15rem; }
.site-header .brand img { width: 72px; height: 72px; border-radius: 6px; }
.site-header nav.primary a { margin-left: 18px; text-decoration: none; font-weight: 600; }
.site-header nav.primary a.cta { background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 6px; }

/* Services dropdown in nav */
.site-header nav.primary { display: flex; align-items: center; gap: 18px; }
.site-header nav.primary a { margin-left: 0; }
.site-header nav.primary a.contact-cta { border: 2px solid var(--accent); color: var(--primary); padding: 6px 14px; border-radius: 6px; }
.site-header nav.primary a.contact-cta:hover { background: var(--accent); color: #fff; }
.nav-services { position: relative; }
.nav-services > summary { list-style: none; cursor: pointer; font-weight: 600; color: var(--primary); padding: 4px 0; }
.nav-services > summary::-webkit-details-marker { display: none; }
.nav-services[open] > summary { color: var(--accent); }
.nav-services > ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 8px 0;
  margin: 6px 0 0;
  list-style: none;
  z-index: 100;
}
.nav-services > ul > li { margin: 0; }
.nav-services > ul > li > a {
  display: block;
  padding: 8px 16px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav-services > ul > li > a:hover { background: var(--bg); color: var(--accent); }

@media (max-width: 720px) {
  .nav-services > ul { position: static; box-shadow: none; border: none; padding-left: 12px; }
}

section { padding: 24px 0; }
section + section:not(.cta-final) { padding-top: 0; }
section:nth-of-type(even) { background: #fff; }
/* Kill the default H2 top-margin when H2 is the first child of a section — the section already provides the vertical rhythm. */
section > h2:first-child, section > h3:first-child { margin-top: 0; }

.hero { padding: 60px 0 40px; }
.hero h1 { margin-top: 0; }
.hero .lede { font-size: 1.15rem; max-width: 720px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 6px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; }
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.primary:hover { background: transparent; color: var(--accent); }
.btn.secondary { background: transparent; color: var(--primary); border-color: var(--primary); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.card h3 { margin-top: 0; }

.cost-table { width: 100%; border-collapse: collapse; margin: 20px 0; background: #fff; }
.cost-table th, .cost-table td { border: 1px solid var(--border); padding: 10px; text-align: left; }
.cost-table th { background: var(--primary); color: #fff; }

.area-list { columns: 2; margin: 20px 0; padding-left: 20px; }
@media (min-width: 640px) { .area-list { columns: 3; } }

.entity-list, .steps { padding-left: 24px; }
.entity-list li, .steps li { margin-bottom: 10px; }

.faq details { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; color: var(--primary); }

.cta-final { background: var(--accent); color: #fff; padding: 56px 0; }
.cta-final .wrap { padding: 0 40px; }
.cta-final h2 { color: #fff; border-bottom-color: rgba(255,255,255,0.4); margin-top: 0; }
.cta-final p { color: #fff; }
.cta-final .cta-row { margin-top: 24px; }
@media (max-width: 720px) { .cta-final { padding: 40px 0; } .cta-final .wrap { padding: 0 24px; } }
/* Force dark text INSIDE the form so labels/inputs remain readable on the accent band. */
.cta-final .callback-form { background: #fff; color: var(--text); padding: 22px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.cta-final .callback-form label,
.cta-final .callback-form .disclaimer { color: var(--text); }

.callback-form { max-width: 520px; margin: 22px auto; position: relative; }
.callback-form label { display: block; margin-bottom: 12px; font-weight: 600; color: var(--text); }
.callback-form input[type="text"],
.callback-form input[type="tel"],
.callback-form input[type="email"],
.callback-form select,
.callback-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  margin-top: 4px;
}
.callback-form textarea { min-height: 90px; resize: vertical; }
.callback-form label.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.92rem; line-height: 1.5; margin-top: 6px; padding: 12px; background: #FAF7F0; border-left: 3px solid var(--accent); border-radius: 4px; color: var(--text); }
.callback-form label.consent input[type="checkbox"] { width: auto; margin-top: 4px; }
.callback-form .submit-row { margin-top: 14px; }
.callback-form .disclaimer { color: var(--muted); margin-top: 12px; font-size: 0.85rem; line-height: 1.5; }
.callback-form .disclaimer a { color: var(--primary); text-decoration: underline; }


.page { max-width: 1080px; margin: 0 auto; padding: 20px; background: #fff; }
.page > header { margin-bottom: 30px; }
.page.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }

.site-footer { background: var(--primary); color: #fff; padding: 40px 0; }
.site-footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.site-footer h4 { color: var(--accent); margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer .col { min-width: 0; }
.site-footer .col p, .site-footer .col a { overflow-wrap: anywhere; word-break: break-word; }
.site-footer .col.fullwidth { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; margin-top: 10px; }
.site-footer .footer-keywords { color: rgba(255,255,255,0.55); font-size: 0.75rem; line-height: 1.6; margin: 0 0 14px; }
.site-footer .legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 12px; font-size: 0.9rem; }
.site-footer .legal-links a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer .legal-links a:hover { color: #fff; text-decoration: underline; }

.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
/* Only split into two columns when there's actually a hero image to fill the right side */
@media (min-width: 900px) { .hero .wrap:has(.hero__media) { grid-template-columns: 1.15fr 1fr; } }
.hero__media { width: 100%; }
.hero__media img { width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.hero__media--placeholder { width: 100%; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--bg) 0%, var(--accent) 100%); border-radius: 6px; opacity: 0.35; }
.pool-image { margin: 30px auto; max-width: 1080px; padding: 0 20px; text-align: center; }
.pool-image img { width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,0.06); }
.page .hero__media { margin: 20px 0 30px; }

/* Contact page layout */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 20px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 1fr; } }
.contact-form-col { background: #fff; padding: 24px; border-radius: 8px; border: 1px solid var(--border); }
.contact-info-col { display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: #fff; padding: 18px; border-radius: 8px; border: 1px solid var(--border); }
.contact-card h3 { margin: 0 0 8px; font-size: 1rem; }
.contact-card p { margin: 4px 0; }
.contact-card .phone-big { font-size: 1.4rem; font-weight: 700; margin: 6px 0; }
.contact-card .phone-big a { text-decoration: none; }

/* Sticky mobile action bar — mobile only */
.mobile-action-bar { display: none; }
@media (max-width: 720px) {
  .mobile-action-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--border); z-index: 50;
    box-shadow: 0 -4px 14px rgba(0,0,0,0.08); gap: 0;
  }
  .mobile-action-bar .mab-btn {
    flex: 1; padding: 14px 8px; text-align: center; text-decoration: none;
    font-weight: 700; font-size: 0.95rem;
  }
  .mobile-action-bar .mab-call { background: var(--primary); color: #fff; }
  .mobile-action-bar .mab-quote { background: var(--accent); color: #fff; }
  body { padding-bottom: 60px; }  /* prevent bar overlapping footer content */
}

/* lead form (canonical contact form snippet) */
/* Singularity canonical UI bump v3 — header prominence + Contact button + form
 * -----------------------------------------------------------------------------
 * Append to site.css. All selectors namespaced or scoped to header.site so they
 * override the initial builder's smaller defaults without touching page copy.
 * Enforced by verify.py gates #12 (form present) + #13 (.cta ≥1.05rem) +
 *                             #14 (header contact button on every page) +
 *                             #15 (logo ≥88px) + #16 (wordmark ≥1.35rem).
 * --------------------------------------------------------------------------- */

/* BRAND LOGO + WORDMARK — bump so the site identity reads at a glance */
header.site .brand img { width: 96px; height: 96px; }
header.site .brand .wordmark {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* NAV LINKS — bump above tiny 0.95rem default */
header.site nav a {
  font-size: 1.05rem;
  font-weight: 600;
}

/* HEADER PHONE CTA — prominence bump (was 0.95rem tiny button) */
header.site .cta {
  font-size: 1.15rem;
  font-weight: 700;
  padding: 12px 22px;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* HEADER CONTACT-FORM CTA v3 — big, gradient, pill-rounded, arrow icon.
 * Sits next to the phone .cta. Visually distinct so the two channels are clear:
 *   teal   = call now
 *   orange = fill in the form (primary conversion action)
 * Present on every page per Singularity gate #14. */
header.site .header-contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: #fff !important;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 800;
  padding: 14px 30px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 14px;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45),
              inset 0 1px 0 rgba(255,255,255,0.25);
  border: 2px solid rgba(255,255,255,0.15);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
header.site .header-contact-cta::after {
  content: "→";
  font-size: 1.1em;
  font-weight: 900;
  transition: transform 0.15s ease;
}
header.site .header-contact-cta:hover,
header.site .header-contact-cta:focus-visible {
  background: linear-gradient(135deg, #EA580C 0%, #B4360A 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.6),
              inset 0 1px 0 rgba(255,255,255,0.35);
  outline: none;
}
header.site .header-contact-cta:hover::after,
header.site .header-contact-cta:focus-visible::after {
  transform: translateX(3px);
}
header.site .header-contact-cta:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.5),
              inset 0 2px 4px rgba(0,0,0,0.15);
}

@media (max-width: 780px) {
  /* Keep everything visible on mobile even when nav ul hides */
  header.site .brand img { width: 68px; height: 68px; }
  header.site .brand .wordmark { font-size: 1.15rem; }
  header.site .cta { display: inline-block; font-size: 1.05rem; padding: 10px 18px; }
  header.site .header-contact-cta { font-size: 1.05rem; padding: 12px 22px; margin-left: 8px; letter-spacing: 0.05em; }
  header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  /* Very narrow screens: shorten padding so both buttons still fit */
  header.site .brand img { width: 56px; height: 56px; }
  header.site .brand .wordmark { font-size: 1.0rem; }
  header.site .header-contact-cta { font-size: 0.95rem; padding: 10px 18px; letter-spacing: 0.04em; }
}

/* -----------------------------------------------------------------------------
 * LEAD FORM BLOCK — canonical contact-form styling
 * --------------------------------------------------------------------------- */

.lead-form-block { background: #fafafa; border-top: 3px solid var(--teal, #0F8B8D); }
.lead-form { max-width: 620px; margin: 20px auto 0; }
.lead-form-row { margin-bottom: 14px; }
.lead-form label {
  display: block; font-size: 0.9rem; font-weight: 600;
  color: #333; margin-bottom: 5px; letter-spacing: 0.01em;
}
.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"],
.lead-form textarea {
  width: 100%; box-sizing: border-box;
  padding: 11px 13px;
  border: 1.5px solid #cfd6d8;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.12s;
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--teal, #0F8B8D);
}
.lead-form textarea { resize: vertical; min-height: 90px; }
.lead-form input.lead-form-honeypot {
  position: absolute; left: -10000px; opacity: 0; height: 0; width: 0;
}

.lead-form-consent {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 0.82rem; color: #444;
  margin: 8px 0 12px; line-height: 1.45;
  font-weight: 400;
}
.lead-form-consent input { margin-top: 3px; flex-shrink: 0; }
.lead-form-consent a { color: var(--teal, #0F8B8D); text-decoration: underline; }

.lead-form-consent-legal {
  font-size: 0.75rem; color: #6b6b70;
  margin: 6px 0 16px; line-height: 1.5;
}
.lead-form-consent-legal a { color: var(--teal, #0F8B8D); text-decoration: underline; }

.lead-form-submit {
  width: 100%; box-sizing: border-box;
  background: var(--teal, #0F8B8D); color: #fff;
  border: none; padding: 14px 20px;
  border-radius: 7px;
  font-size: 1.05rem; font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.12s, transform 0.12s;
}
.lead-form-submit:hover,
.lead-form-submit:focus-visible {
  background: var(--teal-dark, #0B6E70);
  transform: translateY(-1px);
  outline: none;
}
.lead-form-submit:disabled {
  background: #a3b8ba; cursor: not-allowed; transform: none;
}

.lead-form-fallback {
  text-align: center; font-size: 0.9rem; color: #555;
  margin: 16px 0 0;
}
.lead-form-fallback a { color: var(--teal-dark, #0B6E70); font-weight: 600; }

/* === SNG-LEADFORM-FIX 2026-10-09 START === */
.lead-form-honeypot { position:absolute !important; left:-9999px !important; top:-9999px !important; width:1px !important; height:1px !important; overflow:hidden; opacity:0; pointer-events:none; }
.lead-form { display:flex; flex-direction:column; gap:12px; max-width:560px; }
.lead-form-row { display:flex; flex-direction:column; gap:4px; }
.lead-form-row label { font-weight:600; font-size:0.95rem; }
.lead-form-row input, .lead-form-row textarea { padding:10px 12px; border:1px solid #c7c7c7; border-radius:6px; font-size:1rem; background:#fff; width:100%; box-sizing:border-box; font-family:inherit; }
.lead-form-row input:focus, .lead-form-row textarea:focus { outline:2px solid #0b5fa5; border-color:transparent; }
.lead-form-consent { display:flex; align-items:flex-start; gap:8px; margin:4px 0; font-size:0.9rem; line-height:1.4; }
.lead-form-consent input[type=checkbox] { margin-top:3px; flex:0 0 auto; }
.lead-form-consent-legal { font-size:0.85rem; color:#555; margin:4px 0 8px; line-height:1.4; }
.lead-form-submit { padding:12px 24px; background:#0b5fa5; color:#fff; border:0; border-radius:6px; font-size:1rem; font-weight:700; cursor:pointer; align-self:flex-start; }
.lead-form-submit:hover { background:#094d85; }
.lead-form-submit:disabled { opacity:0.6; cursor:not-allowed; }
/* === SNG-LEADFORM-FIX 2026-10-09 END === */

/* page furniture */
.cap-row{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}
.faq .faq-act{margin-top:10px;font-weight:600}
.caller-prep{margin:12px 0 18px;padding-left:20px}
.caller-prep li{margin-bottom:6px}
.steps li{margin-bottom:8px}
.page-intro{padding:36px 0 6px}
.cost-table{width:100%;border-collapse:collapse;margin:18px 0}
.grid .card{display:block;text-decoration:none;color:inherit}
.wrap{max-width:1200px}
@media (min-width:900px){.hero .wrap:has(.hero__media){grid-template-columns:1fr 1fr}}
/* buttons on the dark call-to-action band, and the form button in the site colour */
.cta-final .cap-row .btn.primary{background:#fff;color:var(--accent);border-color:#fff}
.cta-final .cap-row .btn.secondary{background:transparent;color:#fff;border-color:#fff}
.lead-form-block .lead-form-submit{background:var(--accent);border-color:var(--accent);color:#fff}
/* nav dropdowns */
.nav-menu{position:relative;display:inline-block}
.nav-menu>ul{display:none;position:absolute;top:100%;left:0;background:#fff;border:1px solid #dfe5e1;border-radius:10px;padding:10px 16px;min-width:230px;box-shadow:0 10px 28px rgba(0,0,0,.14);list-style:none;margin:6px 0 0;z-index:60;text-align:left}
.nav-menu>ul li{margin:6px 0}
.nav-menu:hover>ul,.nav-menu:focus-within>ul{display:block}
.nav-toggle{background:none;border:0;font:inherit;font-weight:600;color:var(--primary);cursor:pointer;padding:4px 0}
