/* ============================================================
   HERRERA DEL PISUERGA — HOME
   Sistema de diseño: agua del Canal, piedra, chopos, cielo abierto.
   Bootstrap 5 aporta el grid y las utilidades; estas reglas
   aportan la identidad visual propia del tema.
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Work+Sans:wght@400;500;600&display=swap');

:root{
	--hp-paper:         #F6F7F2;
	--hp-paper-alt:     #EEF0E7;
	--hp-ink:           #1B2620;
	--hp-water:         #1F4E4A;
	--hp-water-dark:    #163A37;
	--hp-water-wash:    #DCEAE7;
	--hp-moss:          #5C7A52;
	--hp-stone:         #C9C2AE;
	--hp-gold:          #B98B3E;
	--hp-crayfish:      #FA4140;
	--hp-white:         #FFFFFF;

	/* Type */
	--hp-font-display: 'Fraunces', Georgia, serif;
	--hp-font-body:    'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

	/* Layout */
	--hp-radius:        2px;
	--hp-section-pad:   clamp(4rem, 8vw, 7rem);
	--hp-container-max: 1240px;
}


/* ============================================================
   BASE
============================================================ */

.hp-home{
	background: var(--hp-paper);
	color: var(--hp-ink);
	font-family: var(--hp-font-body);
	overflow-x: hidden;
}

.hp-home .container{
	max-width: var(--hp-container-max);
}

.hp-home img{
	display: block;
	width: 100%;
	height: auto;
}

.hp-radius{
	border-radius: var(--hp-radius);
}

@media (prefers-reduced-motion: reduce){
	.hp-home *{
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}
}
/* ============================================================
   HERRERA — IDENTIDAD GRÁFICA
   Puente + Pisuerga + rojo del cangrejo
============================================================ */


/* ------------------------------------------------------------
   1. FIRMA BAJO TITULARES
------------------------------------------------------------ */

.hp-heading:not(.hp-heading--on-panel)::after{
	content:"";
	display:block;
	width:92px;
	height:14px;
	margin-top:16px;

	background-repeat:no-repeat;
	background-position:left center;
	background-size:92px 14px;

	/*
	 * Abstracción del puente:
	 * línea / arco / línea
	 */
		background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 14'%3E%3Cpath d='M1 7H31C34 7 35 12 40 12H52C57 12 58 7 61 7H91' fill='none' stroke='%23FA4140' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");

}


/* El H1 del hero no lleva firma.
   Allí manda la fotografía. */
.hp-hero__title::after{
	display:none;
}


/* ------------------------------------------------------------
   2. MARCA GRANDE DE FONDO
------------------------------------------------------------ */

.hp-section--herrera{
	position:relative;
	overflow:hidden;
}

.hp-section--herrera::before{
	content:"";
	position:absolute;
	z-index:0;

	right:-70px;
	top:38px;

	width:380px;
	height:100px;

	background-repeat:no-repeat;
	background-position:center;
	background-size:contain;

background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 14'%3E%3Cpath d='M1 7H31C34 7 35 12 40 12H52C57 12 58 7 61 7H91' fill='none' stroke='%23FA4140' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");

	opacity:.055;
	pointer-events:none;
}

.hp-section--herrera > .container{
	position:relative;
	z-index:1;
}


/* ------------------------------------------------------------
   3. ROJO HERRERA COMO MICROACENTO
------------------------------------------------------------ */

.hp-events__month,
.hp-news-card__date{
	color:var(--hp-crayfish);
}


/* Enlaces editoriales */

.hp-link{
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .45rem;

	font-family: var(--hp-font-body);
	font-weight: 600;
	font-size: .95rem;

	color: var(--hp-water);
	text-decoration: none;

	border-bottom: 1px solid var(--hp-stone);
	padding-bottom: 4px;

	transition: color .2s ease;
}

.hp-link:hover{
	color: var(--hp-water-dark);
}

.hp-link::after{
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;

	width: 100%;
	height: 2px;

	background: var(--hp-crayfish);

	transform: scaleX(.22);
	transform-origin: left center;

	transition: transform .25s ease;
}

.hp-link:hover::after,
.hp-link:focus-visible::after{
	transform: scaleX(1);
}

