/* ============================================================
   SALSA CUBANA EN MÁLAGA — style.css v2
   Concepto: Dark Atlético — F45 + Gymbox energy
   Paleta: Azul noche #060D24 · Rojo explosivo #CF142B · Blanco #FFFFFF
   Tipografía: Bebel Neue Condensed (display) + Barlow (body)
   ============================================================ */

/* ============================================================
   1. VARIABLES
   ============================================================ */
:root {
  /* Colores */
  --night:        #060D24;   /* fondo dominante oscuro */
  --night-mid:    #0D1A3A;
  --night-light:  #162247;
  --red:          #CF142B;   /* rojo Cuba explosivo */
  --red-dark:     #A80E22;
  --red-glow:     rgba(207,20,43,.25);
  --blue:         #002A8F;   /* azul Cuba */
  --blue-mid:     #1A4FD6;
  --white:        #FFFFFF;
  --off-white:    #F0F2F8;
  --gray-300:     #B0BACF;
  --gray-500:     #6B7A9E;
  --gray-700:     #2D3A5A;

  /* Tipografía */
  --font-display: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', 'Barlow Semi Condensed', sans-serif;

  /* Espaciado */
  --section-v:    120px;
  --section-v-sm: 72px;

  /* Efectos */
  --radius:    6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --t:         all .3s cubic-bezier(.4,0,.2,1);
  --shadow-red: 0 0 40px rgba(207,20,43,.3);
  --shadow-lg:  0 24px 64px rgba(0,0,0,.5);
}

/* ============================================================
   2. RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--night);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--t); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ============================================================
   3. UTILIDADES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: 960px; }

.s-pad   { padding: var(--section-v) 0; }
.s-pad-sm{ padding: var(--section-v-sm) 0; }

/* Etiqueta superior de sección */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
}

/* Heading display gigante */
.display-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.display-title .accent { color: var(--red); }
.display-title .stroke {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

/* Heading de sección normal */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.section-heading .accent { color: var(--red); }

/* Párrafo intro */
.lead {
  font-size: 1.05rem;
  color: var(--gray-300);
  max-width: 560px;
  line-height: 1.75;
}

/* ============================================================
   4. BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--t);
  white-space: nowrap;
}

/* Rojo sólido — acción principal */
.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-red);
}

/* Outline blanco */
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.06);
}

/* Outline rojo */
.btn-ghost-red {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-ghost-red:hover {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

/* WhatsApp */
.btn-wa {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
  font-size: 1rem;
  padding: 18px 44px;
}
.btn-wa:hover {
  background: #1daa52;
  border-color: #1daa52;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,211,102,.35);
}

/* ============================================================
   5. LOADER
   ============================================================ */
#loader {
  position: fixed;
  inset: 0;
  background: var(--night);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity .6s ease, visibility .6s ease;
}
#loader.out { opacity: 0; visibility: hidden; }

.loader-ring {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.1);
  border-top-color: var(--red);
  border-right-color: var(--blue-mid);
  animation: spin .8s linear infinite;
}
.loader-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .3em;
  color: var(--gray-500);
  text-transform: uppercase;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   6. NAVEGACIÓN
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: var(--t);
}
#nav.solid {
  background: rgba(6,13,36,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 42px; width: auto; }

/* Links desktop */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-menu a {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--t);
}
.nav-menu a:hover { color: var(--white); background: rgba(255,255,255,.07); }

/* Teléfono en nav */
.nav-tel {
  font-size: .78rem !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  background: rgba(207,20,43,.15) !important;
  border: 1px solid rgba(207,20,43,.35) !important;
  padding: 7px 16px !important;
  border-radius: var(--radius) !important;
}
.nav-tel:hover {
  background: var(--red) !important;
  border-color: var(--red) !important;
}

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 8px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: var(--t);
}
.nav-drop-btn:hover { background: var(--red-dark); }

