/* ============================================================
   ARGOÑOS PÁDEL CLUB — hoja de estilos
   Colores de marca:
     Navy #0B2A45 (principal) · Azul #2477B3 (secundario) · Blanco #FFFFFF
   Tipografía: Montserrat (Google Fonts) · alt. Arial/Helvetica
   ============================================================ */

:root {
  --azul: #2477B3;        /* azul secundario de marca — acentos */
  --navy: #0B2A45;        /* navy — color principal, fondos oscuros */
  --navy-deep: #071E33;   /* sombra del navy para degradados */
  --azul-claro: #4C9FD6;  /* tinte del azul de marca para degradados */
  --azul-glow: #58ACE8;   /* luz del neón del logo */
  --crema: #F4F1EA;       /* neutro claro del manual de marca */
  --blanco: #FFFFFF;
  --ink: #0B2A45;
  --ink-soft: #3D5870;
  --radius: 18px;
  --shadow-card: 0 10px 30px rgba(11, 42, 69, 0.10);
  --shadow-card-hover: 0 18px 44px rgba(11, 42, 69, 0.18);
  --font: "Montserrat", Arial, Helvetica, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

section { scroll-margin-top: 84px; }

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

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  color: var(--blanco);
  background: linear-gradient(135deg, var(--azul-claro), var(--azul) 55%, var(--navy));
  box-shadow: 0 8px 24px rgba(16, 58, 91, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(16, 58, 91, 0.45);
}

.btn-ghost {
  color: var(--blanco);
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: var(--blanco);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* ---------- Etiquetas de sección (motivo del manual de marca) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--azul);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}

.eyebrow-light { color: var(--azul-glow); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 0.9rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
  padding: 0.55rem 0;
  background: rgba(7, 30, 51, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(4, 16, 28, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-logo { width: 44px; height: 44px; }

.brand-name {
  color: var(--blanco);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.brand-name em {
  font-style: normal;
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--azul-glow);
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  padding: 0.3rem 0;
  position: relative;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--azul-glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover { color: var(--blanco); }
.nav-link:hover::after { transform: scaleX(1); }

.btn-nav { padding: 0.65rem 1.4rem; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--blanco);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(175deg, var(--navy-deep) 0%, var(--navy) 45%, var(--azul) 120%);
  color: var(--blanco);
  text-align: center;
  padding: 7.5rem 0 5rem;
}

/* luces suaves de fondo */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 50% 118%, rgba(36, 119, 179, 0.35), transparent 70%),
    radial-gradient(ellipse 45% 35% at 88% -8%, rgba(36, 119, 179, 0.22), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Logo protagonista con halo de neón --- */
.hero-logo-wrap {
  position: relative;
  width: clamp(210px, 30vw, 300px);
  aspect-ratio: 1;
  margin-bottom: 1.8rem;
  animation: heroFloat 7s ease-in-out infinite;
}

/* halo luminoso exterior, difuso y estático */
.hero-glow {
  position: absolute;
  inset: -46%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 141, 201, 0.40) 0%, rgba(36, 119, 179, 0.16) 45%, transparent 70%);
}

/* disco opaco que rellena la pelota + luz suave solo hacia fuera
   (la pelota ocupa el 95% del SVG → borde al 2.5%) */
.hero-neon {
  position: absolute;
  inset: 2.5%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #12365B 0%, var(--navy) 55%, var(--navy-deep) 100%);
  box-shadow:
    0 0 10px rgba(88, 172, 232, 0.75),
    0 0 30px rgba(76, 159, 214, 0.50),
    0 0 70px rgba(36, 119, 179, 0.35);
}

.hero-logo {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 0 14px rgba(88, 172, 232, 0.40));
}

/* --- Aviso "desliza", integrado en el flujo del hero ---
   Colocado entre la descripción y los botones para que se vea nada más
   cargar, sobre todo en móvil. */
.hero-scroll {
  align-self: center;
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.hero-scroll:hover { color: var(--blanco); }

.hero-scroll svg {
  width: 17px;
  height: 17px;
  animation: scrollNudge 2.4s ease-in-out infinite;
}

@keyframes scrollNudge {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50%      { transform: translateY(5px); opacity: 1; }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0.9rem 0 1.1rem;
}

.hero-title .accent {
  color: var(--azul-glow);
}

.hero-text {
  max-width: 620px;
  font-size: 1.02rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
}

.hero-text strong { color: var(--blanco); font-weight: 700; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-stats {
  list-style: none;
  display: flex;
  gap: clamp(1.6rem, 5vw, 4rem);
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--blanco);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   SECCIONES GENÉRICAS
   ============================================================ */
.section { padding: 5.5rem 0; }

.section-light { background: var(--crema); }
.section-white { background: var(--blanco); }

.section-dark {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--blanco);
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--navy);
  margin: 0.8rem 0 1rem;
}

