/**
 * Horizonte — hoja de la landing de captación (Google Ads).
 *
 * Traslada la maqueta «Horizonte · Landing Google Ads · Adicciones Jerez» a los
 * bloques del tema. Misma paleta, mismas medidas y los mismos dos cortes que el
 * lienzo: 980 px (tableta) y 820 px (móvil). El lienzo usaba container queries
 * sobre su `.page`; aquí son media queries, porque la landing ocupa siempre el
 * ancho completo de la ventana y así funcionan también en navegadores viejos.
 *
 * La Kumbh Sans se declara en theme.json (fontFace), no aquí: WordPress la
 * sirve con la ruta correcta tanto en la web como dentro del editor, cosa que
 * una @font-face con ruta relativa en esta hoja no consigue en el editor.
 *
 * Todas las clases llevan el prefijo `horizonte-` y sólo existen en estos
 * bloques, así que no hace falta pelear con la especificidad del padre.
 */

/* -------------------------------------------------------------------------- */
/* Tokens                                                                     */
/* -------------------------------------------------------------------------- */

:root {
	--hz-deep: #00403f;
	--hz-green: #007967;
	--hz-sage: #7ebab1;
	--hz-salmon: #f89768;
	--hz-salmon-hover: #f6854f;
	--hz-mint: #eef6f3;
	--hz-text: #2a4645;
	--hz-muted: #3d5958;
	--hz-border: #dceae5;
	--hz-border-strong: #b9d3cc;
	--hz-error: #b3261e;
	--hz-wrap: 1200px;
	--hz-gutter: 40px;
	--hz-sec: 96px;
	/* Lo que tapa la cabecera fija al saltar a un ancla. */
	--hz-header: 76px;
}

html {
	scroll-padding-top: calc(var(--hz-header) + 12px);
}

/* -------------------------------------------------------------------------- */
/* Lienzo                                                                     */
/* -------------------------------------------------------------------------- */

.horizonte-landing {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 18px;
	line-height: 1.6;
	color: var(--hz-text);
	background: #ffffff;
}

/*
 * Los bloques hermanos dentro del contenido llevan el margen de `is-layout-flow`.
 * Aquí las bandas van a sangre y pegadas: ese margen abriría una franja blanca
 * entre cada dos secciones.
 */
#horizonte-main > *,
#horizonte-main > .entry-content > *,
#horizonte-main .wp-block-post-content > *,
.horizonte-landing > * {
	margin-block: 0;
}

#horizonte-main [class*="wp-block-horizonte-landing-"] {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.horizonte-landing *,
.horizonte-landing *::before,
.horizonte-landing *::after {
	box-sizing: border-box;
}

.horizonte-landing a {
	color: var(--hz-green);
}

.horizonte-landing a:hover {
	color: var(--hz-deep);
}

.horizonte-wrap {
	width: 100%;
	max-width: var(--hz-wrap);
	margin-inline: auto;
	padding-inline: var(--hz-gutter);
}

.horizonte-sec {
	padding-block: var(--hz-sec);
}

.horizonte-mint {
	background: var(--hz-mint);
}

/* -------------------------------------------------------------------------- */
/* Tipografía                                                                 */
/* -------------------------------------------------------------------------- */

.horizonte-kicker {
	margin: 0 0 16px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hz-green);
}

.horizonte-h1,
.horizonte-h2 {
	font-family: var(--wp--preset--font-family--sans);
	font-weight: 700;
	color: var(--hz-deep);
}

