/* ==========================================================================
   French Bulldog Home — theme
   Dark warm-grey / charcoal with brown-gold & light-gold accents (no white).
   ========================================================================== */
:root {
  /* Charcoal & Champagne Gold — neutral dark grey base, soft champagne accents */
  --brand: #d9bfa0;          /* sand — main accent (Deep Teal & Sand) */
  --brand-dark: #c3a683;
  --brand-700: #a98c69;
  --choco: #12211f;          /* darkest teal — footer / bands */
  --choco-2: #182b28;
  --gold: #e7d3b8;           /* light sand accent text/links */
  --gold-soft: #314842;      /* teal chip (sand text on it) */

  --cta: #d9bfa0;            /* buttons — sand with dark text */
  --cta-dark: #c3a683;
  --cta-soft: #e7d3b8;

  --page: #1a2b2a;           /* page background — deep teal */
  --cream: #1e302e;          /* alternating sections */
  --cream-2: #223634;
  --surface: #243734;        /* cards — elevated teal */
  --surface-2: #2e453f;
  --line: #38504b;
  --line-2: #47645d;

  --text: #e9f0ee;           /* light body text */
  --heading: #f7faf9;        /* light headings (Lora) */
  --muted: #a8bcb6;          /* muted teal-grey */
  --muted-soft: #86988f;

  --ok: #6fa86f;
  --warn: #d6a648;
  --err: #d9694a;
  --info: #7ba0b3;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .28);
  --shadow: 0 16px 40px -16px rgba(0, 0, 0, .55);
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, .65);
  --maxw: 1180px;

  --ff-head: 'Lora', Georgia, 'Times New Roman', serif;
  --ff-body: 'Nunito', 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--heading); line-height: 1.12; font-weight: 600; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -.3px; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { position: relative; }

