/**
 * Auto-split from main.css — do not edit section order blindly.
 * Source: assets/css/main.css (kept as reference/aggregate).
 */

/* —— Institucional / Quiénes somos page —— */
.hm-inst__about { padding: clamp(2rem, 4vw, 3.25rem) 0 clamp(2.5rem, 5vw, 3.75rem); background: #fff; }
.hm-inst__hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(1.75rem, 4vw, 3rem);
	align-items: start;
}
.hm-inst__intro h1 {
	margin: 0.35rem 0 1rem;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.1;
	color: var(--brand);
}
.hm-inst__lead { font-weight: 300; color: var(--muted); max-width: 52ch; }
.hm-inst__lead p { margin: 0 0 0.85rem; }
.hm-inst__photo {
	aspect-ratio: 3 / 4;
	max-height: 560px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--paper);
}
.hm-inst__photo img,
.hm-inst__photo-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hm-inst__commit { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.hm-inst__commit h2 {
	margin: 0 0 2rem;
	max-width: 28ch;
	font-size: clamp(1.25rem, 2.2vw, 1.55rem);
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.35;
	color: var(--ink);
}
.hm-inst__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.75rem 1.5rem;
}
.hm-inst__item { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; }
.hm-inst__ico {
	display: inline-flex;
	width: 40px;
	height: 40px;
	margin-bottom: 0.2rem;
	color: var(--brand);
	transition: transform var(--hm-ease, 200ms ease);
}
.hm-inst__item:hover .hm-inst__ico { transform: translateY(-3px); }
.hm-inst__ico svg { width: 28px; height: 28px; }
.hm-inst__item strong {
	font-weight: 500;
	font-size: 0.98rem;
	line-height: 1.3;
	color: var(--ink);
}
.hm-inst__item p {
	margin: 0;
	font-weight: 300;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--muted);
}
.hm-inst__band {
	background: var(--brand);
	color: #fff;
	padding: 1.75rem 0;
}
.hm-inst__band-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
}
.hm-inst__band p {
	margin: 0;
	font-weight: 500;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	letter-spacing: -0.015em;
	max-width: 36ch;
}

/* —— FAQ layout —— */
.hm-faq-layout {
	display: block;
	padding: 0.5rem 0 3rem;
	max-width: 52rem;
}
.hm-faq-layout__main {
	width: 100%;
}
.hm-faq__plus {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	color: var(--brand);
	font-size: 1.35rem;
	font-weight: 300;
	line-height: 1;
	transition: transform var(--hm-ease, 200ms ease);
}
.hm-faq__item[open] .hm-faq__plus { transform: rotate(45deg); }
.hm-faq__cta-box {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	margin-top: 1.75rem;
	padding: 1.15rem 1.2rem;
	border: 1px solid var(--line);
	background: #fff;
}
.hm-faq__cta-ico { color: var(--brand); flex-shrink: 0; }
.hm-faq__cta-box p {
	margin: 0 0 0.65rem;
	font-weight: 500;
	color: var(--ink);
}

/* —— Novedades list (rows + tabs) —— */
.hm-news-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	margin: 0 0 1.75rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--line);
}
.hm-news-tabs__item {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 0.95rem;
	font-weight: 400;
	font-size: 0.9rem;
	color: var(--muted);
	text-decoration: none !important;
	border-bottom: 2px solid transparent;
	transition: color var(--hm-ease, 200ms ease), border-color var(--hm-ease, 200ms ease);
}
.hm-news-tabs__item:hover { color: var(--brand); }
.hm-news-tabs__item.is-active {
	color: var(--brand);
	font-weight: 500;
	border-bottom-color: var(--brand);
}
.hm-news-rows {
	display: grid;
	gap: 1.25rem;
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}
.hm-news-row {
	display: grid;
	grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
	gap: 1.25rem 1.5rem;
	padding: 1rem;
	background: #fff;
	border: 1px solid var(--line);
	transition: transform var(--hm-ease, 200ms ease), box-shadow var(--hm-ease, 200ms ease), border-color var(--hm-ease, 200ms ease);
}
.hm-news-row:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
	border-color: var(--hm-line-strong, rgba(32,12,128,0.22));
}
.hm-news-row__media {
	display: block;
	aspect-ratio: 16 / 11;
	overflow: hidden;
	background: var(--paper);
}
.hm-news-row__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hm-news-row:hover .hm-news-row__media img { transform: scale(1.04); }
.hm-news-row__ph { display: block; width: 100%; height: 100%; min-height: 100%; }
.hm-news-row__tag {
	display: inline-block;
	margin-bottom: 0.35rem;
	padding: 0.15rem 0.55rem;
	background: var(--paper);
	color: var(--muted);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.hm-news-row__title {
	margin: 0 0 0.45rem;
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.25;
}
.hm-news-row__title a { text-decoration: none !important; color: var(--ink); }
.hm-news-row__title a:hover { color: var(--brand); }
.hm-news-row__excerpt {
	margin: 0 0 0.75rem;
	font-weight: 300;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--muted);
}
.hm-news-row__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	font-size: 0.85rem;
	color: var(--muted);
}

