/* ============================================================
   IFP Brüggen — Design System
   Modern, calm, editorial. Sage/forest palette by default.
   ============================================================ */

:root {
  /* SAGE (default) — warm cream, deep forest, sage, beige */
  --bg: #f4f6f4;
  --bg-soft: #eceeea;
  --bg-card: #ffffff;
  --ink: #1f2a24;
  --ink-soft: #4a5550;
  --ink-mute: #87908a;
  --rule: #d8ddd6;
  --primary: #2d4a3e;
  --primary-ink: #1a2e25;
  --secondary: #7fa896;
  --accent: #e8d5b7;
  --accent-deep: #c9a87a;

  /* Type */
  --font-display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --font-body: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  /* Spacing */
  --container: 1240px;
  --pad-x: clamp(20px, 4vw, 48px);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
}

/* STONE variant */
[data-scheme="stone"] {
  --bg: #faf7f2;
  --bg-soft: #f1ece2;
  --ink: #2a2520;
  --ink-soft: #574d44;
  --ink-mute: #8c8278;
  --rule: #e3dccf;
  --primary: #5a4a3a;
  --primary-ink: #3d3128;
  --secondary: #c9a984;
  --accent: #8b9d83;
  --accent-deep: #6e8068;
}

/* INDIGO variant */
[data-scheme="indigo"] {
  --bg: #f5f6f9;
  --bg-soft: #eaecf2;
  --ink: #1a1f2e;
  --ink-soft: #404862;
  --ink-mute: #7e859a;
  --rule: #d4d8e2;
  --primary: #2a3556;
  --primary-ink: #19213a;
  --secondary: #7c8cb0;
  --accent: #d9b97e;
  --accent-deep: #b89352;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--ink);
}

h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }

p { color: var(--ink-soft); text-wrap: pretty; max-width: 62ch; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  line-height: 1;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav a {
  font-size: 14.5px;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.active { color: var(--primary); }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--primary);
}

.branch-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: all .2s;
  white-space: nowrap;
}
.branch-switch:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.branch-switch__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--secondary);
}

/* burger for mobile */
.burger {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 999px;
  width: 40px; height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--ink);
  position: relative;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--ink);
}
.burger span::before { top: -5px; }
.burger span::after  { top:  5px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s cubic-bezier(.2,.8,.2,1);
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--primary-ink);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--bg);
}
.btn--soft {
  background: var(--bg-soft);
  color: var(--ink);
  border-color: var(--rule);
}
.btn--soft:hover { background: var(--accent); }

.btn__arrow {
  display: inline-block;
  transition: transform .25s;
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ===================== EYEBROW & DIVIDER ===================== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ink-mute);
  display: inline-block;
}

.hairline { height: 1px; background: var(--rule); border: 0; }

/* ===================== HERO ===================== */
.hero {
  padding-block: clamp(60px, 10vh, 120px) clamp(60px, 10vh, 120px);
  position: relative;
}

.hero--editorial .hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
.hero--editorial .hero__copy h1 {
  font-style: italic;
  letter-spacing: -0.02em;
}
.hero--editorial .hero__copy h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero__lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 28px;
  max-width: 48ch;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.hero__meta strong {
  color: var(--ink);
  font-weight: 500;
  display: block;
  font-family: var(--font-body);
  letter-spacing: normal;
  text-transform: none;
  font-size: 15px;
  margin-top: 6px;
}

.hero__cta {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero__portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
}
.hero__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(.95);
}
.hero__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(45,74,62,.12));
  pointer-events: none;
}

.hero__caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 12px;
}

/* Hero variant: full-bleed */
.hero--bleed { padding-block: 0; }
.hero--bleed .hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  min-height: 86vh;
  align-items: end;
}
.hero--bleed .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero--bleed .hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero--bleed .hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
              rgba(31,42,36,0.15) 0%,
              rgba(31,42,36,0.0) 35%,
              rgba(31,42,36,0.6) 90%);
}
.hero--bleed .hero__copy {
  position: relative;
  z-index: 1;
  padding: 60px var(--pad-x) 64px;
  color: #f6f3ec;
  max-width: 900px;
}
.hero--bleed .hero__copy h1 { color: #f6f3ec; font-style: italic; }
.hero--bleed .hero__copy h1 em { color: var(--accent); font-style: normal; }
.hero--bleed .hero__copy .hero__lede { color: rgba(246,243,236,.85); }
.hero--bleed .hero__copy .eyebrow { color: rgba(246,243,236,.7); }
.hero--bleed .hero__copy .eyebrow::before { background: rgba(246,243,236,.7); }

/* Hero variant: type-led */
.hero--type {
  padding-block: clamp(80px, 14vh, 160px) clamp(60px, 8vh, 100px);
}
.hero--type .hero__grid { display: block; }
.hero--type h1 {
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  line-height: 1;
  font-style: italic;
  max-width: 16ch;
}
.hero--type h1 em { font-style: normal; color: var(--primary); }
.hero--type .hero__after {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: end;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.hero--type .hero__thumb {
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-soft);
}
.hero--type .hero__thumb img { width:100%; height:100%; object-fit: cover; }

/* ===================== SECTIONS ===================== */
section { position: relative; }
.section { padding-block: clamp(70px, 10vh, 120px); }
.section--alt { background: var(--bg-soft); }
.section--dark {
  background: var(--primary);
  color: var(--bg);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--bg); }
