/* ═══════════════════════════════════════════════════════
   ALEXANDRE AVOCAT — Ultra-Minimal / High Texture
   
   Philosophy: Remove everything until it breaks,
   then add back exactly one thing.
   ═══════════════════════════════════════════════════════ */

:root {
  /* Blithe blue — used sparingly, as the only accent */
  --blue: #0084bd;
  --blue-quiet: #0074a6;
  --blue-whisper: rgba(0, 132, 189, 0.07);
  --blue-line: rgba(0, 132, 189, 0.18);

  /* Near-monochrome palette */
  --black: #111110;
  --ink: #2c2c28;
  --body: #5c5c56;
  --muted: #9c9c94;
  --faint: #c8c8c2;
  --rule: #e4e2dd;
  --wash: #f4f3f0;
  --paper: #faf9f7;
  --white: #ffffff;

  /* System */
  --error: #b8372e;
  --success: #2d7a42;

  /* Layout */
  --contain: min(1280px, 90vw);
  --contain-narrow: min(880px, 90vw);

  /* Type */
  --sans: "Manrope", sans-serif;
  --serif: "Newsreader", serif;

  /* Timing */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  min-height: 100dvh;
  color: var(--body);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.72;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

::selection { color: var(--white); background: var(--blue); }
a { color: inherit; text-decoration: none; }
img, svg, iframe { max-width: 100%; display: block; }

/* ─── Accessibility ─── */
.sr-only, .sr-only-focusable {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0,0,0,0) !important; clip-path: inset(50%) !important;
  white-space: nowrap !important; border: 0 !important;
}

.skip-link {
  z-index: 240; color: var(--white); background: var(--black);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.5rem 0.75rem;
}

.sr-only-focusable:focus, .sr-only-focusable:focus-visible {
  position: fixed !important; left: 1rem !important; top: 0.8rem !important;
  width: auto !important; height: auto !important; margin: 0 !important;
  overflow: visible !important; clip: auto !important; clip-path: none !important;
  white-space: normal !important;
}

/* ─── Scroll progress — barely there ─── */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 220;
  width: 0; height: 1px;
  background: var(--black);
  opacity: 0.3;
}

.container { width: var(--contain); margin: 0 auto; }


/* ═══════════════════════════════════════
   HEADER — Weightless
   ═══════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(20px);
}

/* Single hairline — the only ornament */
.site-header::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--rule);
}

.nav-wrap {
  min-height: 4.4rem;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 2rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.8rem; }

.brand-mark {
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  border: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}

.brand:hover .brand-mark { border-color: var(--ink); }

.brand-title {
  display: block; color: var(--black);
  font-family: var(--sans);
  font-size: clamp(0.88rem, 1.3vw, 1.08rem);
  font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; line-height: 1.1;
}

.brand-sub {
  display: block; margin-top: 0.12rem;
  color: var(--muted); font-size: 0.6rem;
  font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-panel { display: contents; }

.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; }

.nav-links a {
  color: var(--muted); font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  transition: color 0.3s var(--ease);
}

.nav-links a:hover { color: var(--black); }
.nav-links a[aria-current="page"] { color: var(--black); }

.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.65rem; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 0.06rem;
  border: 1px solid var(--rule); padding: 0.1rem;
}

.lang-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.85rem; height: 1.5rem;
  color: var(--muted); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.lang-link.is-active { color: var(--white); background: var(--black); }

.menu-toggle {
  display: none; justify-self: end;
  border: 1px solid var(--rule); background: transparent;
  color: var(--ink); font: inherit; font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.38rem 0.6rem; cursor: pointer;
  transition: border-color 0.3s var(--ease);
}

.menu-toggle:hover { border-color: var(--faint); }


/* ═══════════════════════════════════════
   TYPOGRAPHY — Serene, authoritative
   ═══════════════════════════════════════ */
h1, h2, h3, h4 { margin: 0 0 0.7rem; color: var(--black); }

