/* ==========================================================================
   JoyHomes — brand site styles
   Single stylesheet, no build step.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  /* Boutique palette — warm cocoa, dusty blush, antique gold */
  --cocoa-900: #372629;
  --cocoa-800: #4A343A;
  --cocoa-700: #614349;
  --blush-200: #F0D8D2;
  --blush-100: #F9EBE6;

  --gold-600: #8C6733;
  --gold-500: #D9B172;
  --gold-200: #F2E4CB;
  --gold-100: #FBF3E7;

  --rose-600: #8E4A42;
  --rose-500: #A86258;
  --rose-100: #F7E7E3;

  --ink:      #3A2B2E;
  --ink-soft: #6E585C;
  --ink-mute: #7E686C;

  --on-dark:      #F5ECE7;
  --on-dark-soft: #CBB9B4;
  --on-dark-mute: #A08E8A;

  --paper:    #FDF8F5;
  --white:    #ffffff;
  --line:     #EEE2DB;

  --radius-s: 10px;
  --radius:   18px;
  --radius-l: 30px;

  --shadow-s: 0 1px 2px rgba(55, 38, 41, .05), 0 2px 10px rgba(55, 38, 41, .04);
  --shadow:   0 4px 14px rgba(55, 38, 41, .06), 0 14px 36px rgba(55, 38, 41, .06);
  --shadow-l: 0 8px 28px rgba(55, 38, 41, .09), 0 28px 68px rgba(55, 38, 41, .10);

  --wrap: 1160px;
  --gut: clamp(20px, 5vw, 48px);

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --- Layout helpers ----------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--blush  { background: var(--gold-100); }
.section--dark { background: var(--cocoa-900); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: .9rem;
}
.section--dark .eyebrow { color: var(--gold-500); }

.lede { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--ink-soft); max-width: 62ch; }
.section--dark .lede { color: var(--on-dark-soft); }
.center .lede { margin-inline: auto; }

.section-head { max-width: 60ch; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .82rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }

.btn--primary { background: var(--cocoa-800); color: var(--white); box-shadow: var(--shadow-s); }
.btn--primary:hover { background: var(--cocoa-700); box-shadow: var(--shadow); }

.btn--accent { background: var(--rose-500); color: var(--white); }
.btn--accent:hover { background: var(--rose-600); color: var(--white); }

.btn--ghost { background: transparent; color: var(--cocoa-800); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--cocoa-800); background: var(--white); }

.section--dark .btn--ghost,
.cta-band .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.45); }
.section--dark .btn--ghost:hover,
.cta-band .btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.12); color: var(--white); }
.hero .btn--ghost { color: var(--cocoa-800); border-color: rgba(74,52,58,.30); background: rgba(255,255,255,.55); }
.hero .btn--ghost:hover { border-color: var(--cocoa-800); background: var(--white); color: var(--cocoa-800); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.center .btn-row { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--cocoa-700);
  text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform .16s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 245, .86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--cocoa-900);
}
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name b { font-weight: 600; }
.brand__name span { color: var(--gold-600); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav__link:hover { color: var(--cocoa-800); }
.nav__link[aria-current="page"] { color: var(--cocoa-900); border-bottom-color: var(--gold-500); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  cursor: pointer;
  color: var(--cocoa-900);
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: background .15s ease; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform .2s ease, top .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem var(--gut) 1.25rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav__link[aria-current="page"] { border-bottom-color: var(--line); color: var(--cocoa-900); }
  .nav .btn { margin-top: 1rem; }
}

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(165deg, var(--blush-100) 0%, var(--paper) 46%, var(--gold-100) 100%);
  color: var(--ink);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 45% at 88% 8%, rgba(217,177,114,.28), transparent 72%),
    radial-gradient(48% 42% at 6% 92%, rgba(197,138,130,.20), transparent 72%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(60px, 8vw, 104px) clamp(72px, 9vw, 116px);
}
.hero h1 { color: var(--ink); }
.hero h1 em { font-style: italic; color: var(--rose-600); }
.hero__lede { color: var(--ink-soft); font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 46ch; }
.hero .eyebrow { color: var(--gold-600); }

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  left: -18px; bottom: 28px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: .9rem 1.15rem;
  box-shadow: var(--shadow-l);
  display: flex;
  align-items: center;
  gap: .75rem;
  max-width: 260px;
}
.hero__badge strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--cocoa-800); }
.hero__badge span { font-size: .82rem; color: var(--ink-soft); line-height: 1.35; }