.horizonte-h1 {
	margin: 0 0 24px;
	font-size: 58px;
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.horizonte-h2 {
	margin: 0 0 20px;
	font-size: 42px;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

/* El subrayado salmón de la marca, a 60 % de la línea. */
.horizonte-hl {
	color: var(--hz-deep);
	background: linear-gradient(transparent 60%, rgba(248, 151, 104, 0.55) 60%);
	padding: 0 0.08em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.horizonte-lead {
	max-width: 760px;
	margin: 0;
	font-size: 20px;
}

.horizonte-landing h3 {
	font-family: var(--wp--preset--font-family--sans);
}

/* -------------------------------------------------------------------------- */
/* Botones                                                                    */
/* -------------------------------------------------------------------------- */

.horizonte-btn,
.horizonte-landing a.horizonte-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 24px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: inherit;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.horizonte-btn svg {
	flex: 0 0 auto;
}

.horizonte-btn--primary,
.horizonte-landing a.horizonte-btn--primary {
	background: var(--hz-salmon);
	border-color: var(--hz-salmon);
	color: var(--hz-deep);
}

.horizonte-btn--primary:hover,
.horizonte-landing a.horizonte-btn--primary:hover {
	background: var(--hz-salmon-hover);
	border-color: var(--hz-salmon-hover);
	color: var(--hz-deep);
}

.horizonte-btn--green,
.horizonte-landing a.horizonte-btn--green {
	background: var(--hz-green);
	border-color: var(--hz-green);
	color: #ffffff;
}

.horizonte-btn--green:hover,
.horizonte-landing a.horizonte-btn--green:hover {
	background: var(--hz-deep);
	border-color: var(--hz-deep);
	color: #ffffff;
}

.horizonte-btn--ghost,
.horizonte-landing a.horizonte-btn--ghost {
	background: #ffffff;
	border-color: var(--hz-sage);
	color: var(--hz-green);
}

.horizonte-btn--ghost:hover,
.horizonte-landing a.horizonte-btn--ghost:hover {
	border-color: var(--hz-green);
	color: var(--hz-deep);
}

.horizonte-btn:focus-visible {
	outline: 3px solid var(--hz-deep);
	outline-offset: 3px;
}

/* -------------------------------------------------------------------------- */
/* Cabecera                                                                   */
/* -------------------------------------------------------------------------- */

.horizonte-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--hz-border);
}

/* La barra de administración de WordPress también es fija: sin esto la
   cabecera se esconde debajo para quien revisa la página con sesión iniciada. */
.admin-bar .horizonte-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.horizonte-header__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--hz-header);
}

.horizonte-header__marca {
	display: inline-flex;
	flex: 0 0 auto;
}

.horizonte-header__logo {
	display: block;
	width: auto;
	height: 34px;
}

.horizonte-header__nombre {
	font-size: 26px;
	font-weight: 700;
	color: var(--hz-deep);
}

.horizonte-header__acciones {
	display: flex;
	align-items: center;
	gap: 12px;
}

.horizonte-header__horario {
	margin: 0 8px 0 0;
	font-size: 16px;
	color: var(--hz-text);
	white-space: nowrap;
}

.horizonte-header__horario strong {
	font-weight: 700;
	color: var(--hz-deep);
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */

.horizonte-hero {
	position: relative;
	overflow: hidden;
	padding: 72px 0 96px;
	background: var(--hz-mint);
}

.horizonte-hero__sol {
	position: absolute;
	right: -120px;
	bottom: -140px;
	width: 560px;
	height: auto;
	opacity: 0.35;
	pointer-events: none;
}

.horizonte-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	grid-template-areas:
		"head form"
		"body form";
	grid-template-rows: auto 1fr;
	column-gap: 64px;
	align-items: start;
}

.horizonte-hero__head {
	grid-area: head;
}

.horizonte-hero__body {
	grid-area: body;
}

.horizonte-hero__form {
	grid-area: form;
}

.horizonte-hero__puntos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 32px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.horizonte-hero__puntos li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	line-height: 1.4;
}

.horizonte-hero__pt-t {
	display: block;
	margin-bottom: 4px;
	font-size: 17px;
	font-weight: 600;
	color: var(--hz-deep);
}

.horizonte-hero__pt-d {
	display: block;
	font-size: 16px;
	color: var(--hz-text);
}

.horizonte-ico {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #ffffff;
	color: var(--hz-green);
}

/* -------------------------------------------------------------------------- */
/* Formulario                                                                 */
/* -------------------------------------------------------------------------- */

.horizonte-form {
	scroll-margin-top: calc(var(--hz-header) + 16px);
}

.horizonte-form__form {
	padding: 32px;
	border: 1px solid var(--hz-border);
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 20px 50px -24px rgba(0, 64, 63, 0.35);
}

.horizonte-form__titulo {
	margin: 0 0 8px;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--hz-deep);
}

.horizonte-form__intro {
	margin: 0 0 24px;
	font-size: 16px;
	color: var(--hz-text);
}