h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  font-weight: 500;
  line-height: 0.92; letter-spacing: -0.04em;
  text-wrap: balance;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.2vw, 3.8rem);
  font-weight: 500;
  line-height: 1; letter-spacing: -0.035em;
  text-wrap: balance;
}

h3 {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500; line-height: 1.28;
  letter-spacing: -0.01em;
}

h4 {
  font-family: var(--sans);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.04em;
}

p { margin: 0 0 0.95rem; color: var(--body); }

.lead {
  max-width: 58ch; color: var(--ink);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  line-height: 1.78; font-weight: 400;
}

.eyebrow {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--blue);
  font-family: var(--sans);
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
}

/* No decorative ::before — purity */
.eyebrow::before { display: none; }


/* ═══════════════════════════════════════
   PAGE & HERO
   ═══════════════════════════════════════ */
.page-main { padding: clamp(2rem, 4vw, 3.5rem) 0 8rem; }
.page-intro { margin-top: 1rem; }

.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(3rem, 5vw, 5rem);
}

/* Remove all decorative pseudo-elements */
.hero::before { display: none; }

.hero-copy { max-width: 72ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem; }

.hero-proof { margin-top: 1.2rem; }
.proof-chip {
  display: inline-flex; align-items: baseline; gap: 0.4rem;
  color: var(--muted); font-size: 0.78rem; font-weight: 500;
  padding-bottom: 0.2rem;
}
.proof-chip strong { color: var(--black); font-size: 1.15rem; line-height: 1; }

.hero-tags { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.hero-tag {
  border: 1px solid var(--rule); color: var(--muted);
  font-size: 0.7rem; font-weight: 600; padding: 0.3rem 0.65rem;
}

/* ─── Hero Home — editorial split ─── */
.hero-home { padding: 0; }
.hero-home::before, .hero-home::after { display: none; }

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  min-height: 620px;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--white);
}

.hero-panel {
  display: grid; align-content: start; gap: 1.1rem;
  padding: clamp(2rem, 3vw, 3.2rem);
  border-right: 1px solid var(--rule);
}

.hero-panel .lead { max-width: 30rem; }

.hero-home h1 {
  max-width: 11ch;
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
  line-height: 0.91;
}

