/* Greenacre Law — landing page design system
   Matched to the firm's live brand: Oswald headings (uppercase accents) + Open Sans
   body, deep green #254232 surfaces, gold #C8A951 squared buttons, white base.
   --serif is mapped to Oswald so heading rules cascade without renaming. */

:root {
  --forest-deep: #1f3326;   /* dark green: forest sections, trust bar, proof card, heading text */
  --forest: #254232;        /* brand header/section green (live site header) */
  --forest-soft: #335a44;
  --ink: #2b2b2f;           /* body text (near-black) */
  --ink-soft: #5c5c60;      /* secondary text (≈ brand body gray #606064) */
  --cream: #f6f7f4;         /* faint off-white base / alternating sections */
  --cream-deep: #edefe9;
  --paper: #ffffff;         /* white surface: cards + primary sections */
  --brass: #c8a951;         /* brand gold (buttons / accents) */
  --brass-deep: #7e6220;    /* AA-safe gold for eyebrows + links on white */
  --brass-soft: #e4d091;    /* light gold for text on dark green */
  --line: #e6e4da;
  --line-strong: #d2cfc2;
  --star: #c8932b;
  --shadow-sm: 0 1px 2px rgba(31,51,38,.06), 0 2px 8px rgba(31,51,38,.05);
  --shadow-md: 0 8px 28px rgba(31,51,38,.10);
  --shadow-lg: 0 22px 56px rgba(31,51,38,.16);
  --r: 3px;
  --r-sm: 2px;
  --maxw: 1120px;
  --serif: "Oswald", "Arial Narrow", Arial, sans-serif;   /* display/headings */
  --sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: .002em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.14; letter-spacing: .01em; margin: 0; color: var(--forest-deep); }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.eyebrow {
  font-family: var(--serif); font-weight: 600; font-size: .85rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep);
  margin: 0 0 .9rem;
}
.section { padding: clamp(56px, 8vw, 104px) 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--serif); font-weight: 600; font-size: 1.04rem;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 1em 1.7em; border-radius: 0; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  line-height: 1;
}
.btn--call { background: var(--brass); color: var(--forest-deep); box-shadow: var(--shadow-md); }
.btn--call:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--brass-soft); }
.btn--ghost { background: transparent; color: var(--forest-deep); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--forest); background: rgba(22,58,44,.05); }
.btn--solid { background: var(--forest); color: var(--paper); }
.btn--solid:hover { background: var(--forest-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn svg { width: 1.05em; height: 1.05em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(37,66,50,.97); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(228,208,145,.20);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 18px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.32rem; color: var(--forest-deep); letter-spacing: -.01em; }
.brand__name span { color: var(--brass-deep); }
.brand__logo { height: 40px; width: auto; display: block; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--cream); text-decoration: none; font-size: 1.06rem; white-space: nowrap; }
.header-phone svg { width: 17px; height: 17px; color: var(--brass-soft); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--cream); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(22,58,44,.10) 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(120deg, #000 0%, transparent 62%);
          mask-image: linear-gradient(120deg, #000 0%, transparent 62%);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 8vw, 96px);
}
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); margin: 0 0 1.1rem; }
.hero h1 em { font-style: normal; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: .14em; text-decoration-thickness: .08em; }
.hero__sub { font-size: clamp(1.06rem, 1.7vw, 1.22rem); color: var(--ink-soft); max-width: 38ch; margin-bottom: 1.7rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__micro { margin: 1.15rem 0 0; font-size: .92rem; color: var(--ink-soft); display: flex; align-items: center; gap: .5rem; }
.hero__micro svg { width: 16px; height: 16px; color: var(--forest-soft); flex: none; }

/* hero proof card */
.proof-card {
  background: var(--forest-deep); color: var(--cream); border-radius: var(--r);
  padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.proof-card::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px;
  border: 1.5px solid rgba(216,195,147,.22); border-radius: 50%;
}
.proof-card__stat { font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 3.4rem); color: var(--brass-soft); line-height: 1; }
.proof-card__statlabel { font-size: .95rem; color: rgba(246,241,230,.8); margin: .4rem 0 1.4rem; }
.proof-card hr { border: none; border-top: 1px solid rgba(216,195,147,.2); margin: 1.2rem 0; }
.proof-card__row { display: flex; align-items: center; gap: .7rem; margin: .7rem 0; font-size: .98rem; }
.proof-card__row svg { width: 20px; height: 20px; color: var(--brass-soft); flex: none; }
.stars { color: var(--star); letter-spacing: .06em; }

/* ---------- trust bar ---------- */
.trustbar { background: var(--forest-deep); color: var(--cream); }
.trustbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 18px; padding-bottom: 18px; }
.trustbar__item { display: flex; align-items: center; gap: .55rem; font-size: .95rem; font-weight: 600; }
.trustbar__item svg { width: 18px; height: 18px; color: var(--brass-soft); flex: none; }
.trustbar__item .stars { font-weight: 700; }

