/*
Theme Name: Barcelona Estels Club
Theme URI: https://barcelonaestels.club
Author: Ut López Galán
Author URI: https://barcelonaestels.club
Description: Tema personalizado para Barcelona Estels Club.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: barcelonaestels
Tags: custom-menu, translation-ready, two-columns, custom-logo
*/

/* =============================================
   Variables
   ============================================= */

:root {
	/* Colores */
	--color-lila: #A764A9;
	--color-lila-dark: #7D4B7F;
	--color-lila-light: #BD8BBE;
	--color-amarillo: #F7EA22;
	--color-amarillo-dark: #B9B01A;
	--color-amarillo-light: #F9EF59;
	--color-rojo: #D61A1A;
	--color-rojo-dark: #A01414;
	--color-rojo-light: #E05353;
	--color-naranja: #F28A4B;
	--color-naranja-dark: #B66838;
	--color-naranja-light: #F5A778;
	--color-negro: #000000;
	--color-negro-dark: #000000;
	--color-negro-light: #404040;
	--color-oliva: #35300B;
	--color-oliva-dark: #282408;
	--color-oliva-light: #686448;
	--color-azul: #4FA3D9;
	--color-azul-dark: #3B7AA3;
	--color-azul-light: #7BBAE2;
	--color-verde: #58AF63;
	--color-verde-dark: #42834A;
	--color-verde-light: #82C38A;
	--color-crema: #FFFDF4;
	--color-crema-dark: #BFBEB7;
	--color-crema-light: #FFFEF7;
	--color-lila-suave: #F4E8F5;
	--color-lila-suave-dark: #B7AEB8;
	--color-lila-suave-light: #F7EEF8;

	/* Tipografía */
	--font-title: "Montserrat", "Futura", "Avenir Next", sans-serif;
	--font-body: "Inter", "Segoe UI", Arial, sans-serif;
	--font-hand: "Caveat", "Segoe Print", cursive;

	/* Logo y proporción áurea */
	--logo-size: 160px;
	--header-pad-top: 15px;
	--header-height: 114px;
	--logo-overhang: 61px;
}

/* =============================================
   Base
   ============================================= */

body {
	min-height: 100vh !important;
	display: flex !important;
	flex-direction: column !important;
	font-size: 15px;
	font-family: var(--font-body);
	color: var(--color-oliva);
	/* Fondo global (mismo que la página de contacto) */
	background:
		radial-gradient(circle at 7% 4%, rgba(247, 234, 34, 0.36), transparent 25rem),
		radial-gradient(circle at 94% 7%, rgba(79, 163, 217, 0.36), transparent 32rem),
		radial-gradient(circle at 85% 78%, rgba(167, 100, 169, 0.2), transparent 28rem),
		linear-gradient(180deg, var(--color-crema) 0%, var(--color-crema-light) 46%, #f6f8ec 100%);
	background-attachment: fixed;
}

body.admin-bar {
	min-height: calc(100vh - 32px) !important;
}

@media (max-width: 782px) {
	body.admin-bar {
		min-height: calc(100vh - 46px) !important;
	}
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-title);
	font-weight: 800;
}

.font-hand {
	font-family: var(--font-hand);
}

.site-title {
	margin: 0;
}

/* =============================================
   Layout
   ============================================= */

.site-content {
	flex: 1;
	background: transparent;
	padding-top: calc(var(--logo-overhang) / 2);
}

/* --- Footer --- */

.site-footer {
	position: relative;
	overflow: hidden;
	background: linear-gradient(160deg, var(--color-verde-light) 0%, var(--color-verde) 100%);
	color: var(--color-crema);
	padding-top: 45px;
	font-size: 0.9rem;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Bloque 1: grid principal */
.footer-main {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
	gap: 30px;
	padding-bottom: 30px;
}

/* Logo */
.footer-logo {
	margin-bottom: 16px;
}

.footer-logo .custom-logo-link {
	width: 120px;
	height: 120px;
}

.footer-logo .custom-logo {
	width: 120px;
	height: 120px;
}

.footer-logo .custom-logo-link::after {
	display: none;
}

/* Marca */
.footer-title {
	font-family: var(--font-title);
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 8px 0;
	color: var(--color-crema);
}

.footer-description {
	font-size: 0.82rem;
	line-height: 1.6;
	opacity: 0.85;
	margin: 0 0 10px 0;
}

.footer-badge {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 600;
	font-family: var(--font-title);
	padding: 3px 10px;
	border: 1px solid rgba(255, 253, 244, 0.3);
	border-radius: 20px;
	opacity: 0.7;
}

.footer-cta {
	display: inline-block;
	margin-top: 12px;
	color: var(--color-amarillo-light);
	text-decoration: none;
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 0.9rem;
	transition: color 0.2s ease;
}

.footer-cta:hover {
	color: var(--color-amarillo);
}

/* Nav columnas */
.footer-heading {
	font-family: var(--font-title);
	font-size: 0.95rem;
	font-weight: 700;
	margin: 0 0 12px 0;
	color: var(--color-crema);
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-links li {
	margin-bottom: 6px;
}

.footer-links a {
	color: var(--color-crema);
	text-decoration: none;
	opacity: 0.8;
	transition: opacity 0.2s ease;
	font-size: 0.85rem;
}

.footer-links a:hover {
	opacity: 1;
}

/* Contacto */
.footer-address {
	font-style: normal;
	font-size: 0.82rem;
	opacity: 0.8;
	line-height: 1.6;
}

.footer-address p {
	margin: 0 0 6px 0;
}

.footer-address a {
	color: var(--color-crema);
	text-decoration: none;
}

.footer-address a:hover {
	opacity: 0.7;
}

.footer-contact-form-link {
	display: inline-block;
	margin-top: 8px;
	color: var(--color-crema);
	text-decoration: none;
	font-size: 0.85rem;
	opacity: 0.8;
	transition: opacity 0.2s ease;
}

.footer-contact-form-link:hover {
	opacity: 1;
}

/* Redes sociales */
.footer-social {
	display: flex;
	gap: 10px;
	margin-top: 15px;
}

.footer-social a {
	color: var(--color-crema);
	opacity: 0.7;
	transition: opacity 0.2s ease;
}

.footer-social a:hover {
	opacity: 1;
}

/* Bloque 2: Newsletter */
.footer-newsletter {
	border-top: 1px solid rgba(255, 253, 244, 0.1);
	padding: 30px 0;
}

.footer-nl-inner {
	display: flex;
	align-items: flex-start;
	gap: 30px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	padding: 20px;
}

.footer-nl-text {
	flex-shrink: 0;
	max-width: 300px;
}

.footer-nl-text .footer-heading {
	margin-bottom: 6px;
}

.footer-newsletter-desc {
	font-size: 0.82rem;
	opacity: 0.85;
	line-height: 1.5;
	margin: 0;
}

.footer-newsletter-form {
	flex: 1;
}

.footer-nl-fields {
	display: flex;
	align-items: center;
	gap: 12px;
}

.footer-nl-field,
.footer-nl-submit {
	min-width: 0;
}

.footer-nl-field-email,
.footer-nl-field-phone {
	flex: 1;
}

.footer-newsletter-form input[type="email"],
.footer-newsletter-form input[type="tel"] {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--color-crema);
	font-size: 0.85rem;
	font-family: var(--font-body);
}

.footer-newsletter-form input[type="email"]::placeholder,
.footer-newsletter-form input[type="tel"]::placeholder {
	color: rgba(255, 253, 244, 0.5);
}

.footer-newsletter-form input[type="email"]:focus,
.footer-newsletter-form input[type="tel"]:focus {
	outline: none;
	border-color: var(--color-crema);
}

.footer-newsletter-form button {
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.15);
	color: var(--color-crema);
	font-size: 0.82rem;
	font-weight: 600;
	font-family: var(--font-title);
	cursor: pointer;
	transition: background 0.2s ease;
	white-space: nowrap;
}

.footer-newsletter-form button:hover {
	background: rgba(255, 255, 255, 0.25);
}

/* Consentimiento legal newsletter */
.footer-nl-consent {
	margin-top: 12px;
}

.footer-nl-consent-label {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	font-size: 0.78rem;
	opacity: 0.8;
	margin-bottom: 4px;
	cursor: pointer;
}

.footer-nl-consent-label input[type="checkbox"] {
	margin-top: 2px;
	flex-shrink: 0;
	accent-color: var(--color-amarillo);
}

.footer-nl-consent-label span {
	line-height: 1.4;
}

.footer-nl-consent-label a {
	color: var(--color-crema);
	text-decoration: underline;
}

.footer-nl-unsub {
	font-size: 0.72rem;
	opacity: 0.55;
	margin: 6px 0 0 0;
	font-style: italic;
}

.footer-nl-submit {
	margin-top: 12px;
}

/* Bloque 3: Legal — full-width fuera del container */
.footer-bottom {
	border-top: 1px solid rgba(255, 253, 244, 0.12);
	padding: 18px 0;
	background: linear-gradient(90deg, rgba(53, 48, 11, 0.3), rgba(0, 0, 0, 0.2), rgba(53, 48, 11, 0.3));
	text-align: center;
}

.footer-copyright {
	margin: 0 0 2px 0;
	font-size: 0.78rem;
	opacity: 0.6;
}

.footer-entity {
	margin: 0 0 10px 0;
	font-size: 0.72rem;
	opacity: 0.5;
}

.footer-legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 15px;
	justify-content: center;
}

.footer-legal a {
	color: var(--color-crema);
	text-decoration: none;
	font-size: 0.78rem;
	opacity: 0.6;
	transition: opacity 0.2s ease;
}

.footer-legal a:hover {
	opacity: 1;
}

.footer-legal .bec-lang-menu-item {
	display: flex;
	align-items: center;
}

.footer-legal .bec-lang-button {
	height: 20px;
	min-width: 120px;
}

