/* ==========================================================================
   Baila con Ricky — estilos del tema
   ========================================================================== */

:root {
	--bcr-background: #0d0906;
	--bcr-foreground: #f7f5f1;
	--bcr-surface: #18130e;
	--bcr-surface-2: #221b16;
	--bcr-gold: #f7b828;
	--bcr-gold-soft: #fcd176;
	--bcr-orange-hot: #ff6600;
	--bcr-red-hot: #f52027;
	--bcr-muted: #30271f;
	--bcr-muted-foreground: #aba397;
	--bcr-border: #342c26;
	--bcr-radius: 0.75rem;
}

/* Fondo con luz ambiental — dos radiales cálidos, fijos respecto al viewport */
body {
	background-color: var(--bcr-background);
	background-image:
		radial-gradient(ellipse 60% 50% at 15% 10%, oklch(0.24 0.05 40 / 0.5), transparent 60%),
		radial-gradient(ellipse 60% 50% at 90% 80%, oklch(0.22 0.04 30 / 0.4), transparent 60%);
	background-attachment: fixed;
	background-repeat: no-repeat;
}

/* Las fotos de origen son verticales de cuerpo entero: al recortarlas en un hero
   panorámico hay que sesgar hacia arriba para no cortar la cara. */
.wp-block-cover .wp-block-cover__image-background {
	object-position: 50% 18%;
}

.font-script {
	font-family: "Kaushan Script", cursive;
	text-transform: none;
	letter-spacing: 0;
}

/* Degradados de texto */
.text-gradient-gold,
.text-gradient-fire {
	display: inline-block;
	background-repeat: no-repeat;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.text-gradient-gold {
	background-image: linear-gradient(180deg, #edc53f 0%, #c79a32 100%);
}
.text-gradient-fire {
	background-image: linear-gradient(180deg, var(--bcr-gold-soft) 0%, var(--bcr-orange-hot) 100%);
}

/* Botones dorados */
.btn-gold,
.wp-block-button__link {
	display: inline-block;
	background-image: linear-gradient(180deg, var(--bcr-gold-soft) 0%, var(--bcr-gold) 100%);
	color: #18130e !important;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	border-radius: 0.5rem;
	padding: 0.9rem 1.75rem;
	box-shadow: 0 8px 24px -8px rgba(247, 184, 40, 0.55);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	border: none;
	text-decoration: none;
}
.btn-gold:hover,
.btn-gold-hover,
.wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 32px -8px rgba(247, 184, 40, 0.75);
	color: #18130e !important;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--bcr-gold) !important;
	border: 2px solid var(--bcr-gold);
	box-shadow: none;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--bcr-gold);
	color: #18130e !important;
}

/* Tarjetas / superficies */
.bcr-card {
	background-color: var(--bcr-surface);
	border: 1px solid var(--bcr-border);
	border-radius: var(--bcr-radius);
	padding: 2rem;
}
.bcr-card.is-elevated {
	background-color: var(--bcr-surface-2);
}

/* Hero de portada */
.bcr-hero-figure {
	position: relative;
	max-width: 460px;
	margin-inline: auto;
}
.bcr-hero-figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--bcr-radius);
	border: 1px solid var(--bcr-border);
	box-shadow: 0 30px 70px -30px rgba(247, 184, 40, 0.45);
}
.bcr-hero-figure .bcr-badge-circle {
	position: absolute;
	left: -1.5rem;
	bottom: -1.5rem;
}
@media (max-width: 781px) {
	.bcr-hero-figure {
		max-width: 340px;
	}
	.bcr-hero-figure .bcr-badge-circle {
		left: auto;
		right: -0.75rem;
		bottom: -1rem;
		width: 120px;
		height: 120px;
		font-size: 0.85rem;
	}
}

/* Badge circular "Todos los niveles" */
.bcr-badge-circle {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background-image: linear-gradient(180deg, var(--bcr-gold-soft) 0%, var(--bcr-gold) 100%);
	color: #18130e;
	font-family: "Bebas Neue", Impact, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-size: 1rem;
	line-height: 1.15;
	padding: 0.75rem;
	box-shadow: 0 8px 24px -8px rgba(247, 184, 40, 0.55);
}

/* Iconos SVG en pastilla dorada */
.bcr-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 0.75rem;
	background-image: linear-gradient(180deg, var(--bcr-gold-soft) 0%, var(--bcr-gold) 100%);
	color: #18130e;
	box-shadow: 0 8px 24px -10px rgba(247, 184, 40, 0.6);
}
.bcr-icon.is-sm {
	width: 32px;
	height: 32px;
	border-radius: 0.5rem;
	vertical-align: middle;
	margin-right: 0.4rem;
	box-shadow: none;
}

/* Tarjetas de precio. La rejilla la sirve el shortcode [bcr_precios], por eso
   no dependemos de las clases de layout que Gutenberg genera al parsear bloques. */
.bcr-price-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 1.5rem;
}
.bcr-price-card {
	background-color: var(--bcr-surface);
	border: 1px solid var(--bcr-border);
	border-radius: var(--bcr-radius);
	padding: 2rem;
	text-align: center;
}
.bcr-price-card h3 {
	font-size: 1.3rem;
	margin: 0 0 0.5rem;
}
.bcr-price-card p {
	margin: 0;
}
.bcr-price-card .bcr-price {
	font-family: "Bebas Neue", Impact, sans-serif;
	font-size: 2.5rem;
	line-height: 1.1;
	color: var(--bcr-gold);
	letter-spacing: 0.02em;
}
.bcr-price-card .bcr-price-note {
	font-size: 0.9rem;
	color: var(--bcr-muted-foreground);
}
.bcr-price-card .bcr-save {
	font-size: 0.9rem;
	color: var(--bcr-orange-hot);
	font-weight: 600;
}