.hero-mode-grid { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.mode-chip {
  display: inline-flex; align-items: center; min-height: 2.6rem;
  border: 1px solid var(--rule); background: transparent;
  color: var(--muted); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.02em; padding: 0.5rem 0.85rem;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.mode-chip.is-active { border-color: var(--blue-line); color: var(--blue); }

.hero-searchbar {
  display: grid; grid-template-columns: 1fr 1fr auto;
  gap: 0.5rem; align-items: stretch; margin-top: 0.4rem;
}

.hero-searchfield {
  display: grid; gap: 0.08rem;
  border: 1px solid var(--rule); background: transparent;
  padding: 0.68rem 0.82rem;
}

.hero-searchlabel {
  color: var(--muted); font-size: 0.56rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}

.hero-searchfield strong {
  color: var(--black); font-family: var(--sans);
  font-size: 0.86rem; font-weight: 600;
}

.hero-searchbar .btn { min-width: 9.5rem; }

/* ─── Hero visual — abstract, quiet ─── */
.hero-visual {
  position: relative; min-height: 620px;
  background: var(--wash);
}

/* Subtle geometric — just two quiet planes */
.hero-visual::before {
  content: ""; position: absolute;
  inset: 15% 18% 25% auto; width: 38%;
  border: 1px solid var(--rule);
  background: var(--white);
  transform: skew(-4deg);
}

.hero-visual::after {
  content: ""; position: absolute;
  inset: auto 0 0 0; height: 20%;
  background: linear-gradient(180deg, transparent, rgba(244,243,240,0.6));
}

.hero-visual-frame {
  position: absolute; inset: auto auto 10% 8%;
  width: 50%; height: 26%;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.hero-visual-note {
  position: absolute; right: 1.2rem; bottom: 0.9rem; z-index: 1;
  color: var(--muted); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.06em;
}


/* ═══════════════════════════════════════
   METRIC WALL — Restrained power
   ═══════════════════════════════════════ */
.metric-wall {
  margin-top: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.metric-card { padding: 1.6rem 1rem; border-right: 1px solid var(--rule); }
.metric-card:last-child { border-right: 0; }

.metric-value {
  display: block; margin-bottom: 0.35rem;
  color: var(--black);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  font-weight: 500; line-height: 0.88;
  letter-spacing: -0.03em;
}

.metric-label {
  display: block; color: var(--muted);
  font-size: 0.72rem; font-weight: 500;
}


/* ═══════════════════════════════════════
   SECTIONS — Breathing room
   ═══════════════════════════════════════ */
.section { margin-top: clamp(4rem, 8vw, 8rem); }

.section-head {
  display: flex; flex-wrap: wrap;
  align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; margin-bottom: 2.2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.section-copy { max-width: 70rem; }
.section-head .eyebrow { margin-bottom: 0.9rem; }

.section-head h2 {
  max-width: 20ch; margin-bottom: 0.6rem;
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  line-height: 0.9; letter-spacing: -0.045em;
}

.section-summary {
  max-width: 64rem; margin: 0;
  color: var(--body);
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
  font-weight: 400; line-height: 1.6;
  letter-spacing: -0.01em;
}

/* ─── Grids ─── */
.grid { display: grid; gap: 1px; background: var(--rule); }
.grid > * { background: var(--paper); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ─── Cards — no border, just structure ─── */
.card {
  padding: 1.6rem 1.4rem 1.5rem;
  border-top: none;
  border-bottom: none;
}

.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { margin: 0.7rem 0 0; padding-left: 0; list-style: none; color: var(--body); }
.card ul li { margin-bottom: 0.4rem; padding-left: 1rem; position: relative; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 0.65em;
  width: 4px; height: 1px; background: var(--blue);
}

/* ─── Elevated cards ─── */
.value-switcher, .switch-panel, .accordion-item,
.booking-card-main, .booking-result,
.admin-shell > .card, .admin-extensions .card,
.booking-shell .card {
  border: 1px solid var(--rule);
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
  padding: clamp(1.2rem, 2.2vw, 1.8rem);
}

.tilt-card {
  transition: border-color 0.4s var(--ease);
}

.tilt-card:hover { border-color: var(--faint); }

/* ─── Service cards — quiet elegance ─── */
.service-grid { gap: 1px; background: var(--rule); }

.service-card {
  display: grid; gap: 0.6rem; position: relative;
  min-height: 20rem; align-content: end; overflow: hidden;
  border: none; border-radius: 0;
  background: var(--white);
  padding: 1.8rem 1.5rem;
  transition: background 0.4s var(--ease);
}

.service-card:hover { background: var(--wash); }

.service-card::before { display: none; }
.service-card > * { position: relative; z-index: 1; }

.service-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 500; letter-spacing: -0.02em; line-height: 0.96;
}

.service-head { display: inline-flex; align-items: center; gap: 0.5rem; }

.service-icon {
  width: 1.8rem; aspect-ratio: 1;
  border: 1px solid var(--rule);
  display: inline-grid; place-items: center;
  color: var(--blue); background: transparent;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em;
}

.service-meta {
  color: var(--muted); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}

/* ─── Solution grid ─── */
.home-solutions .section-head, .trust-section .section-head { margin-bottom: 1.4rem; }

.solution-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--rule);
}

.solution-tile {
  display: grid; align-content: start; gap: 0.75rem;
  min-height: 18rem;
  border: none; border-radius: 0;
  background: var(--white);
  padding: 1.5rem 1.3rem;
  transition: background 0.35s var(--ease);
}

.solution-tile:hover {
  transform: none;
  background: var(--wash);
}

.solution-kicker {
  color: var(--blue); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
}

.solution-link {
  align-self: end; width: fit-content;
  color: var(--black); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--black);
  padding-bottom: 0.1rem;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.solution-link:hover { color: var(--blue); border-color: var(--blue); }

/* ─── Trust grid ─── */
.trust-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--rule);
}

.trust-chip {
  display: grid; place-items: center; min-height: 6rem;
  border: none; border-radius: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 500; text-align: center; padding: 0.8rem;
  transition: background 0.35s var(--ease);
}

.trust-chip:hover { background: var(--wash); }

/* ─── Highlight box ─── */
.highlight-box {
  border-left: 2px solid var(--blue);
  background: transparent;
  padding: 0.7rem 0 0.7rem 1rem;
  margin: 0 0 1rem;
  color: var(--ink);
}

/* ─── Value switcher ─── */
.value-switcher { display: grid; gap: 0.8rem; }

.switch-controls {
  display: inline-flex; flex-wrap: wrap; gap: 0;
  border: 1px solid var(--rule); padding: 0;
}

.switch-btn {
  border: 0; background: transparent; color: var(--muted);
  font: inherit; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.switch-btn:hover { color: var(--black); }
.switch-btn.is-active { color: var(--white); background: var(--black); }

.switch-panels { display: grid; gap: 0.55rem; }

/* ─── Split / Timeline ─── */
.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--rule);
}

