/* =============================================
   SHARKS ACADEMY – Sitio Web HTML
   Olivares Atelier Creativo
   ============================================= */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --azul:     #023C5E;
  --azul-accent:#09CFF7;
  --azul-dark:#011E2F;
  --negro:    #0a0a0a;
  --gris-dark:#141414;
  --gris-mid: #1e1e1e;
  --gris-soft:#2a2a2a;
  --gris-texto:#888;
  --blanco:   #ffffff;
  --crema:    #f5f5f5;
  --font:     'Montserrat', sans-serif;
  --trans:    0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--negro);
  color: var(--blanco);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- TIPOGRAFÍA ---------- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--azul-accent);
  display: block;
  margin-bottom: 0.6rem;
}

/* ---------- LAYOUT ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section--dark  { background: var(--negro); }
.section--mid   { background: var(--gris-dark); }
.section--light { background: var(--crema); color: var(--negro); }

/* ---------- BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--trans);
}
.btn--primary {
  background: var(--azul);
  color: var(--blanco);
  border-color: var(--azul);
}
.btn--primary:hover {
  background: var(--azul-dark);
  border-color: var(--azul-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(9,207,247,0.25);
}
.btn--outline {
  background: transparent;
  color: var(--blanco);
  border-color: var(--blanco);
}
.btn--outline:hover {
  background: var(--blanco);
  color: var(--negro);
}
.btn--outline-blue {
  background: transparent;
  color: var(--azul);
  border-color: var(--azul);
}
.btn--outline-blue:hover {
  background: var(--azul);
  color: var(--blanco);
}
.btn--wa {
  background: #25D366;
  color: var(--blanco);
  border-color: #25D366;
}
.btn--wa:hover {
  background: #1da851;
  border-color: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: transparent;
  transition: background var(--trans), box-shadow var(--trans);
}
.navbar.scrolled {
  background: rgba(10,10,10,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.navbar__logo img { height: 52px; width: auto; }
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.navbar__nav a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color var(--trans);
  position: relative;
}
.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--azul-accent);
  transition: width var(--trans);
}
.navbar__nav a:hover { color: var(--blanco); }
.navbar__nav a:hover::after { width: 100%; }

/* Dropdown clases */
.nav-dropdown { position: relative; }
.nav-dropdown__toggle { cursor: pointer; }
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--gris-dark);
  border: 1px solid var(--gris-soft);
  border-radius: 8px;
  min-width: 240px;
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
.nav-dropdown:hover .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 0.5rem);
}
.nav-dropdown__menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  transition: all var(--trans);
}
.nav-dropdown__menu a:hover {
  color: var(--azul);
  background: rgba(9,207,247,0.08);
  padding-left: 1.5rem;
}
.nav-dropdown__menu a::after { display: none; }