.nav-drop-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--night-mid);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  min-width: 180px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: var(--t);
}
.nav-drop:hover .nav-drop-panel,
.nav-drop.open .nav-drop-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-drop-panel a {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-300);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: var(--t);
}
.nav-drop-panel a:hover { color: var(--white); background: rgba(255,255,255,.07); }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  transition: var(--t);
}
.nav-burger:hover { background: rgba(255,255,255,.07); }
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--t);
}
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
#mobile-nav {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0;
  background: rgba(6,13,36,.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,.06);
  z-index: 899;
  padding: 20px 32px 32px;
  flex-direction: column;
  gap: 2px;
}
#mobile-nav.open { display: flex; }
#mobile-nav a {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  padding: 13px 16px;
  border-radius: var(--radius);
  transition: var(--t);
}
#mobile-nav a:hover { color: var(--white); background: rgba(255,255,255,.06); }
#mobile-nav .mob-sep {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin: 8px 0;
}

/* ============================================================
   7. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 60px;
}

/* Imagen fondo */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/salsa-cubana-malaga-academia-baile-latino-deiby-tum-tum.webp');
  background-size: cover;
  background-position: center 25%;
  transform: scale(1.06);
  transition: transform 10s ease-out;
  filter: brightness(.45);
}
.hero-bg.in { transform: scale(1); }

/* Gradiente inferior para texto legible */
.hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6,13,36,1) 0%,
    rgba(6,13,36,.6) 40%,
    rgba(6,13,36,.1) 80%,
    transparent 100%
  );
}

/* Línea roja lateral izquierda — signature Gymbox */
.hero-line {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 5px;
  background: linear-gradient(to bottom, var(--red), transparent);
}

/* Contenido hero */
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 76px;
  padding-bottom: 80px;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(207,20,43,.12);
  border: 1px solid rgba(207,20,43,.35);
  border-radius: 3px;
  padding: 7px 16px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #ff8a95;
  margin-bottom: 28px;
}

/* Título ENORME estilo F45 */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 10rem);
  line-height: .88;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 32px;
  max-width: 900px;
}
.hero-title .red   { color: var(--red); }
.hero-title .ghost {
  -webkit-text-stroke: 2px rgba(255,255,255,.3);
  color: transparent;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 0;
}

/* Barra de datos rápidos abajo del hero */
.hero-strip {
  background: var(--red);
  padding: 0;
  overflow: hidden;
  width: 100%;
}
.hero-strip-inner {
  display: flex;
  align-items: stretch;
  max-width: 1280px;
  margin: 0 auto;
}
.hero-strip-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  border-right: 1px solid rgba(255,255,255,.2);
  text-align: center;
  transition: var(--t);
}
.hero-strip-item:last-child { border-right: none; }
.hero-strip-item:hover { background: rgba(0,0,0,.15); }
.strip-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1;
}
.strip-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-top: 3px;
}

/* ============================================================
   8. SECCIÓN INTRO — GRID ASIMÉTRICO
   ============================================================ */
.intro-section { background: var(--night); }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
}

/* Columna imagen */
.intro-img-col {
  position: relative;
  overflow: hidden;
}
.intro-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.75);
  transition: transform .6s ease;
}
.intro-img-col:hover .intro-img { transform: scale(1.03); }

/* Badge encima de imagen */
.intro-img-badge {
  position: absolute;
  bottom: 32px; left: 32px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius);
}

