:root {
  --bg: #eef3f8;
  --paper: rgba(255, 255, 255, 0.98);
  --ink: #303030;
  --muted: #56616d;
  --line: rgba(48, 48, 48, 0.14);
  --brand: #005aa5;
  --brand-strong: #003b71;
  --accent: #d4d7d9;
  --visited: #734d99;
  --danger: #9f2f2f;
  --success: #0c6b4f;
  --shadow: 0 18px 42px rgba(0, 35, 68, 0.12);
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f7f9fb 0%, #eef3f8 48%, #e4ecf4 100%);
  font-family: "Open Sans", Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: var(--brand);
  text-decoration-line: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

a:visited {
  color: var(--visited);
}

a:hover {
  text-decoration-thickness: 0.12em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 1rem;
}

.app-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 1rem 1rem 2.5rem;
}

.app-header,
.app-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.25rem;
}

.brand {
  color: var(--ink);
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
}

.brand-tag,
.app-footer {
  color: var(--muted);
  font-size: 1rem;
}

.app-main {
  display: grid;
  gap: 1rem;
}

.page-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.back-link::before {
  content: "\2190";
  font-size: 1rem;
  line-height: 1;
}

.back-link:hover,
.back-link:focus {
  text-decoration: underline;
}

.hero,
.panel,
.selection-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero {
  padding: 1.75rem;
  border-top: 0.35rem solid var(--brand);
}

.hero-tight {
  padding-bottom: 1.15rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--brand);
  font-size: 0.95rem;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-copy {
  margin: 0.9rem 0 0;
  color: var(--muted);
  max-width: 60ch;
  font-size: 1.05rem;
  line-height: 1.6;
}

.stack {
  display: grid;
  gap: 1rem;
}

.selection-card {
  display: grid;
  gap: 0.4rem;
  padding: 1.15rem 1.2rem;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  color: var(--ink);
}

.selection-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 90, 165, 0.45);
}

.selection-title {
  color: var(--ink);
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.selection-copy,
.selection-meta,
.room-panel p,
.panel p {
  color: var(--muted);
}

.selection-meta {
  font-size: 1rem;
}

.panel {
  padding: 1.2rem;
}

.room-panel {
  display: grid;
  gap: 1rem;
}

.room-panel__header {
  display: grid;
  gap: 0.8rem;
}

.room-panel__header h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
}

.room-panel__header p {
  margin: 0.3rem 0 0;
}

.chip {
  justify-self: start;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 90, 165, 0.08);
  color: var(--brand);
  font-size: 1rem;
  font-weight: 700;
}

.slot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.slot-pill {
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(0, 90, 165, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.slot-pill:hover,
.slot-pill:focus {
  background: rgba(0, 90, 165, 0.08);
  border-color: rgba(0, 90, 165, 0.45);
}

.booking-form {
  display: grid;
  gap: 0.9rem;
}

.booking-form label,
.detail-label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.form-control,
.form-select {
  min-height: 3.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(31, 42, 34, 0.14);
  font-size: 1rem;
  line-height: 1.5;
}

textarea.form-control {
  min-height: 8rem;
}

.form-control:focus,
.form-select:focus,
.btn:focus,
a:focus,
[tabindex]:focus {
  border-color: rgba(0, 90, 165, 0.45);
  box-shadow: 0 0 0 0.25rem rgba(0, 90, 165, 0.14);
  outline: 3px solid rgba(0, 90, 165, 0.35);
  outline-offset: 3px;
}

.btn-brand {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: white;
  font-weight: 700;
  padding: 0.9rem 1.2rem;
  text-decoration: none;
}

.btn-brand:hover,
.btn-brand:focus {
  color: #ffffff;
}

.status-banner {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 1rem;
}

.status-banner--success {
  background: rgba(12, 107, 79, 0.12);
  color: var(--success);
}

.status-banner--error {
  background: rgba(159, 47, 47, 0.12);
  color: var(--danger);
}

.text-danger {
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 575px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .app-header,
  .app-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
