@charset "UTF-8";

/* Contact-page consultation calendar. Kept isolated from global studio rules. */
.consultation-section {
  --booking-ink: #181a1d;
  --booking-soft: #4e565e;
  --booking-faint: #65717a;
  --booking-paper: #ffffff;
  --booking-mist: #f4f6f7;
  --booking-cool: #e8edf2;
  --booking-slate: #506c83;
  --booking-slate-deep: #354c60;
  --booking-accent: #b9d7e8;
  background: var(--booking-mist);
  color: var(--booking-ink);
}

.consultation-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .72fr);
  gap: clamp(40px, 8vw, 118px);
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.consultation-heading .section-title {
  max-width: 850px;
}

.consultation-heading-copy > p {
  margin: 0;
  color: var(--booking-soft);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
}

.consultation-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid rgba(24, 26, 29, .12);
  border-radius: 14px;
  background: rgba(24, 26, 29, .12);
}

.consultation-facts > span {
  min-width: 0;
  padding: 14px 12px;
  background: rgba(255, 255, 255, .72);
}

.consultation-facts b,
.consultation-facts small {
  display: block;
}

.consultation-facts b {
  overflow-wrap: anywhere;
  color: var(--booking-ink);
  font: 500 12px/1.35 "IBM Plex Mono", monospace;
}

.consultation-facts small {
  margin-top: 6px;
  color: var(--booking-faint);
  font-size: 11px;
  line-height: 1.35;
}

.booking-card {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(520px, 1.22fr);
  min-height: 630px;
  overflow: hidden;
  border: 1px solid rgba(24, 26, 29, .12);
  border-radius: 28px;
  background: var(--booking-paper);
  box-shadow: 0 28px 80px rgba(24, 26, 29, .08);
}

.booking-overview {
  position: relative;
  padding: clamp(34px, 4.5vw, 62px);
  overflow: hidden;
  background: var(--booking-slate-deep);
  color: #fff;
}

.booking-overview::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -120px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255, 255, 255, .035), 0 0 0 96px rgba(255, 255, 255, .025);
  pointer-events: none;
}

.booking-overview-kicker,
.booking-calendar-label {
  margin: 0 0 15px;
  font: 500 10px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.booking-overview-kicker {
  color: rgba(255, 255, 255, .66);
}

.booking-overview h3 {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 0;
  font-size: clamp(30px, 3.1vw, 46px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.booking-steps {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  margin: clamp(48px, 6vw, 78px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.booking-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 21px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.booking-steps li > span {
  color: var(--booking-accent);
  font: 500 10px/1.6 "IBM Plex Mono", monospace;
  letter-spacing: .08em;
}

.booking-steps strong {
  display: block;
  font-size: 15px;
  font-weight: 650;
}

.booking-steps p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, .67);
  font-size: 13px;
  line-height: 1.5;
}

.booking-calendar-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(30px, 4.5vw, 62px);
}

.booking-calendar-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.booking-calendar-label {
  color: var(--booking-slate);
}

.booking-calendar-toolbar h3 {
  min-height: 36px;
  margin: 0;
  color: var(--booking-ink);
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-transform: capitalize;
}

.booking-calendar-nav {
  display: flex;
  gap: 9px;
}

.booking-calendar-nav button,
.booking-dialog-close {
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 26, 29, .14);
  background: #fff;
  color: var(--booking-ink);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.booking-calendar-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 18px;
}

.booking-calendar-nav button:hover:not(:disabled) {
  border-color: var(--booking-slate);
  background: var(--booking-slate);
  color: #fff;
  transform: translateY(-2px);
}

.booking-calendar-nav button:disabled {
  opacity: .34;
  cursor: not-allowed;
}

.booking-weekdays,
.booking-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.booking-weekdays {
  margin-bottom: 10px;
}

.booking-weekdays > span {
  padding-block: 4px;
  color: var(--booking-faint);
  text-align: center;
  font: 500 10px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.booking-day {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 58px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--booking-ink);
  font-size: 15px;
  font-weight: 620;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.booking-day::after {
  content: "";
  position: absolute;
  bottom: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--booking-slate);
}

.booking-day:hover:not(:disabled) {
  border-color: rgba(80, 108, 131, .28);
  background: var(--booking-cool);
  transform: translateY(-2px);
}

.booking-day[aria-pressed="true"] {
  border-color: var(--booking-slate);
  background: var(--booking-slate);
  color: #fff;
}

.booking-day[aria-pressed="true"]::after {
  background: #fff;
}

.booking-day:disabled {
  color: #b2b8bd;
  cursor: not-allowed;
}

.booking-day:disabled::after,
.booking-day.is-empty::after {
  display: none;
}

.booking-day.is-empty {
  visibility: hidden;
}

.booking-calendar-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding-top: 34px;
  color: var(--booking-faint);
  font-size: 12px;
}