/* Columna texto */
.intro-text-col {
  background: var(--night-mid);
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.intro-text-col p {
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: .95rem;
}
.intro-text-col a.inline-link {
  color: var(--red);
  font-weight: 700;
  border-bottom: 1px solid transparent;
}
.intro-text-col a.inline-link:hover { border-color: var(--red); }

/* ============================================================
   9. FEATURE CARDS — 3 COLUMNAS DARK
   ============================================================ */
.features-section { background: var(--night-mid); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feat-card {
  background: var(--night-mid);
  padding: 48px 36px;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.feat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: var(--t);
  transform-origin: left;
}
.feat-card:hover { background: var(--night-light); }
.feat-card:hover::after { transform: scaleX(1); }

.feat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: rgba(207,20,43,.12);
  border: 1px solid rgba(207,20,43,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 24px;
  transition: var(--t);
}
.feat-card:hover .feat-icon {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.feat-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.feat-card p {
  font-size: .88rem;
  color: var(--gray-300);
  line-height: 1.75;
}
.feat-card a.feat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  transition: var(--t);
}
.feat-card a.feat-link:hover { gap: 10px; }

/* ============================================================
   10. VÍDEO + TABS — SPLIT OSCURO
   ============================================================ */
.vt-section { background: var(--night); }

.vt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Envoltorio vídeo con borde rojo */
.vid-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.vid-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--red), var(--blue-mid), transparent);
  z-index: 0;
}
.vid-inner {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
}
.vid-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.65);
  transition: var(--t);
}
.vid-wrap:hover .vid-thumb { filter: brightness(.8); }

.vid-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vid-play-circle {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(207,20,43,.2);
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  backdrop-filter: blur(8px);
  transition: var(--t);
}
.vid-play:hover .vid-play-circle {
  background: var(--red);
  transform: scale(1.1);
  box-shadow: var(--shadow-red);
}

/* Tabs */
.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 20px;
}
.tab-btn {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,.15);
  background: transparent;
  color: var(--gray-300);
  cursor: pointer;
  transition: var(--t);
}
.tab-btn:hover { border-color: var(--red); color: var(--white); }
.tab-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel p {
  font-size: .9rem;
  color: var(--gray-300);
  line-height: 1.85;
  padding: 20px 22px;
  background: var(--night-mid);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--red);
}
.tab-panel p a { color: var(--blue-mid); font-weight: 600; }

/* CTA WhatsApp mini */
.wa-inline {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--night-mid);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}
.wa-inline-text { font-size: .85rem; font-weight: 600; color: var(--white); }
.wa-inline-num  { font-size: .85rem; color: var(--red); font-weight: 700; }
.wa-inline-num:hover { text-decoration: underline; }

/* ============================================================
   11. HORARIOS — TABLA OSCURA
   ============================================================ */
.sched-section { background: var(--night-mid); }

.sched-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: start;
}

.sched-list { display: flex; flex-direction: column; gap: 3px; }

.sched-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  transition: var(--t);
  cursor: default;
}
.sched-item:hover {
  background: rgba(207,20,43,.08);
  border-color: rgba(207,20,43,.3);
}

.sched-day {
  font-family: var(--font-display);
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
}
.sched-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}
.sched-addr {
  font-size: .75rem;
  color: var(--gray-500);
}
.sched-times {
  font-size: .78rem;
  color: var(--gray-300);
  text-align: right;
  line-height: 1.6;
}

/* FAQ lado derecho */
.faq-list { display: flex; flex-direction: column; gap: 4px; }

.faq-item {
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,.02);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: var(--t);
}
.faq-q:hover { color: var(--red); }
.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 300;
  color: var(--gray-300);
  transition: var(--t);
}
.faq-item.open .faq-icon {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-a { max-height: 240px; }
.faq-a-inner {
  padding: 0 20px 16px;
  font-size: .85rem;
  color: var(--gray-300);
  line-height: 1.75;
}
.faq-a-inner a { color: var(--blue-mid); font-weight: 600; }

/* Ubicaciones rápidas */
.loc-list { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.loc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-300);
  padding: 10px 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  transition: var(--t);
}
.loc-link:hover {
  color: var(--white);
  border-color: var(--red);
  background: rgba(207,20,43,.08);
  padding-left: 18px;
}
.loc-link svg { flex-shrink: 0; color: var(--red); }

