/* Plano Concrete Leveling Pros — mobile-first, no frameworks, no webfonts. */

:root {
  --cream: #faf6ec;
  --cream-dark: #f1e9d6;
  --charcoal: #2b2a26;
  --charcoal-soft: #4a4843;
  --accent: #b3541e;          /* burnt orange CTA */
  --accent-dark: #93430f;
  --slate: #33312c;           /* header/footer */
  --line: #e2d9c2;
  --radius: 10px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--charcoal); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

h1, h2, h3 { line-height: 1.25; color: var(--charcoal); }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.35rem, 3.5vw, 1.8rem); margin: 1.8em 0 0.5em; }
h3 { font-size: 1.15rem; margin: 1.4em 0 0.4em; }
p { margin: 0 0 1em; }
a { color: var(--accent-dark); }
img { max-width: 100%; height: auto; }

/* ---------- header ---------- */
.site-header {
  background: var(--slate); color: #fff;
  position: sticky; top: 0; z-index: 50;
  border-bottom: 3px solid var(--accent);
}
.header-inner {
  display: flex; align-items: center; gap: 16px;
  padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.brand-mark { font-size: 1.6rem; color: var(--accent); }
.brand-text { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 2px 14px; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: #f3ead8; text-decoration: none; font-size: 0.95rem; padding: 6px 2px; }
.main-nav a:hover { color: #fff; text-decoration: underline; }
.main-nav a.active { color: #fff; font-weight: 700; border-bottom: 2px solid var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  border-radius: var(--radius); padding: 14px 26px; font-size: 1.05rem;
  border: none; cursor: pointer; text-align: center;
}
.btn-call, .btn-primary { background: var(--accent); color: #fff; }
.btn-call:hover, .btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--charcoal); border: 2px solid var(--charcoal); }
.btn-secondary:hover { background: var(--charcoal); color: #fff; }
.header-call { padding: 10px 18px; font-size: 0.95rem; white-space: nowrap; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--slate), #45423a);
  color: #fff; padding: 56px 0 64px;
}
.hero h1 { color: #fff; max-width: 16em; }
.hero p.lede { font-size: 1.15rem; color: #efe6d2; max-width: 38em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero .btn-secondary { color: #fff; border-color: #fff; }
.hero .btn-secondary:hover { background: #fff; color: var(--charcoal); }
.hero-note { margin-top: 18px; font-size: 0.95rem; color: #d8cdb4; }

/* ---------- sections ---------- */
.section { padding: 48px 0; }
.section.alt { background: var(--cream-dark); }
.lede { font-size: 1.12rem; }

.cards { display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 720px) { .cards.cols-2 { grid-template-columns: 1fr 1fr; } .cards.cols-3 { grid-template-columns: 1fr 1fr 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.card h3 { margin-top: 0; }
.card .tag {
  display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--accent-dark); margin-bottom: 8px;
}

/* comparison table */
.table-scroll { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.98rem; }
table.compare th, table.compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.compare thead th { background: var(--slate); color: #fff; }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: none; }
table.compare tbody th { background: var(--cream-dark); }

/* steps / lists */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 14px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 18px 64px; position: relative; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.checklist { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent-dark); font-weight: 700; }

.cta-band { background: var(--slate); color: #fff; border-radius: var(--radius); padding: 36px 28px; text-align: center; margin: 40px 0 0; }
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: #e9dfc8; }
.cta-band .btn { margin: 6px; }

/* FAQ */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq-item summary { padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary .q { font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--accent-dark); font-size: 1.3rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a { padding: 0 20px 20px; }

/* areas */
.area-grid { display: grid; gap: 14px; margin-top: 20px; }
@media (min-width: 720px) { .area-grid { grid-template-columns: 1fr 1fr; } }
.area-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.area-card h3 { margin: 0 0 6px; }
.area-card p { margin: 0; font-size: 0.98rem; }

/* contact */
.contact-grid { display: grid; gap: 24px; margin-top: 24px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.big-phone { font-size: 1.5rem; font-weight: 800; }
form.quote-form { display: grid; gap: 14px; }
form.quote-form label { font-weight: 600; font-size: 0.95rem; }
form.quote-form input, form.quote-form select, form.quote-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #c9c2ae; border-radius: 8px;
  font-size: 1rem; font-family: inherit; background: #fffdf8;
}
form.quote-form textarea { min-height: 110px; resize: vertical; }

/* ---------- footer ---------- */
.site-footer { background: var(--slate); color: #d9cfb8; padding: 40px 0 110px; margin-top: 20px; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { color: #fff; font-weight: 700; font-size: 1.1rem; margin: 0 0 8px; }
.footer-head { color: #fff; font-weight: 700; margin: 0 0 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: #efe3c8; text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { text-decoration: underline; }
.footer-call { font-weight: 700; font-size: 1.1rem; }
.footer-legal { border-top: 1px solid #4d4a42; margin-top: 28px; padding-top: 18px; font-size: 0.85rem; }

/* ---------- sticky mobile call bar ---------- */
.mobile-callbar { display: none; }
@media (max-width: 719px) {
  .mobile-callbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--accent); text-align: center; padding: 14px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.25);
  }
  .mobile-callbar a { color: #fff; font-weight: 800; text-decoration: none; font-size: 1.1rem; }
  .header-call { display: none; }
  .site-footer { padding-bottom: 140px; }
  .main-nav { display: none; } /* keep header compact on mobile; footer nav carries links */
}

/* small niceties */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.badge {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 0.9rem; font-weight: 600;
}
.note { background: #fff8e8; border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 20px 0; }