.navbar__cta { display: flex; align-items: center; gap: 1rem; }
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.navbar__burger span {
  width: 26px; height: 2px;
  background: var(--blanco);
  border-radius: 2px;
  transition: all var(--trans);
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--negro);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blanco);
  transition: color var(--trans);
}
.mobile-menu a:hover { color: var(--azul); }
.mobile-menu__close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--blanco);
  background: none;
  border: none;
  line-height: 1;
}
.mobile-menu__sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.mobile-menu__sub a { font-size: 1rem; color: rgba(255,255,255,0.7); }
.mobile-menu__sub-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--azul-accent);
  text-transform: uppercase;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  background-image: url('../img/portada-hero-sharks-academy.webp');
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,10,10,0.92) 0%,
    rgba(10,10,10,0.7) 50%,
    rgba(10,10,10,0.3) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--azul-accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 40px; height: 2px;
  background: var(--azul-accent);
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 span { color: var(--azul-accent); }
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.7;
}
.hero__btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
  opacity: 0.6;
}
.hero__scroll span { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; }
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--blanco), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ---------- BADGES / STATS ---------- */
.stats {
  background: var(--azul);
  padding: 2rem 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stats__item {
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stats__item:last-child { border-right: none; }
.stats__num {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stats__label { font-size: 0.8rem; opacity: 0.9; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- SECCIÓN NOSOTROS ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about__img-wrap {
  position: relative;
}
.about__img-wrap img {
  border-radius: 4px;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about__badge {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: var(--azul);
  color: var(--blanco);
  padding: 1.5rem;
  border-radius: 4px;
  text-align: center;
  min-width: 130px;
}
.about__badge strong { display: block; font-size: 2.5rem; font-weight: 900; line-height: 1; }
.about__badge span { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.about__text h2 { margin-bottom: 1.25rem; }
.about__text p { color: rgba(255,255,255,0.75); margin-bottom: 1rem; line-height: 1.8; }
.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.about__value {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--gris-mid);
  border-radius: 6px;
  border-left: 3px solid var(--azul);
}
.about__value-icon { font-size: 1.4rem; flex-shrink: 0; }
.about__value strong { display: block; font-size: 0.85rem; margin-bottom: 0.2rem; }
.about__value span { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ---------- CLASES GRID ---------- */
.clases__intro { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.clases__intro h2 { margin-bottom: 0.75rem; }
.clases__intro p { color: rgba(255,255,255,0.7); }
.clases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.clase-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: transform var(--trans);
}
.clase-card:hover { transform: translateY(-6px); }
.clase-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.clase-card:hover img { transform: scale(1.06); }
.clase-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: all var(--trans);
}
.clase-card:hover .clase-card__overlay { background: linear-gradient(to top, rgba(2,60,94,0.88) 0%, rgba(10,10,10,0.5) 60%, rgba(10,10,10,0.1) 100%); }
.clase-card__tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--azul-accent);
  margin-bottom: 0.4rem;
  transition: color var(--trans);
}
.clase-card:hover .clase-card__tag { color: rgba(255,255,255,0.8); }
.clase-card h3 { margin-bottom: 0.4rem; font-size: 1.2rem; }
.clase-card__age {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
  transition: color var(--trans);
}
.clase-card:hover .clase-card__age { color: rgba(255,255,255,0.9); }
.clase-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blanco);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--trans);
}
.clase-card:hover .clase-card__cta { opacity: 1; transform: translateY(0); }

/* ---------- VIDEO / CTA HERO ---------- */
.cta-video {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  text-align: center;
}
.cta-video__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/clase-karate-adultos-narvarte.webp');
  background-size: cover;
  background-position: center;
  filter: grayscale(30%);
}
.cta-video__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.8);
}
.cta-video__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.cta-video__content h2 { margin-bottom: 1rem; }
.cta-video__content p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; font-size: 1.1rem; }
.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--azul);
  color: var(--blanco);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: all var(--trans);
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 12px rgba(9,207,247,0.2);
}

/* ---------- TESTIMONIOS ---------- */
.testimonios__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.testimonio-card {
  background: var(--gris-mid);
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid var(--gris-soft);
  transition: border-color var(--trans);
}
.testimonio-card:hover { border-color: var(--azul); }
.testimonio-card__stars { color: #FFD700; font-size: 1.1rem; margin-bottom: 1rem; }
.testimonio-card__text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonio-card__autor { display: flex; align-items: center; gap: 1rem; }
.testimonio-card__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--azul);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonio-card__name { font-weight: 700; font-size: 0.9rem; }
.testimonio-card__sub { font-size: 0.75rem; color: var(--gris-texto); }

/* ---------- BLOG PREVIEW ---------- */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--gris-dark);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gris-soft);
  transition: all var(--trans);
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--azul);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.blog-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__body { padding: 1.5rem; }
.blog-card__cat {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--azul-accent);
  margin-bottom: 0.5rem;
}
.blog-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.blog-card__meta { font-size: 0.75rem; color: var(--gris-texto); }

/* ---------- ALIADOS ---------- */
.aliados { padding: 4rem 0; background: var(--gris-dark); }
.aliados__intro { text-align: center; margin-bottom: 2.5rem; }
.aliados__intro p { color: rgba(255,255,255,0.5); font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; }
.aliados__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
}
.aliado {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--trans);
  text-decoration: none;
}
.aliado:hover { color: var(--blanco); }

