/* Corporación TUYO · estructura del theme EliteStay Sanctuary (biblioteca Nobiliti, elitestay-04) con
 * los colores del logo, que son los de la bandera de Colombia (idea de Isidro Nobles, 23-nov): azul
 * principal, amarillo en líneas y detalles, rojo solo en botones de acción. Fondos claros: el color va
 * en acentos, no en bloques grandes. */

:root {
	/* Colores de la bandera de Colombia (los del logo), en tonos sobrios para texto y botones. */
	--azul: #0b3d91;
	--azul-hover: #082d6b;
	--amarillo: #f6c514;
	--rojo: #c8102e;
	--rojo-hover: #a00d25;
	--primario: var(--amarillo);
	--primario-texto: var(--azul);
	--primario-hover: var(--azul-hover);
	--oscuro: #0a2a5e;
	--oscuro-2: #12377a;
	--claro: #f6f7fb;
	--texto: #4f5562;
	--borde: #e3e6ee;
	--blanco: #fff;
	--verde-wa: #128c4b;
	--bandera: linear-gradient(90deg, var(--amarillo) 0 50%, var(--azul) 50% 75%, var(--rojo) 75% 100%);
	--radio: 8px;
	--sombra: 0 15px 30px rgba(10, 42, 94, 0.1);
	--letra-titulo: "Marcellus", Georgia, serif;
	--letra-texto: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ancho: 1200px;
	--ancho-texto: 780px;
	--foto-portada: url("../img/fotos/real-baile-pollera.webp");
	--foto-encabezado: url("../img/fotos/real-grupo-viajeros.webp");
	--foto-banda: url("../img/fotos/muralla-atardecer.webp");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body {
	margin: 0;
	font-family: var(--letra-texto);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--texto);
	background: var(--claro);
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--primario-texto); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primario-hover); }
.entrada-contenido p a:not(.tuyo-enlace-flecha), .entrada-contenido li a { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--primario); outline-offset: 3px; }

