/* ==========================================================================
   styles.css — TheActs Ministry supply & counseling (tokens from Crossover)
   Retune the whole look from the tokens below.
   ========================================================================== */

:root {
  /* Colour: one accent (burnt orange) on warm neutrals; deep aubergine for the hero + footer */
  --bg: #fbf6f1;
  --bg-tint: #f4e8de;
  --surface: #ffffff;
  --ink: #2b1a33;
  --ink-soft: #5a4862;
  --line: #e6d8cc;
  --accent: #a8481a;        /* 5.8:1 on white — AA for text and buttons */
  --accent-dark: #843612;
  --accent-light: #f0a56b;  /* accent for use on the dark background */
  --night: #1e1026;
  --night-text: #e9dff0;
  --danger: #b3261e;
  --focus: #0b5fd6;

  /* Type */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;

  /* Space + shape */
  --gutter: 16px;
  --section-y: clamp(64px, 10vw, 112px);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(43, 26, 51, 0.10);
  --nav-h: 64px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

[hidden] { display: none !important; }

img, svg { max-width: 100%; }
img { display: block; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Focus, skip link ---------- */

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout helpers ---------- */

.container {
  width: min(100% - 2 * var(--gutter), 1120px);
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }
.section-white { background: var(--surface); }
.section-tint { background: var(--bg-tint); }
section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }
#top { scroll-margin-top: 0; }

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  margin-bottom: 0.5em;
}
.section-intro {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}
.eyebrow-dark { color: var(--accent); margin-bottom: 0.75rem; }

.subhead {
  font-size: 1.5rem;
  margin: 3rem 0 1.25rem;
}
.subhead:first-of-type { margin-top: 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.7; cursor: progress; }