/* ============================================================
   12. VÍDEO PROMO — FONDO ROJO
   ============================================================ */
.promo-section { background: var(--red); }

.promo-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.promo-inner .section-heading { color: var(--white); }
.promo-inner .lead { color: rgba(255,255,255,.8); margin: 0 auto 8px; }

.vid-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 40px 0;
  background: var(--night);
}
.vid-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ============================================================
   13. GALERÍA — SLIDER FULLWIDTH
   ============================================================ */
.gallery-section { background: var(--night); overflow: hidden; }

.slider-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.slider-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}
.slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 21/8;
}
@media (max-width: 768px) { .slide { aspect-ratio: 4/3; } }

.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.55);
  border-radius: var(--radius-lg);
}
.slide-caption {
  position: absolute;
  bottom: 40px; left: 48px;
}
.slide-caption h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.slide-caption span {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* Controles slider */
.slider-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  justify-content: flex-end;
}
.sl-btn {
  width: 46px; height: 46px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,.15);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
}
.sl-btn:hover { background: var(--red); border-color: var(--red); }

.sl-dots { display: flex; gap: 8px; margin-right: auto; }
.sl-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: none;
  cursor: pointer;
  transition: var(--t);
}
.sl-dot.on {
  background: var(--red);
  width: 28px;
  border-radius: 4px;
}

/* ============================================================
   14. TESTIMONIOS — CARDS OSCURAS
   ============================================================ */
.testi-section { background: var(--night-mid); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.testi-card {
  background: var(--night);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: var(--t);
}
.testi-card:hover {
  border-color: rgba(207,20,43,.3);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}

.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.testi-stars svg { color: #F59E0B; }

.testi-text {
  font-size: .88rem;
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 24px;
}

.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: .88rem; color: var(--white); }
.testi-time { font-size: .75rem; color: var(--gray-500); margin-top: 2px; }

/* Quote grande decorativo */
.testi-quote-icon {
  position: absolute;
  top: 20px; right: 20px;
  color: var(--red);
  opacity: .12;
}

/* ============================================================
   15. BANNER MEDIO — PARALLAX
   ============================================================ */
.mid-banner {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.mid-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/portada-de-abajo.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(.35);
}
/* Franja roja diagonal en overlay */
.mid-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(207,20,43,.55) 0%,
    transparent 50%,
    rgba(6,13,36,.8) 100%
  );
}
.mid-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.mid-banner-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  text-transform: uppercase;
  color: var(--white);
  max-width: 760px;
  margin: 0 auto 32px;
  line-height: 1.05;
}

/* ============================================================
   16. SERVICIOS — GRID 4 COL
   ============================================================ */
.services-section { background: var(--night); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.srv-card {
  background: var(--night-mid);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--t);
  color: inherit;
  text-decoration: none;
}
.srv-card:hover {
  border-color: rgba(207,20,43,.4);
  background: var(--night-light);
  transform: translateY(-4px);
}

.srv-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: rgba(207,20,43,.1);
  border: 1px solid rgba(207,20,43,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  transition: var(--t);
}
.srv-card:hover .srv-icon {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.srv-card h4 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
}
.srv-card p {
  font-size: .8rem;
  color: var(--gray-500);
  line-height: 1.7;
  flex: 1;
}
.srv-arrow {
  align-self: flex-end;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: var(--t);
}
.srv-card:hover .srv-arrow {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ============================================================
   17. SEDES — CARDS CON IMAGEN
   ============================================================ */
.locs-section { background: var(--night-mid); }

.locs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.loc-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--night);
  border: 1px solid rgba(255,255,255,.06);
  transition: var(--t);
  display: flex;
  flex-direction: column;
}
.loc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--red); }

.loc-thumb { overflow: hidden; height: 180px; }
.loc-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.75);
  transition: transform .4s ease;
}
.loc-card:hover .loc-thumb img { transform: scale(1.06); }

