/* =========================================================
   CIMERGI CONSULTING — estilos del tema
   Paleta oficial (Manual de identidad §6):
   #092D50 azul corporativo · #1476A8 azul tecnológico
   #20B6A5 turquesa · #F2F5F8 gris claro · #FFFFFF blanco
   Tipografías: Montserrat (titulares) + Open Sans (texto)
   Contraste: el turquesa solo se usa como acento o como fondo de
   botón con texto azul corporativo (nunca texto turquesa pequeño
   sobre blanco).
   ========================================================= */

:root {
	--navy: #092D50;
	--blue: #1476A8;
	--teal: #20B6A5;
	--mist: #F2F5F8;
	--white: #FFFFFF;

	--text: #092D50;
	--muted: rgba(9, 45, 80, .78);
	--line: rgba(9, 45, 80, .14);
	--line-light: rgba(255, 255, 255, .22);

	--font-head: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--font-body: 'Open Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

	--radius: 6px;
	--radius-lg: 12px;
	--shadow: 0 1px 2px rgba(9, 45, 80, .06), 0 8px 24px rgba(9, 45, 80, .08);
	--shadow-lg: 0 2px 4px rgba(9, 45, 80, .08), 0 16px 40px rgba(9, 45, 80, .14);
	--header-h: 84px;
	--gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.0625rem; /* 17px */
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
main:focus { outline: none; }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: var(--navy);
	line-height: 1.2;
	margin: 0 0 .6em;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 3.5rem); font-weight: 700; } /* 40–56 px */
h2 { font-size: clamp(1.75rem, 3.2vw, 2.25rem); font-weight: 700; } /* 28–36 px */
h3 { font-size: 1.25rem; font-weight: 600; }

/* ---------- Accesibilidad ---------- */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .page-hero :focus-visible, .section--navy :focus-visible,
.site-footer :focus-visible, .cta-band :focus-visible { outline-color: var(--teal); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 1000;
	background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: var(--radius);
	font-family: var(--font-head); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 800px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head--light { color: var(--white); }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.center { text-align: center; margin-top: 40px; }
.muted { color: var(--muted); font-size: .95rem; }

.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px)  { .grid--3, .grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 640px)  { .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Tipografía de apoyo ---------- */
.eyebrow {
	font-family: var(--font-head); font-weight: 600; font-size: .8125rem;
	letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 14px;
	display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--teal); display: inline-block; }
.eyebrow--light { color: var(--white); }
.lead { font-size: 1.25rem; line-height: 1.65; color: var(--muted); max-width: 640px; }
.lead--light { color: rgba(255, 255, 255, .92); }
.prose-lg { font-size: 1.1875rem; color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.2;
	padding: 15px 26px; border-radius: var(--radius); border: 2px solid transparent;
	text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 11px 18px; font-size: .875rem; }
.btn--accent { background: var(--teal); color: var(--navy); }
.btn--accent:hover { background: var(--white); color: var(--navy); box-shadow: var(--shadow); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--blue); color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); }

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head);
	font-weight: 600; font-size: .9rem; color: var(--blue); text-decoration: none;
}
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover { color: var(--navy); }
.link-arrow:hover .icon, a:hover > .link-arrow .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--white); }
.link-arrow--light:hover { color: var(--teal); }