.split > * { background: var(--paper); }

.timeline { display: grid; gap: 0.8rem; }

.timeline-row {
  display: grid; grid-template-columns: auto 1fr;
  gap: 0.75rem; align-items: flex-start;
}

.step-dot {
  width: 1.7rem; aspect-ratio: 1;
  border: 1px solid var(--rule); border-radius: 0;
  color: var(--black); background: var(--white);
  display: grid; place-items: center;
  font-size: 0.68rem; font-weight: 700;
}


/* ═══════════════════════════════════════
   BUTTONS — Surgical precision
   ═══════════════════════════════════════ */
.btn {
  --btn-x: 0px; --btn-y: 0px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; border: 1px solid transparent;
  border-radius: 0;
  padding: 0.68rem 1.15rem;
  color: inherit; background: transparent;
  font: inherit; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer;
  transform: translate3d(var(--btn-x), var(--btn-y), 0);
  transition: transform 0.25s var(--ease-out), background 0.3s var(--ease),
    border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.btn-primary {
  color: var(--white); background: var(--black);
  border-color: var(--black);
}

.btn-primary:hover { background: var(--ink); }

.btn-ghost {
  border-color: var(--rule); color: var(--body);
}

.btn-ghost:hover { border-color: var(--black); color: var(--black); }

.btn:disabled { cursor: not-allowed; opacity: 0.4; }

/* ─── Focus ─── */
.btn:focus-visible, .menu-toggle:focus-visible,
.nav-links a:focus-visible, .accordion-trigger:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible,
.lang-link:focus-visible, .calendar-card:focus-visible,
.switch-btn:focus-visible, .booking-slot:focus-visible,
.admin-date-btn:focus-visible, .admin-slot-btn:focus-visible,
.admin-day-chip:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px;
}


/* ═══════════════════════════════════════
   ACCORDION — Clean lines
   ═══════════════════════════════════════ */
.accordion { display: grid; gap: 0; }

.accordion-item {
  padding: 1.1rem 1.2rem;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--rule);
  box-shadow: none;
  background: transparent;
}

.accordion-item:first-child { border-top: 1px solid var(--rule); }

.accordion-trigger {
  width: 100%; display: flex; justify-content: space-between;
  align-items: center; gap: 1.5rem; border: 0;
  background: transparent; color: var(--black);
  font: inherit; font-family: var(--serif);
  font-size: 1rem; font-weight: 500;
  text-align: left; cursor: pointer; padding: 0;
}