/* Footer responsive */
@media (max-width: 991px) {
	.footer-main {
		grid-template-columns: 1fr 1fr 1fr;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.footer-main {
		grid-template-columns: 1fr 1fr;
		gap: 25px;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}

	.footer-contact {
		grid-column: 1 / -1;
		order: -1;
	}

	.footer-nl-inner {
		flex-direction: column;
		align-items: stretch;
	}

	.footer-nl-text {
		max-width: none;
	}

	.footer-nl-fields {
		flex-direction: column;
		align-items: stretch;
	}

	.footer-newsletter-form button {
		width: 100%;
	}

	.footer-legal {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.footer-main {
		grid-template-columns: 1fr;
	}

	.footer-contact {
		order: 0;
	}
}

/* =============================================
   Header
   ============================================= */

.site-header {
	font-family: var(--font-title);
	font-weight: 500;
	background: radial-gradient(
		circle farthest-corner at 10% 0%,
		#a8d8f0 0%,
		var(--color-azul) 30%,
		#1e6a9a 70%,
		#0d4a6f 100%
	);
	padding: var(--header-pad-top) 0;
	height: var(--header-height);
	overflow: visible;
	box-shadow:
		0 8px 15px rgba(0, 0, 0, 0.25),
		inset 0 -15px 15px -10px rgba(0, 0, 0, 0.0375),
		inset 0 15px 15px -10px rgba(255, 255, 255, 0.225);
	border-bottom: 1px solid transparent;
	border-image: radial-gradient(
		circle farthest-corner at 10% 100%,
		#86adc0 0%,
		#3f82ae 30%,
		#18557b 70%,
		#0a3b59 100%
	) 1;
	position: relative;
	z-index: 100;
}

.header-grid {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
}

/* --- Logo --- */

.header-logo {
	position: relative;
	z-index: 10;
	align-self: start;
	line-height: 0;
}

.custom-logo {
	width: var(--logo-size);
	height: var(--logo-size);
	object-fit: contain;
	display: block;
	position: relative;
	z-index: 2;
	filter: drop-shadow(3px 3px 4px rgba(53, 48, 11, 0.4));
}

.custom-logo-link {
	display: block;
	width: var(--logo-size);
	height: var(--logo-size);
	position: relative;
}

.custom-logo-link::after {
	content: '';
	position: absolute;
	top: -4px;
	left: -4px;
	width: calc(var(--logo-size) + 8px);
	height: calc(var(--logo-size) + 8px);
	border-radius: 50%;
	background: radial-gradient(
		circle at 30% 30%,
		rgba(255, 255, 255, 0.85) 0%,
		rgba(255, 255, 255, 0.4) 30%,
		rgba(255, 255, 255, 0.1) 55%,
		rgba(255, 255, 255, 0) 100%
	);
	pointer-events: none;
	z-index: 1;
}

/* --- Header right (2 rows + gap) --- */

.header-right {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: calc(var(--header-height) - var(--header-pad-top) * 2);
	min-width: 0;
}

.hr-row {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 15px;
	min-width: 0;
	flex-shrink: 0;
}

.hr-row-top {
	height: 25px;
}

.hr-row-bottom {
	height: 35px;
}

/* --- Social icons --- */

.header-social,
.header-lang {
	list-style: none;
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 0;
	align-items: center;
}

.header-social--mobile {
	display: none !important;
}

.header-social a {
	color: var(--color-crema);
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	transition: background 0.2s ease;
}

.header-social a:hover {
	background: rgba(255, 255, 255, 0.25);
}

.header-social svg {
	display: block;
	width: 14px;
	height: 14px;
}

/* --- Language --- */

.header-lang a {
	color: var(--color-crema);
	text-decoration: none;
	font-size: 0.85rem;
}

/* --- Main navigation --- */

.main-navigation ul {
	list-style: none;
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.main-navigation a {
	color: var(--color-crema);
	text-decoration: none;
	display: flex;
	align-items: center;
	height: 35px;
	padding: 0 12px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.1);
	font-size: 0.9rem;
	transition: background 0.2s ease;
}

.main-navigation a:hover {
	background: rgba(255, 255, 255, 0.25);
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	background: rgba(255, 255, 255, 0.2);
	border-bottom: 2px solid var(--color-crema);
}

/* --- Hamburger --- */

.menu-hamburger {
	display: none;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	cursor: pointer;
	height: 35px;
	padding: 0 12px;
	border-radius: 6px;
	color: var(--color-crema);
	font-size: 0.9rem;
	font-family: var(--font-title);
	font-weight: 500;
	transition: background 0.2s ease;
	align-items: center;
	gap: 8px;
}

.menu-hamburger:hover {
	background: rgba(255, 255, 255, 0.25);
}

.menu-hamburger .hamburger-icon {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.menu-hamburger .hamburger-icon span {
	display: block;
	width: 16px;
	height: 2px;
	background: var(--color-crema);
	border-radius: 2px;
}

/* --- Nav collapsed --- */

.nav-collapsed .main-navigation {
	display: none;
}

.nav-collapsed .menu-hamburger {
	display: flex;
}

/* =============================================
   Sidebar menu
   ============================================= */

.sidebar-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(59, 122, 163, 0.3);
	backdrop-filter: blur(2px);
	z-index: 998;
}

.sidebar-overlay.is-active {
	display: block;
}

.sidebar-menu {
	position: fixed;
	top: 0;
	right: 0;
	width: 300px;
	height: 100%;
	background: var(--color-crema-light);
	border-left: 1px solid var(--color-crema-dark);
	box-shadow: -8px 0 30px rgba(59, 122, 163, 0.15);
	z-index: 999;
	padding: 70px 30px 30px;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	overflow-y: auto;
	visibility: hidden;
}

.sidebar-menu.is-active {
	transform: translateX(0);
	visibility: visible;
}

.sidebar-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: var(--color-azul);
	border: none;
	color: var(--color-crema);
	cursor: pointer;
	font-size: 0.8rem;
	font-family: var(--font-title);
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 6px;
	transition: background 0.2s ease;
}

.sidebar-close:hover {
	background: var(--color-azul-dark);
}

.sidebar-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar-nav li {
	border-bottom: none;
}

.sidebar-nav a {
	display: block;
	padding: 10px 15px;
	margin-bottom: 4px;
	color: var(--color-oliva);
	text-decoration: none;
	font-size: 0.95rem;
	font-family: var(--font-title);
	font-weight: 600;
	border-radius: 6px;
	transition: background 0.2s ease, color 0.2s ease;
}

.sidebar-nav a:hover {
	background: rgba(79, 163, 217, 0.1);
	color: var(--color-azul-dark);
}

.sidebar-nav .current-menu-item > a,
.sidebar-nav .current_page_item > a {
	background: var(--color-azul);
	color: var(--color-crema);
}

/* =============================================
   Language button
   ============================================= */

.bec-lang-menu-item {
	list-style: none;
}

.bec-lang-button {
	display: inline-flex;
	align-items: stretch;
	height: 25px;
	min-width: 152px;
	border-radius: 5px;
	overflow: hidden;
	text-decoration: none;
	background: var(--color-crema);
	box-shadow: 0 6px 14px rgba(53, 48, 11, 0.10);
	transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.bec-lang-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(53, 48, 11, 0.14);
	opacity: 0.95;
}

.bec-lang-button__text {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	padding: 0 14px 0 13px;
	background: var(--color-crema);
	color: var(--color-oliva);
	font-size: 0.62rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.bec-lang-button__flag {
	position: relative;
	display: inline-block;
	flex: 0 0 43px;
	width: 43px;
	height: 100%;
	margin-left: -6px;
	clip-path: polygon(13px 0, 100% 0, 100% 100%, 0 100%);
}

.bec-lang-flag--ca {
	background: linear-gradient(to bottom,
		#f6c343 0%, #f6c343 11.11%, #d71920 11.11%, #d71920 22.22%,
		#f6c343 22.22%, #f6c343 33.33%, #d71920 33.33%, #d71920 44.44%,
		#f6c343 44.44%, #f6c343 55.55%, #d71920 55.55%, #d71920 66.66%,
		#f6c343 66.66%, #f6c343 77.77%, #d71920 77.77%, #d71920 88.88%,
		#f6c343 88.88%, #f6c343 100%);
}

.bec-lang-flag--es {
	background: linear-gradient(to bottom,
		#aa151b 0%, #aa151b 25%, #f1bf00 25%, #f1bf00 75%, #aa151b 75%, #aa151b 100%);
}

/* =============================================
   Breakpoint xs (max 576px)
   ============================================= */

@media (max-width: 576px) {
	:root {
		--logo-size: 130px;
		--header-height: 96px;
		--logo-overhang: 49px;
	}

	.hr-row-top .header-social {
		display: none;
	}

	.header-social--mobile {
		display: flex !important;
		gap: 6px;
	}

	.hr-row-bottom {
		height: 30px;
	}

	.main-navigation a,
	.menu-hamburger {
		height: 30px;
	}
}


/* =============================================
   UTILITIES — Barcelona Estels Club
   Base: 15px | Niveles: 1-6 (15, 30, 45, 60, 75, 90)
   ============================================= */

/* --- Spacing: margin --- */
.m-0  { margin: 0 !important; }
.m-1  { margin: 15px !important; }
.m-2  { margin: 30px !important; }
.m-3  { margin: 45px !important; }
.m-4  { margin: 60px !important; }
.m-5  { margin: 75px !important; }
.m-6  { margin: 90px !important; }
.m-auto { margin: auto !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 15px !important; }
.mt-2 { margin-top: 30px !important; }
.mt-3 { margin-top: 45px !important; }
.mt-4 { margin-top: 60px !important; }
.mt-5 { margin-top: 75px !important; }
.mt-6 { margin-top: 90px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 15px !important; }
.mb-2 { margin-bottom: 30px !important; }
.mb-3 { margin-bottom: 45px !important; }
.mb-4 { margin-bottom: 60px !important; }
.mb-5 { margin-bottom: 75px !important; }
.mb-6 { margin-bottom: 90px !important; }

.ms-0 { margin-left: 0 !important; }
.ms-1 { margin-left: 15px !important; }
.ms-2 { margin-left: 30px !important; }
.ms-3 { margin-left: 45px !important; }
.ms-4 { margin-left: 60px !important; }
.ms-5 { margin-left: 75px !important; }
.ms-6 { margin-left: 90px !important; }
.ms-auto { margin-left: auto !important; }

.me-0 { margin-right: 0 !important; }
.me-1 { margin-right: 15px !important; }
.me-2 { margin-right: 30px !important; }
.me-3 { margin-right: 45px !important; }
.me-4 { margin-right: 60px !important; }
.me-5 { margin-right: 75px !important; }
.me-6 { margin-right: 90px !important; }
.me-auto { margin-right: auto !important; }

.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-1 { margin-left: 15px !important; margin-right: 15px !important; }
.mx-2 { margin-left: 30px !important; margin-right: 30px !important; }
.mx-3 { margin-left: 45px !important; margin-right: 45px !important; }
.mx-4 { margin-left: 60px !important; margin-right: 60px !important; }
.mx-5 { margin-left: 75px !important; margin-right: 75px !important; }
.mx-6 { margin-left: 90px !important; margin-right: 90px !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: 15px !important; margin-bottom: 15px !important; }
.my-2 { margin-top: 30px !important; margin-bottom: 30px !important; }
.my-3 { margin-top: 45px !important; margin-bottom: 45px !important; }
.my-4 { margin-top: 60px !important; margin-bottom: 60px !important; }
.my-5 { margin-top: 75px !important; margin-bottom: 75px !important; }
.my-6 { margin-top: 90px !important; margin-bottom: 90px !important; }

/* --- Spacing: padding --- */
.p-0  { padding: 0 !important; }
.p-1  { padding: 15px !important; }
.p-2  { padding: 30px !important; }
.p-3  { padding: 45px !important; }
.p-4  { padding: 60px !important; }
.p-5  { padding: 75px !important; }
.p-6  { padding: 90px !important; }

.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 15px !important; }
.pt-2 { padding-top: 30px !important; }
.pt-3 { padding-top: 45px !important; }
.pt-4 { padding-top: 60px !important; }
.pt-5 { padding-top: 75px !important; }
.pt-6 { padding-top: 90px !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 15px !important; }
.pb-2 { padding-bottom: 30px !important; }
.pb-3 { padding-bottom: 45px !important; }
.pb-4 { padding-bottom: 60px !important; }
.pb-5 { padding-bottom: 75px !important; }
.pb-6 { padding-bottom: 90px !important; }

.ps-0 { padding-left: 0 !important; }
.ps-1 { padding-left: 15px !important; }
.ps-2 { padding-left: 30px !important; }
.ps-3 { padding-left: 45px !important; }
.ps-4 { padding-left: 60px !important; }
.ps-5 { padding-left: 75px !important; }
.ps-6 { padding-left: 90px !important; }

.pe-0 { padding-right: 0 !important; }
.pe-1 { padding-right: 15px !important; }
.pe-2 { padding-right: 30px !important; }
.pe-3 { padding-right: 45px !important; }
.pe-4 { padding-right: 60px !important; }
.pe-5 { padding-right: 75px !important; }
.pe-6 { padding-right: 90px !important; }

.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-1 { padding-left: 15px !important; padding-right: 15px !important; }
.px-2 { padding-left: 30px !important; padding-right: 30px !important; }
.px-3 { padding-left: 45px !important; padding-right: 45px !important; }
.px-4 { padding-left: 60px !important; padding-right: 60px !important; }
.px-5 { padding-left: 75px !important; padding-right: 75px !important; }
.px-6 { padding-left: 90px !important; padding-right: 90px !important; }

.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: 15px !important; padding-bottom: 15px !important; }
.py-2 { padding-top: 30px !important; padding-bottom: 30px !important; }
.py-3 { padding-top: 45px !important; padding-bottom: 45px !important; }
.py-4 { padding-top: 60px !important; padding-bottom: 60px !important; }
.py-5 { padding-top: 75px !important; padding-bottom: 75px !important; }
.py-6 { padding-top: 90px !important; padding-bottom: 90px !important; }

/* --- Display --- */
.d-none         { display: none !important; }
.d-inline       { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-block        { display: block !important; }
.d-flex         { display: flex !important; }
.d-inline-flex  { display: inline-flex !important; }
.d-grid         { display: grid !important; }

/* Display responsive: sm (576px) */
@media (min-width: 576px) {
	.d-sm-none         { display: none !important; }
	.d-sm-inline       { display: inline !important; }
	.d-sm-inline-block { display: inline-block !important; }
	.d-sm-block        { display: block !important; }
	.d-sm-flex         { display: flex !important; }
	.d-sm-inline-flex  { display: inline-flex !important; }
	.d-sm-grid         { display: grid !important; }
}

/* Display responsive: md (768px) */
@media (min-width: 768px) {
	.d-md-none         { display: none !important; }
	.d-md-inline       { display: inline !important; }
	.d-md-inline-block { display: inline-block !important; }
	.d-md-block        { display: block !important; }
	.d-md-flex         { display: flex !important; }
	.d-md-inline-flex  { display: inline-flex !important; }
	.d-md-grid         { display: grid !important; }
}

/* Display responsive: lg (992px) */
@media (min-width: 992px) {
	.d-lg-none         { display: none !important; }
	.d-lg-inline       { display: inline !important; }
	.d-lg-inline-block { display: inline-block !important; }
	.d-lg-block        { display: block !important; }
	.d-lg-flex         { display: flex !important; }
	.d-lg-inline-flex  { display: inline-flex !important; }
	.d-lg-grid         { display: grid !important; }
}

/* Display responsive: xl (1200px) */
@media (min-width: 1200px) {
	.d-xl-none         { display: none !important; }
	.d-xl-inline       { display: inline !important; }
	.d-xl-inline-block { display: inline-block !important; }
	.d-xl-block        { display: block !important; }
	.d-xl-flex         { display: flex !important; }
	.d-xl-inline-flex  { display: inline-flex !important; }
	.d-xl-grid         { display: grid !important; }
}

/* Display responsive: xxl (1400px) */
@media (min-width: 1400px) {
	.d-xxl-none         { display: none !important; }
	.d-xxl-inline       { display: inline !important; }
	.d-xxl-inline-block { display: inline-block !important; }
	.d-xxl-block        { display: block !important; }
	.d-xxl-flex         { display: flex !important; }
	.d-xxl-inline-flex  { display: inline-flex !important; }
	.d-xxl-grid         { display: grid !important; }
}

/* =====================================================================
   BEC SHARED — estilos genéricos comunes a las páginas con diseño "bec"
   (contacto, catálogo, gestión cultural, eventos…).
   Centraliza primitivas reutilizables para no duplicar CSS por página.
   Cada plantilla añade la clase `bec-page` a su <main>.
   ===================================================================== */

/* --- Clearance del logo para páginas genéricas (empiezan con un H1) ---
   Las páginas "bec" ya tienen su propio padding; las genéricas (page.php)
   solo tienen el de .site-content, menor que el saliente del logo. */
.site-content .entry-content {
	padding-top: clamp(1.6rem, 3.5vw, 2.8rem);
}

/* --- Envoltorio de página --- */
.bec-page {
	position: relative;
	padding: clamp(2.5rem, 5vw, 5rem) 0 4rem;
}

.bec-page *,
.bec-page *::before,
.bec-page *::after { box-sizing: border-box; }

.bec-page h1,
.bec-page h2,
.bec-page h3 { margin-top: 0; font-family: var(--font-title); }

.bec-page p { margin-top: 0; font-family: var(--font-body); }

.bec-page > .container { margin-bottom: 1.5rem; }

/* --- Eyebrow --- */
.bec-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 0.85rem;
	color: var(--color-azul-dark);
	font-family: var(--font-title);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bec-eyebrow::before {
	content: "";
	width: 0.72rem;
	height: 0.72rem;
	border-radius: 999px;
	background: var(--color-amarillo);
	border: 2px solid var(--color-azul);
	box-shadow: 0 0 0 3px rgba(247, 234, 34, 0.22);
}

/* --- Botones --- */
.bec-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.85rem;
	padding: 0.78rem 1.3rem;
	border-radius: 999px;
	border: 2px solid transparent;
	font-family: var(--font-title);
	font-weight: 900;
	font-size: 0.88rem;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.bec-btn:hover { transform: translateY(-2px); }

.bec-btn--primary {
	color: var(--color-oliva);
	background: var(--color-amarillo);
	box-shadow: 0 10px 24px rgba(53, 48, 11, 0.14);
}

.bec-btn--primary:hover { box-shadow: 0 16px 34px rgba(53, 48, 11, 0.22); }

.bec-btn--secondary {
	color: var(--color-azul-dark);
	background: #fff;
	border-color: rgba(79, 163, 217, 0.22);
}

.bec-btn--secondary:hover {
	border-color: var(--color-azul);
	box-shadow: 0 10px 24px rgba(79, 163, 217, 0.12);
}

.bec-btn--sm {
	min-height: 2.35rem;
	padding: 0.55rem 0.95rem;
	font-size: 0.78rem;
}

/* --- Hero genérico (contacto / gestión cultural / eventos) --- */
.bec-contact-hero,
.bec-gc-hero,
.bec-ev-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
	gap: clamp(1.5rem, 3vw, 3rem);
	align-items: stretch;
	margin-bottom: 1.5rem;
}

.bec-contact-hero__content,
.bec-gc-hero__content,
.bec-ev-hero__content {
	position: relative;
	overflow: hidden;
	padding: clamp(2rem, 4vw, 3.8rem);
	border-radius: 2rem;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7)),
		linear-gradient(135deg, rgba(79, 163, 217, 0.16), rgba(247, 234, 34, 0.16));
	border: 1px solid rgba(255, 255, 255, 0.8);
	box-shadow: 0 22px 60px rgba(59, 122, 163, 0.16);
}