/* ---------- CTA FINAL ---------- */
.cta-final {
  background: var(--azul);
  padding: 5rem 0;
  text-align: center;
}
.cta-final h2 { margin-bottom: 1rem; }
.cta-final p { opacity: 0.9; margin-bottom: 2.5rem; font-size: 1.05rem; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-final .btn--wa { background: var(--negro); border-color: var(--negro); }
.cta-final .btn--wa:hover { background: var(--gris-mid); border-color: var(--gris-mid); }
.cta-final__btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--negro);
  border-top: 1px solid var(--gris-soft);
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand img { height: 48px; margin-bottom: 1.25rem; }
.footer__brand p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 280px; }
.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gris-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--trans);
}
.footer__social a:hover { border-color: var(--azul); color: var(--azul); }
.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gris-texto);
  margin-bottom: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--trans);
}
.footer__col ul a:hover { color: var(--blanco); }
.footer__contact li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.footer__contact li span:first-child { flex-shrink: 0; margin-top: 1px; }
.footer__bottom {
  border-top: 1px solid var(--gris-soft);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer__bottom a { color: rgba(255,255,255,0.5); transition: color var(--trans); }
.footer__bottom a:hover { color: var(--blanco); }

/* ---------- PÁGINAS INTERNAS (Hero de clase) ---------- */
.page-hero {
  position: relative;
  height: 65vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.5) 60%, rgba(10,10,10,0.2) 100%);
}
.page-hero__content { position: relative; z-index: 2; }
.page-hero__breadcrumb {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.page-hero__breadcrumb a:hover { color: var(--blanco); }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-tag--blue { background: rgba(9,207,247,0.25); border-color: var(--azul-accent); color: var(--blanco); }

/* ---------- PÁGINA DE CLASE: CONTENIDO ---------- */
.clase-content { padding: 5rem 0; }
.clase-content__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}
.clase-content__main h2 { margin-bottom: 1.25rem; }
.clase-content__main p { color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 1.25rem; }
.benefits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 2rem 0;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--gris-mid);
  border-radius: 6px;
}
.benefit-item__icon {
  width: 36px; height: 36px;
  background: rgba(9,207,247,0.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--azul-accent);
}
.benefit-item strong { display: block; font-size: 0.85rem; margin-bottom: 0.2rem; }
.benefit-item span { font-size: 0.78rem; color: rgba(255,255,255,0.55); }

.clase-sidebar {
  position: sticky;
  top: 90px;
}
.clase-sidebar__card {
  background: var(--gris-mid);
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid var(--gris-soft);
  margin-bottom: 1.5rem;
}
.clase-sidebar__card h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gris-texto);
  margin-bottom: 1.25rem;
}
.horario-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gris-soft);
  font-size: 0.85rem;
  gap: 0.5rem;
}
.horario-item:last-child { border-bottom: none; }
.horario-item strong { color: rgba(255,255,255,0.6); font-weight: 500; min-width: 130px; }
.horario-item span { text-align: right; font-weight: 700; }
.clase-sidebar .btn { width: 100%; text-align: center; justify-content: center; margin-top: 0.75rem; }

/* ---------- BLOG PAGE ---------- */
.blog-post { padding: 5rem 0; max-width: 780px; margin: 0 auto; }
.blog-post__header { margin-bottom: 3rem; }
.blog-post h1 { margin-bottom: 1.25rem; }
.blog-post__meta { display: flex; align-items: center; gap: 1.5rem; font-size: 0.82rem; color: var(--gris-texto); margin-bottom: 2rem; flex-wrap: wrap; }
.blog-post__meta span { display: flex; align-items: center; gap: 0.4rem; }
.blog-post__content h2 { margin: 2.5rem 0 1rem; }
.blog-post__content p { color: rgba(255,255,255,0.78); line-height: 1.85; margin-bottom: 1.25rem; }
.blog-post__content ul { color: rgba(255,255,255,0.75); padding-left: 1.5rem; margin-bottom: 1.25rem; list-style: disc; }
.blog-post__content ul li { margin-bottom: 0.5rem; line-height: 1.7; }

/* ---------- MAPA ---------- */
.mapa { padding: 0; height: 420px; overflow: hidden; }
.mapa iframe { width: 100%; height: 100%; border: none; filter: grayscale(40%) contrast(1.1); }

/* ---------- WHATSAPP FLOTANTE ---------- */
.wa-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 900;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--blanco);
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: all var(--trans);
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}

