/* ==========================================================================
   HAZEESORATÉ · estilos del tema
   Colores: profundo #0B1630 · marino #1B2A4D · real #21407E · brillante #2D63C8
            celeste #7FA3E0 · celeste claro #B9CDF0 · niebla #DCE6F7
            hielo #E8F0F8 · bruma #F4F7FB · texto #4B5670 · borde #E3E8F0
   ========================================================================== */

:root {
	--hz-profundo: #0B1630;
	--hz-marino: #1B2A4D;
	--hz-real: #21407E;
	--hz-brillante: #2D63C8;
	--hz-cielo: #7FA3E0;
	--hz-etiqueta: #B9CDF0;
	--hz-niebla: #DCE6F7;
	--hz-hielo: #E8F0F8;
	--hz-bruma: #F4F7FB;
	--hz-texto: #4B5670;
	--hz-borde: #E3E8F0;
	--hz-borde-2: #C9D6E8;
	--hz-degradado: linear-gradient(100deg, #0B1630 0%, #1B2A4D 45%, #21407E 80%, #2D63C8 100%);
	--hz-espiral: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 204 204'%3E%3Cpath d='M8.5 204V8.5H195.5V195.5H42.5V42.5H161.5V161.5H76.5V76.5H127.5V127.5H102' fill='none' stroke='%237FA3E0' stroke-width='17'/%3E%3C/svg%3E");
	--hz-espiral-clara: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 204 204'%3E%3Cpath d='M8.5 204V8.5H195.5V195.5H42.5V42.5H161.5V161.5H76.5V76.5H127.5V127.5H102' fill='none' stroke='%23DCE7F4' stroke-width='17'/%3E%3C/svg%3E");
	--hz-escalon: polygon(0 56px, 28px 56px, 28px 28px, 56px 28px, 56px 0, 100% 0, 100% calc(100% - 56px), calc(100% - 28px) calc(100% - 56px), calc(100% - 28px) calc(100% - 28px), calc(100% - 56px) calc(100% - 28px), calc(100% - 56px) 100%, 0 100%);
	--hz-filtro-azul: grayscale(1) sepia(1) hue-rotate(186deg) saturate(2.6) brightness(0.8) contrast(1.1);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(h1, h2, h3) { text-wrap: balance; }
:where(p) { text-wrap: pretty; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 2px solid var(--hz-brillante);
	outline-offset: 3px;
}

/* ---------- Utilidades de texto ---------- */
.hz-etiqueta, .wp-block-post-terms.hz-etiqueta, .hz-etiqueta a {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hz-brillante);
	text-decoration: none;
	margin: 0;
}
.hz-intro { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; max-width: 640px; }
.hz-titulo-azul, .hz-titulo-azul.wp-block-heading { color: var(--hz-brillante); }
.hz-pendiente {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 4px 14px; border: 1.5px dashed #8A93AA; border-radius: 999px;
	font-size: 13px; font-weight: 600; color: var(--hz-texto); width: fit-content;
}
.hz-lectura { font-size: 13px; color: var(--hz-texto); margin: 0; }

/* ---------- Secciones ---------- */
.hz-seccion { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.hz-seccion-corta { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.hz-hielo { background: var(--hz-hielo); }
.hz-bruma { background: var(--hz-bruma); }
.hz-oscura, .hz-degradado, .hz-marina { color: var(--hz-niebla); }
.hz-oscura { background: var(--hz-profundo); }
.hz-marina { background: var(--hz-marino); }
.hz-degradado { background: var(--hz-degradado); }
.hz-oscura :where(h1, h2, h3, h4, strong), .hz-degradado :where(h1, h2, h3, h4, strong), .hz-marina :where(h1, h2, h3, h4, strong) { color: #fff; }
.hz-oscura .hz-etiqueta, .hz-degradado .hz-etiqueta, .hz-marina .hz-etiqueta, .hz-fondo .hz-etiqueta, .hz-slide .hz-etiqueta, .hz-banner .hz-etiqueta { color: var(--hz-etiqueta); }
.hz-oscura a:not(.wp-element-button), .hz-degradado a:not(.wp-element-button), .hz-marina a:not(.wp-element-button) { color: #fff; }

/* Espiral gigante decorativa */
.hz-espiral { position: relative; overflow: hidden; isolation: isolate; }
.hz-espiral::after {
	content: ""; position: absolute; z-index: -1; pointer-events: none;
	right: -9%; top: 50%; width: min(760px, 70vw); aspect-ratio: 1;
	background: var(--hz-espiral) center / contain no-repeat;
	transform: translateY(-50%) rotate(45deg); opacity: 0.32;
}
.hz-espiral-clara::after { background-image: var(--hz-espiral-clara); opacity: 1; left: -240px; right: auto; top: auto; bottom: -320px; transform: rotate(45deg); }

/* ---------- Fotos con el tratamiento azul ---------- */
.hz-foto-azul img, .is-style-hz-azul img, .hz-pub .wp-block-post-featured-image img { filter: var(--hz-filtro-azul); }
.hz-escalon img, .is-style-hz-escalon img { clip-path: var(--hz-escalon); filter: var(--hz-filtro-azul); }
.hz-escalon, .is-style-hz-escalon { margin: 0; }
.hz-foto-azul img, .hz-escalon img, .is-style-hz-azul img, .is-style-hz-escalon img { width: 100%; object-fit: cover; }
.hz-foto-alta img { aspect-ratio: 4 / 3; }
.hz-foto-ancha img { aspect-ratio: 16 / 9; }

/* Grupos con foto de fondo (portada, banners, mosaicos) */
.hz-fondo {
	position: relative; isolation: isolate; overflow: hidden;
	background-color: var(--hz-marino) !important;
	background-blend-mode: luminosity;
	background-size: cover; background-repeat: no-repeat;
	color: var(--hz-niebla);
}
.hz-fondo::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(90deg, rgba(11, 22, 48, 0.95) 0%, rgba(17, 32, 66, 0.86) 38%, rgba(27, 42, 77, 0.55) 66%, rgba(33, 64, 126, 0.25) 100%);
}
.hz-fondo :where(h1, h2, h3, h4, strong) { color: #fff; }
.hz-fondo a:not(.wp-element-button) { color: #fff; }
.hz-fondo-vidrio { background-blend-mode: normal; }
.hz-fondo-vidrio::before { background: linear-gradient(90deg, rgba(11, 22, 48, 0.95) 0%, rgba(11, 22, 48, 0.8) 45%, rgba(11, 22, 48, 0.2) 100%); }

/* ---------- Portada (diapositivas) ---------- */
.hz-slider { position: relative; padding: 0 !important; }
.hz-slider > .hz-slide { min-height: clamp(560px, 78vh, 740px); display: flex; flex-direction: column; justify-content: center; padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(112px, 12vw, 150px); }
.hz-slider:not(.is-ready) > .hz-slide + .hz-slide { display: none; }
.hz-slider.is-ready > .hz-slide[hidden] { display: none; }
.editor-styles-wrapper .hz-slider > .hz-slide, .editor-styles-wrapper .hz-slider:not(.is-ready) > .hz-slide + .hz-slide { display: flex !important; margin-top: 4px; }
.hz-slide h1, .hz-slide h2 { font-size: var(--wp--preset--font-size--portada); line-height: 1.08; max-width: 780px; margin: 0; }
.hz-slide .hz-intro { color: var(--hz-niebla); }
.hz-slide-texto > * + * { margin-top: 22px !important; }
.hz-slider-ctrl {
	position: absolute; left: 0; right: 0; bottom: clamp(28px, 4vw, 48px);
	width: min(1360px, 100% - 2 * clamp(16px, 3vw, 40px)); margin: 0 auto;
	display: flex; align-items: center; gap: 14px; color: #fff; z-index: 2;
}
.hz-slider-ctrl button {
	width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.6);
	background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.hz-slider-ctrl button:hover { background: rgba(255, 255, 255, 0.12); }
.hz-slider-ctrl .hz-puntos { display: flex; gap: 4px; }
.hz-slider-ctrl .hz-punto { width: 44px; height: 44px; border: 0; }
.hz-slider-ctrl .hz-punto span { display: block; width: 14px; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.45); margin: 0 auto; transition: width 0.25s; }
.hz-slider-ctrl .hz-punto[aria-current="true"] span { width: 32px; background: #fff; }
.hz-slider-ctrl .hz-contador { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; color: var(--hz-etiqueta); margin-left: 6px; }

/* ---------- Banners de páginas internas ---------- */
.hz-banner { min-height: clamp(340px, 30vw, 440px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: clamp(56px, 6vw, 88px); padding-bottom: clamp(48px, 5vw, 72px); }
.hz-banner h1 { font-size: clamp(40px, 4.6vw, 64px); margin: 0; }
.hz-banner .hz-intro { color: var(--hz-niebla); }
.hz-ruta { font-size: 14px; color: var(--hz-etiqueta); margin: 0; }
.hz-ruta a { color: var(--hz-niebla) !important; text-decoration: none; }

/* ---------- Botones ---------- */
.wp-element-button, .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; box-sizing: border-box; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.is-style-hz-claro .wp-block-button__link { background: #fff; color: var(--hz-marino); }
.is-style-hz-claro .wp-block-button__link:hover { background: var(--hz-hielo); color: var(--hz-marino); }
.is-style-hz-contorno-claro .wp-block-button__link { background: transparent; color: #fff; border: 2px solid #fff; }
.is-style-hz-contorno-claro .wp-block-button__link:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.is-style-hz-contorno .wp-block-button__link, .is-style-outline .wp-block-button__link { background: transparent; color: var(--hz-marino); border: 2px solid var(--hz-marino); }
.is-style-hz-contorno .wp-block-button__link:hover, .is-style-outline .wp-block-button__link:hover { background: var(--hz-marino); color: #fff; }
.wp-block-button__link::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.hz-sin-flecha .wp-block-button__link::after, .hz-cabecera .wp-block-button__link::after { display: none; }

/* ---------- Cabecera ---------- */
.hz-cabecera { background: #fff; border-bottom: 1px solid var(--hz-borde); }
/* La cabecera fija va en el contenedor de la parte de plantilla, que recorre toda la página. */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 60; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; } }
@media (max-width: 600px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }
html { scroll-padding-top: 112px; }
.hz-cabecera-fila { min-height: 88px; }
.hz-logo { margin: 0 !important; flex: 0 0 auto; }
.hz-logo img { width: clamp(150px, 15vw, 200px); height: auto; display: block; }
.hz-nav .wp-block-navigation-item__content { color: var(--hz-marino); text-decoration: none; padding: 8px 4px; }
.hz-nav .wp-block-navigation-item__content:hover, .hz-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--hz-brillante); }
.hz-nav .current-menu-item > .wp-block-navigation-item__content { box-shadow: inset 0 -2px 0 var(--hz-brillante); }
.hz-cabecera .wp-block-search__button { background: transparent; color: var(--hz-marino); border: 0; padding: 8px; min-height: 44px; }
.hz-cabecera .wp-block-search__input { border: 1.5px solid var(--hz-borde-2); border-radius: 999px; padding: 8px 16px; }
.hz-ingresar .wp-block-button__link { background: var(--hz-marino); color: #fff; min-height: 46px; padding: 10px 22px; font-size: 14px; text-transform: none; letter-spacing: 0; font-weight: 600; }
.hz-ingresar .wp-block-button__link::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10 12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c3 2 9 2 12 0v-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10 12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c3 2 9 2 12 0v-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.hz-ingresar .wp-block-button__link:hover { background: var(--hz-brillante); }
@media (max-width: 600px) {
	.hz-ingresar .wp-block-button__link { font-size: 0; gap: 0; padding: 10px 14px; }
	.hz-ingresar .wp-block-button__link::before { width: 22px; height: 22px; }
}
.wp-block-navigation__responsive-container.is-menu-open { background: #fff; padding: 24px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 22px; font-weight: 600; }

/* ---------- Pie ---------- */
.hz-pie { background: var(--hz-hielo); border-top: 1px solid #D6E2F0; color: var(--hz-texto); position: relative; overflow: hidden; isolation: isolate; }
.hz-pie a { color: var(--hz-marino); text-decoration: none; }
.hz-pie a:hover { color: var(--hz-brillante); text-decoration: underline; }
.hz-pie h2, .hz-pie h3 { margin: 0; }
.hz-pie .hz-col-titulo { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hz-brillante); margin-bottom: 14px; }
.hz-pie-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.hz-pie-legal { border-top: 1px solid var(--hz-borde-2); padding-top: 22px; font-size: 13px; }
.hz-pie-legal p { margin: 0; }
.hz-pie .hz-logo img { width: 190px; }
.hz-boletin { border-bottom: 1px solid var(--hz-borde-2); padding-bottom: clamp(40px, 5vw, 56px); }

/* WhatsApp flotante */
.hz-wa {
	position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 999px;
	background: var(--hz-marino); color: #fff; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 10px 28px rgba(11, 22, 48, 0.35); border: 2px solid #fff;
}
.hz-wa:hover { background: var(--hz-brillante); color: #fff; }

/* ---------- Tarjetas ---------- */
.hz-tarjeta, .is-style-hz-tarjeta { background: #fff; border: 1px solid var(--hz-borde); border-radius: 18px; padding: clamp(22px, 2.4vw, 32px); box-shadow: 0 1px 2px rgba(11, 22, 48, 0.04); }
.hz-tarjeta > * { margin-block: 0; }
.hz-tarjeta > * + * { margin-top: 14px !important; }
.hz-tarjeta h3 { font-size: 21px; }
.hz-tarjeta-cabeza { border-radius: 16px 16px 0 0; margin: calc(-1 * clamp(22px, 2.4vw, 32px)) calc(-1 * clamp(22px, 2.4vw, 32px)) 8px !important; padding: 22px clamp(22px, 2.4vw, 32px); }
.hz-tarjeta-cabeza.hz-fondo { min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; }
.hz-tarjeta-cabeza.hz-fondo::before { background: linear-gradient(180deg, rgba(11, 22, 48, 0.15) 0%, rgba(11, 22, 48, 0.92) 100%); }
.hz-tarjeta-cabeza h3 { color: #fff; margin: 0; }
.hz-num { font-size: 44px; font-weight: 600; line-height: 1; color: var(--hz-brillante); margin: 0; }
.hz-precio { padding-top: 16px; border-top: 1px solid var(--hz-borde); font-size: 15px; }
.hz-precio strong { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hz-texto); }

/* Listas con marca */
.hz-check { list-style: none; padding-left: 0; display: grid; gap: 10px; }
.hz-check li { position: relative; padding-left: 30px; }
.hz-check li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; background: var(--hz-brillante); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.hz-oscura .hz-check li::before, .hz-degradado .hz-check li::before, .hz-marina .hz-check li::before, .hz-fondo .hz-check li::before { background: var(--hz-etiqueta); }
.hz-lineas { list-style: none; padding: 0; margin: 0; }
.hz-lineas li { padding: 12px 0; border-top: 1px solid var(--hz-borde); }
.hz-lineas li:last-child { border-bottom: 1px solid var(--hz-borde); }

/* Mosaicos de soluciones */
.hz-mosaico { min-height: 380px; border-radius: 18px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px !important; transition: transform 0.3s; }
.hz-mosaico::before { background: linear-gradient(180deg, rgba(11, 22, 48, 0.12) 0%, rgba(11, 22, 48, 0.62) 42%, rgba(11, 22, 48, 0.96) 88%) !important; }
.hz-mosaico:hover { transform: translateY(-4px); }
.hz-mosaico h3 { font-size: 21px; margin: 0; }
.hz-mosaico h3 a { text-decoration: none; }
.hz-mosaico h3 a::after { content: ""; position: absolute; inset: 0; }
.hz-mosaico .hz-cobro { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.24); font-size: 14px; }

/* Pasos numerados */
.hz-paso { border-top: 2px solid var(--hz-brillante); padding-top: 20px; }
.hz-paso .hz-num { font-size: 32px; }

/* Filas de soluciones (Servicios) */
.hz-fila { border-top: 1px solid var(--hz-borde); padding: 28px 0; }
.hz-fila:last-child { border-bottom: 1px solid var(--hz-borde); }

/* Preguntas frecuentes */
.wp-block-details { border-top: 1px solid var(--hz-borde); padding: 20px 0; }
.wp-block-details:last-of-type { border-bottom: 1px solid var(--hz-borde); }
.wp-block-details summary { font-size: 19px; font-weight: 600; color: var(--hz-marino); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--hz-brillante); }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > p { margin-top: 12px; }

/* Publicaciones */
.hz-pub { background: #fff; border: 1px solid var(--hz-borde); border-radius: 18px; overflow: hidden; height: 100%; display: flex; flex-direction: column; padding: 0 !important; }
.hz-pub .wp-block-post-featured-image { margin: 0; }
.hz-pub .wp-block-post-featured-image img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.hz-pub-cuerpo { padding: 22px 24px 24px !important; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hz-pub-cuerpo .wp-block-post-title { font-size: 20px; line-height: 1.3; margin: 0; }
.hz-pub-cuerpo .wp-block-post-title a { text-decoration: none; color: var(--hz-marino); }
.hz-pub-cuerpo .wp-block-post-title a:hover { color: var(--hz-brillante); }
.hz-pub-cuerpo .wp-block-post-date { font-size: 13px; color: var(--hz-texto); margin-top: auto; }
.hz-sin-imagen .wp-block-post-featured-image:empty { display: none; }

/* Artículo */
.hz-articulo { font-size: 18px; line-height: 1.75; }
.hz-articulo h2 { font-size: clamp(26px, 2.4vw, 32px); margin-top: 1.6em; }
.hz-articulo h3 { margin-top: 1.4em; }
.hz-articulo img { border-radius: 14px; }

/* Equipo */
.hz-persona { padding: 0 !important; overflow: hidden; }
.hz-persona-foto { aspect-ratio: 4 / 5; background: var(--hz-marino) var(--hz-espiral) center / 120% no-repeat; display: flex; align-items: center; justify-content: center; margin: 0 !important; }
.hz-persona-foto p { color: #fff; }
.hz-persona-datos { padding: 20px 22px 24px !important; }
.hz-persona-datos > * { margin: 0; }
.hz-persona-datos > * + * { margin-top: 6px !important; }

/* Línea de tiempo */
.hz-hitos { list-style: none; padding: 0; margin: 0; }
.hz-hitos li { display: flex; gap: 24px; padding: 18px 0; border-top: 1px solid var(--hz-borde-2); }
.hz-hitos li strong { flex: 0 0 72px; color: var(--hz-brillante); font-size: 18px; }

/* Datos de contacto */
.hz-dato { display: flex; gap: 14px; align-items: flex-start; }
.hz-dato strong { display: block; color: var(--hz-marino); }
.hz-mapa { min-height: 260px; border-radius: 18px; background: var(--hz-hielo) var(--hz-espiral-clara) center / 70% no-repeat; display: flex; align-items: center; justify-content: center; }

/* Formularios (Fluent Forms u otros) */
.hz-form-caja { background: #fff; border: 1px solid var(--hz-borde); border-radius: 18px; padding: clamp(22px, 3vw, 40px); }
.hz-form-caja input[type="text"], .hz-form-caja input[type="email"], .hz-form-caja input[type="tel"], .hz-form-caja select, .hz-form-caja textarea,
.hz-pie input[type="text"], .hz-pie input[type="email"], .hz-pie select {
	border: 1.5px solid var(--hz-borde-2) !important; border-radius: 12px !important; background: var(--hz-bruma) !important;
	min-height: 50px; font: inherit; color: var(--hz-marino);
}
.hz-form-caja button[type="submit"], .hz-pie button[type="submit"] {
	background: var(--hz-marino) !important; color: #fff !important; border-radius: 999px !important; min-height: 54px; padding: 0 28px !important;
	font-weight: 600 !important; letter-spacing: 0.06em; text-transform: uppercase; font-size: 14px !important; border: 0 !important;
}

/* WooCommerce y LifterLMS: botones con la marca */
.woocommerce a.button, .woocommerce button.button, .wc-block-components-button:not(.is-link), .llms-button-primary, .llms-button-action {
	background: var(--hz-marino) !important; color: #fff !important; border-radius: 999px !important; font-weight: 600 !important;
}

/* ---------- Ajustes de móvil ---------- */
@media (max-width: 781px) {
	.hz-slide h1, .hz-slide h2 { font-size: clamp(34px, 9vw, 44px); }
	.hz-espiral::after { width: 120vw; right: -60%; opacity: 0.18; }
	.hz-slider-ctrl { gap: 8px; }
	.hz-slider-ctrl .hz-punto { width: 32px; }
	.hz-mosaico { min-height: 300px; }
	.hz-wa { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}

/* ---------- Ritmo entre secciones ---------- */
.wp-site-blocks > * + * { margin-block-start: 0; }
.hz-main > .wp-block-post-content > .alignfull,
.wp-block-post-content > .alignfull + .alignfull,
main > .alignfull + .alignfull,
main > .alignfull { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.wp-block-post-content.alignfull { margin-top: 0; }
.hz-alto { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }

/* Encabezados de sección */
.hz-encabezado > * { margin-block: 0; }
.hz-encabezado > * + * { margin-top: 14px !important; }
.hz-encabezado-fila { margin-bottom: clamp(28px, 4vw, 44px) !important; gap: 20px 32px; }
.hz-seccion > .hz-encabezado { margin-bottom: clamp(28px, 4vw, 44px) !important; }
.hz-gap-grande { gap: clamp(32px, 5vw, 88px) !important; }

/* Niveles en la portada */
.hz-niveles { list-style: none; padding: 0; margin: 8px 0 0; }
.hz-niveles li { border-top: 1px solid rgba(255, 255, 255, 0.24); }
.hz-niveles li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.24); }
.hz-niveles a { display: grid; grid-template-columns: 52px 1fr; gap: 2px 14px; padding: 16px 0; color: #fff !important; text-decoration: none; font-size: 19px; font-weight: 600; }
.hz-niveles a strong { grid-row: span 2; color: var(--hz-etiqueta); font-size: 15px; letter-spacing: 0.12em; padding-top: 3px; }
.hz-niveles a span { font-size: 15px; font-weight: 400; color: var(--hz-niebla); }
.hz-niveles a:hover { color: var(--hz-etiqueta) !important; }

/* Captura del panel */
.hz-captura img { border-radius: 16px; box-shadow: 0 30px 60px rgba(11, 22, 48, 0.18); border: 1px solid var(--hz-borde); }

/* Lista de pasos (diagnóstico) */
.hz-pasos-lista { list-style: none; padding: 0; counter-reset: hzpaso; display: grid; gap: 12px; }
.hz-pasos-lista li { counter-increment: hzpaso; display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--hz-marino); }
.hz-pasos-lista li::before { content: "0" counter(hzpaso); flex: 0 0 44px; height: 44px; border-radius: 999px; background: var(--hz-hielo); color: var(--hz-brillante); display: flex; align-items: center; justify-content: center; font-size: 14px; letter-spacing: 0.06em; }

/* Banda de llamado a la acción */
.hz-cta-fila { gap: 24px 40px; }
.hz-cta-titulo { font-size: clamp(26px, 2.6vw, 38px) !important; max-width: 760px; margin: 0; }
.hz-slide-marca { background-blend-mode: normal; }
.hz-slide-marca::before { background: linear-gradient(90deg, rgba(11, 22, 48, 0.9) 0%, rgba(11, 22, 48, 0.55) 45%, rgba(11, 22, 48, 0) 75%); }

/* Anclas del banner de servicios */
.hz-anclas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px !important; }
.hz-anclas a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1.5px solid rgba(255, 255, 255, 0.55); border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; color: #fff !important; }
.hz-anclas a:hover { background: rgba(255, 255, 255, 0.12); }
.hz-banner-texto > * { margin-block: 0; }
.hz-banner-texto > * + * { margin-top: 18px !important; }
.hz-banner-corto { min-height: 0; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(40px, 5vw, 64px); }
.hz-banner-corto .wp-block-post-title, .hz-banner-corto .wp-block-query-title { color: #fff; font-size: clamp(34px, 4vw, 56px); margin: 0; }
/* Archivo y búsqueda: el título y el buscador se alinean a la izquierda del contenedor de 1360 px. */
.hz-banner-corto > :where(.wp-block-query-title, .wp-block-term-description, .wp-block-search) { margin-left: max(0px, (100% - 1360px) / 2) !important; margin-right: auto !important; }
.hz-banner-corto > .wp-block-query-title { max-width: 980px; }
.hz-fecha { color: var(--hz-etiqueta); font-size: 15px; }
.hz-check-fila { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px !important; color: var(--hz-niebla); }

/* Tarjetas de niveles y áreas */
.hz-grilla-tarjetas { gap: 24px; align-items: stretch; }
.hz-grilla-tarjetas > .hz-tarjeta { height: 100%; display: flex; flex-direction: column; }
.hz-tarjeta-nivel .wp-block-buttons { margin-top: auto !important; padding-top: 10px; }
.hz-precio { margin-top: 18px !important; }
.hz-precio-2 { border-top: 0; padding-top: 0; margin-top: 6px !important; }
.hz-tarjeta-area { padding-top: 0; overflow: hidden; }
.hz-tarjeta-area .hz-tarjeta-cabeza { margin-top: 0 !important; border-radius: 0; }
.hz-recomendado { font-size: 14px; padding-top: 14px; border-top: 1px solid var(--hz-borde); margin-top: auto !important; }
.hz-recomendado strong { color: var(--hz-marino); }

/* Filas de soluciones */
.hz-filas .hz-fila .wp-block-columns { margin: 0; }
.hz-fila h3 { margin: 6px 0 8px; font-size: 24px; }
.hz-fila .hz-num { font-size: 15px; letter-spacing: 0.12em; }
.hz-cobro-claro { font-size: 15px; color: var(--hz-marino); }
.hz-derecha { justify-content: flex-end; }
@media (max-width: 781px) { .hz-derecha { justify-content: flex-start; } }

/* Términos de honorarios */
.hz-terminos { list-style: none; padding: 0; margin: 0; }
.hz-terminos li { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.22); display: grid; grid-template-columns: 180px 1fr; gap: 16px; color: var(--hz-niebla); }
.hz-terminos li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.hz-terminos li strong { color: #fff; }
@media (max-width: 600px) { .hz-terminos li { grid-template-columns: 1fr; gap: 4px; } }

/* Pasos (cómo trabajamos) */
.hz-grilla-pasos { gap: 28px; }
.hz-paso > * { margin-block: 0; }
.hz-paso > * + * { margin-top: 12px !important; }

/* Equipo */
.hz-pendiente-claro { color: #fff !important; border-color: rgba(255, 255, 255, 0.7); }
.hz-persona { display: flex; flex-direction: column; }

/* Contacto */
.hz-tarjeta-oscura { background: var(--hz-marino); border-color: var(--hz-marino); color: var(--hz-niebla); }
.hz-tarjeta-oscura .hz-etiqueta { color: var(--hz-etiqueta); }
.hz-wa-grande { margin-top: 6px !important; }
.hz-wa-grande a { color: #fff !important; font-size: 22px; font-weight: 600; text-decoration: none; }
.hz-datos li strong { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hz-brillante); }
.wp-block-column > .hz-tarjeta + .hz-tarjeta, .wp-block-column > .hz-tarjeta + .hz-mapa { margin-top: 18px !important; }

/* Cursos */
.hz-curso { padding: 0 !important; overflow: hidden; }
.hz-curso .wp-block-image { margin: 0; }
.hz-curso-cuerpo { padding: 22px 24px 26px !important; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hz-curso-cuerpo > * { margin: 0 !important; }
.hz-curso-cuerpo .wp-block-buttons { margin-top: auto !important; padding-top: 8px; }
.hz-curso h3 { font-size: 20px; }

/* Páginas genéricas y artículos */
.hz-pagina { font-size: 17px; }
.hz-pagina h2 { font-size: clamp(24px, 2.2vw, 30px); margin-top: 1.6em; }
.hz-imagen-articulo img { border-radius: 18px; }
.hz-buscar-grande { max-width: 620px; margin-top: 18px !important; }
.hz-buscar-grande .wp-block-search__input { border-radius: 999px; min-height: 52px; padding: 0 20px; border: 0; }
.hz-buscar-grande .wp-block-search__button { background: #fff; color: var(--hz-marino); border-radius: 999px; min-height: 52px; padding: 0 24px; font-weight: 600; }

/* Pie: boletín y columnas */
.hz-boletin { gap: 28px 56px; }
.hz-boletin-texto > * { margin-block: 0; }
.hz-boletin-texto > * + * { margin-top: 10px !important; }
.hz-boletin-form { flex: 1 1 420px; max-width: 640px; }
.hz-pie-columnas { margin-top: clamp(40px, 5vw, 56px) !important; gap: 32px !important; }
.hz-pie-desc { font-size: 15px; margin-top: 14px !important; max-width: 280px; }
.hz-pie-legal { margin-top: clamp(32px, 4vw, 48px) !important; gap: 10px 24px; }

/* Fluent Forms con la marca */
.fluentform .ff-el-group { margin-bottom: 18px; }
.fluentform .ff-el-input--label label { font-weight: 600; color: var(--hz-marino); font-size: 15px; }
.fluentform .ff-el-form-control { border: 1.5px solid var(--hz-borde-2); border-radius: 12px; background: var(--hz-bruma); min-height: 50px; font-family: inherit; font-size: 16px; color: var(--hz-marino); }
.fluentform .ff-el-form-control:focus { border-color: var(--hz-brillante); background: #fff; box-shadow: 0 0 0 3px rgba(45, 99, 200, 0.15); }
.fluentform .ff-btn-submit { font-family: inherit !important; background: var(--hz-marino) !important; color: #fff !important; border-radius: 999px !important; min-height: 54px; padding: 0 30px !important; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 14px !important; border: 0 !important; }
.fluentform .ff-btn-submit:hover { background: var(--hz-brillante) !important; }
.fluentform .ff-el-form-check label { font-size: 15px; }
.fluentform .ff_gdpr_field + span, .fluentform .ff-el-tc label { font-size: 14px; }
.ff-message-success { border-radius: 14px; border: 1px solid var(--hz-borde-2); background: var(--hz-hielo); color: var(--hz-marino); padding: 18px 20px; }
.hz-pie .fluentform .ff-el-group { margin-bottom: 12px; }

/* ---------- Ajustes tras revisar el sitio en WordPress ---------- */
/* Los contenedores flex en columna (portada, banners, secciones altas) no deben encoger su contenido. */
.hz-slider > .hz-slide > *, .hz-banner > *, .hz-alto > * { width: 100%; }
/* Textos legales y páginas genéricas: la introducción ocupa el mismo ancho que el resto. */
.hz-pagina .hz-intro { max-width: none; }
/* Tarjetas de datos: enlaces sin subrayado hasta pasar el cursor. */
.hz-datos a, .hz-tarjeta .hz-lineas a { text-decoration: none; }
.hz-datos a:hover, .hz-tarjeta .hz-lineas a:hover { text-decoration: underline; }
/* Cabecera en celulares: logo más compacto y menos espacio entre íconos. */
@media (max-width: 600px) {
	.hz-logo img { width: 128px; }
	.hz-cabecera-der { gap: 4px !important; }
	.hz-cabecera-fila { min-height: 72px; }
}
/* Diapositivas ocultas siguen en el documento: la visible no debe heredar el espacio entre bloques. */
.hz-slider.is-ready > .hz-slide { margin-block-start: 0; }
/* Grillas con número fijo de columnas: se reacomodan en pantallas medianas y pequeñas. */
@media (max-width: 1099px) { .hz-cols-4.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .hz-cols-3.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hz-cols-3.is-layout-grid, .hz-cols-4.is-layout-grid { grid-template-columns: minmax(0, 1fr); } }
/* ---------- Aviso de cookies ---------- */
.hz-cookies {
	position: fixed; left: 20px; bottom: 20px; z-index: 80; max-width: 440px;
	background: #fff; color: var(--hz-texto); border: 1px solid var(--hz-borde); border-radius: 18px;
	box-shadow: 0 18px 48px rgba(11, 22, 48, 0.18); padding: 20px 22px; font-size: 15px; line-height: 1.55;
}
.hz-cookies[hidden] { display: none; }
.hz-cookies p { margin: 0 0 14px; }
.hz-cookies a { color: var(--hz-brillante); }
.hz-cookies-botones { display: flex; gap: 10px; flex-wrap: wrap; }
.hz-cookies button {
	font: inherit; font-weight: 600; font-size: 14px; border-radius: 999px; padding: 10px 18px; cursor: pointer;
	border: 2px solid var(--hz-marino); min-height: 44px;
}
.hz-cookies-no { background: #fff; color: var(--hz-marino); }
.hz-cookies-si { background: var(--hz-marino); color: #fff; }
.hz-cookies-si:hover { background: var(--hz-brillante); border-color: var(--hz-brillante); }
.hz-cookies-no:hover { background: var(--hz-hielo); }
@media (max-width: 600px) {
	.hz-cookies { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 16px 18px; font-size: 14px; }
	.hz-cookies-visible .hz-wa { bottom: 200px; }
}

/* ---------- Portada: el h1 dice qué hacemos y dónde; el lema se muestra como título ---------- */
.hz-slide h1.hz-etiqueta { font-size: 13px; line-height: 1.5; letter-spacing: 0.14em; max-width: none; color: var(--hz-etiqueta); }
.hz-portada-titulo { font-size: var(--wp--preset--font-size--portada); line-height: 1.08; font-weight: 600; letter-spacing: -0.01em; color: #fff; max-width: 780px; margin: 0; text-wrap: balance; }
@media (max-width: 781px) { .hz-portada-titulo { font-size: clamp(34px, 9vw, 44px); } }

/* ---------- Redes, mapa y datos de la empresa ---------- */
.hz-redes { margin-top: 18px !important; gap: 4px !important; }
.hz-pie .wp-block-social-links.hz-redes .wp-social-link { color: var(--hz-marino); }
.hz-pie .wp-block-social-links.hz-redes .wp-social-link:hover { color: var(--hz-brillante); }
.hz-pie .wp-block-social-links.hz-redes .wp-social-link a { padding: 6px; }
.hz-pie .wp-block-social-links.hz-redes .wp-social-link svg { width: 24px; height: 24px; }
.hz-mapa-boton { margin-top: 18px !important; }
.hz-empresa { margin-top: 28px !important; }

/* ---------- Artículos ---------- */
.hz-fechas { gap: 4px 18px; }
.hz-actualizado::before { content: "Actualizado el "; }
.hz-articulo { font-size: 18px; line-height: 1.7; }
.hz-articulo h2 { font-size: clamp(26px, 2.4vw, 32px); margin-top: 1.8em; margin-bottom: 0.5em; }
.hz-articulo h3 { font-size: 21px; margin-top: 1.5em; margin-bottom: 0.4em; }
.hz-articulo li { margin-bottom: 6px; }
.hz-articulo .wp-block-table { margin-block: 1.6em; }
.hz-articulo .wp-block-table table { border-collapse: collapse; width: 100%; font-size: 16px; line-height: 1.5; }
.hz-articulo .wp-block-table th, .hz-articulo .wp-block-table td { border: 1px solid var(--hz-borde-2); padding: 10px 14px; text-align: left; vertical-align: top; }
.hz-articulo .wp-block-table thead th { background: var(--hz-hielo); color: var(--hz-marino); font-weight: 600; }
.hz-articulo .wp-block-table figcaption { font-size: 14px; color: var(--hz-texto); text-align: left; }
.hz-resumen { background: var(--hz-hielo); border-radius: 18px; padding: 22px 26px !important; }
.hz-resumen > * { margin-block: 0; }
.hz-resumen > * + * { margin-top: 10px !important; }
.hz-nota { background: var(--hz-bruma); border-left: 4px solid var(--hz-brillante); border-radius: 0 14px 14px 0; padding: 18px 22px !important; }
.hz-nota > * { margin-block: 0; }
.hz-nota > * + * { margin-top: 8px !important; }
.hz-fuentes { font-size: 15px; color: var(--hz-texto); border-top: 1px solid var(--hz-borde); padding-top: 18px; margin-top: 2.4em !important; }
.hz-fuentes-lista { font-size: 15px; }
.hz-fuentes-lista li { margin-bottom: 4px; overflow-wrap: anywhere; }

/* ---------- Cabecera en tabletas y laptops pequeñas ---------- */
/* El menú completo, el buscador y el botón de ingreso necesitan unos 1260 px; en pantallas más angostas el menú pasa al botón de menú. */
@media (min-width: 600px) and (max-width: 1259px) {
	.hz-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.hz-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}

/* ---------- Video de portada (tomas animadas con Google Flow) ---------- */
/* El póster es el primer cuadro del video: la portada se ve igual antes y después de que el video empiece. */
.hz-slider > .hz-slide > .hz-slide-video {
	position: absolute; top: 0; right: 0; bottom: 0; left: auto; z-index: -2;
	width: 64% !important; max-width: none !important; margin: 0 !important;
	pointer-events: none; overflow: hidden; background: var(--hz-profundo);
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%);
	mask-image: linear-gradient(90deg, transparent 0, #000 34%);
}
.hz-slide-video picture, .hz-slide-video img, .hz-slide-video video {
	position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0;
	object-fit: cover; object-position: 50% 50%;
}
.hz-slide-video video { opacity: 0; transition: opacity 0.6s ease; }
.hz-slide-video.is-playing video { opacity: 1; }
.hz-slide-con-video { background-color: var(--hz-profundo) !important; }
.hz-slide-con-video::before { background: linear-gradient(90deg, rgba(11, 22, 48, 0.94) 0%, rgba(11, 22, 48, 0.72) 38%, rgba(11, 22, 48, 0.2) 62%, rgba(11, 22, 48, 0) 78%); }
@media (max-width: 781px) {
	.hz-slider > .hz-slide > .hz-slide-video { width: 100% !important; -webkit-mask-image: none; mask-image: none; }
	.hz-slide-con-video::before { background: linear-gradient(180deg, rgba(11, 22, 48, 0.5) 0%, rgba(11, 22, 48, 0.74) 36%, rgba(11, 22, 48, 0.88) 100%); }
}

/* ---------- Animaciones del sitio (texto y espiral, hechas en código) ---------- */
@keyframes hz-sube { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
	/* El texto de cada diapositiva y de los banners entra en cascada cada vez que aparece. */
	.hz-slide-texto > *, .hz-banner-texto > * { animation: hz-sube 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
	.hz-slide-texto > :nth-child(2), .hz-banner-texto > :nth-child(2) { animation-delay: 0.08s; }
	.hz-slide-texto > :nth-child(3), .hz-banner-texto > :nth-child(3) { animation-delay: 0.16s; }
	.hz-slide-texto > :nth-child(4), .hz-banner-texto > :nth-child(4) { animation-delay: 0.24s; }
	.hz-slide-texto > :nth-child(n+5), .hz-banner-texto > :nth-child(n+5) { animation-delay: 0.32s; }
}
/* Espiral de la marca dibujada con un trazo (reemplaza al fondo fijo cuando hz.js la agrega). */
.hz-espiral.hz-espiral-anim::after { content: none; }
.hz-espiral > .hz-espiral-svg {
	position: absolute; z-index: -1; pointer-events: none; overflow: visible;
	right: -9%; left: auto; top: 50%; bottom: auto;
	width: min(760px, 70vw) !important; max-width: none !important; height: auto; aspect-ratio: 1; margin: 0 !important;
	transform: translateY(-50%) rotate(45deg); opacity: 0.32;
}
.hz-espiral-svg path { fill: none; stroke: #7FA3E0; stroke-width: 17; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hz-dibujar > .hz-espiral-svg path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s cubic-bezier(0.45, 0.05, 0.25, 1) 0.1s; }
.hz-espiral-clara > .hz-espiral-svg { opacity: 1; left: -240px; right: auto; top: auto; bottom: -320px; transform: rotate(45deg); }
.hz-espiral-clara > .hz-espiral-svg path { stroke: #DCE6F4; }
@media (max-width: 781px) {
	.hz-espiral > .hz-espiral-svg { width: 120vw !important; right: -60%; opacity: 0.18; }
}
/* Mosaicos de soluciones: al pasar el cursor la foto se acerca y el texto sube (animación B del plan). */
/* La foto se copia en una capa propia (::after) para poder acercarla sin mover el texto. */
.hz-mosaico::after {
	content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
	background: inherit; background-blend-mode: inherit; background-size: cover;
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hz-mosaico > * { transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.hz-mosaico { transition: box-shadow 0.45s; }
.hz-mosaico:hover, .hz-mosaico:focus-within { transform: none; box-shadow: 0 24px 46px rgba(11, 22, 48, 0.28); }
.hz-mosaico:hover::after, .hz-mosaico:focus-within::after { transform: scale(1.07); }
.hz-mosaico:hover > *, .hz-mosaico:focus-within > * { transform: translateY(-8px); }
@media (prefers-reduced-motion: reduce) {
	.hz-mosaico::after, .hz-mosaico > * { transition: none; }
	.hz-mosaico:hover::after, .hz-mosaico:focus-within::after, .hz-mosaico:hover > *, .hz-mosaico:focus-within > * { transform: none; }
}

