@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css');

:root {
  --bg: #07120f;
  --bg-2: #0b1d18;
  --surface: #ffffff;
  --surface-2: #f3f7f2;
  --ink: #0b1714;
  --muted: #5e6f69;
  --line: rgba(11, 23, 20, 0.10);
  --white: #ffffff;
  --tennis: #c9ff28;
  --tennis-2: #94df16;
  --court: #0f7d56;
  --court-dark: #0a593f;
  --clay: #e66f2f;
  --blue: #1c71ff;
  --shadow: 0 24px 70px rgba(7, 18, 15, 0.18);
  --shadow-dark: 0 22px 70px rgba(0, 0, 0, 0.35);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: min(1180px, calc(100% - 32px));
  --header-h: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  font-family: Vazir, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(201, 255, 40, 0.12), transparent 30%),
    linear-gradient(180deg, #f9fbf7 0%, #eef5ed 100%);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

::selection {
  background: rgba(201, 255, 40, 0.85);
  color: #07120f;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--tennis);
  color: var(--ink);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 18, 15, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(20px);
  color: var(--white);
}

.header-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--tennis), var(--court));
  box-shadow: 0 16px 34px rgba(201, 255, 40, 0.22);
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(7, 18, 15, 0.6);
  border-radius: 50%;
  width: 58px;
  height: 58px;
  top: -16px;
}

.brand-mark::before {
  right: -31px;
}

.brand-mark::after {
  left: -31px;
}

.brand strong {
  display: block;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.brand span {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.64);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.nav a {
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  background: var(--tennis);
  color: #07120f;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  position: relative;
}

.mobile-toggle span,
.mobile-toggle::before,
.mobile-toggle::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 4px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.mobile-toggle span {
  top: 23px;
}

.mobile-toggle::before {
  top: 16px;
}

.mobile-toggle::after {
  top: 30px;
}

.nav-open .mobile-toggle span {
  opacity: 0;
}

.nav-open .mobile-toggle::before {
  top: 23px;
  transform: rotate(45deg);
}

.nav-open .mobile-toggle::after {
  top: 23px;
  transform: rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--tennis);
  color: #07120f;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(201, 255, 40, 0.23);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(201, 255, 40, 0.32);
}

.btn.dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 18px 36px rgba(7, 18, 15, 0.16);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn.outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(11, 23, 20, 0.14);
  box-shadow: none;
}

.btn.small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.86rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  color: var(--white);
  overflow: hidden;
  background: #07120f;
}

.hero.compact {
  min-height: 450px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  filter: saturate(1.06) contrast(1.05);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 15, 0.95) 0%, rgba(7, 18, 15, 0.78) 42%, rgba(7, 18, 15, 0.20) 100%),
    linear-gradient(180deg, rgba(7, 18, 15, 0.14), rgba(7, 18, 15, 0.86));
}

.hero-grid {
  position: relative;
  width: var(--container);
  margin-inline: auto;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 44px;
  padding: 64px 0 84px;
}

.hero.compact .hero-grid {
  min-height: 450px;
  grid-template-columns: 1fr;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  padding-block: 76px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(201, 255, 40, 0.14);
  border: 1px solid rgba(201, 255, 40, 0.22);
  color: var(--tennis);
  font-weight: 800;
  font-size: 0.86rem;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(201, 255, 40, 0.14);
}

.hero h1,
.page-title h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.35rem, 5.2vw, 4.85rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero.compact h1 {
  font-size: clamp(2.15rem, 4.7vw, 3.9rem);
}

.hero h1 .highlight,
.section-title .highlight {
  color: var(--tennis);
}

.lead {
  margin: 0;
  max-width: 670px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  line-height: 2;
}

.hero.compact .lead {
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.hero.compact .hero-actions {
  justify-content: center;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
  max-width: 650px;
}

.metric {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.metric strong {
  display: block;
  font-size: 1.7rem;
  color: var(--tennis);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.84rem;
}

.hero-panel {
  position: relative;
  align-self: end;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(24px);
  padding: 18px;
  box-shadow: var(--shadow-dark);
}

.hero-card-img {
  min-height: 430px;
  border-radius: 26px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(7, 18, 15, 0.8));
}

.floating-card {
  position: absolute;
  right: -24px;
  bottom: 46px;
  width: min(270px, calc(100% - 32px));
  padding: 18px;
  border-radius: 26px;
  background: var(--tennis);
  color: var(--ink);
  box-shadow: 0 22px 50px rgba(201, 255, 40, 0.22);
}

.floating-card span {
  font-weight: 800;
  font-size: 0.82rem;
}

.floating-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
  line-height: 1.55;
}

.floating-card p {
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(7, 18, 15, 0.74);
}

.section {
  padding: 96px 0;
}