.accordion-trigger::after {
  content: "+"; flex-shrink: 0;
  width: 1.3rem; aspect-ratio: 1;
  border: none;
  display: inline-grid; place-items: center;
  color: var(--muted); font-family: var(--sans);
  font-size: 1.1rem; font-weight: 300; line-height: 1;
  transition: transform 0.3s var(--ease-out), color 0.3s var(--ease);
}

.accordion-trigger:hover::after { color: var(--black); }
.accordion-trigger[aria-expanded="true"]::after { transform: rotate(45deg); color: var(--blue); }

.accordion-panel {
  max-height: 0; opacity: 0; overflow: hidden; padding-top: 0;
  transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), padding-top 0.3s var(--ease);
}

.accordion-panel.is-open { opacity: 1; padding-top: 0.8rem; }
.panel-hidden { display: none; }


/* ═══════════════════════════════════════
   FORMS — Barely-there inputs
   ═══════════════════════════════════════ */
form, .booking-form { display: grid; gap: 0.8rem; }

label {
  color: var(--muted); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
}

input, textarea, select {
  width: 100%;
  border: none; border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent; color: var(--black);
  font: inherit; padding: 0.65rem 0;
  transition: border-color 0.3s var(--ease);
}

input:hover, textarea:hover, select:hover { border-color: var(--faint); }

input:focus, textarea:focus, select:focus {
  border-color: var(--black);
  box-shadow: none; outline: none;
}

textarea {
  min-height: 7rem; resize: vertical;
  border: 1px solid var(--rule);
  padding: 0.65rem 0.7rem;
}

textarea:focus { border-color: var(--black); }

select { cursor: pointer; }

.note { margin: 0; color: var(--muted); font-size: 0.76rem; }


/* ═══════════════════════════════════════
   BOOKING
   ═══════════════════════════════════════ */
.booking-shell {
  display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 1px;
  background: var(--rule);
}

.booking-shell > * { background: var(--paper); }

.booking-card-main, .booking-result { display: grid; gap: 0.85rem; }

.booking-stepper { display: flex; flex-wrap: wrap; gap: 0.3rem; }

.step-pill {
  border: 1px solid var(--rule); color: var(--muted);
  font-size: 0.56rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.2rem 0.55rem;
}

.step-pill.is-active { border-color: var(--black); color: var(--black); }

.booking-slot-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem;
}

.booking-slot {
  border: 1px solid var(--rule); background: transparent;
  color: var(--muted); font: inherit; font-size: 0.76rem; font-weight: 600;
  padding: 0.52rem 0.35rem; cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}

.booking-slot:hover { border-color: var(--black); color: var(--black); }

.booking-slot.is-selected {
  border-color: var(--black); color: var(--white);
  background: var(--black);
}

.booking-preview { border-top: 1px solid var(--rule); padding-top: 0.9rem; }
.booking-preview h4 { margin-bottom: 0.3rem; }
.booking-preview-line { margin: 0.14rem 0; font-size: 0.78rem; }

.booking-success {
  border-color: var(--blue-line);
}

.booking-success-head { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; }

.booking-check {
  width: 1.9rem; aspect-ratio: 1;
  display: grid; place-items: center;
  color: var(--white); background: var(--black);
  font-size: 0.65rem; font-weight: 700;
}

.booking-summary { margin: 0; color: var(--body); font-size: 0.8rem; }

.booking-meta {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 0.35rem; font-size: 0.8rem;
}

.booking-calendar-grid { display: grid; gap: 0.4rem; }

