/* ============================================================
 * WOPE Calistenia - Estilos adicionales v2
 * Complementa style.css con los componentes nuevos.
 * ============================================================ */

/* ===== NAVEGACION v2 ===== */
.wope-nav {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	transition: background 0.3s ease, box-shadow 0.3s ease;
}
.wope-nav.nav-fija {
	position: fixed;
}
.wope-nav.nav-transparente {
	background: rgba(20, 20, 20, 0.55);
	backdrop-filter: blur(8px);
}
.wope-nav.scrolled {
	background: rgba(20, 20, 20, 0.97);
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.nav-inner {
	max-width: 1280px;
	margin: 0 auto;
	height: var(--nav-h, 72px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 1.5rem;
	gap: 1.5rem;
	overflow: hidden;
	box-sizing: border-box;
}

/* Logo: se ajusta al alto del menu sin deformarse */
.nav-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	flex-shrink: 0;
}
/* El logo se ajusta al alto del menu y usa el tamano definido
   en el Personalizador. WordPress envuelve el logo en
   .custom-logo-link y le pone atributos width/height propios;
   por eso forzamos con !important. El tamano es responsive:
   usa --logo-h en escritorio y --logo-h-movil en pantallas chicas. */
.nav-logo,
.nav-logo .custom-logo-link {
	display: flex !important;
	align-items: center;
	height: var(--nav-h, 72px);
	max-height: var(--nav-h, 72px);
	line-height: 1;
}
.nav-logo img,
.nav-logo .custom-logo,
.nav-logo .custom-logo-link img {
	height: var(--logo-h, 44px) !important;
	width: auto !important;
	max-width: 60vw !important;
	max-height: var(--logo-h, 44px) !important;
	object-fit: contain !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
}
@media (max-width: 980px) {
	.nav-logo img,
	.nav-logo .custom-logo,
	.nav-logo .custom-logo-link img {
		height: var(--logo-h-movil, 34px) !important;
		max-height: var(--logo-h-movil, 34px) !important;
		max-width: 44vw !important;
	}
}
.nav-logo-text {
	font-family: var(--font-titulos, 'Bebas Neue'), sans-serif;
	font-size: 1.6rem;
	letter-spacing: 2px;
	color: var(--orange, #F0A418);
}

.nav-links {
	display: flex;
	gap: 1.6rem;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
	flex-wrap: wrap;
}
.nav-links li {
	position: relative;
}
.nav-links a {
	color: #e8e8e6;
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	transition: color 0.2s;
}
.nav-links a:hover {
	color: var(--orange, #F0A418);
}

/* Submenus desplegables */
.nav-links .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: #1d1d1d;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 0.5rem 0;
	min-width: 190px;
	list-style: none;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.2s;
	z-index: 100;
}
.nav-links li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.nav-links .sub-menu li {
	width: 100%;
}
.nav-links .sub-menu a {
	display: block;
	padding: 0.5rem 1rem;
	font-size: 0.78rem;
}
.nav-links .sub-menu .sub-menu {
	top: 0;
	left: 100%;
}

.nav-extras {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	flex-shrink: 0;
}
.nav-app-btn {
	background: var(--purple, #4607C7);
	color: #fff;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	font-size: 0.78rem;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: opacity 0.2s;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}
.nav-app-btn .app-icon {
	width: 15px;
	height: 15px;
}
.nav-app-btn:hover {
	opacity: 0.85;
}
.nav-wa-btn {
	background: var(--orange, #F0A418);
	color: #141414;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}
.nav-wa-btn svg {
	width: 20px;
	height: 20px;
}

/* Iconos de redes en la nav */
.nav-social {
	display: flex;
	gap: 0.4rem;
}
.nav-social-link {
	width: 32px;
	height: 32px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #b4b2a9;
	background: rgba(255, 255, 255, 0.06);
	transition: all 0.2s;
	text-decoration: none;
}
.nav-social-link:hover {
	color: var(--orange, #F0A418);
	background: rgba(255, 255, 255, 0.12);
}
.nav-social-link svg {
	width: 17px;
	height: 17px;
}

/* Boton hamburguesa */
.nav-hamburger {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
}
.nav-hamburger span {
	width: 22px;
	height: 2px;
	background: #fff;
	display: block;
	transition: transform 0.25s, opacity 0.25s;
}
/* Al abrir el menu, la hamburguesa se convierte en una X. */
.nav-hamburger.activo span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}
.nav-hamburger.activo span:nth-child(2) {
	opacity: 0;
}
.nav-hamburger.activo span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* Menu movil desplegable. Se abre al tocar la hamburguesa.
   Ocupa toda la pantalla bajo la barra para que sea bien visible. */
.mobile-menu {
	display: none;
	position: fixed;
	top: var(--nav-h-movil, 60px);
	left: 0;
	right: 0;
	bottom: 0;
	background: #141414;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 1.2rem 1.5rem 2rem;
	z-index: 9999;
	flex-direction: column;
	gap: 0.2rem;
	overflow-y: auto;
}
.mobile-menu.open {
	display: flex;
}
.mobile-menu a,
.mobile-menu .mobile-nav-link {
	color: #ffffff;
	text-decoration: none;
	padding: 0.9rem 0.2rem;
	font-size: 1.05rem;
	font-weight: 500;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	display: block;
}
.mobile-menu a:hover,
.mobile-menu .mobile-nav-link:hover {
	color: var(--orange, #F0A418);
}
.mobile-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mobile-menu-list .sub-menu {
	list-style: none;
	padding-left: 1.2rem;
	margin: 0;
}
.mobile-menu-list .sub-menu a {
	font-size: 0.95rem;
	color: #b4b2a9;
}
.mobile-menu-extras {
	margin-top: 1.4rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.mobile-social {
	justify-content: flex-start;
}

@media (max-width: 980px) {
	.nav-links,
	.nav-social {
		display: none;
	}
	.nav-hamburger {
		display: flex;
	}
	/* En movil: hamburguesa a la izquierda, logo al centro,
	   boton WOPApp a la derecha. Se logra con flex + order. */
	.nav-inner {
		justify-content: space-between;
	}
	.nav-hamburger {
		order: 1;
	}
	.nav-logo {
		order: 2;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}
	.nav-extras {
		order: 3;
		margin-left: auto;
	}
	/* En movil mostramos solo el boton WOPApp en la barra;
	   las redes y el WhatsApp quedan dentro del menu desplegable. */
	.nav-extras .nav-wa-btn,
	.nav-extras .nav-social {
		display: none;
	}
	.nav-app-btn {
		font-size: 0.7rem;
		padding: 0.45rem 0.7rem;
	}
}

/* ===== HERO v2 ===== */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: calc(var(--nav-h, 72px) + 3rem) 1.5rem 4rem;
	overflow: hidden;
}
.hero-tipo-gradiente {
	background: linear-gradient(135deg, rgba(70, 7, 199, 0.25), #141414 55%, rgba(240, 164, 24, 0.12));
}
.hero-video-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}
.hero-video-bg iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw;
	min-height: 100%;
	min-width: 177.77vh;
	transform: translate(-50%, -50%);
}
.hero-video-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(20, 20, 20, 0.7);
}
.hero-grid-overlay {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 60px 60px;
	z-index: 1;
}
.hero-content {
	position: relative;
	z-index: 2;
	max-width: 1280px;
	margin: 0 auto;
	width: 100%;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 3rem;
	align-items: center;
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--orange, #F0A418);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	border: 1px solid rgba(240, 164, 24, 0.3);
	padding: 0.35rem 0.8rem;
	border-radius: 20px;
}
.eyebrow .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--orange, #F0A418);
}
.hero-title {
	font-family: var(--font-titulos, 'Bebas Neue'), sans-serif;
	font-size: calc(5rem * var(--escala-titulos, 1));
	line-height: 0.95;
	margin: 1.2rem 0;
	color: #fff;
	letter-spacing: 1px;
}
.hero-title-l1,
.hero-title-l2 {
	display: block;
}
/* Los colores de las lineas los genera el Personalizador. */
.hero-subtitle {
	font-size: calc(1.05rem * var(--escala-texto, 1));
	color: #b4b2a9;
	line-height: 1.6;
	max-width: 480px;
	margin-bottom: 1.8rem;
}
.hero-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 2.5rem;
}

/* Datos de relevancia */
.hero-stats {
	display: flex;
	gap: 2.4rem;
	flex-wrap: wrap;
}
.hero-stat {
	text-decoration: none;
	display: block;
	transition: transform 0.2s;
}
a.hero-stat:hover {
	transform: translateY(-3px);
}
.stat-num {
	font-family: var(--font-titulos, 'Bebas Neue'), sans-serif;
	font-size: 2.6rem;
	color: var(--orange, #F0A418);
	line-height: 1;
}
.stat-label {
	font-size: 0.68rem;
	color: #888780;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-top: 0.2rem;
}

/* Tarjetas del hero */
.hero-card-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
.hero-card {
	background: #1d1d1d;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 14px;
	padding: 1.4rem;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.2s, border-color 0.2s;
	display: block;
}
.hero-card:hover {
	transform: translateY(-4px);
	border-color: rgba(240, 164, 24, 0.4);
}
.hero-card-accent {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
}
.hero-card-icon {
	font-size: 1.8rem;
	margin-bottom: 0.6rem;
	width: fit-content;
}
.hero-card h3 {
	color: #fff;
	font-size: 1.1rem;
	margin: 0 0 0.3rem;
}
.hero-card p {
	color: #888780;
	font-size: 0.82rem;
	line-height: 1.5;
	margin: 0;
}

@media (max-width: 880px) {
	.hero-content {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
	.hero-title {
		font-size: calc(3.4rem * var(--escala-titulos, 1));
	}
	/* El hero no fuerza pantalla completa en movil,
	   asi las tarjetas quedan visibles sin tanto scroll. */
	.hero {
		min-height: auto;
		padding-bottom: 3rem;
	}
	/* Las tarjetas del hero siempre visibles en movil. */
	.hero-visual {
		display: block;
	}
	.hero-card-grid {
		grid-template-columns: 1fr 1fr;
		gap: 0.8rem;
	}
	.hero-card {
		padding: 1.1rem;
	}
}
@media (max-width: 460px) {
	.hero-card-grid {
		grid-template-columns: 1fr;
	}
	.hero-stats {
		gap: 1.4rem;
	}
}

/* ===== SECCIONES ===== */
.section {
	padding: 4.5rem 1.5rem;
}
.section-alt {
	background: rgba(255, 255, 255, 0.02);
}
.container {
	max-width: 1280px;
	margin: 0 auto;
}
.section-header {
	text-align: center;
	margin-bottom: 2.5rem;
}
.section-badge {
	display: inline-block;
	color: var(--orange, #F0A418);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 0.6rem;
}
.section-title {
	font-family: var(--font-titulos, 'Bebas Neue'), sans-serif;
	font-size: calc(2.8rem * var(--escala-titulos, 1));
	color: #fff;
	line-height: 1;
	margin: 0;
}
.section-title .o {
	color: var(--orange, #F0A418);
}
.section-title .p {
	color: var(--purple, #4607C7);
}
.section-sub {
	color: #888780;
	margin-top: 0.6rem;
	font-size: 0.95rem;
}
.section-cta {
	text-align: center;
	margin-top: 2.5rem;
}
.section-cta-final {
	background: linear-gradient(135deg, rgba(70, 7, 199, 0.15), rgba(240, 164, 24, 0.1));
}
.wope-vacio {
	color: #888780;
	text-align: center;
	grid-column: 1 / -1;
	padding: 2rem;
}

/* ===== GRILLAS ===== */
.grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}
.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
.video-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
@media (max-width: 900px) {
	.grid-3,
	.video-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 600px) {
	.grid-2,
	.grid-3,
	.video-grid {
		grid-template-columns: 1fr;
	}
}

/* ===== BOTONES ===== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.6rem;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	transition: opacity 0.2s, transform 0.2s;
	border: none;
	cursor: pointer;
}
.btn:hover {
	transform: translateY(-2px);
}
.btn-primary {
	background: var(--orange, #F0A418);
	color: #141414;
}
.btn-secondary {
	background: transparent;
	border: 2px solid var(--orange, #F0A418);
	color: var(--orange, #F0A418);
}
.btn-block {
	width: 100%;
	margin-top: 0.8rem;
}

/* ===== TARJETAS DE VIDEO ===== */
.video-card {
	background: #1d1d1d;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 14px;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.2s, border-color 0.2s;
}
.video-card:hover {
	transform: translateY(-4px);
	border-color: rgba(240, 164, 24, 0.4);
}
.video-thumb {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #0d0d0d;
	overflow: hidden;
}
.video-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.video-thumb-default {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-size: 3rem;
}
.video-tag {
	position: absolute;
	top: 0.7rem;
	left: 0.7rem;
	background: var(--orange, #F0A418);
	color: #141414;
	font-size: 0.66rem;
	font-weight: 700;
	padding: 0.25rem 0.6rem;
	border-radius: 4px;
	text-transform: uppercase;
}
.play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 52px;
	height: 52px;
	background: rgba(240, 164, 24, 0.95);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.play-btn svg {
	width: 22px;
	height: 22px;
	fill: #141414;
	margin-left: 3px;
}
.video-info {
	padding: 1rem;
}
.video-info h4 {
	color: #fff;
	font-size: 0.98rem;
	margin: 0 0 0.4rem;
}
.video-info p {
	color: #888780;
	font-size: 0.82rem;
	line-height: 1.5;
	margin: 0;
}

/* ===== TARJETAS DE CLASE / PRODUCTO ===== */
.class-card,
.product-card {
	background: #1d1d1d;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.class-card-img,
.product-img {
	aspect-ratio: 16 / 10;
	background: #0d0d0d;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.class-card-img img,
.product-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.card-emoji {
	font-size: 3rem;
}
.class-card-body,
.product-body {
	padding: 1.2rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}
.class-card-body h3,
.product-body h3 {
	font-size: 1.1rem;
	margin: 0.5rem 0;
}
.class-card-body h3 a,
.product-body h3 a {
	color: #fff;
	text-decoration: none;
}
.tag {
	display: inline-block;
	font-size: 0.66rem;
	font-weight: 700;
	padding: 0.25rem 0.6rem;
	border-radius: 4px;
	text-transform: uppercase;
	width: fit-content;
}
.tag-presencial {
	background: rgba(240, 164, 24, 0.18);
	color: var(--orange, #F0A418);
}
.tag-online {
	background: rgba(70, 7, 199, 0.25);
	color: #a98bff;
}
.product-card-badge {
	position: absolute;
	margin: 0.7rem;
	background: var(--purple, #4607C7);
	color: #fff;
	font-size: 0.66rem;
	font-weight: 700;
	padding: 0.25rem 0.6rem;
	border-radius: 4px;
	text-transform: uppercase;
}
.location-badge {
	color: #b4b2a9;
	font-size: 0.8rem;
	margin: 0.3rem 0;
}
.class-features,
.includes-list {
	list-style: none;
	padding: 0;
	margin: 0.7rem 0;
}
.class-features li,
.includes-list li {
	color: #b4b2a9;
	font-size: 0.83rem;
	padding: 0.2rem 0 0.2rem 1.2rem;
	position: relative;
}
.class-features li::before,
.includes-list li::before {
	content: '\2713';
	position: absolute;
	left: 0;
	color: var(--orange, #F0A418);
	font-weight: 700;
}
.product-price {
	font-family: var(--font-titulos, 'Bebas Neue'), sans-serif;
	font-size: 1.8rem;
	color: var(--orange, #F0A418);
	margin: 0.6rem 0;
}
.product-price.big {
	font-size: 2.6rem;
}
.link-detalle {
	color: var(--orange, #F0A418);
	font-size: 0.8rem;
	text-decoration: none;
	margin-top: 0.6rem;
	display: inline-block;
}
.class-card-body .btn,
.product-body .btn {
	margin-top: auto;
}

/* ===== FILTROS ===== */
.filtros {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 2rem;
}
.filtro-btn {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #b4b2a9;
	padding: 0.5rem 1.1rem;
	border-radius: 20px;
	font-size: 0.8rem;
	cursor: pointer;
	transition: all 0.2s;
}
.filtro-btn:hover,
.filtro-btn.active {
	background: var(--orange, #F0A418);
	color: #141414;
	border-color: var(--orange, #F0A418);
}

/* ===== MODAL DE VIDEO ===== */
.video-modal {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.9);
	z-index: 2000;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}
.video-modal.open {
	display: flex;
}
.video-modal-inner {
	max-width: 900px;
	width: 100%;
}
.video-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}
.video-modal-header h3 {
	color: #fff;
	margin: 0;
}
.modal-close {
	background: none;
	border: none;
	color: #fff;
	font-size: 2rem;
	cursor: pointer;
	line-height: 1;
}
.video-embed,
.testimonios-video {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
}
.video-embed iframe,
.testimonios-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.testimonios-video {
	max-width: 860px;
	margin: 0 auto;
}

/* ===== DETALLE (single) ===== */
.volver {
	color: var(--orange, #F0A418);
	font-size: 0.85rem;
	text-decoration: none;
}
.single-grid {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 2.5rem;
	margin-top: 1.5rem;
}
.single-content {
	color: #b4b2a9;
	line-height: 1.8;
	margin: 1rem 0;
}
.bloque-titulo {
	color: #fff;
	font-size: 1.3rem;
	margin: 1.8rem 0 0.8rem;
}
.aside-card {
	position: sticky;
	top: calc(var(--nav-h, 72px) + 1rem);
}
@media (max-width: 820px) {
	.single-grid {
		grid-template-columns: 1fr;
	}
}

/* ===== ENTRENADORES ===== */
.entrenador-card {
	background: #1d1d1d;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.entrenador-foto {
	aspect-ratio: 4 / 3;
	background: #0d0d0d;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.entrenador-foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.entrenador-body {
	padding: 1.3rem;
}
.entrenador-body h3 {
	color: #fff;
	margin: 0 0 0.2rem;
}
.entrenador-rol {
	color: var(--orange, #F0A418);
	font-size: 0.8rem;
	font-weight: 600;
	display: block;
	margin-bottom: 0.6rem;
}
.entrenador-desc {
	color: #b4b2a9;
	font-size: 0.88rem;
	line-height: 1.6;
}
.entrenador-mini {
	display: flex;
	gap: 1rem;
	background: #1d1d1d;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 12px;
	padding: 1rem;
	align-items: center;
}
.entrenador-mini-foto {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	background: #0d0d0d;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.entrenador-mini-foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.entrenador-mini-info {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}
.entrenador-mini-info strong {
	color: #fff;
}
.entrenador-dato {
	color: #888780;
	font-size: 0.8rem;
}

/* ===== SEDE: MAPA Y RESENAS ===== */
.sede-bloque {
	background: #1d1d1d;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 12px;
	padding: 1.2rem;
}
.sede-mapa {
	margin-top: 1rem;
	border-radius: 10px;
	overflow: hidden;
}
.google-rating {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.8rem 0;
	flex-wrap: wrap;
}
.wope-stars {
	color: var(--orange, #F0A418);
	font-size: 1.1rem;
	letter-spacing: 2px;
}
.wope-stars .empty {
	color: #555;
}
.rating-num {
	color: #fff;
	font-weight: 700;
}
.rating-total {
	color: #888780;
	font-size: 0.82rem;
}
.google-reviews {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	margin-top: 0.8rem;
}
.review-item {
	background: rgba(255, 255, 255, 0.03);
	border-radius: 8px;
	padding: 0.9rem;
}
.review-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.3rem;
}
.review-head strong {
	color: #fff;
	font-size: 0.88rem;
}
.review-stars {
	font-size: 0.8rem;
}
.review-item p {
	color: #b4b2a9;
	font-size: 0.83rem;
	line-height: 1.5;
	margin: 0.3rem 0;
}
.review-when {
	color: #777;
	font-size: 0.74rem;
}

/* ===== FOOTER v2 ===== */
.wope-footer {
	background: #0d0d0d;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	padding: 3rem 1.5rem 1.5rem;
}
.footer-grid {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 2rem;
}
.footer-logo {
	font-family: var(--font-titulos, 'Bebas Neue'), sans-serif;
	font-size: 1.6rem;
	color: var(--orange, #F0A418);
	letter-spacing: 2px;
}
.footer-brand p {
	color: #888780;
	font-size: 0.86rem;
	line-height: 1.6;
	margin: 0.6rem 0 1rem;
}
.footer-col h4 {
	color: #fff;
	font-size: 0.9rem;
	margin: 0 0 0.8rem;
}
.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer-col li {
	margin-bottom: 0.4rem;
}
.footer-col a {
	color: #888780;
	font-size: 0.85rem;
	text-decoration: none;
}
.footer-col a:hover {
	color: var(--orange, #F0A418);
}
.social-links {
	display: flex;
	gap: 0.5rem;
}
.social-link {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #b4b2a9;
	transition: all 0.2s;
	text-decoration: none;
}
.social-link:hover {
	color: var(--orange, #F0A418);
	background: rgba(255, 255, 255, 0.12);
}
.social-link svg {
	width: 18px;
	height: 18px;
}
.footer-bottom {
	max-width: 1280px;
	margin: 2rem auto 0;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
	color: #777;
	font-size: 0.8rem;
}
@media (max-width: 760px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* ===== BOTON FLOTANTE WHATSAPP ===== */
.wa-flotante {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	width: 56px;
	height: 56px;
	background: #25D366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 900;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
	color: #fff;
	transition: transform 0.2s;
}
.wa-flotante:hover {
	transform: scale(1.08);
}
.wa-flotante svg {
	width: 30px;
	height: 30px;
}

/* ===== LANDING ALTERNATIVA ===== */
.landing-hero {
	position: relative;
	min-height: 50vh;
	display: flex;
	align-items: center;
	padding: calc(var(--nav-h, 72px) + 3rem) 1.5rem 3rem;
	background: linear-gradient(135deg, rgba(70, 7, 199, 0.2), #141414);
}
.landing-hero-inner {
	position: relative;
	z-index: 2;
	text-align: center;
}
.landing-content {
	max-width: 820px;
	color: #b4b2a9;
	line-height: 1.8;
}
.landing-content h2,
.landing-content h3 {
	color: #fff;
}

/* ===== PAGINACION ===== */
.pagination {
	display: flex;
	justify-content: center;
	gap: 0.4rem;
	margin-top: 2.5rem;
}
.pagination .page-numbers {
	padding: 0.5rem 0.9rem;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.05);
	color: #b4b2a9;
	text-decoration: none;
	font-size: 0.85rem;
}
.pagination .page-numbers.current {
	background: var(--orange, #F0A418);
	color: #141414;
}

/* ===== NOSOTROS ===== */
.nosotros-intro {
	max-width: 800px;
	margin: 0 auto;
	color: #b4b2a9;
	line-height: 1.8;
	text-align: center;
}

/* ===== SECCION QUIENES SOMOS ===== */
.quienes-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}
/* El video siempre a la izquierda, el texto a la derecha. */
.quienes-grid .quienes-video {
	order: 1;
}
.quienes-grid .quienes-texto {
	order: 2;
}
.quienes-video .testimonios-video {
	margin: 0;
	max-width: none;
}
.quienes-video-vacio {
	aspect-ratio: 16 / 9;
	background: #1d1d1d;
	border: 1px dashed rgba(255, 255, 255, 0.15);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #888780;
	font-size: 0.85rem;
}
.quienes-texto .section-badge {
	margin-bottom: 0.8rem;
}
.quienes-texto .section-title {
	text-align: left;
}
.quienes-divider {
	width: 70px;
	height: 4px;
	background: linear-gradient(90deg, var(--orange, #F0A418), var(--purple, #4607C7));
	border-radius: 2px;
	margin: 1.2rem 0;
}
.quienes-texto p {
	color: #b4b2a9;
	font-size: 0.95rem;
	line-height: 1.7;
	margin-bottom: 1rem;
}
.quienes-rating {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(240, 164, 24, 0.1);
	border: 1px solid rgba(240, 164, 24, 0.3);
	border-radius: 30px;
	padding: 0.5rem 1rem;
	margin-top: 0.5rem;
}
.quienes-rating strong {
	color: var(--orange, #F0A418);
}
.quienes-rating span {
	color: #b4b2a9;
	font-size: 0.82rem;
}
@media (max-width: 820px) {
	.quienes-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

/* ===== PAGINA DE CLASES: FILTROS COMO PASTILLAS Y GRUPOS ===== */
.clases-filtros-pastillas {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 14px;
	padding: 1.5rem 1.4rem;
	margin-bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}
.filtro-fila {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	flex-wrap: wrap;
}
.filtro-fila-label {
	font-size: 0.7rem;
	color: #888780;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	font-weight: 700;
	min-width: 70px;
}
.pastillas {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	flex: 1;
}
.pastilla {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #e8e8e6;
	padding: 0.45rem 0.95rem;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
	white-space: nowrap;
}
.pastilla:hover {
	border-color: var(--orange, #F0A418);
	color: #fff;
}
.pastilla.activo {
	background: var(--orange, #F0A418);
	color: #141414;
	border-color: var(--orange, #F0A418);
}
.pastilla:active {
	transform: scale(0.97);
}
.clase-grupo {
	/* Cada sede usa .section / .section-alt, asi que no necesita
	   espaciado extra: ya viene del estilo de seccion. */
}
.clases-sin-resultado {
	text-align: center;
	color: #888780;
	padding: 2rem;
}
.clase-horarios {
	margin: 0.6rem 0;
}
.clase-horarios strong {
	color: #fff;
	font-size: 0.82rem;
}
.clase-horarios ul {
	list-style: none;
	padding: 0;
	margin: 0.3rem 0 0;
}
.clase-horarios li {
	color: #b4b2a9;
	font-size: 0.8rem;
	padding: 0.15rem 0 0.15rem 1rem;
	position: relative;
}
.clase-horarios li::before {
	content: '\1F551';
	position: absolute;
	left: 0;
	font-size: 0.7rem;
}
@media (max-width: 600px) {
	.filtro-fila {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.4rem;
	}
	.filtro-fila-label {
		min-width: 0;
	}
	.pastillas {
		width: 100%;
	}
}

/* Precio "A consultar" (clases sin precio fijo) */
.product-price.precio-consultar {
	font-size: 1.2rem;
	color: #b4b2a9;
	font-style: italic;
}
.product-price.big.precio-consultar {
	font-size: 1.6rem;
}

/* ===== BOTONES DE MARKETPLACE ===== */
.botones-marketplace {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	width: 100%;
}
.btn-mk {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.2rem;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.88rem;
	text-decoration: none;
	transition: transform 0.15s, opacity 0.15s, box-shadow 0.15s;
	border: 1px solid transparent;
	width: 100%;
	text-align: center;
}
.btn-mk:hover {
	transform: translateY(-1px);
	opacity: 0.95;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.btn-mk-big {
	padding: 0.95rem 1.4rem;
	font-size: 0.95rem;
}
/* Amazon: negro con acento naranja del logo */
.btn-mk-amazon {
	background: #131921;
	color: #FF9900;
	border-color: #FF9900;
}
.btn-mk-amazon:hover {
	background: #232f3e;
	color: #FF9900;
}
/* Google Play: azul de Google */
.btn-mk-google {
	background: #4285F4;
	color: #ffffff;
}
.btn-mk-google:hover {
	background: #3367D6;
	color: #ffffff;
}
/* Udemy: morado */
.btn-mk-udemy {
	background: #A435F0;
	color: #ffffff;
}
.btn-mk-udemy:hover {
	background: #8710D8;
	color: #ffffff;
}
/* Hotmart: naranja-rojo */
.btn-mk-hotmart {
	background: #F04E23;
	color: #ffffff;
}
.btn-mk-hotmart:hover {
	background: #D43A12;
	color: #ffffff;
}

/* ===== PAGINACION DE ARCHIVOS =====
   the_posts_pagination() genera <nav class="navigation pagination">
   con un <div class="nav-links"> dentro. El CSS del tema padre tiene
   .nav-links para el menu del header (position relative, gap 0, etc),
   y eso le pegaba a la paginacion. Lo desactivamos y le damos estilo
   propio. */
.pagination,
.navigation.pagination {
	margin: 2.5rem 0 0;
	text-align: center;
	width: 100%;
	display: block;
	position: static;
}
.pagination .nav-links,
.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	position: static;
	height: auto;
}
.pagination .page-numbers,
.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 0.85rem;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #e8e8e6;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.pagination .page-numbers:hover,
.navigation.pagination .page-numbers:hover {
	border-color: var(--orange, #F0A418);
	color: #fff;
}
.pagination .page-numbers.current,
.navigation.pagination .page-numbers.current {
	background: var(--orange, #F0A418);
	color: #141414;
	border-color: var(--orange, #F0A418);
}
.pagination .page-numbers.dots,
.navigation.pagination .page-numbers.dots {
	background: transparent;
	border-color: transparent;
}
.pagination .prev,
.pagination .next,
.navigation.pagination .prev,
.navigation.pagination .next {
	padding: 0 1.1rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
/* Esconder el "screen-reader-text" que WP mete dentro del nav. */
.pagination .screen-reader-text,
.navigation.pagination .screen-reader-text {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ===== TIPOGRAFIA DE TARJETAS =====
   Permite que las tarjetas tengan una fuente distinta a los
   titulos del hero/secciones. El font-family lo define el
   Personalizador via la variable --font-tarjetas. */
.class-card h3,
.product-card h3,
.video-card h3 {
	font-weight: 700;
	letter-spacing: 0.5px;
	line-height: 1.15;
}

/* ===== INFINITE SCROLL ===== */
.wope-infinite {
	margin: 3rem 0 0;
	text-align: center;
}
.wope-infinite-spinner {
	display: inline-block;
	color: #888780;
	font-size: 0.85rem;
	padding: 1.2rem;
}
.wope-infinite-spinner span {
	display: inline-block;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(255, 255, 255, 0.15);
	border-top-color: var(--orange, #F0A418);
	border-radius: 50%;
	animation: wope-spin 0.8s linear infinite;
	vertical-align: middle;
	margin-right: 0.4rem;
}
@keyframes wope-spin {
	to { transform: rotate(360deg); }
}
/* Fade-in suave para las tarjetas que llegan por AJAX. */
.wope-infinite ~ * .class-card,
.wope-infinite ~ * .product-card,
.wope-infinite ~ * .video-card {
	/* placeholder, los nuevos heredan el estilo normal */
}

/* ===== TARJETAS DE VIDEO DE YOUTUBE ===== */
.video-card-thumb {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	cursor: pointer;
	background: #1d1d1d;
}
.video-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}
.video-card-thumb:hover img {
	transform: scale(1.04);
}
.video-play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	background: rgba(20, 20, 20, 0.85);
	color: var(--orange, #F0A418);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	padding-left: 4px;
	transition: background 0.2s, transform 0.2s;
}
.video-card-thumb:hover .video-play-icon {
	background: var(--orange, #F0A418);
	color: #141414;
	transform: translate(-50%, -50%) scale(1.08);
}
.video-card-body {
	padding: 1rem 1.2rem 1.3rem;
}
.video-card-subtitle {
	color: #888780;
	font-size: 0.78rem;
	margin: 0.4rem 0 0;
}
.wope-aviso {
	background: rgba(240, 164, 24, 0.08);
	border: 1px solid rgba(240, 164, 24, 0.3);
	border-radius: 10px;
	padding: 1.3rem 1.5rem;
	color: #e8e8e6;
	margin: 1.5rem 0;
}
.wope-aviso code {
	background: rgba(0, 0, 0, 0.3);
	padding: 0.1rem 0.4rem;
	border-radius: 4px;
	font-size: 0.85rem;
}

/* ============================================================
 * PAGINA LA ESCUELA
 * ============================================================ */
.escuela-historia {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 3rem;
	align-items: start;
}
.escuela-historia-texto p {
	margin-bottom: 1rem;
	line-height: 1.7;
}
.escuela-historia-data {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
.escuela-stat {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 1.4rem;
	text-align: center;
}
.escuela-stat .stat-num {
	display: block;
	font-family: var(--font-titulos, 'Bebas Neue'), sans-serif;
	font-size: 2.4rem;
	color: var(--orange, #F0A418);
	line-height: 1;
}
.escuela-stat .stat-label {
	display: block;
	color: #b4b2a9;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 0.3rem;
}
@media (max-width: 820px) {
	.escuela-historia { grid-template-columns: 1fr; }
}

/* QUIEN SOY (fundador o perfil de entrenador) */
.quien-soy {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 3rem;
	align-items: center;
}
.quien-soy-foto img {
	width: 100%;
	border-radius: 16px;
	display: block;
}
.quien-soy-texto p {
	line-height: 1.7;
	margin-bottom: 1rem;
}
.quien-soy-rol {
	color: var(--orange, #F0A418);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
	font-size: 0.85rem;
}
.quien-soy-cta {
	display: flex;
	gap: 0.8rem;
	flex-wrap: wrap;
	margin-top: 1.4rem;
}
@media (max-width: 820px) {
	.quien-soy { grid-template-columns: 1fr; }
}

/* ============================================================
 * EQUIPO Y FICHAS DE ENTRENADORES
 * ============================================================ */
.equipo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
@media (max-width: 900px) { .equipo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .equipo-grid { grid-template-columns: 1fr; } }

.entrenador-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	overflow: hidden;
	transition: transform 0.2s, border-color 0.2s;
}
.entrenador-card:hover {
	transform: translateY(-3px);
	border-color: rgba(240, 164, 24, 0.4);
}
.entrenador-card-foto {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #1d1d1d;
}
.entrenador-card-foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.entrenador-foto-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 64px;
	color: #444;
}
.entrenador-card-body {
	padding: 1.2rem;
}
.entrenador-card-body h3 {
	margin: 0 0 0.4rem;
}
.entrenador-rol {
	color: var(--orange, #F0A418);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0 0 0.4rem;
}
.entrenador-esp,
.entrenador-exp {
	color: #b4b2a9;
	font-size: 0.88rem;
	margin: 0 0 0.4rem;
}
.entrenador-card-cta {
	display: flex;
	gap: 0.5rem;
	margin-top: 1rem;
}
.btn-sm {
	padding: 0.5rem 0.9rem;
	font-size: 0.78rem;
}
.entrenador-detalles {
	list-style: none;
	padding: 0;
	margin: 1rem 0;
}
.entrenador-detalles li {
	color: #b4b2a9;
	padding: 0.3rem 0;
	font-size: 0.92rem;
}
.entrenador-certs ul {
	color: #b4b2a9;
	margin: 0.5rem 0;
	padding-left: 1.4rem;
}

/* ============================================================
 * SEDES (archive + single)
 * ============================================================ */
.sedes-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
@media (max-width: 900px) { .sedes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sedes-grid { grid-template-columns: 1fr; } }

.sede-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.sede-card-img {
	position: relative;
	aspect-ratio: 16 / 10;
	background: #1d1d1d;
	overflow: hidden;
}
.sede-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.sede-img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 56px;
	color: #444;
}
.sede-tag {
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
}
.sede-card-body {
	padding: 1.2rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.sede-card-body h3 {
	margin: 0 0 0.5rem;
}
.sede-ubic, .sede-dir, .sede-clases-count {
	margin: 0.2rem 0;
	color: #b4b2a9;
	font-size: 0.85rem;
}
.sede-clases-count {
	color: var(--orange, #F0A418);
	font-weight: 600;
	margin-top: 0.6rem;
}
.sede-card .btn {
	margin-top: auto;
}

.sede-detalle {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 3rem;
	align-items: center;
}
.sede-detalle-foto img {
	width: 100%;
	border-radius: 16px;
	display: block;
}
.sede-detalle-ubic {
	color: var(--orange, #F0A418);
	font-size: 1rem;
	margin: 0.5rem 0;
}
.sede-rating {
	color: #b4b2a9;
	margin: 0.5rem 0;
}
.sede-rating strong { color: #fff; }
.sede-detalle-cta { margin-top: 1.4rem; }
.sede-mapa iframe { width: 100%; }
.sede-mapa-mini {
	margin: 1rem 0 1.5rem;
}
.sede-mapa-mini-dir {
	color: #b4b2a9;
	font-size: 0.85rem;
	margin: 0.4rem 0 0;
}
@media (max-width: 820px) {
	.sede-detalle { grid-template-columns: 1fr; }
}

/* ============================================================
 * TARJETAS DE CLASE COMPACTAS (horarios)
 * ============================================================ */
.class-card-compact {
	display: block;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 1.1rem 1.2rem;
	text-decoration: none;
	color: inherit;
	transition: transform 0.18s, border-color 0.18s;
	position: relative;
}
.class-card-compact:hover {
	transform: translateY(-2px);
	border-color: rgba(240, 164, 24, 0.5);
}
.class-card-row {
	margin: 0.3rem 0;
}
.class-card-franja {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	margin-bottom: 0.6rem;
}
.class-franja-label {
	font-family: var(--font-titulos, 'Bebas Neue'), sans-serif;
	font-size: 1.4rem;
	color: var(--orange, #F0A418);
	letter-spacing: 1px;
}
.class-hora-aprox {
	color: #fff;
	font-size: 0.95rem;
	font-weight: 600;
}
.class-card-profe {
	color: #fff;
	font-size: 0.9rem;
}
.class-card-dias {
	color: #b4b2a9;
	font-size: 0.85rem;
}
.class-card-vermas {
	display: block;
	color: var(--orange, #F0A418);
	font-size: 0.8rem;
	margin-top: 0.8rem;
	font-weight: 600;
}
.class-badge-proximo {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
	background: rgba(255, 193, 7, 0.15);
	color: #ffc107;
	border: 1px solid rgba(255, 193, 7, 0.4);
	font-size: 0.7rem;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
	font-weight: 600;
}

/* ============================================================
 * TIENDA: TARJETAS DE PRODUCTO 4:3 VERTICAL
 * ============================================================ */
.producto-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	overflow: hidden;
	display: block;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s, border-color 0.2s;
}
.producto-card:hover {
	transform: translateY(-3px);
	border-color: rgba(240, 164, 24, 0.4);
}
.producto-card-img {
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #1d1d1d;
}
.producto-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.producto-img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 56px;
	color: #444;
}
.producto-card-body {
	padding: 1.1rem 1.2rem 1.3rem;
}
.producto-card-body h3 {
	margin: 0 0 0.3rem;
	font-size: 1rem;
	line-height: 1.3;
}
.producto-card-cat {
	color: var(--orange, #F0A418);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0;
}

/* ============================================================
 * CONTACTO
 * ============================================================ */
.contacto-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 2.5rem;
	align-items: start;
}
@media (max-width: 820px) {
	.contacto-grid { grid-template-columns: 1fr; }
}
.contacto-form .form-row {
	margin-bottom: 1rem;
}
.contacto-form label {
	display: block;
	color: #b4b2a9;
	font-size: 0.82rem;
	margin-bottom: 0.3rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.contacto-form input,
.contacto-form textarea {
	width: 100%;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #fff;
	padding: 0.75rem 0.9rem;
	border-radius: 8px;
	font-size: 0.95rem;
	font-family: inherit;
}
.contacto-form input:focus,
.contacto-form textarea:focus {
	outline: none;
	border-color: var(--orange, #F0A418);
}
.contacto-form textarea {
	resize: vertical;
	min-height: 130px;
}
.form-msg {
	margin-top: 0.8rem;
	padding: 0.7rem 1rem;
	border-radius: 8px;
	font-size: 0.9rem;
	display: none;
}
.form-msg:not(:empty) { display: block; }
.form-msg.ok {
	background: rgba(76, 175, 80, 0.12);
	color: #6ee07a;
	border: 1px solid rgba(76, 175, 80, 0.3);
}
.form-msg.error {
	background: rgba(244, 67, 54, 0.12);
	color: #ff8a80;
	border: 1px solid rgba(244, 67, 54, 0.3);
}
.contacto-info {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	padding: 1.5rem;
}
.contacto-info h3 {
	margin: 0 0 1rem;
	color: #fff;
}
.contacto-bloque {
	display: block;
	padding: 0.9rem 1rem;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 10px;
	margin-bottom: 0.7rem;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s;
}
.contacto-bloque:hover {
	border-color: var(--orange, #F0A418);
}
.contacto-bloque-label {
	display: block;
	color: var(--orange, #F0A418);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 700;
}
.contacto-bloque-valor {
	display: block;
	color: #e8e8e6;
	font-size: 0.95rem;
	margin-top: 0.2rem;
}

/* ===== GRID DE CLASES MAS COMPACTO (60% del ancho de las tarjetas comunes) =====
   Las tarjetas de clase son muy compactas (solo 3 lineas de info),
   asi que en pantallas grandes caben 4 por fila en vez de 3. */
.clase-grupo .grid-3 {
	grid-template-columns: repeat(4, 1fr);
	max-width: 1100px;
	margin: 0 auto;
}
@media (max-width: 1100px) {
	.clase-grupo .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
	.clase-grupo .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
	.clase-grupo .grid-3 { grid-template-columns: 1fr; }
}

/* ===== MAPA DE SEDES (Leaflet) ===== */
.wope-pin {
	display: flex;
	align-items: center;
	justify-content: center;
}
.wope-pin-dot {
	display: block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--orange, #F0A418);
	box-shadow: 0 0 0 4px rgba(240, 164, 24, 0.3), 0 0 0 8px rgba(240, 164, 24, 0.15);
	border: 2px solid #fff;
	animation: wope-pin-pulse 1.6s ease-in-out infinite;
}
@keyframes wope-pin-pulse {
	0%, 100% { box-shadow: 0 0 0 4px rgba(240, 164, 24, 0.3), 0 0 0 8px rgba(240, 164, 24, 0.15); }
	50%      { box-shadow: 0 0 0 6px rgba(240, 164, 24, 0.4), 0 0 0 12px rgba(240, 164, 24, 0.18); }
}
.leaflet-popup-content-wrapper {
	background: #1d1d1d !important;
	color: #e8e8e6 !important;
	border-radius: 10px !important;
	border: 1px solid rgba(255,255,255,0.1);
}
.leaflet-popup-tip {
	background: #1d1d1d !important;
}
.wope-pin-popup {
	min-width: 200px;
	font-family: inherit;
	padding: 4px 6px;
}
.wope-pin-popup strong {
	font-family: var(--font-titulos, 'Bebas Neue'), sans-serif;
	font-size: 1.2rem;
	color: #fff;
	letter-spacing: 0.5px;
}
.wope-pin-zona {
	color: var(--orange, #F0A418);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.wope-pin-dir {
	color: #b4b2a9;
	font-size: 0.82rem;
	display: inline-block;
	margin-top: 0.3rem;
}
.wope-pin-popup .btn {
	display: block;
	margin-top: 0.8rem;
	text-align: center;
}

/* ============================================================
 * TARJETAS DE CATEGORIA (grandes, con imagen oscurecida)
 * Usadas en: Aprende con WOPE (videos) y Clases del home.
 * ============================================================ */
.categorias-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.2rem;
	margin: 2rem 0;
}
.categorias-grid-3 {
	grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 820px) {
	.categorias-grid-3 { grid-template-columns: 1fr; }
}
.categoria-card {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 14px;
	overflow: hidden;
	background: #1d1d1d;
	border: 1px solid rgba(255, 255, 255, 0.08);
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s, border-color 0.2s;
}
.categoria-card:hover {
	transform: translateY(-3px);
	border-color: var(--orange, #F0A418);
}
.categoria-card.activo {
	border-color: var(--orange, #F0A418);
	box-shadow: 0 0 0 2px rgba(240, 164, 24, 0.3);
}
.categoria-card-img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.3s;
}
.categoria-card:hover .categoria-card-img {
	transform: scale(1.05);
}
.categoria-card-img-default {
	background: linear-gradient(135deg, #4607C7 0%, #141414 60%, #F0A418 100%);
}
.categoria-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.85) 0%,
		rgba(0, 0, 0, 0.45) 50%,
		rgba(0, 0, 0, 0.3) 100%
	);
}
.categoria-card-body {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 1.5rem;
	z-index: 2;
}
.categoria-card-body h3 {
	font-family: var(--font-titulos, 'Bebas Neue'), sans-serif;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	color: #fff;
	letter-spacing: 1.5px;
	margin: 0;
	line-height: 1;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}
.categoria-card-body p {
	color: rgba(255, 255, 255, 0.85);
	margin-top: 0.6rem;
	font-size: 0.88rem;
	max-width: 80%;
}

/* ============================================================
 * SECCION SEDES CON MAPA DE FONDO (home)
 * ============================================================ */
.section-sedes-mapa-fondo {
	position: relative;
	min-height: 520px;
	padding: 5rem 0;
	overflow: hidden;
}
.wope-mapa-fondo {
	position: absolute;
	inset: 0;
	z-index: 1;
}
/* Gradiente oscuro del lado izquierdo para legibilidad del texto */
.wope-mapa-fondo-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(
		to right,
		rgba(20, 20, 20, 0.92) 0%,
		rgba(20, 20, 20, 0.75) 30%,
		rgba(20, 20, 20, 0.3) 55%,
		rgba(20, 20, 20, 0) 80%
	);
	pointer-events: none;
}
.section-sedes-mapa-fondo .container {
	position: relative;
	z-index: 3;
	pointer-events: none;
}
/* Devolver pointer-events al contenido interactivo */
.section-sedes-mapa-fondo .container * {
	pointer-events: auto;
}
.section-header-mapa {
	max-width: 480px;
	text-align: left;
	margin: 0;
}
@media (max-width: 820px) {
	.section-sedes-mapa-fondo {
		min-height: 600px;
	}
	.wope-mapa-fondo-overlay {
		background: linear-gradient(
			to bottom,
			rgba(20, 20, 20, 0.95) 0%,
			rgba(20, 20, 20, 0.6) 35%,
			rgba(20, 20, 20, 0.1) 100%
		);
	}
}

/* ============================================================
 * HEADER MAPA EN PAGINA /sedes
 * ============================================================ */
.sedes-hero {
	position: relative;
	min-height: 380px;
	overflow: hidden;
	padding-bottom: 3rem;
}
.sedes-hero-mapa {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.sedes-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(
		to bottom,
		rgba(20, 20, 20, 0.85) 0%,
		rgba(20, 20, 20, 0.5) 60%,
		rgba(20, 20, 20, 0.85) 100%
	);
	pointer-events: none;
}
.sedes-hero-contenido {
	position: relative;
	z-index: 3;
	pointer-events: none;
	padding-top: 2rem;
}
.sedes-hero-contenido * {
	pointer-events: auto;
}

/* ============================================================
 * TARJETAS DE MODALIDAD DE CLASE
 * ============================================================ */
.modalidades-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
@media (max-width: 900px) { .modalidades-grid { grid-template-columns: 1fr; } }

.modalidad-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	overflow: hidden;
	transition: transform 0.2s, border-color 0.2s;
}
.modalidad-card:hover {
	transform: translateY(-3px);
	border-color: rgba(240, 164, 24, 0.4);
}
.modalidad-card-img {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #1d1d1d;
}
.modalidad-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.modalidad-card-body {
	padding: 1.4rem;
}
.modalidad-tipo-tag {
	display: inline-block;
	background: rgba(70, 7, 199, 0.2);
	color: #9b59ff;
	border: 1px solid rgba(70, 7, 199, 0.4);
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	margin-bottom: 0.6rem;
}
.modalidad-card-body h3 {
	margin: 0.3rem 0 0.5rem;
	font-size: 1.05rem;
	line-height: 1.25;
}
.modalidad-excerpt {
	color: #b4b2a9;
	font-size: 0.88rem;
	margin: 0 0 0.8rem;
	line-height: 1.5;
}
.modalidad-precio-small {
	color: var(--orange, #F0A418);
	font-weight: 700;
	font-size: 1.1rem;
	margin: 0.5rem 0;
}
.modalidad-precio-small span {
	font-size: 0.75rem;
	font-weight: 400;
	color: #b4b2a9;
	margin-left: 0.2rem;
}
.modalidad-incluye-mini {
	list-style: none;
	padding: 0;
	margin: 0.6rem 0 1rem;
}
.modalidad-incluye-mini li {
	color: #b4b2a9;
	font-size: 0.82rem;
	padding: 0.2rem 0;
}
.modalidad-incluye-mini li::before {
	content: '\2714\20';
	color: var(--orange, #F0A418);
}
.modalidad-card-cta {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
}

/* Precio en pagina individual de modalidad */
.modalidad-precio {
	margin: 0.8rem 0 1.2rem;
}
.precio-num {
	font-family: var(--font-titulos, 'Bebas Neue'), sans-serif;
	font-size: 3rem;
	color: var(--orange, #F0A418);
	line-height: 1;
}
.precio-moneda {
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
	margin-left: 0.3rem;
}
.precio-por {
	font-size: 0.85rem;
	color: #b4b2a9;
	margin-left: 0.2rem;
}
.modalidad-precio-consultar {
	color: var(--orange, #F0A418);
	font-weight: 700;
	font-size: 1.2rem;
	margin: 0.8rem 0;
}
.modalidad-desc { margin: 1rem 0; }
.modalidad-incluye {
	list-style: none;
	padding: 0;
	margin: 1rem 0;
}
.modalidad-incluye li {
	padding: 0.35rem 0;
	color: #b4b2a9;
	border-bottom: 1px solid rgba(255,255,255,0.05);
}
.modalidad-incluye li::before {
	content: '\2714\20';
	color: var(--orange, #F0A418);
	font-weight: 700;
}

/* ============================================================
 * LANDING SEMI-PRESENCIAL
 * ============================================================ */
.semipresencial-hero-placeholder {
	background: linear-gradient(135deg, #4607C7 0%, #141414 50%, #F0A418 100%);
	border-radius: 16px;
	overflow: hidden;
}
.semipresencial-split {
	display: flex;
	height: 100%;
	min-height: 300px;
}
.split-presencial,
.split-online {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 4rem;
}
.split-presencial { background: rgba(240, 164, 24, 0.15); }
.split-online     { background: rgba(70, 7, 199, 0.15); }

/* Pasos (Como funciona) */
.pasos-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin: 2rem 0;
}
@media (max-width: 820px) {
	.pasos-grid { grid-template-columns: 1fr; }
}
.paso-item {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	padding: 1.8rem 1.4rem;
}
.paso-num {
	display: block;
	font-family: var(--font-titulos, 'Bebas Neue'), sans-serif;
	font-size: 3rem;
	color: var(--orange, #F0A418);
	line-height: 1;
	margin-bottom: 0.5rem;
}
.paso-item h3 {
	margin: 0 0 0.6rem;
	font-size: 1.05rem;
}
.paso-item p {
	color: #b4b2a9;
	font-size: 0.88rem;
	line-height: 1.6;
	margin: 0;
}

/* Que incluye (grid de checks) */
.incluye-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.8rem;
	margin: 2rem 0;
}
@media (max-width: 600px) {
	.incluye-grid { grid-template-columns: 1fr; }
}
.incluye-item {
	display: flex;
	align-items: flex-start;
	gap: 0.8rem;
	padding: 0.9rem 1rem;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 10px;
}
.incluye-check {
	color: var(--orange, #F0A418);
	font-size: 1rem;
	flex-shrink: 0;
	margin-top: 1px;
}

/* ============================================================
 * PLANES A DISTANCIA
 * ============================================================ */
.planes-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.8rem;
	margin: 2rem 0;
}
@media (max-width: 820px) {
	.planes-grid { grid-template-columns: 1fr; }
}
.plan-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.2s, border-color 0.2s;
}
.plan-card:hover {
	transform: translateY(-3px);
	border-color: rgba(240, 164, 24, 0.4);
}
.plan-card-img {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #1d1d1d;
}
.plan-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.plan-card-body {
	padding: 1.6rem;
}
.plan-card-body h3 {
	font-size: 1.3rem;
	margin: 0.4rem 0 0.8rem;
}
.plan-desc {
	color: #b4b2a9;
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 0 0 1rem;
}
.plan-precio {
	margin: 0.8rem 0 1.2rem;
}
.plan-incluye {
	list-style: none;
	padding: 0;
	margin: 0 0 1.4rem;
	border-top: 1px solid rgba(255,255,255,0.08);
	padding-top: 1rem;
}
.plan-incluye li {
	padding: 0.35rem 0;
	color: #b4b2a9;
	font-size: 0.88rem;
	border-bottom: 1px solid rgba(255,255,255,0.05);
}
.plan-incluye li::before {
	content: '\2714\20';
	color: var(--orange, #F0A418);
	font-weight: 700;
}
.plan-cta { margin-top: 1rem; }

/* Tabla comparativa */
.comparativa-tabla {
	margin: 2rem 0;
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 14px;
	overflow: hidden;
}
.comparativa-fila {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.comparativa-fila:last-child { border-bottom: none; }
.comparativa-fila > div {
	padding: 0.9rem 1.2rem;
	font-size: 0.88rem;
	color: #b4b2a9;
	display: flex;
	align-items: center;
}
.comparativa-fila > div:nth-child(2),
.comparativa-fila > div:nth-child(3) {
	justify-content: center;
	border-left: 1px solid rgba(255,255,255,0.06);
}
.comparativa-header {
	background: rgba(255,255,255,0.04);
}
.comparativa-header > div {
	color: #fff;
	font-size: 0.85rem;
}
.comp-si {
	color: var(--orange, #F0A418);
	font-size: 1.1rem;
	font-weight: 700;
}
.comp-no {
	color: #555;
	font-size: 1.2rem;
}