/* ---------- triad ---------- */
.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.triad__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.triad__card .num { font-family: var(--serif); font-size: 1.1rem; color: var(--brass-deep); }
.triad__card h3 { font-size: 1.45rem; margin: .5rem 0 .55rem; }
.triad__card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- generic section heading ---------- */
.sec-head { max-width: 60ch; margin: 0 0 clamp(28px, 4vw, 48px); }
.sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: .6rem; }
.sec-head p { color: var(--ink-soft); font-size: 1.08rem; margin: 0; }
.section--forest { background: var(--forest-deep); color: var(--cream); }
.section--forest h2, .section--forest h3 { color: var(--paper); }
.section--forest .sec-head p { color: rgba(246,241,230,.82); }
.section--paper { background: var(--paper); }

/* ---------- problem checklist ---------- */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; font-size: 1.04rem; }
.checklist li svg { width: 22px; height: 22px; color: var(--brass); flex: none; margin-top: 2px; }

/* ---------- fit qualifier ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit__col { border-radius: var(--r); padding: 28px; border: 1px solid var(--line); background: var(--paper); }
.fit__col h3 { font-size: 1.25rem; display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.fit__col h3 svg { width: 22px; height: 22px; flex: none; }
.fit__col ul { margin: 0; padding-left: 0; list-style: none; }
.fit__col li { display: flex; gap: .6rem; align-items: flex-start; margin: .65rem 0; color: var(--ink-soft); }
.fit__col li svg { width: 18px; height: 18px; flex: none; margin-top: 4px; }
.fit__col--yes { border-top: 4px solid var(--forest); }
.fit__col--yes li svg { color: var(--forest-soft); }
.fit__col--no { border-top: 4px solid var(--line-strong); background: var(--cream-deep); }
.fit__col--no li svg { color: var(--brass-deep); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: rgba(255,253,247,.06); border: 1px solid rgba(216,195,147,.22); border-radius: var(--r); }
.section--forest .step { background: rgba(255,253,247,.05); }
.step__n { width: 44px; height: 44px; border-radius: 50%; background: var(--brass); color: var(--forest-deep); font-family: var(--serif); font-weight: 700; font-size: 1.3rem; display: grid; place-items: center; margin-bottom: 1rem; }
.step h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.step p { margin: 0; color: rgba(246,241,230,.8); font-size: .98rem; }

/* ---------- differentiator ---------- */
.diff { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.diff__quote { font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.25; color: var(--forest-deep); }
.diff__quote .mk { color: var(--brass-deep); }
.diff p { color: var(--ink-soft); }
.diff__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow-md); border-bottom: 4px solid var(--brass); }

/* ---------- proof / testimonials ---------- */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tcard .stars { font-size: 1.05rem; margin-bottom: .8rem; }
.tcard p { font-size: 1rem; color: var(--ink); font-style: italic; }
.tcard__name { margin-top: auto; padding-top: .9rem; font-weight: 700; color: var(--forest-deep); font-style: normal; }
.gbadge { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .7rem; }
.gbadge svg { width: 15px; height: 15px; }
.tcard--google { text-decoration: none; align-items: flex-start; justify-content: center; text-align: center; background: var(--forest-deep); color: var(--cream); }
.tcard--google * { color: var(--cream); }
.tcard--google p { color: var(--cream); font-style: normal; }
.tcard--google .gbig { font-family: var(--serif); font-size: 2.8rem; line-height: 1; color: var(--brass-soft); margin: .3rem 0; }
.tcard--google .tcard__name { color: var(--brass-soft); align-self: center; }
.tcard--google:hover { box-shadow: var(--shadow-lg); }
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
.result { background: var(--forest-deep); color: var(--cream); border-radius: var(--r); padding: 30px; }
.result .big { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.1rem); color: var(--brass-soft); line-height: 1; }
.result p { margin: .6rem 0 0; color: rgba(246,241,230,.85); }
.cta-strip { display: flex; justify-content: center; margin-top: 2.2rem; }
.disclaimer-inline { font-size: .82rem; color: var(--ink-soft); margin-top: 1.1rem; font-style: italic; }
.section--forest .disclaimer-inline { color: rgba(246,241,230,.6); }

