/* ============================================================
   Grace & Grit Property Care — design system
   Palette drawn from the brand logo:
   deep green #1E5B3A · navy #2F3D4C · cream #FAF6EC · gold #C0A062
   ============================================================ */
:root {
  --green: #1e5b3a;
  --green-dark: #143e28;
  --green-soft: #e8f0e9;
  --navy: #2f3d4c;
  --navy-dark: #232e3a;
  --cream: #faf6ec;
  --sand: #f2ead7;
  --gold: #c0a062;
  --ink: #2b2a26;
  --muted: #6b675e;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 62, 40, 0.10);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section.tint { background: var(--sand); }
.section.green { background: var(--green); color: #fff; }
.section.navy { background: var(--navy); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; color: var(--green-dark); font-weight: 600; }
.section.green h2, .section.navy h2 { color: #fff; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 680px; }
.section.green .lead, .section.navy .lead { color: rgba(255,255,255,.85); }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 700; color: var(--gold); margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(30,91,58,.28); }
.btn-primary:hover { background: var(--green-dark); }
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: #ad8c4e; }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { background: var(--sand); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-dark); color: #d9d4c7; font-size: .85rem; padding: 8px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(250,246,236,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid rgba(30,91,58,.12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 24px; max-width: 1200px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 58px; width: auto; border-radius: 8px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--green-dark); line-height: 1.15; }
.brand-name small { display: block; font-family: var(--font-body); font-size: .68rem; letter-spacing: .22em; color: var(--muted); font-weight: 600; }
.main-nav { display: flex; gap: 26px; align-items: center; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; }
.main-nav a:hover, .main-nav a.active { color: var(--green); }
.header-cta { display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--green-dark); border-radius: 2px; margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 560px; display: flex; align-items: center;
  background-size: cover; background-position: center; color: #fff;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,62,40,.88) 20%, rgba(20,62,40,.45) 55%, rgba(20,62,40,.15) 100%); }
.hero-inner { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; padding: 90px 24px; width: 100%; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 3.6rem); max-width: 640px; margin-bottom: 16px; }
.hero p { font-size: 1.15rem; max-width: 560px; color: rgba(255,255,255,.92); margin-bottom: 8px; }
.trust-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.trust-chips span {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
  padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  backdrop-filter: blur(4px);
}

/* Inner page hero */
.page-hero { background: var(--green-dark); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px;
  border: 26px solid rgba(192,160,98,.16); border-radius: 50%;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 640px; font-size: 1.08rem; }
.breadcrumb { font-size: .85rem; color: var(--gold); margin-bottom: 12px; }
.breadcrumb a { color: var(--gold); text-decoration: none; }

/* ---------- Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 34px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 34px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 34px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow);
  border-top: 4px solid var(--gold); transition: transform .18s ease;
}
.card:hover { transform: translateY(-4px); }
.card .icon { font-size: 2rem; margin-bottom: 12px; }
.card h3 { color: var(--green-dark); }
.card p { color: var(--muted); font-size: .97rem; }
.card ul { margin: 12px 0 0 18px; color: var(--muted); font-size: .96rem; }
.card ul li { margin-bottom: 6px; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split.flip > :first-child { order: 2; }

/* Checklist */
.checklist { list-style: none; margin-top: 18px; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px;
  background: var(--green); color: #fff; border-radius: 50%; font-size: .8rem;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* ---------- Service area towns ---------- */
.town { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.town h3 { color: var(--green-dark); font-size: 1.45rem; }
.town .zips { font-size: .85rem; color: var(--muted); margin: 6px 0 12px; }
.town p { color: var(--muted); font-size: .97rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 30px auto 0; }
.faq-item { background: #fff; border-radius: 12px; margin-bottom: 12px; box-shadow: var(--shadow); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 24px; font-size: 1.05rem; font-weight: 700; color: var(--green-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--font-body);
}
.faq-q::after { content: "+"; font-size: 1.5rem; color: var(--gold); flex-shrink: 0; }
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--green-dark), var(--green)); color: #fff; border-radius: 22px; padding: 54px 48px; text-align: center; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 560px; margin: 0 auto; }
.cta-band .btn-row { justify-content: center; }
.phone-big { font-family: var(--font-display); font-size: 1.8rem; color: #fff; text-decoration: none; font-weight: 700; }
.phone-big:hover { color: var(--gold); }

/* ---------- Forms ---------- */
.quote-form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; max-width: 720px; margin: 34px auto 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 7px; color: var(--green-dark); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid #ddd6c4; border-radius: 10px;
  font-size: 1rem; font-family: var(--font-body); background: var(--cream); color: var(--ink);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(30,91,58,.15); background: #fff;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.hidden { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #cfc9ba; padding: 60px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #cfc9ba; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 9px; font-size: .95rem; }
.footer-brand img { height: 64px; border-radius: 10px; margin-bottom: 14px; background: var(--cream); padding: 4px; }
.footer-brand p { font-size: .95rem; max-width: 300px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }

/* Floating call button (mobile) */
.call-fab {
  display: none; position: fixed; bottom: 20px; right: 20px; z-index: 200;
  background: var(--green); color: #fff; width: 60px; height: 60px; border-radius: 50%;
  align-items: center; justify-content: center; font-size: 1.6rem; text-decoration: none;
  box-shadow: 0 10px 26px rgba(0,0,0,.3);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2, .split, .footer-grid { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); flex-direction: column; padding: 18px 24px 26px;
    border-bottom: 1px solid rgba(30,91,58,.15); gap: 16px; align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }
  .call-fab { display: flex; }
  .section { padding: 54px 0; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 26px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { min-height: 480px; }
  .brand-name { font-size: .95rem; }
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 34px; }
.gallery-item { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-item.wide { grid-column: 1 / -1; }
.gallery-item img { width: 100%; height: 360px; object-fit: cover; }
.gallery-item.wide img { height: 440px; }
.gallery-item figcaption { padding: 18px 24px 22px; }
.gallery-item figcaption h3 { font-size: 1.15rem; margin-bottom: 4px; }
.gallery-item figcaption p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img, .gallery-item.wide img { height: 300px; }
}