/* ---------- 1. Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 241, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  --gutter: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--nav-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.1;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand-logo { width: auto; height: 42px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; }
.brand-prefix {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle {
  display: inline-flex;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}
.lang-toggle button {
  min-width: 36px;
  min-height: 36px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 0;
}
.lang-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lang-toggle button:focus-visible { outline-offset: -3px; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

/* Mobile: links collapse into a panel; toggle + Register stay in the bar */
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.js .nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 8px var(--gutter) 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 24px rgba(43, 26, 51, 0.08);
}
.js .nav-menu.is-open { display: flex; }
.nav-menu a {
  display: block;
  padding: 12px 4px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav-menu li:last-child a { border-bottom: 0; }
.nav-menu a:hover { color: var(--accent); }

/* Small phones (≤ 400px): keep brand, FR·EN, Register and the menu button on one row */
@media (max-width: 400px) {
  .nav { gap: 6px; }
  .nav-actions { gap: 6px; }
  .brand-text { display: none; } /* the logo already carries the name */
  .brand-logo { height: 40px; }
  .lang-toggle button { min-width: 32px; padding: 0 6px; font-size: 0.75rem; }
  .btn-sm { padding: 0 11px; font-size: 0.875rem; }
  .menu-toggle { width: 36px; }
}

@media (max-width: 340px) {
  .nav { gap: 4px; }
  .nav-actions { gap: 4px; }
  .brand-logo { height: 34px; }
  .lang-toggle button { min-width: 28px; padding: 0 4px; }
  .btn-sm { padding: 0 8px; font-size: 0.8125rem; }
  .menu-toggle { width: 32px; }
}

@media (min-width: 900px) {
  .nav { --gutter: 16px; gap: 24px; }
  .brand { margin-right: 0; }
  .js .nav-menu,
  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 28px;
    padding: 0;
    margin-inline: auto;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav-menu a { padding: 8px 0; border: 0; }
  .menu-toggle { display: none; }
  .nav-actions { gap: 12px; }
  .btn-sm { padding: 0 20px; }
}

/* ---------- 2. Hero ---------- */

.hero {
  color: #fff;
  background:
    radial-gradient(60% 80% at 88% 18%, rgba(214, 120, 50, 0.38), transparent 62%),
    radial-gradient(50% 60% at 8% 92%, rgba(122, 62, 168, 0.32), transparent 62%),
    var(--night);
  padding-block: 28px clamp(48px, 8vw, 96px);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-flyer { order: -1; margin: 0; }
.hero-flyer img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero h1 {
  font-size: clamp(2.1rem, 7vw, 3.5rem);
  margin-bottom: 0.45em;
}
.lead {
  font-size: 1.1875rem;
  color: var(--night-text);
  max-width: 46ch;
  margin-bottom: 1.5rem;
}

.chips {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
}
.chips .icon { color: var(--accent-light); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn { flex: 1 1 200px; }

@media (min-width: 900px) {
  .hero { padding-top: 56px; }
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
    gap: 56px;
    align-items: center;
  }
  .hero-flyer { order: 0; }
  .hero-cta .btn { flex: 0 0 auto; }
}

/* ---------- Cards ---------- */

.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.card .icon-lg { color: var(--accent); margin-bottom: 16px; }
.card h3 { font-size: 1.375rem; margin-bottom: 0.5em; }
.card h4 { font-size: 1.1875rem; margin-bottom: 0.4em; }
.card p { color: var(--ink-soft); }
.card-plain { box-shadow: none; background: var(--bg); padding: 22px 22px; }
.tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid currentColor;
  border-radius: 999px;
}

@media (min-width: 600px) and (max-width: 899px) {
  .attractions { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
/* ---------- 6. Location ---------- */

.location { display: grid; gap: 32px; }
.address { font-style: normal; font-size: 1.1875rem; margin-bottom: 1.25rem; }
.link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 1.5rem; }
.text-link { font-weight: 600; }
.service-contact { font-weight: 600; color: var(--ink); }
.map-frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-tint);
}
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (min-width: 900px) {
  .location { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
}

/* ---------- 8. Registration ---------- */

.register { max-width: 680px; }
.register-intro { margin-bottom: 2rem; font-size: 1.125rem; color: var(--ink-soft); }
.register-intro em { color: var(--ink); font-weight: 600; }
.register-callout { font-style: italic; font-weight: 600; color: var(--accent); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
}
@media (min-width: 600px) { .form-card { padding: 36px 36px; } }

.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; }
.opt { font-weight: 400; color: var(--ink-soft); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font: inherit;
  font-size: 1rem; /* 16px stops iOS zooming on focus */
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #8c7a93;
  border-radius: var(--radius-sm);
}
textarea { resize: vertical; min-height: 96px; }
input[aria-invalid="true"] { border-color: var(--danger); }

.field-error {
  margin: 6px 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--danger);
}
.form-summary {
  margin-bottom: 20px;
  padding: 12px 14px;
  font-weight: 600;
  color: var(--danger);
  background: #fdecea;
  border: 1px solid #f3b8b3;
  border-radius: var(--radius-sm);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  text-align: center;
}

.panel { text-align: center; }
.panel h3 { font-size: 1.5rem; margin-bottom: 0.5em; }
.panel .icon-lg { color: var(--accent); margin-bottom: 12px; width: 44px; height: 44px; }
.panel-fail { text-align: left; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.panel:focus, .panel h3:focus { outline: none; }
.panel h3:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

/* ---------- 9. Footer ---------- */

.site-footer {
  background: var(--night);
  color: var(--night-text);
  padding-block: 48px 40px;
  font-size: 0.9375rem;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent-light); }
.footer-grid { display: grid; gap: 24px; }
.footer-logo { display: block; width: auto; height: 72px; margin-bottom: 16px; }
.footer-name {
  margin-bottom: 0.25em;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.copyright { margin: 0; opacity: 0.85; }

@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1fr auto; align-items: start; }
  .copyright { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
}

/* ==========================================================================
   Supply & counseling — additions to the Crossover base above
   ========================================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.noscript { padding-block: 24px; font-weight: 600; }
.mini-title { font-size: 1.1875rem; margin: 1.5rem 0 0.5rem; }

/* ---------- Welcome ---------- */

