/* ============================================================
   Silver City (NM) — Forest / Copper / Silver / Dusk
   Hero: 3 landscape photos crossfading full-width (4s each, 12s cycle)
   behind a soft dusk overlay, with centered text
   ============================================================ */

:root {
  --forest: #2F5D50;
  --forest-deep: #1F4238;
  --forest-soft: #E7EFEC;
  --copper: #B87333;
  --copper-deep: #955A22;
  --copper-pale: #F8EDE2;
  --silver: #C3CAD2;
  --dusk: #22303F;
  --cream: #F8F6F1;
  --white: #FFFFFF;
  --ink: #1E2429;
  --muted: #5D656B;
  --muted-2: #9AA2A8;
  --line: #E3DFD6;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --r: 10px;
  --r-lg: 18px;
  --serif: 'EB Garamond', Georgia, serif;
  --sans: 'Albert Sans', -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(--cream); line-height: 1.66; -webkit-font-smoothing: antialiased; font-size: 1.04rem; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--forest-deep); line-height: 1.12; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.cs { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }
.ss { padding: 5.5rem 0; }
.ss-w { background: var(--white); }
.ss-d { background: var(--dusk); }
.ss-f { background: var(--forest-soft); }
@media (max-width: 860px) { .cs { padding: 0 1.3rem; } .ss { padding: 3.5rem 0; } }