/* ---------- ANIMACIONES ---------- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .clases__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about__grid { gap: 3rem; }
  .clase-content__grid { grid-template-columns: 1fr; }
  .clase-sidebar { position: static; }
}

@media (max-width: 768px) {
  .navbar__nav, .navbar__cta { display: none; }
  .navbar__burger { display: flex; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .stats__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.2); }
  .about__grid { grid-template-columns: 1fr; }
  .about__badge { right: 1rem; }
  .about__values { grid-template-columns: 1fr; }
  .clases__grid { grid-template-columns: 1fr; }
  .testimonios__grid { grid-template-columns: 1fr; }
  .blog__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .benefits-list { grid-template-columns: 1fr; }
  .hero__btns { flex-direction: column; }
}

/* ---------- PROMO POPUP ---------- */
.promo-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.promo-popup.active {
  opacity: 1;
  visibility: visible;
}
.promo-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}
.promo-popup__content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  width: 90%;
  background: var(--gris-dark);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.85);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--gris-soft);
}
.promo-popup.active .promo-popup__content {
  transform: scale(1);
}
.promo-popup__content img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: transform var(--trans);
}
.promo-popup__content img:hover {
  transform: scale(1.02);
}
.promo-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.8);
  color: var(--blanco);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans);
}
.promo-popup__close:hover {
  background: var(--azul);
  color: var(--blanco);
  border-color: var(--azul);
  transform: rotate(90deg);
}

/* ==========================================================================
   INTERACTIVE SCROLL SHOWCASE (APPLE-STYLE)
   ========================================================================== */

/* Main Scroll Pinning Parent */
.scroll-container {
  position: relative;
  height: 300vh; /* Scroll length: controls scrubbing speed */
  background: #000D2E; /* Matches C.navy */
  z-index: 5;
}

/* Sticky Frame Container */
.sticky-frame {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Base Scene Layout */
.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Particle Grid Overlay (used in Scene 1, 2, 3) */
.scene-1__grid-lines,
.scene-2__grid-lines,
.scene-3__grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0,180,216,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,216,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   SCENE 1: DRAMATIC INTRO
   -------------------------------------------------------------------------- */
.scene-1 {
  background: #000D2E;
}

.scene-1__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/portada-hero-sharks-academy.webp');
  background-size: cover;
  background-position: center 25%;
  transform: scale(1.12); /* Default zoom in, will scrub to 1.02 */
  will-change: transform;
  z-index: 1;
}

.scene-1__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    rgba(0,13,46,0.30) 0%,
    rgba(0,13,46,0.55) 40%,
    rgba(0,13,46,0.88) 75%,
    rgba(0,13,46,1.00) 100%);
  z-index: 2;
  pointer-events: none;
}

.scene-1__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
}

.scene-1__logo {
  margin-bottom: 20px;
  filter: drop-shadow(0 0 30px rgba(0, 180, 216, 0.5));
  will-change: transform, opacity;
}

.scene-1__logo img {
  width: auto;
  height: auto;
  max-width: 350px;
  max-height: 150px;
  object-fit: contain;
}

.scene-1__title-wrap {
  will-change: transform, opacity;
}

.scene-1__title-main {
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 6.2rem);
  line-height: 0.95;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: -3px;
  text-shadow: 0 0 60px rgba(0,82,204,0.8), 0 4px 32px rgba(0,0,0,0.6);
}

.scene-1__title-sub {
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-weight: 900;
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  line-height: 1;
  letter-spacing: clamp(10px, 2.2vw, 22px);
  color: #00B4D8; /* C.accent */
  text-transform: uppercase;
  text-shadow: 0 0 30px #00B4D8;
  margin-top: 5px;
  margin-left: clamp(10px, 2.2vw, 22px); /* Offsets letters-spacing centering bug */
}

.scene-1__divider {
  margin-top: 22px;
  width: 0%; /* Will scrub to 360px */
  height: 2px;
  background: linear-gradient(to right, transparent, #00B4D8, #FFD166, #00B4D8, transparent);
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.5);
  will-change: width;
}

.scene-1__tagline {
  margin-top: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #FFD166; /* C.gold */
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  will-change: transform, opacity;
}

/* --------------------------------------------------------------------------
   SCENE 2: DISCIPLINES GRID / CAROUSEL
   -------------------------------------------------------------------------- */