.hp-link::before{
	content: "↗";
	color: var(--hp-crayfish);
	font-size: .9em;
	line-height: 1;
	order: 2;

	transition: transform .2s ease;
}

.hp-link:hover::before{
	transform: translate(2px,-2px);
}
/* ------------------------------------------------------------
   4. TARJETAS: PEQUEÑO GESTO HERRERA
------------------------------------------------------------ */

.hp-news-card,
.hp-activity{
	position:relative;
}

.hp-news-card::after,
.hp-activity::after{
	content:"";
	position:absolute;

	left:0;
	bottom:0;

	width:22px;
	height:2px;

	background:var(--hp-crayfish);

	transition:width .25s ease;
}

.hp-news-card:hover::after,
.hp-activity:hover::after{
	width:54px;
}


/* ------------------------------------------------------------
   5. FOTOGRAFÍAS — DETALLE PROPIO
------------------------------------------------------------ */

.hp-intro__frame{
	position:relative;
}

.hp-intro__frame::after{
	content:"";
	position:absolute;

	right:-10px;
	bottom:-10px;

	width:56px;
	height:56px;

	border-right:2px solid var(--hp-crayfish);
	border-bottom:2px solid var(--hp-crayfish);

	pointer-events:none;
}


/* ------------------------------------------------------------
   6. PANEL OSCURO / FOTOGRÁFICO
------------------------------------------------------------ */

.hp-heading--on-panel::after{
	content:"";
	display:block;

	width:72px;
	height:2px;

	margin-top:17px;

	background:var(--hp-crayfish);
}


/* ------------------------------------------------------------
   MOBILE
------------------------------------------------------------ */

@media (max-width:767.98px){

	.hp-section--herrera::before{
		width:240px;
		height:70px;
		right:-70px;
		top:22px;
	}

	.hp-heading:not(.hp-heading--on-panel)::after{
		width:76px;
		background-size:76px auto;
	}

}
/* ============================================================
   TIPOGRAFÍA
============================================================ */
.hp-heading{
	font-family: var(--hp-font-display);
	font-weight: 500;
	font-size: clamp(1.9rem, 2.6vw, 2.75rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--hp-ink);
	margin-bottom: 1rem;
}

.hp-heading--on-panel{
	color: var(--hp-white);
}

.hp-text{
	font-size: 1.0625rem;
	line-height: 1.7;
	color: rgba(27, 38, 32, 0.78);
	margin-bottom: 1rem;
}

.hp-text--lead{
	font-size: 1.15rem;
	color: rgba(27, 38, 32, 0.9);
}

.hp-text--on-panel{
	color: rgba(255, 255, 255, 0.88);
}

.hp-max-text{
	max-width: 42em;
}


/* ============================================================
   BOTONES
============================================================ */
.hp-btn{
	display: inline-block;
	font-family: var(--hp-font-body);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.85rem 1.75rem;
	border-radius: var(--hp-radius);
	text-decoration: none;
	border: 1px solid transparent;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hp-btn--light{
	background: var(--hp-white);
	color: var(--hp-water-dark);
}

.hp-btn--light:hover{
	background: var(--hp-water-wash);
	color: var(--hp-water-dark);
}

.hp-btn--outline-light{
	background: transparent;
	color: var(--hp-white);
	border-color: rgba(255, 255, 255, 0.6);
}

.hp-btn--outline-light:hover{
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--hp-white);
	color: var(--hp-white);
}

/* ============================================================
   SECCIONES GENÉRICAS
============================================================ */
.hp-section{
	padding-block: var(--hp-section-pad);
}

.hp-section--tint{
	background: var(--hp-paper-alt);
}
/* ============================================================
   HERO
============================================================ */

.hp-hero{
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	color: var(--hp-white);
}

.hp-hero__media{
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
}

/* Override the base .hp-home img height:auto only for the hero. */
.hp-home .hp-hero__img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.hp-hero__scrim{
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(15, 26, 22, .72) 0%,
		rgba(15, 26, 22, .18) 48%,
		rgba(15, 26, 22, .05) 100%
	);
}

