/* ============================================================
   Prescott (AZ) — Granite Rose / Ponderosa Pine / Slate / Gold
   Hero: 3 landscape photos crossfading full-width (4s each, 12s cycle)
   behind a soft slate overlay, with centered text
   ============================================================ */

:root {
  --granite: #C98B6B;
  --granite-deep: #A06A4C;
  --granite-pale: #FAEEE6;
  --pine: #3E5E46;
  --pine-deep: #2B4432;
  --pine-pale: #EBF1EC;
  --slate: #343E4A;
  --slate-deep: #232A33;
  --gold: #EDB960;
  --gold-pale: #FDF4E2;
  --cream: #FAF6EF;
  --white: #FFFFFF;
  --ink: #232831;
  --muted: #5B626D;
  --muted-2: #9BA1AB;
  --line: #E7E0D5;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --r: 10px;
  --r-lg: 18px;
  --serif: 'Libre Caslon Text', Georgia, serif;
  --sans: 'Hanken Grotesk', -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.68; -webkit-font-smoothing: antialiased; font-size: 1.06rem; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--slate); line-height: 1.16; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.cp { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }
.sp2 { padding: 5.5rem 0; }
.sp2-w { background: var(--white); }
.sp2-s { background: var(--slate); }
.sp2-g { background: var(--granite-pale); }
@media (max-width: 860px) { .cp { padding: 0 1.3rem; } .sp2 { 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(--granite); }
.np { max-width: 1140px; margin: 0 auto; padding: 0.8rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.np-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.np-logo img { width: 42px; height: 42px; }
.np-logo span { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--slate); }
.np-links { list-style: none; display: flex; gap: 2rem; }
.np-links a { text-decoration: none; font-weight: 600; font-size: 0.98rem; color: var(--muted); transition: color .2s; }
.np-links a:hover { color: var(--granite-deep); }
.np-links a.active { color: var(--pine); }
.np-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.np-btn span { width: 22px; height: 2px; background: var(--slate); border-radius: 2px; }
@media (max-width: 860px) {
  .np { padding: 0.8rem 1.3rem; }
  .np-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(--granite);
    opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
  .np-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .np-links li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .np-links li:last-child { border-bottom: none; }
  .np-btn { display: flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 1rem 1.6rem; border-radius: 999px; font-family: var(--sans);
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-pine { background: var(--pine); color: var(--white); }
.btn-pine:hover { background: var(--pine-deep); }
.btn-granite { background: var(--granite); color: var(--white); }
.btn-granite:hover { background: var(--granite-deep); }
.btn-wl { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.85); }
.btn-wl:hover { background: var(--white); color: var(--slate); }
.btn-gold { background: var(--gold); color: var(--slate-deep); }
.btn-gold:hover { background: #DCA344; }

/* ---------- Headings ---------- */
.ey { display: inline-block; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--granite-deep); margin-bottom: 0.9rem; }
.h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); 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(520px, 80vh, 740px); display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--slate-deep); }
.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(35,42,51,0.6) 0%, rgba(35,42,51,0.42) 50%, rgba(35,42,51,0.76) 100%); }
.xf-in { position: relative; z-index: 2; text-align: center; max-width: 880px; padding: 0 2rem; }
.xf-in .ey { color: var(--gold); }
.xf-in h1 { color: var(--white); font-size: clamp(2.3rem, 4.8vw, 4rem); margin-bottom: 1.2rem; }
.xf-in h1 em { color: var(--gold); }
.xf-in p { color: rgba(255,255,255,0.93); font-size: 1.12rem; max-width: 38rem; 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(4, 1fr); gap: 1.2rem; }
.ic-c { background: var(--cream); border-radius: var(--r-lg); padding: 1.7rem 1.4rem; }
.ic-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--pine); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.ic-ico svg { width: 25px; height: 25px; stroke: var(--white); }
.ic-c h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.ic-c p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 960px) { .ic { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ic { grid-template-columns: 1fr; } }

/* ---------- Veterans ---------- */
.sp2-s .ey { color: var(--gold); }
.sp2-s .h2 { color: var(--white); }
.sp2-s .ld { color: rgba(255,255,255,0.84); }
.va { display: grid; grid-template-columns: 1fr 1fr 0.95fr; gap: 1.2rem; }
.va-c { border-radius: var(--r-lg); padding: 1.8rem 1.6rem; }
.va-c.can { background: var(--white); border-top: 5px solid var(--pine); }
.va-c.cant { background: var(--white); border-top: 5px solid var(--granite); }
.va-c.az { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); border-top: 5px solid var(--gold); }
.va-c h3 { font-size: 1.25rem; margin-bottom: 0.8rem; }
.va-c.az h3 { color: var(--white); }
.va-c ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.va-c li { padding-left: 1.5rem; position: relative; color: var(--muted); font-size: 0.98rem; }
.va-c.can li::before { content: "\2713"; position: absolute; left: 0; color: var(--pine); font-weight: 700; }
.va-c.cant li::before { content: "\2715"; position: absolute; left: 0; color: var(--granite-deep); font-weight: 700; }
.va-c.az p { color: rgba(255,255,255,0.86); font-size: 0.98rem; margin-bottom: 0.7rem; }
.va-note { margin-top: 1.5rem; background: var(--gold); border-radius: var(--r-lg); padding: 1.2rem 1.5rem; color: var(--slate-deep); font-weight: 500; }
.va-note strong { font-weight: 700; }
@media (max-width: 960px) { .va { grid-template-columns: 1fr; } }