.bec-contact-hero__content::before,
.bec-gc-hero__content::before,
.bec-ev-hero__content::before {
	content: "";
	position: absolute;
	left: -5rem; top: -5rem;
	width: 13rem; height: 13rem;
	border-radius: 50%;
	background: rgba(247, 234, 34, 0.24);
	pointer-events: none;
}

.bec-contact-hero__content::after,
.bec-gc-hero__content::after,
.bec-ev-hero__content::after {
	content: "";
	position: absolute;
	right: -5rem; bottom: -6rem;
	width: 18rem; height: 18rem;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(167, 100, 169, 0.24), transparent 62%);
	pointer-events: none;
}

.bec-contact-hero__content > *,
.bec-gc-hero__content > *,
.bec-ev-hero__content > * { position: relative; z-index: 1; }

.bec-contact-hero h1,
.bec-gc-hero h1,
.bec-ev-hero h1 {
	max-width: 760px;
	color: var(--color-oliva);
	font-size: clamp(2.4rem, 5vw, 4.6rem);
	line-height: 0.96;
	letter-spacing: -0.065em;
	margin-bottom: 1rem;
}

.bec-contact-hero__lead,
.bec-gc-hero__lead,
.bec-ev-hero__lead {
	max-width: 780px;
	color: rgba(53, 48, 11, 0.78);
	font-size: clamp(1.05rem, 1.4vw, 1.28rem);
	line-height: 1.7;
	margin-bottom: 1.6rem;
}

.bec-contact-hero__actions,
.bec-gc-hero__actions,
.bec-ev-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.bec-contact-hero__card,
.bec-gc-hero__card,
.bec-ev-hero__card {
	padding: 1.7rem;
	border-radius: 2rem;
	color: #fff;
	background:
		radial-gradient(circle at 100% 0%, rgba(247, 234, 34, 0.22), transparent 13rem),
		linear-gradient(160deg, var(--color-azul) 0%, var(--color-azul-dark) 100%);
	box-shadow: 0 22px 60px rgba(59, 122, 163, 0.16);
}

.bec-contact-hero__card h2,
.bec-gc-hero__card h2,
.bec-ev-hero__card h2 { color: #fff; font-size: 1.42rem; line-height: 1.12; margin-bottom: 1rem; }

.bec-contact-hero__card ul,
.bec-gc-hero__card ul,
.bec-ev-hero__card ul { display: grid; gap: 0.9rem; list-style: none; margin: 0; padding: 0; }

.bec-contact-hero__card li,
.bec-gc-hero__card li,
.bec-ev-hero__card li {
	padding-bottom: 0.85rem;
	color: rgba(255, 255, 255, 0.86);
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
	line-height: 1.5;
	font-size: 0.94rem;
}

.bec-contact-hero__card li:last-child,
.bec-gc-hero__card li:last-child,
.bec-ev-hero__card li:last-child { border-bottom: 0; padding-bottom: 0; }

.bec-contact-hero__card strong,
.bec-gc-hero__card strong,
.bec-ev-hero__card strong { display: block; margin-bottom: 0.16rem; color: var(--color-amarillo); }

/* --- Encabezado de sección genérico --- */
.bec-gc-section-head,
.bec-gc-steam__head,
.bec-ev-section-head { margin-bottom: 1.1rem; }

.bec-gc-steam__head { max-width: 60rem; }

.bec-gc-section-head h2,
.bec-gc-steam__head h2,
.bec-ev-section-head h2 {
	font-size: clamp(1.6rem, 2.8vw, 2.4rem);
	line-height: 1.08;
	letter-spacing: -0.04em;
	margin-bottom: 0.5rem;
}

.bec-gc-steam__head p {
	color: rgba(53, 48, 11, 0.75);
	line-height: 1.7;
	margin-bottom: 0;
}

/* --- FAQ --- */
.bec-faq-item {
	padding: clamp(1rem, 2vw, 1.4rem) clamp(1.1rem, 2vw, 1.6rem);
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(53, 48, 11, 0.1);
	box-shadow: 0 8px 24px rgba(53, 48, 11, 0.05);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.bec-faq-item + .bec-faq-item { margin-top: 0.8rem; }

.bec-faq-item:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(53, 48, 11, 0.1); }

.bec-faq-item__q {
	position: relative;
	margin: 0;
	padding-left: 1.8rem;
	font-size: clamp(1rem, 1.8vw, 1.12rem);
	color: var(--color-azul-dark);
}

.bec-faq-item__q::before {
	content: "?";
	position: absolute;
	left: 0; top: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.3rem; height: 1.3rem;
	border-radius: 50%;
	background: var(--color-amarillo);
	color: var(--color-oliva);
	font-size: 0.85rem;
	font-weight: 900;
	line-height: 1;
}

.bec-faq-item__a {
	margin: 0.6rem 0 0;
	padding-left: 1.8rem;
	font-size: 0.94rem;
	line-height: 1.65;
	color: rgba(53, 48, 11, 0.78);
}

/* --- Newsletter + formularios --- */
.bec-newsletter-section {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: center;
	padding: clamp(1.5rem, 3vw, 2.4rem);
	border-radius: 2rem;
	background:
		linear-gradient(135deg, rgba(88, 175, 99, 0.14), rgba(79, 163, 217, 0.1)),
		var(--color-crema-light);
	border: 1px solid rgba(88, 175, 99, 0.22);
	box-shadow: 0 18px 48px rgba(88, 175, 99, 0.1);
}

.bec-newsletter-section h2 {
	font-size: clamp(1.6rem, 3vw, 2.7rem);
	line-height: 1.05;
	letter-spacing: -0.045em;
	margin-bottom: 0.75rem;
}

.bec-newsletter-section p { color: rgba(53, 48, 11, 0.72); line-height: 1.62; margin-bottom: 0; }

.bec-newsletter-form,
.bec-contact-form { display: grid; gap: 1rem; }

.bec-form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.95rem; }