.calendar-card {
  display: block; border: 1px solid var(--rule);
  padding: 0.6rem 0.75rem; color: var(--body);
  font-size: 0.74rem; font-weight: 600;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.calendar-card:hover { border-color: var(--black); color: var(--black); }


/* ═══════════════════════════════════════
   ADMIN
   ═══════════════════════════════════════ */
.admin-shell { display: grid; gap: 1rem; }
.admin-status { margin-top: 0.35rem; min-height: 1.2rem; color: var(--muted); font-size: 0.76rem; }
.admin-status.is-error { color: var(--error); }
.admin-status.is-success { color: var(--success); }
.admin-login-form { max-width: 420px; }

.admin-toolbar {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 0.85rem;
  padding-bottom: 0.85rem; margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--rule);
}

.admin-toolbar-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.admin-layout { display: grid; grid-template-columns: 240px 1fr; gap: 1px; background: var(--rule); }
.admin-layout > * { background: var(--paper); }

.admin-date-list {
  max-height: 560px; overflow-y: auto; padding: 0.6rem;
  display: grid; gap: 0.35rem;
}

.admin-date-btn {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 0.5rem;
  border: 1px solid var(--rule); background: transparent;
  color: var(--body); font: inherit; font-size: 0.78rem; font-weight: 600;
  padding: 0.5rem 0.6rem; cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.admin-date-btn small { color: var(--muted); font-size: 0.64rem; }
.admin-date-btn:hover { border-color: var(--faint); }
.admin-date-btn.is-active { border-color: var(--black); color: var(--black); }

.admin-edit-panel {
  border: none; border-radius: 0;
  background: var(--white); padding: 1.2rem;
}

.admin-date-title { margin-bottom: 0.8rem; font-size: 1rem; }

.admin-slot-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.35rem;
}

