/* =========================================================
   PÁDEL ZONE · Club de pádel indoor en Murcia
   Hoja de estilos principal
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  /* Colores base (antracita) */
  --bg: #121417;
  --bg-alt: #181b20;
  --surface: #1f2329;
  --surface-2: #272c34;
  --border: rgba(255, 255, 255, 0.08);

  /* Texto */
  --text: #f3f5f7;
  --text-muted: #a4adb8;

  /* Acentos */
  --lime: #c8f53c;
  --lime-dark: #a9d61f;
  --purple: #6b2585;        /* morado corporativo del logo */
  --purple-light: #a24cc6;
  --whatsapp: #25d366;

  /* Tipografía */
  --font-heading: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Medidas */
  --container: 1200px;
  --header-h: 76px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset básico ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

address {
  font-style: normal;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--lime);
  color: var(--bg);
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform var(--transition), background var(--transition),
    box-shadow var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
  background: var(--lime);
  color: #111;
  box-shadow: 0 8px 24px rgba(200, 245, 60, 0.25);
}

.btn-primary:hover {
  background: var(--lime-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(200, 245, 60, 0.35);
}

.btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 1.9rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

.link-btn {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: inherit;
  padding: 0;
}

.link-btn:hover {
  color: var(--text);
}

/* ---------- Header / Navegación ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(18, 20, 23, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(18, 20, 23, 0.95);
  border-color: var(--border);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  flex-shrink: 0;
  background: #fff;
  border-radius: 12px;
  padding: 4px 10px;
  transition: transform var(--transition);
}

.brand:hover {
  transform: scale(1.03);
}

.brand img {
  height: 44px;
  width: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.9rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta-mobile {
  display: none;
}

/* Hamburguesa */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  position: relative;
  z-index: 110;
}

.hamburger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}

.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }

.hamburger.is-active span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
  /* Fondo degradado deportivo. Para usar foto:
     background-image: linear-gradient(120deg, rgba(18,20,23,.92), rgba(107,37,133,.7)), url('img/hero-padel-zone.jpg');
     background-size: cover; background-position: center; */
  background:
    radial-gradient(circle at 85% 20%, rgba(162, 76, 198, 0.45), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(200, 245, 60, 0.18), transparent 40%),
    linear-gradient(135deg, #121417 0%, #1c1622 50%, #2a1535 100%);
}

/* Líneas de pista decorativas */
.hero-court {
  position: absolute;
  inset: 10% -10% 10% 45%;
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  transform: perspective(900px) rotateX(55deg) rotateZ(-18deg);
  pointer-events: none;
}

.hero-court::before,
.hero-court::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
}

.hero-court::before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
}

.hero-court::after {
  top: 30%;
  bottom: 30%;
  left: 0;
  right: 0;
  height: auto;
  background: none;
  border-top: 2px solid rgba(255, 255, 255, 0.06);
  border-bottom: 2px solid rgba(255, 255, 255, 0.06);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(200, 245, 60, 0.12);
  color: var(--lime);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  font-weight: 900;
  margin-bottom: 1.25rem;
}

.highlight {
  background: linear-gradient(90deg, var(--lime), #e8ff8a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 560px;
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-badges strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text);
}

.hero-logo {
  display: flex;
  justify-content: center;
}

.logo-card {
  width: 100%;
  max-width: 460px;
  padding: 2rem;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 8px rgba(255, 255, 255, 0.05);
  transform: rotate(-3deg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-12px); }
}

/* ---------- Secciones genéricas ---------- */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  max-width: 680px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- Instalaciones ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  position: relative;
  padding: 2rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--purple-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 245, 60, 0.3);
  box-shadow: var(--shadow);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  box-shadow: 0 10px 24px rgba(107, 37, 133, 0.4);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Horarios / ubicación ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 1.5rem;
  align-items: stretch;
}

.info-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.info-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.info-card-head svg {
  width: 26px;
  height: 26px;
  fill: var(--lime);
  flex-shrink: 0;
}

.info-card h3 {
  font-size: 1.15rem;
}

.info-card p,
.info-card address {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.schedule {
  width: 100%;
  border-collapse: collapse;
}

.schedule th,
.schedule td {
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
}

.schedule th {
  text-align: left;
  font-weight: 500;
  color: var(--text-muted);
}

.schedule td {
  text-align: right;
  font-weight: 600;
}

.open-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0 !important;
  font-weight: 600;
  font-size: 0.9rem;
}

.open-status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
}

.open-status.is-open {
  color: var(--lime);
}

.open-status.is-open::before {
  box-shadow: 0 0 0 4px rgba(200, 245, 60, 0.2);
  animation: pulse 2s infinite;
}

.open-status.is-closed {
  color: #ff7a7a;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 245, 60, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(200, 245, 60, 0); }
}