.booking-calendar-footer p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.booking-calendar-footer p:last-child {
  max-width: 245px;
  text-align: right;
}

.booking-legend-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--booking-slate);
  box-shadow: 0 0 0 4px rgba(80, 108, 131, .12);
}

html.booking-dialog-open,
html.booking-dialog-open body {
  overflow: hidden;
}

body:has(.consultation-section) .floating-cta {
  display: none !important;
}

.booking-dialog {
  width: min(1120px, calc(100vw - 36px));
  max-width: none;
  max-height: min(880px, calc(100vh - 36px));
  max-height: min(880px, calc(100dvh - 36px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  background: #fff;
  color: #181a1d;
  box-shadow: 0 30px 110px rgba(10, 18, 26, .35);
}

.booking-dialog::backdrop {
  background: rgba(15, 19, 23, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.booking-dialog[open] {
  animation: booking-dialog-in .28s cubic-bezier(.2, .75, .25, 1) both;
}

@keyframes booking-dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.booking-dialog-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(285px, .72fr) minmax(520px, 1.28fr);
  max-height: inherit;
  overflow: auto;
}

.booking-dialog-close {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-color: rgba(24, 26, 29, .12);
  border-radius: 50%;
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
}

.booking-dialog-close:hover {
  background: #181a1d;
  color: #fff;
}

.booking-dialog-summary {
  position: relative;
  padding: clamp(36px, 4vw, 56px);
  overflow: hidden;
  background: #354c60;
  color: #fff;
}

.booking-dialog-summary::after {
  content: "";
  position: absolute;
  right: -85px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255, 255, 255, .035);
  pointer-events: none;
}

.booking-dialog-summary h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.05em;
}

.booking-dialog-summary > p:not(.booking-overview-kicker):not(.booking-pending-note) {
  position: relative;
  z-index: 1;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  line-height: 1.6;
}

.booking-selection {
  position: relative;
  z-index: 1;
  margin-top: 38px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
}

.booking-selection > span,
.booking-selection small {
  display: block;
  color: rgba(255, 255, 255, .72);
  font: 500 10px/1.45 "IBM Plex Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.booking-selection strong {
  display: block;
  margin: 9px 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.booking-selection small {
  text-transform: none;
  letter-spacing: .02em;
}

.booking-pending-note {
  position: relative;
  z-index: 1;
  margin: 22px 0 0;
  padding-left: 16px;
  border-left: 2px solid #b9d7e8;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  line-height: 1.55;
}

.booking-form {
  padding: clamp(36px, 4.5vw, 62px);
  background: #fff;
}

.booking-form .form-grid {
  gap: 16px;
}

.booking-form .form-field label,
.booking-form .form-consent,
.booking-time-fieldset legend {
  color: #181a1d;
  font-size: 12px;
  font-weight: 650;
}

.booking-form .form-field input,
.booking-form .form-field textarea,
.booking-form .form-field select {
  background: #f4f6f7;
}

.booking-time-fieldset {
  min-width: 0;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.booking-time-fieldset legend {
  margin-bottom: 9px;
}

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

.booking-time-grid label {
  position: relative;
  cursor: pointer;
}

.booking-time-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.booking-time-grid span {
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid rgba(24, 26, 29, .13);
  border-radius: 12px;
  background: #f4f6f7;
  color: #354c60;
  font: 500 13px/1 "IBM Plex Mono", monospace;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.booking-time-grid label:hover span {
  border-color: #506c83;
  transform: translateY(-1px);
}

.booking-time-grid input:checked + span {
  border-color: #506c83;
  background: #506c83;
  color: #fff;
}

.booking-time-grid input:focus-visible + span {
  outline: 3px solid #9db5c9;
  outline-offset: 3px;
}

.booking-form .form-consent {
  margin: 20px 0;
  color: #4e565e;
}

.booking-form-actions {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) minmax(220px, 1.3fr);
  gap: 11px;
}

.booking-form-actions .button {
  width: 100%;
  min-height: 52px;
  margin: 0;
}

.booking-form-actions .button.secondary {
  border-color: rgba(24, 26, 29, .18);
  background: transparent;
  color: #181a1d;
}

.booking-form-actions button[type="submit"] {
  border-color: #506c83 !important;
  background: #506c83 !important;
  color: #fff !important;
}

.booking-form-actions button[type="submit"]:hover {
  border-color: #354c60 !important;
  background: #354c60 !important;
  color: #fff !important;
}

@media (max-width: 980px) {
  .consultation-heading,
  .booking-card {
    grid-template-columns: 1fr;
  }

  .consultation-heading {
    gap: 30px;
  }

  .consultation-heading-copy {
    max-width: 760px;
  }

  .booking-card {
    min-height: 0;
  }

  .booking-calendar-panel {
    order: -1;
  }

  .booking-overview {
    padding-bottom: 44px;
  }

  .booking-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
    border-top: 0;
  }

  .booking-steps li {
    display: block;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
    border-bottom: 0;
  }

  .booking-steps li > span {
    display: block;
    margin-bottom: 12px;
  }

  .booking-calendar-panel {
    min-height: 590px;
  }

  .booking-dialog-shell {
    grid-template-columns: 1fr;
  }

  .booking-dialog-summary {
    padding-right: 82px;
  }

  .booking-dialog-close {
    border-color: rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .12);
    color: #fff;
  }
}

@media (max-width: 640px) {
  .consultation-section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .consultation-heading {
    margin-bottom: 34px;
  }

  .consultation-facts {
    grid-template-columns: 1fr;
  }

  .consultation-facts > span {
    display: grid;
    grid-template-columns: minmax(110px, auto) 1fr;
    gap: 12px;
    align-items: center;
  }

  .consultation-facts small {
    margin-top: 0;
    text-align: right;
  }

  .booking-card {
    border-radius: 20px;
  }

  .booking-overview,
  .booking-calendar-panel {
    padding: 28px 20px;
  }

  .booking-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .booking-steps li {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 17px 0;
  }

  .booking-steps li > span {
    margin-bottom: 0;
  }

  .booking-calendar-panel {
    min-height: 520px;
  }

  .booking-calendar-toolbar {
    margin-bottom: 26px;
  }

  .booking-calendar-nav button {
    width: 42px;
    height: 42px;
  }

  .booking-weekdays,
  .booking-days {
    gap: 4px;
  }

  .booking-day {
    min-height: 44px;
    border-radius: 10px;
    font-size: 13px;
  }

  .booking-day::after {
    bottom: 5px;
    width: 3px;
    height: 3px;
  }

  .booking-calendar-footer {
    display: grid;
    gap: 9px;
    padding-top: 26px;
  }

  .booking-calendar-footer p:last-child {
    max-width: none;
    text-align: left;
  }

  .booking-dialog {
    width: 100vw;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .booking-dialog-shell {
    max-height: 100vh;
    max-height: 100dvh;
  }

  .booking-dialog-summary,
  .booking-form {
    padding: 32px 20px;
  }

  .booking-dialog-summary {
    padding-right: 68px;
  }

  .booking-dialog-summary h2 {
    font-size: 40px;
  }

  .booking-dialog-summary > p:not(.booking-overview-kicker):not(.booking-pending-note) {
    margin-top: 16px;
  }

  .booking-selection {
    margin-top: 24px;
    padding: 17px;
  }

  .booking-pending-note {
    margin-top: 16px;
  }

  .booking-dialog-close {
    top: 14px;
    right: 14px;
  }

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

  .booking-form .form-grid,
  .booking-form-actions {
    grid-template-columns: 1fr;
  }

  .booking-form-actions .button.secondary {
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-dialog[open] {
    animation: none;
  }

  .booking-day,
  .booking-calendar-nav button,
  .booking-time-grid span {
    transition: none;
  }
}