.welcome h1 { max-width: 20ch; }
.tiles {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 18px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
}
.tile:hover { background: rgba(255, 255, 255, 0.13); border-color: var(--accent-light); color: #fff; }
.tile .icon { color: var(--accent-light); margin-bottom: 6px; }
.tile-title { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700; line-height: 1.2; }
.tile-text { font-size: 0.9375rem; color: var(--night-text); }

@media (min-width: 900px) {
  .welcome { padding-block: 64px 88px; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .tile { padding: 22px 20px; }
}

/* ---------- Products ---------- */

.product-grid { display: grid; gap: 28px; }
.product-photo { margin: 0; width: min(100%, 360px); justify-self: center; }
.product-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.product-desc { font-size: 1.125rem; color: var(--ink-soft); max-width: 52ch; }
.supply-note { margin-top: 1rem; font-size: 0.9375rem; color: var(--ink-soft); }

.options {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.option {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.option-info { display: flex; flex-direction: column; flex: 1 1 180px; min-width: 0; }
.option-label { font-weight: 600; }
.option-min { font-size: 0.9375rem; color: var(--ink-soft); }
.option-add { flex: none; min-width: 112px; }

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: center;
  }
  .product-photo { width: 100%; }
  .product-grid-flip .product-photo { order: 2; }
}

/* ---------- Stepper (bottle count, basket quantity) ---------- */

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #8c7a93;
  border-radius: 999px;
  background: var(--surface);
  flex: none;
}
.stepper-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.stepper-btn:hover:not(:disabled) { background: var(--bg-tint); }
.stepper-btn:disabled { color: #b5a8ba; cursor: not-allowed; }
.stepper-val { min-width: 2ch; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Basket bar ---------- */

.basket-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--night);
  color: #fff;
  box-shadow: 0 -10px 30px rgba(30, 16, 38, 0.25);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.basket-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding-block: 10px;
}
.basket-text { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; line-height: 1.3; }
.basket-text .icon { color: var(--accent-light); }
.basket-bar .btn { flex: none; }
body.has-basket { padding-bottom: 76px; }

/* ---------- Checkout dialog ---------- */

.checkout {
  width: min(100% - 16px, 620px);
  max-height: calc(100% - 16px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(30, 16, 38, 0.35);
}
.checkout::backdrop { background: rgba(30, 16, 38, 0.55); }
.checkout-inner { padding: 20px 18px 28px; }
@media (min-width: 600px) { .checkout-inner { padding: 28px 32px 36px; } }

.checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.checkout-head h2 { font-size: 1.625rem; }
.checkout-head h2:focus { outline: none; }
.close-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}
.close-btn:hover { background: var(--bg-tint); }

.co-empty { color: var(--ink-soft); }
.co-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.co-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.co-line-info { display: flex; flex-direction: column; flex: 1 1 220px; min-width: 0; }
.co-line-name { font-weight: 600; }
.co-line-min { font-size: 0.9375rem; color: var(--ink-soft); }
.co-line-actions { display: flex; align-items: center; gap: 14px; }
.link-btn {
  min-height: 40px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.link-btn:hover { color: var(--accent-dark); }

.co-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 0;
  font-size: 1.125rem;
}

.field-hint { margin: 6px 0 0; font-size: 0.9375rem; color: var(--ink-soft); }
.choices { border: 0; margin: 0 0 20px; padding: 0; }
.choices legend { margin-bottom: 6px; padding: 0; font-weight: 600; }
.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-bottom: 8px;
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--accent); background: #fdf3ec; }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.choices[aria-invalid="true"] .choice { border-color: var(--danger); }

/* Done / fail views */
.facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px 20px;
  margin: 1rem 0 0;
  text-align: left;
}
.facts dt { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin-top: 10px; }
.facts dd { margin: 0; }
@media (min-width: 600px) {
  .facts { grid-template-columns: max-content minmax(0, 1fr); align-items: baseline; }
  .facts dt { margin-top: 0; padding-top: 8px; }
  .facts dd { padding-top: 8px; }
}
.ref { font-size: 1.25rem; letter-spacing: 0.04em; color: var(--accent); }
.plain-list { margin: 0; padding-left: 1.1em; }
.callout {
  margin-top: 1.25rem;
  padding: 14px 16px;
  text-align: left;
  background: var(--bg-tint);
  border-radius: var(--radius-sm);
}
.callout p { margin-bottom: 0.5em; }
.callout p:last-child { margin-bottom: 0; }
.co-done .panel-actions, .bk-done .panel-actions { justify-content: center; }

