/*
Theme Name: Club Supermodels
Theme URI: https://www.clubsupermodels.com/
Author: Linterna Creativa
Author URI: https://linternacreativa.com/
Description: Tema propio de Club Supermodels, réplica del diseño original sin tema padre, sin maquetadores y sin Slider Revolution. Campos con ACF Pro o Secure Custom Fields (en /acf-json) y sliders por temporada en «Ajustes del club → Sliders por temporada».
Version: 1.3.2
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: clubsupermodels
*/

/* ==========================================================================
   Fuentes (alojadas en el tema)
   ========================================================================== */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/roboto-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/roboto-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/roboto-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/noto-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/noto-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Noto Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/noto-serif-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

/* ==========================================================================
   Variables (colores del tema original)
   ========================================================================== */
:root {
	--c-noche: #0a0e17;
	--c-superficie: #191f2f;
	--c-linea: #3e4454;
	--c-gris: #9ba1af;
	--c-gris-oscuro: #4d566d;
	--c-acento: #5c6ca6;
	--c-acento-oscuro: #414d76;
	--c-blanco: #fff;

	--f-texto: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-titulo: "Noto Serif", Georgia, serif;
	--f-rotulo: "Montserrat", "Roboto", sans-serif;

	--cab-alto: 122px;
	--transicion: .3s ease;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--c-noche);
	color: #000;
	font-family: var(--f-texto);
	font-size: 14px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}