.bec-page label {
	display: grid;
	gap: 0.42rem;
	color: var(--color-oliva);
	font-family: var(--font-title);
	font-size: 0.9rem;
	font-weight: 800;
}

.bec-page input,
.bec-page select,
.bec-page textarea {
	width: 100%;
	min-height: 3rem;
	padding: 0.8rem 0.95rem;
	border: 1px solid rgba(53, 48, 11, 0.22);
	border-radius: 0.9rem;
	background: var(--color-crema-light);
	color: var(--color-oliva);
	font-family: var(--font-body);
	font-size: 0.95rem;
	outline: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.bec-page textarea { resize: vertical; line-height: 1.55; }

.bec-page input:focus,
.bec-page select:focus,
.bec-page textarea:focus {
	border-color: var(--color-azul);
	box-shadow: 0 0 0 4px rgba(79, 163, 217, 0.18);
	background: #fff;
}

.bec-page input[type="file"] { padding: 0.65rem; background: #fff; }

.bec-checkbox-group { display: grid; gap: 0.65rem; }

.bec-checkbox-group label {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.6rem;
	align-items: start;
	color: rgba(53, 48, 11, 0.72);
	font-size: 0.86rem;
	font-weight: 600;
	line-height: 1.45;
}

.bec-checkbox-group input { width: 1rem; min-height: 1rem; margin-top: 0.15rem; accent-color: var(--color-azul); }

.bec-form-help {
	margin-top: -0.4rem;
	color: rgba(53, 48, 11, 0.62);
	font-size: 0.86rem;
	line-height: 1.45;
}

.bec-form-error {
	display: none;
	padding: 0.8rem 1rem;
	border-radius: 0.9rem;
	color: var(--color-rojo-dark);
	background: rgba(214, 26, 26, 0.08);
	border: 1px solid rgba(214, 26, 26, 0.18);
	font-size: 0.9rem;
	font-weight: 700;
}

.bec-form-error.is-visible { display: block; }

/* --- CTA final genérico (catálogo / gestión cultural) --- */
.bec-gallery-cta,
.bec-gc-cta {
	text-align: center;
	padding: clamp(2rem, 4vw, 3rem);
	border-radius: 2rem;
	background:
		radial-gradient(circle at 100% 0%, rgba(247, 234, 34, 0.16), transparent 14rem),
		var(--color-azul-dark);
	color: #fff;
	box-shadow: 0 22px 60px rgba(59, 122, 163, 0.16);
}

.bec-gallery-cta h2,
.bec-gc-cta h2 {
	color: #fff;
	font-size: clamp(1.5rem, 3vw, 2.4rem);
	line-height: 1.08;
	margin-bottom: 0.6rem;
}

.bec-gallery-cta p,
.bec-gc-cta p {
	max-width: 40rem;
	margin: 0 auto 1.4rem;
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.6;
}

.bec-gallery-cta__actions,
.bec-gc-cta__actions {
	display: flex;
	gap: 0.7rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* --- Responsive compartido --- */
@media (max-width: 980px) {
	.bec-contact-hero,
	.bec-gc-hero,
	.bec-ev-hero,
	.bec-newsletter-section { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.bec-page { padding-inline: 1rem; }

	.bec-contact-hero__content,
	.bec-gc-hero__content,
	.bec-ev-hero__content,
	.bec-contact-hero__card,
	.bec-gc-hero__card,
	.bec-ev-hero__card,
	.bec-newsletter-section,
	.bec-gallery-cta,
	.bec-gc-cta { border-radius: 1.35rem; }

	.bec-form-row { grid-template-columns: 1fr; }

	.bec-gallery-cta__actions .bec-btn,
	.bec-gc-cta__actions .bec-btn,
	.bec-contact-hero__actions .bec-btn,
	.bec-gc-hero__actions .bec-btn,
	.bec-ev-hero__actions .bec-btn { width: 100%; }
}

/* =============================================
   CONTENT STYLE — Barcelona Estels Club
   Basado en el diseño de la página de contacto.
   Solo afecta a .site-content .entry-content
   TEMPORAL: eliminar este archivo y su enqueue en
   functions.php para desactivar.
   ============================================= */

/* --- Variables de contenido --- */
.site-content .entry-content {
	--bec-shadow-soft: 0 16px 42px rgba(57, 50, 0, 0.08);
	--bec-shadow-blue: 0 22px 60px rgba(15, 95, 133, 0.16);
	--bec-border: rgba(57, 50, 0, 0.16);
	--bec-radius-xl: 2rem;
	--bec-radius-lg: 1.35rem;
	--bec-radius-md: 0.9rem;
}

/* --- Encabezados --- */
.site-content .entry-content h1.wp-block-heading {
	font-family: var(--font-title);
	font-size: clamp(2.4rem, 5.5vw, 3.6rem);
	font-weight: 800;
	color: var(--color-oliva);
	line-height: 0.95;
	letter-spacing: -0.06em;
	margin-bottom: 24px;
}

.site-content .entry-content h2.wp-block-heading {
	font-family: var(--font-title);
	font-size: clamp(1.5rem, 3.5vw, 2.2rem);
	font-weight: 800;
	color: var(--color-oliva);
	line-height: 1.08;
	letter-spacing: -0.04em;
	margin-top: 8px;
	margin-bottom: 16px;
	display: block;
}

.site-content .entry-content h3.wp-block-heading {
	font-family: var(--font-title);
	font-size: 1.08rem;
	font-weight: 800;
	color: var(--color-oliva);
	line-height: 1.2;
	margin-bottom: 6px;
}

/* --- Párrafos --- */
.site-content .entry-content > p.wp-block-paragraph {
	font-size: 1.02rem;
	line-height: 1.72;
	color: rgba(53, 48, 11, 0.76);
	margin-bottom: 18px;
}

/* --- Texto handwriting (eyebrow) --- */
.site-content .entry-content p.font-hand {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--color-azul-dark);
	font-weight: 900;
	letter-spacing: 0.02em;
	margin-bottom: 10px;
	position: relative;
	padding-left: 20px;
}

.site-content .entry-content p.font-hand::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--color-amarillo);
	border: 2px solid var(--color-azul);
	box-shadow: 0 0 0 3px rgba(247, 234, 34, 0.22);
}

/* --- Separadores --- */
.site-content .entry-content hr.wp-block-separator {
	border: none;
	height: 0;
	border-top: 1px dashed var(--bec-border);
	margin: 36px 0;
}

/* --- Columnas (tarjetas glass) --- */
.site-content .entry-content .wp-block-columns {
	gap: 18px;
	margin-bottom: 24px;
	max-width: 100%;
	overflow: hidden;
}

.site-content .entry-content .wp-block-column {
	padding: 1.3rem;
	border: 1px dashed var(--bec-border);
	border-radius: var(--bec-radius-lg);
	background: rgba(255, 255, 255, 0.66);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 8px 24px rgba(57, 50, 0, 0.04);
	min-width: 0;
	position: relative;
	transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.site-content .entry-content .wp-block-column:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 36px rgba(57, 50, 0, 0.08);
	border-color: rgba(79, 163, 217, 0.3);
}

.site-content .entry-content .wp-block-column h3 {
	font-size: 1.05rem;
	margin-bottom: 0.35rem;
}

.site-content .entry-content .wp-block-column p {
	color: rgba(53, 48, 11, 0.7);
	font-size: 0.92rem;
	line-height: 1.6;
	margin-bottom: 0;
}

/* Colores alternos h3 en columnas */
.site-content .entry-content .wp-block-columns .wp-block-column:nth-child(1) h3 {
	color: var(--color-azul-dark);
}

.site-content .entry-content .wp-block-columns .wp-block-column:nth-child(2) h3 {
	color: var(--color-verde-dark);
}

.site-content .entry-content .wp-block-columns .wp-block-column:nth-child(3) h3 {
	color: var(--color-naranja-dark);
}

.site-content .entry-content .wp-block-columns .wp-block-column:nth-child(4) h3 {
	color: var(--color-lila-dark);
}

/* Hover alterno por columna */
.site-content .entry-content .wp-block-columns .wp-block-column:nth-child(1):hover {
	border-color: rgba(79, 163, 217, 0.35);
}

.site-content .entry-content .wp-block-columns .wp-block-column:nth-child(2):hover {
	border-color: rgba(88, 175, 99, 0.35);
}

.site-content .entry-content .wp-block-columns .wp-block-column:nth-child(3):hover {
	border-color: rgba(242, 138, 75, 0.35);
}

.site-content .entry-content .wp-block-columns .wp-block-column:nth-child(4):hover {
	border-color: rgba(167, 100, 169, 0.35);
}

/* Tag/badge en columnas (simulado con el primer párrafo pequeño si existe) */
.site-content .entry-content .wp-block-column h3::before {
	content: none;
}

/* --- Listas --- */
.site-content .entry-content ul.wp-block-list,
.site-content .entry-content ol.wp-block-list {
	padding-left: 0;
	list-style: none;
	margin-bottom: 20px;
}

.site-content .entry-content ul.wp-block-list li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 8px;
	font-size: 0.95rem;
	line-height: 1.6;
	color: rgba(53, 48, 11, 0.72);
}

.site-content .entry-content ul.wp-block-list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--color-verde);
	color: var(--color-crema);
	font-size: 0.65rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.site-content .entry-content ol.wp-block-list {
	counter-reset: ol-counter;
}

.site-content .entry-content ol.wp-block-list li {
	position: relative;
	padding: 0.9rem 1rem 0.9rem 3.2rem;
	margin-bottom: 10px;
	font-size: 0.95rem;
	line-height: 1.55;
	color: rgba(53, 48, 11, 0.72);
	counter-increment: ol-counter;
	border-radius: var(--bec-radius-md);
	background: rgba(79, 163, 217, 0.08);
	border-left: 4px solid var(--color-azul);
}

.site-content .entry-content ol.wp-block-list li::before {
	content: counter(ol-counter);
	position: absolute;
	left: 0.8rem;
	top: 0.85rem;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--color-azul);
	color: var(--color-crema);
	font-family: var(--font-title);
	font-size: 0.75rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

/* --- Botones --- */
.site-content .entry-content .wp-block-buttons {
	margin-bottom: 12px;
	gap: 12px;
}

.site-content .entry-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.85rem;
	padding: 0.78rem 1.3rem;
	border-radius: 999px;
	border: 2px solid transparent;
	font-family: var(--font-title);
	font-weight: 900;
	font-size: 0.88rem;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.site-content .entry-content .wp-block-button__link:hover {
	transform: translateY(-2px);
}

/* Botón fill (primary = amarillo) */
.site-content .entry-content .wp-block-button.is-style-fill .wp-block-button__link {
	color: var(--color-oliva);
	background: var(--color-amarillo);
	box-shadow: 0 10px 24px rgba(57, 50, 0, 0.14);
}

.site-content .entry-content .wp-block-button.is-style-fill .wp-block-button__link:hover {
	box-shadow: 0 16px 34px rgba(57, 50, 0, 0.22);
}

/* Botón outline (secondary = blanco con borde) */
.site-content .entry-content .wp-block-button.is-style-outline .wp-block-button__link {
	color: var(--color-azul-dark);
	background: #fff;
	border-color: rgba(79, 163, 217, 0.22);
}

.site-content .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--color-azul);
	box-shadow: 0 10px 24px rgba(79, 163, 217, 0.12);
}

/* Botón por defecto */
.site-content .entry-content .wp-block-button:not(.is-style-fill):not(.is-style-outline) .wp-block-button__link {
	color: var(--color-oliva);
	background: var(--color-amarillo);
	box-shadow: 0 10px 24px rgba(57, 50, 0, 0.14);
}

.site-content .entry-content .wp-block-button:not(.is-style-fill):not(.is-style-outline) .wp-block-button__link:hover {
	box-shadow: 0 16px 34px rgba(57, 50, 0, 0.22);
}