/* ---------- Counseling booking ---------- */

.booking { max-width: 960px; }
.booking-card { padding-top: 24px; }
#bk-form { margin-top: 28px; }
.bk-title { font-size: 1.3125rem; margin-bottom: 14px; }
.bk-title:focus { outline: none; }
.bk-title:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.persons { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.person {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 10px 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.person:hover { border-color: var(--accent); }
.person[aria-pressed="true"] { border-color: var(--accent); background: #fdf3ec; box-shadow: inset 0 0 0 1px var(--accent); }
.person-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.person-role { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; line-height: 1.2; }
.person-name { font-size: 0.9375rem; color: var(--ink-soft); }
@media (min-width: 600px) {
  .persons { max-width: 560px; }
}

.lengths { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
.length {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 76px;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.length:hover { border-color: var(--accent); }
.length[aria-pressed="true"] { border-color: var(--accent); background: #fdf3ec; box-shadow: inset 0 0 0 1px var(--accent); }
.length-time { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; line-height: 1.2; }
.length-sub { font-size: 0.9375rem; color: var(--ink-soft); }
.length-note { margin: 12px 0 0; font-size: 0.9375rem; color: var(--ink-soft); max-width: 560px; }
#bk-step-len { margin-top: 28px; }

.gift {
  margin: 4px 0 20px;
  padding: 16px 16px 0;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
}
.gift > legend { padding: 0 6px; font-weight: 700; }

.bk-when { display: grid; gap: 28px; }
.bk-when:has(> :not([hidden])) { margin-top: 28px; }
@media (min-width: 900px) {
  .bk-when { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
}

.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.cal-month { margin: 0; font-weight: 700; font-size: 1.0625rem; text-align: center; }
.cal-nav {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.cal-nav:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.cal-nav:disabled { opacity: 0.35; cursor: not-allowed; }
.cal-status {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 0.9375rem;
}
.cal-status p { margin: 0; }
.cal-status .btn { margin: 8px 0; }
.cal-status.is-error { background: #fdecea; color: var(--danger); font-weight: 600; }
.cal-status.is-error #bk-call { color: var(--ink); font-weight: 400; }

.cal-grid { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.cal-grid th { padding-bottom: 4px; font-size: 0.8125rem; font-weight: 700; color: var(--ink-soft); text-transform: capitalize; }
.cal-grid abbr { text-decoration: none; }
.cal-grid td { padding: 0; text-align: center; }
.cal-grid[aria-busy="true"] { opacity: 0.5; }
.cal-day {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 52px;
  min-height: 38px;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--accent-dark);
  font: inherit;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.cal-day:hover:not(:disabled) { background: #fdf3ec; }
.cal-day:disabled { border-color: transparent; background: transparent; color: #8f8094; font-weight: 400; cursor: default; }
.cal-day.is-selected { background: var(--accent); color: #fff; }

.bk-date { margin: 0 0 10px; font-weight: 600; }
.bk-date::first-letter { text-transform: uppercase; }
.bk-msg {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #fdecea;
  color: var(--danger);
  font-weight: 600;
}
.slots { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.slot {
  min-height: 46px;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.slot:hover { background: #fdf3ec; }
.slot[aria-pressed="true"] { background: var(--accent); color: #fff; }

#bk-form { padding-top: 24px; border-top: 1px solid var(--line); }
.bk-choice {
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-tint);
  font-weight: 600;
}
.field-row { display: grid; gap: 0 20px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
#bk-form .btn-block { max-width: 360px; }

/* ---------- Footer additions ---------- */

.footer-side { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.lang-toggle-light { border-color: rgba(255, 255, 255, 0.7); }
.lang-toggle-light button { color: #fff; }
.lang-toggle-light button[aria-pressed="true"] { background: #fff; color: var(--night); }
@media (min-width: 900px) { .footer-side { align-items: flex-end; } }

/* ---------- Motion ---------- */

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