.section-head-light .section-title { color: var(--blanco); }

.section-lead {
  font-size: 1rem;
  color: rgba(11, 42, 69, 0.75);
}

.section-head-light .section-lead { color: rgba(255, 255, 255, 0.78); }

/* ============================================================
   PISTAS — galería + características
   ============================================================ */
.gallery-photo {
  position: relative;
  height: clamp(320px, 46vw, 520px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* la foto original es vertical: encuadre bajo para mostrar las pistas */
  object-position: 50% 58%;
  transition: transform 0.6s ease;
}

.gallery-photo:hover img { transform: scale(1.04); }

.gallery-photo figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 1.2rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(7, 30, 51, 0.85));
  color: var(--blanco);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 2.6rem;
}

.feature-card {
  background: var(--blanco);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--azul);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(16, 58, 91, 0.08);
  color: var(--azul);
  margin-bottom: 1rem;
}

.feature-icon svg { width: 26px; height: 26px; }

.feature-card h3 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: rgba(11, 42, 69, 0.72);
}

/* ============================================================
   ACTIVIDADES
   ============================================================ */
.activities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.activity-card {
  position: relative;
  background: var(--crema);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.activity-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--azul-claro), var(--azul));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

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

.activity-featured {
  background: linear-gradient(160deg, var(--azul) 0%, var(--navy) 90%);
  color: var(--blanco);
  box-shadow: 0 16px 40px rgba(11, 42, 69, 0.30);
}

.activity-icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(16, 58, 91, 0.10);
  color: var(--azul);
  margin-bottom: 1.3rem;
}

.activity-featured .activity-icon {
  background: rgba(255, 255, 255, 0.14);
  color: var(--blanco);
}

.activity-icon svg { width: 30px; height: 30px; }

.activity-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.activity-featured h3 { color: var(--blanco); }

.activity-card p {
  font-size: 0.92rem;
  color: rgba(11, 42, 69, 0.72);
  flex-grow: 1;
}

.activity-featured p { color: rgba(255, 255, 255, 0.82); }

.activity-link {
  display: inline-block;
  margin-top: 1.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--azul);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease;
}

.activity-featured .activity-link { color: var(--azul-glow); }

.activity-link:hover { transform: translateX(4px); }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.contact-card {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem;
  text-decoration: none;
  color: var(--blanco);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

a.contact-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(88, 172, 232, 0.5);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(88, 172, 232, 0.14);
  color: var(--azul-glow);
  margin-bottom: 1rem;
}

.contact-icon svg { width: 26px; height: 26px; }

.contact-card h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.4rem;
}

.contact-value {
  font-size: 1rem;
  font-weight: 700;
  word-break: normal;
  overflow-wrap: break-word;
  margin-bottom: 0.5rem;
}

/* el correo salta de línea limpiamente en la @ gracias al <wbr> */
.contact-value-email {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.contact-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.badge-soon {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azul-glow);
  border: 1px dashed rgba(88, 172, 232, 0.55);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
}

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 3rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.65);
  padding: 2.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}

.footer-logo { width: 58px; opacity: 0.9; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.25s ease;
}

.footer-nav a:hover { color: var(--blanco); }

.footer-copy { font-size: 0.8rem; }

/* ============================================================
   ANIMACIONES DE APARICIÓN
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-logo-wrap { animation: none; }
  .hero-scroll svg { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .activities { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(7, 30, 51, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -12px 0 40px rgba(4, 16, 28, 0.5);
  }

  .nav.open { transform: translateX(0); }

  .nav-link { font-size: 1.15rem; }

  .nav-toggle { display: flex; position: relative; z-index: 110; }

  .brand-name { font-size: 0.9rem; }

  .hero { padding-top: 6.5rem; }

  .gallery-photo { height: 300px; }

  .section { padding: 4rem 0; }
}

@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.4rem; }
  .stat-num { font-size: 1.5rem; }
  .btn { padding: 0.85rem 1.5rem; }
}