.scene-2 {
  background: #000D2E;
}

.scene-2__bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0,82,204,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.scene-2__header {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
  will-change: transform, opacity;
}

.scene-2__label-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.scene-2__line {
  width: 40px;
  height: 2px;
  background: #00B4D8;
}

.scene-2__label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 8px;
  color: #00B4D8;
  text-transform: uppercase;
}

.scene-2__cards-container {
  position: absolute;
  top: 110px;
  left: 30px;
  right: 30px;
  bottom: 50px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Discipline Interactive Card */
.discipline-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.08);
  display: block;
  text-decoration: none;
  cursor: pointer;
  transform: translate3d(0, 50px, 0) scale(0.85);
  opacity: 0;
  will-change: transform, opacity;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

/* Hover effects */
.discipline-card:hover {
  transform: translate3d(0, -6px, 0) scale(1.03) !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.65), 0 0 20px var(--accent-color);
  z-index: 10;
}

.discipline-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease;
}

.discipline-card:hover img {
  transform: scale(1.08);
}

.discipline-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    var(--accent-color) 0%,
    rgba(0,13,46,0.6) 40%,
    transparent 75%);
  transition: background 0.35s ease;
}

.discipline-card:hover .discipline-card__gradient {
  background: linear-gradient(to top,
    var(--accent-color) 0%,
    var(--accent-color) 30%,
    transparent 80%);
}

.discipline-card__border {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--accent-color);
  border-radius: 12px;
  pointer-events: none;
  transition: border 0.35s ease;
}

.discipline-card:hover .discipline-card__border {
  border-color: rgba(255, 255, 255, 0.25);
}

.discipline-card__content {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 12px;
  z-index: 2;
  color: #FFFFFF;
}

.discipline-card__content h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  letter-spacing: 0.5px;
  margin: 0;
}

.discipline-card__content p {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.5px;
  margin: 2px 0 0 0;
  line-height: 1.2;
}

/* Mobile swipe helper styles */
.scene-2__swipe-indicator {
  display: none;
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 4;
}
.scene-2__swipe-indicator span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(0, 13, 46, 0.7);
  padding: 4px 12px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
}

/* --------------------------------------------------------------------------
   SCENE 3: CTA & CONTACTS
   -------------------------------------------------------------------------- */
.scene-3 {
  background: #000D2E;
}

.scene-3__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/cta-bg.jpg');
  background-size: cover;
  background-position: center 20%;
  transform: scale(1.15); /* Default scale, will scrub to 1.05 and translate */
  will-change: transform;
  z-index: 1;
}

.scene-3__spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 0px at 50% 48%, rgba(0,13,46,0.05) 0%, rgba(0,13,46,0.92) 70%); /* spotR will scrub from 0px to 1100px */
  z-index: 2;
  pointer-events: none;
}

.scene-3__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,13,46,0.2) 0%, rgba(0,13,46,0.85) 70%, rgba(0,13,46,1) 100%);
  z-index: 2;
  pointer-events: none;
}

.scene-3__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 900px;
  padding: 0 40px;
  margin-top: 15px;
}

.scene-3__badge-wrap {
  margin-bottom: 24px;
  will-change: transform, opacity;
}

.scene-3__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #023C5E 0%, #09CFF7 100%);
  border-radius: 999px;
  padding: 10px 32px;
  box-shadow: 0 0 50px rgba(9, 207, 247, 0.4), 0 4px 20px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 7px;
  color: #FFFFFF;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: badgeBreathing 3s infinite ease-in-out;
}

.scene-3__badge:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 0 60px rgba(9, 207, 247, 0.6), 0 6px 25px rgba(0,0,0,0.5);
}

@keyframes badgeBreathing {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

.scene-3__h1 {
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 6.5vw, 4.8rem);
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 1;
  text-shadow: 0 4px 50px rgba(2,60,94,0.5);
  will-change: transform, opacity;
}

.scene-3__h2 {
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 6.5vw, 4.8rem);
  background: linear-gradient(90deg, #023C5E, #09CFF7, #FFD166);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 25px;
  will-change: transform, opacity;
}