.section.tight {
  padding: 58px 0;
}

.section.dark {
  background: var(--bg);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 16%, rgba(201, 255, 40, 0.15), transparent 28%),
    radial-gradient(circle at 18% 88%, rgba(28, 113, 255, 0.12), transparent 30%);
  pointer-events: none;
}

.section.dark > .container {
  position: relative;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.75rem, 3.25vw, 2.85rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.section-desc {
  margin: 12px 0 0;
  max-width: 620px;
  color: var(--muted);
  line-height: 2;
}

.dark .section-desc {
  color: rgba(255, 255, 255, 0.68);
}

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

.feature-card,
.product-card,
.court-card,
.story-card,
.contact-card,
.testimonial-card,
.plan-card,
.booking-widget,
.form-card,
.info-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(11, 23, 20, 0.08);
  box-shadow: 0 18px 50px rgba(7, 18, 15, 0.08);
  overflow: hidden;
}

.feature-card {
  padding: 24px;
  position: relative;
  isolation: isolate;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--tennis), var(--court), var(--clay));
  opacity: 0.95;
}

.feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: var(--bg);
  color: var(--tennis);
  font-weight: 900;
}

.feature-card h3,
.product-card h3,
.court-card h3,
.story-card h3,
.contact-card h3,
.testimonial-card h3,
.plan-card h3,
.info-card h3 {
  margin: 18px 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.feature-card p,
.product-card p,
.court-card p,
.story-card p,
.contact-card p,
.testimonial-card p,
.plan-card p,
.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 560px;
}

.photo-card {
  position: absolute;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}

.photo-card.large {
  inset: 0 10% 18% 0;
}

.photo-card.small {
  width: 46%;
  height: 250px;
  left: 0;
  bottom: 0;
  border: 12px solid #f2f7ef;
}

.content-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.content-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  line-height: 1.9;
}

.content-list li::before {
  content: "";
  width: 28px;
  height: 28px;
  margin-top: 3px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--tennis) 0 34%, transparent 36%), var(--court);
  box-shadow: 0 8px 18px rgba(15, 125, 86, 0.18);
}

.banner-card {
  position: relative;
  min-height: 440px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: var(--white);
  box-shadow: var(--shadow-dark);
}

.banner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 18, 15, 0.88), rgba(7, 18, 15, 0.22));
}

.banner-content {
  position: relative;
  max-width: 570px;
  padding: clamp(26px, 5vw, 54px);
}

.banner-content h2 {
  margin: 12px 0;
  font-size: clamp(1.75rem, 3.35vw, 3rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.banner-content p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 2;
}

.product-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  border: 1px solid rgba(11, 23, 20, 0.12);
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--ink);
  border-color: transparent;
  background: var(--tennis);
}

.search-field {
  min-width: min(320px, 100%);
  height: 48px;
  border: 1px solid rgba(11, 23, 20, 0.12);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.76);
  outline: none;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 58px rgba(7, 18, 15, 0.14);
}

.product-image {
  height: 230px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 18, 15, 0.82);
  color: var(--tennis);
  font-weight: 800;
  font-size: 0.78rem;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.price {
  font-weight: 900;
  color: var(--court-dark);
}

.product-rate {
  color: #d97800;
  font-weight: 800;
  font-size: 0.86rem;
}

.booking-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

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

.court-card {
  padding: 16px;
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
  align-items: stretch;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.court-card:hover,
.court-card.active {
  border-color: var(--tennis-2);
  transform: translateY(-2px);
}

.court-thumb {
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  min-height: 128px;
}

.court-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 125, 86, 0.10);
  color: var(--court-dark);
  font-weight: 750;
  font-size: 0.76rem;
}

.booking-widget {
  padding: 22px;
  position: sticky;
  top: calc(var(--header-h) + 18px);
}

.widget-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.widget-top h2 {
  margin: 0;
  font-size: 1.45rem;
}

.selected-court-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--tennis);
  font-weight: 850;
  font-size: 0.8rem;
}

.date-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.date-btn,
.slot-btn {
  border: 1px solid rgba(11, 23, 20, 0.10);
  border-radius: 18px;
  background: rgba(11, 23, 20, 0.035);
  color: var(--ink);
  padding: 11px 8px;
  min-height: 66px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.date-btn span,
.slot-btn span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 4px;
}

.date-btn.active,
.slot-btn.active {
  background: var(--tennis);
  border-color: var(--tennis);
  color: var(--ink);
  transform: translateY(-2px);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.slot-btn {
  min-height: 52px;
  border-radius: 16px;
  font-weight: 850;
}

.slot-btn.booked {
  opacity: 0.5;
  text-decoration: line-through;
  cursor: not-allowed;
  background: rgba(230, 111, 47, 0.14);
}

.booking-summary {
  margin-top: 22px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15, 125, 86, 0.10), rgba(201, 255, 40, 0.16));
  border: 1px solid rgba(15, 125, 86, 0.12);
}

