@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #0f0f12;
  --fg: #fff;
  --muted: #777;
  --brand: #e91e63;
  --card: #1a1b1f;
  --border: rgba(255,255,255,.12);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  background: #121316;
  color: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
}

/* Header y Hero */
.site-header {
  position: relative;
  background: #000;
  color: #fff;
}

.site-header.hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
}

.site-header.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 70%);
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s ease;
}

.bg-video.visible {
  opacity: .65;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 16px;
  text-align: center;
}

.hero-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  margin: 0;
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 22px);
  color: #fff;
  margin: 8px 0 0 0;
}

/* Reviews Section */
.reviews-container {
  display: flex;
  flex-direction: row; /* Explicitly set row for Desktop */
  gap: 32px;
  align-items: flex-start;
}

.review-form-col {
  flex: 1;
  order: 1; /* Ensure Form is Left */
  max-width: 400px;
  background: var(--card);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.reviews-list-col {
  flex: 2;
  order: 2; /* Ensure Reviews are Right */
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.review-card {
  background: var(--card);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* Enhanced Form Styling */
.review-form input,
.review-form textarea {
  width: 100%;
  max-width: 100%; /* Override generic form styles */
  margin: 0 0 16px 0; /* Clean spacing */
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.3s ease;
}

.review-form input:focus,
.review-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 2px rgba(233, 30, 99, 0.2);
}

.review-form textarea {
  min-height: 120px;
  resize: vertical;
}

.review-form .btn {
  width: 100%;
  margin: 8px 0 0 0;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--brand) 0%, #c2185b 100%);
  border: none;
  cursor: pointer;
  text-align: center;
}

/* Mobile Toggle Button Style */
#toggle-review-form {
  background: transparent;
  border: 1px solid var(--border);
  color: #fff;
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  margin-bottom: 16px;
  display: none; /* Default hidden on desktop */
}

#toggle-review-form:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--brand);
  color: var(--brand);
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  align-items: center;
}

.review-author {
  font-weight: 600;
  color: #fff;
}

.review-stars {
  color: #d4af37;
  letter-spacing: 2px;
}

.review-clubs {
  font-size: 0.85em;
  color: var(--muted);
  margin-bottom: 8px;
  font-style: italic;
}

.review-text {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.5;
  color: #ddd;
}

/* Star Rating Input */
.stars-input {
  margin-bottom: 16px;
}

.stars-input .label {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

.rate {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
}

.rate input {
  display: none;
}

.rate label {
  font-size: 24px;
  color: #444;
  cursor: pointer;
  transition: color 0.2s;
}

.rate input:checked ~ label,
.rate label:hover,
.rate label:hover ~ label {
  color: #d4af37;
}

.msg.success { color: #4caf50; background: rgba(76,175,80,0.1); padding: 10px; border-radius: 4px; margin-bottom: 16px; }
.msg.error { color: #f44336; background: rgba(244,67,54,0.1); padding: 10px; border-radius: 4px; margin-bottom: 16px; }

@media (max-width: 768px) {
  .reviews-container {
    flex-direction: column;
  }
  .review-form-col, .reviews-list-col {
    width: 100%;
    max-width: 100%;
    padding: 0; /* Reset padding for mobile container if needed */
    background: transparent; /* Remove card bg on mobile container level if preferred, or keep */
    border: none;
    box-shadow: none;
  }
  
  /* Show toggle button only on mobile */
  #toggle-review-form {
    display: block;
  }

  /* Hide form by default with high specificity */
  .review-form {
    display: none !important;
    background: var(--card);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-top: 10px;
  }
  
  /* Show form when open */
  .review-form.open {
    display: block !important;
    animation: slideDown 0.3s ease-out;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10;
}

.top-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-nav .brand {
  display: flex;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

.brand-logo {
  height: 32px;
  width: auto;
  border-radius: 4px;
}

.hero-logo {
  max-width: 90%;
  width: 320px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.top-nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.top-nav a {
  color: #fff;
  text-decoration: none;
  opacity: .9;
}

.top-nav a:hover {
  opacity: 1;
}

/* Secciones */
.section {
  margin: 28px 0;
}

.section h2 {
  margin: 0 0 12px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.gallery-3x3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-3x3 .cover {
  height: 280px;
}

@media (max-width: 768px) {
  .gallery-3x3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-3x3 .cover {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .gallery-3x3 {
    grid-template-columns: 1fr;
  }
}

/* Formularios */
.forms-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}

.forms-two h2 {
  text-align: center;
  margin-top: 18px;
}

.forms-two .col {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.forms-two .form {
  padding: 12px;
}

@media (max-width: 820px) {
  .forms-two {
    grid-template-columns: 1fr;
  }
}

/* Colaboraciones */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.partners-grid img {
  max-height: 80px;
}

/* FAQ */
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 8px 0;
  padding: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.card h3 {
  margin: 10px 12px;
  color: #fff;
}

.card p {
  margin: 0 12px 10px 12px;
  color: #fff;
}

.cover {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #f0f0f0;
}

.event .price {
  font-weight: bold;
  color: #fff;
}

/* Botones */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 6px;
  margin: 12px;
}

.btn:hover {
  filter: brightness(1.05);
}

/* Formularios */
.form input, .form textarea {
  width: 100%;
  max-width: 520px;
  margin: 6px 12px;
  padding: 10px;
  background: #0f1013;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
}

.form textarea {
  min-height: 120px;
}

.form input::placeholder, .form textarea::placeholder {
  color: #aaa;
}

.msg {
  margin: 8px 12px;
  color: #4caf50;
}

/* Footer */
.site-footer {
  padding: 20px;
  text-align: center;
  border-top: 1px solid var(--border);
  color: #fff;
}
.site-footer .brand-phone{color:var(--brand);font-weight:600;text-decoration:none}
.gradient-text{background:linear-gradient(90deg,#2196f3,#9c27b0);-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:600}
/* Media queries */
@media (max-width: 520px) {
  .cover {
    height: 140px;
  }
  
  .btn {
    width: auto;
  }
}
/* Club links */
.club-links{display:grid;grid-template-columns:1fr;gap:16px;padding:16px}
@media (max-width:820px){.club-card-bg{height:180px}}
.club-card-bg{position:relative;height:210px;border-radius:12px;overflow:hidden;background-size:cover;background-position:center;background-repeat:no-repeat;border:1px solid var(--border);display:flex;align-items:center;justify-content:center}
.club-card-bg::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%);pointer-events:none;z-index:0}
.btn-overlay{position:relative;z-index:1;display:inline-block;margin:0;background:var(--brand);color:#fff;text-decoration:none;padding:12px 16px;border-radius:8px;box-shadow:0 6px 16px rgba(0,0,0,.25);cursor:pointer}
.btn-overlay:hover{filter:brightness(1.05)}