/* —— Article single —— */
.hm-article__content { padding-bottom: 2rem; }
.hm-featured-media {
	margin: 0 0 1.75rem;
	overflow: hidden;
	border: 1px solid var(--line);
}
.hm-featured-media img { width: 100%; height: auto; }
.hm-related-news { padding: 2.5rem 0 1rem; background: var(--paper); }
.hm-related-news__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.hm-related-news__card {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
	padding: 0.75rem;
	background: #fff;
	border: 1px solid var(--line);
	height: 100%;
	transition: transform var(--hm-ease, 200ms ease), box-shadow var(--hm-ease, 200ms ease);
}
.hm-related-news__card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}
.hm-related-news__media {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--paper);
}
.hm-related-news__media img,
.hm-related-news__media .hm-ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hm-related-news__card h3 {
	margin: 0 0 0.3rem;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.3;
}
.hm-related-news__card h3 a { text-decoration: none !important; color: var(--ink); }
.hm-related-news__card h3 a:hover { color: var(--brand); }
.hm-related-news__card p {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 300;
	color: var(--muted);
	line-height: 1.45;
}

/* —— Institucional —— */
body.hm-site .hm-inst__intro h1 {
	font-size: clamp(2.2rem, 4.5vw, 3.25rem);
}
body.hm-site .hm-inst__commit h2 {
	font-weight: 600;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	max-width: 32ch;
	color: var(--brand);
}
body.hm-site .hm-inst__item {
	padding: 1.15rem 1.1rem;
	border: 1px solid transparent;
	background: #fff;
	transition: border-color var(--hm-ease), transform var(--hm-ease), box-shadow var(--hm-ease);
}
body.hm-site .hm-inst__item:hover {
	border-color: var(--line);
	box-shadow: var(--hm-shadow-sm);
	transform: translateY(-2px);
}
body.hm-site .hm-inst__ico {
	width: 44px;
	height: 44px;
}
body.hm-site .hm-inst__ico svg {
	width: 32px;
	height: 32px;
}
body.hm-site .hm-inst__band {
	padding: 2rem 0;
}

/* —— Shared blocks used on institucional pages (split out of home.css) —— */
.hm-help-cta {
	position: relative;
	padding: clamp(3rem, 6vw, 4.5rem) 0;
	background: var(--brand-dark, #16085c);
	color: #fff;
	text-align: center;
	overflow: hidden;
}
.hm-help-cta__inner { max-width: 46rem; margin-inline: auto; }
.hm-help-cta h2 {
	margin: 0 0 1.35rem;
	font-family: var(--font-display, "Montserrat", sans-serif);
	font-weight: 500;
	font-size: clamp(1.45rem, 2.8vw, 2rem);
	letter-spacing: -0.02em;
	line-height: 1.25;
	color: #fff;
	text-wrap: balance;
}
.hm-help-cta__text {
	margin: 0 0 1.25rem;
	color: rgba(255, 255, 255, 0.88);
}
.hm-help-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 0.85rem;
}

.hm-value-bar {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 1.35rem var(--hm-gutter, 1.5rem);
	background: #16085c;
	border-radius: 0;
	border-bottom: none;
	list-style: none;
	color: #fff;
}
.hm-value-bar li {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-width: 0;
	font-size: 0.88rem;
	font-weight: 400;
	color: #fff;
	text-align: left;
}
.hm-value-bar__ico {
	display: inline-flex;
	color: #fff;
	flex-shrink: 0;
	transition: transform var(--hm-ease, 200ms ease);
}
.hm-value-bar li:hover .hm-value-bar__ico { transform: translateY(-2px); }

.hm-stats {
	position: relative;
	background: #200C80;
	color: #fff;
	padding: clamp(2.25rem, 4.5vw, 3.25rem) 0;
	border-radius: 0;
	overflow: hidden;
}
.hm-stats__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.25rem, 3vw, 2rem);
	text-align: center;
}
.hm-stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	min-width: 0;
	width: auto;
	max-width: 100%;
}
.hm-stats__figure {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 0.28em;
	font-family: var(--font-display, "Montserrat", sans-serif);
	font-weight: 600;
	font-size: clamp(1.75rem, 3.2vw, 2.45rem);
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: #fff;
}
.hm-stats__prefix {
	font-weight: 500;
	font-size: 0.48em;
	letter-spacing: 0.02em;
	opacity: 0.9;
	text-transform: none;
}
.hm-stats__num {
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
}
.hm-stats__label {
	margin: 0;
	font-family: var(--font-body, "Montserrat", sans-serif);
	font-weight: 400;
	font-size: 0.88rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}