.horizonte-form__aviso {
	margin: 0 0 18px;
	padding: 12px 16px;
	border-radius: 12px;
	background: #fbeceb;
	font-size: 15px;
	font-weight: 500;
	color: var(--hz-error);
}

.horizonte-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 18px;
}

.horizonte-form__lbl,
.horizonte-form__seg legend {
	font-size: 16px;
	font-weight: 600;
	color: var(--hz-deep);
}

.horizonte-form__opt {
	font-weight: 400;
	color: #4f6968;
}

.horizonte-form__inp {
	min-height: 52px;
	padding: 0 16px;
	border: 1.5px solid var(--hz-border-strong);
	border-radius: 12px;
	background: #ffffff;
	font-family: inherit;
	font-size: 17px;
	color: var(--hz-deep);
}

.horizonte-form__area {
	min-height: 96px;
	padding-block: 12px;
	resize: vertical;
}

.horizonte-form__inp::placeholder {
	color: #6c8483;
	opacity: 1;
}

.horizonte-form__inp:focus {
	outline: 3px solid rgba(126, 186, 177, 0.6);
	outline-offset: 1px;
	border-color: var(--hz-green);
}

.horizonte-form__inp[aria-invalid="true"] {
	border-color: var(--hz-error);
}

/* Pastillas: radios de verdad tras su etiqueta. */
.horizonte-form__seg {
	margin: 0 0 18px;
	padding: 0;
	border: 0;
	min-width: 0;
}

.horizonte-form__seg legend {
	margin: 0 0 8px;
	padding: 0;
}

.horizonte-form__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.horizonte-pill {
	position: relative;
	display: inline-flex;
}

.horizonte-pill input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.horizonte-pill label {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 18px;
	border: 1.5px solid var(--hz-border-strong);
	border-radius: 999px;
	background: #ffffff;
	font-size: 16px;
	font-weight: 500;
	color: var(--hz-deep);
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.horizonte-pill input:hover + label {
	border-color: var(--hz-green);
}

.horizonte-pill input:checked + label {
	background: var(--hz-deep);
	border-color: var(--hz-deep);
	color: #ffffff;
}

.horizonte-pill input:focus-visible + label {
	outline: 3px solid rgba(126, 186, 177, 0.8);
	outline-offset: 2px;
}

.horizonte-pill input[aria-invalid="true"] + label {
	border-color: var(--hz-error);
}

.horizonte-form__field--chk {
	margin: 4px 0 8px;
}

.horizonte-form__chk {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--hz-text);
	cursor: pointer;
}

.horizonte-form__chk input {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin: 1px 0 0;
	accent-color: var(--hz-green);
}

.horizonte-form__err {
	margin: 4px 0 0;
	font-size: 15px;
	font-weight: 500;
	color: var(--hz-error);
}

.horizonte-form__err[hidden] {
	display: none;
}

.horizonte-form__enviar,
.horizonte-landing .horizonte-form__enviar {
	width: 100%;
	min-height: 56px;
	margin-top: 16px;
	font-size: 18px;
	white-space: normal;
	text-align: center;
}

.horizonte-form__enviar[aria-disabled="true"] {
	opacity: 0.75;
	cursor: progress;
}

.horizonte-form__lock {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 14px 0 0;
	font-size: 15px;
	text-align: center;
	color: var(--hz-text);
}

.horizonte-form__lock svg {
	flex: 0 0 auto;
}

