@charset "UTF-8";

* , *::before, *::after { box-sizing: border-box; }

:root {
  --accent: #982a8e;
  --accent-soft: #f5ebf4;
  --text: #303030;
  --muted: #6f6f6f;
  --line: #e6e6e6;
  --bg-soft: #f8f8f8;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', 'Helvetica Neue', sans-serif;
  color: var(--text);
  background: #fff;
}

.booking-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 20px 72px;
}

.booking-hero {
  margin-bottom: 24px;
}

.booking-hero__inner,
.booking-section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.booking-section + .booking-section {
  margin-top: 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  color: var(--accent);
  font-weight: 800;
  margin: 0 0 10px;
}

h1, h2, h3 {
  color: #1f1f1f;
  margin-top: 0;
}

.booking-hero p,
.section-heading p,
.calendar-note,
.location-card span,
.service-item span,
.remember-label,
label,
textarea,
input,
select {
  color: var(--muted);
}

.welcome-banner {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--accent-soft);
  border: 1px solid rgba(152, 42, 142, .18);
  border-radius: 999px;
  padding: 12px 16px;
}

.link-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.booking-form {
  display: block;
}

.section-heading {
  margin-bottom: 18px;
}

.location-grid,
.schedule-grid,
.field-grid {
  display: grid;
  gap: 18px;
}

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

.location-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: var(--bg-soft);
  min-height: 170px;
}

.location-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.location-card.is-active {
  cursor: pointer;
  position: relative;
}

.location-card.is-active:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.location-status {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(152, 42, 142, .1);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
}

.location-status.muted {
  background: #ececec;
  color: #666;
}

.coming-soon-link {
  margin-top: auto;
  color: #7c7c7c;
  pointer-events: none;
  text-decoration: underline;
}

.accordion {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--text);
  padding: 18px 20px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  margin: 12px 0 0;
  cursor: pointer;
  transition: .2s ease;
}

.accordion:hover,
.accordion.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.panel {
  display: none;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: #fcfcfc;
  padding: 10px 18px 16px;
}

.panel.open { display: block; }

.service-item {
  border-bottom: 1px solid #eee;
  padding: 12px 0;
}

.service-item:last-child { border-bottom: 0; }

.service-item label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  cursor: pointer;
}

.service-item input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--accent);
}

#total-container {
  margin-top: 18px;
  border: 1px solid rgba(152, 42, 142, .22);
  background: var(--accent-soft);
  border-radius: 18px;
  padding: 16px 18px;
  font-weight: 800;
  font-size: 1.05rem;
}

#total-amount { color: var(--accent); }

.schedule-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
}

.calendar-card,
.time-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  background: var(--bg-soft);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.calendar-header h3,
.time-card h3 {
  margin: 0;
}

.calendar-nav {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

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

.calendar-weekdays {
  margin-bottom: 10px;
  font-size: .82rem;
  font-weight: 700;
  color: #666;
  text-align: center;
}

.calendar-day {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  font-weight: 700;
}

.calendar-day.is-selected,
.time-slot.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: #1f1f1f;
}

.calendar-day.is-disabled {
  opacity: .4;
  cursor: not-allowed;
}

.calendar-day.empty {
  border: 0;
  background: transparent;
  min-height: 48px;
}

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

.time-slot {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  font-size: .95rem;
  font-weight: 700;
}

.calendar-note {
  margin: 16px 0 0;
}

label {
  display: block;
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7f7f7;
  padding: 16px 18px;
  font: inherit;
  color: var(--text);
}

.field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.remember-row {
  display: flex;
  align-items: flex-end;
}

.remember-label {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  font-weight: 600;
}

.remember-label input {
  width: auto;
  accent-color: var(--accent);
}

.submit-button {
  margin-top: 18px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 16px 22px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.submit-button:disabled {
  background: #cfcfcf;
  cursor: not-allowed;
}

.menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  .schedule-grid,
  .location-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767px) {
  body { font-size: 15px; }
  .booking-page { padding: 18px 14px 48px; }
  .booking-hero__inner,
  .booking-section,
  .calendar-card,
  .time-card { padding: 18px; border-radius: 20px; }

  .site-header .header-inner {
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #99298f;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #222;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 12px;
    z-index: 20;
  }

  .main-nav.is-open {
    display: grid;
    gap: 8px;
  }

  .main-nav a {
    padding: 12px 10px;
    border-radius: 12px;
  }

  .calendar-weekdays,
  .calendar-days {
    gap: 6px;
  }

  .calendar-day,
  .time-slot {
    min-height: 44px;
    font-size: .92rem;
  }

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

  .welcome-banner {
    border-radius: 18px;
    align-items: flex-start;
  }
}


.booking-policy-accordion {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  overflow: hidden;
}

.booking-policy-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: var(--bg-soft);
  color: var(--text);
  padding: 18px 20px;
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.booking-policy-toggle:hover,
.booking-policy-toggle[aria-expanded="true"] {
  background: var(--accent-soft);
  color: #1f1f1f;
}

.booking-policy-icon {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
}

.booking-policy-content {
  border-top: 1px solid var(--line);
  background: #fcfcfc;
}

.booking-policy-inner {
  padding: 18px 20px 20px;
}

.policy-block + .policy-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #eee;
}

.policy-block h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.policy-block p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.6;
}

.policy-agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #eee;
  font-weight: 700;
  color: var(--text);
}

.policy-agree input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--accent);
}

.policy-agree span {
  color: var(--text);
}

.policy-error {
  margin: 10px 0 0;
  color: #b42318;
  font-size: .95rem;
  font-weight: 700;
}