.hm-stats.is-counted .hm-stats__item {
	opacity: 1;
	transform: none;
}
.hm-stats:not(.is-counted) .hm-stats__item {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.45s ease, transform 0.45s ease;
}
.hm-stats.is-counted .hm-stats__item:nth-child(1) { transition-delay: 0ms; }
.hm-stats.is-counted .hm-stats__item:nth-child(2) { transition-delay: 60ms; }
.hm-stats.is-counted .hm-stats__item:nth-child(3) { transition-delay: 120ms; }
.hm-stats.is-counted .hm-stats__item:nth-child(4) { transition-delay: 180ms; }
@media (prefers-reduced-motion: reduce) {
	.hm-stats:not(.is-counted) .hm-stats__item,
	.hm-stats.is-counted .hm-stats__item {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

body.hm-site .hm-help-cta,
body.hm-site .hm-cta-band {
	padding: clamp(3.25rem, 6.5vw, 5rem) 0;
	background: var(--brand-dark, #16085c);
	color: #fff;
}
body.hm-site .hm-help-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
}
body.hm-site .hm-help-cta h2,
body.hm-site .hm-cta-band h2 {
	color: #fff;
	font-weight: 500;
	font-size: clamp(1.55rem, 3vw, 2.15rem);
	letter-spacing: -0.02em;
	max-width: 28ch;
}
body.hm-site .hm-help-cta__text {
	color: rgba(255, 255, 255, 0.88);
}
body.hm-site .hm-value-bar {
	padding: 1.5rem var(--hm-gutter, 1.5rem);
	background: #16085c;
	border-radius: 0;
	border-bottom: none;
	color: #fff;
}
body.hm-site .hm-value-bar li {
	font-weight: 400;
	font-size: 0.9rem;
	gap: 0.65rem;
	color: #fff;
}
body.hm-site .hm-value-bar__ico,
body.hm-site .hm-value-bar__ico .hm-icon {
	color: #fff;
}

@media (max-width: 980px) {
	.hm-inst__hero-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	.hm-inst__photo {
		aspect-ratio: 16 / 10;
		max-height: none;
	}
	.hm-inst__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hm-value-bar { grid-template-columns: 1fr; }
	.hm-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
	.hm-inst__grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	.hm-inst__item {
		padding: 1.25rem 1.15rem;
	}
	.hm-inst__item strong {
		font-size: 1.02rem;
		line-height: 1.35;
	}
	.hm-inst__item p {
		font-size: 0.95rem;
		line-height: 1.6;
	}
	.hm-inst__commit {
		padding-bottom: calc(clamp(3rem, 6vw, 4.5rem) + var(--hm-footer-float-clear-y, 5.5rem));
	}
	.hm-inst__lead {
		max-width: none;
	}
	.hm-inst__lead p {
		font-size: 1rem;
		line-height: 1.65;
	}
	.hm-stats {
		padding: clamp(2rem, 5vw, 2.75rem) 0;
	}
	.hm-stats__grid {
		gap: 1.75rem 1.25rem;
		padding-inline: 0.15rem;
	}
	.hm-stats__figure {
		font-size: clamp(1.85rem, 7vw, 2.35rem);
	}
	.hm-stats__label {
		font-size: 0.8rem;
		letter-spacing: 0.06em;
		line-height: 1.35;
		max-width: 14ch;
	}
}
@media (max-width: 640px) {
	.hm-value-bar { grid-template-columns: 1fr 1fr; }
	.hm-stats__grid { gap: 1.75rem 1rem; }
}

/* —— FAQ line accordion (mockup) —— */
body.hm-site .hm-faq__item {
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--line);
	box-shadow: none;
}
body.hm-site .hm-faq__item[open] {
	border-color: var(--line);
	box-shadow: none;
}
body.hm-site .hm-faq__q {
	padding: 1.25rem 0;
	font-weight: 500;
}
body.hm-site .hm-faq__a {
	padding: 0 0 1.35rem;
}
body.hm-site .hm-faq__cta-box {
	margin-top: 2rem;
	padding: 1.5rem 1.35rem;
	border: 1.5px solid var(--brand);
	background: var(--paper);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.25rem;
}
body.hm-site .hm-faq__cta-box p {
	margin: 0;
	font-weight: 500;
	flex: 1;
	min-width: 16ch;
}

/* —— News rows —— */
body.hm-site .hm-news-row {
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--line);
	gap: 1.5rem;
}
body.hm-site .hm-news-row:hover {
	background: transparent;
	transform: none;
}
body.hm-site .hm-news-row__media {
	overflow: hidden;
	border: 1px solid var(--line);
}
body.hm-site .hm-news-row__title {
	font-weight: 600;
	letter-spacing: -0.02em;
}
body.hm-site .hm-news-tabs {
	gap: 0;
	margin-bottom: 2rem;
	border-bottom: 1px solid var(--line);
}
body.hm-site .hm-news-tabs__item {
	padding: 0.85rem 1.1rem;
	border: 0;
	border-right: 1px solid var(--line);
	font-weight: 400;
}
body.hm-site .hm-news-tabs__item.is-active {
	font-weight: 500;
	color: var(--brand);
	box-shadow: inset 0 -2px 0 var(--brand);
}

