:root {
  --navy: #102a27;
  --navy-2: #173c37;
  --green: #3d7658;
  --green-dark: #28553f;
  --lime: #d7e865;
  --cream: #f2eee4;
  --paper: #fbfaf6;
  --ink: #17211f;
  --muted: #66706c;
  --line: #d8ddd7;
  --orange: #ed7a3d;
  --blue: #5e83aa;
  --white: #fff;
  --display: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 20px 60px rgba(22, 43, 37, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.topbar {
  height: 78px;
  padding: 0 clamp(24px, 6vw, 96px);
  display: flex;
  align-items: center;
  gap: 42px;
  color: white;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.12);
  position: relative;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: -.3px;
  white-space: nowrap;
}
.brand strong { font-weight: 800; }
.brand-mark { width: 34px; height: 34px; display: inline-flex; }
.brand-mark svg { width: 100%; height: 100%; fill: var(--lime); }
.brand-mark path { stroke: var(--navy); stroke-width: 2; fill: none; }

.nav-links { display: flex; align-items: center; gap: 32px; margin-left: 16px; }
.nav-links a { font-size: 14px; color: rgba(255,255,255,.72); transition: .2s ease; }
.nav-links a:hover { color: white; }

.button {
  min-height: 46px;
  padding: 0 21px;
  border: 0;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy); background: var(--lime); box-shadow: 0 10px 30px rgba(130,156,32,.18); }
.button-primary:hover { background: #e1f071; box-shadow: 0 14px 34px rgba(130,156,32,.26); }
.button-light { color: var(--navy); background: white; }
.button-dark { color: white; background: var(--navy); }
.button-ghost { color: var(--navy); background: transparent; border: 1px solid #cbd2cc; }
.header-book { margin-left: auto; min-height: 42px; }

.hero {
  min-height: 650px;
  background: var(--navy);
  color: white;
  display: grid;
  grid-template-columns: minmax(360px, .85fr) minmax(460px, 1.15fr);
  align-items: center;
  gap: clamp(36px, 7vw, 120px);
  padding: 70px clamp(24px, 8vw, 128px) 90px;
  overflow: hidden;
}

.hero-copy { max-width: 620px; position: relative; z-index: 2; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  font-weight: 700;
  color: rgba(255,255,255,.62);
}
.eyebrow span { width: 22px; height: 1px; background: var(--lime); }
.hero h1, .section-heading h2, .rules-intro h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .98;
}
.hero h1 { font-size: clamp(54px, 6.6vw, 96px); }
.hero h1 em, .rules-intro h2 em { color: var(--lime); font-family: Georgia, serif; font-weight: 400; }
.hero-copy > p {
  max-width: 520px;
  margin: 30px 0 36px;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  font-size: 17px;
}
.hero-actions { display: flex; align-items: center; gap: 30px; }
.hero-actions .button { min-height: 52px; }
.text-link { font-size: 14px; color: rgba(255,255,255,.75); display: inline-flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.35); }
.free-proof { margin-top: 26px; color: rgba(255,255,255,.5); font-size: 11px; letter-spacing: .2px; }
.free-proof span { color: var(--lime); font-weight: 900; }