/* ---------- attorneys ---------- */
.attys { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.atty { display: flex; gap: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-sm); }
.atty__avatar { width: 84px; height: 84px; border-radius: 50%; flex: none; background: var(--forest); color: var(--brass-soft); font-family: var(--serif); font-size: 1.9rem; display: grid; place-items: center; overflow: hidden; }
.atty__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.atty h3 { font-size: 1.3rem; }
.atty .role { color: var(--brass-deep); font-weight: 700; font-size: .9rem; margin: .2rem 0 .6rem; }
.atty p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.atty .bar { font-size: .82rem; color: var(--ink-soft); margin-top: .5rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.4rem 1.2rem 0; font-family: var(--serif); font-size: 1.22rem; color: var(--forest-deep); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 1rem; font-size: 1.7rem; color: var(--brass-deep); transition: transform .2s ease; font-family: var(--sans); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2.4rem 1.4rem 0; color: var(--ink-soft); margin: 0; }

/* ---------- final CTA + form ---------- */
.cta-final { background: var(--forest-deep); color: var(--cream); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.cta-grid h2 { color: var(--paper); font-size: clamp(2rem, 3.6vw, 2.8rem); }
.cta-grid > div > p { color: rgba(246,241,230,.85); }
/* Call-only final CTA (forms removed — call-first attribution via WhatConverts) */
.cta-final-single { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.cta-final-single h2 { color: var(--paper); font-size: clamp(2rem, 3.6vw, 2.8rem); }
.cta-final-single > div > p { color: rgba(246,241,230,.85); }
.cta-final-single .call-steps { display: inline-grid; text-align: left; margin-left: auto; margin-right: auto; }
.cta-call-big { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--serif); font-size: clamp(1.9rem, 3.2vw, 2.6rem); color: var(--brass-soft); text-decoration: none; margin: .4rem 0; }
.cta-call-big svg { width: 1em; height: 1em; }
.call-steps { list-style: none; padding: 0; margin: 1.1rem 0 1.3rem; display: grid; gap: .5rem; }
.call-steps li { color: rgba(246,241,230,.9); font-size: .98rem; }
.call-steps strong { color: var(--brass-soft); margin-right: .35rem; }
.form-card { background: var(--paper); border-radius: var(--r); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-lg); color: var(--ink); }
.form-card h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.form-card .lead { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.2rem; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: .35rem; color: var(--forest-deep); }
.field input, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 16px; padding: .85em .95em;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--cream);
  color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(22,58,44,.12); }
.field textarea { resize: vertical; min-height: 92px; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); margin: 6px 0 16px; }
.check input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--forest); }
.form-card button { width: 100%; }
.form-note { font-size: .78rem; color: var(--ink-soft); margin-top: .9rem; }

/* ---------- mobile sticky call bar ---------- */
.mobile-call { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(14,36,27,.97); backdrop-filter: blur(8px); }
.mobile-call a { display: flex; align-items: center; justify-content: center; gap: .6rem; background: var(--brass); color: var(--forest-deep); font-weight: 800; padding: 1em; border-radius: 999px; text-decoration: none; font-size: 1.08rem; }
.mobile-call a svg { width: 20px; height: 20px; flex: none; }

/* ---------- footer ---------- */
.site-footer { background: #0a1b14; color: rgba(246,241,230,.72); font-size: .9rem; padding: clamp(44px, 6vw, 72px) 0 30px; }
.site-footer .brand__name { color: var(--cream); }
.footer-offices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 28px 0; }
.fo-label { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-soft); margin: 0 0 .4rem; }
.footer-office p { margin: 0; line-height: 1.5; }
.footer-disclaimer { border-top: 1px solid rgba(216,195,147,.16); padding-top: 22px; margin-top: 22px; font-size: .8rem; line-height: 1.68; color: rgba(246,241,230,.78); }
.footer-disclaimer p { margin: 0 0 .7rem; }
.footer-office p, .site-footer > .wrap > p { color: rgba(246,241,230,.82); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; }
.footer-links a { color: rgba(246,241,230,.85); text-decoration: underline; }
.site-footer .brand__logo { height: 46px; }
.footer-links a:hover { color: var(--brass-soft); }

/* ---------- reveal animation ---------- */
/* Reveal animation is opt-IN via the .js class the script adds. No JS → content
   is visible by default (never gate baseline visibility on JS). */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.btn:focus-visible, .header-phone:focus-visible, .footer-links a:focus-visible,
.faq summary:focus-visible, .cta-call-big:focus-visible, .tcard--google:focus-visible,
a:focus-visible { outline: 3px solid var(--brass-soft); outline-offset: 3px; border-radius: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .triad, .steps, .tcards { grid-template-columns: 1fr; }
  .checklist, .fit, .diff, .results, .attys, .cta-grid { grid-template-columns: 1fr; }
  .footer-offices { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .mobile-call { display: block; }
  .header-actions .btn--call { display: none; }
  .header-phone { font-size: .98rem; }
  .site-header .wrap { height: 64px; }
  .brand__logo { height: 34px; }
}
@media (max-width: 480px) {
  .checklist { grid-template-columns: 1fr; }
  .footer-offices { grid-template-columns: 1fr; }
}
