:root {
  --brown: #2d2119;
  --brown-deep: #392c24;
  --brown-soft: #463326;
  --gold: #c99659;
  --gold-light: #e5c398;
  --cream: #f3eee6;
  --paper: #faf7f2;
  --sand: #ded1bf;
  --ink: #211b17;
  --muted: #756b62;
  --line: rgba(45, 33, 25, .16);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--brown-deep);
  font-family: 'DM Sans', sans-serif;
}

body .site-header,
body .site-header.scrolled {
  background: #211915;
}

@media (max-width: 900px) {
  body .primary-nav {
    background: #211915;
  }
}

button,
input,
textarea { font: inherit; }

button { color: inherit; }

.booking-page {
  min-height: 100vh;
  padding: clamp(112px, 8vw, 138px) clamp(20px, 4.5vw, 72px) clamp(46px, 6vw, 90px);
  background:
    radial-gradient(circle at 9% 13%, rgba(201, 150, 89, .14), transparent 24%),
    radial-gradient(circle at 91% 82%, rgba(201, 150, 89, .08), transparent 26%),
    var(--brown-deep);
}

.booking-layout {
  width: min(1420px, 100%);
  margin: 0 auto;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(229, 195, 152, .17);
  box-shadow: 0 38px 110px rgba(0, 0, 0, .29);
}

.booking-intro {
  position: relative;
  min-height: 0;
  overflow: hidden;
  color: var(--ink);
  background: #f2ece4;
}

.booking-intro::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: clamp(52px, 5vw, 76px);
  left: 0;
  width: 3px;
  height: 72px;
  background: var(--gold);
}

.booking-copy {
  min-width: 0;
  padding: clamp(58px, 6vw, 86px) clamp(42px, 7vw, 104px) clamp(46px, 5vw, 72px);
  display: flex;
  flex-direction: column;
}

.booking-kicker,
.booking-location {
  margin: 0;
  color: #9a6a3d;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
}

.booking-intro h1 {
  margin: clamp(36px, 3.5vw, 50px) 0 25px;
  color: #2b231e;
  font: 500 clamp(64px, 6.7vw, 96px) / .92 'Marcellus', serif;
  letter-spacing: -.055em;
}

.booking-intro h1 em,
.panel-heading h2 em,
.booking-success h2 em {
  color: #a87546;
  font-weight: 500;
}

.booking-lead {
  max-width: 650px;
  margin: 0;
  color: #6e6259;
  font-size: 13px;
  line-height: 1.75;
}

.meeting-notes {
  margin: clamp(32px, 3.3vw, 46px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(45, 33, 25, .17);
  border-bottom: 1px solid rgba(45, 33, 25, .12);
}

.meeting-notes > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 20px clamp(18px, 2.2vw, 34px);
  border-bottom: 0;
}

.meeting-notes > div:first-child { padding-left: 0; }

.meeting-notes > div:not(:last-child) { border-right: 1px solid rgba(45, 33, 25, .12); }

.meeting-notes > div > span {
  padding-top: 3px;
  color: #a87546;
  font: 500 10px 'DM Sans', sans-serif;
  letter-spacing: .12em;
}

.meeting-notes p { margin: 0; }

.meeting-notes strong,
.meeting-notes small { display: block; }

.meeting-notes strong {
  color: #302720;
  font: 500 clamp(15px, 1.3vw, 18px) 'Marcellus', serif;
  letter-spacing: .01em;
}

.meeting-notes small {
  margin-top: 4px;
  color: #84776d;
  font-size: 10px;
  line-height: 1.55;
}

.booking-location {
  margin-top: 28px;
  color: #8d8076;
}

.booking-workspace {
  position: relative;
  min-width: 0;
  min-height: 710px;
  padding: clamp(34px, 4vw, 54px) clamp(36px, 6vw, 94px) clamp(56px, 6vw, 86px);
  background:
    linear-gradient(rgba(45, 33, 25, .022) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 62px;
}

.booking-workspace::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 150, 89, .08) 50%, transparent 85%);
}

