/* ── Variables ──
   Golden Estate Lawyer — warmer, more approachable than the firm site.
   Estate planning is consumer-facing and reassuring: deep evergreen,
   warm gold, soft cream. */
:root {
  --green:       #1f3d33;
  --green-deep:  #14271f;
  --gold:        #c0922f;
  --gold-light:  #d9b766;
  --cream:       #faf7f0;
  --bg-white:    #ffffff;
  --text:        #2c322e;
  --text-light:  #5e655f;
  --border:      #e6e2d6;
  --max-w:       1100px;
  --radius:      6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-white);
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--green); }

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--green);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-alt { background: var(--cream); }
.prose { max-width: 760px; }
.prose h2 { margin: 2.5rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text); font-size: 1.05rem; }

.btn {
  display: inline-block;
  padding: .85rem 2.1rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s, color .2s, transform .1s;
  border: 2px solid transparent;
}
.btn-primary { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-primary:hover { background: var(--green); border-color: var(--green); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; transform: translateY(-1px); }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--green); letter-spacing: .01em;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { color: var(--text); font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--gold); }

/* ── Hero ── */
.hero {
  background: var(--green);
  color: #fff;
  padding: 6.5rem 0 5.5rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 35%, rgba(192,146,47,.25) 0%, transparent 60%),
    linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; }
.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1.25rem;
}
.hero h1 { color: #fff; margin-bottom: 1.5rem; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 600px; margin-bottom: 2.25rem; line-height: 1.65; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-cta .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.hero-cta .btn-outline:hover { background: #fff; color: var(--green); border-color: #fff; }

/* ── Page header (interior pages) ── */
.page-header { background: var(--green); color: #fff; padding: 4rem 0; }
.page-header h1 { color: #fff; margin-bottom: .75rem; }
.page-header p { color: rgba(255,255,255,.82); max-width: 640px; font-size: 1.1rem; }
.page-header .hero-eyebrow { margin-bottom: 1rem; }

/* ── Stakes / argument ── */
.argument { padding: 4.5rem 0; background: var(--cream); }
.argument-inner { max-width: 760px; }
.argument h2 { margin-bottom: 1.5rem; }
.argument p { font-size: 1.08rem; color: var(--text); }
.argument-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3.5rem;
  align-items: center;
}
.argument-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 38% center; /* family stands left of frame center */
  border-radius: var(--radius);
}
@media (max-width: 768px) {
  .argument-grid { grid-template-columns: 1fr; gap: 2rem; }
  .argument-media img { aspect-ratio: 16 / 10; }
}

.section-intro { max-width: 720px; margin-top: 1rem; color: var(--text); font-size: 1.05rem; }

/* ── Process list (numbered steps) ── */
.process-list { max-width: 800px; margin-top: 2.5rem; }
.process-step {
  display: flex; gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.process-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem; font-weight: 700; color: var(--gold);
  line-height: 1.1; min-width: 2.2rem;
}
.process-step h3 { margin-bottom: .4rem; }
.process-step p { color: var(--text-light); font-size: .97rem; margin: 0; }

/* ── Reassurance / steps cards ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.step-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.step-card .step-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; color: var(--gold); font-weight: 700;
  margin-bottom: .5rem;
}
.step-card h3 { margin-bottom: .5rem; }
.step-card p { font-size: .92rem; color: var(--text-light); margin: 0; }

/* ── CTA band ── */
.cta-band { background: var(--green); color: #fff; padding: 5rem 0; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.82); font-size: 1.05rem; margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── Disclaimer ── */
.disclaimer {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: .82rem; color: var(--text-light); line-height: 1.6;
}

/* ── Assessment ── */
.assessment-wrap { max-width: 720px; margin: 0 auto; }
.progress { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; margin-bottom: 2.5rem; }
.progress-bar { height: 100%; background: var(--gold); width: 0%; transition: width .3s ease; }
.step { display: none; }
.step.active { display: block; }
.step-header { margin-bottom: 2rem; }
.step-category {
  font-size: .78rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .6rem;
}
.step-header h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.step-header p { color: var(--text-light); margin-top: .6rem; }
.question { margin-bottom: 2rem; }
.question-text { font-weight: 600; color: var(--green); margin-bottom: .9rem; font-size: 1.02rem; }
.options { display: flex; flex-direction: column; gap: .6rem; }
.option-label {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .9rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer; transition: border-color .15s, background .15s;
}
.option-label:hover { border-color: var(--gold-light); background: var(--cream); }
.option-label input { margin-top: .25rem; accent-color: var(--gold); flex-shrink: 0; }
.option-text { font-size: .95rem; color: var(--text); }
.option-label:has(input:checked) { border-color: var(--gold); background: var(--cream); }
.validation-msg { display: none; color: #b04545; font-size: .85rem; margin-top: .6rem; }
.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2.5rem; }
.contact-fields { display: flex; flex-direction: column; gap: 1rem; }
.contact-fields .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-size: .85rem; font-weight: 600; color: var(--green); display: block; margin-bottom: .3rem; }
input[type=text], input[type=email] {
  width: 100%; padding: .7rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-size: .95rem; color: var(--text);
  background: var(--bg-white); transition: border-color .2s;
}
input:focus { outline: none; border-color: var(--gold); }

/* ── Report result ── */
.report-theme {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem; margin-bottom: 1rem;
}
.report-theme h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.report-theme p { font-size: .95rem; color: var(--text-light); margin: 0; }

/* ── Footer ── */
footer { background: var(--green-deep); color: rgba(255,255,255,.6); padding: 2.5rem 0; font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: 'Playfair Display', serif; color: #fff; font-size: 1.05rem; font-weight: 700; }
.footer-logo span { color: var(--gold-light); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.6); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-legal { width: 100%; margin-top: .75rem; font-size: .78rem; line-height: 1.6; color: rgba(255,255,255,.45); }

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: .75rem 0; }
  .nav-inner { flex-wrap: wrap; justify-content: center; gap: .35rem 1rem; text-align: center; }
  .nav-links { flex-wrap: wrap; justify-content: center; gap: .4rem 1.25rem; }
  .nav-links a { font-size: .85rem; white-space: nowrap; }
  .nav-links .btn { display: none; }
  .contact-fields .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .hero-cta .btn-outline { display: none; }
}
@media (max-width: 480px) {
  .section { padding: 3.5rem 0; }
  .nav-links a:not(.btn) { font-size: .82rem; }
}
