/* ============================================================
   Los Lunas (NM) — Cottonwood Gold / Sage / Adobe / Bark
   Hero: text left, one square photo shown as a large circle on the
   right with a thin offset ring behind it (nothing overlaps the photo)
   ============================================================ */

:root {
  --gold: #D4A72C;
  --gold-deep: #A9821A;
  --gold-pale: #FBF3DC;
  --sage: #7E9C83;
  --sage-deep: #5A7760;
  --sage-pale: #EDF3EE;
  --adobe: #F4EBDD;
  --bark: #3B3226;
  --white: #FFFFFF;
  --ink: #2A251E;
  --muted: #655D52;
  --muted-2: #A0978A;
  --line: #E6DCCB;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --r: 10px;
  --r-lg: 18px;
  --serif: 'Merriweather', Georgia, serif;
  --sans: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--adobe); line-height: 1.66; -webkit-font-smoothing: antialiased; font-size: 1.03rem; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--bark); line-height: 1.2; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.cl { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }
.sl { padding: 5.5rem 0; }
.sl-w { background: var(--white); }
.sl-b { background: var(--bark); }
.sl-s { background: var(--sage-pale); }
@media (max-width: 860px) { .cl { padding: 0 1.3rem; } .sl { padding: 3.5rem 0; } }