.workspace-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.booking-progress {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.booking-progress li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a69d95;
  transition: color .25s ease;
}

.progress-button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: default;
}

.progress-button:disabled { opacity: 1; }

.booking-progress li.is-complete .progress-button:not(:disabled) { cursor: pointer; }

.booking-progress li.is-complete .progress-button:not(:disabled):hover small { color: var(--brown); }

.progress-button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

.booking-progress li:not(:last-child)::after {
  content: "";
  width: clamp(14px, 2vw, 30px);
  height: 1px;
  margin: 0 5px;
  background: var(--line);
}

.booking-progress span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 9px;
}

.booking-progress small {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.booking-progress li.is-active,
.booking-progress li.is-complete { color: #805d3d; }

.booking-progress li.is-complete span {
  color: #fff;
  border-color: #805d3d;
  background: #805d3d;
}

.selection-ticket {
  min-width: 190px;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  text-align: right;
}

.selection-ticket span,
.selection-ticket strong,
.selection-ticket small { display: block; }

.selection-ticket span {
  color: #927352;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .18em;
}

.selection-ticket strong {
  margin-top: 6px;
  font: 500 14px 'Marcellus', serif;
}

.selection-ticket small {
  margin-top: 4px;
  color: #8c837b;
  font-size: 9px;
}

.appointment-flow { padding-top: 8px; }

.flow-panel[hidden],
.booking-success[hidden] { display: none; }

.flow-panel.is-active,
.booking-success.is-active {
  animation: panel-in .42s cubic-bezier(.22, .8, .22, 1) both;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.flow-panel[data-step="1"]:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(270px, .72fr) minmax(510px, 1.28fr);
  grid-template-rows: auto auto auto;
  align-items: start;
  gap: 0 clamp(60px, 8vw, 125px);
}

.flow-panel[data-step="1"] .panel-heading {
  grid-column: 1;
  grid-row: 1;
  position: static;
  padding-top: 12px;
}

.flow-panel[data-step="1"] .workspace-top,
.flow-panel[data-step="2"] .workspace-top,
.flow-panel[data-step="3"] .workspace-top {
  grid-column: 1;
  display: block;
  margin-top: 6px;
  padding: 23px 0 0;
  border-bottom: 0;
}

.flow-panel[data-step="1"] .workspace-top { grid-row: 2; }

.flow-panel[data-step="1"] .workspace-top .selection-ticket,
.flow-panel[data-step="2"] .workspace-top .selection-ticket,
.flow-panel[data-step="3"] .workspace-top .selection-ticket {
  min-width: 0;
  margin-top: 24px;
  padding: 15px 0 4px 16px;
  text-align: left;
}

.flow-panel[data-step="1"] .calendar-shell {
  grid-column: 2;
  grid-row: 1 / 3;
}

.flow-panel[data-step="1"] .calendar-note {
  grid-column: 2;
  grid-row: 3;
}

.flow-panel[data-step="2"]:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(270px, .72fr) minmax(510px, 1.28fr);
  grid-template-rows: auto auto auto auto;
  align-items: start;
  gap: 0 clamp(60px, 8vw, 125px);
}

.flow-panel[data-step="2"] .back-button {
  grid-column: 1 / -1;
  justify-self: start;
}

.flow-panel[data-step="2"] .panel-heading {
  grid-column: 1;
  grid-row: 2;
  padding-top: 10px;
}

.flow-panel[data-step="2"] .workspace-top { grid-row: 3; }

.flow-panel[data-step="2"] .time-grid {
  grid-column: 2;
  grid-row: 2 / 4;
}

.flow-panel[data-step="2"] .time-zone {
  grid-column: 2;
  grid-row: 4;
}

.flow-panel[data-step="3"]:not([hidden]) {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(270px, .72fr) minmax(510px, 1.28fr);
  grid-template-rows: auto auto auto auto auto auto auto auto;
  align-items: start;
  gap: 0 clamp(60px, 8vw, 125px);
}

.flow-panel[data-step="3"] .back-button {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: start;
}

.flow-panel[data-step="3"] .panel-heading {
  grid-column: 1;
  grid-row: 2;
  padding-top: 10px;
}

.flow-panel[data-step="3"] .workspace-top { grid-row: 3; }

.flow-panel[data-step="3"] .details-grid {
  grid-column: 2;
  grid-row: 2;
}

.flow-panel[data-step="3"] .project-select-field {
  grid-column: 2;
  grid-row: 3;
}

.flow-panel[data-step="3"] .detail-field-wide {
  grid-column: 2;
  grid-row: 4;
}

.flow-panel[data-step="3"] .privacy-check {
  grid-column: 2;
  grid-row: 5;
}

.flow-panel[data-step="3"] .consent-error {
  grid-column: 2;
  grid-row: 6;
}

.flow-panel[data-step="3"] .complete-button {
  grid-column: 2;
  grid-row: 7;
}

.flow-panel[data-step="3"] .form-status {
  grid-column: 2;
  grid-row: 8;
}

.panel-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-number {
  color: #9b744b;
  font-size: 9px;
  letter-spacing: .13em;
}

.panel-heading > div p {
  margin: 0;
  color: #8e7964;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .17em;
}

.panel-heading h2 {
  margin: 16px 0 31px;
  font: 500 clamp(41px, 4.1vw, 61px) / .97 'Marcellus', serif;
  letter-spacing: -.045em;
}

.panel-heading h2 em { color: #9b744b; }

.compact-heading h2 { margin-bottom: 12px; }

.panel-description {
  margin: 0 0 31px;
  color: var(--muted);
  font-size: 12px;
}

.calendar-shell {
  padding: 21px clamp(12px, 2.4vw, 32px) 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .43);
}

.calendar-toolbar {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  margin-bottom: 22px;
}

.calendar-toolbar h3 {
  margin: 0;
  text-align: center;
  font: 500 20px 'Marcellus', serif;
  text-transform: capitalize;
}

.month-button {
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}

.month-arrow {
  display: block;
  padding-bottom: 3px;
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.month-arrow-prev { transform: scaleX(-1); }

.month-button:hover:not(:disabled) {
  border-color: #95704d;
  background: #fff;
}

.month-button:disabled {
  opacity: .25;
  cursor: not-allowed;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  padding-bottom: 8px;
  color: #9c9289;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day,
.calendar-empty {
  aspect-ratio: 1.23;
  min-height: 42px;
}

.calendar-day {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.calendar-day::after {
  content: "";
  position: absolute;
  bottom: 7px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.calendar-day:hover:not(:disabled) {
  color: #fff;
  background: #8c6744;
  transform: translateY(-1px);
}

.calendar-day:hover::after,
.calendar-day.is-selected::after { background: #fff; }

.calendar-day.is-today { box-shadow: inset 0 0 0 1px var(--gold); }

.calendar-day.is-selected {
  color: #fff;
  background: var(--brown);
}

.calendar-day:disabled {
  color: #c5bdb6;
  cursor: not-allowed;
  text-decoration: line-through;
}

.calendar-day:disabled::after { display: none; }

.calendar-note,
.time-zone {
  margin: 14px 0 0;
  color: #8f867e;
  font-size: 9px;
  line-height: 1.6;
}

.calendar-note i {
  width: 5px;
  height: 5px;
  display: inline-block;
  margin: 0 7px 1px 0;
  border-radius: 50%;
  background: var(--gold);
}

.back-button,
.new-booking {
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: #8d6946;
  background: transparent;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
}

.back-button { margin-bottom: 32px; }

.time-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.time-option {
  min-height: 82px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .42);
  cursor: pointer;
  transition: color .22s ease, border-color .22s ease, background-color .22s ease, transform .22s ease;
}

.time-option span {
  font: 500 25px 'Marcellus', serif;
}

.time-option small {
  color: #998f86;
  font-size: 8px;
  letter-spacing: .09em;
}

.time-option:hover,
.time-option.is-selected {
  color: #fff;
  border-color: var(--brown);
  background: var(--brown);
  transform: translateY(-2px);
}

.time-option:hover small,
.time-option.is-selected small { color: #c7b9ad; }

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 28px;
}

.detail-field { position: relative; }

.detail-field:nth-child(3) { grid-column: 1 / -1; }

.detail-field label,
.project-select-field > label {
  display: block;
  margin-bottom: 10px;
  color: #695e55;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.detail-field label span,
.project-select-field > label span { color: #a3503e; }

.detail-field input,
.detail-field textarea {
  width: 100%;
  padding: 16px 17px;
  border: 1px solid rgba(45, 33, 25, .22);
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: rgba(255, 255, 255, .4);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.detail-field input {
  min-height: 58px;
  font: 500 17px 'Marcellus', serif;
}

.detail-field textarea {
  min-height: 104px;
  resize: vertical;
  font-size: 12px;
  line-height: 1.6;
}

.detail-field input::placeholder,
.detail-field textarea::placeholder {
  color: #aaa199;
  opacity: 1;
}

.detail-field input:focus,
.detail-field textarea:focus {
  border-color: #8a6240;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 0 0 3px rgba(201, 150, 89, .1);
}

.detail-field.is-invalid input { border-color: #a3503e; }

.field-error,
.choice-error,
.consent-error {
  display: block;
  min-height: 15px;
  padding-top: 4px;
  color: #a3503e;
  font-size: 8px;
}

.project-select-field { margin: 26px 0 5px; }

.select-shell { position: relative; }

.select-shell select {
  width: 100%;
  min-height: 62px;
  padding: 0 54px 0 17px;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: rgba(255, 255, 255, .42);
  font: 500 15px 'Marcellus', serif;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}

.select-shell select:focus {
  border-color: #8a6240;
  background: rgba(255, 255, 255, .75);
}

.select-shell > span {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #815f41;
  font-size: 11px;
  transform: translateY(-50%);
  pointer-events: none;
}

.project-select-field.is-invalid .select-shell select { border-color: #a3503e; }

.detail-field-wide { margin-top: 12px; }

.privacy-check {
  position: relative;
  display: block;
  margin-top: 17px;
  color: #6f665e;
  font-size: 9px;
  line-height: 1.55;
  cursor: pointer;
}

.privacy-check input {
  position: absolute;
  opacity: 0;
}

.privacy-check span {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.privacy-check a {
  color: #66492f;
  text-decoration: underline;
  text-decoration-color: rgba(102, 73, 47, .42);
  text-underline-offset: 3px;
}

.privacy-check i {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #9d8f82;
  font-style: normal;
}

.privacy-check input:checked + span i {
  border-color: #775539;
  background: #775539;
}

.privacy-check input:checked + span i::after {
  content: "✓";
  color: #fff;
  font-size: 9px;
}

.complete-button {
  width: 100%;
  min-height: 72px;
  margin-top: 9px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  color: #fff;
  background: var(--brown);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.complete-button:hover {
  background: #765537;
  transform: translateY(-2px);
}

.complete-button > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  font: 500 19px 'Marcellus', serif;
}

.complete-button small {
  color: #baa99a;
  font: 600 7px 'DM Sans', sans-serif;
  letter-spacing: .15em;
}

.complete-button b {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  font-weight: 400;
}

.form-status {
  min-height: 17px;
  margin: 8px 0 0;
  color: #9a493a;
  font-size: 9px;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.booking-success {
  padding: clamp(70px, 10vw, 145px) 2vw 50px;
  text-align: center;
}

.success-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 25px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #79593d;
  font: 400 22px 'DM Sans', sans-serif;
}

.booking-success > p:first-of-type {
  margin: 0;
  color: #8a6a4c;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .17em;
}

.booking-success h2 {
  margin: 18px 0 31px;
  font: 500 clamp(46px, 5vw, 70px) / .98 'Marcellus', serif;
  letter-spacing: -.045em;
}

.booking-success h2 em { color: #966e49; }

.success-appointment {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.success-appointment span { font-size: 12px; }

.success-appointment strong {
  padding-left: 20px;
  border-left: 1px solid var(--line);
  font: 500 23px 'Marcellus', serif;
}

.success-copy {
  max-width: 450px;
  margin: 25px auto 26px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 1080px) {
  .booking-page { padding-inline: 24px; }

  .booking-intro h1 { font-size: clamp(52px, 6vw, 66px); }

  .flow-panel[data-step="1"]:not([hidden]),
  .flow-panel[data-step="2"]:not([hidden]),
  .flow-panel[data-step="3"]:not([hidden]) {
    grid-template-columns: minmax(230px, .65fr) minmax(450px, 1.35fr);
    gap: 0 50px;
  }
}

@media (max-width: 900px) {
  .booking-intro { min-height: auto; }

  .booking-copy {
    padding: 52px 48px 44px;
  }

  .booking-intro h1 {
    margin-top: 38px;
    font-size: clamp(56px, 9vw, 76px);
  }

  .booking-lead { max-width: 620px; }

  .meeting-notes {
    width: 100%;
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .meeting-notes > div {
    grid-template-columns: 28px 1fr;
    gap: 10px;
    padding: 20px 14px;
    border-bottom: 0;
  }

  .meeting-notes > div:first-child { padding-left: 0; }

  .meeting-notes > div:not(:last-child) { border-right: 1px solid rgba(45, 33, 25, .12); }

  .meeting-notes strong { font-size: 15px; }

  .booking-location { margin-top: 28px; }

  .flow-panel[data-step="1"]:not([hidden]),
  .flow-panel[data-step="2"]:not([hidden]),
  .flow-panel[data-step="3"]:not([hidden]) {
    display: block;
  }

  .flow-panel[data-step="1"] .panel-heading {
    position: static;
    padding-top: 0;
  }

  .flow-panel[data-step="1"] .calendar-shell,
  .flow-panel[data-step="2"] .time-grid { margin-top: 30px; }

  .flow-panel[data-step="3"] .details-grid { margin-top: 38px; }
}

@media (max-width: 700px) {
  .booking-page { padding: 94px 12px 30px; }

  .booking-layout { border: 0; }

  .booking-intro {
    min-height: auto;
  }

  .booking-intro::before { display: none; }

  .booking-copy {
    padding: 35px 27px 40px;
  }

  .booking-intro h1 {
    margin: 33px 0 22px;
    font-size: clamp(46px, 13.4vw, 60px);
  }

  .meeting-notes {
    display: block;
    margin-top: 32px;
    padding: 0;
  }

  .meeting-notes > div {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(45, 33, 25, .12);
    padding-inline: 0;
  }

  .booking-location { margin-top: 22px; }

  .booking-workspace { padding: 30px 19px 48px; }

  .workspace-top {
    display: block;
    padding-bottom: 24px;
  }

  .booking-progress { justify-content: space-between; }

  .booking-progress li { flex: 1; }

  .booking-progress li:not(:last-child)::after { flex: 1; }

  .selection-ticket {
    margin-top: 22px;
    padding: 11px 0 11px 14px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .appointment-flow { padding-top: 35px; }

  .panel-heading h2 { font-size: clamp(40px, 12vw, 52px); }

  .calendar-shell { padding-inline: 7px; }

  .calendar-day,
  .calendar-empty {
    min-height: 40px;
    aspect-ratio: 1;
  }

  .time-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .details-grid { grid-template-columns: 1fr; }

  .detail-field:nth-child(3) { grid-column: auto; }

  .success-appointment {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .success-appointment strong {
    padding: 10px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 420px) {
  .booking-progress small { display: none; }

  .calendar-weekdays { font-size: 7px; }

  .calendar-day { font-size: 11px; }

  .time-option { min-height: 72px; }

  .time-option span { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .flow-panel.is-active,
  .booking-success.is-active { animation: none; }

  .calendar-day,
  .time-option,
  .complete-button { transition: none; }
}