.horizonte-form__senuelo {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* -------------------------------------------------------------------------- */
/* Banda de datos                                                             */
/* -------------------------------------------------------------------------- */

.horizonte-stats {
	padding: 40px 0;
	background: var(--hz-deep);
	color: #ffffff;
}

.horizonte-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.horizonte-stat {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-left: 24px;
	border-left: 1px solid rgba(126, 186, 177, 0.45);
}

.horizonte-stat:first-child {
	padding-left: 0;
	border-left: 0;
}

.horizonte-stat__v {
	font-size: 34px;
	font-weight: 500;
	line-height: 1.15;
	color: #ffffff;
}

.horizonte-stat__l {
	font-size: 16px;
	color: #cfe6e0;
}

/* -------------------------------------------------------------------------- */
/* Tarjetas y listas                                                          */
/* -------------------------------------------------------------------------- */

.horizonte-two {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-top: 40px;
}

.horizonte-card {
	padding: 36px;
	border-radius: 24px;
	background: var(--hz-mint);
}

.horizonte-card__h {
	margin: 0 0 18px;
	font-size: 22px;
	font-weight: 700;
	color: var(--hz-deep);
}

.horizonte-lista {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.horizonte-lista li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	line-height: 1.5;
}

.horizonte-dot {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin-top: 10px;
	border-radius: 50%;
	background: var(--hz-salmon);
}

.horizonte-lista--iconos {
	gap: 20px;
}

.horizonte-lista--iconos .horizonte-lista__txt {
	padding-top: 7px;
}

.horizonte-callout {
	max-width: 820px;
	margin: 40px auto 0;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.45;
	text-align: center;
	color: var(--hz-deep);
}

/* Formas de tratarte */
.horizonte-four {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 40px;
}

.horizonte-tcard {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 36px;
	border-radius: 24px;
	background: #ffffff;
}

.horizonte-tcard h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--hz-deep);
}

.horizonte-tcard p {
	margin: 0;
}

.horizonte-ico-lg {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--hz-mint);
	color: var(--hz-green);
}

/* Lo que nos diferencia */
.horizonte-six {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 40px;
}

.horizonte-diff {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 30px;
	border-radius: 20px;
	background: var(--hz-mint);
}

.horizonte-diff__n {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--hz-green);
}

.horizonte-diff h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--hz-deep);
}

.horizonte-diff p {
	margin: 0;
	font-size: 17px;
}

/* Tres pasos */
.horizonte-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 48px 0 40px;
	padding: 0;
	list-style: none;
}

.horizonte-step {
	position: relative;
	padding-top: 72px;
}

.horizonte-step__n {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--hz-salmon);
	font-size: 22px;
	font-weight: 700;
	color: var(--hz-deep);
}

.horizonte-step__line {
	position: absolute;
	top: 26px;
	left: 68px;
	right: -8px;
	height: 2px;
	background: var(--hz-border-strong);
}

.horizonte-step h3 {
	margin: 0 0 8px;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--hz-deep);
}

.horizonte-step p {
	margin: 0;
}

/* Quién te va a atender */
.horizonte-team {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	align-items: center;
	gap: 56px;
	margin-top: 40px;
	padding: 48px;
	border-radius: 28px;
	background: #ffffff;
}

.horizonte-team__foto {
	display: block;
	width: 260px;
	height: 300px;
	border-radius: 24px;
	object-fit: cover;
	object-position: center top;
}

.horizonte-team__foto--iniciales {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--hz-deep);
	font-size: 84px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #ffffff;
}

.horizonte-team__nombre {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	color: var(--hz-deep);
}

.horizonte-team__cargo {
	margin: 4px 0 16px;
	font-size: 17px;
	font-weight: 600;
	color: var(--hz-green);
}

.horizonte-team__bio {
	margin: 0;
}

.horizonte-quote {
	display: flex;
	gap: 16px;
	margin: 24px 0;
	padding: 0;
	border: 0;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--hz-deep);
}

.horizonte-quote__mark {
	font-size: 72px;
	font-weight: 700;
	line-height: 0.8;
	color: var(--hz-salmon);
}

.horizonte-team__nota {
	margin: 0;
	font-size: 16px;
	color: var(--hz-muted);
}

/* Para familias */
.horizonte-fam {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 56px;
}

.horizonte-fam__cuerpo {
	margin: 0 0 28px;
}

/* El centro */
.horizonte-centro {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	align-items: start;
	gap: 48px;
	margin-top: 40px;
}

.horizonte-photos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

/* Huecos de foto: los mismos rayados de la maqueta mientras no haya foto. */
.horizonte-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	padding: 16px;
	border: 1.5px dashed #9cc5bc;
	border-radius: 20px;
	background: repeating-linear-gradient(135deg, #e3efeb 0 12px, #eef6f3 12px 24px);
	font-size: 15px;
	font-weight: 500;
	text-align: center;
	color: #2f5a57;
}

.horizonte-ph--foto {
	display: block;
	width: 100%;
	height: auto;
	padding: 0;
	border: 0;
	background: none;
	object-fit: cover;
}

.horizonte-centro__texto {
	margin: 0 0 8px;
	font-size: 20px;
}