.booking-summary p {
  margin: 6px 0;
  color: var(--muted);
  line-height: 1.8;
}

.booking-summary strong {
  color: var(--ink);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 850;
  font-size: 0.88rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(11, 23, 20, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  outline: none;
  padding: 13px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 132px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(15, 125, 86, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 125, 86, 0.10);
}

.form-card {
  padding: 24px;
}

.form-card h2 {
  margin-top: 0;
  font-size: 1.45rem;
}

.notice {
  display: none;
  margin-top: 16px;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(201, 255, 40, 0.22);
  color: var(--court-dark);
  font-weight: 800;
}

.notice.show {
  display: block;
}

.timeline {
  display: grid;
  gap: 16px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  right: 20px;
  width: 2px;
  background: rgba(201, 255, 40, 0.25);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}

.timeline-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--tennis);
  border: 8px solid rgba(7, 18, 15, 0.85);
  position: relative;
  z-index: 1;
}

.timeline-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.timeline-card strong {
  color: var(--tennis);
}

.timeline-card h3 {
  margin: 8px 0;
}

.timeline-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.9;
}

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

.testimonial-card {
  padding: 24px;
}

.testimonial-card p {
  color: var(--ink);
  font-weight: 650;
}

.author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--court), var(--tennis));
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-box {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.stat-box strong {
  display: block;
  color: var(--tennis);
  font-size: 2rem;
  line-height: 1;
}

.stat-box span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery-item {
  border-radius: 28px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 44px rgba(7, 18, 15, 0.12);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  align-items: start;
}

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

.contact-card {
  padding: 22px;
}

.contact-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--court-dark);
}

.map-panel {
  min-height: 330px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(7, 18, 15, 0.86), rgba(7, 18, 15, 0.36)),
    url('https://images.unsplash.com/photo-1639161775388-db5b5d5cc9eb?auto=format&fit=crop&w=1400&q=80') center/cover;
  color: var(--white);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  box-shadow: var(--shadow-dark);
}

.map-panel p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.9;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.faq-item {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(11, 23, 20, 0.08);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 18px 20px;
  text-align: right;
  font-weight: 900;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-item button::after {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  color: var(--court-dark);
}

.faq-item.open button::after {
  content: "−";
}

.faq-content {
  display: none;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.9;
}

.faq-item.open .faq-content {
  display: block;
}

.cta-section {
  padding: 40px 0 96px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  padding: clamp(30px, 6vw, 58px);
  background:
    linear-gradient(120deg, rgba(7, 18, 15, 0.94), rgba(15, 125, 86, 0.70)),
    url('https://images.unsplash.com/photo-1660463528352-50e6f0693e95?auto=format&fit=crop&w=1600&q=80') center/cover;
  color: var(--white);
  box-shadow: var(--shadow-dark);
}

.cta-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.35vw, 3rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.cta-card p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 2;
}

.site-footer {
  background: #07120f;
  color: var(--white);
  padding: 54px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 28px;
}

.footer-grid h3 {
  margin: 0 0 16px;
  color: var(--tennis);
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.66);
  line-height: 2;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.86rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cart-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 90;
  min-width: 56px;
  height: 56px;
  border-radius: 18px;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  background: var(--bg);
  color: var(--white);
  box-shadow: var(--shadow-dark);
}

.cart-float.show {
  display: flex;
}

.cart-float span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--tennis);
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .nav a {
    padding-inline: 10px;
  }

  .hero-grid,
  .booking-layout,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 640px;
    margin-inline: auto;
    width: 100%;
  }

  .booking-widget {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 880px) {
  :root {
    --header-h: 76px;
  }

  .site-header {
    height: var(--header-h);
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(7, 18, 15, 0.96);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-open .nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 16px;
  }

  .header-actions .btn {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    padding-block: 54px;
    gap: 28px;
  }

  .hero h1,
  .page-title h1 {
    font-size: clamp(2.5rem, 13vw, 5.2rem);
  }

  .hero-metrics,
  .card-grid,
  .product-grid,
  .testimonial-grid,
  .stats-strip,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head .btn {
    margin-top: 16px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 190px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 24px, 1180px);
  }

  .brand span {
    display: none;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }

  .hero-actions,
  .product-toolbar,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .product-toolbar .search-field,
  .cta-card .btn {
    width: 100%;
  }

  .hero-metrics,
  .card-grid,
  .product-grid,
  .testimonial-grid,
  .stats-strip,
  .faq-grid,
  .form-grid,
  .date-row,
  .slot-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .metric span {
    margin-top: 0;
  }

  .hero-card-img {
    min-height: 330px;
  }

  .floating-card {
    right: 12px;
    bottom: 24px;
  }

  .section {
    padding: 70px 0;
  }

  .image-stack {
    min-height: 430px;
  }

  .photo-card.large {
    inset: 0 0 18% 0;
  }

  .photo-card.small {
    width: 62%;
    height: 190px;
  }

  .court-card {
    grid-template-columns: 1fr;
  }

  .court-thumb {
    min-height: 180px;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-row: auto;
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cart-float {
    right: 12px;
    left: 12px;
    justify-content: center;
  }
}