.map-wrapper {
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

/* ---------- Opiniones ---------- */
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.google-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.rating-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.stars {
  display: flex;
  font-size: 1.15rem;
  line-height: 1.2;
}

.star.full {
  color: #fbbc04;
}

/* Estrella parcial (0.6) */
.star.partial {
  background: linear-gradient(90deg, #fbbc04 60%, #4a4f57 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rating-caption {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.slider-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.5rem 0.25rem 1rem;
  flex: 1;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}

.review-card:hover {
  border-color: rgba(162, 76, 198, 0.5);
  transform: translateY(-4px);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.avatar {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
}

.review-name {
  font-size: 1rem;
}

.review-stars {
  color: #fbbc04;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.review-stars .dim {
  color: #4a4f57;
}

.review-card p {
  flex: 1;
  color: var(--text-muted);
  font-size: 0.97rem;
  margin-bottom: 1rem;
}

.review-source {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.slider-btn {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: background var(--transition), transform var(--transition);
}

.slider-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--text);
}

.slider-btn:hover {
  background: var(--lime);
  transform: scale(1.06);
}

.slider-btn:hover svg {
  fill: #111;
}

.slider-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  transition: width var(--transition), background var(--transition);
}

.slider-dots span.active {
  width: 26px;
  background: var(--lime);
}

/* ---------- Contacto ---------- */
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(162, 76, 198, 0.35), transparent 50%),
    linear-gradient(135deg, var(--surface) 0%, #221a2a 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.contact-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1.05rem;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.contact-item:hover {
  transform: translateX(6px);
  border-color: var(--lime);
  background: rgba(200, 245, 60, 0.06);
}

.contact-item small {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--lime);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: #111;
}

.contact-icon.whatsapp {
  background: var(--whatsapp);
}

.contact-icon.whatsapp svg {
  fill: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 4.5rem 0 0;
  background: #0d0f11;
  border-top: 1px solid var(--border);
  /* espacio para que el botón de WhatsApp no tape los enlaces legales */
  padding-bottom: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: 6px 14px;
  margin-bottom: 1.2rem;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 360px;
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background var(--transition), transform var(--transition);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: var(--text);
  transition: fill var(--transition);
}

.social-links a:hover {
  background: var(--purple-light);
  transform: translateY(-3px);
}

.footer-col h3 {
  font-size: 1rem;
  margin-bottom: 1.1rem;
  color: var(--lime);
}

.footer-col li {
  margin-bottom: 0.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-col a {
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.legal-links .link-btn {
  color: var(--text-muted);
}

.legal-links .link-btn:hover {
  color: var(--lime);
}

/* ---------- Botón flotante WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition), bottom var(--transition);
  animation: wa-ring 2.8s infinite;
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: #fff;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  padding: 0.5rem 0.9rem;
  background: #fff;
  color: #111;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Cuando el banner de cookies está visible, subimos el botón */
body.cookie-visible .whatsapp-float {
  bottom: calc(var(--cookie-h, 120px) + 16px);
}

@keyframes wa-ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 10px 28px rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 10px 28px rgba(37, 211, 102, 0.45); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 28px rgba(37, 211, 102, 0.45); }
}

/* ---------- Banner cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(24, 27, 32, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 2px solid var(--lime);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner[hidden] {
  display: block;
  visibility: hidden;
}

.cookie-banner.show {
  transform: translateY(0);
  visibility: visible;
}

.cookie-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ---------- Modal ---------- */
.modal {
  margin: auto;
  width: min(640px, calc(100% - 2rem));
  max-height: 85vh;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal-inner {
  position: relative;
  padding: 2.25rem 2rem 2rem;
}

.modal h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.modal h3 {
  font-size: 1.05rem;
  margin: 1.4rem 0 0.5rem;
  color: var(--lime);
}

.modal p,
.modal li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.modal ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.modal li {
  margin-bottom: 0.5rem;
}

.modal a {
  color: var(--lime);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}

.modal-close:hover {
  background: var(--surface-2);
  color: var(--text);
}

/* ---------- Animación de aparición ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Sin JS, mostrar todo */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-card {
    flex-basis: calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 68px;
  }

  .brand img {
    height: 38px;
  }

  .hamburger {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: var(--bg);
    padding: 2rem 1.25rem;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--transition), visibility var(--transition);
  }

  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-link {
    padding: 1rem 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    border-bottom: 1px solid var(--border);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    color: var(--lime);
  }

  .nav-cta-mobile {
    display: block;
    margin-top: 1.5rem;
  }

  .nav-cta-mobile .btn {
    padding: 1rem;
    font-size: 1.05rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-logo {
    order: -1;
  }

  .logo-card {
    max-width: 320px;
    padding: 1.25rem;
  }

  .hero-court {
    inset: 40% -30% -10% 0;
  }

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

  .contact-box {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.25rem;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .hero {
    padding-top: calc(var(--header-h) + 2rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .review-card {
    flex-basis: 88%;
  }

  .slider-btn {
    display: none;
  }

  .map-wrapper,
  .map-wrapper iframe {
    min-height: 320px;
  }

  .contact-box {
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
  }

  .contact-item {
    font-size: 0.98rem;
  }

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

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

  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-actions .btn {
    flex: 1;
  }

  /* WhatsApp más visible en móvil */
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 60px;
    height: 60px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/* Accesibilidad: reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