body.smc-menu-abierto { overflow: hidden; }

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-acento); text-decoration: none; transition: color var(--transicion); }
a:hover, a:focus-visible { color: var(--c-gris); }
:focus-visible { outline: 2px solid var(--c-acento); outline-offset: 3px; }
b, strong { font-weight: 700; color: var(--c-acento); }
::selection { background: #42929d; color: #fff; }
h1, h2, h3, h4, h5 { margin: 0 0 .6em; line-height: 1.2; }
p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.smc-saltar { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: #fff; color: #000; }
.smc-saltar:focus { top: 12px; }

.smc-contenedor { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 15px; }
.smc-contenedor--estrecho { max-width: 900px; }
.smc-icono { flex: none; }

/* Separador azul/gris del diseño original */
.smc-separador,
.smc-subtitulo::after,
.smc-trio .smc-titulo::after,
.smc-reserva__info .smc-titulo::after,
.smc-texto-editor h2::after {
	content: "";
	position: absolute; left: 39%; bottom: 0;
	width: 22%; height: 12px;
	background: url("assets/img/separador-azul.png") repeat-x;
}

/* Botón (estilo «Más información» / «Enviar» del tema original) */
.smc-boton {
	display: inline-block;
	min-width: 245px;
	padding: 17px 24px;
	border: 1px solid var(--c-acento);
	border-radius: 2px;
	background: transparent;
	color: var(--c-acento);
	font-family: var(--f-texto);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	transition: all .2s ease;
}
.smc-boton:hover, .smc-boton:focus-visible { border-color: #fff; background: #fff; color: #000; }

/* Títulos de bloque (Noto Serif gris) con primera letra destacada */
.smc-titulo {
	margin: 0;
	padding: 0 15px;
	font-family: var(--f-titulo);
	font-size: 40px;
	font-weight: 700;
	line-height: normal;
	color: var(--c-gris);
	text-align: center;
}
.smc-titulo--capital::first-letter {
	margin-right: -.12em;
	font-size: 300%;
	font-style: italic;
	line-height: .7;
	text-transform: uppercase;
	color: var(--c-gris-oscuro);
}
.smc-subtitulo {
	position: relative;
	margin: 1.5em 0;
	padding: 0 10% 1.8em;
	font-size: 18px;
	font-style: italic;
	font-weight: 600;
	line-height: 1.2;
	color: var(--c-acento);
	text-align: center;
	text-transform: uppercase;
}
.smc-descripcion {
	padding: 0 10%;
	color: var(--smc-texto, #000);
	font-size: 16px;
	font-weight: 600;
	text-align: center;
}
.smc-descripcion p { font-size: inherit; line-height: 1.8; }
.smc-descripcion p:last-child { margin-bottom: 0; }
.smc-descripcion a { color: inherit; text-decoration: underline; }
.smc-descripcion strong, .smc-descripcion b { color: var(--c-acento); }
.smc-descripcion ul { display: block; width: 182px; margin: 0 auto 1.5em; padding: 0; list-style: none; text-align: left; }
.smc-descripcion li { margin: 5px 0; }
.smc-descripcion li::before { content: "•"; display: inline-block; width: 10px; margin-right: 11px; color: var(--c-gris-oscuro); }

/* Aparición al hacer scroll */
.smc-js-revelar [data-smc-revelar] { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.smc-js-revelar [data-smc-revelar].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Cabecera (transparente sobre el slider en la portada)
   ========================================================================== */
.smc-cabecera { position: relative; z-index: 50; background: var(--c-noche); }
.smc-home .smc-cabecera { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.admin-bar.smc-home .smc-cabecera { top: 32px; }
@media (max-width: 782px) { .admin-bar.smc-home .smc-cabecera { top: 46px; } }

.smc-cabecera__fila { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--cab-alto); padding-top: 4px; padding-bottom: 4px; max-width: none; padding-left: 30px; padding-right: 30px; }
.smc-logo { display: block; flex: none; }
.smc-cabecera__logo img { width: auto; height: 114px; }

.smc-menu__lista { display: flex; flex-wrap: wrap; gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.smc-menu__lista a {
	display: block;
	color: var(--c-gris);
	font-family: var(--f-texto);
	font-size: 18px;
	font-weight: 500;
	line-height: 35px;
	text-transform: uppercase;
}
.smc-menu__lista a:hover,
.smc-menu__lista a:focus-visible,
.smc-menu__lista .current-menu-item > a { color: var(--c-acento-oscuro); }
.smc-menu__lista .sub-menu { display: none; }
@media (max-width: 1199px) { .smc-menu__lista a { font-size: 15px; } .smc-menu__lista { gap: 0 22px; } }

.smc-menu-boton { display: none; }

@media (max-width: 991px) {
	:root { --cab-alto: 86px; }
	.smc-cabecera__fila { padding-left: 15px; padding-right: 15px; }
	.smc-cabecera__logo img { height: 76px; }
	.smc-menu-boton {
		display: inline-flex; align-items: center; justify-content: center;
		width: 72px; height: 50px; padding: 0;
		border: 0; border-radius: 2px;
		background: var(--c-noche); color: var(--c-gris);
		cursor: pointer;
	}
	.smc-menu-boton__barras, .smc-menu-boton__barras::before, .smc-menu-boton__barras::after {
		display: block; width: 36px; height: 4px; background: currentColor;
		transition: transform .2s, background .2s;
	}
	.smc-menu-boton__barras { position: relative; }
	.smc-menu-boton__barras::before, .smc-menu-boton__barras::after { content: ""; position: absolute; left: 0; }
	.smc-menu-boton__barras::before { top: -10px; }
	.smc-menu-boton__barras::after { top: 10px; }
	.smc-menu-boton[aria-expanded="true"] .smc-menu-boton__barras { background: transparent; }
	.smc-menu-boton[aria-expanded="true"] .smc-menu-boton__barras::before { transform: translateY(10px) rotate(45deg); }
	.smc-menu-boton[aria-expanded="true"] .smc-menu-boton__barras::after { transform: translateY(-10px) rotate(-45deg); }

	.smc-menu {
		position: absolute; left: 15px; right: 15px; top: 100%;
		background: var(--c-noche);
		border-radius: 2px;
		display: none;
	}
	.smc-menu-abierto .smc-menu { display: block; }
	.smc-menu__lista { flex-direction: column; gap: 0; margin: 8px 0; }
	.smc-menu__lista a { padding: 6px 0; text-align: center; font-size: 15px; }
}

/* Cabecera de las páginas interiores (título grande gris) */
.smc-cabecera-pagina { padding: 60px 0; background: var(--c-noche); text-align: center; }
.smc-cabecera-pagina__titulo {
	position: relative;
	margin: 0;
	padding: 0 15px 40px;
	font-family: var(--f-rotulo);
	font-size: 32px;
	font-weight: 400;
	line-height: 1;
	color: var(--c-gris);
	text-transform: uppercase;
}
.smc-cabecera-pagina__titulo::after {
	content: "";
	position: absolute; left: 39%; bottom: 0;
	width: 22%; height: 12px;
	background: url("assets/img/separador-gris.png") repeat-x;
}
@media (min-width: 481px) { .smc-cabecera-pagina { padding: 70px 0; } .smc-cabecera-pagina__titulo { font-size: 34px; } }
@media (min-width: 768px) { .smc-cabecera-pagina { padding: 90px 0; } .smc-cabecera-pagina__titulo { font-size: 38px; } }
@media (min-width: 992px) { .smc-cabecera-pagina { padding: 100px 0; } .smc-cabecera-pagina__titulo { font-size: 44px; } }
@media (min-width: 1200px) { .smc-cabecera-pagina { padding: 110px 0; } .smc-cabecera-pagina__titulo { font-size: 52px; } }
@media (min-width: 1400px) { .smc-cabecera-pagina { padding: 120px 0; } .smc-cabecera-pagina__titulo { font-size: 64px; } }

/* ==========================================================================
   Slider de temporada (pantalla completa en la portada)
   ========================================================================== */
.smc-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--c-noche); }
.smc-hero--solicita { height: auto; min-height: 0; aspect-ratio: 1240 / 1000; max-height: 90vh; }
@media (max-width: 767px) { .smc-hero--solicita { aspect-ratio: 480 / 720; max-height: none; } }
.smc-hero__slides { position: absolute; inset: 0; }

.smc-hero__slide {
	position: absolute; inset: 0;
	display: flex; align-items: center;
	opacity: 0; visibility: hidden;
	transition: opacity 1s ease, visibility 0s linear 1s;
}
.smc-hero__slide.is-activa { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.smc-hero__slide.is-saliente { visibility: visible; }

.smc-hero__fondo { position: absolute; inset: 0; margin: 0; }
.smc-hero__fondo img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; will-change: transform; }
/* Ken Burns: zoom lento mientras la diapositiva está a la vista (y durante el fundido de salida) */
.smc-hero__slide.is-activa .smc-hero__fondo img,
.smc-hero__slide.is-saliente .smc-hero__fondo img { animation: smc-kenburns var(--smc-duracion, 7s) ease-out forwards; }
.smc-hero__slide:nth-child(4n+2) .smc-hero__fondo img { transform-origin: 100% 0%; }
.smc-hero__slide:nth-child(4n+3) .smc-hero__fondo img { transform-origin: 0% 100%; }
.smc-hero__slide:nth-child(4n+4) .smc-hero__fondo img { transform-origin: 100% 100%; }
.smc-hero__slide:nth-child(4n+1) .smc-hero__fondo img { transform-origin: 0% 0%; }
@keyframes smc-kenburns { from { transform: scale(1); } to { transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .smc-hero__fondo img { animation: none !important; } }

.smc-hero__contenido {
	position: relative; z-index: 2;
	width: 100%; max-width: 1240px;
	margin: 0 auto;
	padding: var(--cab-alto) 30px 60px;
}
.smc-hero--solicita .smc-hero__contenido { padding-top: 40px; }
.smc-hero__contenido > * { max-width: 760px; }
.smc-hero__slide--centro .smc-hero__contenido { text-align: center; }
.smc-hero__slide--centro .smc-hero__contenido > * { margin-left: auto; margin-right: auto; }
.smc-hero__slide--derecha .smc-hero__contenido { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }

.smc-hero__antetitulo {
	margin: 0 0 .4em;
	font-family: var(--f-rotulo);
	font-size: clamp(22px, 3.2vw, 46px);
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
	text-transform: uppercase;
}
.smc-hero__titulo {
	margin: 0 0 .5em;
	font-family: var(--f-rotulo);
	font-size: clamp(34px, 4.6vw, 62px);
	font-weight: 400;
	line-height: 1.1;
	color: var(--c-gris);
}
.smc-hero__titulo::first-letter {
	margin-right: .02em;
	font-family: var(--f-titulo);
	font-size: 2.6em;
	font-style: italic;
	line-height: .8;
	color: var(--c-gris);
}
.smc-hero--solicita .smc-hero__titulo { font-family: var(--f-titulo); font-weight: 700; }
.smc-hero--solicita .smc-hero__titulo::first-letter { font-size: 1em; font-style: normal; }
.smc-hero__texto {
	margin: 0 0 1.4em;
	font-family: var(--f-rotulo);
	font-size: clamp(18px, 1.8vw, 26px);
	line-height: 1.3;
	color: var(--c-gris);
}
.smc-hero--solicita .smc-hero__texto { color: var(--c-acento); font-family: var(--f-texto); font-weight: 600; text-transform: uppercase; }
.smc-hero .smc-boton { color: var(--c-gris); border-color: var(--c-gris); font-family: var(--f-rotulo); min-width: 0; padding: 16px 34px; }
.smc-hero .smc-boton:hover { color: #000; border-color: #fff; }

.smc-hero__contenido > * { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.smc-hero__slide.is-activa .smc-hero__contenido > * { opacity: 1; transform: none; }
.smc-hero__slide.is-activa .smc-hero__contenido > *:nth-child(2) { transition-delay: .2s; }
.smc-hero__slide.is-activa .smc-hero__contenido > *:nth-child(3) { transition-delay: .4s; }
.smc-hero__slide.is-activa .smc-hero__contenido > *:nth-child(4) { transition-delay: .6s; }
@media (prefers-reduced-motion: reduce) { .smc-hero__contenido > * { opacity: 1; transform: none; transition: none; } }

.smc-hero__decorativa {
	position: absolute; z-index: 1;
	right: 4%; bottom: 0;
	height: 82%;
	display: flex; align-items: flex-end;
	pointer-events: none;
}
.smc-hero__decorativa img { max-height: 100%; width: auto; object-fit: contain; }
.smc-hero__slide--derecha .smc-hero__decorativa { right: auto; left: 4%; }

.smc-hero__flecha {
	position: absolute; top: 50%; z-index: 3;
	display: grid; place-items: center;
	width: 46px; height: 46px; margin-top: -23px; padding: 0;
	border: 0; border-radius: 50%;
	background: rgba(0, 0, 0, .35); color: #fff;
	cursor: pointer; transition: background var(--transicion);
}
.smc-hero__flecha:hover { background: rgba(0, 0, 0, .7); }
.smc-hero__flecha--anterior { left: 20px; }
.smc-hero__flecha--siguiente { right: 20px; }
.smc-hero__puntos { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.smc-hero__puntos button { width: 12px; height: 12px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.smc-hero__puntos button[aria-current="true"] { background: #fff; }

@media (max-width: 767px) {
	.smc-hero__contenido { padding: calc(var(--cab-alto) + 20px) 20px 70px; }
	.smc-hero__slide { align-items: flex-end; }
	.smc-hero__decorativa { height: 48%; top: calc(var(--cab-alto) + 10px); bottom: auto; right: 0; }
	.smc-hero__slide--derecha .smc-hero__decorativa { left: auto; right: 0; }
	.smc-hero__flecha { display: none; }
}

/* ==========================================================================
   Renglones de dos columnas: imagen a su tamaño + texto centrado
   ========================================================================== */
.smc-bloque {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	background: var(--smc-fondo, var(--c-superficie));
}
.smc-bloque__media { position: relative; display: flex; flex-direction: column; }
/* La imagen se ve entera; si el texto es más alto, la imagen rellena la columna */
.smc-bloque__media > img { width: 100%; height: 100%; flex: 1 0 auto; object-fit: cover; }
.smc-bloque__media > .smc-galeria, .smc-bloque__media > .smc-mosaico { flex: 1 0 auto; }
.smc-bloque__texto {
	display: flex; flex-direction: column; justify-content: center;
	padding: 60px 0;
}
/* Cuadrado que une las dos columnas */
.smc-bloque::after {
	content: "";
	position: absolute; z-index: 3;
	width: 34px; height: 34px;
	background: var(--c-linea);
	box-shadow: 0 0 12px rgba(0, 0, 0, .53);
	left: calc(50% - 17px);
	top: var(--smc-union, 50%);
	display: none;
}

@media (min-width: 992px) {
	.smc-bloque { grid-template-columns: 7fr 5fr; align-items: stretch; }
	.smc-bloque--texto-primero { grid-template-columns: 5fr 7fr; }
	.smc-bloque--texto-primero .smc-bloque__media { order: 2; }
	.smc-bloque__texto { padding: 40px 0; }
	.smc-bloque::after { display: block; top: calc(50% - 17px); left: calc(58.333% - 17px); }
	.smc-bloque--texto-primero::after { left: calc(41.667% - 17px); }
	.smc-bloque--sin-media { grid-template-columns: 1fr; }
	.smc-bloque--sin-media::after { display: none; }

	/* Servicios: imagen a una o dos columnas */
	.smc-bloque--media-ancha.smc-bloque--media-primero { grid-template-columns: 1fr 1fr; }
	.smc-bloque--media-ancha.smc-bloque--texto-primero { grid-template-columns: 1fr 1fr; }
	.smc-bloque--texto-ancho.smc-bloque--media-primero { grid-template-columns: 1fr 1fr; }
	.smc-bloque--texto-ancho.smc-bloque--texto-primero { grid-template-columns: 1fr 1fr; }
	.smc-bloque--media-ancha::after, .smc-bloque--texto-ancho::after { left: calc(50% - 17px); }
}
@media (min-width: 1200px) {
	.smc-bloque, .smc-bloque--texto-primero { grid-template-columns: 1fr 1fr; }
	.smc-bloque::after, .smc-bloque--texto-primero::after { left: calc(50% - 17px); }
	.smc-bloque--media-ancha.smc-bloque--media-primero { grid-template-columns: 2fr 1fr; }
	.smc-bloque--media-ancha.smc-bloque--texto-primero { grid-template-columns: 1fr 2fr; }
	.smc-bloque--texto-ancho.smc-bloque--media-primero { grid-template-columns: 1fr 2fr; }
	.smc-bloque--texto-ancho.smc-bloque--texto-primero { grid-template-columns: 2fr 1fr; }
	.smc-bloque--media-ancha.smc-bloque--media-primero::after,
	.smc-bloque--texto-ancho.smc-bloque--texto-primero::after { left: calc(66.666% - 17px); }
	.smc-bloque--media-ancha.smc-bloque--texto-primero::after,
	.smc-bloque--texto-ancho.smc-bloque--media-primero::after { left: calc(33.333% - 17px); }
}
@media (max-width: 991px) {
	.smc-bloque::after { display: block; top: auto; bottom: -17px; }
	.smc-bloque:last-child::after { display: none; }
}

/* Espectáculos: tres columnas con triángulos */
.smc-trio { display: grid; grid-template-columns: 1fr; background: var(--c-noche); }
.smc-trio__lado {
	position: relative;
	display: flex; flex-direction: column; justify-content: center;
	padding: 60px 15px;
	background-color: var(--c-noche);
	background-size: 100% 100%;
	text-align: center;
}
.smc-trio .smc-titulo { position: relative; margin-bottom: 1.3em; padding-bottom: 1.5em; }
.smc-trio .smc-subtitulo { margin: 0; padding: 0 10%; }
.smc-trio .smc-subtitulo::after { display: none; }
.smc-trio .smc-descripcion { color: var(--smc-texto, #fff); }
.smc-trio__centro img { width: 100%; height: auto; }
@media (min-width: 992px) {
	.smc-trio { grid-template-columns: 1fr 1fr 1fr; align-items: stretch; }
	.smc-trio__lado--izquierda { background-image: url("assets/img/triangulo-izquierda.png"); }
	.smc-trio__lado--derecha { background-image: url("assets/img/triangulo-derecha.png"); }
}

/* ==========================================================================
   Renglones parallax
   ========================================================================== */
.smc-parallax {
	position: relative;
	padding: 60px 15px;
	overflow: hidden;
	text-align: center;
	isolation: isolate;
}
.smc-parallax__fondo { position: absolute; inset: -60px 0; z-index: -1; will-change: transform; }
.smc-parallax__fondo img { width: 100%; height: 100%; object-fit: cover; }
.smc-parallax__contenido { max-width: 1240px; margin: 0 auto; }
.smc-parallax__logo { margin: 0 auto; }
.smc-parallax__titulo {
	margin: .8em 0 1em;
	font-family: var(--f-texto);
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
	text-transform: uppercase;
}
#solicita .smc-parallax__titulo { margin: .2em 0 .8em; }
.smc-parallax__subtitulo { margin: 0 0 1em; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--c-acento); }
#solicita .smc-parallax__subtitulo { margin-bottom: 1.5em; }
.smc-parallax__descripcion { max-width: 900px; margin: 0 auto; padding: 0 10%; color: #fff; font-size: 16px; font-weight: 600; }
.smc-parallax__descripcion a { color: #fff; }
.smc-parallax__descripcion a:hover { color: var(--c-acento); }
.smc-parallax .smc-boton { margin: 2.4em auto .5em; }
@media (min-width: 481px) { .smc-parallax__subtitulo { font-size: 18px; } }
@media (min-width: 768px) { .smc-parallax__subtitulo { font-size: 22px; } }
@media (min-width: 992px) { .smc-parallax__subtitulo { font-size: 24px; } }
@media (min-width: 1200px) { .smc-parallax__subtitulo { font-size: 26px; } }

/* ==========================================================================
   Galerías y mosaico (imágenes a su tamaño, sin recortar)
   ========================================================================== */
.smc-galeria { position: relative; }
.smc-galeria__pista { display: flex; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.smc-galeria__pista::-webkit-scrollbar { display: none; }
.smc-galeria__item { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.smc-galeria__item img { width: 100%; height: auto; }
.smc-galeria__flecha {
	position: absolute; top: 50%; z-index: 2;
	display: grid; place-items: center;
	width: 42px; height: 42px; margin-top: -21px; padding: 0;
	border: 0; border-radius: 50%;
	background: rgba(0, 0, 0, .4); color: #fff;
	cursor: pointer;
}
.smc-galeria__flecha:hover { background: rgba(0, 0, 0, .75); }
.smc-galeria__flecha--anterior { left: 12px; }
.smc-galeria__flecha--siguiente { right: 12px; }

.smc-mosaico { display: flex; flex-wrap: wrap; }
.smc-mosaico__item { position: relative; width: 100%; margin: 0; overflow: hidden; }
.smc-mosaico__item img { width: 100%; height: auto; }
.smc-mosaico__item::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(45, 44, 44, .5); transition: background .3s ease-out; }
.smc-mosaico__item:hover::before { background: rgba(45, 44, 44, 0); }
.smc-mosaico__item figcaption {
	position: absolute; inset: 0; z-index: 2;
	display: flex; align-items: center; justify-content: center;
	padding: 0 15px;
	color: #fff; font-size: 16px; font-weight: 700; line-height: 1.1;
	text-align: center; text-transform: uppercase;
}
@media (min-width: 481px) { .smc-mosaico__item { width: 50%; } }
@media (min-width: 1400px) { .smc-mosaico__item figcaption { font-size: 18px; } }
@media (min-width: 1600px) { .smc-mosaico__item figcaption { font-size: 20px; } }

/* ==========================================================================
   Formularios (Contact Form 7) con el estilo original: líneas blancas
   ========================================================================== */
.smc-formulario { max-width: 700px; margin: 0 auto; }
.smc-formulario label, .smc-formulario .nombre-campo {
	display: block;
	margin-bottom: 0;
	color: #fff;
	font-size: 16px;
	font-style: italic;
	font-weight: 400;
	line-height: 1.2;
	text-transform: uppercase;
}
.smc-formulario .campo-form { display: block; width: 100%; margin-bottom: 18px; }
.smc-formulario input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.smc-formulario select,
.smc-formulario textarea {
	width: 100%;
	padding: 4px 10px;
	border: 0;
	border-bottom: 1px solid #fff;
	border-radius: 0;
	background: transparent;
	color: var(--c-gris);
	font: 14px/1.5 var(--f-texto);
	text-align: center;
}
.smc-formulario textarea { max-height: 148px; resize: vertical; text-align: left; }
.smc-formulario input:focus, .smc-formulario textarea:focus, .smc-formulario select:focus { outline: none; border-bottom-color: var(--c-acento); }
.smc-formulario input[type="submit"] {
	display: block;
	width: 160px;
	margin: 8px auto 0;
	padding: 16px 0;
	border: 1px solid var(--c-acento);
	border-radius: 2px;
	background: transparent;
	color: var(--c-acento);
	font: 700 18px/1 var(--f-texto);
	text-transform: uppercase;
	cursor: pointer;
	transition: all .2s ease-in-out;
}
.smc-formulario input[type="submit"]:hover { background: var(--c-linea); border-color: var(--c-linea); color: #fff; }
.smc-formulario .wpcf7-list-item { display: inline-block; margin: 0 30px 0 0; }
.smc-formulario .wpcf7-not-valid-tip { display: block; padding: 5px; background: var(--c-linea); color: #fff; font-size: 10px; line-height: 1.2; text-align: center; }
.smc-formulario .wpcf7-response-output { margin: 0 !important; padding: 15px !important; border: 0 !important; border-radius: 2px; background: var(--c-linea); color: #fff; font-size: 12px; line-height: 1.2; text-align: center; }
.smc-asterisco { color: var(--c-acento); }

/* reCAPTCHA: sello oculto (tapaba el botón «arriba») y aviso legal bajo los formularios */
.grecaptcha-badge { visibility: hidden !important; }
.smc-recaptcha-aviso { margin: 1.5em 0 0; color: var(--c-gris); font-size: 11px; line-height: 1.4; text-align: center; }
.smc-recaptcha-aviso a { color: var(--c-gris); text-decoration: underline; }

/* Contacto y Solicita tu plaza */
.smc-formulario-pagina { position: relative; padding: 0 15px 80px; overflow: hidden; isolation: isolate; background: var(--c-superficie); }
.smc-formulario-pagina__fondo { position: absolute; inset: -60px 0; z-index: -1; }
.smc-formulario-pagina__fondo img { width: 100%; height: 100%; object-fit: cover; }
.smc-formulario-pagina__caja { max-width: 760px; margin: 0 auto; }
.smc-formulario-pagina .smc-texto-editor { padding-top: 1px; }
.smc-formulario-pagina .smc-texto-editor h2 {
	position: relative;
	margin: 3em 0 1.5em;
	padding: 0 15px 1.5em;
	font-family: var(--f-texto);
	font-size: clamp(28px, 3.2vw, 48px);
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
}
.smc-formulario-pagina .smc-texto-editor h4 { margin: 0 0 2em; color: var(--c-acento); font-size: clamp(16px, 2vw, 26px); font-weight: 600; line-height: 1.2; text-align: center; }
.smc-formulario-pagina .smc-texto-editor p,
.smc-formulario-pagina .smc-texto-editor ul { margin-bottom: 1.5em; color: #fff; font-size: 16px; line-height: 1.4; text-align: center; }
.smc-formulario-pagina .smc-formulario { margin-top: 60px; }

.smc-mapa iframe { width: 100%; height: 420px; border: 0; }
@media (min-width: 992px) { .smc-mapa iframe { height: 560px; } }

/* Reserva tu espacio */
.smc-reserva { display: grid; grid-template-columns: 1fr; background: var(--c-superficie); }
.smc-reserva__imagen { display: none; position: relative; }
.smc-reserva__imagen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.smc-reserva__info { display: flex; flex-direction: column; justify-content: center; padding: 60px 0 20px; }
.smc-reserva__info .smc-titulo { position: relative; margin-bottom: 1em; padding-bottom: 1.2em; }
.smc-reserva__info p { margin: .7em 0; padding: 0 25px; color: var(--c-gris); font-size: 14px; font-style: italic; line-height: 1.2; text-align: center; }
.smc-reserva__formulario { padding: 2em 25px; }
@media (min-width: 992px) {
	.smc-reserva { grid-template-columns: 2fr 1fr 1fr; }
	.smc-reserva__imagen { display: block; min-height: 480px; }
	.smc-reserva__info { padding: 40px 0; }
	.smc-reserva__formulario { display: flex; align-items: center; padding: 2em 50px 2em 25px; }
}

/* Páginas de texto (privacidad) */
.smc-pagina-texto .smc-texto-editor { padding-top: 5em; padding-bottom: 5em; color: #fff; }
.smc-pagina-texto { background: #000; }
.smc-pagina-texto .smc-texto-editor h3 { margin: 1.5em 0 .4em; color: var(--c-acento); font-size: 22px; line-height: 1.2; text-transform: uppercase; }
.smc-pagina-texto .smc-texto-editor b, .smc-pagina-texto .smc-texto-editor strong, .smc-pagina-texto .smc-texto-editor a { color: var(--c-gris); }
.smc-pagina-texto .smc-texto-editor a:hover { color: var(--c-acento); }
.smc-texto-editor h2 { position: relative; }

.smc-404 { padding: 110px 20px; text-align: center; color: #fff; }
.smc-404__codigo { margin: 0; font-family: var(--f-titulo); font-size: 120px; line-height: 1; color: var(--c-acento); }

/* ==========================================================================
   Pie (como el original)
   ========================================================================== */
.smc-pie { position: relative; background: var(--c-noche); line-height: 1.2; }
.smc-pie__columnas { position: relative; display: grid; grid-template-columns: 1fr; gap: 40px; max-width: none; padding: 60px 15px 0; text-align: center; }
.smc-pie__col { font-style: normal; }
.smc-pie__logo img { width: 100%; max-width: 288px; margin: 0 auto; }
.smc-pie__presentacion { margin: 1em auto; max-width: 640px; color: var(--c-linea); font-size: 16px; font-weight: 400; line-height: 1.3; }
.smc-pie__presentacion strong { color: var(--c-acento); font-weight: 700; }
.smc-pie__titulo {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	margin: 0 0 6px;
	color: var(--c-acento);
	font-family: var(--f-texto);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3;
	text-transform: uppercase;
}
.smc-pie__col p, .smc-pie__horario { margin: 0 0 1.5em; color: #fff; line-height: 1.6; }
.smc-pie__col a { color: #fff; }
.smc-pie__col a:hover { color: var(--c-linea); }
.smc-pie__telefonos { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 10px; }
.smc-pie__telefonos a + a::before { content: "-"; margin-right: 10px; color: #fff; }
.smc-pie__horario { margin-bottom: 0; }
.smc-pie__horario dt { text-transform: uppercase; }
.smc-pie__horario dd { margin: 0 0 6px; }
.smc-pie__nota { margin: 0 0 1.5em !important; }
.smc-pie__extras { margin: 0; padding: 0; list-style: none; }
.smc-pie__extras li, .smc-pie__extras a { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: .5em; color: var(--c-acento); font-size: 18px; line-height: 1.3; text-transform: uppercase; }
.smc-pie__extras a { color: #fff; margin: 0; }
@media (max-width: 991px) {
	.smc-pie__col--contacto { position: relative; padding-top: 60px; }
	.smc-pie__col--contacto::before { content: ""; position: absolute; top: 0; left: 35%; width: 30%; height: 12px; background: url("assets/img/linea-vertical.png") repeat-x; }
}
@media (min-width: 992px) {
	.smc-pie__columnas { grid-template-columns: 1fr 1fr 1fr; align-items: start; }
	.smc-pie__col--contacto { order: 1; }
	.smc-pie__col--marca { order: 2; }
	.smc-pie__col--horario { order: 3; }
}
@media (min-width: 1400px) {
	.smc-pie__columnas::before, .smc-pie__columnas::after { content: ""; position: absolute; top: 60px; bottom: 0; width: 12px; background: url("assets/img/linea-vertical.png") repeat-y; }
	.smc-pie__columnas::before { left: 2%; }
	.smc-pie__columnas::after { right: 2%; }
}

.smc-pie__cierre { margin-top: 60px; padding: 28px 0; background: var(--c-linea); text-align: center; }
.smc-pie__cierre .smc-contenedor { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; }
.smc-pie__cierre a, .smc-pie__copy { color: #fff; font-size: 12px; line-height: 12px; text-transform: uppercase; }
.smc-pie__cierre a:hover { color: var(--c-acento); }
.smc-pie__legal { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0; list-style: none; }
.smc-pie__copy { margin: 0; }

/* Botones flotantes */
.smc-arriba, .smc-whatsapp {
	position: fixed; right: 15px; z-index: 90;
	display: grid; place-items: center;
	width: 40px; height: 40px;
	border-radius: 50%;
}
.smc-arriba { bottom: 15px; background: rgba(255, 255, 255, .41); color: #000; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s, background .3s; }
.smc-arriba.is-visible { opacity: 1; visibility: visible; transition-delay: 0s; }
.smc-arriba:hover { background: #fff; color: #000; }
.smc-whatsapp { bottom: 64px; width: 48px; height: 48px; background: #25d366; color: #fff; }
.smc-whatsapp .smc-icono { width: 26px; height: 26px; }

/* ==========================================================================
   Tamaños de texto por pantalla (igual que el tema original)
   ========================================================================== */
@media (max-width: 480px) {
	.smc-descripcion { font-size: 14px; }
	.smc-titulo { font-size: 8.5vw; }
}
@media (min-width: 768px) { .smc-subtitulo { font-size: 22px; } }
@media (min-width: 1200px) { .smc-subtitulo { font-size: 26px; } }
@media (min-width: 1400px) { .smc-subtitulo { font-size: 30px; } .smc-descripcion { padding: 0 16%; } }
@media (min-width: 1600px) {
	.smc-titulo { font-size: 56px; }
	.smc-descripcion { padding: 0 20%; font-size: 18px; }
	.smc-titulo--capital::first-letter { font-size: 400%; }
}
@media (min-width: 1920px) {
	.smc-titulo { font-size: 60px; }
	.smc-titulo--capital::first-letter { font-size: 500%; }
}

/* Editor clásico */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