/* --- Imágenes --- */
.site-content .entry-content .wp-block-image {
	border-radius: var(--bec-radius-xl);
	overflow: hidden;
	box-shadow: var(--bec-shadow-soft);
	margin-bottom: 24px;
}

.site-content .entry-content .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

/* --- Grupo / Cover --- */
.site-content .entry-content .wp-block-group.has-background,
.site-content .entry-content .wp-block-cover {
	border-radius: var(--bec-radius-xl);
	padding: 2rem 1.8rem;
	margin-bottom: 24px;
}

/* --- Blog cards (home.php) --- */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

.blog-card {
	border: 1px dashed var(--bec-border);
	border-radius: var(--bec-radius-lg);
	background: rgba(255, 255, 255, 0.66);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(57, 50, 0, 0.04);
	transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.blog-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 36px rgba(57, 50, 0, 0.08);
	border-color: rgba(79, 163, 217, 0.3);
}

.blog-card__image img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.blog-card__body {
	padding: 1.2rem;
}

.blog-card__title {
	font-family: var(--font-title);
	font-size: 1.12rem;
	font-weight: 800;
	margin: 0 0 8px;
	line-height: 1.2;
}

.blog-card__title a {
	color: var(--color-oliva);
	text-decoration: none;
	transition: color 0.2s;
}

.blog-card__title a:hover {
	color: var(--color-azul-dark);
}

.blog-card__excerpt {
	font-size: 0.9rem;
	line-height: 1.6;
	color: rgba(53, 48, 11, 0.7);
	margin-bottom: 12px;
}

.blog-card__excerpt p {
	margin: 0;
}

.blog-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-family: var(--font-title);
	font-weight: 900;
	font-size: 0.82rem;
	color: var(--color-azul-dark);
	text-decoration: none;
	transition: color 0.2s;
}

.blog-card__link:hover {
	color: var(--color-azul);
}

/* --- 404 --- */
.error-404 {
	text-align: center;
	padding: 80px 20px;
}

.error-404 .entry-title {
	font-family: var(--font-title);
	font-size: 6rem;
	font-weight: 800;
	color: var(--color-azul-light);
	line-height: 0.9;
	letter-spacing: -0.06em;
	margin-bottom: 12px;
}

.error-404 p {
	font-size: 1.1rem;
	color: rgba(53, 48, 11, 0.72);
	margin-bottom: 24px;
}

.error-404 a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.85rem;
	padding: 0.78rem 1.3rem;
	border-radius: 999px;
	font-family: var(--font-title);
	font-weight: 900;
	font-size: 0.9rem;
	color: var(--color-oliva);
	background: var(--color-amarillo);
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(57, 50, 0, 0.14);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.error-404 a:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(57, 50, 0, 0.22);
}

/* --- Single post --- */
.site-content .entry-title {
	font-family: var(--font-title);
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 800;
	color: var(--color-oliva);
	line-height: 1;
	letter-spacing: -0.05em;
	margin-bottom: 14px;
}

.site-content .entry-meta {
	font-size: 0.85rem;
	color: rgba(53, 48, 11, 0.72);
	margin-bottom: 24px;
	display: flex;
	gap: 8px;
	align-items: center;
}

.site-content .entry-meta time,
.site-content .entry-meta .entry-author {
	display: inline-flex;
	padding: 0.34rem 0.65rem;
	border-radius: 999px;
	color: var(--color-azul-dark);
	background: rgba(79, 163, 217, 0.14);
	font-size: 0.77rem;
	font-weight: 900;
}

.site-content .entry-thumbnail {
	border-radius: var(--bec-radius-xl);
	overflow: hidden;
	margin-bottom: 28px;
	box-shadow: var(--bec-shadow-soft);
}

.site-content .entry-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
}

/* --- Responsive --- */
@media (max-width: 768px) {
	.site-content .entry-content .wp-block-columns {
		flex-wrap: wrap !important;
	}

	.site-content .entry-content .wp-block-column {
		flex-basis: 100% !important;
	}

	.site-content .entry-content hr.wp-block-separator {
		margin: 28px 0;
	}

	.site-content .entry-content .wp-block-button__link {
		width: 100%;
	}

	.blog-grid {
		grid-template-columns: 1fr;
	}
}

/* =============================================
   CONTACT PAGE — solo estilos propios.
   Lo común (página, hero, eyebrow, botones, newsletter,
   formularios, FAQ) está en bec-shared.css.
   ============================================= */

/* --- Tarjetas rápidas (highlights) --- */
.bec-contact-highlights {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.85rem;
	margin-bottom: 1.5rem;
}

.bec-contact-highlights article {
	padding: 1.2rem;
	border: 1px dashed rgba(53, 48, 11, 0.16);
	border-radius: 1.35rem;
	background: rgba(255, 255, 255, 0.66);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 8px 24px rgba(53, 48, 11, 0.04);
}

.bec-contact-highlights span {
	display: inline-flex;
	margin-bottom: 0.7rem;
	padding: 0.34rem 0.65rem;
	border-radius: 999px;
	color: var(--color-azul-dark);
	background: rgba(79, 163, 217, 0.14);
	font-family: var(--font-title);
	font-size: 0.77rem;
	font-weight: 900;
}

.bec-contact-highlights h3 { font-size: 1rem; line-height: 1.22; margin-bottom: 0.35rem; }
.bec-contact-highlights p { color: rgba(53, 48, 11, 0.7); font-size: 0.92rem; line-height: 1.55; margin-bottom: 0; }

/* --- Grid contacto + formulario --- */
.bec-contact-grid {
	display: grid;
	grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
	gap: 1.5rem;
	align-items: start;
}

.bec-contact-info-card,
.bec-contact-form-card {
	border-radius: 2rem;
	background: var(--color-crema-light);
	border: 1px solid rgba(53, 48, 11, 0.12);
	box-shadow: 0 16px 42px rgba(53, 48, 11, 0.08);
}

.bec-contact-info-card { position: sticky; top: 6rem; overflow: hidden; padding: clamp(1.5rem, 3vw, 2.3rem); }

.bec-contact-info-card::after {
	content: "";
	position: absolute;
	right: -3rem; bottom: -3rem;
	width: 12rem; height: 12rem;
	border-radius: 50%;
	background: rgba(247, 234, 34, 0.28);
	pointer-events: none;
}

.bec-contact-info-card > * { position: relative; z-index: 1; }

.bec-contact-info-card h2,
.bec-contact-form-card h2 {
	font-size: clamp(1.8rem, 3vw, 3rem);
	line-height: 1.05;
	letter-spacing: -0.05em;
	margin-bottom: 0.75rem;
}

.bec-contact-info-card p,
.bec-contact-form-card p { color: rgba(53, 48, 11, 0.72); line-height: 1.65; }

.bec-contact-info-list { display: grid; gap: 0.85rem; margin-top: 1.25rem; }

.bec-contact-info-list div {
	padding: 1rem;
	border-radius: 1.1rem;
	background: rgba(79, 163, 217, 0.1);
	border-left: 4px solid var(--color-azul);
}

.bec-contact-info-list strong {
	display: block;
	margin-bottom: 0.25rem;
	color: var(--color-azul-dark);
	font-family: var(--font-title);
}

.bec-contact-info-list span { color: rgba(53, 48, 11, 0.72); font-size: 0.95rem; line-height: 1.5; }

.bec-contact-form-card { padding: clamp(1.5rem, 3vw, 2.5rem); }

/* --- Bloque final --- */
.bec-contact-bottom {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: center;
	margin-top: 1.5rem;
	padding: 1.4rem 1.6rem;
	border-radius: 1.5rem;
	background:
		radial-gradient(circle at 100% 0%, rgba(247, 234, 34, 0.16), transparent 14rem),
		var(--color-azul-dark);
	color: #fff;
}

.bec-contact-bottom h2 { color: #fff; font-size: 1.25rem; margin-bottom: 0.25rem; }
.bec-contact-bottom p { color: rgba(255, 255, 255, 0.82); margin-bottom: 0; }
.bec-contact-bottom .bec-btn--secondary { flex-shrink: 0; }

/* --- Responsive --- */
@media (max-width: 980px) {
	.bec-contact-grid { grid-template-columns: 1fr; }
	.bec-contact-info-card { position: static; }
	.bec-contact-highlights { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.bec-contact-info-card,
	.bec-contact-form-card { border-radius: 1.35rem; }
	.bec-contact-highlights { grid-template-columns: 1fr; }
	.bec-contact-bottom { flex-direction: column; align-items: flex-start; }
}

/* =====================================================
   Catálogo (galería) — solo estilos propios.
   Lo común (botones, eyebrow, FAQ, CTA) está en bec-shared.css.
   ===================================================== */

/* --- Hero (single-column, propio del catálogo) --- */
.bec-gallery-hero {
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
	padding: clamp(1.8rem, 3vw, 2.6rem);
	border-radius: 2rem;
	background:
		radial-gradient(circle at 100% 0%, rgba(247, 234, 34, 0.18), transparent 14rem),
		linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
	border: 1px solid rgba(255, 255, 255, 0.8);
	box-shadow: 0 22px 60px rgba(59, 122, 163, 0.16);
}

.bec-gallery-hero h1 { margin: 0 0 0.6rem; line-height: 1.1; }

.bec-gallery-hero__lead {
	max-width: 48rem;
	line-height: 1.65;
	color: var(--color-oliva, #35300b);
}

/* --- Intro SEO --- */
.bec-gallery-intro { max-width: 52rem; margin: 0 0 clamp(1.5rem, 3vw, 2.5rem); }
.bec-gallery-intro p { margin: 0; font-size: 1rem; line-height: 1.7; color: rgba(53, 48, 11, 0.78); }
.bec-gallery-intro__synonyms { margin-top: 0.9rem !important; font-size: 0.92rem !important; color: rgba(53, 48, 11, 0.62) !important; }
.bec-gallery-intro__synonyms em { font-style: italic; }

/* --- Grid de categorías --- */
.bec-gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(1rem, 2vw, 1.5rem);
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.bec-gallery-card {
	display: flex;
	flex-direction: column;
	border-radius: 1.5rem;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.78);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(53, 48, 11, 0.1);
	box-shadow: 0 12px 32px rgba(53, 48, 11, 0.07);
	transition: transform 200ms ease, box-shadow 200ms ease;
}

.bec-gallery-card:hover { transform: translateY(-4px); box-shadow: 0 18px 48px rgba(53, 48, 11, 0.12); }

/* Zona de imagen (placeholder mientras no hay fotos) */
.bec-gallery-card__media {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin: 0;
	aspect-ratio: 16 / 10;
	background:
		radial-gradient(circle at 50% 35%, rgba(247, 234, 34, 0.22), transparent 60%),
		linear-gradient(135deg, rgba(79, 163, 217, 0.16), rgba(79, 163, 217, 0.06));
	border-bottom: 1px solid rgba(53, 48, 11, 0.06);
}

.bec-gallery-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.bec-gallery-card__soon { font-size: 0.8rem; font-style: italic; color: rgba(53, 48, 11, 0.5); }

.bec-gallery-card__header { padding: clamp(1.1rem, 2vw, 1.6rem) clamp(1.2rem, 2vw, 1.8rem) 0.8rem; }

.bec-gallery-card__header h2 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.4rem;
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
	color: var(--color-azul-dark);
}

.bec-gallery-card__icon { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }

.bec-gallery-card__header p { margin: 0; font-size: 0.9rem; line-height: 1.55; color: rgba(53, 48, 11, 0.75); }

.bec-gallery-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: auto;
	padding: 0.8rem clamp(1.2rem, 2vw, 1.8rem) clamp(1.2rem, 2vw, 1.6rem);
}

/* Caption solo para lectores de pantalla / SEO */
.bec-gallery-card .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* --- Familias y tipos de cometa (glosario de keywords) --- */
.bec-gallery-types { margin: clamp(2rem, 4vw, 3rem) 0; }
.bec-gallery-types h2 { margin: 0 0 0.6rem; color: var(--color-azul-dark); }
.bec-gallery-types__lead { max-width: 52rem; margin: 0 0 1.4rem; line-height: 1.7; color: rgba(53, 48, 11, 0.78); }

