/* ASCENDA · Home (prefijo hm-)
   Referencias: 01_home/home-movil.html (390) y home-escritorio.html (1440).
   Móvil primero · tablet ≥768 · escritorio ≥1100 (el hero pasa a dos columnas desde 1280) */

/* ---------- Comunes de la página ---------- */
.hm-h2 { font-size: clamp(32px, 1.905vw + 24.57px, 52px); line-height: 1.05; }
.hm-head { max-width: 720px; display: flex; flex-direction: column; }
.hm-head .eyebrow { font-size: 12px; }
.hm-head .hm-h2 { margin-top: 14px; }
.hm-head__lead { margin-top: 20px; font-size: 16px; line-height: 1.6; }
@media (min-width: 768px) {
  .hm-head .eyebrow { font-size: 13px; }
  .hm-head .hm-h2 { margin-top: 16px; }
  .hm-head__lead { margin-top: 24px; font-size: 18px; }
}

.hm-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--borgona); text-decoration: none; }
.hm-link:hover { color: var(--borgona); text-decoration: underline; text-underline-offset: 4px; }
.hm-link--nube, .hm-link--nube:hover { color: var(--nube); }
.hm-inline { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--borgona); text-decoration: none; }
.hm-inline:hover { color: var(--borgona); text-decoration: underline; text-underline-offset: 3px; }
.hm-inline--nowrap { white-space: nowrap; }

/* Etiquetas de mecanismo / tipo */
.hm-mech { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.25; color: var(--noche); }
.hm-mech svg { flex-shrink: 0; }
.hm-mech--fin { background: var(--nube); }
.hm-mech--tax { background: rgba(76,32,57,.12); color: var(--borgona); }
.hm-mech--pub { background: var(--algodon); }
.hm-mech--coop { background: rgba(202,242,59,.4); }
.hm-mech--acc { background: #E6D7F4; }
.hm-mech--team { background: var(--algodon); color: var(--borgona); }
.hm-mech--plat { background: rgba(162,215,242,.55); }
.hm-mech--rtax { background: rgba(76,32,57,.14); color: var(--borgona); }
.hm-mech--prep { background: var(--noche-linea); color: var(--blanco); }

/* ---------- 1 · Hero ---------- */
.hm-hero { padding: 32px 0 40px; }
.hm-hero__grid { display: flex; flex-direction: column; }
.hm-hero__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(38px, 2.67vw + 27.6px, 66px); line-height: 1.03; letter-spacing: -.03em; color: var(--noche); }
.hm-hero__sub { display: block; margin-top: 14px; font-weight: 600; font-size: clamp(21px, 1.43vw + 15.4px, 36px); line-height: 1.17; letter-spacing: -.012em; color: var(--borgona); }
.hm-hero__lead { margin-top: 22px; max-width: 60ch; font-size: var(--fs-lead); line-height: 1.6; }
ul.hm-hero__benefits { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--algodon); display: flex; flex-direction: column; gap: 14px; }
ul.hm-hero__benefits li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; line-height: 1.35; }
ul.hm-hero__benefits svg { flex-shrink: 0; color: var(--borgona); }
.hm-hero__ctas { margin-top: 28px; }
.hm-hero__ctas .btn--secondary svg, .hm-sol__ctas .btn svg, .hm-pick .btn svg { margin-left: 2px; }

@media (min-width: 768px) {
  .hm-hero { padding: 48px 0 56px; }
  ul.hm-hero__benefits { flex-direction: row; flex-wrap: wrap; column-gap: 22px; row-gap: 10px; margin-top: 28px; padding-top: 22px; }
  ul.hm-hero__benefits li { gap: 8px; font-size: 14.5px; }
  .hm-hero__ctas { margin-top: 32px; }
}
@media (min-width: 1280px) {
  .hm-hero { padding: 40px 0; }
  .hm-hero__grid { display: grid; grid-template-columns: minmax(0, 640fr) minmax(0, 632fr); gap: 40px; align-items: center; min-height: 740px; }
  .hm-hero__sub { margin-top: 18px; }
  .hm-hero__lead { margin-top: 28px; }
}