.loc-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.loc-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--red);
  line-height: 1;
}
.loc-price span {
  font-family: var(--font-body);
  font-size: .75rem;
  color: var(--gray-500);
  font-weight: 600;
  margin-left: 4px;
}
.loc-body h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.loc-body p {
  font-size: .8rem;
  color: var(--gray-500);
  line-height: 1.65;
  flex: 1;
}
.loc-body p a { color: var(--blue-mid); }

/* ============================================================
   18. TAGS CLOUD
   ============================================================ */
.tags-section { background: var(--night); }

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}
.tag {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 7px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  color: var(--gray-300);
  border: 1px solid rgba(255,255,255,.08);
  transition: var(--t);
  white-space: nowrap;
}
.tag:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ============================================================
   19. FACEBOOK
   ============================================================ */
.fb-section { background: var(--night-mid); }
.fb-inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}
.fb-inner p { color: var(--gray-300); margin-bottom: 28px; font-size: .95rem; }
.fb-inner a { color: var(--red); font-weight: 700; }

/* ============================================================
   20. MAPA
   ============================================================ */
.map-section { background: var(--night); }
.map-head { text-align: center; margin-bottom: 36px; }
.map-head h5 {
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--white);
  margin-bottom: 8px;
}
.map-head p { color: var(--gray-300); font-size: .9rem; }

.map-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  height: 480px;
  box-shadow: var(--shadow-lg);
}
.map-box iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   21. FOOTER
   ============================================================ */
footer {
  background: #030810;
  padding: 80px 0 0;
  color: var(--gray-500);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.foot-brand img { height: 44px; margin-bottom: 20px; }
.foot-brand p {
  font-size: .85rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 28px;
}
.foot-brand p a { color: var(--gray-300); }
.foot-brand p a:hover { color: var(--white); }

.socials { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: var(--t);
}
.social-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}

.foot-col h6 {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  margin-bottom: 20px;
}
.foot-links { display: flex; flex-direction: column; gap: 6px; }
.foot-links a {
  font-size: .85rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--t);
  padding: 3px 0;
}
.foot-links a:hover { color: var(--white); padding-left: 4px; }
.foot-links a svg { opacity: .35; transition: var(--t); }
.foot-links a:hover svg { opacity: 1; color: var(--red); }

.foot-contact { display: flex; flex-direction: column; gap: 10px; }
.foot-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .83rem;
  color: var(--gray-500);
}
.foot-contact-row svg { flex-shrink: 0; margin-top: 2px; color: var(--red); }
.foot-contact-row a { color: var(--gray-300); }
.foot-contact-row a:hover { color: var(--white); }

.foot-hours { display: flex; flex-direction: column; gap: 10px; }
.hour-row { font-size: .82rem; }
.hour-lbl {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.22);
  margin-bottom: 2px;
}
.hour-val { color: var(--gray-300); }

.foot-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.foot-bottom p { font-size: .78rem; color: rgba(255,255,255,.22); }
.foot-bottom a { color: rgba(255,255,255,.35); }
.foot-bottom a:hover { color: var(--white); }

/* Franja bandera cubana — base del todo */
.cuba-stripe {
  height: 5px;
  background: linear-gradient(90deg,
    var(--blue)  0%, var(--blue)  33.33%,
    var(--white) 33.33%, var(--white) 66.66%,
    var(--red)   66.66%, var(--red)   100%
  );
}

/* ============================================================
   22. SCROLL REVEAL
   ============================================================ */
.sr {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .65s ease, transform .65s ease;
}
.sr.on { opacity: 1; transform: translateY(0); }
.sr-d1 { transition-delay: .1s; }
.sr-d2 { transition-delay: .2s; }
.sr-d3 { transition-delay: .3s; }
.sr-d4 { transition-delay: .4s; }

