:root {
  --bg-dark: #101820;
  --text: #ecf3ff;
  --muted: #b1c0d3;
  --green: #18a24f;
  --green-dark: #11763a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 0%, #1f3145, var(--bg-dark) 45%);
  line-height: 1.5;
}

.container {
  width: min(1000px, 92%);
  margin: 0 auto;
}

.hero {
  text-align: center;
  padding: 2rem 0 1rem;
}

.logo {
  width: min(320px, 70vw);
  border-radius: 14px;
  border: 1px solid #31465d;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

h1,
h2 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  margin: 0.7rem 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.panel {
  margin-top: 1.4rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid #2c3d52;
  border-radius: 16px;
  padding: 1.4rem;
}

.btn {
  display: inline-block;
  border: none;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.btn:hover {
  background: var(--green-dark);
}

.btn-secondary {
  background: #2d3e55;
}

.btn-secondary:hover {
  background: #22344a;
}

.btn-whatsapp {
  background: #1fa94f;
}

.option-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.option-content {
  display: none;
}

.option-content.is-active {
  display: block;
}

.cancha-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.cancha-media {
  width: 100%;
  min-height: 180px;
  max-height: 260px;
  border-radius: 12px;
  border: 1px solid #39506b;
  object-fit: cover;
  background: #0f1b28;
}

.salon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.salon-media {
  width: 100%;
  min-height: 160px;
  max-height: 260px;
  object-fit: cover;
  border: 1px solid #39506b;
  border-radius: 12px;
  background: #0f1b28;
}

.cancha-grid img.cancha-media,
.salon-media {
  cursor: zoom-in;
}

.map {
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: 10px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: #25d366;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.33);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 30;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-image {
  width: auto;
  height: auto;
  max-width: 96vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #425a74;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: #ffffff1a;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

@media (max-width: 820px) {
  .cancha-grid,
  .salon-grid {
    grid-template-columns: 1fr;
  }
}