.section--dark p { color: rgba(255,255,255,.85); }
.section--dark .eyebrow { color: rgba(255,255,255,.7); }
.section--dark .eyebrow::before { background: rgba(255,255,255,.7); }

.section__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}
.section__head h2 { max-width: 16ch; }
.section__head .lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 50ch;
}

/* ===================== PROFILE STRIP ===================== */
.profile {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.profile__img {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.profile__img img { width:100%; height:100%; object-fit: cover; }

.profile__copy h2 { margin-bottom: 24px; }
.profile__copy p + p { margin-top: 18px; }

.profile__sig {
  margin-top: 32px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--primary);
}
.profile__sig small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ===================== SERVICES ===================== */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service {
  background: var(--bg);
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background .25s;
  min-height: 320px;
}
.service:hover { background: var(--bg-soft); }
.service__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}
.service h3 {
  margin-top: 18px;
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-style: italic;
}
.service p {
  margin-top: 14px;
  color: var(--ink-soft);
  flex: 1;
}
.service__link {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  transition: gap .2s;
}
.service__link::after {
  content: "→";
  transition: transform .2s;
}
.service:hover .service__link::after { transform: translateX(4px); }

/* ===================== INFO BAND ===================== */
.band {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 60px;
  align-items: start;
}
.band h2 { color: var(--bg); font-style: italic; }
.band__body { padding-top: 8px; }

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--ink);
  color: rgba(244,246,244,.8);
  padding: 80px 0 32px;
}
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,246,244,.55);
  margin-bottom: 16px;
  font-weight: 400;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.site-footer__grid p, .site-footer__grid a {
  color: rgba(244,246,244,.8);
  font-size: 14px;
  line-height: 1.7;
}
.site-footer__grid a:hover { color: var(--accent); }
.site-footer__brand {
  font-family: var(--font-display);
  font-size: 26px;
  color: #f4f6f4;
  margin-bottom: 14px;
  font-style: italic;
  display: block;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,246,244,.5);
}

/* ===================== BOOKING / FORM ===================== */
.booking {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.booking__shell {
  padding: clamp(28px, 4vw, 52px);
}

.stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.stepper__dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  border: 1px solid var(--rule);
  color: var(--ink-mute);
  background: var(--bg);
  transition: all .25s;
}
.stepper__dot.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg);
}
.stepper__dot.is-done {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--bg);
}
.stepper__dot.is-done span { content: "✓"; }
.stepper__dot.is-done::before {
  content: "✓";
}
.stepper__dot.is-done span { display: none; }

.step h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }

.step__nav {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
  align-items: center;
}

/* Service picker */
.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.service-pick {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: all .2s;
  color: var(--ink);
}
.service-pick:hover { border-color: var(--ink-soft); background: var(--bg-soft); }
.service-pick.is-selected {
  border-color: var(--primary);
  background: color-mix(in oklab, var(--primary) 8%, var(--bg));
}
.service-pick__body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.service-pick__label { font-weight: 500; color: var(--ink); }
.service-pick__desc {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; color: var(--ink-mute); text-transform: uppercase;
}
.service-pick__check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg);
  display: grid; place-items: center;
  font-size: 12px;
  opacity: 0;
  transition: opacity .2s;
}
.service-pick.is-selected .service-pick__check { opacity: 1; }

/* Hausbesuch addon */
.hausbesuch-addon {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  margin-top: 12px;
  background: var(--bg);
  border: 1px dashed var(--rule);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all .2s;
}
.hausbesuch-addon:hover { border-color: var(--ink-soft); background: var(--bg-soft); }
.hausbesuch-addon.is-selected {
  border: 1px solid var(--accent-deep);
  background: color-mix(in oklab, var(--accent) 40%, var(--bg));
}
.hausbesuch-addon input {
  margin-top: 4px;
  accent-color: var(--primary);
  width: 18px; height: 18px;
  flex: none;
}
.hausbesuch-addon__body { display: flex; flex-direction: column; gap: 4px; }
.hausbesuch-addon__label { font-weight: 500; color: var(--ink); }
.hausbesuch-addon__desc { font-size: 14px; color: var(--ink-soft); }

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field__req { color: var(--primary); }
.field__opt { text-transform: none; letter-spacing: 0; font-family: var(--font-body); color: var(--ink-mute); }

.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 15%, transparent);
}
.field textarea { resize: vertical; min-height: 100px; }

