:root {
  color-scheme: light;
  --ink: #10201b;
  --muted: #5d6b65;
  --paper: #fbfaf4;
  --surface: #ffffff;
  --line: #dfe5dc;
  --green: #0f7b4f;
  --green-dark: #084b35;
  --blue: #246aa8;
  --gold: #e8b64c;
  --coral: #dc634f;
  --shadow: 0 20px 60px rgba(16, 32, 27, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 250, 244, 0.95);
  box-shadow: 0 10px 30px rgba(16, 32, 27, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  opacity: 0.78;
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.93rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.nav-cta {
  padding: 11px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #10201b;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1526232761682-d26e03ac148e?auto=format&fit=crop&w=2200&q=85");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 17, 13, 0.86) 0%, rgba(5, 17, 13, 0.52) 52%, rgba(5, 17, 13, 0.16) 100%),
    linear-gradient(0deg, rgba(5, 17, 13, 0.82) 0%, rgba(5, 17, 13, 0) 42%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  padding: 144px clamp(20px, 6vw, 72px) 150px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.6rem, 10vw, 8.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.08;
}

.hero-copy {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.03rem, 1.9vw, 1.38rem);
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary.dark {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.button.whatsapp {
  color: #fff;
  background: #168c5a;
}

.hero-stats {
  position: absolute;
  right: clamp(20px, 5vw, 64px);
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  width: min(650px, calc(100% - 40px));
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(8, 25, 19, 0.58);
  backdrop-filter: blur(14px);
}

.hero-stats div {
  min-width: 0;
  padding: 20px;
}

.hero-stats div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.hero-stats span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

section:not(.hero) {
  padding: clamp(68px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(280px, 1.26fr);
  gap: clamp(24px, 6vw, 82px);
  align-items: end;
  margin-bottom: 38px;
}

.quick-book {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(320px, 1.3fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  background: var(--surface);
}

.booking-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  background: #f6f4ea;
  box-shadow: var(--shadow);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 2px 0 0;
  color: var(--green);
  font-weight: 800;
  line-height: 1.45;
}

.form-status.is-error {
  color: #b42318;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfd8cd;
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.booking-panel .button {
  align-self: end;
}

.sports-section {
  background: var(--paper);
}

.sport-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.sport-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1fr);
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.sport-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sport-card div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(22px, 3vw, 34px);
}

.sport-label {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sport-card p:not(.sport-label),
.experience-copy p,
.membership p,
.contact p {
  color: var(--muted);
  line-height: 1.65;
}

.text-link {
  margin-top: auto;
  color: var(--green);
  font-weight: 900;
  text-underline-offset: 5px;
}

.experience {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 88px);
  color: #fff;
  background: var(--green-dark);
}

.experience-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list div {
  padding: 22px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}

.membership {
  background: #f3f6f5;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.membership-grid article {
  min-height: 260px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 250px;
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-grid img:first-child {
  grid-row: span 2;
}

.reviews {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 6vw, 80px);
  background: #172440;
  color: #fff;
}

.review-strip {
  display: grid;
  gap: 16px;
}

blockquote {
  margin: 0;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

blockquote p {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
}

cite {
  color: var(--gold);
  font-style: normal;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 420px);
  gap: clamp(28px, 6vw, 88px);
  background: var(--surface);
}

.hours-panel {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f2e4;
}

.hours-panel p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(16, 32, 27, 0.12);
}

.hours-panel p:last-child {
  border-bottom: 0;
}

.hours-panel span {
  color: var(--muted);
  text-align: right;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 72px);
  color: #fff;
  background: #0a1713;
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  text-decoration: none;
}

.policy-page {
  min-height: 100vh;
  background: var(--paper);
}

.policy {
  width: min(820px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 92px) 0;
}

.policy h1 {
  margin: 28px 0 24px;
  font-size: clamp(2.5rem, 7vw, 5rem);
}

.policy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.dashboard-page {
  min-height: 100vh;
  background: #f4f7f6;
}

.dashboard-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) 0;
}

.dashboard-login {
  width: min(560px, 100%);
  margin: 8vh auto 0;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.dashboard-login h1,
.dashboard-topbar h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.95;
}

.dashboard-login p {
  color: var(--muted);
  line-height: 1.6;
}

.admin-key-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.dashboard-topbar,
.dashboard-actions,
.dashboard-filters,
.dashboard-summary {
  display: flex;
  gap: 14px;
}

.dashboard-topbar {
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.dashboard-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dashboard-filters {
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.dashboard-filters label:first-child {
  flex: 1;
}

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0;
}

.dashboard-summary div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.dashboard-summary strong,
.dashboard-summary span {
  display: block;
}

.dashboard-summary strong {
  font-size: 2rem;
}

.dashboard-summary span {
  color: var(--muted);
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

td {
  font-size: 0.95rem;
}

td select {
  min-height: 38px;
}

@media (max-width: 980px) {
  .section-heading,
  .quick-book,
  .experience,
  .reviews,
  .contact {
    grid-template-columns: 1fr;
  }

  .sport-grid,
  .membership-grid {
    grid-template-columns: 1fr;
  }

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

  .dashboard-topbar,
  .dashboard-actions,
  .dashboard-filters {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-summary {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -118px 20px 24px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 12px 16px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    min-height: 900px;
  }

  .hero-content {
    padding: 112px 20px 184px;
  }

  .hero-stats,
  .booking-panel,
  .sport-card,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .sport-card {
    min-height: auto;
  }

  .sport-card img {
    height: 240px;
  }

  .gallery-grid {
    grid-auto-rows: 230px;
  }

  .gallery-grid img:first-child {
    grid-row: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand small {
    display: none;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
