.cal-booking {
  background: #f6f7fb;
  color: #20294b;
}

.cal-page {
  padding: calc(var(--header-h, 114px) + 2.4rem) 0 4.5rem;
}

.cal-wrap {
  max-width: 1190px;
  margin: 0 auto;
  padding: 0 24px;
}

.cal-intro {
  max-width: 790px;
  margin-bottom: 8px;
}

.cal-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.19em;
  color: #188c86;
  text-transform: uppercase;
}

.cal-intro h1 {
  font-size: clamp(34px, 4vw, 53px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 13px 0;
  color: #20294b;
}

.cal-intro p {
  color: #66708d;
  font-size: 17px;
  margin: 0;
}

.cal-steps {
  display: flex;
  gap: 14px;
  margin: 29px 0 34px;
  flex-wrap: wrap;
}

.cal-step {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #858da4;
  font-size: 13px;
  font-weight: 700;
}

.cal-step b {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  background: #e5e8f0;
  border-radius: 50%;
  font-size: 12px;
}

.cal-step.is-on {
  color: #252e58;
}

.cal-step.is-on b {
  background: #252e58;
  color: #fff;
}

.cal-step + .cal-step::before {
  content: "";
  width: 30px;
  height: 1px;
  background: #cbd0dd;
  margin-right: 5px;
}

.cal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(330px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.cal-card {
  background: #fff;
  border: 1px solid #e6e9f1;
  border-radius: 22px;
  box-shadow: 0 16px 44px rgba(35, 43, 76, 0.045);
}

.cal-calendar { padding: 28px; }

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

.cal-toolbar h2,
.cal-slots-card h2 {
  font-size: 20px;
  letter-spacing: -0.025em;
  margin: 0;
  color: #20294b;
}

.cal-toolbar p,
.cal-lead {
  color: #66708d;
  font-size: 13px;
  margin: 4px 0 0;
}

.cal-month {
  display: flex;
  gap: 7px;
  align-items: center;
}

.cal-month strong {
  min-width: 170px;
  text-align: center;
  font-size: 15px;
  color: #20294b;
}

.cal-nav-btn {
  border: 1px solid #e6e9f1;
  background: #fff;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  color: #252e58;
  cursor: pointer;
}

.cal-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

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

.cal-weekdays {
  text-align: center;
  font-size: 11px;
  color: #66708d;
  font-weight: 800;
  margin: 0 0 9px;
}

.cal-day,
.cal-day-pad {
  height: 64px;
  border: 1px solid transparent;
  background: #f7f8fb;
  border-radius: 12px;
  color: #b3b9c9;
  font-weight: 650;
}

.cal-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: default;
}

.cal-day.is-open {
  background: #fff;
  border-color: #e6e9f1;
  color: #20294b;
  cursor: pointer;
}

.cal-day.is-open:hover { border-color: #188c86; }

.cal-day.is-selected,
.cal-day.is-selected:hover {
  color: #fff;
  background: #252e58;
  border-color: #252e58;
  box-shadow: 0 8px 18px rgba(37, 46, 88, 0.18);
}

.cal-dot {
  display: block;
  background: #188c86;
  height: 5px;
  width: 5px;
  border-radius: 50%;
}

.cal-day.is-selected .cal-dot { background: #fff; }

.cal-legend {
  font-size: 12px;
  color: #66708d;
  margin-top: 18px;
}

.cal-legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #188c86;
  border-radius: 50%;
  margin-right: 7px;
}

.cal-side {
  display: grid;
  gap: 18px;
}

.cal-topic-card,
.cal-slots-card { padding: 25px; }

.cal-topic-card label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #66708d;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.cal-topic-card select,
.cal-form input {
  width: 100%;
  padding: 15px 14px;
  background: #fafbfe;
  border: 1px solid #dce1ea;
  border-radius: 12px;
  color: #20294b;
  font-weight: 650;
  font: inherit;
}

.cal-topic-card select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #252e58 50%), linear-gradient(135deg, #252e58 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  background-color: #fafbfe;
  padding-right: 2.4rem;
}

.cal-detail {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 15px;
  font-size: 13px;
  color: #66708d;
}

.cal-detail span:first-child { font-size: 17px; }

.cal-date {
  font-size: 13px;
  color: #188c86;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.cal-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.cal-slots:empty { display: none; }

.cal-slot {
  padding: 13px 8px;
  background: #fff;
  border: 1px solid #dfe4eb;
  border-radius: 11px;
  color: #252e58;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.cal-slot:hover,
.cal-slot.is-selected {
  border-color: #252e58;
  background: #252e58;
  color: #fff;
}

.cal-continue {
  margin-top: 18px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #188c86;
  color: #fff;
  font-weight: 800;
  padding: 16px;
  cursor: pointer;
}

.cal-continue:disabled {
  background: #dce4e5;
  color: #82989a;
  cursor: default;
}

.cal-continue--ghost {
  background: #fff;
  color: #252e58;
  border: 1px solid #dfe4eb;
}

.cal-assure {
  font-size: 12px;
  text-align: center;
  color: #66708d;
  margin: 13px 0 0;
}

.cal-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 18px;
}

.cal-form[hidden],
.cal-success[hidden],
.cal-continue[hidden] {
  display: none !important;
}

.cal-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #252e58;
}

.cal-note {
  margin: 0;
  color: #66708d;
  font-size: 0.82rem;
}

.cal-note a { color: #252e58; }

.cal-feedback {
  margin: 0;
  color: #d95454;
  font-size: 0.9rem;
  font-weight: 600;
}

.cal-feedback:empty { display: none; }

.cal-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cal-success { text-align: center; }

.cal-success-mark {
  width: 3.2rem;
  height: 3.2rem;
  margin: 0.2rem auto 0.8rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(24, 140, 134, 0.12);
  color: #188c86;
  font-size: 1.5rem;
  font-weight: 800;
}

.cal-foot {
  border-top: 1px solid #e6e9f1;
  padding: 26px 4vw;
  color: #66708d;
  font-size: 13px;
  background: #fff;
}

.cal-foot-inner {
  max-width: 1190px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cal-foot a { color: #252e58; text-decoration: none; }

@media (max-width: 800px) {
  .cal-wrap { padding: 0 16px; }
  .cal-page { padding-top: calc(var(--header-h, 114px) + 1.4rem); }
  .cal-intro h1 { font-size: 34px; }
  .cal-steps { margin: 22px 0; }
  .cal-layout { grid-template-columns: 1fr; }
  .cal-side { grid-row: 1; }
  .cal-calendar { padding: 18px; }
  .cal-topic-card,
  .cal-slots-card { padding: 19px; }
  .cal-toolbar { display: block; }
  .cal-month { justify-content: space-between; margin-top: 14px; }
  .cal-month strong { min-width: 0; }
  .cal-weekdays,
  .cal-days { gap: 4px; }
  .cal-day,
  .cal-day-pad { height: 47px; }
  .cal-slots { grid-template-columns: repeat(3, 1fr); }
  .cal-slot { font-size: 12px; padding: 11px 3px; }
  .cal-foot-inner { display: block; }
  .cal-foot-inner span { display: block; margin: 8px 0; }
}

@media (max-width: 390px) {
  .cal-slots { grid-template-columns: repeat(2, 1fr); }
}