.gdpr {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 16px;
  background: var(--bg-soft);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.gdpr input { margin-top: 3px; accent-color: var(--primary); }
.gdpr a { color: var(--primary); text-decoration: underline; }

/* Availability grid */
.avail {
  margin-top: 28px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
  user-select: none;
  background: var(--bg);
}
.avail__head {
  display: grid;
  grid-template-columns: 80px 110px repeat(5, 1fr);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--rule);
}
.avail__corner {
  padding: 10px 12px;
  display: flex;
  align-items: center;
}
.avail__day-head--daily {
  background: color-mix(in oklab, var(--secondary) 18%, var(--bg-soft));
  color: var(--primary);
  font-weight: 500;
}
.avail__day-head {
  padding: 12px 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  border-left: 1px solid var(--rule);
}
.avail__body {
  display: grid;
  grid-template-columns: 80px 110px repeat(5, 1fr);
  position: relative;
}
.avail__hours {
  border-right: 1px solid var(--rule);
  padding-top: 0;
}
.avail__hour {
  height: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-mute);
  padding-left: 12px;
  display: flex;
  align-items: center;
  border-bottom: 1px dashed transparent;
}
.avail__hour--half { color: transparent; }
.avail__col {
  position: relative;
  border-left: 1px solid var(--rule);
}
.avail__col--daily {
  background: color-mix(in oklab, var(--secondary) 8%, var(--bg));
  border-right: 1px dashed var(--rule);
}
.avail__cell.is-from-daily {
  background: color-mix(in oklab, var(--secondary) 22%, transparent);
}
.avail__cell.is-preferred.is-daily {
  background: color-mix(in oklab, var(--secondary) 55%, var(--bg));
}
.avail__cell {
  height: 14px;
  border-bottom: 1px solid color-mix(in oklab, var(--rule) 50%, transparent);
  cursor: crosshair;
  transition: background .12s;
}
.avail__cell:hover { background: color-mix(in oklab, var(--primary) 8%, transparent); }
.avail__cell.is-highlight { background: color-mix(in oklab, var(--primary) 25%, transparent); }
.avail__cell.is-blocked {
  background: color-mix(in oklab, var(--primary) 65%, var(--bg));
  cursor: pointer;
}
.avail__cell.is-blocked.is-daily {
  background: color-mix(in oklab, var(--accent-deep) 75%, var(--bg));
}
.avail__cell.is-preferred {
  background: color-mix(in oklab, var(--secondary) 65%, var(--bg));
  cursor: pointer;
}

.avail__chip {
  position: absolute;
  left: 4px; right: 4px;
  border-radius: 6px;
  background: var(--primary);
  color: var(--bg);
  border: 0;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 4px 6px;
  text-align: left;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.avail__chip--daily {
  background: var(--accent-deep);
}
.avail__chip--preferred {
  background: var(--secondary);
  color: var(--primary-ink);
}
.avail__chip:hover { filter: brightness(1.08); }

.legend-swatch {
  width: 14px; height: 14px; border-radius: 3px; display: inline-block;
}
.legend-swatch--block { background: var(--primary); }
.legend-swatch--daily { background: var(--accent-deep); }
.legend-swatch--preferred { background: var(--secondary); }

/* Confirmation */
.step--confirm { text-align: center; padding: 20px 0; }
.step--confirm h2 { margin-inline: auto; }
.step--confirm p { margin-inline: auto; }
.confirm-mark {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg);
  font-size: 28px;
  display: grid; place-items: center;
  margin: 0 auto 20px;
  animation: pop .5s cubic-bezier(.2,.8,.2,1);
}
@keyframes pop {
  from { transform: scale(.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.summary {
  margin-top: 32px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  text-align: left;
  max-width: 480px;
  margin-inline: auto;
}
.summary__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.summary__row:last-child { border-bottom: 0; }
.summary__row span { color: var(--ink-mute); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; align-self: center; }
.summary__row strong { color: var(--ink); font-weight: 500; }

@media (max-width: 720px) {
  .service-list, .form-grid { grid-template-columns: 1fr; }
  .avail__head, .avail__body { grid-template-columns: 56px 90px repeat(5, 1fr); }
  .avail__corner { font-size: 9px; }
}

/* ===================== UTILITIES ===================== */
.fade-in { opacity: 0; transform: translateY(12px); animation: fadeUp .7s cubic-bezier(.2,.8,.2,1) forwards; }
.fade-in.delay-1 { animation-delay: .1s; }
.fade-in.delay-2 { animation-delay: .2s; }
.fade-in.delay-3 { animation-delay: .3s; }
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 920px) {
  .hero--editorial .hero__grid { grid-template-columns: 1fr; }
  .hero--type .hero__after { grid-template-columns: 1fr; }
  .section__head { grid-template-columns: 1fr; gap: 24px; }
  .profile { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; gap: 24px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .branch-switch { display: none; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .site-nav { display: none; }
  .burger { display: inline-flex; }
  .site-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px var(--pad-x);
  }
  .site-nav.is-open a { padding: 12px 0; width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; }
}
