/* ============================================================
   Buckeye (AZ) — Desert Terracotta / Saguaro / Sunset Gold / Sand
   Hero: text left, one square photo on the right cut with a diagonal
   left edge and a thin gold accent line along the cut
   ============================================================ */

:root {
  --terra: #C2572F;
  --terra-deep: #963E20;
  --terra-pale: #FBEDE6;
  --sag: #4E7A4A;
  --sag-deep: #365A34;
  --sag-pale: #EAF1E8;
  --gold: #F0B24A;
  --gold-pale: #FDF4E1;
  --sand: #FAF3E6;
  --white: #FFFFFF;
  --ink: #2A211C;
  --muted: #665A51;
  --muted-2: #A2968C;
  --line: #EBDECB;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --r: 10px;
  --r-lg: 18px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Figtree', -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(--sand); line-height: 1.65; -webkit-font-smoothing: antialiased; font-size: 1.03rem; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--terra-deep); line-height: 1.1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.cb2 { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }
.sb2 { padding: 5.5rem 0; }
.sb2-w { background: var(--white); }
.sb2-d { background: var(--sag-deep); }
.sb2-g { background: var(--gold-pale); }
@media (max-width: 860px) { .cb2 { padding: 0 1.3rem; } .sb2 { 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(--terra); }
.nb2 { max-width: 1140px; margin: 0 auto; padding: 0.8rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.nb2-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nb2-logo img { width: 42px; height: 42px; }
.nb2-logo span { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--terra-deep); }
.nb2-links { list-style: none; display: flex; gap: 2rem; }
.nb2-links a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--muted); transition: color .2s; }
.nb2-links a:hover { color: var(--terra); }
.nb2-links a.active { color: var(--sag-deep); }
.nb2-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nb2-btn span { width: 22px; height: 2px; background: var(--terra-deep); border-radius: 2px; }
@media (max-width: 860px) {
  .nb2 { padding: 0.8rem 1.3rem; }
  .nb2-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(--terra);
    opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
  .nb2-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nb2-links li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .nb2-links li:last-child { border-bottom: none; }
  .nb2-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-terra { background: var(--terra); color: var(--white); }
.btn-terra:hover { background: var(--terra-deep); }
.btn-sag { background: var(--sag); color: var(--white); }
.btn-sag:hover { background: var(--sag-deep); }
.btn-ol { background: transparent; color: var(--terra-deep); border-color: var(--terra); }
.btn-ol:hover { background: var(--terra); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #D99A2F; }

/* ---------- Headings ---------- */
.ey { display: inline-block; font-weight: 700; font-size: 0.76rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sag); margin-bottom: 0.9rem; }
.h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); 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: diagonal cut ---------- */
.dg { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(520px, 78vh, 720px); background: var(--sand); overflow: hidden; }
.dg-txt { display: flex; flex-direction: column; justify-content: center; padding: 3rem clamp(1.5rem, 3vw, 2.5rem) 3rem max(2rem, calc((100vw - 1140px) / 2 + 2.5rem)); position: relative; z-index: 2; }
.dg-txt h1 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); margin-bottom: 1.1rem; }
.dg-txt h1 em { color: var(--sag); }
.dg-txt p { color: var(--muted); font-size: 1.08rem; max-width: 30rem; margin-bottom: 1.8rem; }
.dg-b { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.dg-img { position: relative; clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); background: var(--gold-pale); }
.dg-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dg-img::before { content: ""; position: absolute; inset: 0; clip-path: polygon(20% 0, 21.6% 0, 1.6% 100%, 0 100%); background: var(--gold); z-index: 2; }
@media (max-width: 860px) {
  .dg { grid-template-columns: 1fr; min-height: 0; }
  .dg-img { order: -1; height: 42vh; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
  .dg-img::before { display: none; }
  .dg-txt { padding: 2rem 1.3rem 2.6rem; }
}

/* ---------- Four steps ---------- */
.st4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.st4-c { background: var(--sand); border-radius: var(--r-lg); padding: 1.7rem 1.4rem; border-top: 4px solid var(--terra); }
.st4-c b { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; background: var(--sag); color: var(--white); font-family: var(--serif); font-size: 1.2rem; align-items: center; justify-content: center; margin-bottom: 0.9rem; }
.st4-c h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.st4-c p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 960px) { .st4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .st4 { grid-template-columns: 1fr; } }