.hero-visual { position: relative; min-height: 460px; display: flex; align-items: center; justify-content: center; }
.sun-orbit {
  position: absolute;
  width: min(42vw, 600px);
  aspect-ratio: 1;
  border: 1px solid rgba(215,232,101,.17);
  border-radius: 50%;
}
.sun-orbit::after { content: ""; position: absolute; width: 10px; height: 10px; background: var(--lime); border-radius: 50%; right: 11%; top: 14%; box-shadow: 0 0 24px var(--lime); }
.court-illustration {
  position: relative;
  width: min(38vw, 530px);
  aspect-ratio: 1.42;
  background: var(--green);
  border: 10px solid #315f49;
  outline: 1px solid rgba(255,255,255,.1);
  transform: perspective(900px) rotateX(58deg) rotateZ(-8deg);
  box-shadow: 25px 45px 0 rgba(0,0,0,.1), 0 60px 90px rgba(0,0,0,.24);
}
.court-lines { position: absolute; inset: 8%; border: 2px solid rgba(255,255,255,.78); }
.court-lines::after, .court-lines::before { content: ""; position: absolute; inset-block: 0; width: 2px; background: rgba(255,255,255,.78); }
.court-lines::before { left: 14%; }
.court-lines::after { right: 14%; }
.net { position: absolute; left: -5%; right: -5%; top: 50%; height: 3px; background: white; box-shadow: 2px 4px 0 rgba(0,0,0,.25); z-index: 2; }
.service-line { position: absolute; height: 2px; background: rgba(255,255,255,.78); left: 14%; right: 14%; }
.service-line-top { top: 26%; }
.service-line-bottom { bottom: 26%; }
.center-line { position: absolute; width: 2px; background: rgba(255,255,255,.78); left: 50%; }
.center-line-top { top: 26%; bottom: 50%; }
.center-line-bottom { top: 50%; bottom: 26%; }
.court-number { position: absolute; z-index: 3; left: 6%; top: 4%; font-family: var(--display); font-size: clamp(44px, 5vw, 72px); font-weight: 800; color: rgba(255,255,255,.12); line-height: 1; }
.court-label { position: absolute; z-index: 3; right: 4%; bottom: 2%; font-size: 10px; color: rgba(255,255,255,.5); letter-spacing: 1.2px; text-transform: uppercase; }
.ball { position: absolute; width: 17px; height: 17px; background: var(--lime); border-radius: 50%; box-shadow: -2px 4px 7px rgba(0,0,0,.3); z-index: 4; }
.ball::after { content: ""; position: absolute; width: 11px; height: 11px; top: 2px; left: -4px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; }
.ball-one { left: 34%; top: 36%; }
.ball-two { right: 18%; bottom: 15%; opacity: .8; }

