/* ============================================================
   Fairfax (VA) — Indigo / Mint / Ivory
   Hero: split screen, one portrait photo filling the left half
   edge-to-edge, text on the right
   ============================================================ */

:root {
  --ind: #28306B;
  --ind-deep: #1B2150;
  --ind-soft: #E9EAF4;
  --mint: #7FC8A9;
  --mint-deep: #4FA383;
  --mint-pale: #E8F5EF;
  --ivy: #F7F8F5;
  --white: #FFFFFF;
  --ink: #1B1E2E;
  --muted: #5D6173;
  --muted-2: #979BAB;
  --line: #E2E4EC;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --r: 10px;
  --r-lg: 18px;
  --head: 'Epilogue', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--ivy); line-height: 1.62; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; color: var(--ind-deep); line-height: 1.12; letter-spacing: -0.02em; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.cx { max-width: 1160px; margin: 0 auto; padding: 0 2.5rem; }
.rw { padding: 5.5rem 0; }
.rw-w { background: var(--white); }
.rw-i { background: var(--ind); }
.rw-m { background: var(--mint-pale); }
@media (max-width: 860px) { .cx { padding: 0 1.3rem; } .rw { padding: 3.5rem 0; } }

/* ---------- Nav ---------- */
nav { position: sticky; top: 0; z-index: 40; background: var(--ind-deep); }
.nx { max-width: 1160px; margin: 0 auto; padding: 0.8rem 2.5rem; display: flex; align-items: center; justify-content: space-between; }
.nx-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nx-logo img { width: 40px; height: 40px; }
.nx-logo span { font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--ivy); letter-spacing: -0.01em; }
.nx-links { list-style: none; display: flex; gap: 2rem; }
.nx-links a { text-decoration: none; font-weight: 500; font-size: 0.92rem; color: rgba(247,248,245,0.72); transition: color .2s; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.nx-links a:hover { color: var(--ivy); }
.nx-links a.active { color: var(--mint); border-bottom-color: var(--mint); }
.nx-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nx-btn span { width: 22px; height: 2px; background: var(--ivy); border-radius: 2px; }
@media (max-width: 860px) {
  .nx { padding: 0.8rem 1.3rem; }
  .nx-links { position: fixed; top: 64px; left: 0; right: 0; background: var(--ind-deep); flex-direction: column; gap: 0; padding: 0.4rem 1.5rem 1.2rem;
    opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
  .nx-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nx-links li { padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nx-links li:last-child { border-bottom: none; }
  .nx-btn { display: flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0.95rem 1.8rem; border-radius: var(--r); font-family: var(--head);
  font-weight: 700; font-size: 0.92rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-ind { background: var(--ind); color: var(--white); }
.btn-ind:hover { background: var(--ind-deep); }
.btn-mint { background: var(--mint); color: var(--ind-deep); }
.btn-mint:hover { background: var(--mint-deep); color: var(--white); }
.btn-out { background: transparent; color: var(--ind); border-color: var(--ind); }
.btn-out:hover { background: var(--ind); color: var(--white); }

/* ---------- Headings ---------- */
.kk { display: inline-block; font-family: var(--head); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint-deep); margin-bottom: 0.9rem; }
.hz { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 0.9rem; }
.lz { color: var(--muted); font-size: 1.04rem; max-width: 40rem; }
.th { margin-bottom: 3rem; }
.th.m { text-align: center; }
.th.m .lz { margin: 0 auto; }

/* ---------- Hero: split screen, photo left ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(540px, 80vh, 740px); }
.split-img { position: relative; overflow: hidden; background: var(--ind-soft); }
.split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-txt { display: flex; flex-direction: column; justify-content: center; padding: 3rem max(2rem, calc((100vw - 1160px) / 2 + 2rem)) 3rem clamp(2rem, 4vw, 3.5rem); background: var(--ivy); }
.split-txt h1 { font-size: clamp(2.2rem, 3.9vw, 3.4rem); margin-bottom: 1.1rem; }
.split-txt h1 span { color: var(--mint-deep); }
.split-txt p { color: var(--muted); font-size: 1.07rem; max-width: 31rem; margin-bottom: 1.8rem; }
.split-btns { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 2rem; }
.split-btns .btn { padding: 0.95rem 1.45rem; }
.split-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.split-pills span { font-size: 0.8rem; font-weight: 600; color: var(--ind); background: var(--ind-soft); border-radius: 999px; padding: 0.4rem 0.85rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split-img { height: 44vh; }
  .split-txt { padding: 2.2rem 1.3rem 2.8rem; }
}

/* ---------- Progress-bar steps ---------- */
.pb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.pb-i { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem 1.6rem; }
.pb-bar { display: flex; gap: 6px; margin-bottom: 1.3rem; }
.pb-bar span { flex: 1; height: 6px; border-radius: 3px; background: var(--ind-soft); }
.pb-bar span.on { background: var(--mint); }
.pb-i small { display: block; font-family: var(--head); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.4rem; }
.pb-i h3 { font-size: 1.2rem; margin-bottom: 0.45rem; }
.pb-i p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 860px) { .pb { grid-template-columns: 1fr; } }

/* ---------- Locations list ---------- */
.locs { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.rw-i .kk { color: var(--mint); }
.rw-i .hz { color: var(--white); }
.rw-i .lz { color: rgba(247,248,245,0.78); }
.rw-i .lz a { color: var(--mint); font-weight: 600; }
.loc-list { background: var(--white); border-radius: var(--r-lg); overflow: hidden; }
.loc-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.loc-row:last-child { border-bottom: none; }
.loc-row.here { background: var(--mint-pale); }
.loc-row strong { display: block; font-family: var(--head); font-size: 1rem; color: var(--ind-deep); }
.loc-row span { font-size: 0.9rem; color: var(--muted); }
.loc-row em { font-style: normal; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); background: var(--mint-deep); border-radius: 999px; padding: 0.25rem 0.6rem; white-space: nowrap; }
.loc-note { font-size: 0.84rem; color: rgba(247,248,245,0.6); margin-top: 1rem; }
@media (max-width: 860px) { .locs { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Why now trio ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.trio-c { border-radius: var(--r-lg); padding: 1.8rem; background: var(--white); border-left: 5px solid var(--ind); }
.trio-c b { display: block; font-family: var(--head); font-size: 2rem; color: var(--mint-deep); line-height: 1; margin-bottom: 0.6rem; }
.trio-c h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.trio-c p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.tw { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.tw-c { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; }
.tw-c p { font-size: 1.05rem; margin-bottom: 1rem; }
.tw-c span { font-family: var(--head); font-weight: 600; font-size: 0.88rem; color: var(--mint-deep); }
@media (max-width: 860px) { .tw { grid-template-columns: 1fr; } }

/* ---------- Accordion ---------- */
.fx-acc { max-width: 880px; margin: 0 auto; }
.fx-acc details { border-bottom: 1px solid var(--line); }
.fx-acc summary { list-style: none; cursor: pointer; padding: 1.25rem 2.6rem 1.25rem 0; font-family: var(--head); font-weight: 600; font-size: 1.05rem; color: var(--ind-deep); position: relative; }
.fx-acc summary::-webkit-details-marker { display: none; }
.fx-acc summary::after { content: "+"; position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--mint-pale); color: var(--mint-deep); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.fx-acc details[open] summary::after { content: "\2212"; }
.fx-acc details p { padding: 0 2.6rem 1.3rem 0; color: var(--muted); }
.fx-acc a { color: var(--ind); font-weight: 600; }

/* ---------- Overview ---------- */
.ovz { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3.5rem; align-items: start; }
.ovz h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }
.ovz h3:first-of-type { margin-top: 0; }
.ovz p { color: var(--muted); line-height: 1.8; }
.ovz a { color: var(--ind); font-weight: 600; }
.offc { background: var(--ind); border-radius: var(--r-lg); padding: 1.6rem; }
.offc h4 { font-family: var(--head); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); margin-bottom: 0.8rem; }
.offc a { display: block; padding: 0.9rem 0; border-top: 1px solid rgba(255,255,255,0.14); text-decoration: none; }
.offc a strong { display: block; color: var(--white); font-size: 0.96rem; }
.offc a small { color: rgba(255,255,255,0.62); font-size: 0.84rem; }
.offc a:hover strong { color: var(--mint); }
@media (max-width: 860px) { .ovz { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Closing ---------- */
.endb { background: var(--mint); padding: 4.5rem 0; }
.endb-in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.endb h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); max-width: 34rem; }
.endb p { color: var(--ind-deep); opacity: 0.8; margin-top: 0.4rem; }

/* ---------- Footer ---------- */
footer { background: var(--ind-deep); color: rgba(255,255,255,0.72); padding: 3.5rem 0 1.8rem; }
.fz2 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.fz2 p { font-size: 0.9rem; line-height: 1.7; margin-top: 0.9rem; max-width: 24rem; color: rgba(255,255,255,0.6); }
footer h4 { font-family: var(--head); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--mint); 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.85); text-decoration: none; font-size: 0.92rem; }
footer a:hover { color: var(--mint); }
.fz2-b { margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
@media (max-width: 860px) { .fz2 { grid-template-columns: 1fr; } }

/* ---------- Inner page header ---------- */
.ph { background: var(--ind); padding: 3.5rem 0 3rem; }
.ph .kk { color: var(--mint); }
.ph h1 { color: var(--white); font-size: clamp(2.1rem, 3.6vw, 3rem); margin-bottom: 0.6rem; }
.ph p { color: rgba(247,248,245,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; } }