/* ---------- Comparison ---------- */
.sb2-d .ey { color: var(--gold); }
.sb2-d .h2 { color: var(--white); }
.sb2-d .ld { color: rgba(255,255,255,0.84); }
.cmp-wrap { overflow-x: auto; }
.cmp { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--r-lg); overflow: hidden; }
.cmp th, .cmp td { text-align: left; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-weight: 700; font-size: 0.84rem; letter-spacing: 0.05em; text-transform: uppercase; background: var(--terra-deep); color: var(--white); }
.cmp thead th.hl { background: var(--sag); }
.cmp tbody td:first-child { font-weight: 700; color: var(--terra-deep); width: 24%; }
.cmp tbody td.hl { background: var(--sag-pale); }
.cmp tbody tr:last-child td { border-bottom: none; }
.be { margin-top: 1.6rem; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; background: var(--gold); border-radius: var(--r-lg); padding: 1.5rem 1.8rem; }
.be b { font-family: var(--serif); font-size: 2.6rem; color: var(--ink); line-height: 1; }
.be p { color: var(--ink); }
.be small { display: block; margin-top: 0.4rem; color: rgba(42,33,28,0.72); font-size: 0.88rem; }
.cmp-note { color: rgba(255,255,255,0.64); font-size: 0.88rem; margin-top: 1.2rem; }
.cmp-note a { color: var(--gold); font-weight: 700; }
@media (max-width: 600px) { .be { 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.3rem; margin-bottom: 0.2rem; }
.cd2-c small { display: block; font-size: 0.88rem; 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(--sag-pale); color: var(--sag-deep); border-radius: 999px; padding: 0.4rem 0.85rem; font-size: 0.92rem; font-weight: 600; }
.cd2-c.b .chips span { background: var(--terra-pale); color: var(--terra-deep); }
.cd2-note { margin-top: 1.3rem; text-align: center; color: var(--muted); font-size: 0.93rem; }
.cd2-note a { color: var(--terra); 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(--terra); }
.lc-c.b { background: var(--sag-pale); }
.lc-c h3 { font-size: 1.45rem; margin-bottom: 0.3rem; }
.lc-c address { font-style: normal; font-weight: 700; color: var(--sag); 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(--terra-deep); 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.18rem; line-height: 1.5; margin-bottom: 1rem; }
.tq-c span { font-weight: 700; font-size: 0.9rem; color: var(--sag); }
@media (max-width: 860px) { .tq { grid-template-columns: 1fr; } }

/* ---------- Accordion ---------- */
.ac { max-width: 880px; margin: 0 auto; }
.ac details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 0.7rem; }
.ac details[open] { border-color: var(--terra); }
.ac summary { list-style: none; cursor: pointer; padding: 1.15rem 3rem 1.15rem 1.4rem; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--terra-deep); position: relative; }
.ac summary::-webkit-details-marker { display: none; }
.ac summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.4rem; color: var(--sag); }
.ac details[open] summary::after { content: "\2212"; }
.ac details p { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.ac a { color: var(--sag-deep); font-weight: 700; }

/* ---------- Overview ---------- */
.ov { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3.5rem; align-items: start; }
.ov h3 { font-size: 1.35rem; 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(--sag-deep); font-weight: 700; }
.sr { background: var(--terra-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: var(--gold); margin-bottom: 0.8rem; }
.sr a { display: block; padding: 0.9rem 0; border-top: 1px solid rgba(255,255,255,0.16); text-decoration: none; }
.sr a strong { display: block; color: var(--white); }
.sr a small { color: rgba(255,255,255,0.68); 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(--terra); padding: 4.5rem 0; }
.fin-in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.fin h2 { color: var(--white); font-size: clamp(2rem, 3.5vw, 2.7rem); max-width: 34rem; }
.fin p { color: rgba(255,255,255,0.92); margin-top: 0.4rem; }

/* ---------- Footer ---------- */
footer { background: var(--sag-deep); color: rgba(255,255,255,0.74); padding: 3.5rem 0 1.8rem; }
.fb2 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.fb2 p { font-size: 0.92rem; line-height: 1.7; margin-top: 0.9rem; max-width: 24rem; color: rgba(255,255,255,0.64); }
footer .nb2-logo span { color: var(--sand); }
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.88); text-decoration: none; font-size: 0.94rem; }
footer a:hover { color: var(--gold); }
.fb2-b { margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.16); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.84rem; color: rgba(255,255,255,0.54); }
@media (max-width: 860px) { .fb2 { grid-template-columns: 1fr; } }

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