/* ---------- Nav ---------- */
nav { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: inset 0 -4px 0 var(--gold); }
.nl { max-width: 1140px; margin: 0 auto; padding: 0.8rem 2.5rem; display: flex; align-items: center; justify-content: space-between; }
.nl-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nl-logo img { width: 42px; height: 42px; }
.nl-logo span { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--bark); }
.nl-links { list-style: none; display: flex; gap: 2rem; }
.nl-links a { text-decoration: none; font-weight: 700; font-size: 0.94rem; color: var(--muted); transition: color .2s; }
.nl-links a:hover { color: var(--gold-deep); }
.nl-links a.active { color: var(--sage-deep); }
.nl-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nl-btn span { width: 22px; height: 2px; background: var(--bark); border-radius: 2px; }
@media (max-width: 860px) {
  .nl { padding: 0.8rem 1.3rem; }
  .nl-links { position: fixed; top: 66px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; padding: 0.4rem 1.5rem 1.2rem; border-bottom: 4px solid var(--gold);
    opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
  .nl-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nl-links li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .nl-links li:last-child { border-bottom: none; }
  .nl-btn { display: flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0.95rem 1.5rem; border-radius: 999px; font-family: var(--sans);
  font-weight: 800; font-size: 0.95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-sage { background: var(--sage-deep); color: var(--white); }
.btn-sage:hover { background: #466049; }
.btn-gold { background: var(--gold); color: var(--bark); }
.btn-gold:hover { background: var(--gold-deep); color: var(--white); }
.btn-ol { background: transparent; color: var(--bark); border-color: var(--bark); }
.btn-ol:hover { background: var(--bark); color: var(--white); }

/* ---------- Headings ---------- */
.ey { display: inline-block; font-weight: 800; font-size: 0.76rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 0.9rem; }
.h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.9rem; }
.ld { color: var(--muted); max-width: 40rem; }
.hd { margin-bottom: 3rem; }
.hd.c { text-align: center; }
.hd.c .ld { margin: 0 auto; }

/* ---------- Hero: circle photo ---------- */
.hero { padding: 4rem 0 5rem; overflow: hidden; }
.hero-g { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 3.9vw, 3.2rem); margin-bottom: 1.2rem; }
.hero h1 span { color: var(--gold-deep); }
.hero p { color: var(--muted); font-size: 1.08rem; max-width: 31rem; margin-bottom: 2rem; }
.hero-b { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.orb { position: relative; width: 100%; max-width: 460px; margin-left: auto; aspect-ratio: 1 / 1; }
.orb::before { content: ""; position: absolute; inset: 18px 18px -18px -18px; border-radius: 50%; border: 3px solid var(--gold); }
.orb-img { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--sage-pale); }
.orb-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .hero { padding: 2.5rem 0 3.5rem; } .hero-g { grid-template-columns: 1fr; gap: 2.8rem; } .orb { margin: 0 auto; max-width: 320px; } }

/* ---------- Communities ---------- */
.comm { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.comm span { background: var(--adobe); border: 1px solid var(--line); border-radius: 999px; padding: 0.55rem 1.1rem; font-weight: 700; color: var(--bark); font-size: 0.95rem; }
.comm span.hl { background: var(--gold); border-color: var(--gold); }

/* ---------- Icon steps ---------- */
.ic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.ic-c { background: var(--white); border-radius: var(--r-lg); padding: 2rem 1.8rem; border: 1px solid var(--line); }
.ic-ico { width: 54px; height: 54px; border-radius: 50%; background: var(--sage-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.ic-ico svg { width: 26px; height: 26px; stroke: var(--gold-pale); }
.ic-c h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.ic-c p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 860px) { .ic { grid-template-columns: 1fr; } }

/* ---------- Tax chart ---------- */
.sl-b .ey { color: var(--gold); }
.sl-b .h2 { color: var(--adobe); }
.sl-b .ld { color: rgba(244,235,221,0.8); }
.tx { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.tx-chart { background: var(--white); border-radius: var(--r-lg); padding: 2rem 1.8rem 1.5rem; }
.tx-bars { display: flex; align-items: flex-end; gap: 0.8rem; height: 220px; border-bottom: 2px solid var(--line); padding-bottom: 0.2rem; }
.tx-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.tx-col span { font-weight: 800; font-size: 0.9rem; color: var(--bark); margin-bottom: 0.3rem; }
.tx-col i { display: block; width: 100%; background: var(--gold); border-radius: 6px 6px 0 0; }
.tx-col.now i { background: var(--sage-deep); }
.tx-yrs { display: flex; gap: 0.8rem; margin-top: 0.5rem; }
.tx-yrs span { flex: 1; text-align: center; font-size: 0.82rem; color: var(--muted); font-weight: 700; }
.tx-cap { font-size: 0.86rem; color: var(--muted); margin-top: 1rem; }
.tx-list { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.4rem; }
.tx-list li { color: rgba(244,235,221,0.88); padding-left: 1.6rem; position: relative; }
.tx-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
@media (max-width: 860px) { .tx { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Grouped conditions ---------- */
.cg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.cg-c { background: var(--white); border-radius: var(--r-lg); padding: 1.7rem; border-top: 4px solid var(--gold); }
.cg-c h3 { font-size: 1.1rem; margin-bottom: 0.8rem; }
.cg-c ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.cg-c li { padding-left: 1.2rem; position: relative; font-size: 0.95rem; }
.cg-c li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.cg-note { margin-top: 1.5rem; text-align: center; color: var(--muted); font-size: 0.96rem; }
.cg-note a { color: var(--sage-deep); font-weight: 800; }
@media (max-width: 860px) { .cg { grid-template-columns: 1fr; } }

/* ---------- Local ---------- */
.lo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.4rem; }
.lo-c { border-radius: var(--r-lg); padding: 2rem; }
.lo-c.a { background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--gold); }
.lo-c.b { background: var(--sage-deep); }
.lo-c.b .ey { color: var(--gold-pale); }
.lo-c.b h3 { color: var(--white); }
.lo-c.b p { color: rgba(255,255,255,0.85); }
.lo-c h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.lo-c address { font-style: normal; font-weight: 800; color: var(--gold-deep); margin-bottom: 0.7rem; }
.lo-c p { color: var(--muted); }
@media (max-width: 860px) { .lo { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.t3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.t3-c { background: var(--white); border-radius: var(--r-lg); padding: 1.8rem; }
.t3-c p { font-family: var(--serif); font-size: 1rem; line-height: 1.6; margin-bottom: 1rem; }
.t3-c span { font-weight: 800; font-size: 0.88rem; color: var(--sage-deep); }
@media (max-width: 860px) { .t3 { grid-template-columns: 1fr; } }

/* ---------- Tabbed FAQ ---------- */
.tabs { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.tab { font-family: var(--sans); font-weight: 800; font-size: 0.92rem; padding: 0.7rem 1.3rem; border-radius: 999px; border: 2px solid var(--sage-deep); background: transparent; color: var(--sage-deep); cursor: pointer; transition: background .2s, color .2s; }
.tab.on { background: var(--sage-deep); color: var(--white); }
.panel { display: none; max-width: 860px; margin: 0 auto; }
.panel.on { display: block; }
.qa { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem 1.6rem; margin-bottom: 0.9rem; }
.qa h3 { font-family: var(--sans); font-weight: 800; font-size: 1.04rem; color: var(--bark); margin-bottom: 0.4rem; }
.qa p { color: var(--muted); }
.qa a { color: var(--sage-deep); font-weight: 800; }

/* ---------- Overview ---------- */
.ov { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3.5rem; align-items: start; }
.ov h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.ov h3:first-of-type { margin-top: 0; }
.ov p { color: var(--muted); line-height: 1.8; }
.ov a { color: var(--sage-deep); font-weight: 800; }
.sr { background: var(--bark); border-radius: var(--r-lg); padding: 1.6rem; }
.sr h4 { font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.sr a { display: block; padding: 0.9rem 0; border-top: 1px solid rgba(255,255,255,0.12); text-decoration: none; }
.sr a strong { display: block; color: var(--adobe); }
.sr a small { color: rgba(244,235,221,0.62); font-size: 0.86rem; }
.sr a:hover strong { color: var(--gold); }
@media (max-width: 860px) { .ov { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Closing ---------- */
.fin { background: var(--gold); padding: 4.5rem 0; text-align: center; }
.fin h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.6rem; }
.fin p { color: var(--bark); opacity: 0.85; margin-bottom: 1.8rem; }

/* ---------- Footer ---------- */
footer { background: var(--bark); color: rgba(255,255,255,0.72); padding: 3.5rem 0 1.8rem; }
.flo { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.flo p { font-size: 0.92rem; line-height: 1.7; margin-top: 0.9rem; max-width: 24rem; color: rgba(255,255,255,0.62); }
footer .nl-logo span { color: var(--adobe); }
footer h4 { font-family: var(--sans); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 0.9rem; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
footer a { color: rgba(255,255,255,0.86); text-decoration: none; font-size: 0.94rem; }
footer a:hover { color: var(--gold); }
.flo-b { margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.84rem; color: rgba(255,255,255,0.5); }
@media (max-width: 860px) { .flo { grid-template-columns: 1fr; } }

/* ---------- Inner page header ---------- */
.ph { background: var(--sage-pale); padding: 3.5rem 0 3rem; border-bottom: 4px solid var(--gold); }
.ph h1 { font-size: clamp(1.9rem, 3.3vw, 2.7rem); margin-bottom: 0.6rem; }
.ph p { color: var(--muted); max-width: 40rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease-out, transform .5s ease-out; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