/* ---------- Cabecera ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100; background: var(--white);
	border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(9, 45, 80, .1); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex-shrink: 0; min-width: 220px; }
.logo__img { display: block; width: auto; max-height: 56px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-head); font-weight: 800; font-size: 1.65rem; letter-spacing: .01em; color: var(--navy); }
.logo__sub {
	font-family: var(--font-body); font-weight: 500; font-size: .66rem; letter-spacing: .5em;
	color: var(--blue); margin-top: 7px; padding-bottom: 5px; border-bottom: 2px solid var(--teal);
}
.logo--neg .logo__name { color: var(--white); }
.logo--neg .logo__sub { color: var(--mist); }
.logo--neg .logo__img { max-height: 64px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { list-style: none; display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__list a {
	font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy);
	text-decoration: none; padding: 8px 0; position: relative; white-space: nowrap;
}
.nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--teal);
	transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nav__list a:hover::after,
.nav__list .current-menu-item > a::after,
.nav__list .current_page_item > a::after { transform: scaleX(1); }
.nav__list a:hover { color: var(--blue); }

.nav-toggle {
	display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--white); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 22px; height: 2px; background: var(--navy); content: ""; position: relative; transition: transform .2s, background .2s;
}
.nav-toggle__bars::before { position: absolute; top: -7px; }
.nav-toggle__bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
	:root { --header-h: 72px; }
	.nav-toggle { display: inline-flex; }
	.nav {
		position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
		flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px;
		border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(9, 45, 80, .12);
		display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
	}
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
	.nav__list a::after { display: none; }
	.nav__list .current-menu-item > a, .nav__list .current_page_item > a { color: var(--blue); }
	.nav__cta { margin-top: 20px; }
	.logo { min-width: 0; }
	.logo__name { font-size: 1.4rem; }
}

/* ---------- Hero ---------- */
.hero {
	background: var(--navy); color: var(--white); position: relative; overflow: hidden;
	padding-block: clamp(64px, 9vw, 120px) clamp(96px, 12vw, 156px);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
}
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: repeating-linear-gradient(-35deg, transparent 0 46px, rgba(255, 255, 255, .035) 46px 47px);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { color: var(--white); max-width: 14ch; margin-bottom: .45em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__visual { max-width: 480px; justify-self: end; width: 100%; }
@media (max-width: 860px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual { display: none; }
	.hero h1 { max-width: none; }
}

.page-hero {
	background: var(--navy); color: var(--white); position: relative; overflow: hidden;
	padding-block: clamp(56px, 7vw, 96px) clamp(72px, 9vw, 112px);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 0 100%);
}
.page-hero::after {
	content: ""; position: absolute; right: -40px; bottom: 0; width: min(420px, 60%); height: 100%;
	background: linear-gradient(to top right, transparent 48%, var(--teal) 48% 52%, transparent 52%);
	opacity: .55; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); max-width: 20ch; margin-bottom: .4em; font-size: clamp(2.25rem, 4.6vw, 3.25rem); }
.page-hero--post h1 { max-width: none; font-size: clamp(2rem, 4vw, 2.75rem); }
.post-meta { color: rgba(255, 255, 255, .85); margin: 0; font-size: .95rem; }

/* ---------- Tarjetas y bloques ---------- */
.card {
	display: flex; flex-direction: column; gap: 4px; background: var(--white); border: 1px solid var(--line);
	border-top: 4px solid var(--teal); border-radius: var(--radius-lg); padding: 32px 28px;
	text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s;
}
.card h3 { margin-bottom: .5em; }
.card p { color: var(--muted); }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
a.card:hover h3 { color: var(--blue); }
.service-card .link-arrow { margin-top: auto; padding-top: 12px; }
.card__icon, .feature__icon, .value__icon {
	display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px;
	border-radius: var(--radius); background: var(--mist); color: var(--blue); margin-bottom: 18px;
}
.card__icon--lg { width: 72px; height: 72px; background: var(--navy); color: var(--teal); }
.section--mist .card__icon, .section--mist .feature__icon { background: var(--white); }

.feature { padding: 8px 0; }
.feature p { color: var(--muted); margin: 0; }
.feature--row { display: flex; gap: 20px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.feature--row .feature__icon { flex-shrink: 0; margin: 0; }
.feature--tone { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 28px; border-left: 6px solid var(--teal); }
.feature--tone h3 { color: var(--white); }
.feature--tone p { color: rgba(255, 255, 255, .9); }

.value { padding: 8px 0; }
.value__icon { background: rgba(255, 255, 255, .08); color: var(--teal); }
.value p { color: rgba(255, 255, 255, .88); margin: 0; }

.panel { background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--teal); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); }
.panel p:last-child { margin: 0; font-size: 1.125rem; color: var(--muted); }
.quote { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.quote::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 140px; height: 140px; background: linear-gradient(to top right, transparent 46%, var(--teal) 46% 54%, transparent 54%); }
.quote__label { font-family: var(--font-head); font-weight: 600; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 12px; }
.quote__text { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; line-height: 1.45; margin: 0; position: relative; z-index: 1; }
.note { background: var(--white); border: 1px dashed var(--blue); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); max-width: 860px; margin-inline: auto; text-align: center; }
.note h2 { font-size: 1.5rem; }
.note p { color: var(--muted); margin: 0; }