/* Promo destacada */
.bcr-promo {
	background-image: linear-gradient(135deg, var(--bcr-orange-hot) 0%, var(--bcr-red-hot) 100%);
	color: #fff;
	border-radius: var(--bcr-radius);
	padding: 1.75rem 2rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	text-align: center;
}

/* Cabecera */
.bcr-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: rgba(13, 9, 6, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--bcr-border);
}
.bcr-header a {
	text-decoration: none;
}
.bcr-header .wp-block-navigation a {
	color: var(--bcr-foreground);
	text-transform: uppercase;
	font-size: 0.82rem;
	letter-spacing: 0.03em;
	font-weight: 600;
	white-space: nowrap;
}
.bcr-header .wp-block-navigation {
	--wp--style--block-gap: 0.9rem;
}
.bcr-header .wp-block-navigation a:hover {
	color: var(--bcr-gold);
}

/* Pie de página */
.bcr-footer {
	background-color: var(--bcr-surface);
	border-top: 1px solid var(--bcr-border);
	color: var(--bcr-muted-foreground);
}
.bcr-footer a {
	color: var(--bcr-muted-foreground);
	text-decoration: none;
}
.bcr-footer a:hover {
	color: var(--bcr-gold);
}
.bcr-footer-tagline {
	font-family: "Kaushan Script", cursive;
	color: var(--bcr-gold-soft);
}

/* Botón flotante de WhatsApp */
.bcr-whatsapp-float {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 999;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background-color: #25d366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.5);
	transition: transform 0.2s ease;
}
.bcr-whatsapp-float:hover {
	transform: scale(1.08);
	color: #fff;
}

/* Formulario de contacto (Contact Form 7) */
.wpcf7 label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 1.1rem;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
	box-sizing: border-box;
	width: 100%;
	margin-top: 0.4rem;
	padding: 0.75rem 0.9rem;
	background-color: var(--bcr-surface-2);
	border: 1px solid var(--bcr-border);
	border-radius: 0.5rem;
	color: var(--bcr-foreground);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
}
.wpcf7 textarea {
	min-height: 140px;
	resize: vertical;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: 2px solid var(--bcr-gold);
	outline-offset: 1px;
	border-color: var(--bcr-gold);
}
.wpcf7 select option {
	background-color: var(--bcr-surface-2);
	color: var(--bcr-foreground);
}
.wpcf7 .wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-weight: 400;
	color: var(--bcr-muted-foreground);
	font-size: 0.9rem;
}
.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
	width: auto;
	margin-top: 0.2rem;
	accent-color: var(--bcr-gold);
}
.wpcf7 input[type="submit"] {
	width: auto;
	margin-top: 0.5rem;
	background-image: linear-gradient(180deg, var(--bcr-gold-soft) 0%, var(--bcr-gold) 100%);
	color: #18130e;
	border: none;
	border-radius: 0.5rem;
	padding: 0.9rem 2rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 8px 24px -8px rgba(247, 184, 40, 0.55);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wpcf7 input[type="submit"]:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 32px -8px rgba(247, 184, 40, 0.75);
}
.wpcf7 .wpcf7-not-valid-tip {
	color: var(--bcr-red-hot);
	font-size: 0.85rem;
}
.wpcf7 .wpcf7-response-output {
	border-radius: 0.5rem;
	border-width: 1px;
	padding: 0.9rem 1.1rem;
	font-size: 0.95rem;
}

/* Galería con filtro */
.bcr-gallery-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	margin-bottom: 2rem;
}
.bcr-gallery-filters button {
	background: transparent;
	border: 1px solid var(--bcr-border);
	color: var(--bcr-muted-foreground);
	border-radius: 999px;
	padding: 0.5rem 1.25rem;
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: all 0.2s ease;
}
.bcr-gallery-filters button:hover,
.bcr-gallery-filters button.is-active {
	background-color: var(--bcr-gold);
	border-color: var(--bcr-gold);
	color: #18130e;
}
.bcr-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(var(--bcr-gallery-min, 240px), 1fr));
	gap: 1rem;
}
.bcr-gallery-grid figure {
	margin: 0;
	overflow: hidden;
	border-radius: var(--bcr-radius);
}
.bcr-gallery-grid img,
.bcr-gallery-grid video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4 / 5;
	transition: transform 0.35s ease;
	background-color: #000;
}
.bcr-gallery-grid figure:hover img {
	transform: scale(1.05);
}

/* Distintivo de reproducción sobre los elementos de vídeo. Se oculta al empezar
   a reproducir para no tapar los controles nativos. */
.bcr-gallery-item.is-video {
	position: relative;
}
.bcr-gallery-item.is-video::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: rgba(247, 184, 40, 0.92);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2318130e'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 55% 50%;
	background-size: 26px 26px;
	box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.6);
	pointer-events: none;
	transition: opacity 0.2s ease;
}
.bcr-gallery-item.is-video.is-playing::after {
	opacity: 0;
}
.bcr-gallery-item.is-hidden {
	display: none;
}

/* Utilidades */
.bcr-eyebrow {
	color: var(--bcr-gold);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.85rem;
	font-weight: 700;
}