.admin-slot-btn {
  border: 1px solid var(--rule); background: transparent;
  color: var(--muted); font: inherit; font-size: 0.74rem; font-weight: 600;
  padding: 0.4rem 0.2rem; cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.admin-slot-btn:hover { border-color: var(--black); }
.admin-slot-btn.is-active { border-color: var(--black); color: var(--white); background: var(--black); }

.admin-extensions { margin-top: 1.2rem; display: grid; gap: 1rem; }
.admin-inline-form { display: grid; gap: 0.6rem; margin-top: 0.7rem; }
.admin-rule-list { display: grid; gap: 0.48rem; margin-bottom: 0.8rem; }

.admin-rule-item {
  display: flex; justify-content: space-between; align-items: center;
  gap: 0.6rem; border: 1px solid var(--rule);
  padding: 0.5rem 0.6rem; background: var(--white);
}

.admin-rule-remove { white-space: nowrap; }
.admin-rule-builder { display: grid; gap: 0.7rem; }
.admin-rule-days { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.admin-day-chip {
  border: 1px solid var(--rule); background: transparent;
  color: var(--muted); font: inherit; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.04em; padding: 0.28rem 0.52rem; cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.admin-day-chip.is-active { border-color: var(--black); color: var(--white); background: var(--black); }

.admin-rule-fields {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55rem;
}

.admin-rule-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }


/* ═══════════════════════════════════════
   LEGAL
   ═══════════════════════════════════════ */
.legal-list { margin: 0; display: grid; gap: 0.3rem; }
.legal-list dt {
  margin-top: 0.5rem; color: var(--black);
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.legal-list dd { margin: 0; color: var(--body); }


/* ═══════════════════════════════════════
   FOOTER — Almost invisible
   ═══════════════════════════════════════ */
.footer { border-top: 1px solid var(--rule); background: transparent; }

.footer-wrap {
  min-height: 5.5rem; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 0.7rem; color: var(--muted); font-size: 0.72rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.footer-links a {
  transition: color 0.3s var(--ease);
}
.footer-links a:hover { color: var(--black); }


/* ═══════════════════════════════════════
   COOKIE BANNER — Monochrome slab
   ═══════════════════════════════════════ */
.cookie-banner {
  position: fixed; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 260;
  display: grid; gap: 0.65rem;
  border: 1px solid var(--ink);
  color: var(--faint); background: var(--black);
  padding: 1.1rem 1.2rem;
}

.cookie-banner p { margin: 0; color: var(--faint); font-size: 0.78rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.cookie-actions .btn-primary {
  background: var(--white); color: var(--black); border-color: var(--white);
}
.cookie-actions .btn-primary:hover { background: var(--wash); }

.cookie-actions .btn-ghost { border-color: rgba(200,200,194,0.25); color: var(--faint); }

.cookie-link { color: inherit; border-bottom: 1px solid var(--muted); font-size: 0.72rem; }


/* ═══════════════════════════════════════
   ANIMATIONS — Slow, deliberate
   ═══════════════════════════════════════ */
[data-animate] { opacity: 1; transform: none; }

.js [data-animate] {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.js [data-animate].is-visible { opacity: 1; transform: none; }
.is-hidden { display: none !important; }


/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1120px) {
  .metric-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-card:nth-child(2n) { border-right: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-layout { grid-template-columns: 210px 1fr; }
  .hero-stage { grid-template-columns: 1fr; }
  .hero-panel { border-right: 0; border-bottom: 1px solid var(--rule); }
  .hero-visual { min-height: 380px; }
  .solution-grid, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head h2 { max-width: 100%; }
}

@media (max-width: 920px) {
  .nav-wrap {
    grid-template-columns: auto auto;
    grid-template-areas: "brand toggle" "panel panel";
    align-items: center; gap: 0.85rem; padding: 0.7rem 0; min-height: 0;
  }
  .brand { grid-area: brand; }
  .menu-toggle { display: inline-flex; grid-area: toggle; }
  .nav-panel {
    grid-area: panel; display: none;
    border-top: 1px solid var(--rule); padding-top: 0.8rem; gap: 0.8rem;
  }
  .nav-panel.is-open { display: grid; }
  .nav-links { justify-content: flex-start; }
  .nav-actions { justify-content: flex-start; flex-wrap: wrap; }
  .booking-shell, .split, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .split > *, .grid > *, .booking-shell > * { background: var(--paper); }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-date-list { max-height: 220px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .page-main { padding-bottom: 5rem; }
  .hero { padding: clamp(2rem, 4vw, 3rem) 0; }
  h1 { line-height: 0.96; }
  .hero-actions { gap: 0.48rem; }
  .metric-wall { grid-template-columns: 1fr; }
  .metric-card { border-right: 0; border-bottom: 1px solid var(--rule); }
  .metric-card:last-child { border-bottom: 0; }
  .booking-slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-rule-fields { grid-template-columns: 1fr; }
  .cookie-banner { left: 0.6rem; right: 0.6rem; bottom: 0.6rem; }
  .hero-stage { min-height: 0; }
  .hero-panel { padding: 1.5rem 1.2rem; }
  .hero-home h1 { max-width: 13ch; font-size: clamp(2.3rem, 10vw, 3.6rem); }
  .hero-searchbar { grid-template-columns: 1fr; }
  .hero-searchbar .btn { min-width: 0; }
  .hero-visual { min-height: 280px; }
  .hero-visual-frame { width: 60%; height: 32%; }
  .solution-grid, .trust-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 1.4rem; padding-bottom: 1rem; }
  .section-head h2 { font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: 0.93; }
  .section-summary { font-size: 1rem; }
  .card { padding: 1.3rem 1rem; }
}

@media (max-width: 560px) {
  .container { width: min(1240px, 94vw); }
  .brand-mark { width: 2.1rem; height: 2.1rem; font-size: 1rem; }
  .brand-title { font-size: clamp(0.85rem, 5vw, 1.05rem); }
  .brand-sub { font-size: 0.56rem; }
  .btn { width: 100%; }
  .hero-actions .btn, .cookie-actions .btn { width: auto; }
  .admin-date-list { grid-template-columns: 1fr; }
  .admin-slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