/* ============================================================
   23. RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .intro-grid       { grid-template-columns: 1fr; }
  .intro-img-col    { height: 380px; }
  .vt-grid          { grid-template-columns: 1fr; gap: 48px; }
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .locs-grid        { grid-template-columns: repeat(2, 1fr); }
  .testi-grid       { grid-template-columns: repeat(2, 1fr); }
  .foot-grid        { grid-template-columns: 1fr 1fr; gap: 36px; }
  .sched-grid       { grid-template-columns: 1fr; }
  .features-grid    { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-v: 72px; }
  .nav-menu   { display: none; }
  .nav-burger { display: flex; }
  .hero-inner { padding-bottom: 40px; }
  .hero-strip-inner { flex-wrap: wrap; }
  .hero-strip-item  { min-width: 50%; flex: 0 0 50%; }
  .hero-strip-item:nth-child(5) { min-width: 100%; flex: 0 0 100%; }
  .services-grid    { grid-template-columns: 1fr 1fr; }
  .locs-grid        { grid-template-columns: 1fr; }
  .testi-grid       { grid-template-columns: 1fr; }
  .foot-grid        { grid-template-columns: 1fr; }
  .foot-bottom      { flex-direction: column; text-align: center; }
  .hero-actions     { flex-direction: column; align-items: flex-start; }
  .sched-item       { grid-template-columns: 1fr; gap: 4px; }
  .sched-times      { text-align: left; }
  .slide-caption    { left: 20px; bottom: 20px; }
  .intro-text-col   { padding: 48px 28px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .container     { padding: 0 18px; }
  .features-grid { gap: 0; }
  .hero-strip-item { min-width: 50%; }
}
/* ============================================================
   24. PÁGINAS INTERIORES — hero, breadcrumb, layout, sidebar
   Usado en: sobre-mi, horario, contacto, ubicacion, etc.
   ============================================================ */

/* Hero interior */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 64px;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: brightness(.35);
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.page-hero-bg.in { transform: scale(1); }
.page-hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,13,36,1) 0%, rgba(6,13,36,.4) 60%, transparent 100%);
}
.page-hero-line {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 5px;
  background: linear-gradient(to bottom, var(--red), transparent);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-content .label { margin-bottom: 12px; }
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: .95;
  text-transform: uppercase;
  color: var(--white);
}
.page-hero-content h1 span { color: var(--red); }

/* Breadcrumb */
.breadcrumb-bar {
  background: var(--night-mid);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 14px 0;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--gray-500);
}
.breadcrumb-inner a { color: var(--gray-500); }
.breadcrumb-inner a:hover { color: var(--red); }
.breadcrumb-inner svg { flex-shrink: 0; }
.breadcrumb-inner .current { color: var(--white); font-weight: 600; }

/* Fondo página interior */
.page-body { background: var(--night); }

/* Grid contenido + sidebar */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
.main-col { min-width: 0; }

/* Foto profesor */
.prof-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  position: relative;
}
.prof-photo img { width: 100%; display: block; }
.prof-photo-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius);
}

/* Cabecera bio */
.bio-header { margin-bottom: 32px; }
.bio-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
  margin-bottom: 10px;
}
.bio-header h2 span { color: var(--red); }
.bio-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: .06em;
}
.bio-header h3 a { color: var(--red); font-weight: 700; }

/* Texto bio */
.bio-text p {
  font-size: .95rem;
  color: var(--gray-300);
  line-height: 1.85;
  margin-bottom: 20px;
}
.bio-text p a { color: var(--blue-mid); font-weight: 600; }
.bio-text p a:hover { color: var(--red); }
.bio-text strong { color: var(--white); }

.bio-divider {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin: 36px 0;
}

