:root {
  color-scheme: dark;
  --bg: radial-gradient(circle at 20% 20%, #0f2537 0%, #040810 80%);
  --surface: rgba(8, 18, 32, 0.9);
  --surface-alt: rgba(10, 24, 41, 0.94);
  --border: rgba(110, 200, 255, 0.16);
  --accent: #6bd4ff;
  --accent-strong: #47bdf8;
  --accent-soft: rgba(107, 212, 255, 0.18);
  --text: #f2f8ff;
  --muted: rgba(242, 248, 255, 0.72);
  --danger: #ff7976;
  --success: #4be0b3;
  --font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-family);
  display: flex;
  flex-direction: column;
}

.page {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 1.5vw + 1rem, 3rem) clamp(1.2rem, 1.3vw + 1rem, 3rem) 3.5rem;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 2vw + 1rem, 4rem);
}

.hero {
  display: grid;
  gap: clamp(1.5rem, 2vw + 1rem, 3rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(2rem, 2vw + 1.5rem, 3rem);
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.42);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.badge {
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(107, 212, 255, 0.45);
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 2.9rem);
  letter-spacing: 0.04em;
}

.hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero-hint {
  font-size: 0.9rem;
  opacity: 0.85;
}

.hero-meta {
  background: var(--surface-alt);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 120px;
}

.hero-meta .summary-empty {
  margin: 0;
  color: var(--muted);
}

.hero-meta dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1.2rem;
  margin: 0;
}

.hero-meta dt {
  color: var(--muted);
}

.hero-meta dd {
  margin: 0;
  font-weight: 600;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.package-grid,
.slot-grid {
  display: grid;
  gap: clamp(1rem, 1.4vw + 0.5rem, 1.6rem);
}

.package-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.8rem;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  min-height: 320px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.package-card.is-active {
  border-color: var(--accent);
  box-shadow: 0 22px 45px rgba(66, 170, 255, 0.25);
  transform: translateY(-4px);
}

.package-card header {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.package-card h3 {
  margin: 0;
  font-size: 1.45rem;
}

.package-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
}

.package-duration {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.package-features {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.55;
}

.package-select {
  margin-top: auto;
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.package-card.is-active .package-select,
.package-select:hover,
.package-select:focus {
  background: var(--accent);
  color: #04121f;
}

.slot-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.slot-button {
  display: grid;
  gap: 0.3rem;
  padding: 1.2rem 1.4rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.slot-button.is-request {
  border-color: rgba(247, 202, 120, 0.6);
  border-style: dashed;
}

.slot-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.slot-button.is-selected {
  border-color: var(--accent);
  box-shadow: 0 14px 30px rgba(66, 170, 255, 0.22);
}

.slot-date {
  font-weight: 600;
}

.slot-status {
  font-size: 0.85rem;
  color: var(--muted);
}

.slot-button.is-request .slot-status {
  color: var(--accent);
}

.booking-form {
  display: grid;
  gap: clamp(1.4rem, 1.2vw + 1rem, 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(1.8rem, 1.4vw + 1.2rem, 2.6rem);
}

.booking-form fieldset {
  border: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.booking-form legend {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.95rem;
  color: var(--muted);
}

.field input,
.field textarea {
  border-radius: 14px;
  border: 1px solid rgba(110, 200, 255, 0.25);
  background: rgba(9, 22, 35, 0.85);
  color: inherit;
  font: inherit;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.payment-options {
  display: grid;
  gap: 0.8rem;
}

.payment-option {
  border: 1px solid rgba(110, 200, 255, 0.25);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  display: grid;
  gap: 0.4rem;
  background: rgba(9, 22, 35, 0.85);
}

.payment-option input[type="radio"] {
  accent-color: var(--accent);
}

.payment-option label {
  font-weight: 600;
  cursor: pointer;
}

.payment-option p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-actions {
  display: grid;
  gap: 0.6rem;
}

.submit {
  justify-self: start;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 2.2rem;
  font-weight: 600;
  background: var(--accent);
  color: #04121f;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.submit[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.submit:not([disabled]):hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(66, 170, 255, 0.35);
}

.form-feedback {
  margin: 0;
  color: var(--muted);
  min-height: 1.2rem;
}

.result {
  margin-top: 2rem;
  background: rgba(13, 30, 48, 0.92);
  border: 1px solid rgba(107, 212, 255, 0.35);
  border-radius: 24px;
  padding: 1.8rem;
  display: grid;
  gap: 1rem;
}

.result h3 {
  margin: 0;
  font-size: 1.35rem;
}

.result-body {
  display: grid;
  gap: 0.8rem;
  color: var(--muted);
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.result-actions a,
.result-actions button {
  border-radius: 999px;
  border: 1px solid var(--accent);
  padding: 0.6rem 1.4rem;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
}

.site-footer {
  margin: 0 auto 3rem;
  width: min(1080px, 100%);
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.skeleton {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 2fr 1fr;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .package-grid,
  .slot-grid {
    grid-template-columns: 1fr;
  }

  .packages,
  .slots {
    margin: 0;
  }
}