/* ---------- Nav ---------- */
nav { position: sticky; top: 0; z-index: 40; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: inset 0 -3px 0 var(--copper); }
.ns { max-width: 1140px; margin: 0 auto; padding: 0.8rem 2.5rem; display: flex; align-items: center; justify-content: space-between; }
.ns-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ns-logo img { width: 42px; height: 42px; }
.ns-logo span { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--forest-deep); }
.ns-links { list-style: none; display: flex; gap: 2rem; }
.ns-links a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--muted); transition: color .2s; }
.ns-links a:hover { color: var(--copper); }
.ns-links a.active { color: var(--copper-deep); }
.ns-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.ns-btn span { width: 22px; height: 2px; background: var(--forest-deep); border-radius: 2px; }
@media (max-width: 860px) {
  .ns { padding: 0.8rem 1.3rem; }
  .ns-links { position: fixed; top: 66px; left: 0; right: 0; background: var(--cream); flex-direction: column; gap: 0; padding: 0.4rem 1.5rem 1.2rem; border-bottom: 3px solid var(--copper);
    opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
  .ns-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .ns-links li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .ns-links li:last-child { border-bottom: none; }
  .ns-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: 700; font-size: 0.96rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-copper { background: var(--copper); color: var(--white); }
.btn-copper:hover { background: var(--copper-deep); }
.btn-forest { background: var(--forest); color: var(--white); }
.btn-forest:hover { background: var(--forest-deep); }
.btn-wl { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.8); }
.btn-wl:hover { background: var(--white); color: var(--forest-deep); }

/* ---------- Headings ---------- */
.ey { display: inline-block; font-weight: 700; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper-deep); margin-bottom: 0.9rem; }
.h2 { font-size: clamp(2.2rem, 3.8vw, 3.1rem); 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: full-bleed crossfade ---------- */
.xf { position: relative; min-height: clamp(540px, 82vh, 760px); display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--dusk); }
.xf-s { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: xfade 12s infinite; }
.xf-s:nth-child(1) { animation-delay: 0s; }
.xf-s:nth-child(2) { animation-delay: 4s; }
.xf-s:nth-child(3) { animation-delay: 8s; }
@keyframes xfade { 0% { opacity: 0; } 8% { opacity: 1; } 33.33% { opacity: 1; } 41.33% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .xf-s { animation: none; } .xf-s:first-child { opacity: 1; } }
.xf-ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34,48,63,0.62) 0%, rgba(34,48,63,0.45) 50%, rgba(31,66,56,0.78) 100%); }
.xf-in { position: relative; z-index: 2; text-align: center; max-width: 840px; padding: 0 2rem; }
.xf-in .ey { color: #E8B98A; }
.xf-in h1 { color: var(--white); font-size: clamp(2.7rem, 5.4vw, 4.6rem); margin-bottom: 1.2rem; }
.xf-in h1 em { font-style: italic; color: #E8B98A; }
.xf-in p { color: rgba(255,255,255,0.92); font-size: 1.12rem; max-width: 36rem; margin: 0 auto 2.2rem; }
.xf-b { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

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

/* ---------- Gila note ---------- */
.gn { display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--forest); border-radius: var(--r-lg); padding: 2rem 2.2rem; }
.gn-ic { width: 70px; height: 70px; border-radius: 50%; background: var(--forest); display: flex; align-items: center; justify-content: center; }
.gn-ic svg { width: 34px; height: 34px; stroke: var(--silver); }
.gn h3 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.gn p { color: var(--muted); }
@media (max-width: 700px) { .gn { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- Aging well ---------- */
.ss-d .ey { color: #E8B98A; }
.ss-d .h2 { color: var(--white); }
.ss-d .ld { color: rgba(255,255,255,0.82); }
.aw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.aw-c { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-lg); padding: 1.9rem 1.6rem; }
.aw-c b { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; background: var(--copper); color: var(--white); font-family: var(--serif); font-size: 1.3rem; align-items: center; justify-content: center; margin-bottom: 1rem; }
.aw-c h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 0.5rem; }
.aw-c p { color: rgba(255,255,255,0.8); font-size: 0.97rem; }
@media (max-width: 860px) { .aw { grid-template-columns: 1fr; } }

/* ---------- Benefit tiles ---------- */
.bt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.bt-c { background: var(--white); border-radius: var(--r-lg); padding: 1.7rem 1.4rem; border-top: 4px solid var(--copper); }
.bt-c b { display: block; font-family: var(--serif); font-size: 2.3rem; color: var(--forest); line-height: 1; margin-bottom: 0.6rem; }
.bt-c h3 { font-family: var(--sans); font-weight: 700; font-size: 1.02rem; color: var(--ink); margin-bottom: 0.35rem; }
.bt-c p { color: var(--muted); font-size: 0.94rem; }
@media (max-width: 960px) { .bt { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bt { grid-template-columns: 1fr; } }

/* ---------- 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: 1px solid var(--line); }
.cg-c h3 { font-size: 1.35rem; margin-bottom: 0.2rem; }
.cg-c small { display: block; font-size: 0.82rem; color: var(--muted-2); 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(--copper); }
.cg-note { margin-top: 1.5rem; text-align: center; color: var(--muted); font-size: 0.96rem; }
.cg-note a { color: var(--forest); font-weight: 700; }
@media (max-width: 860px) { .cg { grid-template-columns: 1fr; } }

/* ---------- Local ---------- */
.lc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.4rem; }
.lc-c { border-radius: var(--r-lg); padding: 2rem; }
.lc-c.a { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--forest); }
.lc-c.b { background: var(--copper-pale); }
.lc-c h3 { font-size: 1.6rem; margin-bottom: 0.3rem; }
.lc-c address { font-style: normal; font-weight: 700; color: var(--copper-deep); margin-bottom: 0.7rem; }
.lc-c p { color: var(--muted); }
@media (max-width: 860px) { .lc { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.tq { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.tq-c { background: var(--white); border-radius: var(--r-lg); padding: 2rem; }
.tq-c p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; margin-bottom: 1rem; color: var(--ink); }
.tq-c span { font-weight: 700; font-size: 0.9rem; color: var(--copper-deep); }
@media (max-width: 860px) { .tq { 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: 700; font-size: 0.93rem; padding: 0.7rem 1.3rem; border-radius: 999px; border: 2px solid var(--forest); background: transparent; color: var(--forest); cursor: pointer; transition: background .2s, color .2s; }
.tab.on { background: var(--forest); 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: 700; font-size: 1.04rem; color: var(--ink); margin-bottom: 0.4rem; }
.qa p { color: var(--muted); }
.qa a { color: var(--forest); font-weight: 700; }

/* ---------- Overview ---------- */
.ov { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3.5rem; align-items: start; }
.ov h3 { font-size: 1.5rem; 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(--forest); font-weight: 700; }
.sr { background: var(--forest-deep); 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: #E8B98A; margin-bottom: 0.8rem; }
.sr a { display: block; padding: 0.9rem 0; border-top: 1px solid rgba(255,255,255,0.14); text-decoration: none; }
.sr a strong { display: block; color: var(--white); }
.sr a small { color: rgba(255,255,255,0.64); font-size: 0.86rem; }
.sr a:hover strong { color: #E8B98A; }
@media (max-width: 860px) { .ov { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Closing ---------- */
.fin { background: var(--copper); padding: 4.5rem 0; text-align: center; }
.fin h2 { color: var(--white); font-size: clamp(2.2rem, 3.8vw, 3.1rem); margin-bottom: 0.6rem; }
.fin p { color: rgba(255,255,255,0.9); margin-bottom: 1.8rem; }

/* ---------- Footer ---------- */
footer { background: var(--dusk); color: rgba(255,255,255,0.72); padding: 3.5rem 0 1.8rem; }
.fsc { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.fsc p { font-size: 0.92rem; line-height: 1.7; margin-top: 0.9rem; max-width: 24rem; color: rgba(255,255,255,0.62); }
footer .ns-logo span { color: var(--cream); }
footer h4 { font-family: var(--sans); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.14em; color: #E8B98A; 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: #E8B98A; }
.fsc-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) { .fsc { grid-template-columns: 1fr; } }

/* ---------- Inner page header ---------- */
.ph { background: var(--dusk); padding: 3.5rem 0 3rem; border-bottom: 3px solid var(--copper); }
.ph .ey { color: #E8B98A; }
.ph h1 { color: var(--white); font-size: clamp(2.4rem, 4.2vw, 3.5rem); margin-bottom: 0.6rem; }
.ph p { color: rgba(255,255,255,0.8); 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; } }