.plain-list { list-style: none; }
.plain-list li { padding: 8px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .98rem; }
.plain-list--center { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; margin-bottom: 32px; }
.plain-list--center li { border: 0; }

/* ---------- Pasos / timeline ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.steps__item { position: relative; padding-top: 24px; border-top: 3px solid var(--line); }
.steps__item::before { content: ""; position: absolute; top: -3px; left: 0; width: 48px; height: 3px; background: var(--teal); }
.steps__num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--blue); display: block; line-height: 1; margin-bottom: 12px; }
.steps__item p { color: var(--muted); font-size: .98rem; margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.timeline { list-style: none; max-width: 860px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 3px; background: var(--line); }
.timeline__item { display: flex; gap: 24px; position: relative; padding-bottom: 32px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__num {
	flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--white);
	font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; display: inline-flex; align-items: center; justify-content: center;
	border: 4px solid var(--mist); position: relative; z-index: 1;
}
.timeline__item h3 { margin-bottom: .25em; }
.timeline__item p { color: var(--muted); margin: 0; }

/* ---------- Servicios ---------- */
.subnav { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 50; }
.subnav__inner { display: flex; gap: 8px 28px; overflow-x: auto; padding-block: 14px; scrollbar-width: thin; }
.subnav a { font-family: var(--font-head); font-weight: 600; font-size: .875rem; color: var(--navy); text-decoration: none; white-space: nowrap; padding: 6px 0; border-bottom: 3px solid transparent; }
.subnav a:hover { color: var(--blue); border-bottom-color: var(--teal); }
.service__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.service__intro .btn { margin-top: 12px; }
.service__scope { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); }
.section--mist .service__scope { box-shadow: var(--shadow); }
.service__scope h3 { margin-bottom: 1em; }
.checklist { list-style: none; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; padding-top: 0; }
.checklist .icon { flex-shrink: 0; color: var(--navy); background: var(--teal); border-radius: 50%; padding: 3px; margin-top: 2px; }
@media (max-width: 860px) { .service__grid { grid-template-columns: 1fr; } }

/* ---------- Banda CTA ---------- */
.cta-band { background: var(--navy); color: var(--white); padding-block: clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 360px; background: linear-gradient(to top right, transparent 47%, var(--teal) 47% 51%, transparent 51%); opacity: .5; }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .9); max-width: 560px; }

/* ---------- Publicaciones ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filters__item { font-family: var(--font-head); font-weight: 600; font-size: .85rem; text-decoration: none; color: var(--navy); background: var(--mist); padding: 10px 18px; border-radius: 999px; border: 1px solid transparent; }
.filters__item:hover { border-color: var(--blue); color: var(--blue); }
.filters__item.is-active { background: var(--navy); color: var(--white); }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: var(--navy); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.post-card__body p { color: var(--muted); font-size: .98rem; }
.post-card__body .link-arrow { margin-top: auto; }
.post-card__title { font-size: 1.15rem; margin-bottom: .4em; }
.post-card__title a { color: var(--navy); text-decoration: none; }
.post-card__title a:hover { color: var(--blue); }
.post-card__meta { display: flex; gap: 12px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 8px !important; }
.tag { font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; background: var(--mist); color: var(--navy); border-left: 3px solid var(--teal); padding: 4px 10px; }
.empty { text-align: center; max-width: 560px; margin-inline: auto; padding-block: 24px; }
.empty .card__icon { margin-inline: auto; }
.empty p { color: var(--muted); }

.navigation.pagination { margin-top: 56px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { font-family: var(--font-head); font-weight: 600; font-size: .9rem; min-width: 44px; padding: 10px 16px; text-align: center; text-decoration: none; color: var(--navy); border: 1px solid var(--line); border-radius: var(--radius); }
.page-numbers.current { background: var(--navy); color: var(--white); border-color: var(--navy); }
a.page-numbers:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Entrada / contenido ---------- */
.prose { font-size: 1.125rem; }
.prose h2 { margin-top: 1.8em; font-size: 1.75rem; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 8px 0 8px 24px; border-left: 5px solid var(--teal); color: var(--muted); font-style: italic; }
.prose img { border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .98rem; }
.prose th { background: var(--navy); color: var(--white); text-align: left; font-family: var(--font-head); }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--line); }
.prose tr:nth-child(even) td { background: var(--mist); }
.post-figure { margin: 0 0 40px; }
.post-figure img { width: 100%; border-radius: var(--radius-lg); }
.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: .9rem; }
.post-nav a { text-decoration: none; }

