/* Drive & Patio Design — house style
   Palette pulled from brand logo: teal #2AB69E, charcoal #262626 */

:root {
  --teal: #2ab69e;
  --teal-dark: #1f8f7c;
  --charcoal: #262626;
  --charcoal-soft: #3a3a3a;
  --stone-light: #f6f5f2;
  --stone-mid: #e9e7e1;
  --white: #ffffff;
  --line: #dfdcd4;
  --text: #2b2b2b;
  --text-muted: #635f57;
  --radius: 4px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--charcoal);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; max-width: 68ch; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 64px 0; }
section.tight { padding: 40px 0; }
.bg-stone { background: var(--stone-light); }
.bg-charcoal { background: var(--charcoal); color: #efeee9; }
.bg-charcoal h2, .bg-charcoal h3 { color: var(--white); }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--charcoal); color: #fff; padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; max-width: 1320px; margin: 0 auto;
  gap: 14px; flex-wrap: nowrap;
}
.logo-link { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-link img { height: 44px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; min-width: 0; }
.main-nav a {
  color: var(--charcoal); font-weight: 500; font-size: 0.92rem; white-space: nowrap;
}
.main-nav a:hover { color: var(--teal-dark); text-decoration: none; }
.main-nav a.active { color: var(--teal-dark); }

.header-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-cta .btn { padding: 10px 16px; font-size: 0.88rem; white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius); font-weight: 600;
  font-size: 0.97rem; border: 2px solid transparent; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--white); }
.btn-call { background: var(--charcoal); color: var(--white); }
.btn-call:hover { background: #111; }
.btn-block { width: 100%; }

.nav-toggle { display: none; }

/* Hero */
.hero {
  background: var(--stone-light);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  align-items: center; padding: 56px 0;
}
.hero-eyebrow-img { max-width: 340px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.hero-copy p.lede { font-size: 1.12rem; color: var(--text-muted); max-width: 52ch; }
.hero-ctas { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust div { font-size: 0.92rem; color: var(--text-muted); }
.hero-trust strong { display: block; color: var(--charcoal); font-family: var(--font-head); font-size: 1.3rem; }

/* Callback form card */
.callback-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  padding: 28px; box-shadow: 0 12px 30px rgba(38,38,38,0.08);
}
.callback-card h2 { font-size: 1.35rem; margin-bottom: 4px; }
.callback-card .sub { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 18px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--charcoal); margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.97rem; background: var(--white); color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid rgba(42,182,158,0.35); border-color: var(--teal);
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 10px; }
.form-error-banner {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #e0b4ad;
  border-left: 4px solid #c0392b;
  border-radius: var(--radius);
  background: #fdf3f2;
  color: #8c2b1f;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Service cards */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.service-card {
  border: 1px solid var(--line); border-radius: 6px; padding: 26px; background: var(--white);
  transition: border-color 0.15s ease;
}
.service-card:hover { border-color: var(--teal); }
.service-card h3 { margin-bottom: 8px; }
.service-card a.more { font-weight: 600; }

.icon-badge {
  width: 46px; height: 46px; border-radius: 8px; background: rgba(42,182,158,0.12);
  color: var(--teal-dark); display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 1.3rem;
}

/* Two column content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 6px; border: 1px solid var(--line); }
.split.reverse .split-img { order: 2; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 30px; }
.step { padding: 4px; }
.step .num {
  font-family: var(--font-head); color: var(--teal-dark); font-size: 1.6rem; margin-bottom: 8px;
}

/* Feature list */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--teal);
}
.check-list li::after {
  content: "\2713"; position: absolute; left: 3px; top: 3px; color: white; font-size: 10px; font-weight: 700;
}

/* Areas */
.area-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px;
}
.area-pill {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; text-align: center; font-weight: 600; color: var(--charcoal);
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { margin-bottom: 0; color: var(--text-muted); }

/* Footer */
.site-footer { background: var(--charcoal); color: #d9d7d0; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-grid h4 { color: var(--white); font-family: var(--font-body); font-size: 1rem; margin-bottom: 14px; }
.footer-grid a { color: #d9d7d0; }
.footer-grid a:hover { color: var(--teal); }
.footer-logo-wrap {
  display: inline-block; background: var(--white); padding: 8px 14px; border-radius: 6px;
  margin-bottom: 14px;
}
.footer-logo { height: 36px; display: block; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 9px; }
.footer-bottom {
  border-top: 1px solid #3f3f3f; margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.85rem; color: #a6a39a;
}
.footer-form .field label { color: #efeee9; }
.footer-form .field input, .footer-form .field textarea {
  background: #333; border-color: #4a4a4a; color: #efeee9;
}
.footer-form .field input::placeholder, .footer-form .field textarea::placeholder { color: #a6a39a; }

/* Breadcrumb */
.breadcrumb { font-size: 0.86rem; color: var(--text-muted); padding: 16px 0 0; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--teal-dark); }

/* Page hero (non-home) */
.page-hero { background: var(--charcoal); color: var(--white); padding: 44px 0; }
.page-hero h1 { color: var(--white); margin-bottom: 8px; }
.page-hero p { color: #cfcdc6; margin-bottom: 0; }

.thanks-wrap { text-align: center; padding: 90px 0; }
.thanks-wrap .icon-badge { margin: 0 auto 20px; width: 64px; height: 64px; font-size: 1.8rem; }

@media (max-width: 640px) {
  .header-inner { flex-wrap: wrap; }
  .header-cta { order: 3; width: 100%; }
  .header-cta .btn { flex: 1; }
  .logo-link img { height: 36px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .split, .split.reverse .split-img { grid-template-columns: 1fr; order: 0; }
  .split { display: block; }
  .split .split-img { margin-bottom: 24px; }
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 14px;
  }
}

@media (max-width: 560px) {
  .two-col { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .area-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
