:root {
  --navy: #071a41;
  --navy-2: #102a5c;
  --blue: #0057ff;
  --blue-deep: #003ec4;
  --gray: #6b7280;
  --ink: #071a41;
  --line: #e6ebf4;
  --paper: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(7, 26, 65, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Manrope, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
#main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }

h1, h2, h3, h4, .display {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 0.92;
  margin: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--blue);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(7, 26, 65, 0.06);
}
.site-nav.is-home {
  background: #071a41;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.nav-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 80px at 12% 120%, rgba(0, 87, 255, .55), transparent 70%),
    linear-gradient(100deg, #071a41 0%, #102a5c 38%, #1d4ed8 50%, #102a5c 62%, #071a41 100%);
  background-size: auto, 240% 100%;
  animation: headerSweep 9s ease-in-out infinite;
  pointer-events: none;
}
.site-nav.is-home .nav-inner { position: relative; z-index: 1; }
.site-nav.is-home .nav-links a { color: rgba(255, 255, 255, .88); }
.site-nav.is-home .nav-links a:hover { color: white; }
.site-nav.is-home .nav-links .btn-pd { color: white; }
.site-nav.is-home .nav-burger { background: rgba(255, 255, 255, .12); color: white; }
.site-nav.is-home .brand img { box-shadow: none; }
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand img { width: auto; height: 68px; max-width: 92px; object-fit: contain; border-radius: 0; background: transparent; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-weight: 700;
  font-size: 0.95rem;
}
.nav-links a { text-decoration: none; color: var(--navy); }
.nav-links a:hover { color: var(--blue); }
.nav-burger {
  display: none;
  margin-left: auto;
  border: 0;
  background: var(--paper);
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.btn-pd, .btn-pd-outline, .btn-pd-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-pd {
  color: white;
  background: linear-gradient(135deg, #3d84ff 0%, #0057ff 42%, #0041d8 100%);
  box-shadow: 0 10px 24px rgba(0, 87, 255, 0.28);
}
.btn-pd:hover { transform: translateY(-2px); color: white; }
.btn-pd-outline {
  background: white;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-pd-outline:hover { background: var(--navy); color: white; }
.btn-pd-ghost { background: transparent; color: var(--navy); padding-inline: 8px; }
.btn-pd[disabled], .btn-pd.is-loading { opacity: .7; pointer-events: none; }
.btn-pd.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: white;
  animation: spin .7s linear infinite;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 80% 10%, rgba(0, 87, 255, .35), transparent 60%),
    linear-gradient(165deg, #0c2d6e 0%, #071a41 46%, #04122e 100%);
  color: white;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: .7;
}
.orb-a {
  width: 340px;
  height: 340px;
  left: -80px;
  top: -60px;
  background: radial-gradient(circle, rgba(0, 87, 255, .55), transparent 68%);
  animation: drift 14s ease-in-out infinite;
}
.orb-b {
  width: 280px;
  height: 280px;
  right: 8%;
  bottom: -80px;
  background: radial-gradient(circle, rgba(90, 150, 255, .4), transparent 70%);
  animation: drift 18s ease-in-out infinite reverse;
}
.orb-c {
  width: 160px;
  height: 160px;
  right: 32%;
  top: 18%;
  background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 70%);
  animation: drift 11s ease-in-out infinite 1s;
}
.court-lines {
  position: absolute;
  inset: -20% -10%;
  background:
    linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.07)) center / 100% 1px no-repeat,
    linear-gradient(rgba(255,255,255,.05), rgba(255,255,255,.05)) center 38% / 72% 1px no-repeat,
    linear-gradient(rgba(255,255,255,.05), rgba(255,255,255,.05)) center 62% / 72% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent) center / 1px 70% no-repeat;
  animation: linesShift 16s linear infinite;
  opacity: .7;
}
.hero-grid { position: relative; z-index: 1; }
.hero-grid, .section, .band-inner, .footer-inner, .book-layout, .pay-layout, .confirm-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 48px;
}
.eyebrow {
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  font-size: .78rem;
  margin-bottom: 12px;
}
.hero .eyebrow { color: #9ec0ff; }
.hero h1 {
  font-size: clamp(4.2rem, 8vw, 7.2rem);
  text-transform: uppercase;
  color: white;
  min-height: 2.05em;
}
.type-line {
  display: block;
  min-height: 1.02em;
  white-space: nowrap;
}
.type-line.accent { color: #7eb6ff; }
.type-line.is-typing::after,
.type-line.is-caret::after {
  content: "";
  display: inline-block;
  width: .07em;
  height: .78em;
  margin-left: .06em;
  background: #7eb6ff;
  vertical-align: .04em;
  animation: caret .85s steps(1) infinite;
}
.swoosh { width: min(280px, 70%); height: 18px; margin: 10px 0 18px; }
.swoosh path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: drawSwoosh .9s ease 3.2s forwards;
}
.lede { font-size: 1.12rem; color: rgba(255, 255, 255, .74); max-width: 520px; margin-bottom: 22px; }
.hero .btn-pd-outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, .45);
}
.hero .btn-pd-outline:hover { background: white; color: var(--navy); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.board {
  background: rgba(255, 255, 255, .97);
  color: var(--navy);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, .28);
  animation: boardIn .8s ease both;
}
.board .muted { color: var(--gray); }
.board-logo {
  background: white;
  border-radius: 20px;
  padding: 8px;
  margin-bottom: 16px;
}
.board-logo img { width: 100%; height: 180px; object-fit: contain; }
.board h2 { font-size: 2rem; margin-bottom: 12px; }
.board-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.pill {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .75rem;
  font-weight: 800;
  background: rgba(255,255,255,.12);
}
.pill.open { background: var(--blue); }
.pill.taken { background: #6b7280; }

.band { background: var(--navy); color: white; }
.band-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.band strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.4rem;
  line-height: 1;
}
.band span { color: rgba(255,255,255,.72); }

