.appointment-page {
  --appointment-ink: #0b1a30;
  --appointment-muted: #435671;
  --appointment-blue: #a9d9f4;
  --appointment-line: #d7e3ef;
  margin: 0;
  background: #08162b;
  color: #fff;
}

.appointment-page [hidden] { display: none !important; }

.appointment-main {
  padding: clamp(36px, 5.6vw, 82px) 0 clamp(38px, 6vw, 84px);
  background:
    radial-gradient(ellipse at 13% 2%, #163655 0%, transparent 45%),
    radial-gradient(ellipse at 86% 21%, #12304e 0%, transparent 46%),
    #08162b;
}

.appointment-container {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

.appointment-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.appointment-eyebrow {
  margin: 0 0 14px;
  color: #bce5fb;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.appointment-intro h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.65rem, 6.1vw, 5.75rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -.06em;
}

.appointment-intro h1 span { color: var(--appointment-blue); }

.appointment-lead {
  max-width: 40rem;
  margin: 20px 0 0;
  color: #d0dfed;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.56;
}

.appointment-intro-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding: 12px 17px 12px 12px;
  border: 1px solid #a9d9f44d;
  border-radius: 16px;
  background: #0b2037;
  color: #eff8ff;
}

.appointment-meta-icon,
.appointment-summary-icon {
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--appointment-blue);
  color: var(--appointment-ink);
}

.appointment-intro-meta div { display: grid; gap: 2px; }
.appointment-intro-meta div span { color: #c6d8e8; font-size: .85rem; }

.appointment-form {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: clamp(16px, 2.3vw, 34px);
  align-items: stretch;
}

.appointment-panel {
  min-width: 0;
  padding: clamp(24px, 3.25vw, 46px);
  border: 1px solid #fff;
  border-radius: clamp(18px, 2.2vw, 30px);
  background: #f9fcff;
  color: var(--appointment-ink);
  box-shadow: 0 20px 55px #03112355;
}

.appointment-panel h2 {
  margin: 0 0 8px;
  color: var(--appointment-ink);
  font-size: clamp(1.65rem, 2.28vw, 2.25rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -.045em;
}

.appointment-step {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: #245275;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.appointment-step span {
  padding: 4px 8px;
  border-radius: 7px;
  background: #e0f1fc;
  font-variant-numeric: tabular-nums;
}

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

.appointment-calendar {
  margin-top: 21px;
  padding: clamp(10px, 1.35vw, 18px);
  border: 1px solid var(--appointment-line);
  border-radius: 17px;
  background: #fff;
}

.appointment-calendar-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
}

.appointment-calendar-bar h3,
.appointment-time-slots h3 {
  margin: 0;
  color: var(--appointment-ink);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  letter-spacing: -.02em;
}

.appointment-month-controls { display: flex; gap: 7px; }

.appointment-month-controls button,
.appointment-day,
.appointment-slot {
  min-width: 0;
  border: 1px solid transparent;
  box-shadow: none;
  color: var(--appointment-ink);
  font: inherit;
  font-weight: 750;
}

.appointment-month-controls button {
  width: 38px;
  height: 38px;
  padding: 0;
  border-color: var(--appointment-line);
  border-radius: 10px;
  background: #f4f8fc;
}

.appointment-month-controls button:not(:disabled):hover,
.appointment-day:not(:disabled):not(.is-selected):hover,
.appointment-slot:not(:disabled):not(.is-selected):hover {
  border-color: #96c1e0;
  background: #dceffb;
  color: var(--appointment-ink);
}

.appointment-month-controls button:disabled { opacity: .4; cursor: default; }

.appointment-weekdays,
.appointment-days,
.appointment-slots {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(3px, .46vw, 7px);
}

.appointment-weekdays {
  margin-bottom: 7px;
  color: var(--appointment-muted);
  font-size: .73rem;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}

.appointment-day {
  min-height: 40px;
  padding: 0;
  border-radius: 10px;
  background: #f1f6fc;
  font-variant-numeric: tabular-nums;
}

.appointment-day:disabled {
  background: transparent;
  color: #78869a;
  font-weight: 500;
  cursor: default;
}

.appointment-day.is-today { border-color: var(--appointment-line); }
.appointment-days .is-empty { background: transparent; }

.appointment-time-slots {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--appointment-line);
}

.appointment-time-slots > .appointment-muted { margin-top: 5px; }
.appointment-slot-block { margin-top: 13px; }

.appointment-slot-block h4 {
  margin: 0 0 7px;
  color: #274765;
  font-size: .84rem;
  font-weight: 800;
}

.appointment-slot-block h4 i { margin-right: 4px; color: #285f88; }
.appointment-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.appointment-slot {
  min-height: 36px;
  padding: 3px;
  border-color: var(--appointment-line);
  border-radius: 9px;
  background: #fff;
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
}

.appointment-slot:disabled { background: #edf3f9; color: #6b7f95; cursor: default; }

.appointment-day.is-selected,
.appointment-slot.is-selected {
  border-color: #13304f;
  background: #13304f;
  color: #fff;
}

.appointment-fields { display: grid; gap: 15px; margin-top: 21px; }
.appointment-field { min-width: 0; }
.appointment-native-date, .appointment-native-time { margin-top: 18px; }
.appointment-contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.appointment-field label {
  display: block;
  margin: 0 0 6px;
  color: var(--appointment-ink);
  font-size: .9rem;
  font-weight: 800;
}

.appointment-field label span { color: #21638c; }
.appointment-field label small { color: var(--appointment-muted); font-weight: 500; }

.appointment-form .appointment-field :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid #b9cddd;
  border-radius: 10px;
  background: #fff;
  color: var(--appointment-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.35;
}

.appointment-form .appointment-field select {
  appearance: auto;
  padding-right: 14px;
}

.appointment-form .appointment-field textarea { min-height: 85px; resize: vertical; }
.appointment-field textarea::placeholder { color: #576e86; }

.appointment-main :is(a, button, input, textarea, select):focus-visible {
  outline: 3px solid #287bae;
  outline-offset: 2px;
}

.appointment-summary {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 18px;
  padding: 11px;
  border: 1px solid #cae0f0;
  border-radius: 12px;
  background: #eaf5fc;
}

.appointment-summary strong { display: block; margin-bottom: 2px; font-size: .88rem; }
.appointment-summary p { margin: 0; color: #304c67; font-size: .85rem; line-height: 1.35; }

.appointment-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  padding: 11px 16px;
  border: 0;
  border-radius: 11px;
  background: #0c2746;
  color: #fff;
  font: inherit;
  font-weight: 800;
}

.appointment-submit i { color: var(--appointment-blue); }
.appointment-submit:hover { color: #fff; background: #173e61; }
.appointment-submit:disabled { opacity: .72; cursor: wait; }

.appointment-privacy { margin: 11px 0 0; color: var(--appointment-muted); font-size: .81rem; line-height: 1.45; }
.appointment-help { margin: 22px 0 0; color: #e0eafa; text-align: center; font-size: .94rem; }
.appointment-help a { color: var(--appointment-blue); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

.appointment-notice {
  margin: 0 0 22px;
  padding: 17px 20px;
  border-radius: 14px;
  background: #eaf4fb;
  color: var(--appointment-ink);
}

.appointment-notice :is(h2, p, ul) { margin: 0 0 6px; color: inherit; }
.appointment-notice a { color: inherit; text-decoration: underline; }
.appointment-notice--error { background: #fce7e6; color: #722821; }
.appointment-notice--success { background: #e0f2e9; color: #174738; }
.appointment-selection-error { margin: 12px 0 0; color: #912021; font-size: .9rem; font-weight: 700; }

.appointment-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.appointment-page .haptoring-it-footer {
  border-top: 1px solid #3d5269;
}

@media (max-width: 880px) {
  .appointment-form { grid-template-columns: 1fr; }
  .appointment-container { width: min(620px, calc(100% - 38px)); }
  .appointment-intro { align-items: flex-start; flex-direction: column; gap: 16px; }
  .appointment-intro-meta { padding: 8px 12px 8px 8px; }
}

@media (max-width: 390px) {
  .appointment-container { width: calc(100% - 24px); }
  .appointment-panel { padding: 17px; }
  .appointment-contact-fields { grid-template-columns: 1fr; }
  .appointment-day { min-height: 36px; }
}