.availability-card {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 5%;
  width: 190px;
  padding: 18px 20px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: var(--shadow);
}
.availability-card div { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; color: var(--muted); font-size: 12px; }
.availability-card strong { font-family: var(--display); font-size: 17px; }
.pulse { width: 7px; height: 7px; background: #58a46f; border-radius: 50%; box-shadow: 0 0 0 4px rgba(88,164,111,.14); display: inline-block; }

.schedule-section { padding: 100px clamp(20px, 6vw, 96px) 110px; background: var(--cream); }
.section-heading { max-width: 1280px; margin: 0 auto 44px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.eyebrow-dark { color: var(--green); margin-bottom: 20px; }
.eyebrow-dark span { background: var(--green); }
.section-heading h2 { font-size: clamp(40px, 5vw, 68px); color: var(--navy); }
.section-heading p { max-width: 590px; margin: 18px 0 0; color: var(--muted); line-height: 1.65; }

.ping-explainer { max-width: 1280px; min-height: 70px; margin: 0 auto 14px; padding: 15px 18px; display: flex; align-items: center; gap: 15px; color: white; background: var(--green-dark); border-left: 4px solid var(--lime); }
.ping-icon { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: var(--lime); font-size: 22px; font-weight: 900; transform: rotate(-15deg); }
.ping-explainer div { display: grid; gap: 3px; }
.ping-explainer strong { font-family: var(--display); font-size: 14px; }
.ping-explainer div span { color: rgba(255,255,255,.66); font-size: 12px; line-height: 1.45; }

.my-bookings { max-width: 1280px; margin: 0 auto 14px; padding: 18px; background: white; border: 1px solid rgba(21,54,49,.12); box-shadow: 0 10px 28px rgba(27,50,44,.06); }
.my-bookings-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.my-bookings-header span { color: var(--green); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; }
.my-bookings-header h3 { margin: 3px 0 0; font-family: var(--display); font-size: 20px; letter-spacing: -.03em; }
.notification-button { min-height: 38px; padding: 0 13px; border: 1px solid #cbd3cc; color: var(--green-dark); background: #f4f6ee; font-size: 11px; font-weight: 800; cursor: pointer; }
.notification-button:disabled { opacity: .65; cursor: default; }
.my-bookings-list { display: grid; gap: 9px; }
.your-booking-card { min-height: 70px; padding: 12px 13px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 14px; color: var(--ink); background: #edf1e6; border-left: 4px solid var(--blue); }
.your-booking-info { min-width: 0; display: grid; gap: 3px; }
.your-booking-info strong { font-family: var(--display); font-size: 14px; }
.your-booking-info span { color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.your-booking-actions { display: flex; align-items: center; gap: 8px; }
.checkin-button, .card-cancel-button { min-height: 38px; padding: 0 13px; border: 0; font-size: 11px; font-weight: 800; cursor: pointer; }
.checkin-button { color: var(--navy); background: var(--lime); }
.checkin-button:disabled { color: #63706b; background: #dce1da; cursor: default; }
.checkin-button.checked-in { color: white; background: var(--green); }
.card-cancel-button { color: #9d3f34; background: transparent; border: 1px solid #d7bdb8; }

.date-toolbar { max-width: 1280px; margin: 0 auto 14px; min-height: 64px; padding: 10px 12px; display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,.62); border: 1px solid rgba(21,54,49,.1); }
.icon-button { width: 42px; height: 42px; border: 1px solid #d2d8d1; background: transparent; cursor: pointer; font-size: 18px; transition: .2s ease; }
.icon-button:hover { background: var(--navy); color: white; border-color: var(--navy); }
.date-display { position: relative; min-width: 220px; border: 0; background: transparent; text-align: left; display: grid; padding: 3px 34px 3px 10px; cursor: pointer; }
.date-display .date-kicker { color: var(--green); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.3px; }
.date-display strong { font-family: var(--display); font-size: 15px; }
.calendar-icon { position: absolute; right: 5px; top: 11px; color: var(--muted); }
.toolbar-spacer { flex: 1; }
.legend { display: flex; gap: 20px; padding-right: 6px; color: var(--muted); font-size: 12px; }
.legend span { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.legend i { width: 9px; height: 9px; border-radius: 2px; }
.legend-open { border: 1px solid #b4c1b7; background: white; }
.legend-booked { background: var(--orange); }
.legend-yours { background: var(--blue); }
.visually-hidden { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }

.schedule-shell { max-width: 1280px; margin: 0 auto; background: var(--paper); box-shadow: 0 15px 45px rgba(27,50,44,.08); border: 1px solid rgba(21,54,49,.11); }
.schedule-scroll { max-height: 695px; overflow: auto; scrollbar-width: thin; scrollbar-color: #a8b3ab transparent; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.schedule-grid { min-width: 900px; display: grid; grid-template-columns: 86px repeat(6, minmax(125px, 1fr)); position: relative; }
.schedule-grid::after { content: ""; position: absolute; top: 70px; bottom: 0; left: 86px; width: calc(100% - 86px); pointer-events: none; background: linear-gradient(90deg, transparent 49.8%, rgba(18,56,48,.035) 50%, transparent 50.2%); background-size: calc((100%)/6) 100%; }
.corner-cell, .court-header { height: 70px; background: var(--navy); color: white; position: sticky; top: 0; z-index: 7; border-right: 1px solid rgba(255,255,255,.1); }
.corner-cell { left: 0; z-index: 9; display: flex; align-items: center; justify-content: center; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.5); }
.court-header { display: flex; flex-direction: column; align-items: center; justify-content: center; scroll-snap-align: start; }
.court-header strong { font-family: var(--display); font-size: 15px; }
.time-cell { height: 58px; background: #f5f3ec; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: sticky; left: 0; z-index: 4; display: flex; align-items: flex-start; justify-content: center; padding-top: 8px; color: #76807c; font-size: 11px; font-weight: 600; }
.slot {
  height: 58px;
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.6);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .15s ease;
}
.slot::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed rgba(28,62,52,.09); }
.slot:hover { background: #edf2df; }
.slot:hover::before { content: "+ Book"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--green-dark); font-size: 11px; font-weight: 700; z-index: 2; }
.booking-block {
  position: absolute;
  margin: 4px;
  padding: 7px 9px;
  z-index: 5;
  color: white;
  background: var(--orange);
  border-left: 3px solid #b9501d;
  box-shadow: 0 4px 10px rgba(74,50,29,.11);
  overflow: hidden;
  cursor: default;
}
.booking-block.yours { background: var(--blue); border-left-color: #315c88; }
.booking-block strong, .booking-block span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking-block strong { font-size: 11px; }
.booking-block span { margin-top: 2px; font-size: 9px; opacity: .82; }
.booking-block .cancel-booking { position: absolute; right: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; border: 0; color: white; background: rgba(0,0,0,.18); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.past-slot { background: #f0efe9; cursor: not-allowed; }
.past-slot:hover { background: #f0efe9; }
.past-slot:hover::before { content: none; }
.past-slot::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(135deg, transparent 46%, rgba(41,62,56,.05) 47%, rgba(41,62,56,.05) 53%, transparent 54%); background-size: 10px 10px; }
.now-line { position: absolute; z-index: 6; height: 2px; background: #dc5046; left: 72px; right: 0; pointer-events: none; }
.now-line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #dc5046; position: absolute; left: 10px; top: -3px; }
.now-label { position: absolute; left: 8px; top: -9px; color: #c64138; background: var(--paper); padding: 0 5px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; }
.schedule-footer { min-height: 48px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.mobile-scroll-note { display: none; }
.jump-now { border: 0; background: none; color: var(--green-dark); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }

.rules-section { padding: 110px clamp(24px, 8vw, 128px); background: var(--green-dark); color: white; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 9vw, 160px); }
.eyebrow-light { margin-bottom: 24px; }
.rules-intro h2 { font-size: clamp(44px, 5vw, 70px); }
.rules-intro p { max-width: 440px; color: rgba(255,255,255,.65); line-height: 1.7; margin-top: 26px; }
.rule-list { border-top: 1px solid rgba(255,255,255,.2); }
.rule-list article { display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.rule-number { color: var(--lime); font-family: var(--display); font-size: 12px; letter-spacing: 1px; }
.rule-list h3 { font-family: var(--display); margin: 0 0 8px; font-size: 21px; }
.rule-list p { margin: 0; color: rgba(255,255,255,.62); line-height: 1.5; }

footer { min-height: 120px; padding: 30px clamp(24px, 6vw, 96px); background: var(--navy); color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 40px; font-size: 12px; }
.footer-brand { color: white; margin-right: auto; }

.booking-dialog {
  width: min(630px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 32px 100px rgba(4,20,16,.35);
}
.booking-dialog::backdrop { background: rgba(6,26,23,.74); backdrop-filter: blur(5px); }
.booking-dialog[open] { animation: dialog-in .25s ease both; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.booking-dialog form { padding: 34px; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; }
.dialog-kicker { color: var(--green); font-size: 10px; text-transform: uppercase; letter-spacing: 1.6px; font-weight: 800; }
.dialog-header h2 { margin: 7px 0 0; font-family: var(--display); font-size: 34px; letter-spacing: -.04em; }
.close-button { width: 38px; height: 38px; border: 1px solid #d6dad5; background: transparent; font-size: 25px; cursor: pointer; line-height: 1; }
.dialog-summary { margin: 24px 0; padding: 13px 16px; background: #e7ebdf; color: var(--green-dark); display: flex; gap: 8px; font-size: 13px; }
.summary-date { font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid label > span { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; }
.form-grid input, .form-grid select { width: 100%; height: 48px; padding: 0 13px; color: var(--ink); background: white; border: 1px solid #ccd3cc; border-radius: 1px; outline: none; }
.form-grid input:focus, .form-grid select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(61,118,88,.1); }
.field-error { display: block; min-height: 17px; padding-top: 4px; color: #b74635; font-size: 10px; }
.availability-message { min-height: 20px; margin: 16px 0 8px; font-size: 12px; font-weight: 600; }
.availability-message.available { color: var(--green); }
.availability-message.unavailable { color: #b74635; }
.agreement { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 12px; line-height: 1.45; cursor: pointer; }
.agreement input { margin-top: 2px; accent-color: var(--green); }
.reminder-option { margin-top: 13px; padding: 12px 13px; display: flex; align-items: flex-start; gap: 10px; color: var(--ink); background: #edf1e6; border: 1px solid #d4dccf; cursor: pointer; }
.reminder-option input { margin-top: 3px; accent-color: var(--green); }
.reminder-option span { display: grid; gap: 2px; }
.reminder-option strong { font-size: 12px; }
.reminder-option small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 25px; padding-top: 22px; border-top: 1px solid #dde1dc; }
.confirm-button { min-width: 220px; }

.toast { position: fixed; z-index: 30; right: 24px; bottom: 24px; width: min(360px, calc(100vw - 32px)); padding: 16px; color: white; background: var(--navy); box-shadow: var(--shadow); display: flex; align-items: center; gap: 13px; transform: translateY(140%); opacity: 0; transition: .35s cubic-bezier(.2,.8,.2,1); }
.toast.show { transform: none; opacity: 1; }
.toast-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: var(--lime); font-weight: 900; }
.toast div { display: grid; gap: 2px; font-size: 12px; }
.toast div span { color: rgba(255,255,255,.65); }
.toast button { margin-left: auto; color: white; border: 0; background: none; font-size: 20px; cursor: pointer; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { max-width: 700px; }
  .hero-visual { min-height: 410px; }
  .court-illustration { width: min(72vw, 520px); }
  .sun-orbit { width: min(80vw, 600px); }
  .availability-card { right: 6%; }
  .rules-section { grid-template-columns: 1fr; }
  footer { flex-wrap: wrap; gap: 15px 28px; }
  .footer-brand { flex-basis: 100%; }
}

@media (max-width: 640px) {
  .topbar { height: 66px; padding: 0 18px; }
  .header-book { min-height: 38px; padding: 0 13px; }
  .hero { padding: 58px 20px 64px; }
  .hero h1 { font-size: clamp(48px, 15vw, 66px); }
  .hero-copy > p { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-visual { min-height: 330px; margin-top: 15px; }
  .court-illustration { width: 78vw; border-width: 7px; }
  .availability-card { right: 0; bottom: 0; }
  .schedule-section { padding: 76px 14px 80px; }
  .section-heading { display: block; margin-inline: 7px; }
  .section-heading .button { margin-top: 25px; width: 100%; }
  .ping-explainer { align-items: flex-start; padding: 14px; }
  .ping-explainer div span { font-size: 11px; }
  .my-bookings { padding: 14px; }
  .my-bookings-header { align-items: flex-start; flex-direction: column; }
  .notification-button { width: 100%; }
  .your-booking-card { grid-template-columns: 1fr; }
  .your-booking-actions { width: 100%; }
  .your-booking-actions button { flex: 1; }
  .date-toolbar { flex-wrap: wrap; padding: 10px; }
  .date-display { min-width: 0; flex: 1; }
  .toolbar-spacer { display: none; }
  .legend { order: 2; width: 100%; justify-content: space-between; gap: 7px; padding: 8px 2px 0; border-top: 1px solid #dde1dc; }
  .legend span { font-size: 10px; }
  .schedule-scroll { max-height: 620px; scroll-snap-type: x proximity; scroll-padding-left: 86px; }
  .schedule-grid { min-width: 848px; grid-template-columns: 86px repeat(6, 127px); }
  .desktop-scroll-note { display: none; }
  .mobile-scroll-note { display: inline; color: var(--green-dark); font-weight: 700; }
  .rules-section { padding: 80px 24px; }
  .rule-list article { grid-template-columns: 46px 1fr; gap: 16px; }
  footer { padding: 32px 24px; }
  .booking-dialog form { padding: 24px 20px; }
  .dialog-header h2 { font-size: 29px; }
  .form-grid { grid-template-columns: 1fr; gap: 8px; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions .button { width: 100%; }
}

@media (max-width: 380px) {
  .brand { font-size: 15px; }
  .brand-mark { width: 30px; height: 30px; }
  .header-book { padding-inline: 11px; font-size: 12px; }
  .hero { padding-inline: 17px; }
  .hero h1 { font-size: 47px; }
  .legend span { font-size: 9px; }
  .date-display strong { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