/* Ilustración (figura) */
.hm-art { position: relative; margin: 40px calc(-1 * var(--gutter)) 0; padding: 20px 0 32px; background: var(--algodon); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.hm-art__deco { position: absolute; color: var(--borgona); opacity: .12; pointer-events: none; }
.hm-art__deco--1 { width: 96px; height: 96px; left: -34px; top: -30px; }
.hm-art__deco--2 { display: none; }
.hm-art__deco--3 { width: 130px; height: 130px; right: -36px; bottom: -44px; }
.hm-art__cap { position: relative; z-index: 2; align-self: flex-end; margin: 0 var(--gutter) 8px 0; padding: 6px 12px; border-radius: 999px; background: var(--blanco); font-size: 12px; font-weight: 700; line-height: 1.4; }
.hm-art__stage { position: relative; }
.hm-art__lines { display: none; }

/* Tarjetas de la ilustración */
.hm-acard { box-sizing: border-box; padding: 12px 14px; background: var(--blanco); border-radius: 16px; box-shadow: 0 1px 2px rgba(29,18,40,.05), 0 8px 22px rgba(29,18,40,.07); display: flex; flex-direction: column; gap: 6px; animation: hmIn .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(.25s + var(--i, 0) * .15s); }
.hm-acard__line { font-size: 12px; font-weight: 700; line-height: 1.3; color: rgba(29,18,40,.84); }
.hm-acard__title { font-family: var(--f-display); font-weight: 700; font-size: 15px; line-height: 1.22; }
.hm-acard__entity { font-size: 12px; line-height: 1.4; color: rgba(29,18,40,.78); }
.hm-acard .hm-mech { gap: 5px; padding: 4px 8px; border-radius: 10px; }
.hm-acard--company { flex-direction: row; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; box-shadow: 0 1px 2px rgba(29,18,40,.05), 0 10px 28px rgba(29,18,40,.07); animation-delay: .15s; }
.hm-acard__icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--borgona); display: flex; align-items: center; justify-content: center; }
.hm-acard__company { font-family: var(--f-display); font-weight: 700; font-size: 17px; line-height: 1.2; }
.hm-acard__count { margin-top: 2px; font-size: 13px; color: rgba(29,18,40,.78); }

/* Móvil: tira horizontal con escalones */
.hm-art__strip { display: flex; align-items: stretch; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); padding: 4px var(--gutter) 0; scrollbar-width: none; }
.hm-art__strip::-webkit-scrollbar { display: none; }
.hm-ini { flex: 0 0 176px; padding-right: 12px; display: flex; flex-direction: column; border-bottom: 1.25px solid rgba(76,32,57,.3); scroll-snap-align: start; }
.hm-ini:last-child { flex-basis: 164px; padding-right: 0; }
.hm-ini .hm-acard { margin-top: calc((4 - var(--i)) * 16px); }
.hm-ini::after { content: ""; flex-grow: 1; min-height: 16px; width: 1.25px; margin-left: 20px; background: rgba(76,32,57,.3); }
.hm-art__base { padding-left: var(--gutter); }
.hm-art__base::before { content: ""; display: block; width: 1.25px; height: 18px; margin-left: 20px; background: rgba(76,32,57,.3); }
.hm-acard--company { width: 240px; max-width: 100%; }