.hero--page .hero__inner {
  grid-template-columns: minmax(0, 46rem);
  padding-block: clamp(52px, 7vw, 84px);
}
.hero--page h1 { margin-bottom: .35em; }

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 420px; }
  .hero__media img { aspect-ratio: 4 / 3; }
  .hero__badge { left: auto; right: 12px; bottom: -20px; }
}

/* --- Trust strip -------------------------------------------------------- */
.trust {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.trust__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem clamp(18px, 3vw, 40px);
  align-items: center;
  padding: 1.5rem 0;
  margin: 0;
  list-style: none;
  font-size: .9rem;
  color: var(--ink-soft);
}
.trust__list li { display: flex; align-items: center; gap: .55rem; line-height: 1.4; }
@media (max-width: 1000px) { .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .trust__list { grid-template-columns: 1fr; } }
.trust__list svg { flex: none; color: var(--cocoa-700); }

/* --- Generic grid ------------------------------------------------------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 920px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* --- Cards -------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--shadow-s);
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-soft); font-size: .97rem; }

.icon-badge {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--blush-100);
  color: var(--cocoa-700);
  margin-bottom: 1.1rem;
}
.section--blush .icon-badge { background: var(--white); }
.section--dark .card {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
  box-shadow: none;
}
.section--dark .card p { color: var(--on-dark-soft); }
.section--dark .icon-badge { background: rgba(255,255,255,.1); color: var(--gold-500); }

/* --- Property cards ----------------------------------------------------- */
.property {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.property:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.property__media { position: relative; display: block; overflow: hidden; }
.property__media img { transition: transform .3s ease; }
.property:hover .property__media img { transform: scale(1.035); }
.property__media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--blush-100); }
.property__tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.94);
  color: var(--cocoa-800);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .32rem .6rem;
  border-radius: 999px;
}
.property__tag--let { background: var(--cocoa-800); color: var(--white); }
.property__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.property__loc { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.property__title { font-size: 1.18rem; margin: 0; }
.property__title a { text-decoration: none; }
.property__title a:hover { color: var(--cocoa-700); }
.property__meta { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.property__meta li {
  font-size: .82rem;
  color: var(--ink-soft);
  background: var(--blush-100);
  border-radius: 999px;
  padding: .24rem .65rem;
}
.property__foot {
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
}
.property__price { font-family: var(--font-display); font-size: 1.32rem; color: var(--cocoa-800); }
.property__price small { font-family: var(--font-body); font-size: .78rem; font-weight: 500; color: var(--ink-mute); }

/* --- Filter chips ------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(24px, 3vw, 36px); }
.chip {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: .5rem 1.05rem;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s ease;
}
.chip:hover { border-color: var(--cocoa-700); color: var(--cocoa-800); }
.chip.is-active { background: var(--cocoa-800); border-color: var(--cocoa-800); color: var(--white); }
.chip:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.empty-state { padding: 3rem 0; color: var(--ink-mute); }

/* --- Steps -------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: clamp(20px, 2.5vw, 28px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 1.75rem; border-top: 2px solid var(--blush-200); }
.section--dark .step { border-top-color: rgba(255,255,255,.18); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -.85rem; left: 0;
  background: var(--paper);
  padding-right: .6rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-600);
  font-weight: 600;
}
.section--white .step::before { background: var(--white); }
.section--blush .step::before { background: var(--gold-100); }
.section--dark .step::before { background: var(--cocoa-900); color: var(--gold-500); }
.step h3 { font-size: 1.1rem; margin-bottom: .35em; }
.step p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.section--dark .step p { color: var(--on-dark-soft); }

/* --- Split ------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--media-right .split__media { order: 2; }
.split__media img { border-radius: var(--radius-l); box-shadow: var(--shadow); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; background: var(--blush-100); }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--media-right .split__media { order: 0; }
}

.ticks { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--ink-soft); font-size: .98rem; }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: .42em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--blush-200) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%238E4A42' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section--dark .ticks li { color: var(--on-dark-soft); }
.section--dark .ticks li::before { background-color: rgba(217,177,114,.28); }

/* --- Stats -------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat__num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; color: var(--white); }
.stat__label { font-size: .9rem; color: var(--on-dark-soft); margin-top: .55rem; }

/* --- Testimonials ------------------------------------------------------- */
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.quote__stars { color: var(--gold-600); letter-spacing: .12em; font-size: .95rem; }
.quote p { font-size: 1rem; color: var(--ink); margin: 0; }
.quote__who { margin-top: auto; display: flex; align-items: center; gap: .75rem; }
.quote__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blush-200);
  color: var(--cocoa-800);
  display: grid; place-items: center;
  font-weight: 700; font-size: .9rem;
  flex: none;
}
.quote__who strong { display: block; font-size: .92rem; font-weight: 600; }
.quote__who span { font-size: .82rem; color: var(--ink-mute); }