.bio-subheading {
  font-family: var(--font-display);
  font-size: 1.8rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.bio-subheading span { color: var(--red); }

/* Vídeo embed interior */
.bio-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 32px 0;
  background: var(--night-mid);
}
.bio-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Facebook wrap interior */
.fb-wrap {
  background: var(--night-mid);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin-top: 32px;
}
.fb-wrap h5 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}
.fb-wrap p { color: var(--gray-300); font-size: .88rem; margin-bottom: 20px; }
.fb-wrap p a { color: var(--red); font-weight: 700; }

/* SIDEBAR */
.sidebar { display: flex; flex-direction: column; gap: 24px; }

.sidebar-box {
  background: var(--night-mid);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.sidebar-box h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* CTA sidebar rojo */
.sidebar-cta { background: var(--red); border-color: var(--red); text-align: center; }
.sidebar-cta h3 { color: var(--white); border-color: rgba(255,255,255,.2); }
.sidebar-cta p {
  font-size: .88rem;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Lista categorías sidebar */
.cat-list { display: flex; flex-direction: column; gap: 4px; }
.cat-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--gray-300);
  padding: 8px 12px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: var(--t);
}
.cat-list a:hover {
  color: var(--white);
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.07);
  padding-left: 16px;
}
.cat-list a svg { flex-shrink: 0; color: var(--red); }

/* Artículos relacionados */
.related-list { display: flex; flex-direction: column; gap: 16px; }
.related-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.related-item:last-child { border-bottom: none; padding-bottom: 0; }
.related-item h4 {
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}
.related-item h4 a { color: var(--white); }
.related-item h4 a:hover { color: var(--red); }
.related-meta {
  display: flex;
  gap: 12px;
  font-size: .72rem;
  color: var(--gray-500);
}
.related-meta a { color: var(--gray-500); }
.related-meta a:hover { color: var(--red); }

/* Mapa web sidebar */
.sitemap-links { display: flex; flex-direction: column; gap: 4px; }
.sitemap-links a {
  font-size: .83rem;
  color: var(--gray-300);
  padding: 6px 12px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--t);
}
.sitemap-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,.04);
  padding-left: 16px;
}
.sitemap-links a svg { color: var(--red); flex-shrink: 0; }

/* Tags blog sidebar */
.blog-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.blog-tags a {
  font-size: .72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  color: var(--gray-300);
  border: 1px solid rgba(255,255,255,.07);
  transition: var(--t);
}
.blog-tags a:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* Responsive páginas interiores */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .sidebar { grid-template-columns: 1fr; }
  .page-hero { height: 50vh; min-height: 320px; }
}

/* ============================================================
   25. PREGUNTAS FRECUENTES — frases prohibidas + tarjetas profesor
   ============================================================ */

/* Cards frases prohibidas */
.frase-card {
  background: var(--night-mid);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: var(--t);
}
.frase-card:hover {
  border-color: rgba(207,20,43,.3);
  background: var(--night-light);
}
.frase-q {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  line-height: 1.2;
}
.frase-a {
  font-size: .88rem;
  color: var(--gray-300);
  line-height: 1.7;
}

/* Tarjetas profesor */
.prof-card {
  background: var(--night-mid);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--t);
}
.prof-card:hover {
  border-color: rgba(207,20,43,.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.prof-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.prof-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.6);
  transition: transform .4s ease;
}
.prof-card:hover .prof-card-img img { transform: scale(1.04); }
.prof-card-name {
  position: absolute;
  bottom: 16px;
  left: 20px;
}
.prof-card-name span {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
  text-transform: uppercase;
}
.prof-card-name small {
  font-size: .75rem;
  color: rgba(255,255,255,.7);
  font-weight: 600;
}
.prof-card-body { padding: 24px 20px; }
.prof-quote {
  font-size: .85rem;
  color: var(--gray-300);
  line-height: 1.8;
  font-style: italic;
  border-left: 3px solid var(--red);
  padding-left: 16px;
  margin-bottom: 20px;
}
.prof-card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.prof-card-footer img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.prof-card-footer strong {
  display: block;
  font-size: .85rem;
  color: var(--white);
}
.prof-card-footer span {
  font-size: .75rem;
  color: var(--gray-500);
}