@media (min-width: 768px) {
  .hm-art { margin: 48px 0 0; padding: 0; height: clamp(600px, 50vw, 720px); max-width: 720px; width: 100%; align-self: center; }
  .hm-art__deco--1 { width: 150px; height: 150px; left: -46px; top: -40px; }
  .hm-art__deco--2 { display: block; width: 84px; height: 84px; right: -22px; top: 37%; }
  .hm-art__deco--3 { width: 210px; height: 210px; right: -54px; bottom: -66px; }
  .hm-art__cap { position: absolute; right: 24px; bottom: 24px; margin: 0; }
  .hm-art__stage { position: absolute; left: 6%; top: 5%; width: 88%; height: 90.5%; }
  .hm-art__lines { display: block; position: absolute; inset: 0; animation: hmFade .8s ease-out .2s both; }
  .hm-art__rail { position: absolute; left: 3.96%; top: 10.74%; bottom: 11.04%; width: 1.25px; background: rgba(76,32,57,.3); }
  .hm-art__tick { position: absolute; left: 3.96%; top: var(--y); width: calc(var(--x) - 3.96%); height: 1.25px; background: rgba(76,32,57,.3); }
  .hm-art__tick::after { content: ""; position: absolute; right: -2.5px; top: -1.9px; width: 5px; height: 5px; border-radius: 50%; background: rgba(76,32,57,.3); }
  .hm-art__strip { position: absolute; inset: 0; display: block; overflow: visible; padding: 0; }
  .hm-ini, .hm-ini:last-child { position: absolute; left: var(--x); top: var(--y); width: 43.2%; padding: 0; border: 0; display: block; }
  .hm-ini::after { content: none; }
  .hm-ini .hm-acard { margin-top: 0; gap: 5px; border-radius: 18px; box-shadow: 0 1px 2px rgba(29,18,40,.05), 0 10px 28px rgba(29,18,40,.07); }
  .hm-acard .hm-mech { padding: 4px 10px; border-radius: 999px; gap: 6px; }
  .hm-acard__entity { font-size: 12.5px; }
  .hm-art__base { position: absolute; left: 0; top: 88.96%; width: 43.2%; padding: 0; }
  .hm-art__base::before { content: none; }
  .hm-acard--company { width: 100%; }
}
@media (min-width: 1280px) {
  .hm-art { margin: 0; max-width: none; height: 720px; align-self: auto; }
  .hm-ini, .hm-ini:last-child, .hm-art__base { width: max(43.2%, 240px); }
}

@keyframes hmIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hmFade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 2 · Cómo funciona ---------- */
.hm-how { padding: 72px 0; }
.hm-how__grid { margin-top: 40px; display: flex; flex-direction: column; }
.hm-how__pick-title { margin-bottom: 14px; font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.2; }
.hm-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
.hm-tabs::-webkit-scrollbar { display: none; }
.hm-tab { flex: 0 0 auto; max-width: 250px; min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border: 0; border-radius: 16px; background: var(--algodon); color: var(--noche); font-family: var(--f-text); font-size: 14px; font-weight: 700; line-height: 1.3; text-align: left; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.hm-tab svg { flex-shrink: 0; width: 18px; height: 18px; }
.hm-tab:hover { background: rgba(255,255,255,.7); }
.hm-tab[aria-selected="true"] { background: var(--borgona); color: var(--blanco); }
.hm-how__result { margin-top: 20px; display: flex; flex-direction: column; }
.hm-how__panel { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; gap: 14px; }
.hm-prog { background: var(--blanco); border: 1px solid var(--algodon); border-radius: 20px; box-shadow: 0 1px 2px rgba(29,18,40,.04), 0 8px 24px rgba(29,18,40,.05); padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.hm-prog__org { margin-top: 4px; font-size: 13px; font-weight: 700; line-height: 1.4; }
.hm-prog__title { font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.2; }
.hm-prog__desc { font-size: 15px; line-height: 1.55; }
.hm-prog__fit { align-self: stretch; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--algodon); font-size: 14px; line-height: 1.55; }
.hm-prog__fit strong, .hm-scard__get strong { color: var(--borgona); }
.hm-how__claim { margin-top: 36px; max-width: 640px; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, .38vw + 20.5px, 26px); line-height: 1.25; letter-spacing: -.01em; }
.hm-how__note { margin-top: 10px; font-size: 13px; line-height: 1.5; color: rgba(29,18,40,.78); }