.section-head { margin-bottom: 22px; max-width: 640px; }
.section-head h2 { font-size: clamp(2.6rem, 5vw, 4rem); text-transform: uppercase; }
.section-head p { color: var(--gray); margin: 10px 0 0; }

.card-grid, .price-grid, .addon-grid, .how-grid {
  display: grid;
  gap: 18px;
}
.card-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
.addon-grid, .how-grid { grid-template-columns: repeat(4, 1fr); }

.court-card, .price-card, .addon-tile, .how-card, .summary-card, .panel, .slot-card, .pay-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(7, 26, 65, 0.04);
}
.court-card, .price-card, .addon-tile, .how-card { padding: 16px; }
.court-visual {
  position: relative;
  height: 150px;
  border-radius: 16px;
  background:
    linear-gradient(#fff, #fff) center 30% / 64% 2px no-repeat,
    linear-gradient(#fff, #fff) center 70% / 64% 2px no-repeat,
    linear-gradient(#dbe7ff, #dbe7ff) center / 2px 76% no-repeat,
    linear-gradient(160deg, #12357a, #071a41 72%);
  margin-bottom: 14px;
}
.court-visual b {
  position: absolute;
  left: 14px;
  bottom: 8px;
  color: white;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.4rem;
}
.court-card h3, .price-card h3, .addon-tile h3 { font-size: 2rem; text-transform: uppercase; }
.muted { color: var(--gray); }
.card-top { display: flex; justify-content: space-between; gap: 8px; align-items: start; }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .75rem;
  font-weight: 800;
  background: #e8efff;
  color: var(--blue);
}
.badge.gray { background: #eceff3; color: #6b7280; }
.badge.navy { background: var(--navy); color: white; }
.badge.pending { background: #fff4d6; color: #8a5b00; }
.badge.paid { background: #e7f0ff; color: #0057ff; }
.badge.confirmed { background: #e5f8ee; color: #0d7a45; }
.badge.cancelled { background: #fde8e8; color: #9f1239; }
.badge.completed { background: #eceff3; color: #374151; }
.price-lg {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.price-card { padding: 28px; }
.price-card .when { font-weight: 800; margin: 8px 0; }

.how-card { min-height: 180px; }
.how-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 800;
  margin-bottom: 14px;
}
.addon-tile .price-lg { font-size: 2.2rem; }

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
  background: var(--paper);
  border-radius: 28px;
  padding: 22px;
}
.contact-grid h2 { font-size: 3rem; text-transform: uppercase; }
label { display: block; font-weight: 700; font-size: .86rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--navy);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(0, 87, 255, .2);
  border-color: var(--blue);
}
.form-row { margin-bottom: 12px; }

.site-footer { background: var(--navy); color: white; margin-top: auto; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
}
.footer-inner img { width: 64px; height: 64px; border-radius: 14px; background: white; }
.site-footer a { color: white; text-decoration: none; margin-right: 14px; }
.site-footer p { margin: 0; color: rgba(255,255,255,.72); }

.book-page { background: var(--paper); min-height: 70vh; }
.book-layout, .pay-layout {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 22px;
  align-items: start;
}
.panel { padding: 22px; }
.stepper {
  list-style: none;
  display: flex;
  gap: 0;
  padding: 4px 0 0;
  margin: 0 0 26px;
}
.stepper li {
  flex: 1;
  min-width: 0;
  position: relative;
  color: var(--gray);
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
}
.stepper li:not(:last-child)::before,
.stepper li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 2px;
  border-radius: 999px;
}
.stepper li:not(:last-child)::before { background: #e3e8f0; }
.stepper li:not(:last-child)::after {
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
}
.stepper li.is-done:not(:last-child)::after { transform: scaleX(1); }
.stepper button {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.stepper .num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #e3e8f0;
  background: white;
  color: #8b95a7;
  font-size: .85rem;
  transition: background .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.stepper .step-label { line-height: 1.1; }
.stepper li.is-current { color: var(--navy); }
.stepper li.is-current .num {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  animation: stepPop .4s ease, stepPulse 1.8s ease .4s infinite;
}
.stepper li.is-done { color: var(--navy); }
.stepper li.is-done .num {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.step { display: none; }
.step.is-active { display: block; animation: rise .28s ease; }
.step h2 { font-size: 2.6rem; text-transform: uppercase; margin-bottom: 6px; }
.court-grid, .slot-grid, .check-grid { display: grid; gap: 12px; }
.court-grid { grid-template-columns: 1fr 1fr; }
.slot-block { margin-bottom: 22px; }
.slot-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.slot-block .slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.slot-group { margin: 0; text-transform: uppercase; font-size: 1.35rem; letter-spacing: .08em; }
.slot-rate { color: var(--gray); font-size: .75rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.court-select, .slot-card, .pay-option {
  width: 100%;
  text-align: left;
  border: 1.5px solid var(--line);
  background: white;
  border-radius: 20px;
  padding: 14px;
  cursor: pointer;
}
.court-select.is-selected, .pay-option.is-selected {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 87, 255, .18);
}
.slot-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 68px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.slot-card .slot-when { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.slot-card .slot-when strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
}
.slot-card .slot-when em {
  font-style: normal;
  color: var(--gray);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.slot-card.is-selected {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 10px 22px rgba(7, 26, 65, .16);
  transform: translateY(-1px);
}
.slot-card.is-selected .slot-when strong,
.slot-card.is-selected .slot-when em { color: #fff; }
.slot-card.is-selected .badge { background: var(--blue); color: #fff; }
.slot-card.is-disabled, .day:disabled { cursor: not-allowed; }
.slot-card.is-disabled {
  background: #f7f8fb;
  border-color: #eef1f6;
  color: #a0a8b8;
  box-shadow: none;
}
.slot-card.is-disabled .slot-when strong,
.slot-card.is-disabled .slot-when em { color: #a0a8b8; }
.slot-card.is-disabled .badge { background: transparent; color: #a0a8b8; padding-right: 0; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }

.cal-head, .summary-line, .pay-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: 12px;
}
.cal-grid span, .day {
  text-align: center;
  font-size: .78rem;
  font-weight: 800;
}
.day {
  border: 0;
  border-radius: 12px;
  min-height: 44px;
  background: white;
  color: var(--navy);
}
.day.is-available { background: var(--blue); color: white; }
.day.is-booked, .day.is-closed { background: #e5e7eb; color: #6b7280; }
.day.is-past { background: transparent; color: #c5cad3; }
.day.is-selected { background: var(--navy) !important; color: white; }
.legend { display: flex; gap: 12px; margin-top: 12px; color: var(--gray); font-size: .8rem; font-weight: 700; }
.legend b { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; }
.legend .a { background: var(--blue); }
.legend .b { background: #d1d5db; }
.legend .s { background: var(--navy); }

.addon-head { margin: 28px 0 14px; }
.check-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  background: white;
  margin-bottom: 16px;
}
.check-card input { width: auto; margin-top: 6px; flex: none; }
.check-card > span { display: block; flex: 1; min-width: 0; }
.check-card > .qty { flex: none; display: inline-flex; align-items: center; gap: 8px; align-self: center; }
.qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  background: white;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.qty-btn:hover { background: var(--navy); color: white; }
.qty-value { min-width: 1.4em; text-align: center; font-weight: 800; color: var(--navy); }
.check-card strong, .check-card .muted, .check-card .price-lg { display: block; }
.check-card .muted { margin-top: 6px; line-height: 1.45; }
.check-card .price-lg { font-size: 2.1rem; margin-top: 14px; }
.pay-list { display: grid; gap: 10px; }
.pay-option {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  margin: 0;
  min-height: 76px;
}
.pay-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.pay-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  color: white;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0;
}
.pay-qrph { background: #0057ff; font-size: .78rem; letter-spacing: .04em; }
.pay-gcash { background: #0057ff; }
.pay-paypal { background: #003087; }
.pay-stripe { background: #635bff; }
.pay-copy { flex: 1; min-width: 0; }
.pay-copy strong, .pay-copy .muted { display: block; }
.pay-copy strong { font-size: 1.05rem; line-height: 1.2; }
.pay-copy .muted { margin-top: 2px; }
.pay-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #c5cad3;
  flex: none;
  display: grid;
  place-items: center;
}
.pay-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
}
.pay-option.is-selected .pay-radio { border-color: var(--blue); }
.pay-option.is-selected .pay-radio::after { background: var(--blue); }
.summary-card, .pay-card { padding: 18px; position: sticky; top: 108px; }
.summary-card h2, .pay-card h2 { font-size: 2rem; text-transform: uppercase; margin-bottom: 8px; }
.summary-line, .pay-line { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.total-line { font-size: 1.4rem; font-weight: 800; padding-top: 12px; }
.hp { position: absolute; left: -10000px; height: 0; overflow: hidden; }

.pay-page, .confirm-page { background: var(--paper); }
.gateway-mark {
  border-radius: 18px;
  padding: 16px;
  color: white;
  margin-bottom: 14px;
}
.gateway-gcash { background: linear-gradient(135deg, #1a6bff, #0057ff); }
.gateway-paypal { background: linear-gradient(135deg, #003087, #009cde); }
.gateway-stripe { background: linear-gradient(135deg, #635bff, #0a2540); }
.gateway-qrph { background: linear-gradient(135deg, #071a41, #0057ff); }
.qr-frame {
  background: white;
  border-radius: 18px;
  padding: 16px;
  margin: 14px 0;
  display: grid;
  justify-items: center;
  gap: 8px;
}
.qr-frame img { width: min(260px, 100%); height: auto; }
.qr-wait { margin: 0; font-weight: 700; color: var(--navy); }
body.is-book .pay-page,
body.is-book .confirm-page { background: transparent; }
body.is-book .pay-card {
  background: rgba(14, 16, 22, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px);
  border-radius: 32px;
  color: white;
  box-shadow: none;
  padding: 22px;
}
body.is-book .pay-card > p { color: rgba(255, 255, 255, .78); }
body.is-book .pay-card .muted,
body.is-book .confirm-page .muted { color: rgba(255, 255, 255, .68); }
body.is-book .demo-note {
  background: rgba(255, 186, 92, .14);
  color: #ffe6c2;
  border: 1px solid rgba(255, 186, 92, .32);
}
body.is-book .gateway-mark { border-radius: 22px; }
body.is-book .confirm-hero,
body.is-book .confirm-hero .ref,
body.is-book .confirm-hero .eyebrow { color: white; }
.demo-note {
  background: #fff7e8;
  border-radius: 14px;
  padding: 12px;
  color: #7a4b00;
  font-weight: 700;
  margin-bottom: 14px;
}
.confirm-hero {
  text-align: center;
  padding: 28px 12px 8px;
}
.confirm-hero .check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  background: var(--blue);
  color: white;
  font-size: 1.8rem;
}
.ref {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.6rem;
  letter-spacing: .04em;
}

.toast-stack {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast-item {
  background: var(--navy);
  color: white;
  border-radius: 14px;
  padding: 12px 14px;
  min-width: 240px;
  max-width: 360px;
  box-shadow: var(--shadow);
  animation: rise .25s ease;
}
.toast-item.success { background: #0d7a45; }
.toast-item.error { background: #9f1239; }
.toast-item.is-out { opacity: 0; }

.empty {
  padding: 28px;
  text-align: center;
  color: var(--gray);
}

@keyframes headerSweep {
  0%, 100% { background-position: 0% 50%, 0% 50%; }
  50% { background-position: 0% 50%, 100% 50%; }
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(28px, 18px, 0) scale(1.08); }
}
@keyframes linesShift {
  from { transform: translateY(0); }
  to { transform: translateY(24px); }
}
@keyframes caret {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}
@keyframes drawSwoosh { to { stroke-dashoffset: 0; } }
@keyframes boardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes stepPop {
  from { transform: scale(.82); }
  to { transform: scale(1); }
}
@keyframes stepPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 87, 255, .38); }
  70% { box-shadow: 0 0 0 8px rgba(0, 87, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 87, 255, 0); }
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .nav-burger { display: grid; place-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 92px;
    background: white;
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.is-open { display: flex; }
  .site-nav.is-home .nav-links.is-open {
    background: #071a41;
    border: 1px solid rgba(255, 255, 255, .08);
  }
  .hero-grid, .book-layout, .pay-layout, .contact-grid, .card-grid, .price-grid, .addon-grid, .how-grid, .band-inner {
    grid-template-columns: 1fr;
  }
  .court-grid, .slot-grid { grid-template-columns: 1fr; }
  .slot-block .slot-grid { grid-template-columns: 1fr 1fr; }
  .stepper .step-label { font-size: .62rem; }
  .summary-card, .pay-card { position: static; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: 4rem; }
}

body.is-home,
body.is-book {
  background: #101318 url("../img/hero.jpg") center / cover fixed;
}
body.is-home::before,
body.is-book::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 16, .62);
  pointer-events: none;
  z-index: 0;
}
body.is-home .site-nav,
body.is-home #main,
body.is-home .site-footer,
body.is-book .site-footer,
body.is-book .site-nav,
body.is-book #main,
body.is-book .site-footer { position: relative; z-index: 1; }
body.is-home .site-nav {
  position: fixed;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 40;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  overflow: visible;
  backdrop-filter: none;
  transition: background .28s ease, border-color .28s ease, box-shadow .28s ease, padding .28s ease;
}
body.is-home .site-nav.is-pinned {
  background: rgba(14, 16, 22, .82);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
  padding: 6px 8px;
}
html:has(body.is-home) { scroll-padding-top: 100px; }
body.is-home .section { scroll-margin-top: 100px; }
body.is-home .nav-inner {
  max-width: none;
  padding: 0 18px;
}
body.is-home .brand img { height: 64px; max-width: 86px; }
body.is-home .nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  gap: 26px;
  font-weight: 600;
  font-size: .92rem;
}
body.is-home .nav-links a { color: rgba(255,255,255,.88); }
body.is-home .nav-links a:hover { color: white; }
body.is-home .nav-actions { margin-left: auto; display: flex; gap: 8px; }
.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.7);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
  background: transparent;
}
.nav-pill.is-solid { background: white; color: #151515; border-color: white; }
.nav-pill:hover { color: #151515; background: white; }

body.is-home .hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 28px);
  margin: 14px;
  border-radius: 32px;
  background: #101318;
  color: white;
}
body.is-home .hero-photo {
  position: absolute;
  inset: 0;
  background: url("../img/hero.jpg") center 62% / cover no-repeat;
  animation: heroKen 26s ease-in-out infinite alternate;
  transform-origin: 72% 58%;
}
body.is-home .hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,10,16,.72) 0%, rgba(8,10,16,.28) 40%, rgba(8,10,16,.05) 68%),
    linear-gradient(180deg, rgba(8,10,16,.28), transparent 20%, transparent 68%, rgba(8,10,16,.45));
}
body.is-home .hero-stage {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 28px);
  max-width: none;
  margin: 0;
  padding: 118px 36px 36px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: end;
}
body.is-home .hero h1 {
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: clamp(3.1rem, 5.6vw, 5.4rem);
  line-height: .98;
  letter-spacing: -0.045em;
  text-transform: none;
  color: white;
  min-height: 2.05em;
  max-width: 12ch;
}
body.is-home .type-line { color: white; }
body.is-home .type-line.is-typing::after,
body.is-home .type-line.is-caret::after { background: white; }
body.is-home .lede {
  color: rgba(255,255,255,.82);
  font-size: 1rem;
  max-width: 420px;
}
body.is-home .eyebrow {
  color: rgba(255,255,255,.72);
  letter-spacing: .2em;
  font-size: .72rem;
}
.glass-card, .spot-card {
  background: rgba(18, 20, 26, .55);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(16px);
  border-radius: 22px;
  color: white;
}
.glass-card { max-width: 460px; padding: 16px 16px 12px; margin-top: 8px; }
.glass-top, .spot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.glass-top span, .spot-row p { color: rgba(255,255,255,.72); font-size: .82rem; margin: 0; }
.pill-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: white;
  color: #151515;
  text-decoration: none;
  font-weight: 800;
  font-size: .92rem;
}
.pill-light:hover { color: #151515; transform: translateY(-1px); }
.glass-stats, .hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.glass-stats { margin-top: 16px; padding-top: 8px; }
.glass-stats strong, .hero-metrics strong {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.glass-stats span, .hero-metrics span {
  color: rgba(255,255,255,.68);
  font-size: .75rem;
}
.stat-kicker {
  display: block;
  margin-bottom: 6px;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-quote {
  margin: 28px 0 0;
  max-width: 220px;
  color: rgba(255,255,255,.8);
  font-style: italic;
  font-size: .95rem;
}
.hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.hero-metrics { width: min(100%, 280px); text-align: center; }
.spot-card { width: min(100%, 320px); padding: 10px; }
.spot-card img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 12px;
}
.spot-row { padding: 0 6px 12px; align-items: flex-start; }
.spot-row strong { display: block; font-size: .98rem; letter-spacing: -0.02em; }
.spot-row b { font-size: 1.35rem; letter-spacing: -0.03em; }
.spot-card .pill-light { width: 100%; }

body.is-home .section {
  max-width: none;
  margin: 0 14px 14px;
  padding: 36px 32px 40px;
  background: rgba(14, 16, 22, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px);
  border-radius: 32px;
  color: white;
}
body.is-home .section-head h2,
body.is-home .section h2,
body.is-home .contact-grid h2 {
  font-family: Manrope, sans-serif;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.04em;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  color: white;
}
body.is-home .section-head p,
body.is-home .section .muted,
body.is-home .contact-grid .muted { color: rgba(255, 255, 255, .68); }
body.is-home .court-card h3,
body.is-home .price-card h3,
body.is-home .addon-tile h3,
body.is-home .how-card h3,
body.is-home .lookup-card h3 {
  font-family: Manrope, sans-serif;
  text-transform: none;
  letter-spacing: -0.03em;
  font-size: 1.25rem;
  line-height: 1.15;
  color: white;
}
body.is-home .price-card .eyebrow { color: rgba(255, 255, 255, .62); }
body.is-home .price-lg {
  font-family: Manrope, sans-serif;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: white;
}
body.is-home .court-card,
body.is-home .price-card,
body.is-home .addon-tile,
body.is-home .how-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: none;
  border-radius: 22px;
  color: white;
}
body.is-home .badge {
  background: rgba(255, 255, 255, .12);
  color: white;
}
body.is-home .how-card span {
  background: white;
  color: #151515;
}
body.is-home .court-visual { height: 120px; border-radius: 16px; }
body.is-home .contact-grid {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
body.is-home .contact-grid a { color: white; }
body.is-home .lookup-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  padding: 22px;
  color: white;
}
body.is-home .lookup-card label { color: rgba(255, 255, 255, .78); }
body.is-home .lookup-card input {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  color: white;
}
body.is-home .lookup-card input::placeholder { color: rgba(255, 255, 255, .4); }
body.is-home .lookup-card .pill-light { border: 0; cursor: pointer; }
body.is-home .site-footer,
body.is-book .site-footer {
  background: transparent;
  margin: auto 14px 14px;
}
body.is-home .footer-inner,
body.is-book .footer-inner {
  position: relative;
  overflow: hidden;
  max-width: none;
  margin: 0;
  padding: 32px;
  min-height: 168px;
  background: rgba(14, 16, 22, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px);
  border-radius: 32px;
  color: white;
}
body.is-home .footer-inner::before,
body.is-book .footer-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero.jpg") center 30% / cover no-repeat;
  opacity: .28;
  pointer-events: none;
}
body.is-home .footer-inner > *,
body.is-book .footer-inner > * { position: relative; z-index: 1; }
body.is-home .footer-actions,
body.is-book .footer-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
body.is-home .site-footer a,
body.is-home .site-footer strong,
body.is-book .site-footer a,
body.is-book .site-footer strong { color: white; }
body.is-home .site-footer p,
body.is-book .site-footer p { color: rgba(255, 255, 255, .68); }
body.is-home .site-footer .pill-light,
body.is-book .site-footer .pill-light { color: #151515; }
body.is-home .footer-inner img,
body.is-book .footer-inner img { background: white; }

@keyframes heroKen {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

@media (max-width: 900px) {
  body.is-home .site-nav { top: 12px; left: 10px; right: 10px; }
  body.is-home .site-nav.is-pinned { border-radius: 22px; }
  body.is-home .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 58px;
    transform: none;
    background: rgba(16, 18, 22, .94);
  }
  body.is-home .nav-links.is-open { display: flex; }
  body.is-home .nav-actions { display: none; }
  body.is-home .hero { min-height: auto; margin: 10px; border-radius: 24px; }
  body.is-home .hero-stage {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 96px 18px 22px;
    align-items: start;
  }
  body.is-home .hero h1 { font-size: 2.7rem; max-width: none; }
  body.is-home .hero-side, .spot-card, .hero-metrics, .glass-card { width: 100%; max-width: none; align-items: stretch; }
  body.is-home .section { margin: 0 10px 10px; padding: 24px 16px 28px; border-radius: 22px; }
  body.is-home .site-footer,
  body.is-book .site-footer { margin: auto 10px 10px; }
}

body.is-book .site-nav {
  position: sticky;
  top: 12px;
  z-index: 5;
  margin: 14px 14px 0;
  background: rgba(14, 16, 22, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  backdrop-filter: blur(18px);
}
body.is-book .nav-inner { max-width: none; padding: 10px 18px; }
body.is-book .brand img { height: 58px; max-width: 78px; }
body.is-book .nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  gap: 26px;
  font-weight: 600;
}
body.is-book .nav-links a { color: rgba(255, 255, 255, .88); }
body.is-book .nav-links a:hover { color: white; }
body.is-book .nav-actions { margin-left: auto; display: flex; gap: 8px; }
body.is-book .nav-burger { background: rgba(255, 255, 255, .12); color: white; }
body.is-book .book-page { background: transparent; }
body.is-book .panel,
body.is-book .summary-card {
  background: rgba(14, 16, 22, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px);
  border-radius: 32px;
  color: white;
  box-shadow: none;
}
body.is-book .eyebrow,
body.is-book .muted,
body.is-book .slot-rate,
body.is-book .summary-line span,
body.is-book .legend,
body.is-book .cal-grid span { color: rgba(255, 255, 255, .68); }
body.is-book .step h2,
body.is-book .summary-card h2,
body.is-book .slot-group,
body.is-book .check-card strong,
body.is-book .summary-line strong,
body.is-book .total-line {
  color: white;
  font-family: Manrope, sans-serif;
  text-transform: none;
  letter-spacing: -0.03em;
}
body.is-book .step h2,
body.is-book .summary-card h2 { letter-spacing: -0.04em; }
body.is-book .summary-line,
body.is-book .slot-head,
body.is-book .pay-line { border-color: rgba(255, 255, 255, .12); }
body.is-book .stepper li,
body.is-book .stepper li.is-current,
body.is-book .stepper li.is-done { color: rgba(255, 255, 255, .82); }
body.is-book .stepper .num {
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
  color: white;
}
body.is-book .stepper li.is-current .num {
  background: white;
  border-color: white;
  color: #151515;
}
body.is-book .stepper li.is-done .num {
  background: rgba(255, 255, 255, .18);
  border-color: white;
  color: white;
}
body.is-book .stepper li:not(:last-child)::before { background: rgba(255, 255, 255, .22); }
body.is-book .stepper li.is-done:not(:last-child)::after { background: white; }
body.is-book .court-select,
body.is-book .slot-card,
body.is-book .pay-option,
body.is-book .check-card {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
  color: white;
  box-shadow: none;
}
body.is-book .check-card { padding: 20px 22px; }
body.is-book .court-select.is-selected,
body.is-book .pay-option.is-selected {
  border-color: white;
  background: rgba(255, 255, 255, .1);
  box-shadow: none;
}
body.is-book .pay-option input {
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  background: transparent;
}
body.is-book .pay-radio { border-color: rgba(255, 255, 255, .45); }
body.is-book .pay-option.is-selected .pay-radio { border-color: #0057ff; }
body.is-book .pay-option.is-selected .pay-radio::after { background: #0057ff; }
body.is-book .slot-card.is-selected {
  background: white;
  color: #151515;
  border-color: white;
  box-shadow: none;
}
body.is-book .slot-card.is-selected .slot-when strong,
body.is-book .slot-card.is-selected .slot-when em { color: #151515; }
body.is-book .slot-card.is-selected .badge { background: #151515; color: white; }
body.is-book .slot-card.is-disabled {
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .38);
  border-color: rgba(255, 255, 255, .08);
}
body.is-book .slot-card.is-disabled .slot-when strong,
body.is-book .slot-card.is-disabled .slot-when em,
body.is-book .slot-card.is-disabled .badge { color: rgba(255, 255, 255, .38); }
body.is-book .badge { background: rgba(255, 255, 255, .12); color: white; }
body.is-book .price-lg { color: white; font-family: Manrope, sans-serif; font-size: 1.55rem; }
body.is-book .qty-btn {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, .45);
}
body.is-book .qty-btn:hover { background: white; color: #151515; }
body.is-book .qty-value { color: white; }
body.is-book .btn-pd {
  background: white;
  color: #151515;
  box-shadow: none;
}
#confirmModal .modal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
#confirmModal .modal-error {
  flex: 1 0 100%;
  margin: 0;
  color: #9f1239;
  font-weight: 700;
}
#confirmModal .btn-pd {
  background: linear-gradient(135deg, #3d84ff 0%, #0057ff 42%, #0041d8 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 87, 255, 0.28);
}
#confirmModal .btn-pd:hover { color: #fff; }
#confirmModal .btn-pd-outline {
  background: #fff;
  color: #071a41;
  border-color: #071a41;
}
body.is-book .btn-pd:hover { color: #151515; }
body.is-book .btn-pd-outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, .45);
}
body.is-book .btn-pd-outline:hover { background: white; color: #151515; }
body.is-book label { color: rgba(255, 255, 255, .8); }
body.is-book input,
body.is-book textarea,
body.is-book select {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  color: white;
}
body.is-book input::placeholder,
body.is-book textarea::placeholder { color: rgba(255, 255, 255, .4); }
body.is-book .day { background: rgba(255, 255, 255, .08); color: white; }
body.is-book .day.is-available { background: white; color: #151515; }
body.is-book .day.is-selected { background: #0057ff !important; color: white; box-shadow: inset 0 0 0 2px white; }
body.is-book .day.is-booked,
body.is-book .day.is-closed,
body.is-book .day.is-past { background: transparent; color: rgba(255, 255, 255, .32); }
body.is-book .legend .a { background: white; }
body.is-book .legend .s { background: #0057ff; box-shadow: inset 0 0 0 1px white; }

@media (max-width: 900px) {
  body.is-book .nav-links {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 72px;
    transform: none;
    background: rgba(16, 18, 22, .96);
  }
  body.is-book .nav-links.is-open { display: flex; }
  body.is-book .nav-actions { display: none; }
  body.is-book .site-nav { margin: 10px 10px 0; }
  body.is-book .site-footer { margin: auto 10px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