.hp-hero__content{
	position: relative;
	z-index: 2;
	width: 100%;
	padding-block: clamp(3rem, 8vw, 6rem);
}

.hp-hero__title{
	font-family: var(--hp-font-display);
	font-weight: 500;
	font-size: clamp(2.75rem, 6vw, 4.5rem);
	line-height: 1.05;
	letter-spacing: -.015em;
	margin-bottom: 1.25rem;
	animation: hp-rise .9s ease .1s both;
}

.hp-hero__lead{
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
	max-width: 32em;
	color: rgba(255,255,255,.9);
	margin-bottom: 2rem;
	animation: hp-rise .9s ease .25s both;
}

.hp-hero__actions{
	animation: hp-rise .9s ease .4s both;
}

@keyframes hp-rise{
	from{
		opacity: 0;
		transform: translateY(14px);
	}
	to{
		opacity: 1;
		transform: translateY(0);
	}
}

.hp-hero__scroll{
	position: absolute;
	right: clamp(1.5rem, 4vw, 3rem);
	bottom: 2rem;
	z-index: 2;
	width: 1px;
	height: 3.5rem;
}

.hp-hero__scroll-line{
	display: block;
	position: relative;
	width: 1px;
	height: 100%;
	background: rgba(255,255,255,.5);
}

.hp-hero__scroll-line::after{
	content: "";
	position: absolute;
	top: 0;
	left: -2px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--hp-white);
	animation: hp-drip 2.4s ease-in-out infinite;
}

@keyframes hp-drip{
	0%{
		top: 0;
		opacity: 0;
	}
	20%{
		opacity: 1;
	}
	80%{
		opacity: 1;
	}
	100%{
		top: 90%;
		opacity: 0;
	}
}


/* ============================================================
   DESKTOP
============================================================ */

@media (min-width: 992px){

	.hp-hero{
		min-height: 620px;
		height: min(92vh, 860px);
	}

	.hp-hero__img{
		object-position: center center;
	}
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 991.98px){

	.hp-hero{
		min-height: 72vh;
	}

	.hp-hero__content{
		padding-block: 4rem;
	}

	.hp-hero__scrim{
		background: linear-gradient(
			to top,
			rgba(15,26,22,.74) 0%,
			rgba(15,26,22,.34) 52%,
			rgba(15,26,22,.08) 100%
		);
	}
}


/* ============================================================
   MÓVIL
============================================================ */

@media (max-width: 575.98px){

	.hp-hero{
		min-height: 68vh;
	}

	.hp-hero__content{
		display: flex;
		align-items: flex-end;
		min-height: 68vh;
		padding-block: 2.5rem;
	}

	.hp-hero__img{
		object-position: center center;
	}

	.hp-hero__title{
		font-size: clamp(2.4rem, 12vw, 3.25rem);
		line-height: .96;
		max-width: 8ch;
	}

	.hp-hero__lead{
		font-size: .98rem;
		max-width: 28rem;
	}

	.hp-hero__scroll{
		display: none;
	}

	.hp-hero__scrim{
		background: linear-gradient(
			to top,
			rgba(15,26,22,.82) 0%,
			rgba(15,26,22,.48) 48%,
			rgba(15,26,22,.10) 100%
		);
	}
}


/* ============================================================
   ACCESIBILIDAD
============================================================ */

@media (prefers-reduced-motion: reduce){

	.hp-hero__title,
	.hp-hero__lead,
	.hp-hero__actions{
		animation: none;
	}

	.hp-hero__scroll-line::after{
		animation: none;
		opacity: 1;
		top: 40%;
	}
}
/* ============================================================
   INTRO
============================================================ */
.hp-intro__frame{
	overflow: hidden;
	border-radius: var(--hp-radius);
}

/* ============================================================
   QUÉ VER — BENTO ASIMÉTRICO
============================================================ */
.hp-bento{
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-template-rows: auto auto;
	gap: 1.25rem;
}

.hp-bento__item{
	position: relative;
	margin: 0;
	grid-column: span 12;
	overflow: hidden;
	border-radius: var(--hp-radius);
	aspect-ratio: 4 / 3;
}

.hp-bento__item--large{
	aspect-ratio: 16 / 11;
}