/* ---------- Contacto / formulario ---------- */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__info { background: var(--mist); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); border-top: 4px solid var(--teal); }
.contact__info h2 { font-size: 1.5rem; }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { flex-shrink: 0; margin-top: 4px; }
.contact-list--dark { gap: 22px; margin-bottom: 24px; }
.contact-list--dark .icon { color: var(--blue); }
.contact-list--dark strong { display: block; font-family: var(--font-head); font-size: .85rem; color: var(--navy); }
.contact-list--dark a, .contact-list--dark span { color: var(--navy); overflow-wrap: anywhere; }

.form { display: grid; gap: 22px; margin-top: 24px; position: relative; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .875rem; color: var(--navy); margin-bottom: 8px; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
	width: 100%; font: inherit; color: var(--navy); background: var(--white); padding: 14px 16px;
	border: 1.5px solid rgba(9, 45, 80, .45); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20, 118, 168, .22); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--navy); border-width: 2.5px; }
.field--check { display: flex; gap: 12px; align-items: flex-start; }
.field--check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--navy); flex-shrink: 0; }
.field--check label { font-family: var(--font-body); font-weight: 400; font-size: .95rem; margin: 0; color: var(--muted); }
.req { color: var(--navy); font-weight: 700; }
.form__hint { font-size: .85rem; color: var(--muted); margin: -8px 0 0; }
.form .btn { justify-self: start; }

.notice { padding: 18px 20px; border-radius: var(--radius); margin-top: 20px; border-left: 6px solid var(--navy); background: var(--mist); color: var(--navy); }
.notice--ok { border-left-color: var(--teal); }
.notice:focus { outline: 3px solid var(--blue); }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .9); margin-top: 0; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--teal); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(48px, 6vw, 80px); }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__slogan { margin: 18px 0 0; font-family: var(--font-head); font-weight: 500; font-size: .95rem; }
.site-footer__title { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer .contact-list .icon { color: var(--teal); }
.social { display: flex !important; gap: 10px !important; margin-top: 22px; }
.social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-light); border-radius: 50%; }
.social a:hover { background: var(--teal); color: var(--navy); border-color: var(--teal); text-decoration: none; }
.site-footer__bar { border-top: 1px solid var(--line-light); padding-block: 22px; font-size: .875rem; }
.site-footer__bar-inner { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.site-footer__bar p { margin: 0; }

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Contenido de bloques de WordPress ---------- */
.alignwide { max-width: 1100px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .875rem; color: var(--muted); }

@media print {
	.site-header, .subnav, .cta-band, .site-footer, .nav-toggle { display: none !important; }
	.hero, .page-hero { clip-path: none; background: var(--white); color: var(--navy); }
	.hero h1, .page-hero h1 { color: var(--navy); }
}

/* Separación entre la banda CTA y el pie (ambos azul corporativo) */
.cta-band + .site-footer, main > .cta-band:last-child { border-bottom: 0; }
.cta-band { border-bottom: 4px solid var(--teal); }
