:root {
  --ku-red: #c9181d;
  --ku-red-dark: #9f1116;
  --ku-red-soft: #fff1f1;

  --ink: #18161d;
  --text: #24212b;
  --muted: #6f6a76;

  --bg: #f7f5f3;
  --bg-soft: #fbfaf8;
  --white: #ffffff;

  --border: #e4ded8;
  --border-strong: #d4cbc3;

  --success: #16803c;
  --success-soft: #e7f7ed;
  --danger: #b42318;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-card: 0 24px 70px rgba(24, 22, 29, 0.12);
  --shadow-soft: 0 14px 34px rgba(24, 22, 29, 0.08);
  --shadow-red: 0 16px 36px rgba(201, 24, 29, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(201, 24, 29, 0.12), transparent 34%),
    linear-gradient(135deg, #f8f5f1 0%, #ffffff 42%, #f4efea 100%);
  color: var(--text);
}

button,
input,
textarea {
  font: inherit;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 18px;
}

.card {
  position: relative;
  width: 100%;
  max-width: 780px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(228, 222, 216, 0.95);
  border-radius: var(--radius-lg);
  padding: 42px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: linear-gradient(90deg, var(--ku-red), #ef3b3f, var(--ku-red));
}

.booking-card {
  max-width: 960px;
}

.brand-header {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}

.brand-logo {
  display: block;
  width: min(360px, 82vw);
  height: auto;
  object-fit: contain;
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--ku-red-soft);
  color: var(--ku-red);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
}

h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2::before {
  content: "";
  width: 9px;
  height: 26px;
  border-radius: 999px;
  background: var(--ku-red);
  flex: 0 0 auto;
}

p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.subtitle {
  max-width: 680px;
}

.step {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 18px 0 0;
}

.choice-card {
  position: relative;
  min-height: 138px;
  text-align: left;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf8 100%);
  border-radius: 22px;
  padding: 24px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.choice-card::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 22px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  background: #ffffff;
  transition: 0.18s ease;
}

.choice-card:hover,
.choice-card.active {
  border-color: rgba(201, 24, 29, 0.6);
  transform: translateY(-3px);
  box-shadow: var(--shadow-red);
}

.choice-card.active {
  background: linear-gradient(180deg, #fff7f7 0%, #ffffff 100%);
}

.choice-card.active::after {
  border-color: var(--ku-red);
  background:
    radial-gradient(circle at center, var(--ku-red) 0 42%, #ffffff 46% 100%);
}

.choice-title {
  display: block;
  padding-right: 34px;
  color: var(--ink);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 9px;
  letter-spacing: -0.02em;
}

.choice-text {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 12px;
}

.day-card {
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 10px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.day-card:hover,
.day-card.active {
  border-color: rgba(201, 24, 29, 0.7);
  background: #fff8f8;
  box-shadow: 0 12px 28px rgba(201, 24, 29, 0.13);
  transform: translateY(-2px);
}

.day-card.active {
  background: var(--ku-red);
  color: #ffffff;
}

.day-name {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.day-number {
  display: block;
  margin: 5px 0 2px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
}

.day-month {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.day-card.active .day-name,
.day-card.active .day-number,
.day-card.active .day-month {
  color: #ffffff;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 11px;
  margin-top: 16px;
}

.slot-button {
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 14px;
  padding: 13px 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.slot-button:hover,
.slot-button.active {
  border-color: var(--ku-red);
  background: var(--ku-red);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(201, 24, 29, 0.18);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

.field {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 15px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: #ffffff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

textarea {
  resize: vertical;
  min-height: 108px;
}

input:hover,
textarea:hover {
  border-color: var(--border-strong);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--ku-red);
  box-shadow: 0 0 0 4px rgba(201, 24, 29, 0.12);
  background: #fffdfd;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--ku-red);
  color: #ffffff;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 900;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  background: var(--ku-red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.full-button {
  width: 100%;
  margin-top: 18px;
  min-height: 54px;
}

.info-box {
  margin-top: 32px;
  padding: 19px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf8 100%);
  border: 1px solid var(--border);
  color: var(--muted);
  line-height: 1.55;
}

.info-box strong {
  color: var(--ink);
}

.muted-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.small-note {
  margin: 13px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.hidden {
  display: none !important;
}

.success-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 22px;
}

.summary-box {
  margin: 30px 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 19px;
  border-bottom: 1px solid var(--border);
}

.summary-row:last-child {
  border-bottom: 0;
}

.summary-row span {
  color: var(--muted);
}

.summary-row strong {
  color: var(--ink);
  text-align: right;
}

@media (max-width: 760px) {
  .page {
    align-items: flex-start;
    padding: 18px 12px;
  }

  .card {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .brand-header {
    margin-bottom: 22px;
  }

  .brand-logo {
    width: min(300px, 86vw);
  }

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

  .choice-card {
    min-height: auto;
  }

  .days-grid {
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
    gap: 9px;
  }

  .slots-grid {
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  }
}

@media (max-width: 620px) {
  .summary-row {
    display: block;
  }

  .summary-row strong {
    display: block;
    text-align: left;
    margin-top: 5px;
  }
}