.scene-3__divider {
  width: 0%; /* Will scrub to 320px */
  height: 2px;
  background: linear-gradient(to right, transparent, #FFD166, transparent);
  box-shadow: 0 0 10px rgba(255, 209, 102, 0.5);
  margin-bottom: 25px;
  will-change: width;
}

.scene-3__info-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}

.scene-3__info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border-radius: 99px;
  padding: 8px 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.5px;
  will-change: transform, opacity;
}

.scene-3__info-item--link {
  text-decoration: none;
  transition: all 0.3s ease;
}

.scene-3__info-item--link:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(9, 207, 247, 0.4);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.scene-3__info-icon {
  font-size: 16px;
}

.scene-3__logo-completo {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform, opacity;
}

.scene-3__logo-completo img {
  height: 75px;
  object-fit: contain;
  filter: brightness(10) contrast(0.5);
}

/* --------------------------------------------------------------------------
   SCROLL DOWN HELPER
   -------------------------------------------------------------------------- */
.scroll-helper {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  z-index: 10;
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.scroll-helper span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.scroll-helper__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #FFFFFF, transparent);
  animation: scrollPulse 2s infinite;
}

/* --------------------------------------------------------------------------
   RESPONSIVE LAYOUT RESPONSES AND OVERRIDES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .scene-2__cards-container {
    max-width: 800px;
    top: 90px;
    bottom: 40px;
    gap: 10px;
  }
  .discipline-card__content h3 {
    font-size: 13px;
  }
  .discipline-card__content p {
    font-size: 10px;
  }
}

/* Tablet Landscape/Portrait and Mobile sizes */
@media (max-width: 768px) {
  .scroll-container {
    height: 320vh; /* Slightly more scroll for mobile swipe space */
  }

  /* Transition card container into Horizontal swipe-slider */
  .scene-2__cards-container {
    display: flex;
    position: absolute;
    top: 25%;
    bottom: 25%;
    left: 0;
    right: 0;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 10px 20px;
    margin: 0;
    /* Hide scrollbars */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  
  .scene-2__cards-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  
  .discipline-card {
    flex: 0 0 76%; /* Cards take up 76% of screen width */
    height: 100%;
    scroll-snap-align: center;
    /* Override absolute transforms for horizontal slider */
    transform: translate3d(0, 0, 0) scale(1) !important;
    opacity: 1 !important; /* Managed by swipe natively on touch, keep visible */
    transition: transform 0.3s ease;
  }
  
  .discipline-card:hover {
    transform: scale(1.02) !important;
  }

  .scene-2__swipe-indicator {
    display: block;
  }

  .scene-3__content {
    padding: 0 20px;
  }

  .scene-3__info-grid {
    gap: 12px;
  }
  
  .scene-3__info-item {
    font-size: 12px;
    padding: 6px 14px;
  }
}

/* ==========================================================================
   GLOBAL ORGANIC SCROLL REVEALS
   ========================================================================== */

/* Single element/section reveal on scroll */
.reveal-on-scroll {
  opacity: 0 !important;
  transform: translate3d(0, 45px, 0) scale(0.985);
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: transform, opacity;
}

.reveal-on-scroll.scroll-active {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Staggered element reveals (Wave effect) */
.reveal-stagger > * {
  opacity: 0 !important;
  transform: translate3d(0, 35px, 0);
  transition: opacity 0.7s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: transform, opacity;
}

.reveal-stagger.scroll-active > * {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0);
}

/* Delay configurations for waves (up to 9 items) */
.reveal-stagger.scroll-active > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.scroll-active > *:nth-child(2) { transition-delay: 0.13s; }
.reveal-stagger.scroll-active > *:nth-child(3) { transition-delay: 0.21s; }
.reveal-stagger.scroll-active > *:nth-child(4) { transition-delay: 0.29s; }
.reveal-stagger.scroll-active > *:nth-child(5) { transition-delay: 0.37s; }
.reveal-stagger.scroll-active > *:nth-child(6) { transition-delay: 0.45s; }
.reveal-stagger.scroll-active > *:nth-child(7) { transition-delay: 0.53s; }
.reveal-stagger.scroll-active > *:nth-child(8) { transition-delay: 0.61s; }
.reveal-stagger.scroll-active > *:nth-child(9) { transition-delay: 0.69s; }