@media (min-width: 768px) {
  .hm-how { padding: 96px 0; }
  .hm-tabs { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .hm-how__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 20px; }
  .hm-prog { padding: 24px; gap: 10px; }
  .hm-prog__org { margin-top: 6px; }
  .hm-prog__title { font-size: 21px; }
  .hm-prog__fit { padding-top: 14px; font-size: 14.5px; }
  .hm-how__claim { margin-top: 44px; }
  .hm-how__note { margin-top: 12px; font-size: 13.5px; }
}
@media (min-width: 1100px) {
  .hm-how { padding: 120px 0 128px; }
  .hm-how__grid { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 13fr); gap: 56px; align-items: start; }
  .hm-how__pick-title { margin-bottom: 20px; font-size: 22px; }
  .hm-tabs { flex-direction: column; gap: 6px; overflow: visible; margin: 0; padding: 0; }
  .hm-tab { max-width: none; width: 100%; min-height: 68px; gap: 14px; padding: 14px 18px; border-left: 3px solid transparent; border-radius: 0 14px 14px 0; background: transparent; font-size: 16px; font-weight: 400; line-height: 1.35; }
  .hm-tab svg { width: 22px; height: 22px; color: var(--borgona); }
  .hm-tab:hover { background: rgba(255,255,255,.55); }
  .hm-tab[aria-selected="true"] { background: transparent; color: var(--noche); border-left-color: var(--borgona); font-weight: 700; }
  .hm-how__result { margin-top: 46px; }
}

