/* Garland Foundation Repair Pros — local contractor theme
   Palette: deep slate navy + burnt orange, distinct from the concrete-leveling site.
   Mobile-first, no frameworks. */
:root {
  --navy: #17293f;
  --navy-deep: #0f1d2e;
  --accent: #d97c1e;
  --accent-dark: #b0620f;
  --bg: #f7f5f1;
  --card: #ffffff;
  --ink: #242a33;
  --muted: #5c6672;
  --line: #e4ded4;
  --radius: 10px;
}
* { 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(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header {
  background: var(--navy-deep);
  color: #fff;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 20px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-weight: 800;
  font-size: 19px; letter-spacing: .2px; margin-right: auto;
  white-space: nowrap;
}
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--accent); color: #fff; font-size: 22px; font-weight: 900;
  flex: 0 0 auto;
}
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 4px; flex-wrap: wrap;
}
.main-nav a {
  color: #dfe5ec; text-decoration: none; font-size: 15px;
  padding: 8px 10px; border-radius: 6px;
}
.main-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.main-nav a.active, .main-nav a[aria-current="page"] {
  background: var(--accent); color: #fff; font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 8px;
  font-weight: 700; font-size: 17px; text-decoration: none;
  border: none; cursor: pointer; transition: transform .08s ease;
}
.btn:active { transform: translateY(1px); }
.btn-call { background: var(--accent); color: #fff; }
.btn-call:hover { background: var(--accent-dark); color: #fff; }
.btn-secondary {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.header-call { padding: 10px 16px; font-size: 15px; white-space: nowrap; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; padding: 64px 0 56px;
}
.hero h1 { font-size: clamp(30px, 5vw, 46px); margin: 0 0 14px; line-height: 1.2; }
.hero .lede { font-size: 19px; max-width: 720px; color: #d7dee7; margin: 0 0 26px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-ctas .btn-secondary { color: #fff; border-color: #fff; }
.hero-ctas .btn-secondary:hover { background: #fff; color: var(--navy); }
.hero-note { color: #aeb9c6; font-size: 15px; margin: 0; }

/* Sections */
.section { padding: 52px 0; }
.section h2 { font-size: 29px; margin: 0 0 12px; color: var(--navy); }
.section > .wrap > p.section-sub { color: var(--muted); max-width: 760px; margin: 0 0 28px; }
.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Cards */
.cards {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.card h3 { margin: 0 0 10px; color: var(--navy); font-size: 20px; }
.card p { margin: 0 0 12px; color: var(--muted); font-size: 16px; }
.card .card-link { color: var(--accent-dark); font-weight: 700; text-decoration: none; }
.card .card-link:hover { text-decoration: underline; }
.card-icon { font-size: 30px; display: block; margin-bottom: 10px; }

/* Warning sign list */
.sign-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.sign-list li {
  background: var(--card); border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px; box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.sign-list li strong { color: var(--navy); display: block; margin-bottom: 4px; }
.sign-list li p { margin: 0; color: var(--muted); font-size: 16px; }

/* Steps */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li {
  counter-increment: step; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 20px 74px; position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 18px; top: 18px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
}
.steps li strong { color: var(--navy); }
.steps li p { margin: 6px 0 0; color: var(--muted); font-size: 16px; }

/* Cost table */
.cost-table { width: 100%; border-collapse: collapse; margin: 20px 0; background: #fff; border-radius: var(--radius); overflow: hidden; }
.cost-table th, .cost-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cost-table th { background: var(--navy); color: #fff; font-size: 15px; }
.cost-table td { font-size: 16px; }
.cost-table tr:last-child td { border-bottom: none; }
.cost-table td.range { font-weight: 700; color: var(--navy); white-space: nowrap; }

/* FAQ */
.faq details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 12px; padding: 0;
}
.faq summary {
  padding: 18px 20px; cursor: pointer; font-weight: 700;
  color: var(--navy); font-size: 17px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+ "; color: var(--accent); font-weight: 900; }
.faq details[open] summary::before { content: "– "; }
.faq details .a { padding: 0 20px 20px; color: var(--muted); }
.faq details .a p { margin: 0 0 10px; }
.faq details .a p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; padding: 52px 0; text-align: center; }
.cta-band h2 { color: #fff; margin: 0 0 10px; font-size: 30px; }
.cta-band p { color: #c6d0dc; max-width: 640px; margin: 0 auto 24px; }

/* Contact */
.contact-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.call-card {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 34px 28px; text-align: center; align-self: start;
}
.call-card h2 { color: #fff; margin-top: 0; }
.call-card p { color: #c6d0dc; }
.call-card .btn-call { font-size: 20px; padding: 15px 30px; margin: 12px 0; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.form-card h2 { margin-top: 0; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 15px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px; border: 1px solid #c9cfd6;
  border-radius: 6px; font-size: 16px; font-family: inherit;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--accent); border-color: var(--accent);
}

/* Footer */
.site-footer { background: var(--navy-deep); color: #9fb0c2; padding: 40px 0 90px; font-size: 15px; }
.site-footer .wrap { display: grid; gap: 24px; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h3 { color: #fff; font-size: 16px; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #c6d0dc; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-note { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: 13px; color: #7d8ea1; }

/* Sticky mobile call bar */
.mobile-callbar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--accent); color: #fff; text-align: center;
  padding: 14px; font-weight: 800; font-size: 18px; text-decoration: none;
  box-shadow: 0 -2px 12px rgba(0,0,0,.2);
}
@media (max-width: 760px) {
  .mobile-callbar { display: block; }
  .header-call { display: none; }
  .main-nav { display: none; }
  .header-inner { justify-content: space-between; }
}