.horizonte-map {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	margin: 20px 0;
	border-radius: 20px;
}

.horizonte-map[data-horizonte-mapa] {
	background: var(--hz-mint);
}

.horizonte-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.horizonte-map__boton {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 100%;
	border: 1.5px solid var(--hz-border-strong);
	border-radius: 20px;
	background: transparent;
	font-family: inherit;
	font-size: 17px;
	font-weight: 600;
	color: var(--hz-deep);
	cursor: pointer;
}

.horizonte-map__boton svg {
	color: var(--hz-green);
}

.horizonte-map__boton small {
	font-size: 14px;
	font-weight: 400;
	color: var(--hz-muted);
}

/* Aviso de urgencias */
.horizonte-notice {
	padding: 28px 0;
	border-top: 1px solid var(--hz-border);
	border-bottom: 1px solid var(--hz-border);
	background: #f6f9f8;
}

.horizonte-notice p {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	font-size: 16px;
}

.horizonte-notice__ico {
	flex: 0 0 auto;
	margin-top: 1px;
	color: var(--hz-green);
}

.horizonte-notice__ico svg {
	display: block;
}

/* Cierre */
.horizonte-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	overflow: hidden;
	border: 1px solid var(--hz-border);
	border-radius: 32px;
}

.horizonte-cta__grad {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	padding: 64px 56px;
	background:
		radial-gradient(circle at 0% 0%, #a9d4ec 0, rgba(169, 212, 236, 0) 62%),
		radial-gradient(circle at 100% 0%, #cdb3d4 0, rgba(205, 179, 212, 0) 62%),
		radial-gradient(circle at 0% 100%, #f7b8a2 0, rgba(247, 184, 162, 0) 62%),
		radial-gradient(circle at 100% 100%, #f89768 0, rgba(248, 151, 104, 0) 62%),
		#f4d6cc;
}

.horizonte-cta__grad .horizonte-h2 {
	margin: 0;
}

.horizonte-cta__grad p {
	margin: 0;
	font-size: 20px;
	font-weight: 500;
	color: var(--hz-deep);
}

.horizonte-cta__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}

.horizonte-cta__form {
	background: #ffffff;
}

.horizonte-cta__form .horizonte-form__form {
	padding: 48px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

/* Pie */
.horizonte-strip {
	padding: 18px 0;
	border-top: 1px solid var(--hz-border);
	font-size: 14px;
	color: var(--hz-muted);
}

.horizonte-strip__in {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
}

.horizonte-strip__links {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.horizonte-landing .horizonte-strip a {
	color: var(--hz-muted);
}

.horizonte-landing .horizonte-strip a:hover {
	color: var(--hz-deep);
}

/* Barra fija del móvil: no existe en escritorio. */
.horizonte-mbar {
	display: none;
}

/* Página de gracias */
.horizonte-gracias {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - var(--hz-header) - 60px);
	padding: 64px 24px;
	background: var(--hz-mint);
}

.horizonte-gracias__card {
	width: 100%;
	max-width: 640px;
	padding: 56px 40px;
	border: 1px solid var(--hz-border);
	border-radius: 28px;
	background: #ffffff;
	box-shadow: 0 20px 50px -24px rgba(0, 64, 63, 0.3);
	text-align: center;
}

.horizonte-gracias__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: var(--hz-mint);
	color: var(--hz-green);
}

.horizonte-gracias__titular {
	margin: 0 0 16px;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--hz-deep);
}

.horizonte-gracias__desde,
.horizonte-gracias__cuerpo {
	margin: 0 0 12px;
}

.horizonte-gracias__acciones {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 32px;
}

.horizonte-gracias__nota {
	margin: 32px 0 0;
	font-size: 15px;
	color: var(--hz-muted);
}

/* Páginas legales: columna de lectura entre la cabecera y el pie. */
.horizonte-legal__cuerpo {
	max-width: 720px;
	margin: 0 auto;
	padding: 64px var(--hz-gutter) 96px;
}

.horizonte-legal__titulo {
	margin: 0 0 32px;
	font-size: 42px;
	line-height: 1.15;
	color: var(--hz-deep);
}

/* -------------------------------------------------------------------------- */
/* Tableta: 980 px                                                            */
/* -------------------------------------------------------------------------- */

@media (max-width: 980px) {
	.horizonte-h1 {
		font-size: 48px;
	}

	.horizonte-six,
	.horizonte-four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.horizonte-header__horario {
		display: none;
	}
}

/* -------------------------------------------------------------------------- */
/* Móvil: 820 px                                                              */
/* -------------------------------------------------------------------------- */

@media (max-width: 820px) {
	:root {
		--hz-gutter: 20px;
		--hz-sec: 64px;
		--hz-header: 64px;
	}

	.horizonte-landing {
		font-size: 17px;
	}

	.horizonte-h1 {
		margin-bottom: 24px;
		font-size: 36px;
	}

	.horizonte-h2 {
		font-size: 30px;
	}

	.horizonte-lead {
		font-size: 18px;
	}

	.horizonte-header__logo {
		height: 24px;
	}

	.horizonte-header__acciones {
		gap: 8px;
	}

	.horizonte-header .horizonte-btn {
		min-height: 44px;
		padding: 0 14px;
	}

	/* En la cabecera del móvil, sólo los iconos: el nombre del botón lo lleva
	   el aria-label. */
	.horizonte-header .horizonte-btn__txt {
		display: none;
	}

	.horizonte-hero {
		padding: 32px 0 56px;
	}

	.horizonte-hero__sol {
		right: -100px;
		bottom: -80px;
		width: 320px;
	}

	/* Titular, formulario y luego los puntos. */
	.horizonte-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"head"
			"form"
			"body";
		grid-template-rows: auto;
		row-gap: 28px;
	}

	.horizonte-hero__puntos {
		grid-template-columns: minmax(0, 1fr);
	}

	.horizonte-form__form {
		padding: 24px 20px;
		border-radius: 20px;
	}

	.horizonte-stats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 28px;
	}

	.horizonte-stat {
		padding-left: 0;
		border-left: 0;
	}

	.horizonte-stat__v {
		font-size: 28px;
	}

	.horizonte-two,
	.horizonte-six,
	.horizonte-four,
	.horizonte-fam,
	.horizonte-centro {
		grid-template-columns: minmax(0, 1fr);
	}

	.horizonte-card,
	.horizonte-tcard {
		padding: 26px;
	}

	.horizonte-callout {
		font-size: 20px;
	}

	.horizonte-steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.horizonte-step {
		min-height: 52px;
		padding-top: 0;
		padding-left: 72px;
	}

	.horizonte-step__line {
		display: none;
	}

	.horizonte-team {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
		padding: 28px;
	}

	/* Con foto real, el círculo de 120 px de la maqueta (pensado para las
	   iniciales) dejaba la cara diminuta. Cuadrado redondeado, centrado en
	   la cara. */
	.horizonte-team__foto {
		width: 100%;
		max-width: 320px;
		height: auto;
		aspect-ratio: 1 / 1;
		object-position: 50% 0;
	}

	.horizonte-team__foto--iniciales {
		width: 120px;
		height: 120px;
		border-radius: 50%;
		font-size: 42px;
	}



	.horizonte-quote {
		font-size: 20px;
	}

	.horizonte-fam {
		gap: 32px;
	}

	.horizonte-cta {
		grid-template-columns: minmax(0, 1fr);
		border-radius: 24px;
	}

	.horizonte-cta__grad {
		padding: 40px 24px;
	}

	.horizonte-cta__form .horizonte-form__form {
		padding: 28px 20px;
	}

	.horizonte-gracias__card {
		padding: 40px 24px;
	}

	.horizonte-gracias__titular {
		font-size: 30px;
	}

	.horizonte-mbar {
		position: sticky;
		bottom: 0;
		z-index: 30;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
		padding: 10px 12px 14px;
		padding-bottom: max(14px, env(safe-area-inset-bottom));
		border-top: 1px solid var(--hz-border);
		background: #ffffff;
		box-shadow: 0 -8px 24px -12px rgba(0, 64, 63, 0.25);
	}

	.horizonte-mbar .horizonte-btn,
	.horizonte-landing .horizonte-mbar a.horizonte-btn {
		min-height: 52px;
		padding: 0 8px;
		gap: 6px;
		font-size: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.horizonte-btn,
	.horizonte-pill label {
		transition: none;
	}
}