.bec-gallery-types__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.85rem;
}

.bec-gallery-types__item {
	padding: 1.2rem 1.1rem;
	border-radius: 1.2rem;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(53, 48, 11, 0.1);
	box-shadow: 0 8px 22px rgba(53, 48, 11, 0.05);
}

.bec-gallery-types__item h3 { margin: 0 0 0.3rem; font-size: 1rem; color: var(--color-azul-dark); }
.bec-gallery-types__item p { margin: 0; font-size: 0.88rem; line-height: 1.55; color: rgba(53, 48, 11, 0.72); }

/* --- Responsive --- */
@media (max-width: 980px) {
	.bec-gallery-types__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
	.bec-gallery-grid { grid-template-columns: 1fr; }
	.bec-gallery-types__grid { grid-template-columns: 1fr; }
}

@media (min-width: 1100px) {
	.bec-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================
   GESTIÓN CULTURAL — solo estilos propios.
   Lo común (hero, eyebrow, botones, section-head, FAQ, CTA)
   está en bec-shared.css.
   ============================================= */

/* --- Intro / valor añadido --- */
.bec-gc-intro {
	max-width: 60rem;
	padding: clamp(1.5rem, 3vw, 2.4rem);
	border-radius: 2rem;
	background: var(--color-crema-light);
	border: 1px solid rgba(53, 48, 11, 0.12);
	box-shadow: 0 16px 42px rgba(53, 48, 11, 0.08);
}

.bec-gc-intro h2 {
	font-size: clamp(1.7rem, 3vw, 2.6rem);
	line-height: 1.05;
	letter-spacing: -0.045em;
	margin-bottom: 0.8rem;
}

.bec-gc-intro p { color: rgba(53, 48, 11, 0.75); line-height: 1.7; margin-bottom: 0; }

/* --- STEAM grid --- */
.bec-gc-steam__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.85rem; }

.bec-gc-steam__card {
	position: relative;
	overflow: hidden;
	padding: 1.4rem 1.2rem;
	border-radius: 1.35rem;
	background: rgba(255, 255, 255, 0.78);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(53, 48, 11, 0.1);
	box-shadow: 0 8px 24px rgba(53, 48, 11, 0.05);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.bec-gc-steam__card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(53, 48, 11, 0.1); }

.bec-gc-steam__letter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	margin-bottom: 0.8rem;
	border-radius: 0.9rem;
	background: var(--color-amarillo);
	color: var(--color-oliva);
	font-family: var(--font-title);
	font-size: 1.4rem;
	font-weight: 900;
	box-shadow: 0 6px 16px rgba(53, 48, 11, 0.14);
}

.bec-gc-steam__card h3 { font-size: 1.05rem; color: var(--color-azul-dark); margin-bottom: 0.4rem; }
.bec-gc-steam__card p { color: rgba(53, 48, 11, 0.72); font-size: 0.9rem; line-height: 1.55; margin-bottom: 0; }

/* --- Público objetivo --- */
.bec-gc-audiences__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }

.bec-gc-audiences__grid article {
	padding: 1.3rem;
	border: 1px dashed rgba(53, 48, 11, 0.16);
	border-radius: 1.35rem;
	background: rgba(255, 255, 255, 0.66);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 8px 24px rgba(53, 48, 11, 0.04);
}

.bec-gc-audiences__grid h3 { font-size: 1.05rem; color: var(--color-azul-dark); margin-bottom: 0.35rem; }
.bec-gc-audiences__grid p { color: rgba(53, 48, 11, 0.7); font-size: 0.92rem; line-height: 1.55; margin-bottom: 0; }

/* --- Cifras de impacto --- */
.bec-gc-impact__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.85rem;
}

.bec-gc-impact__item {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 1.5rem 1.3rem;
	border-radius: 1.5rem;
	text-align: center;
	background: var(--color-azul-dark);
	color: #fff;
	box-shadow: 0 14px 34px rgba(53, 48, 11, 0.14);
}

.bec-gc-impact__num {
	font-family: var(--font-title);
	font-size: clamp(1.25rem, 2.4vw, 1.7rem);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--color-amarillo);
}

.bec-gc-impact__label { font-size: 0.9rem; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }

/* --- Compromiso social y cultural --- */
.bec-gc-social__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.9rem;
}

.bec-gc-social__card {
	padding: 1.5rem 1.4rem;
	border-radius: 1.5rem;
	background: rgba(255, 255, 255, 0.78);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(53, 48, 11, 0.1);
	box-shadow: 0 8px 24px rgba(53, 48, 11, 0.05);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.bec-gc-social__card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(53, 48, 11, 0.1); }

.bec-gc-social__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 0.7rem;
	border-radius: 1rem;
	background: var(--color-crema-light);
	font-size: 1.5rem;
	box-shadow: 0 6px 16px rgba(53, 48, 11, 0.08);
}

.bec-gc-social__card h3 { font-size: 1.1rem; color: var(--color-azul-dark); margin-bottom: 0.4rem; }
.bec-gc-social__card p { color: rgba(53, 48, 11, 0.72); font-size: 0.92rem; line-height: 1.6; margin-bottom: 0; }

.bec-gc-social__note {
	margin: 1.4rem auto 0;
	max-width: 52rem;
	text-align: center;
	font-style: italic;
	color: rgba(53, 48, 11, 0.6);
}

/* --- Responsive --- */
@media (max-width: 980px) {
	.bec-gc-steam__grid { grid-template-columns: repeat(2, 1fr); }
	.bec-gc-audiences__grid { grid-template-columns: repeat(2, 1fr); }
	.bec-gc-impact__grid { grid-template-columns: repeat(2, 1fr); }
	.bec-gc-social__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.bec-gc-intro { border-radius: 1.35rem; }
	.bec-gc-steam__grid,
	.bec-gc-audiences__grid,
	.bec-gc-impact__grid,
	.bec-gc-social__grid { grid-template-columns: 1fr; }
}

/* =============================================
   EVENTOS (página de entradas) — solo estilos propios.
   Lo común (hero, eyebrow, botones, section-head, FAQ,
   newsletter/formularios) está en bec-shared.css.
   ============================================= */

/* --- Filtro de etiquetas --- */
.bec-ev-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }

.bec-ev-chip {
	padding: 0.5rem 1rem;
	border-radius: 999px;
	border: 1px solid rgba(79, 163, 217, 0.3);
	background: #fff;
	color: var(--color-azul-dark);
	font-family: var(--font-title);
	font-size: 0.82rem;
	font-weight: 800;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.bec-ev-chip:hover { transform: translateY(-1px); border-color: var(--color-azul); }
.bec-ev-chip.is-active { background: var(--color-azul-dark); border-color: var(--color-azul-dark); color: #fff; }

/* --- Grid de eventos --- */
.bec-ev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }

.bec-ev-card {
	display: flex;
	flex-direction: column;
	border-radius: 1.5rem;
	overflow: hidden;
	background: var(--color-crema-light);
	border: 1px solid rgba(53, 48, 11, 0.12);
	box-shadow: 0 14px 36px rgba(53, 48, 11, 0.08);
	transition: transform 200ms ease, box-shadow 200ms ease;
}

.bec-ev-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(53, 48, 11, 0.14); }

.bec-ev-card__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	text-decoration: none;
	background:
		radial-gradient(circle at 30% 25%, rgba(247, 234, 34, 0.3), transparent 55%),
		linear-gradient(150deg, var(--color-azul) 0%, var(--color-azul-dark) 100%);
}

.bec-ev-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.bec-ev-card__placeholder { font-size: 2.6rem; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25)); }

.bec-ev-card__date {
	position: absolute;
	left: 0.7rem;
	bottom: 0.7rem;
	padding: 0.3rem 0.6rem;
	border-radius: 0.6rem;
	background: rgba(255, 255, 255, 0.92);
	color: var(--color-azul-dark);
	font-family: var(--font-title);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.bec-ev-card__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.1rem 1.2rem 1.3rem; flex: 1; }