h1, h2, h3, h4 {
	font-family: var(--letra-titulo);
	font-weight: 400;
	color: var(--oscuro);
	letter-spacing: 0.5px;
	line-height: 1.2;
	margin: 0 0 0.6em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; text-wrap: pretty; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.saltar { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--oscuro); color: #fff; padding: 0.6rem 1rem; }
.saltar:focus { left: 1rem; top: 1rem; }

.envoltura { width: min(100% - 2.5rem, var(--ancho)); margin-inline: auto; }
.envoltura-texto { width: min(100% - 2.5rem, var(--ancho-texto)); margin-inline: auto; }
.seccion { padding-block: clamp(3rem, 7vw, 5rem); }

/* ---------- Botones ---------- */
.tuyo-boton, .wp-block-button__link, .wp-element-button, .fluentform .ff-btn-submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	background: var(--primario-texto); color: #fff; border: 1.5px solid var(--primario-texto); border-radius: var(--radio);
	padding: 0.75rem 1.6rem; font: 600 0.85rem/1.2 var(--letra-texto); letter-spacing: 1px; text-transform: uppercase;
	text-decoration: none; cursor: pointer; transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.tuyo-boton:hover, .wp-block-button__link:hover, .fluentform .ff-btn-submit:hover {
	background: var(--primario-hover); border-color: var(--primario-hover); color: #fff;
	transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.is-style-outline .wp-block-button__link { background: transparent; color: var(--primario-texto); }
.is-style-outline .wp-block-button__link:hover { background: var(--primario-texto); color: #fff; }
.tuyo-boton--whatsapp { background: var(--verde-wa); border-color: var(--verde-wa); }
.tuyo-boton--whatsapp:hover { background: #0b6b38; border-color: #0b6b38; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tuyo-enlace-flecha { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; }
.tuyo-enlace-flecha::after {
	content: ""; width: 16px; height: 16px; background: currentColor;
	-webkit-mask: url("../img/iconos/flecha.svg") center / contain no-repeat; mask: url("../img/iconos/flecha.svg") center / contain no-repeat;
	transition: transform 0.2s;
}
.tuyo-enlace-flecha:hover::after { transform: translateX(3px); }

/* Antetítulo dorado (badge-custom del theme) */
.tuyo-antetitulo, .encabezado-pagina__antetitulo, .tuyo-mensaje__rotulo {
	display: inline-block; color: var(--primario-texto) !important; font-size: 0.75rem; font-weight: 700;
	letter-spacing: 2px; text-transform: uppercase; margin: 0 0 0.5rem;
}

/* ---------- Barra superior y navegación ---------- */
.barra-superior { background: var(--oscuro); color: #cbd5e1; font-size: 0.85rem; padding: 8px 0; }
.barra-superior .envoltura { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.barra-superior__datos { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.barra-superior a { color: #e2e8f0; }
.barra-superior a:hover { color: var(--primario); }
.barra-superior__acciones { display: flex; align-items: center; gap: 1rem; }
.icono { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; background: currentColor;
	-webkit-mask: var(--icono) center / contain no-repeat; mask: var(--icono) center / contain no-repeat; }

.icono--lugar { --icono: url("../img/iconos/lugar.svg"); }
.icono--telefono { --icono: url("../img/iconos/telefono.svg"); }
.icono--correo { --icono: url("../img/iconos/correo.svg"); }
.idiomas { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.15rem; }
.idiomas a { display: block; padding: 0.1rem 0.45rem; border-radius: 3px; font-size: 0.78rem; font-weight: 600; letter-spacing: 1px; color: #cbd5e1; }
.idiomas a[aria-current] { background: var(--primario); color: var(--oscuro); }

.cabecera { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--borde); transition: box-shadow 0.3s; }
.admin-bar .cabecera { top: 32px; }
@media (max-width: 782px) { .admin-bar .cabecera { top: 46px; } }
.cabecera.con-sombra { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
.cabecera__barra { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 82px; }
.marca { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--oscuro); }
.marca:hover { color: var(--oscuro); }
.marca__logo { width: 52px; height: 52px; object-fit: contain; }
.marca__texto { font-family: var(--letra-titulo); font-size: 1.9rem; color: var(--primario-texto); }
.marca__nombre { display: flex; flex-direction: column; line-height: 1.1; }
.marca__nombre small { font-size: 0.68rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--texto); }
.marca__nombre strong { font-family: var(--letra-titulo); font-weight: 400; font-size: 1.45rem; letter-spacing: 3px; text-transform: uppercase; }

.navegacion { display: flex; align-items: center; gap: 1.25rem; }
.navegacion .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.1rem; }
.navegacion .menu a {
	display: block; padding: 0.5rem 0.85rem; color: var(--oscuro); font-size: 0.85rem; font-weight: 500;
	letter-spacing: 0.8px; text-transform: uppercase;
}
.navegacion .menu a:hover, .navegacion .menu .current-menu-item > a, .navegacion .menu .current_page_item > a { color: var(--primario-texto); }
.navegacion .menu .sub-menu { display: none; }
.navegacion__idiomas { display: none; }
.menu-boton { display: none; }

@media (max-width: 1100px) {
	.menu-boton {
		display: inline-flex; align-items: center; gap: 0.6rem; background: none; border: 1px solid var(--borde); border-radius: var(--radio);
		padding: 0.55rem 0.9rem; font: 600 0.8rem var(--letra-texto); letter-spacing: 1px; text-transform: uppercase; color: var(--oscuro); cursor: pointer;
	}
	.menu-boton__icono, .menu-boton__icono::before, .menu-boton__icono::after {
		display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.2s;
	}
	.menu-boton__icono::before, .menu-boton__icono::after { content: ""; position: absolute; left: 0; }
	.menu-boton__icono::before { top: -6px; }
	.menu-boton__icono::after { top: 6px; }
	.menu-abierto .menu-boton__icono { background: transparent; }
	.menu-abierto .menu-boton__icono::before { transform: translateY(6px) rotate(45deg); }
	.menu-abierto .menu-boton__icono::after { transform: translateY(-6px) rotate(-45deg); }
	.navegacion {
		position: fixed; inset: var(--alto-cabecera, 82px) 0 auto 0; flex-direction: column; align-items: stretch; gap: 1rem;
		background: #fff; padding: 1rem 1.25rem 2rem; border-top: 1px solid var(--borde); box-shadow: var(--sombra);
		max-height: calc(100dvh - 82px); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-6px);
		transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
	}
	.menu-abierto .navegacion { visibility: visible; opacity: 1; transform: none; }
	.navegacion .menu { flex-direction: column; }
	.navegacion .menu a { font-size: 0.95rem; padding: 0.8rem 0.5rem; border-bottom: 1px solid var(--borde); }
	.navegacion__idiomas { display: block; }
	.navegacion__idiomas .idiomas a { color: var(--oscuro); border: 1px solid var(--borde); padding: 0.3rem 0.7rem; }
	.barra-superior { display: none; }
}
@media (max-width: 480px) { .marca__nombre small { display: none; } .marca__nombre strong { font-size: 1.2rem; } .cabecera .tuyo-boton { display: none; } }

/* ---------- Encabezado de páginas (page-header del theme) ---------- */
.encabezado-pagina {
	text-align: center; color: #fff; padding: clamp(4rem, 10vw, 6.5rem) 0;
	background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.65)), var(--foto-encabezado) center / cover no-repeat;
}
.encabezado-pagina h1 { color: #fff; margin: 0 auto; max-width: 22ch; }
.encabezado-pagina .encabezado-pagina__antetitulo { color: var(--primario) !important; }
.encabezado-pagina__bajada { color: rgba(255, 255, 255, 0.88); max-width: 60ch; margin: 1rem auto 0; font-size: 1.05rem; }
.migas { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0; padding: 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.migas li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }
.migas a { color: #fff; }

/* ---------- Contenido de páginas ---------- */
.entrada-contenido { padding-block: clamp(2.5rem, 6vw, 4rem); }
.entrada-contenido > * + * { margin-top: 1.25rem; }
.entrada-contenido ul, .entrada-contenido ol { padding-left: 1.3rem; }
.entrada-contenido li + li { margin-top: 0.4rem; }
.entrada-contenido h2 { margin-top: 2.5rem; }
.entrada-contenido blockquote { margin: 1.5rem 0; padding: 1rem 1.5rem; border-left: 3px solid var(--primario); background: #fff; font-family: var(--letra-titulo); font-size: 1.2rem; }
.tuyo-intro { font-size: 1.1rem; }
.tuyo-aviso { background: #fff8eb; border-left: 3px solid var(--primario); padding: 0.9rem 1.2rem; font-size: 0.95rem; }
.foto-destacada { margin: 2.5rem auto 0; }
.foto-destacada img, .wp-block-image img { display: block; width: 100%; border-radius: var(--radio); }

/* Lista con marcas (✓ del theme) */
.tuyo-lista-marcas { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1.5rem; margin: 1.25rem 0 1.75rem; }
.tuyo-lista-marcas li { margin: 0 !important; display: flex; gap: 0.5rem; color: var(--oscuro); font-weight: 500; font-size: 0.95rem; }
.tuyo-lista-marcas li::before { content: ""; flex: 0 0 16px; height: 16px; margin-top: 0.3rem; background: var(--primario-texto); -webkit-mask: url("../img/iconos/marca.svg") center / contain no-repeat; mask: url("../img/iconos/marca.svg") center / contain no-repeat; }
@media (max-width: 600px) { .tuyo-lista-marcas { grid-template-columns: 1fr; } }

/* ---------- Portada ---------- */
.portada > .wp-block-group { padding-inline: max(1.25rem, calc((100% - var(--ancho)) / 2)); }
.portada.entrada-contenido { padding-block: 0; }
.portada.entrada-contenido > * + * { margin-top: 0; }
.tuyo-sec { padding-block: clamp(3.5rem, 8vw, 6rem) !important; }
.tuyo-sec--blanca { background: #fff; }
.tuyo-sec__cabeza { text-align: center; max-width: 720px; margin: 0 auto 2.75rem; }
.tuyo-sec__cabeza h2 { margin-bottom: 0.5rem; }
.tuyo-sec__cabeza p:last-child { margin-bottom: 0; }

/* Hero */
.tuyo-hero {
	position: relative; min-height: 82vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
	text-align: center; color: #fff; padding-block: 5rem 4rem !important;
	background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.6)), var(--foto-portada) center / cover no-repeat;
}
.tuyo-hero .tuyo-antetitulo { color: var(--primario) !important; }
.tuyo-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); max-width: 18ch; margin: 0.4rem auto 1rem; }
.tuyo-hero h1 em { font-style: normal; color: var(--primario); }
.tuyo-hero .tuyo-bajada { color: rgba(255, 255, 255, 0.88); max-width: 62ch; margin: 0 auto 2.25rem; font-size: 1.05rem; }
.tuyo-barra {
	width: 100%; max-width: 1050px; margin-inline: auto; background: var(--oscuro); border-radius: 8px; padding: 1.4rem 1.6rem !important;
	text-align: left; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
.tuyo-barra .wp-block-columns { align-items: center; gap: 1.5rem; margin: 0; }
.tuyo-barra .tuyo-mensaje { background: none; padding: 0; box-shadow: none; border: 0; }
.tuyo-barra .tuyo-mensaje h3 { color: #fff; font-size: 1.2rem; margin-bottom: 0.25rem; }
.tuyo-barra .tuyo-mensaje h3 a { color: #fff; }
.tuyo-barra .tuyo-mensaje p { color: #94a3b8; font-size: 0.92rem; margin: 0; }
.tuyo-barra .tuyo-mensaje__rotulo { color: var(--primario) !important; }
.tuyo-barra .wp-block-buttons { justify-content: flex-end; }
.tuyo-barra .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.tuyo-barra .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--oscuro); border-color: #fff; }
@media (max-width: 781px) { .tuyo-barra .wp-block-buttons { justify-content: flex-start; } }

/* Quiénes somos (section-about) */
.tuyo-nosotros .wp-block-columns { align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.tuyo-foto-marco { position: relative; margin: 0 1.5rem 1.5rem 0; }
.tuyo-foto-marco::before { content: ""; position: absolute; inset: 2rem -1.5rem -1.5rem 2rem; border: 1px solid var(--primario); border-radius: var(--radio); z-index: 0; }
.tuyo-foto-marco img { position: relative; z-index: 1; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); aspect-ratio: 4 / 3; object-fit: cover; }

/* Tarjetas con foto (room-card) */
.tuyo-tarjetas { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem !important; margin: 0 !important; }
.tuyo-tarjetas:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tuyo-tarjetas > .wp-block-column {
	background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); overflow: hidden; display: flex; flex-direction: column;
	transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s, border-color 0.35s;
}
.tuyo-tarjetas > .wp-block-column:hover { transform: translateY(-6px); box-shadow: var(--sombra); border-color: var(--primario); }
.tuyo-tarjetas .wp-block-image { margin: 0; height: 230px; overflow: hidden; }
.tuyo-tarjetas .wp-block-image img { height: 100%; object-fit: cover; border-radius: 0; transition: transform 0.5s; }
.tuyo-tarjetas > .wp-block-column:hover .wp-block-image img { transform: scale(1.06); }
.tuyo-tarjetas > .wp-block-column > :not(.wp-block-image) { margin-inline: 1.4rem; }
.tuyo-tarjetas > .wp-block-column > .wp-block-image + * { margin-top: 1.3rem; }
.tuyo-tarjetas > .wp-block-column > :last-child { margin-bottom: 1.5rem; }
.tuyo-tarjetas > .wp-block-column > :first-child:not(.wp-block-image) { margin-top: 1.6rem; }
.tuyo-tarjetas h3 { font-size: 1.3rem; margin: 0.2rem 1.4rem 0.5rem; }
.tuyo-tarjetas p { font-size: 0.93rem; }
.tuyo-tarjetas .tuyo-antetitulo { margin-bottom: 0; }
@media (max-width: 1000px) { .tuyo-tarjetas, .tuyo-tarjetas:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tuyo-tarjetas, .tuyo-tarjetas:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; } }

/* Tarjetas con ícono (service-card) */
.tuyo-iconos > .wp-block-column { position: relative; text-align: center; padding: 6.4rem 1.4rem 1.6rem; }
.tuyo-iconos > .wp-block-column > * { margin-inline: 0 !important; }
.tuyo-iconos > .wp-block-column::before {
	content: ""; position: absolute; top: 2rem; left: 50%; width: 64px; height: 64px; transform: translateX(-50%);
	border-radius: 50%; border: 1px solid var(--borde); background: rgba(0, 0, 0, 0.03);
}
.tuyo-iconos > .wp-block-column::after {
	content: ""; position: absolute; top: calc(2rem + 17px); left: 50%; width: 30px; height: 30px; transform: translateX(-50%);
	background: var(--primario-texto); -webkit-mask: var(--icono-tarjeta) center / contain no-repeat; mask: var(--icono-tarjeta) center / contain no-repeat;
}
.tuyo-iconos > .wp-block-column:nth-child(1) { --icono-tarjeta: url("../img/iconos/hoja.svg"); }
.tuyo-iconos > .wp-block-column:nth-child(2) { --icono-tarjeta: url("../img/iconos/comunidad.svg"); }
.tuyo-iconos > .wp-block-column:nth-child(3) { --icono-tarjeta: url("../img/iconos/cultura.svg"); }
.tuyo-iconos > .wp-block-column:nth-child(4) { --icono-tarjeta: url("../img/iconos/paz.svg"); }

/* Banda con foto oscura (section-culinary) */
.tuyo-banda {
	text-align: center; color: #fff; padding-block: clamp(4.5rem, 10vw, 7rem) !important;
	background: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.7)), var(--foto-banda) center / cover no-repeat;
}
.tuyo-banda h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.tuyo-banda p { color: rgba(255, 255, 255, 0.88); max-width: 62ch; margin-inline: auto; font-size: 1.05rem; }
.tuyo-banda .tuyo-antetitulo { color: var(--primario) !important; }
.tuyo-banda .wp-block-buttons { justify-content: center; margin-top: 1.75rem; }
.tuyo-banda .is-style-outline .wp-block-button__link { color: #fff; border-color: #fff; }
.tuyo-banda .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--oscuro); }

/* Cierre oscuro (section-cta) */
.tuyo-cta { background: var(--oscuro); color: #cbd5e1; text-align: center; padding-block: clamp(3.5rem, 8vw, 5rem) !important; }
.tuyo-cta h2 { color: #fff; }
.tuyo-cta p { max-width: 60ch; margin-inline: auto; }
.tuyo-cta .wp-block-buttons { justify-content: center; margin-top: 1.5rem; }
.tuyo-cta .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.tuyo-cta .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--oscuro); }

/* Cabeza de sección con botón a la derecha (Descubra el destino) */
.tuyo-cabeza-fila { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.tuyo-cabeza-fila > * { margin: 0 !important; }

/* ---------- Mensaje de hoy (fuera de la barra) ---------- */
.tuyo-mensaje { background: #fff; border: 1px solid var(--borde); border-top: 3px solid var(--primario); border-radius: var(--radio); padding: 1.5rem; }

/* ---------- Eventos ---------- */
.tuyo-eventos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.tuyo-evento { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); overflow: hidden; transition: box-shadow 0.35s, transform 0.35s, border-color 0.35s; }
.tuyo-evento:hover { box-shadow: var(--sombra); transform: translateY(-4px); border-color: var(--primario); }
.tuyo-evento__foto { display: block; height: 190px; overflow: hidden; }
.tuyo-evento__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.tuyo-evento:hover .tuyo-evento__foto img { transform: scale(1.06); }
.tuyo-evento__cuerpo { display: flex; gap: 1.1rem; padding: 1.4rem; border-top: 3px solid var(--primario); }
.tuyo-evento__hoja { flex: 0 0 auto; width: 68px; text-align: center; border: 1px solid var(--borde); border-radius: var(--radio); overflow: hidden; align-self: flex-start; }
.tuyo-evento__hoja span { display: block; font: 2rem/1 var(--letra-titulo); color: var(--oscuro); padding: 0.55rem 0 0.25rem; }
.tuyo-evento__hoja small { display: block; background: var(--oscuro); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 0.25rem 0; }
.tuyo-evento h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.tuyo-evento h3 a { color: var(--oscuro); }
.tuyo-evento h3 a:hover { color: var(--primario-texto); }
.tuyo-evento__cuando { font-weight: 600; color: var(--oscuro); margin: 0; font-size: 0.92rem; }
.tuyo-evento__lugar { margin: 0; font-size: 0.9rem; }
.tuyo-mas { margin-top: 2rem; text-align: center; }
.tuyo-vacio { background: #fff; border: 1px dashed #cfc3b0; border-radius: var(--radio); padding: 1.4rem 1.6rem; text-align: center; font-family: var(--letra-titulo); font-size: 1.1rem; color: var(--oscuro); }
.evento__datos { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin: 2.5rem 0 0; padding: 1.4rem 1.6rem; background: #fff; border: 1px solid var(--borde); border-left: 3px solid var(--primario); border-radius: var(--radio); }
.evento__datos dt { font-weight: 700; color: var(--primario-texto); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 2px; }
.evento__datos dd { margin: 0; color: var(--oscuro); font-family: var(--letra-titulo); font-size: 1.2rem; }
.evento__acciones { display: flex; flex-wrap: wrap; gap: 0.75rem; padding-bottom: 3rem; }

/* ---------- Novedades y listados (blog-card) ---------- */
.tuyo-novedades, .rejilla-tarjetas { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }
.tuyo-novedad, .tarjeta { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.3s, transform 0.3s; }
.tuyo-novedad:hover, .tarjeta:hover { box-shadow: var(--sombra); transform: translateY(-4px); }
.tuyo-novedad { padding-bottom: 1.4rem; }
.tuyo-novedad > :not(.tuyo-novedad__foto) { padding-inline: 1.4rem; }
.tuyo-novedad__foto img, .tarjeta__foto img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tuyo-novedad__fecha, .tarjeta__fecha { font-size: 0.82rem; color: var(--texto); margin: 1.2rem 0 0.4rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--borde); }
.tuyo-novedad h3, .tarjeta h2 { font-size: 1.25rem; }
.tuyo-novedad h3 a, .tarjeta h2 a { color: var(--oscuro); }
.tuyo-novedad h3 a:hover, .tarjeta h2 a:hover { color: var(--primario-texto); }
.tuyo-novedad p, .tarjeta p { font-size: 0.93rem; }
.tarjeta__texto { padding: 0 1.4rem 1.4rem; }
.navigation.pagination { margin-top: 2.5rem; }
.nav-links { display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: center; }
.nav-links a, .nav-links span { padding: 0.45rem 0.9rem; border: 1px solid var(--borde); border-radius: var(--radio); background: #fff; color: var(--oscuro); }
.nav-links .current { background: var(--oscuro); color: #fff; border-color: var(--oscuro); }

/* ---------- Calendario ---------- */
.tuyo-calendario { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: clamp(1rem, 3vw, 2rem); color: var(--texto); }
.tuyo-calendario__cabeza { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.tuyo-calendario__titulo { margin: 0; font-size: 1.6rem; color: var(--oscuro) !important; }
.tuyo-calendario__flecha { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--borde); background: #fff; color: var(--oscuro); font: 1.5rem/1 var(--letra-titulo); cursor: pointer; transition: background 0.2s, color 0.2s; }
.tuyo-calendario__flecha:hover { background: var(--oscuro); color: #fff; }
.tuyo-calendario__rejilla { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.tuyo-calendario__dia-semana { text-align: center; font-weight: 700; font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; padding: 0.3rem 0; }
.tuyo-calendario__dia { min-height: 86px; border: 1px solid var(--borde); border-radius: 4px; padding: 0.4rem 0.45rem; font-size: 0.76rem; line-height: 1.3; overflow: hidden; }
.tuyo-calendario__numero { display: block; font-family: var(--letra-titulo); font-size: 1.05rem; color: var(--oscuro); }
.tuyo-calendario__marca { display: block; margin-top: 0.2rem; color: var(--oscuro); }
.tuyo-calendario__dia.tiene-fecha { background: #faf6f0; border-color: #e6d9c4; }
.tuyo-calendario__dia.tiene-evento { background: var(--oscuro); border-color: var(--oscuro); }
.tuyo-calendario__dia.tiene-evento .tuyo-calendario__numero, .tuyo-calendario__dia.tiene-evento .tuyo-calendario__marca { color: #fff; }
.tuyo-calendario__dia.es-hoy { box-shadow: inset 0 0 0 2px var(--primario); }
.entrada-contenido .tuyo-calendario__lista, .tuyo-calendario__lista { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.4rem; }
.tuyo-calendario__lista li { padding: 0.55rem 0.85rem; border-left: 3px solid var(--primario); background: #faf6f0; margin: 0 !important; }
.tuyo-calendario__lista li.es-evento { border-left-color: var(--oscuro); }
.tuyo-calendario__lista strong { display: inline-block; min-width: 2.2ch; font-family: var(--letra-titulo); color: var(--oscuro); }
@media (max-width: 640px) {
	.tuyo-calendario__dia { min-height: 46px; text-align: center; }
	.tuyo-calendario__marca { display: none; }
}

/* ---------- Formularios (Fluent Forms) ---------- */
.fluentform { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: clamp(1.25rem, 4vw, 2.25rem); }
.fluentform .ff-el-group { margin-bottom: 1.1rem; }
.fluentform .ff-el-input--label label { font-weight: 600; font-size: 0.9rem; color: var(--oscuro); }
.fluentform .ff-el-is-required.asterisk-right label::after { color: var(--primario-texto); }
.fluentform .ff-el-form-control { font: inherit; color: var(--oscuro); background: #fff; border: 1px solid var(--borde); border-radius: 4px; padding: 0.7rem 0.9rem; min-height: 48px; }
.fluentform .ff-el-form-control:focus { border-color: var(--primario); box-shadow: 0 0 0 3px rgba(185, 157, 117, 0.25); }
.fluentform .ff-el-tc label, .fluentform .ff_tc_label { font-size: 0.9rem; line-height: 1.55; }
.fluentform .ff-el-tc a { text-decoration: underline; }
.fluentform .ff-el-tc input[type="checkbox"] { accent-color: var(--primario-texto); width: 1.1rem; height: 1.1rem; }
.fluentform .ff-btn-submit { background: var(--primario-texto) !important; border-radius: var(--radio) !important; min-height: 48px; }
.fluentform .ff-btn-submit:hover { background: var(--primario-hover) !important; }
.fluentform .error.text-danger { color: #b42318; font-size: 0.85rem; }
.ff-message-success { background: #fff; border: 1px solid var(--borde); border-left: 3px solid var(--primario); border-radius: var(--radio); color: var(--oscuro); padding: 1.25rem 1.5rem; font-family: var(--letra-titulo); font-size: 1.15rem; box-shadow: none; }

.buscador { display: flex; gap: 0.5rem; margin: 1.5rem 0; }
.buscador input { flex: 1; font: inherit; border: 1px solid var(--borde); border-radius: 4px; padding: 0.7rem 0.9rem; background: #fff; }

/* ---------- Pie (site-footer) ---------- */
.pie { background: var(--oscuro); color: #94a3b8; font-size: 0.92rem; }
.pie__cuerpo { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: 4.5rem 3rem; }
.pie__nombre { display: flex; align-items: center; gap: 0.6rem; font-family: var(--letra-titulo); font-size: 1.3rem; letter-spacing: 2px; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.pie__nombre::before { content: "✦"; color: var(--primario); font-size: 1rem; }
.pie__titulo { color: #fff; font-family: var(--letra-titulo); font-size: 1.1rem; margin-bottom: 1.1rem; }
.pie ul { list-style: none; margin: 0; padding: 0; }
.pie li + li { margin-top: 0.55rem; }
.pie a { color: #94a3b8; }
.pie a:hover { color: var(--primario); }
.pie__contacto li { display: flex; gap: 0.5rem; align-items: baseline; }
.tuyo-redes { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem !important; }
.tuyo-redes li { margin: 0 !important; }
.tuyo-redes a { display: inline-block; padding: 0.3rem 0.8rem; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 4px; font-size: 0.82rem; }
.otros-idiomas { margin-top: 1.25rem; }
.otros-idiomas .pie__titulo { font-size: 0.95rem; margin-bottom: 0.5rem; }
.otros-idiomas select { font: inherit; font-size: 0.85rem; color: var(--oscuro); background: #fff; border: 0; border-radius: 4px; padding: 0.4rem 0.6rem; max-width: 100%; }
body { top: 0 !important; }
.skiptranslate iframe, #goog-gt-tt { display: none !important; }
.pie__inferior { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.pie__inferior .envoltura { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.25rem; font-size: 0.82rem; }
.pie__inferior a { color: var(--primario); }
@media (max-width: 960px) { .pie__cuerpo { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pie__cuerpo { grid-template-columns: 1fr; } }

.wp-block-separator { border: 0; height: 1px; width: 60px; background: var(--primario); margin-inline: 0; }


/* ---------- Colores de la bandera (acentos) ---------- */
.barra-superior { border-top: 4px solid transparent; border-image: var(--bandera) 1; }
.pie { border-top: 6px solid transparent; border-image: var(--bandera) 1; }
.barra-superior__lema { color: var(--amarillo); font-weight: 600; letter-spacing: 0.5px; }
.tuyo-boton--accion, .cabecera .tuyo-boton, .tuyo-hero .wp-block-button:first-child .wp-block-button__link,
.tuyo-cta .wp-block-button:first-child .wp-block-button__link, .tuyo-banda .wp-block-button:first-child .wp-block-button__link {
	background: var(--rojo); border-color: var(--rojo); color: #fff;
}
.tuyo-boton--accion:hover, .cabecera .tuyo-boton:hover, .tuyo-hero .wp-block-button:first-child .wp-block-button__link:hover,
.tuyo-cta .wp-block-button:first-child .wp-block-button__link:hover, .tuyo-banda .wp-block-button:first-child .wp-block-button__link:hover {
	background: var(--rojo-hover); border-color: var(--rojo-hover);
}
.tuyo-hero h1 em { color: var(--amarillo); }
.tuyo-hero .tuyo-antetitulo, .tuyo-banda .tuyo-antetitulo, .tuyo-barra .tuyo-mensaje__rotulo, .encabezado-pagina .encabezado-pagina__antetitulo { color: var(--amarillo) !important; }
.tuyo-antetitulo, .encabezado-pagina__antetitulo, .tuyo-mensaje__rotulo { color: var(--rojo) !important; }
.tuyo-barra { border-top: 4px solid var(--amarillo); }
.tuyo-sec__cabeza h2::after { content: ""; display: block; width: 70px; height: 4px; margin: 0.9rem auto 0; border-radius: 4px; background: var(--bandera); }
.idiomas a[aria-current] { background: var(--amarillo); color: var(--oscuro); }
.navegacion .menu a:hover, .navegacion .menu .current-menu-item > a, .navegacion .menu .current_page_item > a { color: var(--rojo); }

/* Tarjetas de programas: cada una con su color de la bandera */
.tuyo-tarjetas:not(.tuyo-iconos) > .wp-block-column { border-top: 4px solid var(--color-tarjeta, var(--amarillo)); }
.tuyo-tarjetas > .wp-block-column:nth-child(3n+1) { --color-tarjeta: var(--amarillo); --color-rotulo: #8a6a00; }
.tuyo-tarjetas > .wp-block-column:nth-child(3n+2) { --color-tarjeta: var(--azul); --color-rotulo: var(--azul); }
.tuyo-tarjetas > .wp-block-column:nth-child(3n) { --color-tarjeta: var(--rojo); --color-rotulo: var(--rojo); }
.tuyo-tarjetas > .wp-block-column .tuyo-antetitulo { color: var(--color-rotulo, var(--rojo)) !important; }
.tuyo-tarjetas > .wp-block-column:hover { border-color: var(--borde); border-top-color: var(--color-tarjeta); }

/* Íconos de pilares en círculos de color (como la maqueta de Isidro, en tono suave) */
.tuyo-iconos > .wp-block-column::before { border: 0; background: var(--color-circulo, #fff3c4); width: 72px; height: 72px; }
.tuyo-iconos > .wp-block-column::after { top: calc(2rem + 21px); background: var(--color-icono, var(--azul)); }
.tuyo-iconos > .wp-block-column:nth-child(4n+1) { --color-circulo: #fff3c4; --color-icono: #8a6a00; }
.tuyo-iconos > .wp-block-column:nth-child(4n+2) { --color-circulo: #e3ebf8; --color-icono: var(--azul); }
.tuyo-iconos > .wp-block-column:nth-child(4n+3) { --color-circulo: #fbe3e7; --color-icono: var(--rojo); }
.tuyo-iconos > .wp-block-column:nth-child(4n) { --color-circulo: #e3ebf8; --color-icono: var(--azul); }
.tuyo-iconos > .wp-block-column { padding-top: 7rem; border-top: 0 !important; }

/* Eventos, calendario y novedades */
.tuyo-evento__cuerpo { border-top-color: var(--amarillo); }
.tuyo-evento__hoja small { background: var(--rojo); }
.tuyo-calendario__dia.tiene-fecha { background: #fffbea; border-color: #f3e3a3; }
.tuyo-calendario__dia.tiene-evento { background: var(--azul); border-color: var(--azul); }
.tuyo-calendario__lista li { border-left-color: var(--amarillo); background: #fffbea; }
.tuyo-calendario__lista li.es-evento { border-left-color: var(--azul); background: #eef3fb; }
.tuyo-foto-marco::before { border: 2px solid var(--amarillo); }
.pie__nombre::before { color: var(--amarillo); }
.pie a:hover, .pie__inferior a { color: var(--amarillo); }
.fluentform .ff-btn-submit { background: var(--rojo) !important; }
.fluentform .ff-btn-submit:hover { background: var(--rojo-hover) !important; }

/* ==========================================================================
   Capa creativa (23-nov, pedido de Giordano: «más creatividad, menos cuadrado, más colorido»).
   Formas del propio logo: olas entre secciones, curvas orgánicas, tarjetas redondeadas, botones
   píldora, fondos de color suaves por sección y letra a mano (Caveat) en rótulos y lema.
   ========================================================================== */
:root {
	--naranja: #ee511b;
	--ambar: #f09f2b;
	--azul-logo: #1e2657;
	--crema: #fff7e8;
	--celeste: #eaf2fd;
	--durazno: #fdeee6;
	--radio: 22px;
	--letra-mano: "Caveat", "Segoe Print", cursive;
}
body { background: #fff; }

/* Botones píldora */
.tuyo-boton, .wp-block-button__link, .wp-element-button, .fluentform .ff-btn-submit { border-radius: 999px !important; padding: 0.85rem 1.7rem; }
.tuyo-boton:hover, .wp-block-button__link:hover { transform: translateY(-2px) rotate(-1deg); }

/* Rótulos y lema escritos a mano */
.tuyo-antetitulo, .encabezado-pagina__antetitulo, .tuyo-mensaje__rotulo {
	font-family: var(--letra-mano); font-size: 1.55rem; font-weight: 700; letter-spacing: 0; text-transform: none; line-height: 1.1;
}
.barra-superior__lema { font-family: var(--letra-mano); font-size: 1.2rem; font-weight: 700; letter-spacing: 0.5px; }

/* Cabecera: logo grande, sin marcos */
.marca__logo { width: 64px; height: 64px; object-fit: contain; }
.cabecera__barra { min-height: 90px; }

/* Ola: separador reutilizable (color = fondo de la sección siguiente) */
.tuyo-hero, .tuyo-banda, .encabezado-pagina, .tuyo-sec, .tuyo-cta { position: relative; }
.tuyo-hero::after, .tuyo-banda::after, .encabezado-pagina::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 6vw, 80px); background: var(--ola-color, #fff);
	-webkit-mask: url("../img/ola.svg") center bottom / 100% 100% no-repeat; mask: url("../img/ola.svg") center bottom / 100% 100% no-repeat;
	pointer-events: none;
}
.tuyo-hero::after { --ola-color: var(--crema); }
.tuyo-banda::after { --ola-color: #fff; }
.encabezado-pagina::after { --ola-color: #fff; }
.tuyo-banda::before {
	content: ""; position: absolute; left: 0; right: 0; top: -1px; height: clamp(40px, 6vw, 80px); background: var(--celeste);
	-webkit-mask: url("../img/ola.svg") center / 100% 100% no-repeat; mask: url("../img/ola.svg") center / 100% 100% no-repeat; transform: scaleY(-1);
}

/* Portada: foto con velo de color y un sol detrás del título */
.tuyo-hero {
	min-height: 88vh; padding-block: 6rem 7rem !important; overflow: hidden;
	background: linear-gradient(115deg, rgba(10, 42, 94, 0.88) 0%, rgba(10, 42, 94, 0.55) 45%, rgba(238, 81, 27, 0.35) 100%), var(--foto-portada) center / cover no-repeat;
}
.tuyo-hero > *:not(.tuyo-barra) { position: relative; z-index: 1; }
.tuyo-hero::before {
	content: ""; position: absolute; width: clamp(260px, 32vw, 460px); aspect-ratio: 1; right: -6%; top: 8%; border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, rgba(246, 197, 20, 0.85), rgba(240, 159, 43, 0.55) 60%, transparent 61%);
	filter: blur(2px); opacity: 0.55; z-index: 0;
}
.tuyo-hero .tuyo-antetitulo { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--amarillo) !important; transform: rotate(-2deg); }
.tuyo-hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); text-shadow: 0 6px 30px rgba(0, 0, 0, 0.25); }
.tuyo-hero h1 em { color: var(--amarillo); position: relative; white-space: nowrap; }
.tuyo-hero h1 em::after {
	content: ""; position: absolute; left: -4%; right: -4%; bottom: -0.12em; height: 0.28em; background: var(--naranja);
	-webkit-mask: url("../img/ola-linea.svg") center / 100% 100% no-repeat; mask: url("../img/ola-linea.svg") center / 100% 100% no-repeat;
}
.tuyo-barra {
	position: relative; z-index: 2; border-radius: 28px; border: 0; padding: 1.5rem 1.8rem !important;
	background: rgba(255, 255, 255, 0.96); box-shadow: 0 25px 50px -15px rgba(10, 42, 94, 0.45);
}
.tuyo-barra::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; border-radius: 28px 0 0 28px; background: linear-gradient(var(--amarillo) 50%, var(--azul) 50% 75%, var(--rojo) 75%); }
.tuyo-barra .tuyo-mensaje h3, .tuyo-barra .tuyo-mensaje h3 a { color: var(--azul-logo); }
.tuyo-barra .tuyo-mensaje p { color: var(--texto); }
.tuyo-barra .tuyo-mensaje__rotulo { color: var(--naranja) !important; }
.tuyo-barra .is-style-outline .wp-block-button__link { color: var(--azul); border-color: var(--azul); }
.tuyo-barra .is-style-outline .wp-block-button__link:hover { background: var(--azul); color: #fff; }

/* Fondos de color suaves por sección */
.portada > .tuyo-sec:nth-of-type(2) { background: var(--crema); }
.portada > .tuyo-sec:nth-of-type(3) { background: #fff; }
.portada > .tuyo-sec:nth-of-type(4) { background: var(--celeste); }
.portada > .tuyo-sec:nth-of-type(6) { background: #fff; }
.portada > .tuyo-sec:nth-of-type(7) { background: var(--durazno); }
.tuyo-sec__cabeza h2::after { width: 90px; height: 10px; border-radius: 0; background: var(--naranja); -webkit-mask: url("../img/ola-linea.svg") center / 100% 100% no-repeat; mask: url("../img/ola-linea.svg") center / 100% 100% no-repeat; }

/* Quiénes somos: foto con borde orgánico y mancha de color detrás */
.tuyo-foto-marco { margin: 1.5rem; }
.tuyo-foto-marco::before {
	inset: -8% -10% -6% -6%; border: 0; border-radius: 0; background: var(--ambar); opacity: 0.9;
	-webkit-mask: url("../img/mancha.svg") center / contain no-repeat; mask: url("../img/mancha.svg") center / contain no-repeat;
}
.tuyo-foto-marco::after {
	content: "Desde Cartagena"; position: absolute; z-index: 2; left: -6%; bottom: 6%; padding: 0.4rem 1.1rem; border-radius: 999px;
	background: var(--rojo); color: #fff; font: 700 1.35rem/1.2 var(--letra-mano); transform: rotate(-6deg); box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.35);
}
html[lang^="en"] .tuyo-foto-marco::after { content: "From Cartagena"; }
.tuyo-foto-marco img { border-radius: 58% 42% 48% 52% / 46% 52% 48% 54%; box-shadow: 0 25px 45px -18px rgba(10, 42, 94, 0.45); }
.tuyo-lista-marcas li::before { background: var(--naranja); }

/* Tarjetas de programas: redondeadas, foto en arco y un tono por tarjeta */
.tuyo-tarjetas > .wp-block-column { border: 0 !important; border-radius: 26px; background: var(--fondo-tarjeta, #fff); box-shadow: 0 18px 35px -22px rgba(10, 42, 94, 0.35); }
.tuyo-tarjetas:not(.tuyo-iconos) > .wp-block-column { padding: 0.7rem; }
.tuyo-tarjetas:not(.tuyo-iconos) > .wp-block-column > :not(.wp-block-image) { margin-inline: 0.9rem; }
.tuyo-tarjetas .wp-block-image { height: 210px; border-radius: 120px 120px 18px 18px; }
.tuyo-tarjetas > .wp-block-column:nth-child(6n+1) { --fondo-tarjeta: #fff4d6; --color-rotulo: #8a5a00; }
.tuyo-tarjetas > .wp-block-column:nth-child(6n+2) { --fondo-tarjeta: #e4eefc; --color-rotulo: var(--azul); }
.tuyo-tarjetas > .wp-block-column:nth-child(6n+3) { --fondo-tarjeta: #fde4dc; --color-rotulo: #b23a0e; }
.tuyo-tarjetas > .wp-block-column:nth-child(6n+4) { --fondo-tarjeta: #fde8ec; --color-rotulo: var(--rojo); }
.tuyo-tarjetas > .wp-block-column:nth-child(6n+5) { --fondo-tarjeta: #e3f3ea; --color-rotulo: #1f6b3d; }
.tuyo-tarjetas > .wp-block-column:nth-child(6n) { --fondo-tarjeta: #ece9fb; --color-rotulo: #4b3a9a; }
.tuyo-tarjetas > .wp-block-column:hover { transform: translateY(-8px) rotate(-0.6deg); box-shadow: 0 28px 45px -22px rgba(10, 42, 94, 0.45); }
.tuyo-tarjetas h3 { color: var(--azul-logo); }
.tuyo-tarjetas .tuyo-enlace-flecha { color: var(--color-rotulo); }

/* Pilares: tarjetas blancas redondas con círculo de color sólido */
.tuyo-iconos > .wp-block-column { background: #fff !important; }
.tuyo-iconos > .wp-block-column::before { width: 78px; height: 78px; border-radius: 50% 46% 52% 48%; background: var(--color-circulo); }
.tuyo-iconos > .wp-block-column::after { top: calc(2rem + 22px); width: 34px; height: 34px; background: #fff; }
.tuyo-iconos > .wp-block-column:nth-child(4n+1) { --color-circulo: var(--ambar); }
.tuyo-iconos > .wp-block-column:nth-child(4n+2) { --color-circulo: var(--azul); }
.tuyo-iconos > .wp-block-column:nth-child(4n+3) { --color-circulo: var(--rojo); }
.tuyo-iconos > .wp-block-column:nth-child(4n) { --color-circulo: var(--naranja); }

/* Banda con foto: velo de color y olas arriba y abajo */
.tuyo-banda {
	padding-block: clamp(6rem, 12vw, 9rem) !important;
	background: linear-gradient(120deg, rgba(10, 42, 94, 0.85), rgba(200, 16, 46, 0.55)), var(--foto-banda) center / cover no-repeat;
}
.tuyo-banda .tuyo-antetitulo { font-size: 2rem; }

/* Eventos y novedades: redondeados, fecha en burbuja */
.tuyo-evento, .tuyo-novedad, .tarjeta { border: 0; border-radius: 24px; box-shadow: 0 18px 35px -22px rgba(10, 42, 94, 0.4); }
.tuyo-evento__foto { height: 200px; }
.tuyo-evento__cuerpo { border-top: 0; position: relative; }
.tuyo-evento__hoja { width: 66px; height: 66px; border: 0; border-radius: 50%; background: var(--amarillo); display: flex; flex-direction: column; justify-content: center; margin-top: -2.8rem; box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.35); }
.tuyo-evento:nth-child(3n+2) .tuyo-evento__hoja { background: var(--azul); }
.tuyo-evento:nth-child(3n+2) .tuyo-evento__hoja span, .tuyo-evento:nth-child(3n) .tuyo-evento__hoja span { color: #fff; }
.tuyo-evento:nth-child(3n) .tuyo-evento__hoja { background: var(--rojo); }
.tuyo-evento__hoja span { padding: 0; font-size: 1.6rem; }
.tuyo-evento__hoja small { background: none; color: inherit; padding: 0; font-size: 0.65rem; }
.tuyo-evento:nth-child(3n+2) .tuyo-evento__hoja small, .tuyo-evento:nth-child(3n) .tuyo-evento__hoja small { color: #fff; }
.tuyo-evento__hoja small { color: var(--azul-logo); }
.tuyo-novedad__foto img, .tarjeta__foto img { border-radius: 0 0 40px 0; }
.tuyo-novedad__fecha, .tarjeta__fecha { border-bottom: 0; color: var(--naranja); font: 700 1.2rem var(--letra-mano); }
.tuyo-vacio { border-radius: 24px; }

/* Cierre: bloque redondeado con degradé y manchas de color */
.tuyo-cta {
	margin: clamp(2rem, 5vw, 4rem) max(1.25rem, calc((100% - var(--ancho)) / 2)) !important; border-radius: 40px; overflow: hidden;
	background: linear-gradient(130deg, var(--azul) 0%, #0a2a5e 55%, #3a1f6b 100%) !important;
}
.tuyo-cta::before, .tuyo-cta::after {
	content: ""; position: absolute; width: 260px; aspect-ratio: 1; opacity: 0.9;
	-webkit-mask: url("../img/mancha.svg") center / contain no-repeat; mask: url("../img/mancha.svg") center / contain no-repeat;
}
.tuyo-cta::before { background: var(--ambar); left: -80px; bottom: -90px; }
.tuyo-cta::after { background: var(--rojo); right: -70px; top: -100px; transform: rotate(40deg); }
.tuyo-cta > * { position: relative; z-index: 1; }

/* Encabezado de páginas: velo de color y ola */
.encabezado-pagina { padding-bottom: clamp(5rem, 11vw, 7.5rem); background: linear-gradient(115deg, rgba(10, 42, 94, 0.85), rgba(238, 81, 27, 0.45)), var(--foto-encabezado) center / cover no-repeat; }

/* Formularios, calendario y pie */
.fluentform, .tuyo-calendario { border: 0; border-radius: 28px; box-shadow: 0 18px 40px -24px rgba(10, 42, 94, 0.45); }
.fluentform .ff-el-form-control { border-radius: 14px; background: #f8f9fc; }
.tuyo-calendario__dia { border-radius: 14px; }
.pie { border-top: 0; position: relative; margin-top: clamp(3rem, 6vw, 5rem); }
.pie::before {
	content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * clamp(40px, 6vw, 80px) + 1px); height: clamp(40px, 6vw, 80px); background: var(--oscuro);
	-webkit-mask: url("../img/ola.svg") center / 100% 100% no-repeat; mask: url("../img/ola.svg") center / 100% 100% no-repeat;
}
.pie__logo { width: 70px; height: auto; margin-bottom: 1rem; }

.tuyo-tarjetas p.tuyo-antetitulo { font-size: 1.45rem; }
.tuyo-barra .tuyo-mensaje p.tuyo-mensaje__rotulo { font-size: 1.45rem; margin-bottom: 0.1rem; }
.tuyo-novedad__fecha, .tarjeta__fecha { font-size: 1.3rem !important; }
@media (max-width: 781px) {
	.tuyo-hero { min-height: auto; padding-block: 4rem 5rem !important; }
	.tuyo-foto-marco { margin: 1rem 1.5rem 2rem; }
	.tuyo-cta { border-radius: 28px; }
}

/* Galería (fotos reales de TUYO) y visor. */
.tuyo-galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.75rem; margin: 2rem 0; }
.tuyo-galeria__item { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radio); background: var(--borde); }
.tuyo-galeria__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.tuyo-galeria__item:hover img, .tuyo-galeria__item:focus-visible img { transform: scale(1.05); }
.tuyo-visor { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.tuyo-visor::backdrop { background: rgba(10, 20, 30, 0.92); }
.tuyo-visor__marco { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 3.5rem 4rem; box-sizing: border-box; }
.tuyo-visor img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.tuyo-visor button { position: absolute; background: rgba(255, 255, 255, 0.14); color: #fff; border: 0; width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.tuyo-visor button:hover, .tuyo-visor button:focus-visible { background: rgba(255, 255, 255, 0.3); }
.tuyo-visor__cerrar { top: 1rem; right: 1rem; }
.tuyo-visor__ant { left: 1rem; top: 50%; transform: translateY(-50%); }
.tuyo-visor__sig { right: 1rem; top: 50%; transform: translateY(-50%); }
.tuyo-visor__pie { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: #fff; font-size: 0.95rem; }
@media (max-width: 600px) { .tuyo-galeria { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; } .tuyo-visor__marco { padding: 3.5rem 0.5rem; } }