/* ------------------------------ buttons ------------------------------ */
.btn {
  --bg: var(--brand); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--ff-body); font-weight: 800; font-size: .98rem;
  padding: .82em 1.5em; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s;
  text-align: center; line-height: 1; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--primary { background: linear-gradient(135deg, var(--cta), var(--cta-dark)); color: #2c2418; box-shadow: var(--shadow-sm); }
.btn--gold { background: var(--cta-soft); color: #2c2418; }
.btn--ghost { background: transparent; color: var(--heading); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--cta); }
.btn--light { background: #eff3f1; color: #1a2b2a; }
.btn--dark { background: var(--choco); color: #e7d3b8; }
.btn--block { width: 100%; }
.btn--sm { padding: .55em 1em; font-size: .85rem; }
.btn--lg { padding: 1em 1.9em; font-size: 1.05rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ------------------------------ header ------------------------------- */
.announce { background: linear-gradient(90deg, var(--choco), var(--choco-2)); color: var(--gold); font-size: .86rem; font-weight: 700; text-align: center; }
.announce .container { padding-top: 9px; padding-bottom: 9px; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(18, 28, 27, .85); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s, background .25s, border-color .25s; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(18, 28, 27, .96); }
.site-header__inner { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--ff-head); font-weight: 700; color: var(--heading); }
.brand__mark { width: 40px; height: 40px; display: grid; place-items: center; font-size: 1.25rem; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow-sm); }
.brand__name { font-size: 1.16rem; letter-spacing: -.2px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav__link { padding: .55rem .8rem; border-radius: 999px; color: var(--text); font-weight: 700; font-size: .95rem; transition: background .15s, color .15s; }
.nav__link:hover { background: var(--surface-2); color: var(--gold); }
.nav__link.is-active { color: var(--gold); }
.nav__link.is-active::after { content: ''; display: block; height: 3px; width: 22px; margin: 3px auto 0; background: var(--gold); border-radius: 3px; }
.nav__link--account { margin-left: 4px; }
.nav__cta { margin-left: 8px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 26px; height: 3px; background: var(--heading); border-radius: 3px; transition: .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ------------------------------- hero -------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.hero__inner { position: relative; z-index: 2; padding: clamp(70px, 12vw, 140px) 0; max-width: 680px; }
.hero h1 { color: #f9fbf8; text-shadow: 0 2px 26px rgba(0, 0, 0, .55); }
.hero p { color: #dbe6e2; font-size: 1.16rem; max-width: 560px; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: .72rem; color: var(--gold); background: var(--gold-soft); padding: .5em 1em; border-radius: 999px; margin-bottom: 1.1rem; }
.hero .eyebrow { background: rgba(10, 20, 18, .55); color: var(--gold); border: 1px solid rgba(217, 191, 160, .4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.7rem; }
/* Care / process cards (home) */
.care-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.care-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.care-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.care-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.care-card:hover .care-card__media img { transform: scale(1.06); }
.care-card__body { padding: 16px 18px; }
.care-card__body h3 { margin: 0 0 6px; font-size: 1.12rem; }
.care-card__body p { margin: 0; font-size: .95rem; line-height: 1.5; }

/* Video posts (home) */
.video-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.video-card__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-card__frame iframe, .video-card__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card__link { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 800; background: rgba(0,0,0,.4); }
.video-card__body { padding: 14px 16px; }
.video-card__body h3 { margin: 0 0 4px; font-size: 1.05rem; }
.video-card__body p { margin: 0; font-size: .92rem; }
.vid-row { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.hero__badge { display: inline-flex; align-items: center; gap: .45em; font-weight: 800; font-size: .86rem; padding: .5em .95em; border-radius: 999px; background: rgba(10, 20, 18, .5); color: #eef4f1; border: 1px solid rgba(217, 191, 160, .35); backdrop-filter: blur(4px); }
.hero__badge--gold { background: var(--cta); color: #2c2418; border-color: transparent; }
.hero__badge .ic { font-size: 1.05em; line-height: 1; }
.hero__mini { display: flex; gap: 26px; margin-top: 2.2rem; flex-wrap: wrap; }
.hero__mini div { color: #cfdcd7; }
.hero__mini b { display: block; font-family: var(--ff-head); font-size: 1.5rem; color: var(--heading); }
.hero__mini span { font-size: .8rem; opacity: .85; letter-spacing: .5px; }

/* ---------------------------- trust strip ---------------------------- */
.trust { background: var(--choco); }
.trust .container { display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: center; padding-top: 18px; padding-bottom: 18px; }
.trust__item { display: inline-flex; align-items: center; gap: .55em; color: var(--gold-soft); font-weight: 800; font-size: .95rem; }
.trust__item span:first-child { font-size: 1.15rem; }

/* --------------------------- section basics -------------------------- */
.section { padding: clamp(54px, 8vw, 96px) 0; }
.section--cream { background: var(--cream); }
.section--surface { background: var(--surface); }
.section--page { background: var(--page); }
.section-head { max-width: 660px; margin: 0 auto 44px; text-align: center; }
.section-head .eyebrow { margin-bottom: .9rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head--left { margin-left: 0; text-align: left; }

/* ------------------------------ grids -------------------------------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* --------------------------- puppy cards ---------------------------- */
.kcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s, border-color .22s; display: flex; flex-direction: column; }
.kcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.kcard__media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--surface-2); }
.kcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.kcard:hover .kcard__media img { transform: scale(1.06); }
.kcard__fee { position: absolute; bottom: 10px; right: 10px; background: rgba(59, 42, 29, .9); color: #fff3e2; font-weight: 800; padding: .4em .8em; border-radius: 999px; font-size: .9rem; backdrop-filter: blur(4px); }
.kcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.kcard__name { font-family: var(--ff-head); font-size: 1.32rem; color: var(--heading); margin: 0; }
.kcard__breed { color: var(--gold); font-weight: 800; font-size: .9rem; }
.kcard__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
.kcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kcard__link { font-weight: 800; color: var(--gold); }

.pill { display: inline-flex; align-items: center; gap: .4em; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: .78rem; padding: .35em .7em; border-radius: 999px; }
.pill--soft { background: var(--gold-soft); border-color: transparent; color: var(--gold); }

.status { font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; padding: .4em .7em; border-radius: 999px; }
.status--available { background: rgba(111, 168, 111, .2); color: #9fd6a0; border: 1px solid rgba(111, 168, 111, .4); }
.status--reserved { background: rgba(214, 166, 72, .2); color: #e7c074; border: 1px solid rgba(214, 166, 72, .4); }
.status--adopted { background: rgba(217, 105, 74, .2); color: #eaa589; border: 1px solid rgba(217, 105, 74, .4); }
.ribbon { position: absolute; top: 12px; left: 12px; z-index: 2; }

/* ------------------------------ steps -------------------------------- */
.steps { counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; position: relative; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 24px; width: 44px; height: 44px; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); border-radius: 12px; box-shadow: var(--shadow-sm); }
.step h3 { margin-top: 12px; }
.step p { color: var(--muted); margin: 0; }

/* ------------------------------ stats -------------------------------- */
.stats { background: linear-gradient(135deg, var(--choco), var(--choco-2)); }
.stats .grid { gap: 16px; }
.stat { text-align: center; color: #f6ead7; padding: 16px; }
.stat b { display: block; font-family: var(--ff-head); font-size: clamp(2rem, 4vw, 2.9rem); color: #fff; }
.stat span { color: var(--gold-soft); font-weight: 700; letter-spacing: .5px; }

/* --------------------------- testimonials ---------------------------- */
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.tcard__stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.tcard__text { color: var(--text); font-style: italic; }
.tcard__by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; font-weight: 800; font-family: var(--ff-head); }
.tcard__by b { color: var(--heading); }
.tcard__by span { display: block; font-size: .82rem; color: var(--muted); }

/* ------------------------------ team --------------------------------- */
.member { text-align: center; }
.member__photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 4px solid var(--surface); box-shadow: var(--shadow-sm); }
.member h3 { margin: 0; }
.member__role { color: var(--gold); font-weight: 800; font-size: .9rem; }
.member p { color: var(--muted); font-size: .92rem; margin-top: 8px; }

/* --------------------------- faq accordion --------------------------- */
.accordion { max-width: 820px; margin: 0 auto; }
.accordion__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.accordion__q { width: 100%; text-align: left; background: none; border: 0; padding: 18px 22px; font-family: var(--ff-body); font-weight: 800; font-size: 1.02rem; color: var(--heading); cursor: pointer; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.accordion__q::after { content: '+'; font-size: 1.4rem; color: var(--brand); transition: transform .25s; }
.accordion__item.is-open .accordion__q::after { transform: rotate(45deg); }
.accordion__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion__a div { padding: 0 22px 18px; color: var(--muted); }
.accordion__item.is-open .accordion__a { max-height: 340px; }

/* ------------------------------ CTA band ----------------------------- */
.cta-band { background: linear-gradient(135deg, #a98c69, #7c6448); border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); text-align: center; color: #fff; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #f6e7d4; max-width: 560px; margin: 0 auto 1.6rem; font-size: 1.1rem; }

/* ----------------------------- newsletter ---------------------------- */
.newsletter { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 220px; }

/* ------------------------------- forms ------------------------------- */
.field { margin-bottom: 16px; }
.field label, .lbl { display: block; font-weight: 800; font-size: .86rem; color: var(--text); margin-bottom: 6px; }
.req { color: var(--err); }
input, select, textarea {
  width: 100%; font-family: var(--ff-body); font-size: 1rem; color: var(--heading);
  background: #2e453f; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  padding: .8em .9em; transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: #8fa39b; }
select option { background: #243734; color: var(--heading); }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 4px rgba(217, 191, 160, .28); background: #35504a; }
.field--row { display: flex; gap: 14px; flex-wrap: wrap; }
.field--row > * { flex: 1; min-width: 180px; }
.help { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: auto; margin-top: 4px; }
.check label { margin: 0; font-weight: 600; color: var(--text); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card--pad { padding: clamp(22px, 4vw, 36px); }

/* ----------------------------- page head ----------------------------- */
.pagehead { background: linear-gradient(135deg, var(--cream-2), var(--cream)); border-bottom: 1px solid var(--line); padding: clamp(40px, 7vw, 72px) 0 clamp(34px, 5vw, 52px); text-align: center; }
.pagehead .eyebrow { margin-bottom: 1rem; }
.pagehead p { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 1.08rem; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--gold); font-weight: 700; }

/* --------------------------- puppy detail --------------------------- */
.detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
.gallery__main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); aspect-ratio: 4/3.2; background: var(--surface-2); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery__thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 2px solid transparent; cursor: pointer; }
.gallery__thumbs img.is-active { border-color: var(--brand); }
.detail__price { font-family: var(--ff-head); font-size: 2.2rem; color: var(--gold); }
.spec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0; }
.spec__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.spec__item span { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 800; }
.spec__item b { color: var(--heading); font-size: 1rem; }
.checklist { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.checklist li { display: flex; gap: 8px; align-items: center; color: var(--text); font-weight: 600; }
.checklist li::before { content: '✔'; color: var(--ok); font-weight: 900; }
.checklist li.no { color: var(--muted); }
.checklist li.no::before { content: '–'; color: var(--muted); }

/* ----------------------------- adoption ------------------------------ */
.adopt-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 32px; align-items: start; }
.agreement { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; max-height: 280px; overflow-y: auto; font-size: .92rem; color: var(--muted); }
.agreement h4 { color: var(--heading); margin: 14px 0 6px; }
.summary { position: sticky; top: 92px; }
.summary__puppy { display: flex; gap: 14px; align-items: center; }
.summary__puppy img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; }
.line-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.line-row--total { border-bottom: 0; font-weight: 800; font-size: 1.15rem; color: var(--heading); padding-top: 12px; }
.pay-options { display: grid; gap: 12px; }
.pay-opt { border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.pay-opt:hover { border-color: var(--brand); }
.pay-opt.is-sel { border-color: var(--brand); background: var(--gold-soft); }
.pay-opt b { color: var(--heading); }
.pay-opt small { color: var(--muted); display: block; }
.method-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.method { border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px; text-align: center; font-weight: 800; cursor: pointer; background: var(--surface); transition: .15s; }
.method.is-sel { border-color: var(--brand); background: var(--gold-soft); color: var(--gold); }
.method small { display: block; font-weight: 600; color: var(--muted); }
.badge-instant { background: var(--ok); color: #fff; font-size: .66rem; padding: .2em .5em; border-radius: 6px; font-weight: 800; vertical-align: middle; }

/* Accessible, senior-friendly choice cards */
.sr-radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-help { font-size: 1.02rem; color: var(--gold); font-weight: 700; background: var(--gold-soft); border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 15px; margin-bottom: 14px; }
.choices { display: grid; gap: 14px; }
.choice { display: flex; gap: 15px; align-items: flex-start; border: 2.5px solid var(--line-2); border-radius: 16px; padding: 18px 20px; cursor: pointer; background: var(--surface); transition: border-color .15s, background .15s, box-shadow .15s; }
.choice:hover { border-color: var(--brand); }
.choice.is-sel { border-color: var(--brand); background: var(--gold-soft); box-shadow: 0 0 0 4px rgba(217, 191, 160, .16); }
.choice:focus-within { box-shadow: 0 0 0 4px rgba(217, 191, 160, .25); }
.choice__radio { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--muted-soft); background: var(--surface-2); display: grid; place-items: center; margin-top: 3px; transition: border-color .15s; }
.choice.is-sel .choice__radio { border-color: var(--brand); }
.choice.is-sel .choice__radio::after { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); }
.choice__body { flex: 1; }
.choice__title { display: block; font-size: 1.18rem; font-weight: 800; color: var(--heading); line-height: 1.3; }
.choice__amount { color: var(--gold); white-space: nowrap; }
.choice__desc { display: block; font-size: 1.02rem; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.choice__tick { margin-left: auto; align-self: center; font-weight: 800; color: #fff; background: var(--brand); border-radius: 999px; padding: .3em .8em; font-size: .82rem; white-space: nowrap; opacity: 0; transition: opacity .15s; }
.choice.is-sel .choice__tick { opacity: 1; }
@media (max-width: 560px) { .choice__tick { display: none; } .choice__title { font-size: 1.08rem; } }
.uploader { border: 2px dashed var(--line-2); border-radius: var(--radius-sm); padding: 22px; text-align: center; color: var(--muted); cursor: pointer; background: var(--surface); }
.uploader.is-drag { border-color: var(--brand); background: var(--gold-soft); }
.upload-preview { margin-top: 12px; }
.upload-preview img { max-height: 180px; border-radius: 10px; margin: 0 auto; }

/* ------------------------------ account ------------------------------ */
.app-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 12px; }
.app-row img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.timeline { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.timeline span { font-size: .72rem; padding: .25em .6em; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-weight: 700; }
.timeline span.done { background: rgba(111, 168, 111, .22); color: #9fd6a0; }

/* status color helpers (applications) */
.st { font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; padding: .35em .7em; border-radius: 999px; white-space: nowrap; }
.st-new { background: rgba(123, 160, 179, .2); color: #a9c8d6; }
.st-review { background: rgba(214, 166, 72, .2); color: #e7c074; }
.st-approved { background: rgba(111, 168, 111, .2); color: #9fd6a0; }
.st-declined { background: rgba(217, 105, 74, .2); color: #eaa589; }
.st-paid { background: rgba(95, 180, 110, .2); color: #93dba0; }
.st-completed { background: rgba(171, 157, 134, .2); color: #cdbfa6; }

/* ------------------------------ admin -------------------------------- */
.admin-shell { display: grid; grid-template-columns: 244px 1fr; min-height: 100vh; }
.admin-side { background: linear-gradient(180deg, var(--choco), var(--choco-2)); color: #efe2cf; padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .brand__name { color: #fff; }
.admin-side .brand { color: #fff; margin: 4px 8px 22px; }
.admin-nav { display: flex; flex-direction: column; gap: 3px; }
.admin-nav button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 0; color: #e7d8c2; font-weight: 700; font-family: var(--ff-body); font-size: .95rem; padding: .7em .85em; border-radius: 10px; cursor: pointer; transition: .15s; }
.admin-nav button:hover { background: rgba(255, 255, 255, .08); }
.admin-nav button.is-active { background: var(--brand); color: #fff; }
.admin-side__foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: #c8b69c; }
.admin-main { background: var(--page); padding: 0; min-width: 0; }
.admin-topbar { background: var(--surface); border-bottom: 1px solid var(--line); padding: 14px 26px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 20; }
.admin-content { padding: 26px; }
.admin-panel { display: none; }
.admin-panel.is-active { display: block; animation: fade .25s; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.kpi b { display: block; font-family: var(--ff-head); font-size: 2rem; color: var(--heading); }
.kpi span { color: var(--muted); font-weight: 700; font-size: .85rem; }

.panel-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.panel-card__head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel-card__head h3 { margin: 0; }
.panel-card__body { padding: 20px; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 12px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-size: .74rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.table tr:hover td { background: var(--surface-2); }
.table img.thumb { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; }
.row-actions { display: flex; gap: 6px; }
.icon-btn { border: 1px solid var(--line-2); background: var(--surface); border-radius: 8px; padding: .4em .6em; cursor: pointer; font-weight: 700; color: var(--gold); }
.icon-btn:hover { background: var(--gold-soft); }
.icon-btn--danger { color: var(--err); }

.admin-login { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, var(--cream-2), var(--page)); padding: 22px; }
.admin-login__card { width: 100%; max-width: 420px; }
.tabs { display: flex; gap: 6px; background: var(--surface-2); padding: 5px; border-radius: 999px; margin-bottom: 18px; }
.tabs button { flex: 1; border: 0; background: none; padding: .6em; border-radius: 999px; font-weight: 800; color: var(--muted); cursor: pointer; }
.tabs button.is-active { background: var(--surface); color: var(--gold); box-shadow: var(--shadow-sm); }

.uploaded-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.uploaded-grid figure { position: relative; margin: 0; }
.uploaded-grid img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.uploaded-grid button { position: absolute; top: -8px; right: -8px; background: var(--err); color: #fff; border: 0; border-radius: 50%; width: 22px; height: 22px; cursor: pointer; font-weight: 800; }

/* ------------------------------ modal -------------------------------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(40, 27, 16, .55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; z-index: 200; opacity: 0; transition: opacity .2s; }
.modal-overlay.is-in { opacity: 1; }
.modal { background: var(--cream); border-radius: var(--radius); width: 100%; max-width: 520px; max-height: 90vh; overflow: auto; box-shadow: var(--shadow-lg); transform: translateY(10px); transition: transform .2s; position: relative; }
.modal-overlay.is-in .modal { transform: none; }
.modal--wide { max-width: 820px; }
.modal__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal__head h3 { margin: 0; }
.modal__x { background: none; border: 0; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--muted); }
.modal__x--float { position: absolute; top: 12px; right: 14px; z-index: 3; }
.modal__body { padding: 22px; }
.modal__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.confirm-msg { color: var(--text); }

/* ------------------------------ toast -------------------------------- */
#kau-toasts { position: fixed; bottom: 22px; right: 22px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--choco); color: #f6ead7; padding: .9em 1.2em; border-radius: 12px; box-shadow: var(--shadow); font-weight: 700; transform: translateX(120%); transition: transform .35s cubic-bezier(.2,.9,.3,1); max-width: 340px; }
.toast.is-in { transform: none; }
.toast--success { background: #3f6b3f; }
.toast--error { background: #9b3f26; }
.toast--info { background: var(--choco); }

/* ----------------------------- reveal -------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-reveal-d="1"] { transition-delay: .08s; }
[data-reveal][data-reveal-d="2"] { transition-delay: .16s; }
[data-reveal][data-reveal-d="3"] { transition-delay: .24s; }

/* ---------------------------- utilities ------------------------------ */
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 30px; }
.flex { display: flex; } .gap { gap: 12px; } .wrap { flex-wrap: wrap; }
.between { justify-content: space-between; } .items-center { align-items: center; }
.hidden { display: none !important; }
.empty-state { text-align: center; color: var(--muted); padding: 40px 20px; }
.empty-state .big { font-size: 2.4rem; }
.notice { background: var(--gold-soft); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 14px 16px; color: var(--gold); font-weight: 600; }
.divider { height: 1px; background: var(--line); margin: 22px 0; border: 0; }

/* ----------------------------- footer -------------------------------- */
.site-footer { background: var(--choco); color: #d8c6ac; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; padding: 56px 22px 38px; }
.footer-col h4 { color: #fff; font-family: var(--ff-body); font-size: .95rem; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: #d8c6ac; }
.footer-col a:hover { color: var(--gold-soft); }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__mark { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15); }
.footer-blurb { color: #c3b095; margin: 14px 0; max-width: 280px; }
.footer-contact { color: #c3b095; }
.footer-contact a { color: #d8c6ac; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--gold-soft); font-weight: 800; }
.socials a:hover { background: var(--brand); color: #fff; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bar__inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px 22px; font-size: .85rem; color: #b6a489; }

/* --------------------------- responsive ------------------------------ */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: 1fr; gap: 26px; }
  .adopt-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; display: flex; flex-direction: column; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-nav button { width: auto; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  /* backdrop-filter on the header traps position:fixed children — turn it off
     on mobile so the menu can cover the whole page, and give a solid header. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--choco); border-bottom: 1px solid var(--line); }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(84vw, 320px); background: var(--choco-2); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 84px 20px 30px; gap: 6px; transform: translateX(100%); transition: transform .3s; box-shadow: var(--shadow-lg); margin: 0; z-index: 80; border-left: 1px solid var(--line); overflow-y: auto; }
  .nav.is-open { transform: none; }
  .nav__link { padding: .95rem 1rem; border-radius: 12px; font-size: 1.05rem; }
  .nav__link:hover, .nav__link.is-active { background: var(--surface-2); }
  .nav__link.is-active::after { display: none; }
  .nav__cta { margin: 12px 0 0; }
  .nav-toggle { display: flex; z-index: 90; position: relative; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .spec, .checklist { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
}

/* ---------------------- blurred section backgrounds ------------------ */
.blurbg { position: relative; overflow: hidden; isolation: isolate; }
.blurbg__img { position: absolute; inset: -24px; z-index: 0; background-size: cover; background-position: center; filter: blur(7px); transform: scale(1.08); }
.blurbg__img--dark { filter: blur(5px) brightness(.85); }
.blurbg__veil { position: absolute; inset: 0; z-index: 1; }
.blurbg > *:not(.blurbg__img):not(.blurbg__veil) { position: relative; z-index: 2; }

/* footer tweaks */
.footer-grid--3 { grid-template-columns: 1.6fr 1fr 1.4fr; }
.footer-staff { color: #b6a489; }
.footer-staff:hover { color: var(--gold-soft); }

/* testimonial photo avatar */
.avatar--img { padding: 0; overflow: hidden; }
.avatar--img img { width: 100%; height: 100%; object-fit: cover; }

/* pagehead sits above its blurred bg */
.pagehead { position: relative; }
@media (max-width: 960px) { .footer-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .footer-grid--3 { grid-template-columns: 1fr; } }