/* ---------- 3 · Fuentes ---------- */
.hm-src { padding: 64px 0; }
.hm-src__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hm-src__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, .76vw + 21px, 32px); line-height: 1.15; letter-spacing: -.01em; color: var(--blanco); }
.hm-src__toggle { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--noche-linea); border-radius: 12px; background: transparent; color: var(--nube); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.hm-src__toggle:hover { background: var(--noche-linea); }
.hm-src__i-play { display: none; }
.hm-src__toggle[aria-pressed="true"] .hm-src__i-play { display: block; }
.hm-src__toggle[aria-pressed="true"] .hm-src__i-pause { display: none; }
[data-marquee].is-paused .marquee__track { animation-play-state: paused; }
.hm-src__marquee { margin-top: 28px; }
ul.hm-src__list { display: flex; gap: 10px; padding-right: 10px; }
ul.hm-src__list li { flex-shrink: 0; display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border: 1px solid var(--noche-linea); border-radius: 999px; font-size: 16px; font-weight: 700; line-height: 1.2; color: var(--nube); white-space: nowrap; }
.hm-src__foot { margin-top: 28px; display: flex; justify-content: flex-end; }
.hm-src__foot .hm-link { font-size: 15px; text-align: right; }
@media (min-width: 768px) {
  .hm-src { padding: 96px 0; }
  .hm-src__marquee, .hm-src__foot { margin-top: 40px; }
  ul.hm-src__list { gap: 12px; padding-right: 12px; }
  .hm-src__foot .hm-link { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-src__toggle { display: none; }
  .hm-src__marquee .marquee__track { width: auto; padding-inline: var(--gutter); }
  ul.hm-src__list { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  ul.hm-src__list[aria-hidden="true"] { display: none; }
  ul.hm-src__list li { white-space: normal; }
}

/* ---------- 4 · Soluciones (escalera) ---------- */
.hm-sol { padding: 32px 0 80px; }
.hm-sol__grid { margin-top: 32px; }

/* Escalera: móvil = barra fija bajo el encabezado */
.hm-stairs { position: sticky; top: var(--header-h); z-index: 10; margin: 0 calc(-1 * var(--gutter)); padding: 12px var(--gutter) 18px; background: var(--blanco); border-bottom: 1px solid var(--algodon); }
.hm-stairs__box { display: flex; align-items: flex-end; gap: 8px; }
.hm-stair { position: relative; flex: 1 1 0; min-width: 0; height: 44px; display: flex; align-items: center; padding-left: 10px; color: var(--noche); text-decoration: none; transition: opacity .3s ease; }
.hm-stair:hover, .hm-stair:focus-visible { opacity: 1 !important; color: var(--noche); }
.hm-stair--1, .hm-stair--1:hover { color: var(--blanco); }
.hm-stair--2 { margin-bottom: 8px; }
.hm-stair--3 { margin-bottom: 16px; }
.hm-stair__shape { position: absolute; left: 0; top: 0; width: 100%; height: 52px; overflow: visible; }
.hm-stair__shape--d { display: none; }
.hm-stair--1 .hm-stair__shape { fill: var(--borgona); }
.hm-stair--2 .hm-stair__shape { fill: var(--nube); }
.hm-stair--3 .hm-stair__shape { fill: var(--citrico); }
.hm-stair__label { position: relative; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.hm-stair__num { font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.hm-stair__name { font-family: var(--f-display); font-weight: 700; font-size: 14px; }
.hm-stairs.is-tracking .hm-stair:not(.is-active) { opacity: .3; }
.hm-stair { animation: hmIn .5s cubic-bezier(.2,.7,.2,1) backwards; }
.hm-stair--2 { animation-delay: .15s; }
.hm-stair--3 { animation-delay: .3s; }

@media (max-width: 359px) {
  .hm-stairs__box { gap: 6px; }
  .hm-stair { padding-left: 8px; }
  .hm-stair__num { display: none; }
  .hm-stair__name { font-size: 13px; }
}

.hm-sol__steps { margin-top: 32px; display: flex; flex-direction: column; gap: 64px; }
.hm-step { scroll-margin-top: calc(var(--header-h) + 96px); display: flex; flex-direction: column; }
.hm-step__kicker { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.hm-step__sq { width: 12px; height: 12px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(29,18,40,.08); background: var(--c); }
.hm-step--1 { --c: var(--borgona); }
.hm-step--2 { --c: var(--nube); }
.hm-step--3 { --c: var(--citrico); }
.hm-step__title { margin-top: 12px; font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, .95vw + 22.3px, 36px); line-height: 1.12; letter-spacing: -.015em; }
.hm-step__q { margin-top: 10px; font-size: 16px; line-height: 1.5; }
.hm-step__cards { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; gap: 14px; }
.hm-scard { position: relative; background: var(--blanco); border: 1px solid var(--algodon); border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(29,18,40,.04), 0 8px 24px rgba(29,18,40,.05); padding: 26px 20px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hm-scard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--c); }
.hm-scard__quote { font-family: var(--f-display); font-weight: 700; font-size: clamp(19px, .19vw + 18.3px, 21px); line-height: 1.25; letter-spacing: -.01em; }
.hm-scard__get { align-self: stretch; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--algodon); font-size: 14.5px; line-height: 1.55; }
.hm-scard__link { margin-top: -6px; font-size: 15px; }

.hm-sol__close { margin-top: 72px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hm-sol__claim { max-width: 860px; font-family: var(--f-display); font-weight: 700; font-size: clamp(23px, .86vw + 19.6px, 32px); line-height: 1.3; letter-spacing: -.015em; }
.hm-sol__claim mark { background: transparent; color: inherit; text-decoration: underline; text-decoration-color: var(--citrico); text-decoration-thickness: .42em; text-underline-offset: -.22em; text-decoration-skip-ink: none; }
.hm-sol__ctas { margin-top: 32px; width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.hm-sol__ctas .btn-with-note { align-items: stretch; }
.hm-sol__all { justify-content: center; font-size: 16px; }

@media (min-width: 768px) {
  .hm-sol { padding: 48px 0 112px; }
  .hm-stairs__box { gap: 12px; max-width: 640px; }
  .hm-stair { height: 52px; padding-left: 16px; }
  .hm-stair--2 { margin-bottom: 10px; }
  .hm-stair--3 { margin-bottom: 20px; }
  .hm-stair__shape--m { height: 60px; }
  .hm-stair__num { font-size: 13px; }
  .hm-stair__name { font-size: 18px; }
  .hm-step { scroll-margin-top: calc(var(--header-h) + 110px); }
  .hm-sol__steps { gap: 80px; }
  .hm-step__q { font-size: 18px; }
  .hm-step__cards { margin-top: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 20px; }
  .hm-scard { padding: 30px 24px 24px; }
  .hm-sol__ctas { width: auto; flex-direction: row; justify-content: center; align-items: flex-start; gap: 24px; }
  .hm-sol__ctas .btn-with-note { align-items: center; }
  .hm-sol__all { min-height: 56px; }
}
@media (min-width: 1100px) {
  .hm-sol { padding: 40px 0 136px; }
  .hm-sol__grid { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 13fr); gap: 56px; align-items: start; }
  .hm-stairs { top: calc(var(--header-h) + 40px); z-index: 1; margin: 0; padding: 0; background: transparent; border: 0; }
  .hm-stairs__box { position: relative; display: block; width: 100%; max-width: 440px; height: 358px; }
  .hm-stair { position: absolute; width: 68.2%; height: 96px; margin: 0; padding-left: 24px; }
  .hm-stair--1 { left: 0; top: 224px; }
  .hm-stair--2 { left: 15.9%; top: 112px; margin: 0; }
  .hm-stair--3 { left: 31.8%; top: 0; margin: 0; }
  .hm-stair__shape--m { display: none; }
  .hm-stair__shape--d { display: block; height: 134px; }
  .hm-stair__label { gap: 12px; }
  .hm-stair__num { font-size: 14px; letter-spacing: .06em; }
  .hm-stair__name { font-size: clamp(22px, 1.6vw, 28px); letter-spacing: -.01em; }
  .hm-sol__steps { margin-top: 0; gap: 96px; }
  .hm-step { scroll-margin-top: calc(var(--header-h) + 32px); }
  .hm-sol__close { margin-top: 128px; }
}

/* ---------- 5 · Resultados ---------- */
.hm-res { position: relative; overflow: hidden; padding: 72px 0; }
.hm-res__deco { position: absolute; color: #70355C; pointer-events: none; }
.hm-res__deco--1 { width: 120px; height: 120px; right: -40px; top: -34px; }
.hm-res__deco--2 { display: none; }
.hm-res__inner { position: relative; }
.hm-res .hm-head .eyebrow { color: var(--nube); }
.hm-res .hm-head__lead { color: var(--algodon); }
.hm-res__carousel { margin-top: 36px; }
.hm-res__track { gap: 14px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding-left: var(--gutter); }
.hm-res__track:focus-visible { outline-color: var(--citrico); outline-offset: -3px; }
.hm-tcard { position: relative; flex: 0 0 min(300px, 82vw); box-sizing: border-box; background: #70355C; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; }
.hm-tcard__logo { width: 120px; height: 56px; padding: 8px 12px; border-radius: 12px; background: var(--blanco); display: flex; align-items: center; justify-content: center; }
.hm-tcard__logo img, ul.hm-logos__list img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.hm-tcard__title { margin-top: 24px; font-family: var(--f-display); font-weight: 700; font-size: clamp(21px, .29vw + 19.9px, 24px); line-height: 1.22; letter-spacing: -.01em; color: var(--citrico); }
.hm-tcard__quote { margin-top: 16px; }
.hm-tcard__quote p { font-size: 15px; line-height: 1.6; color: var(--algodon); }
.hm-tcard__who { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 2px; }
.hm-tcard__name { font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--blanco); }
.hm-tcard__role { font-size: 14px; line-height: 1.4; color: var(--nube); }
.hm-tcard__foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.16); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.hm-tcard__tag { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: var(--algodon); color: var(--borgona); font-size: 12px; font-weight: 700; line-height: 1.25; }
.hm-tcard__foot .hm-link { font-size: 14.5px; }
.hm-res__dots { margin-top: 8px; gap: 0; color: var(--blanco); }
.hm-res__dots button { width: 44px; height: 44px; }
.hm-res__dots button::before { opacity: .4; }
.hm-res__dots button[aria-current="true"]::before { width: 24px; }
.hm-res__dots button:focus-visible { outline-color: var(--citrico); }
.hm-res__carousel.is-static .hm-res__dots { display: none; }

.hm-logos { margin-top: 56px; display: flex; flex-direction: column; align-items: center; }
.hm-logos__title { font-size: 13px; color: var(--nube); text-align: center; }
ul.hm-logos__list { margin-top: 18px; width: 100%; max-width: 920px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
ul.hm-logos__list li { flex: 0 0 calc((100% - 20px) / 3); height: 64px; padding: 10px 12px; border-radius: 14px; background: var(--blanco); display: flex; align-items: center; justify-content: center; }

@media (min-width: 768px) {
  .hm-res { padding: 96px 0; }
  .hm-res__deco--1 { width: 220px; height: 220px; right: -60px; top: -70px; }
  .hm-res__deco--2 { display: block; width: 96px; height: 96px; right: 200px; top: 40px; }
  .hm-res__carousel { margin-top: 56px; }
  .hm-res__track { gap: 24px; }
  .hm-tcard { flex-basis: 340px; padding: 32px; }
  .hm-tcard__title { margin-top: 28px; }
  .hm-tcard__quote p { font-size: 16px; }
  .hm-logos { margin-top: 80px; }
  .hm-logos__title { font-size: 14px; }
  ul.hm-logos__list { margin-top: 24px; gap: 16px; }
  ul.hm-logos__list li { flex: 0 0 140px; height: 72px; padding: 12px 14px; }
}
@media (min-width: 1100px) {
  .hm-res { padding: 120px 0; }
  .hm-res__carousel { margin-top: 64px; }
  .hm-res__track { margin: 0; padding: 0; overflow: visible; }
  .hm-tcard { flex: 1 1 0; min-width: 0; }
  .hm-logos { margin-top: 96px; }
}

/* ---------- 6 · Recursos ---------- */
.hm-rec { padding: 64px 0; }
.hm-rec__grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "list" "all"; }
.hm-rec__title { grid-area: title; font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 1.33vw + 24.8px, 44px); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
ul.hm-rec__list { grid-area: list; margin: 28px calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter) 16px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
ul.hm-rec__list::-webkit-scrollbar { display: none; }
ul.hm-rec__list > li { flex: 0 0 min(300px, 80vw); scroll-snap-align: start; display: flex; }
.hm-rec__all { grid-area: all; justify-self: start; margin-top: 12px; font-size: 16px; }
.hm-rcard { position: relative; width: 100%; display: flex; flex-direction: column; background: var(--blanco); border: 1px solid var(--algodon); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--noche); box-shadow: 0 1px 2px rgba(29,18,40,.04), 0 8px 24px rgba(29,18,40,.05); transition: box-shadow .2s ease; }
.hm-rcard:hover { color: var(--noche); box-shadow: 0 1px 2px rgba(29,18,40,.06), 0 16px 36px rgba(29,18,40,.12); }
.hm-rcard:hover .hm-rcard__title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.hm-rcard__cover { position: relative; height: 190px; flex-shrink: 0; overflow: hidden; }
.hm-rcard__cover svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hm-rcard__topic { position: absolute; left: 16px; top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--noche); }
.hm-rcard__cover--tax .hm-rcard__topic { color: var(--borgona); }
.hm-rcard__cover--prep .hm-rcard__topic { color: var(--blanco); }
.hm-rcard__body { flex-grow: 1; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.hm-rcard__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.hm-rcard__type { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5A5262; }
.hm-rcard__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, .19vw + 19.3px, 22px); line-height: 1.22; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hm-rcard__desc { font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-rcard__date { margin-top: auto; padding-top: 6px; font-size: 13px; color: rgba(29,18,40,.75); }

@media (min-width: 768px) {
  .hm-rec { padding: 96px 0; }
  ul.hm-rec__list > li { flex-basis: 340px; }
  .hm-rcard__body { padding: 22px 24px 24px; }
}
@media (min-width: 1100px) {
  .hm-rec { padding: 112px 0; }
  .hm-rec__grid { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title all" "list list"; align-items: end; column-gap: 16px; }
  .hm-rec__all { margin-top: 0; justify-self: end; }
  ul.hm-rec__list { margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; overflow: visible; }
  .hm-rcard__cover { height: 210px; }
}

/* ---------- 7 · Empezar + FAQ ---------- */
.hm-start { padding: 72px 0 80px; }
.hm-start__title { text-align: center; }
.hm-start__cards { margin: 32px auto 0; max-width: 1040px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.hm-pick { background: var(--blanco); border-radius: 24px; box-shadow: 0 1px 2px rgba(29,18,40,.05), 0 10px 30px rgba(29,18,40,.07); padding: 28px 24px; display: flex; flex-direction: column; }
.hm-pick__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, .57vw + 19.8px, 28px); line-height: 1.2; letter-spacing: -.01em; }
.hm-pick__text { margin-top: 14px; flex-grow: 1; font-size: 16px; line-height: 1.6; }
.hm-pick__actions { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.hm-pick__actions > .btn, .hm-pick__note, .hm-pick__note .btn { width: 100%; }
.hm-pick__note { align-items: stretch; }
.hm-pick__alt { font-size: 14px; line-height: 1.5; }

.hm-faqwrap { margin-top: 72px; display: flex; flex-direction: column; gap: 24px; }
.hm-faqwrap__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 1.33vw + 24.8px, 44px); line-height: 1.08; letter-spacing: -.02em; }
.hm-faqwrap__text { margin-top: 14px; font-size: 16px; line-height: 1.6; }
.hm-faq.faq { border-top: 0; display: flex; flex-direction: column; gap: 10px; }
.hm-faq .faq__item { border-bottom: 0; background: var(--blanco); border-radius: 16px; box-shadow: 0 1px 2px rgba(29,18,40,.05); }
.hm-faq .faq__btn { margin: 0; width: 100%; min-height: 60px; padding: 16px 18px; border-radius: 16px; font-size: 16px; line-height: 1.35; }
.hm-faq .faq__btn:hover { background: rgba(234,234,234,.45); }
.hm-faq .faq__chev { color: var(--borgona); }
.hm-faq .faq__ans { padding: 0 18px 20px; max-width: none; font-size: 15.5px; line-height: 1.6; }
.hm-faq .faq__ans .hm-link { min-height: 32px; }

@media (min-width: 768px) {
  .hm-start { padding: 96px 0 104px; }
  .hm-start__cards { margin-top: 48px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .hm-pick { padding: 40px; }
  .hm-pick__text { font-size: 17px; }
  .hm-pick__actions { min-height: 96px; }
  .hm-pick__actions > .btn, .hm-pick__note, .hm-pick__note .btn { width: auto; align-self: flex-start; }
  .hm-pick__note { align-items: flex-start; }
  .hm-pick__note .note { text-align: left; }
  .hm-faqwrap { margin-top: 96px; }
  .hm-faqwrap__text { font-size: 17px; }
  .hm-faq.faq { gap: 12px; }
  .hm-faq .faq__btn { min-height: 68px; padding: 18px 24px; font-size: 17px; }
  .hm-faq .faq__ans { padding: 0 24px 22px; font-size: 16px; }
}
@media (min-width: 1100px) {
  .hm-start { padding: 120px 0 128px; }
  .hm-faqwrap { margin-top: 128px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 13fr); gap: 56px; align-items: start; }
  .hm-faqwrap__intro { position: sticky; top: calc(var(--header-h) + 40px); }
}