.hp-bento__item img{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.hp-bento__item:hover img{
	transform: scale(1.035);
}

.hp-bento__item figcaption{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.25rem 1.4rem;
	background: linear-gradient(to top, rgba(15, 26, 22, 0.75), transparent);
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.hp-bento__title{
	font-family: var(--hp-font-display);
	font-size: 1.15rem;
	color: var(--hp-white);
}

.hp-bento__text{
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.85);
	max-width: 30em;
}

@media (min-width: 768px){
	.hp-bento__item--large{
		grid-column: span 7;
		grid-row: span 2;
	}
	.hp-bento__item:not(.hp-bento__item--large){
		grid-column: span 5;
	}
}

/* ============================================================
   QUÉ HACER — ACTIVIDADES
============================================================ */
.hp-activity{
	height: 100%;
	padding: 1.75rem 0 0;
	border-top: 1px solid var(--hp-stone);
}

.hp-activity__icon{
	display: inline-flex;
	width: 2.75rem;
	height: 2.75rem;
	color: var(--hp-water);
	margin-bottom: 1.1rem;
}

.hp-activity__icon svg{
	width: 100%;
	height: 100%;
}

.hp-activity__title{
	font-family: var(--hp-font-display);
	font-size: 1.2rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
	color: var(--hp-ink);
}

.hp-activity__text{
	font-size: 0.98rem;
	line-height: 1.6;
	color: rgba(27, 38, 32, 0.75);
	max-width: 30em;
}

/* ============================================================
   CANAL DE CASTILLA — BANDA A SANGRE
============================================================ */
.hp-canal{
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	min-height: 34rem;
	color: var(--hp-white);
}

.hp-canal__media{
	position: relative;
}

.hp-canal__media img{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hp-canal__panel{
	position: relative;
	z-index: 1;
	background: rgba(22, 58, 55, 0.86);
	padding: clamp(2.5rem, 6vw, 4.5rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.25rem;
}

.hp-canal__panel .hp-btn{
	align-self: flex-start;
	margin-top: 0.75rem;
}

@media (min-width: 992px){
	.hp-canal{
		grid-template-columns: 1.3fr 1fr;
		min-height: 30rem;
	}
	.hp-canal__panel{
		max-width: 34rem;
	}
}

/* ============================================================
   LUGARES DESTACADOS — SCROLLER HORIZONTAL
============================================================ */
.hp-scroller-nav{
	display: flex;
	gap: 0.5rem;
}

.hp-scroller-nav__btn{
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	border: 1px solid var(--hp-stone);
	background: var(--hp-paper);
	color: var(--hp-ink);
	font-size: 1.25rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hp-scroller-nav__btn:hover{
	background: var(--hp-water-wash);
	border-color: var(--hp-water);
}

.hp-scroller{
	display: flex;
	gap: 1.25rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 0.75rem;
	scrollbar-width: thin;
	scrollbar-color: var(--hp-stone) transparent;
}

.hp-scroller__card{
	flex: 0 0 auto;
	width: min(78vw, 340px);
	scroll-snap-align: start;
}

.hp-scroller__card img{
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: var(--hp-radius);
	margin-bottom: 0.9rem;
}

.hp-scroller__caption h3{
	font-family: var(--hp-font-display);
	font-size: 1.1rem;
	font-weight: 500;
	margin-bottom: 0.3rem;
	color: var(--hp-ink);
}

.hp-scroller__caption p{
	font-size: 0.92rem;
	color: rgba(27, 38, 32, 0.7);
	line-height: 1.55;
}

/* ============================================================
   PRÓXIMOS EVENTOS
============================================================ */
.hp-events{
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 42rem;
}

.hp-events__item{
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	padding: 1.4rem 0;
	border-bottom: 1px solid var(--hp-stone);
}

.hp-events__item:first-child{
	border-top: 1px solid var(--hp-stone);
}

.hp-events__date{
	flex: 0 0 auto;
	width: 4rem;
	text-align: center;
	color: var(--hp-water);
}

.hp-events__day{
	display: block;
	font-family: var(--hp-font-display);
	font-size: 1.9rem;
	line-height: 1;
	font-weight: 500;
}

.hp-events__month{
	display: block;
	font-size: 0.85rem;
	color: rgba(27, 38, 32, 0.6);
	margin-top: 0.2rem;
}

.hp-events__title{
	font-family: var(--hp-font-display);
	font-size: 1.15rem;
	font-weight: 500;
	margin-bottom: 0.2rem;
	color: var(--hp-ink);
}

/* Event titles retain their original typography and spacing when linked. */
.hp-events__title-link{
    font: inherit;
    color: inherit;
    text-decoration: none;
}

.hp-events__title-link:hover{
    color: inherit;
    text-decoration: underline;
}

.hp-events__title-link:focus-visible{
    outline: 2px solid currentColor;
    outline-offset: 3px;
    text-decoration: underline;
}

.hp-events__place{
	font-size: 0.92rem;
	color: rgba(27, 38, 32, 0.65);
	margin: 0;
}

/* ============================================================
   ALOJAMIENTO Y GASTRONOMÍA
============================================================ */
.hp-split img{
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* ============================================================
   NOTICIAS
============================================================ */
.hp-news-card__link{
	display: block;
	text-decoration: none;
	color: inherit;
}

.hp-news-card__media{
	overflow: hidden;
	border-radius: var(--hp-radius);
	margin-bottom: 1rem;
}

.hp-news-card__media img{
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.hp-news-card__link:hover .hp-news-card__media img{
	transform: scale(1.03);
}

.hp-news-card__date{
	display: block;
	font-size: 0.82rem;
	color: var(--hp-water);
	margin-bottom: 0.4rem;
}

.hp-news-card__title{
	font-family: var(--hp-font-display);
	font-size: 1.2rem;
	font-weight: 500;
	color: var(--hp-ink);
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.hp-news-card__excerpt{
	font-size: 0.95rem;
	line-height: 1.6;
	color: rgba(27, 38, 32, 0.72);
}

/* ============================================================
   CTA FINAL
============================================================ */
.hp-cta{
	position: relative;
	display: flex;
	align-items: center;
	min-height: 30rem;
	padding-block: var(--hp-section-pad);
	overflow: hidden;
}

.hp-cta__media{
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hp-cta__media img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hp-cta__scrim{
	position: absolute;
	inset: 0;
	background: rgba(15, 26, 22, 0.62);
}

.hp-cta__content{
	position: relative;
	z-index: 1;
	max-width: 34rem;
}

.hp-cta__actions{
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.75rem;
}

/* =========================================================
   HEADER — DEFINITIVO
========================================================= */

.site-header{
	position: sticky;
	top: 0;
	z-index: 9999;
	background: var(--hp-paper);
	border-bottom: 1px solid rgba(0, 0, 0, .07);
	box-shadow: 0 1px 0 rgba(27, 38, 32, .08);
}

.site-header__inner{
	min-height: 96px;
	display: flex;
	align-items: center;
	gap: 2rem;
}

.site-header__brand{
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	text-decoration: none;
	color: #243129;
}

.site-header__logo{
	display: block;
	width: auto;
	height: 81px;
	max-width: 110px;
	object-fit: contain;
}

.site-header__brand-text{
	display: flex;
	flex-direction: column;
	justify-content: center;
	line-height: 1.1;
}

.site-header__brand-title{
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.45rem;
	font-weight: 600;
	letter-spacing: -.02em;
	color: #243129;
	white-space: nowrap;
}

.site-header__brand-subtitle{
	margin-top: .35rem;
	font-size: .64rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #6b736e;
	white-space: nowrap;
}

.site-header__nav{
	margin-left: auto;
}

.site-header__menu{
	gap: .25rem 1.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header__menu li{
	margin: 0;
}

.site-header__menu a{
	position: relative;
	display: inline-block;
	padding: .5rem 0;
	color: #28312c;
	text-decoration: none;
	font-size: .95rem;
	font-weight: 500;
	transition: color .2s ease;
}

.site-header__menu a::after{
	content: "";
	position: absolute;
	left: 0;
	bottom: .15rem;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .25s ease;
}

.site-header__menu a:hover::after,
.site-header__menu .current-menu-item > a::after{
	transform: scaleX(1);
	transform-origin: left;
}

.admin-bar .site-header{
	top: 32px;
}

@media (max-width: 782px){
	.admin-bar .site-header{
		top: 46px;
	}
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #fff;
}

.site-footer__partners {
    padding: 4rem 0 3.5rem;
    border-top: 1px solid rgba(0,0,0,.07);
}

.site-footer__partners-inner {
    text-align: center;
}

.site-footer__partners-title {
    margin: 0 0 2rem;
    color: #737a76;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.site-footer__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(3rem, 8vw, 7rem);
    flex-wrap: wrap;
}

.site-footer__logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.site-footer__logo-item img {
    display: block;
    width: auto;
    max-width: 240px;
    max-height: 78px;
    object-fit: contain;
}

.site-footer__bottom {
    background: #222b26;
    color: rgba(255,255,255,.72);
}

.site-footer__bottom-inner {
    min-height: 72px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: .8rem;
}

.site-footer__credit{
	padding:22px 0;
	background:#fff;
	border-top:1px solid rgba(27,38,32,.10);
}

.site-footer__credit-inner{
	display:flex;
	align-items:center;
	justify-content:center;
	gap:22px;
}

.site-footer__credit-label{
	font-size:12px;
	font-weight:500;
	letter-spacing:.08em;
	text-transform:uppercase;
	color:rgba(27,38,32,.58);
}

.site-footer__credit-logo{
	display:block;
	width:auto;
	height:38px;
	max-width:160px;
	object-fit:contain;
}

@media (max-width:767.98px){

	.site-footer__credit-inner{
		flex-direction:column;
		gap:12px;
		text-align:center;
	}

	.site-footer__credit-logo{
		height:34px;
	}
}
/* =========================================================
   MENU PRINCIPAL + DROPDOWNS
========================================================= */

.site-header__collapse{
	flex-grow: 1;
}

.site-header__nav{
	display: flex;
	justify-content: flex-end;
	width: 100%;
	margin-left: auto;
}

.site-header__menu,
.site-header__menu ul{
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header__menu{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(.8rem, 1.25vw, 1.45rem);
	width: 100%;
}

.site-header__menu > li{
	position: relative;
	flex: 0 0 auto;
}

.site-header__menu > li > a{
	position: relative;
	display: block;
	padding: 2rem 0;
	color: #26312b;
	font-size: clamp(.82rem, .78vw, .94rem);
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}


/* Línea activa / hover */

.site-header__menu > li > a::after{
	content: "";
	position: absolute;
	left: 0;
	bottom: 1.45rem;

	width: 100%;
	height: 1px;

	background: currentColor;

	transform: scaleX(0);
	transform-origin: right;

	transition: transform .22s ease;
}

.site-header__menu > li > a:hover::after,
.site-header__menu > .current-menu-item > a::after,
.site-header__menu > .current-menu-ancestor > a::after{
	transform: scaleX(1);
	transform-origin: left;
}


/* =========================================================
   SUBMENÚS DESKTOP
========================================================= */

.site-header__menu .sub-menu{
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1100;

	display: block;
	min-width: 230px;

	margin: 0;
	padding: .65rem 0;

	background: #fff;
	border: 1px solid rgba(0, 0, 0, .07);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .10);

	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	pointer-events: none;

	transition:
		opacity .2s ease,
		transform .2s ease,
		visibility .2s ease;
}

.site-header__menu li:hover > .sub-menu,
.site-header__menu li:focus-within > .sub-menu{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.site-header__menu .sub-menu li{
	position: relative;
}

.site-header__menu .sub-menu a{
	display: block;
	padding: .65rem 1rem;

	color: #26312b;
	font-size: .9rem;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
}

.site-header__menu .sub-menu a:hover{
	background: #f4f5f1;
}


/* =========================================================
   BOTÓN BURGER
========================================================= */

.site-header__toggle{
	width: 44px;
	height: 44px;
	margin-left: auto;
	padding: 9px;

	border: 0;
	border-radius: 0;
	background: transparent;

	box-shadow: none !important;
}

.site-header__toggle:focus{
	box-shadow: none !important;
}

.site-header__toggle span{
	display: block;

	width: 24px;
	height: 2px;

	margin: 5px auto;

	background: #243129;

	transition:
		transform .2s ease,
		opacity .2s ease;
}


/* =========================================================
   PORTÁTIL
========================================================= */

@media (max-width: 1199.98px){

	.site-header__inner{
		min-height: 88px;
	}

	.site-header__logo{
		height: 58px;
	}

	.site-header__brand-title{
		font-size: 1.25rem;
	}

	.site-header__brand-subtitle{
		font-size: .58rem;
		letter-spacing: .11em;
	}

	.site-header__menu{
		gap: .8rem;
	}

	.site-header__menu > li > a{
		font-size: .84rem;
	}
}


/* =========================================================
   TABLET Y MÓVIL
========================================================= */

@media (max-width: 991.98px){

	.site-header__inner{
		min-height: 78px;
		padding: .75rem 0;

		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center !important;
		justify-content: space-between;

		gap: 1rem;
	}

	.site-header__brand{
		display: inline-flex;
		align-items: center;

		gap: .75rem;

		flex: 0 1 auto;
		max-width: calc(100% - 60px);
	}

	.site-header__logo{
		width: auto;
		height: 52px;
		max-width: 72px;
	}

	.site-header__brand-title{
		font-size: 1.15rem;
		line-height: 1.1;
	}

	.site-header__brand-subtitle{
		font-size: .52rem;
		letter-spacing: .09em;
	}

	.site-header__toggle{
		width: 42px;
		height: 42px;
		margin-left: auto;
		flex: 0 0 42px;
	}

	.site-header__collapse{
		flex-basis: 100%;
		width: 100%;
	}

	.site-header__nav{
		display: block;
		width: 100%;
		margin-left: 0;

		padding-top: 1rem;
		padding-bottom: .5rem;
	}

	.site-header__menu{
		display: block;
		width: 100%;
	}

	.site-header__menu > li{
		border-top: 1px solid rgba(0, 0, 0, .07);
	}

	.site-header__menu > li > a{
		padding: .8rem 0;
		font-size: .95rem;
	}

	.site-header__menu > li > a::after{
		display: none;
	}

	.site-header__menu .sub-menu{
		position: static;

		min-width: 0;

		margin: 0;
		padding: 0 0 .65rem 1rem;

		border: 0;
		box-shadow: none;

		opacity: 1;
		visibility: visible;
		transform: none;
		pointer-events: auto;
	}

	.site-header__menu .sub-menu a{
		padding: .4rem 0;

		color: #68706b;
		font-size: .88rem;
	}
}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 575.98px){

	.site-header__inner{
		min-height: 72px;
		padding: 10px 0;
	}

	.site-header__brand{
		gap: .7rem;
		max-width: calc(100% - 54px);
	}

	.site-header__logo{
		width: auto;
		height: 48px;
		max-width: 64px;
	}

	.site-header__brand-title{
		font-size: 1rem;
		line-height: 1.05;
	}

	.site-header__brand-subtitle{
		display: none;
	}

	.site-header__menu a{
		font-size: .88rem;
	}

	.site-footer__partners{
		padding: 3rem 0;
	}

	.site-footer__logos{
		flex-direction: column;
		gap: 2rem;
	}

	.site-footer__logo-item{
		min-height: auto;
	}

	.site-footer__logo-item img{
		max-width: 190px;
		max-height: 64px;
	}
}

/* ============================================================
   HERRERA — SUBMENÚS DE TERCER NIVEL
============================================================ */

@media (min-width: 992px) {

    .site-header__menu .sub-menu .sub-menu {
        top: 0;
        left: 100%;
        transform: translate(8px, 0);
        z-index: 1101;
    }

    .site-header__menu .sub-menu li:hover > .sub-menu,
    .site-header__menu .sub-menu li:focus-within > .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translate(0, 0);
        pointer-events: auto;
    }

    /* Indicador visual de tercer nivel */
    .site-header__menu .sub-menu .menu-item-has-children > a {
        padding-right: 2rem;
    }

    .site-header__menu .sub-menu .menu-item-has-children > a::before {
        content: "›";
        position: absolute;
        right: .8rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--hp-crayfish);
        font-size: 1.1rem;
    }
}