.bec-ev-card__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.bec-ev-card__tags span {
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: rgba(79, 163, 217, 0.14);
	color: var(--color-azul-dark);
	font-family: var(--font-title);
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.bec-ev-card__title { font-size: 1.12rem; line-height: 1.2; margin: 0; }
.bec-ev-card__title a { color: var(--color-oliva); text-decoration: none; }
.bec-ev-card__title a:hover { color: var(--color-azul-dark); }

.bec-ev-card__excerpt { color: rgba(53, 48, 11, 0.72); font-size: 0.9rem; line-height: 1.55; }
.bec-ev-card__excerpt p { margin: 0; }

.bec-ev-card__link {
	margin-top: auto;
	align-self: flex-start;
	color: var(--color-azul-dark);
	font-family: var(--font-title);
	font-weight: 900;
	font-size: 0.85rem;
	text-decoration: none;
}

.bec-ev-card__link:hover { color: var(--color-azul); }

.bec-ev-empty { padding: 1.5rem; text-align: center; color: rgba(53, 48, 11, 0.6); font-style: italic; }

/* --- Paginación --- */
.blog-pagination { margin-top: 1.5rem; }
.blog-pagination .page-numbers {
	display: inline-flex;
	min-width: 2.4rem;
	height: 2.4rem;
	align-items: center;
	justify-content: center;
	margin: 0 0.15rem;
	padding: 0 0.6rem;
	border-radius: 0.7rem;
	background: #fff;
	border: 1px solid rgba(53, 48, 11, 0.12);
	color: var(--color-azul-dark);
	font-family: var(--font-title);
	font-weight: 800;
	text-decoration: none;
}
.blog-pagination .page-numbers.current { background: var(--color-azul-dark); color: #fff; border-color: var(--color-azul-dark); }

/* --- Responsive --- */
@media (max-width: 980px) { .bec-ev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .bec-ev-grid { grid-template-columns: 1fr; } }

/* =====================================================
   Páginas legales (Aviso legal / Privacidad)
   ===================================================== */

.bec-legal-page {
	position: relative;
	padding: clamp(2.5rem, 5vw, 5rem) 0 4rem;
}

.bec-legal-page .container {
	max-width: 60rem;
}

/* --- Cabecera --- */
.bec-legal-hero {
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
	padding: clamp(1.8rem, 3vw, 2.6rem);
	border-radius: 2rem;
	background:
		radial-gradient(circle at 100% 0%, rgba(247, 234, 34, 0.18), transparent 14rem),
		linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
	border: 1px solid rgba(255, 255, 255, 0.8);
	box-shadow: 0 22px 60px rgba(59, 122, 163, 0.16);
}

.bec-legal-hero .bec-eyebrow {
	display: inline-block;
	margin-bottom: 0.6rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-azul-dark);
}

.bec-legal-hero h1 {
	margin: 0 0 0.5rem;
	line-height: 1.1;
}

.bec-legal-updated {
	margin: 0;
	font-size: 0.9rem;
	color: rgba(53, 48, 11, 0.7);
}

/* --- Cuerpo --- */
.bec-legal-body {
	padding: clamp(1.8rem, 3.5vw, 3rem);
	border-radius: 2rem;
	background: rgba(255, 255, 255, 0.78);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(53, 48, 11, 0.1);
	box-shadow: 0 16px 42px rgba(53, 48, 11, 0.07);
}

.bec-legal-body section {
	margin-bottom: 2rem;
}

.bec-legal-body section:last-child {
	margin-bottom: 0;
}

.bec-legal-body h2 {
	margin: 0 0 0.8rem;
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	color: var(--color-azul-dark);
}

.bec-legal-body h3 {
	margin: 1.2rem 0 0.5rem;
	font-size: 1.05rem;
}

.bec-legal-body p,
.bec-legal-body li {
	line-height: 1.7;
	color: var(--color-oliva, #35300b);
}

.bec-legal-body ul {
	margin: 0.4rem 0 1rem;
	padding-left: 1.3rem;
}

.bec-legal-body li {
	margin-bottom: 0.4rem;
}

.bec-legal-body a {
	color: var(--color-azul-dark);
	text-decoration: underline;
}

.bec-legal-body a:hover {
	color: var(--color-azul);
}

/* =============================================
   CONTACT FORM v2.0
   Fixed: icon bar height, error tips, checkboxes
   ============================================= */

/* Form blocks */
.bec-form-block {
	border: none; margin: 0; padding: 0.8rem 0 1.2rem;
	border-bottom: 1px solid rgba(79, 163, 217, 0.1);
}
.bec-form-block:first-child { padding-top: 0; }
.bec-form-block:last-of-type { border-bottom: none; padding-bottom: 0.3rem; }
.bec-form-block__title {
	font-family: var(--font-title); font-size: 0.92rem; font-weight: 800;
	color: var(--color-azul-dark); letter-spacing: 0.02em; text-transform: uppercase;
	padding: 0; margin: 0 0 0.6rem;
}

/* Phone options: WhatsApp / Llamada telefónica — 50/50 horizontal */
.bec-phone-options {
	margin: 0.4rem 0;
}

.bec-phone-options .wpcf7-form-control-wrap { display: block; }
.bec-phone-options .wpcf7-form-control-wrap::before { display: none !important; }
.bec-phone-options .wpcf7-checkbox {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
}
.bec-phone-options br { display: none; }

.bec-phone-options .wpcf7-list-item {
	margin: 0; display: flex; align-items: center; gap: 0.4rem;
	height: 3rem; padding: 0 1.2rem;
	border: 1.5px solid rgba(79, 163, 217, 0.3); border-radius: 0.7rem;
	background: #fff; cursor: pointer;
	transition: border-color 160ms ease, background 160ms ease;
}

.bec-phone-options .wpcf7-list-item:hover {
	border-color: var(--color-azul); background: rgba(79, 163, 217, 0.04);
}

.bec-phone-options .wpcf7-list-item label {
	display: flex; align-items: center; gap: 0.4rem;
	width: 100%; height: 100%; margin: 0; cursor: pointer;
	font-family: var(--font-title); font-size: 0.92rem; font-weight: 700;
	color: var(--color-oliva);
}

.bec-phone-options input[type="checkbox"] {
	accent-color: var(--color-azul); width: 16px; height: 16px;
	margin: 0; cursor: pointer; flex-shrink: 0;
}

/* Phone field: hidden by default, shown by JS */
.bec-phone-field-wrap { display: none; margin-top: 0.3rem; }
.bec-phone-field-wrap.is-visible { display: block; }

/* Choice options (roles de socio): misma interfaz que phone-options, en rejilla multi-fila */
.bec-choice-options { margin: 0.4rem 0; }
.bec-choice-options .wpcf7-form-control-wrap { display: block; }
.bec-choice-options .wpcf7-form-control-wrap::before { display: none !important; }
.bec-choice-options .wpcf7-checkbox {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.5rem;
}
.bec-choice-options br { display: none; }
.bec-choice-options .wpcf7-list-item {
	margin: 0; display: flex; align-items: center; gap: 0.45rem;
	min-height: 3rem; padding: 0.5rem 1.1rem;
	border: 1.5px solid rgba(79, 163, 217, 0.3); border-radius: 0.7rem;
	background: #fff; cursor: pointer;
	transition: border-color 160ms ease, background 160ms ease;
}
.bec-choice-options .wpcf7-list-item:hover { border-color: var(--color-azul); background: rgba(79, 163, 217, 0.04); }
.bec-choice-options .wpcf7-list-item label {
	display: flex; align-items: center; gap: 0.45rem;
	width: 100%; height: 100%; margin: 0; cursor: pointer;
	font-family: var(--font-title); font-size: 0.9rem; font-weight: 700;
	color: var(--color-oliva); line-height: 1.25;
}
.bec-choice-options input[type="checkbox"] {
	accent-color: var(--color-azul); width: 16px; height: 16px;
	margin: 0; cursor: pointer; flex-shrink: 0;
}

/* Campo "Otro" -> especificar: oculto hasta marcar la casilla "Otro" (JS) */
.bec-otro-wrap { display: none; margin-top: 0.5rem; }
.bec-otro-wrap.is-visible { display: block; }
.bec-contact-form-card [data-name="perfil-otro"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/%3E%3C/svg%3E"); }

.bec-contact-form-card .wpcf7-form { display: flex; flex-direction: column; gap: 0.6rem; }
.bec-contact-form-card .wpcf7-form > p,
.bec-contact-form-card .wpcf7-form .bec-form-row > p { margin: 0; }
.bec-contact-form-card .bec-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 0.4rem; }

/* Icon bar: matches input height exactly */
.bec-contact-form-card .wpcf7-form-control-wrap { position: relative; display: block; }

.bec-contact-form-card .wpcf7-form-control-wrap::before {
	content: ""; position: absolute; left: 0; top: 0;
	width: 3rem; height: 3rem;
	border-radius: 0.7rem 0 0 0.7rem;
	background: #6FAFDC no-repeat center / 16px 16px;
	z-index: 1; pointer-events: none;
}

/* Icons */
.bec-contact-form-card [data-name="nombre-apellidos"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v2.4h19.2v-2.4c0-3.2-6.4-4.8-9.6-4.8z'/%3E%3C/svg%3E"); }
.bec-contact-form-card [data-name="email"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E"); }
.bec-contact-form-card [data-name="telefono"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E"); }
.bec-contact-form-card [data-name="sobre-que-contacta"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E"); }
.bec-contact-form-card [data-name="perfil-escribe"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M16 11c1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3 1.3 3 3 3zm-8 0c1.7 0 3-1.3 3-3S9.7 5 8 5 5 6.3 5 8s1.3 3 3 3zm0 2c-2.3 0-7 1.2-7 3.5V19h14v-2.5c0-2.3-4.7-3.5-7-3.5zm8 0c-.3 0-.6 0-1 .1 1.2.8 2 2 2 3.4V19h6v-2.5c0-2.3-4.7-3.5-7-3.5z'/%3E%3C/svg%3E"); }
.bec-contact-form-card [data-name="ciudad-zona"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5z'/%3E%3C/svg%3E"); }
.bec-contact-form-card [data-name="asunto"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/%3E%3C/svg%3E"); }
.bec-contact-form-card [data-name="mensaje"]::before { height: 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M21 6h-2v9H6v2c0 .6.4 1 1 1h11l4 4V7c0-.6-.4-1-1-1zm-4 6V3c0-.6-.4-1-1-1H4c-.6 0-1 .4-1 1v14l4-4h9c.6 0 1-.4 1-1z'/%3E%3C/svg%3E"); }
.bec-contact-form-card [data-name="archivo-adjunto"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M16.5 6v11.5c0 2.2-1.8 4-4 4s-4-1.8-4-4V5c0-1.4 1.1-2.5 2.5-2.5s2.5 1.1 2.5 2.5v10.5c0 .6-.4 1-1 1s-1-.4-1-1V6H10v9.5c0 1.4 1.1 2.5 2.5 2.5s2.5-1.1 2.5-2.5V5c0-2.2-1.8-4-4-4S7 2.8 7 5v12.5c0 3 2.5 5.5 5.5 5.5s5.5-2.5 5.5-5.5V6h-1.5z'/%3E%3C/svg%3E"); }
.bec-contact-form-card [data-name="edad"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 6c1.1 0 2-.9 2-2 0-.38-.1-.73-.29-1.03L12 0l-1.71 2.97c-.19.3-.29.65-.29 1.03 0 1.1.9 2 2 2zm6 6v-1c0-1.66-1.34-3-3-3h-2V7h-2v1H9C7.34 8 6 9.34 6 11v1c-1.66 0-3 1.34-3 3v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-1.66-1.34-3-3-3zm1 8H5v-4.5c.28.17.62.3 1 .3.92 0 1.79-.36 2.44-1.01l1.06-1.05 1.06 1.05c1.3 1.3 3.58 1.31 4.89 0l1.06-1.05 1.05 1.05c.65.65 1.52 1.01 2.44 1.01.38 0 .72-.13 1-.3V20z'/%3E%3C/svg%3E"); }

/* No icon on checkboxes/preference */
.bec-contact-form-card .bec-checkbox-group .wpcf7-form-control-wrap::before,
.bec-field-pref .wpcf7-form-control-wrap::before { display: none !important; }

/* Inputs */
.bec-contact-form-card .wpcf7-text,
.bec-contact-form-card .wpcf7-email,
.bec-contact-form-card .wpcf7-tel,
.bec-contact-form-card .wpcf7-textarea,
.bec-contact-form-card .wpcf7-select {
	width: 100%; height: 3rem; min-height: 3rem; padding: 0.5rem 0.8rem 0.5rem 3.5rem;
	border: 1.5px solid rgba(79, 163, 217, 0.3); border-radius: 0.7rem;
	background: #fff; color: var(--color-oliva);
	font-family: var(--font-body); font-size: 0.95rem; outline: none;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}
.bec-contact-form-card .wpcf7-textarea { display: block; height: auto; min-height: 5rem; resize: vertical; line-height: 1.5; }
.bec-contact-form-card .wpcf7-text:focus, .bec-contact-form-card .wpcf7-email:focus,
.bec-contact-form-card .wpcf7-tel:focus, .bec-contact-form-card .wpcf7-textarea:focus,
.bec-contact-form-card .wpcf7-select:focus { border-color: var(--color-azul); box-shadow: 0 0 0 3px rgba(79, 163, 217, 0.12); }
.bec-contact-form-card .wpcf7-select { cursor: pointer; }
.bec-contact-form-card ::placeholder { color: rgba(53, 48, 11, 0.45); }
.bec-form-file { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.bec-contact-form-card input[type="file"] { font-size: 0.82rem; padding-left: 3.5rem; }

/* Validation: hidden until form gets .bec-submitted class (added by JS on first submit) */
.wpcf7-not-valid-tip { display: none; padding-left: 3.5rem; color: var(--color-rojo-dark); font-size: 0.75rem; font-weight: 600; margin-top: 0.15rem; }
.wpcf7-form.bec-submitted .wpcf7-not-valid-tip { display: block; }
.wpcf7-form:not(.bec-submitted) .wpcf7-not-valid { border-color: rgba(79, 163, 217, 0.3) !important; }
.wpcf7-form.bec-submitted .wpcf7-not-valid { border-color: var(--color-rojo) !important; }
.wpcf7-response-output { border-radius: 0.7rem !important; padding: 0.5rem 0.8rem !important; font-size: 0.82rem; font-weight: 700; margin: 0.5rem 0 0 !important; }
.bec-phone-error { display: block; color: var(--color-rojo-dark); font-size: 0.75rem; font-weight: 600; margin-top: 0.1rem; padding-left: 3.5rem; }

/* Preference checkboxes (old overridden by new block above) */
.bec-field-pref .wpcf7-form-control-wrap { display: contents; }
.bec-field-pref br { display: none; }
.bec-field-pref .wpcf7-checkbox, .bec-field-pref .wpcf7-radio { display: contents; }
.bec-field-pref .wpcf7-list-item {
	margin: 0; position: relative; display: flex; align-items: center; gap: 0.35rem;
	flex: 1; height: 3rem; padding: 0 0.8rem 0 3.5rem;
	border: 1.5px solid rgba(79, 163, 217, 0.3); background: #fff; cursor: pointer;
	transition: border-color 160ms ease, background 160ms ease;
}
.bec-field-pref .wpcf7-list-item:first-child { border-radius: 0.7rem 0 0 0.7rem; border-right: none; }
.bec-field-pref .wpcf7-list-item:not(:first-child):not(:last-child) { border-radius: 0; border-right: none; }
.bec-field-pref .wpcf7-list-item:last-child { border-radius: 0 0.7rem 0.7rem 0; }
.bec-field-pref .wpcf7-list-item:hover { border-color: var(--color-azul); background: rgba(79, 163, 217, 0.04); }
.bec-field-pref .wpcf7-list-item::before {
	content: ""; position: absolute; left: 0; top: 0; width: 3rem; height: 3rem;
	background: #6FAFDC no-repeat center / 16px 16px;
}
.bec-field-pref .wpcf7-list-item:first-child::before { border-radius: 0.7rem 0 0 0.7rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E"); }
.bec-field-pref .wpcf7-list-item:nth-child(2)::before { border-radius: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.5 14.4l-2.3-.7c-.2-.1-.5 0-.7.2l-.6.8c-.2.2-.4.3-.7.2-1.6-.7-2.9-2-3.6-3.6-.1-.3 0-.5.2-.7l.8-.6c.2-.2.3-.4.2-.7l-.7-2.3c-.1-.3-.4-.5-.7-.4l-1.5.3c-.3.1-.5.3-.5.6.3 3.7 3.3 6.7 7 7 .3 0 .5-.2.6-.5l.3-1.5c.1-.3-.1-.6-.4-.7zM12 2C6.5 2 2 6.5 2 12c0 1.7.4 3.4 1.2 4.9L2 22l5.1-1.2c1.5.8 3.2 1.2 4.9 1.2 5.5 0 10-4.5 10-10S17.5 2 12 2z'/%3E%3C/svg%3E"); }
.bec-field-pref .wpcf7-list-item:last-child::before { border-radius: 0 0.7rem 0.7rem 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E"); }
.bec-field-pref .wpcf7-list-item:last-child::before { border-radius: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.5 14.4l-2.3-.7c-.2-.1-.5 0-.7.2l-.6.8c-.2.2-.4.3-.7.2-1.6-.7-2.9-2-3.6-3.6-.1-.3 0-.5.2-.7l.8-.6c.2-.2.3-.4.2-.7l-.7-2.3c-.1-.3-.4-.5-.7-.4l-1.5.3c-.3.1-.5.3-.5.6.3 3.7 3.3 6.7 7 7 .3 0 .5-.2.6-.5l.3-1.5c.1-.3-.1-.6-.4-.7zM12 2C6.5 2 2 6.5 2 12c0 1.7.4 3.4 1.2 4.9L2 22l5.1-1.2c1.5.8 3.2 1.2 4.9 1.2 5.5 0 10-4.5 10-10S17.5 2 12 2z'/%3E%3C/svg%3E"); }
.bec-field-pref .wpcf7-list-item label { display: flex; align-items: center; gap: 0.35rem; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.bec-field-pref input[type="checkbox"], .bec-field-pref input[type="radio"] { accent-color: var(--color-azul); width: 16px; height: 16px; margin: 0; cursor: pointer; flex-shrink: 0; }
.bec-field-pref .wpcf7-list-item-label { font-size: 0.88rem; color: var(--color-oliva); cursor: pointer; }

/* Help text */
.bec-form-help { margin: 0 !important; color: rgba(53, 48, 11, 0.5); font-size: 0.82rem; line-height: 1.45; }

/* Terms checkboxes */
.bec-contact-form-card .bec-checkbox-group { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.75rem 0.9rem; margin-bottom: 0.6rem; border-radius: 0.7rem; background: rgba(79, 163, 217, 0.04); border: 1px solid rgba(79, 163, 217, 0.12); }
.bec-contact-form-card .bec-checkbox-group > p { margin: 0; }
.bec-contact-form-card .bec-checkbox-group .wpcf7-acceptance { display: block; }
.bec-contact-form-card .bec-checkbox-group .wpcf7-list-item { margin: 0; }
.bec-contact-form-card .bec-checkbox-group .wpcf7-list-item label { display: flex !important; align-items: center !important; gap: 8px !important; font-size: 0.88rem; line-height: 1.5; color: rgba(53, 48, 11, 0.75); cursor: pointer; padding: 6px 0; }
.bec-contact-form-card .bec-checkbox-group input[type="checkbox"] { all: revert !important; width: 16px !important; height: 16px !important; flex-shrink: 0 !important; accent-color: var(--color-azul) !important; cursor: pointer !important; }
.bec-contact-form-card .bec-checkbox-group .wpcf7-list-item-label { flex: 1; }
.bec-contact-form-card .bec-checkbox-group a { color: var(--color-azul-dark); text-decoration: underline; }

/* Legal */
.bec-form-legal { padding: 0.8rem 1rem; border-radius: 0.6rem; background: rgba(53, 48, 11, 0.025); border: 1px dashed rgba(53, 48, 11, 0.1); font-size: 0.82rem; line-height: 1.55; color: rgba(53, 48, 11, 0.55); }
.bec-form-legal p { margin: 0 0 0.2rem; }
.bec-form-legal p:last-child { margin: 0; }
.bec-form-legal a { color: var(--color-azul-dark); }

/* Submit */
.bec-form-legal { margin-bottom: 0.6rem; }
.bec-form-submit { position: relative; margin-top: 1.1rem; margin-bottom: 0; }
.bec-form-submit input[type="submit"] { width: 100%; min-height: 2.8rem; padding: 0.6rem 1.2rem; border: none; border-radius: 0.7rem; background: var(--color-naranja); color: #fff; font-family: var(--font-title); font-weight: 800; font-size: 0.92rem; cursor: pointer; box-shadow: 0 6px 18px rgba(242, 138, 75, 0.3); transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.bec-form-submit input[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(242, 138, 75, 0.4); background: var(--color-naranja-dark); }
.bec-form-submit.is-ready input[type="submit"] { background: var(--color-verde); box-shadow: 0 6px 18px rgba(88, 175, 99, 0.3); }
.bec-form-submit.is-ready input[type="submit"]:hover { background: var(--color-verde-dark); box-shadow: 0 10px 28px rgba(88, 175, 99, 0.4); }
.bec-contact-form-card .bec-form-submit p { margin: 0; line-height: 0; }
.bec-contact-form-card .bec-form-submit .wpcf7-spinner { position: absolute; top: 50%; right: 1rem; transform: translateY(-50%); margin: 0; }

/* Confirmation */
.bec-confirm { margin-top: 1.5rem; padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: 2rem; background: linear-gradient(135deg, rgba(88, 175, 99, 0.1), rgba(79, 163, 217, 0.08)), var(--color-crema-light); border: 1px solid rgba(88, 175, 99, 0.25); box-shadow: 0 18px 48px rgba(88, 175, 99, 0.1); animation: bec-fadeIn 0.4s ease; }
@keyframes bec-fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.bec-confirm__msg h3 { font-family: var(--font-title); font-size: 1.25rem; color: var(--color-verde-dark); margin: 0 0 0.6rem; }
.bec-confirm__msg p { color: rgba(53, 48, 11, 0.78); line-height: 1.65; margin: 0 0 1rem; }
.bec-confirm__cta { padding-top: 1rem; border-top: 1px solid rgba(88, 175, 99, 0.18); }
.bec-confirm__cta p { color: rgba(53, 48, 11, 0.72); font-size: 0.94rem; line-height: 1.55; margin: 0 0 0.75rem; }

/* Internal links */
.bec-contact-links { margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 0.8rem; background: rgba(79, 163, 217, 0.06); border: 1px solid rgba(79, 163, 217, 0.14); }
.bec-contact-links p { margin: 0 0 0.5rem; font-size: 0.85rem; color: rgba(53, 48, 11, 0.6); }
.bec-contact-links .bec-contact-links__btns { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.bec-contact-links .bec-contact-links__btns a { display: inline-flex; align-items: center; padding: 0.3rem 0.7rem; border-radius: 999px; background: #fff; border: 1.5px solid rgba(79, 163, 217, 0.3); color: var(--color-azul-dark); font-family: var(--font-title); font-weight: 700; font-size: 0.78rem; text-decoration: none; transition: all 160ms ease; }
.bec-contact-links .bec-contact-links__btns a:hover { background: var(--color-azul); border-color: var(--color-azul); color: #fff; transform: translateY(-1px); }

/* Related links — secondary navigation after FAQs */
.bec-related-links {
	margin-top: 2rem;
	padding: 1.2rem 1.4rem;
	border-radius: 1rem;
	background: rgba(53, 48, 11, 0.02);
	border: 1px dashed rgba(53, 48, 11, 0.1);
}

.bec-related-links__title {
	font-family: var(--font-title);
	font-size: 0.9rem;
	font-weight: 700;
	color: rgba(53, 48, 11, 0.55);
	margin: 0 0 0.3rem;
}

.bec-related-links__desc {
	font-size: 0.85rem;
	line-height: 1.5;
	color: rgba(53, 48, 11, 0.5);
	margin: 0 0 0.7rem;
}

.bec-related-links__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.bec-related-links__nav a {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
	background: transparent;
	border: 1px solid rgba(53, 48, 11, 0.12);
	color: rgba(53, 48, 11, 0.55);
	font-family: var(--font-body);
	font-size: 0.78rem;
	text-decoration: none;
	transition: color 160ms ease, border-color 160ms ease;
}

.bec-related-links__nav a:hover {
	color: var(--color-azul-dark);
	border-color: rgba(79, 163, 217, 0.4);
}

/* Responsive: medium — phone+pref row wraps */
@media (max-width: 1100px) {
	.bec-contact-form-card .bec-form-row:has(.bec-field-pref) {
		grid-template-columns: 1fr;
	}
}

/* Responsive: small — all rows single column */
@media (max-width: 640px) {
	.bec-contact-form-card .bec-form-row { grid-template-columns: 1fr; }
	.bec-field-pref .wpcf7-checkbox, .bec-field-pref .wpcf7-radio { flex-direction: column; gap: 0.4rem; }
	.bec-field-pref .wpcf7-list-item:first-child { border-radius: 0.7rem; border-right: 1.5px solid rgba(79, 163, 217, 0.3); }
	.bec-field-pref .wpcf7-list-item:last-child { border-radius: 0.7rem; }
}

/* Marca visual para datos pendientes de completar por el club */
.bec-legal-placeholder {
	background: rgba(247, 234, 34, 0.35);
	border-radius: 0.3rem;
	padding: 0 0.25rem;
	font-style: italic;
}

/* Hero sin barra lateral (variante de .bec-contact-hero) */
.bec-contact-hero--no-sidebar { grid-template-columns: 1fr; }

/* Popup de validacion del formulario de contacto */
.bec-modal-overlay { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(53, 48, 11, 0.55); backdrop-filter: blur(3px); animation: bec-modal-fade 0.18s ease; }
.bec-modal { position: relative; width: 100%; max-width: 30rem; background: #fff; border-radius: 1.1rem; padding: 1.7rem 1.5rem 1.4rem; box-shadow: 0 30px 80px rgba(53, 48, 11, 0.35); animation: bec-modal-pop 0.18s ease; }
.bec-modal h3 { margin: 0 2rem 0.35rem 0; font-family: var(--font-title); font-size: 1.15rem; line-height: 1.25; color: var(--color-oliva); }
.bec-modal__intro { margin: 0.2rem 0 0.7rem; color: rgba(53, 48, 11, 0.7); font-size: 0.92rem; }
.bec-modal__list { margin: 0 0 1.15rem; padding-left: 1.15rem; display: grid; gap: 0.32rem; }
.bec-modal__list li { color: var(--color-rojo-dark); font-size: 0.93rem; line-height: 1.4; }
.bec-modal__close { position: absolute; top: 0.6rem; right: 0.7rem; width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center; border: none; background: transparent; font-size: 1.6rem; line-height: 1; color: rgba(53, 48, 11, 0.5); cursor: pointer; border-radius: 0.5rem; }
.bec-modal__close:hover { background: rgba(53, 48, 11, 0.07); color: var(--color-oliva); }
.bec-modal__ok { width: 100%; justify-content: center; }
@keyframes bec-modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bec-modal-pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