/* --- CTA band ----------------------------------------------------------- */
.cta-band {
  background: var(--cocoa-900);
  color: var(--on-dark);
  border-radius: var(--radius-l);
  padding: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(55% 70% at 88% 20%, rgba(223,162,90,.20), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: .35em; }
.cta-band p { color: var(--on-dark-soft); margin: 0; max-width: 52ch; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* --- Forms -------------------------------------------------------------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(26px, 3.5vw, 40px);
  box-shadow: var(--shadow);
}
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: .97rem;
  padding: .74rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cocoa-700);
  box-shadow: 0 0 0 3px rgba(26,90,76,.14);
  background: var(--white);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .82rem; color: var(--ink-mute); margin-top: .9rem; }
.form-status {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-s);
  background: var(--blush-100);
  border: 1px solid var(--blush-200);
  color: var(--cocoa-800);
  font-size: .92rem;
}
.form-status[hidden] { display: none; }

/* --- Contact details ---------------------------------------------------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .icon-badge { margin: 0; width: 42px; height: 42px; flex: none; }
.contact-list strong { display: block; font-size: .88rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .15rem; }
.contact-list a { color: var(--cocoa-800); text-decoration: none; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }

/* --- FAQ ---------------------------------------------------------------- */
.faq { display: grid; gap: .75rem; max-width: 800px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.25rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.35rem; color: var(--gold-600); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .8rem 0 0; color: var(--ink-soft); font-size: .97rem; }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--cocoa-900); color: var(--on-dark-soft); padding-top: clamp(48px, 6vw, 72px); }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(36px, 5vw, 56px);
}
@media (max-width: 880px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }
.site-footer .brand { color: var(--white); margin-bottom: 1rem; }
.site-footer .brand span { color: var(--gold-500); }
.footer__blurb { font-size: .94rem; max-width: 36ch; }
.footer__col h4 { color: var(--white); font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .94rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.4rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--on-dark-mute);
}
.footer__legal { max-width: 70ch; }

/* --- Utilities ---------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cocoa-800);
  color: var(--white);
  padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius-s) 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Offer callouts ----------------------------------------------------- */
.offer-note {
  margin-top: 1.1rem;
  font-size: .85rem;
  color: var(--ink-mute);
}
.badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: .5rem;
  padding: .24rem .62rem;
  border-radius: 999px;
  background: var(--rose-100);
  color: var(--rose-600);
  border: 1px solid var(--blush-200);
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero h1 em { font-style: italic; }

/* --- Accreditation block ------------------------------------------------ */
.accred {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
  background: var(--gold-100);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-l);
  padding: clamp(24px, 3.5vw, 40px);
}
.accred__mark {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--gold-600);
  border: 1px solid var(--gold-200);
  flex: none;
}
.accred__mark svg { width: 26px; height: 26px; }
.accred h3 { margin-bottom: .4em; }
.accred p { color: var(--ink-soft); font-size: .97rem; margin: 0; max-width: 62ch; }
@media (max-width: 620px) { .accred { grid-template-columns: 1fr; } }

/* --- Scheme / accreditation row (shared footer) -------------------------- */
.schemes {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: clamp(24px, 3vw, 34px) 0 clamp(20px, 2.5vw, 28px);
}
.schemes__label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0 0 1.1rem;
}
.schemes__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}
.schemes__list li {
  /* fixed logo band so marks of different proportions share a baseline,
     and the captions below line up across the row */
  display: grid;
  grid-template-rows: 42px auto;
  align-items: center;
  justify-items: start;
  gap: .55rem;
}
.schemes__list img {
  height: 30px;
  width: auto;
  opacity: .92;
  transition: opacity .16s ease;
}
.schemes__list li:hover img { opacity: 1; }
/* Each mark carries different internal padding and weight, so they are sized
   optically rather than to a single height. */
.schemes__prs img { height: 32px; }
.schemes__md  img { height: 21px; }
.schemes__tds img { height: 38px; }
.schemes__list span {
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}
.schemes__note {
  margin: 1.4rem 0 0;
  font-size: .82rem;
  color: var(--on-dark-mute);
  max-width: 68ch;
}
@media (max-width: 520px) {
  .schemes__list { gap: 22px 30px; }
  .schemes__list li { grid-template-rows: 36px auto; }
  /* keep the optical ratios, just scaled down */
  .schemes__prs img { height: 27px; }
  .schemes__md  img { height: 18px; }
  .schemes__tds img { height: 32px; }
}