/* ---------- Older adults ---------- */
.oa { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.oa-c { background: var(--white); border-radius: var(--r-lg); padding: 1.9rem 1.6rem; border: 1px solid var(--line); border-top: 5px solid var(--granite); }
.oa-c h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.oa-c p { color: var(--muted); font-size: 0.99rem; }
.oa-c a { color: var(--pine); font-weight: 700; }
@media (max-width: 860px) { .oa { grid-template-columns: 1fr; } }

/* ---------- Compare strip ---------- */
.cs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.cs-c { background: var(--white); border-radius: var(--r-lg); padding: 1.6rem 1.5rem; border: 1px solid var(--line); text-align: center; }
.cs-c b { display: block; font-family: var(--serif); font-size: 2.1rem; color: var(--granite-deep); line-height: 1; margin-bottom: 0.5rem; }
.cs-c p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 860px) { .cs { grid-template-columns: 1fr; } }

/* ---------- Conditions ---------- */
.cd2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.cd2-c { background: var(--white); border-radius: var(--r-lg); padding: 1.8rem; border: 1px solid var(--line); }
.cd2-c h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.cd2-c small { display: block; font-size: 0.9rem; color: var(--muted-2); margin-bottom: 0.9rem; }
.cd2-c .chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.cd2-c .chips span { background: var(--pine-pale); color: var(--pine-deep); border-radius: 999px; padding: 0.4rem 0.85rem; font-size: 0.95rem; font-weight: 600; }
.cd2-c.b .chips span { background: var(--granite-pale); color: var(--granite-deep); }
.cd2-note { margin-top: 1.3rem; text-align: center; color: var(--muted); font-size: 0.96rem; }
.cd2-note a { color: var(--pine); font-weight: 700; }
@media (max-width: 760px) { .cd2 { 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-left: 6px solid var(--pine); }
.lc-c.b { background: var(--granite-pale); }
.lc-c h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.lc-c address { font-style: normal; font-weight: 700; color: var(--granite-deep); margin-bottom: 0.7rem; }
.lc-c p { color: var(--muted); margin-bottom: 0.7rem; }
.lc-c p:last-child { margin-bottom: 0; }
.lc-c a { color: var(--pine); font-weight: 700; }
@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; border-top: 4px solid var(--gold); }
.tq-c p { font-family: var(--serif); font-size: 1.12rem; line-height: 1.6; margin-bottom: 1rem; }
.tq-c span { font-weight: 700; font-size: 0.92rem; color: var(--pine); }
@media (max-width: 860px) { .tq { grid-template-columns: 1fr; } }

/* ---------- Labeled accordion ---------- */
.la { max-width: 880px; margin: 0 auto; }
.la details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 0.7rem; }
.la summary { list-style: none; cursor: pointer; padding: 1.2rem 3rem 1.2rem 1.3rem; display: flex; gap: 0.9rem; align-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.08rem; color: var(--slate); position: relative; }
.la summary::-webkit-details-marker { display: none; }
.la summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.4rem; color: var(--granite-deep); }
.la details[open] summary::after { content: "\2212"; }
.la summary em { font-style: normal; flex-shrink: 0; font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--gold-pale); color: var(--granite-deep); border-radius: 999px; padding: 0.25rem 0.65rem; }
.la details p { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.la a { color: var(--pine); font-weight: 700; }

/* ---------- Overview ---------- */
.ov { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3.5rem; align-items: start; }
.ov h3 { font-size: 1.2rem; 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(--pine); font-weight: 700; }
.sr { background: var(--slate); border-radius: var(--r-lg); padding: 1.6rem; }
.sr h4 { font-family: var(--sans); font-size: 0.78rem; 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.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.88rem; }
.sr a:hover strong { color: var(--gold); }
@media (max-width: 860px) { .ov { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Closing ---------- */
.fin { background: var(--pine); padding: 4.5rem 0; text-align: center; }
.fin h2 { color: var(--white); font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 0.6rem; }
.fin p { color: rgba(255,255,255,0.92); margin-bottom: 1.8rem; }

/* ---------- Footer ---------- */
footer { background: var(--slate-deep); color: rgba(255,255,255,0.72); padding: 3.5rem 0 1.8rem; }
.fp { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.fp p { font-size: 0.94rem; line-height: 1.7; margin-top: 0.9rem; max-width: 24rem; color: rgba(255,255,255,0.62); }
footer .np-logo span { color: var(--cream); }
footer h4 { font-family: var(--sans); font-size: 0.78rem; 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.97rem; }
footer a:hover { color: var(--gold); }
.fp-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.86rem; color: rgba(255,255,255,0.5); }
@media (max-width: 860px) { .fp { grid-template-columns: 1fr; } }

/* ---------- Inner page header ---------- */
.ph { background: var(--granite-pale); padding: 3.5rem 0 3rem; border-bottom: 4px solid var(--pine); }
.ph h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); 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; } }