/* Responsive FAQ page */
@media (max-width: 640px) {
  .frase-card { padding: 18px 16px; }
  .prof-card-img { height: 180px; }
}

/* ============================================================
   26. HORARIOS — mapas de ubicaciones stack
   ============================================================ */

.sched-img-wrap { margin-bottom: 48px; }

.maps-stack { display: flex; flex-direction: column; gap: 48px; }

.map-location-block {}

.map-location-header { margin-bottom: 20px; }
.map-location-header h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}
.map-location-header p {
  font-size: .88rem;
  color: var(--red);
  font-weight: 600;
  letter-spacing: .04em;
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-lg);
}
.map-embed iframe {
  width: 100%;
  display: block;
  border: 0;
}

/* ============================================================
   27. VIDEOS — bloques título + embed
   ============================================================ */

.video-block {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.video-block:last-of-type { border-bottom: none; }

.video-block-text { margin-bottom: 20px; }

.video-block-desc {
  font-size: .93rem;
  color: var(--gray-300);
  line-height: 1.8;
  margin-top: 12px;
}
.video-block-desc a { color: var(--blue-mid); font-weight: 600; }
.video-block-desc a:hover { color: var(--red); }

.video-community-text {
  background: var(--night-mid);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 40px 0;
}
.video-community-text p {
  font-size: .88rem;
  color: var(--gray-300);
  line-height: 1.85;
  margin-bottom: 16px;
}
.video-community-text p:last-child { margin-bottom: 0; }
.video-community-text strong { color: var(--white); }
.video-community-text a { color: var(--blue-mid); font-weight: 600; }

/* ============================================================
   28. UBICACIONES — cards con imagen, info, mapa y botones
   ============================================================ */

.ubicaciones-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ubicacion-card {
  background: var(--night-mid);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 340px 1fr;
  transition: var(--t);
}
.ubicacion-card:hover { border-color: rgba(207,20,43,.3); box-shadow: var(--shadow-lg); }

/* Imagen lateral */
.ubicacion-card-img {
  position: relative;
  overflow: hidden;
}
.ubicacion-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.65);
  transition: transform .4s ease;
  min-height: 280px;
}
.ubicacion-card:hover .ubicacion-card-img img { transform: scale(1.04); }

/* Número grande decorativo */
.ubicacion-num {
  position: absolute;
  top: 16px; left: 20px;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: rgba(207,20,43,.5);
  letter-spacing: -.02em;
}

/* Contenido derecho */
.ubicacion-card-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ubicacion-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(207,20,43,.1);
  border: 1px solid rgba(207,20,43,.25);
  border-radius: 4px;
  padding: 4px 12px;
  align-self: flex-start;
}

.ubicacion-card-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
  margin: 0;
}

/* Info rows */
.ubicacion-info { display: flex; flex-direction: column; gap: 10px; }

.ubicacion-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: var(--gray-300);
  line-height: 1.6;
}
.ubicacion-info-row svg { flex-shrink: 0; margin-top: 3px; color: var(--red); }

/* Mini mapa embebido */
.ubicacion-card-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
}
.ubicacion-card-map iframe {
  width: 100%;
  display: block;
  border: 0;
}

/* Botones acción */
.ubicacion-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}
.ubicacion-card-actions .btn { padding: 11px 22px; font-size: .78rem; }

/* Responsive ubicaciones */
@media (max-width: 900px) {
  .ubicacion-card { grid-template-columns: 1fr; }
  .ubicacion-card-img { height: 220px; }
  .ubicacion-card-img img { min-height: unset; }
  .ubicacion-card-body { padding: 24px; }
}
@media (max-width: 480px) {
  .ubicacion-card-actions { flex-direction: column; }
  .ubicacion-card-actions .btn { width: 100%; justify-content: center; }
}