/* Presentation refinements */
.brand strong,
.hero h1,
.page-title h1,
.section-title,
.banner-content h2,
.cta-card h2 {
  text-wrap: balance;
}

.hero-copy {
  max-width: 720px;
}

.hero h1 {
  max-width: 760px;
}

@media (max-width: 880px) {
  .header-inner {
    gap: 12px;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .brand > span {
    min-width: 0;
  }

  .brand strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg {
    background-position: 48% top;
  }

  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(7, 18, 15, 0.78) 0%, rgba(7, 18, 15, 0.74) 36%, rgba(7, 18, 15, 0.95) 100%),
      linear-gradient(90deg, rgba(7, 18, 15, 0.86), rgba(7, 18, 15, 0.28));
  }

  .hero-grid {
    padding: 28px 0 54px;
  }

  .hero-copy {
    padding: 22px;
    border-radius: 30px;
    background: rgba(7, 18, 15, 0.60);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-dark);
  }

  .hero h1,
  .page-title h1 {
    margin: 16px 0 14px;
    font-size: clamp(2.05rem, 8.6vw, 3.25rem);
    line-height: 1.18;
    letter-spacing: -0.035em;
  }

  .lead {
    font-size: 0.98rem;
    line-height: 1.9;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-metrics {
    margin-top: 22px;
  }

  .metric {
    padding: 14px;
    border-radius: 18px;
  }

  .metric strong {
    font-size: 1.35rem;
  }

  .metric span {
    font-size: 0.78rem;
  }

  .hero-panel {
    padding: 10px;
    border-radius: 28px;
  }

  .hero-card-img {
    min-height: 300px;
    border-radius: 22px;
    background-position: center top;
  }

  .floating-card {
    right: 18px;
    bottom: 18px;
    width: min(300px, calc(100% - 36px));
    padding: 14px;
    border-radius: 22px;
  }

  .floating-card strong {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .section-title,
  .banner-content h2,
  .cta-card h2 {
    font-size: clamp(1.55rem, 6.4vw, 2.2rem);
    line-height: 1.32;
    letter-spacing: -0.025em;
  }
}

@media (max-width: 640px) {
  .site-header {
    background: rgba(7, 18, 15, 0.92);
  }

  .header-inner {
    gap: 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand > span {
    display: block;
  }

  .brand > span > span {
    display: none;
  }

  .brand strong {
    display: block;
    max-width: 178px;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    flex: 0 0 40px;
  }

  .mobile-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .hero-grid {
    gap: 16px;
    padding: 18px 0 42px;
  }

  .hero-copy {
    padding: 18px;
    border-radius: 26px;
  }

  .kicker {
    padding: 7px 11px;
    font-size: 0.75rem;
    gap: 8px;
  }

  .hero h1,
  .page-title h1 {
    font-size: clamp(1.88rem, 9vw, 2.75rem);
    line-height: 1.24;
    margin: 14px 0 12px;
  }

  .lead {
    font-size: 0.92rem;
    line-height: 1.85;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    min-height: 46px;
    padding: 11px 14px;
    font-size: 0.9rem;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .metric {
    display: block;
    text-align: center;
    padding: 12px 8px;
  }

  .metric strong {
    font-size: 1.25rem;
  }

  .metric span {
    margin-top: 6px;
    font-size: 0.68rem;
    line-height: 1.5;
  }

  .hero-panel {
    order: -1;
    margin-top: 2px;
  }

  .hero-card-img {
    min-height: 235px;
  }

  .floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 20px);
    margin: -46px auto 0;
    padding: 13px;
  }

  .floating-card p {
    display: none;
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-desc {
    font-size: 0.92rem;
    line-height: 1.85;
  }

  .banner-card {
    min-height: 360px;
    border-radius: 28px;
    background-position: center;
  }

  .banner-content {
    padding: 24px;
  }

  .cta-card {
    border-radius: 28px;
  }
}

@media (max-width: 380px) {
  .brand strong {
    max-width: 142px;
    font-size: 0.86rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .metric {
    display: flex;
    text-align: right;
    align-items: center;
    justify-content: space-between;
  }
}

