/*
Theme Name:   Home Loan Access
Theme URI:    https://homeloanaccess.com
Author:       Webhexup
Author URI:   https://www.webhexup.com
Description:  Tema nativo para Home Loan Access: páginas comerciales, calculadoras hipotecarias, squeeze page y schema. Requiere el plugin Home Loan Access Core para formularios y leads.
Version:      1.6.2
Requires at least: 6.3
Requires PHP: 8.1
Text Domain:  hla
*/

/* Tipografías autoalojadas (subset latino): Poppins para títulos, Inter para texto */
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--hla-ink: #12304D;
	--hla-ink-2: #1C4670;
	--hla-blue: #2563A8;
	--hla-sky: #E9F1F9;
	--hla-mist: #F3F6FA;
	--hla-paper: #FFFFFF;
	--hla-line: #D3DDE8;
	--hla-amber: #F2A93B;
	--hla-amber-2: #DE9426;
	--hla-amber-soft: #FDF1DC;
	--hla-text: #1B2733;
	--hla-muted: #566778;
	--hla-font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
	--hla-font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	--wrap: 1280px;
	--gutter: clamp(1.1rem, 4vw, 2rem);
	--sec: clamp(3.5rem, 7vw, 6rem);
	--r-sm: 4px;
	--r: 6px;
	--logo-bg: var(--hla-ink);
	--logo-fg: #FFFFFF;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--hla-font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--hla-text); background: var(--hla-paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--hla-blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--hla-ink); }
:focus-visible { outline: 3px solid var(--hla-amber); outline-offset: 2px; border-radius: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--hla-font-head); color: var(--hla-ink); margin: 0 0 .6em; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--hla-ink); color: #fff; padding: .7rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }

.h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); letter-spacing: -.015em; }
.h3 { font-size: 1.2rem; letter-spacing: -.005em; }
.h4 { font-size: 1.05rem; }
.lead { font-size: 1.15rem; color: var(--hla-muted); line-height: 1.6; max-width: 40rem; }
.muted { color: var(--hla-muted); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font-family: var(--hla-font-head); font-weight: 500; font-size: .95rem; line-height: 1.2; padding: .9rem 1.45rem; min-height: 50px; border-radius: 4px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn--primary { background: var(--hla-amber); color: var(--hla-ink); }
.btn--primary:hover { background: var(--hla-amber-2); color: var(--hla-ink); }
.btn--ghost { background: transparent; color: var(--hla-ink); border-color: var(--hla-ink); }
.btn--ghost:hover { background: var(--hla-ink); color: #fff; }
.btn--light { background: #fff; color: var(--hla-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.btn-row--center { justify-content: center; margin-top: 2.5rem; }
.link-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--hla-ink); text-decoration-color: var(--hla-amber); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.link-more:hover { color: var(--hla-blue); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--hla-ink); color: #C9D6E4; font-size: .875rem; }
.topbar__inner { display: flex; gap: 1.75rem; align-items: center; min-height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; color: inherit; text-decoration: none; }
.topbar__item .icon { width: 15px; height: 15px; color: var(--hla-amber); }
a.topbar__item:hover { color: #fff; }
.topbar__mail { margin-left: auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--hla-line); box-shadow: 0 6px 24px -18px rgba(18, 48, 77, .45); }
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; }


.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--hla-ink); flex: none; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__word { font-family: var(--hla-font-head); font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1; }
.logo__accent { color: var(--hla-blue); }
.logo--light .logo__accent { color: var(--hla-amber); }
.logo--light { --logo-bg: #fff; --logo-fg: var(--hla-ink); color: #fff; }
.custom-logo { max-height: 48px; width: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .9rem; min-width: 0; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.nav__list a { display: block; padding: .55rem .5rem; color: var(--hla-text); text-decoration: none; font-family: var(--hla-font-head); font-weight: 500; font-size: .9rem; border-radius: 8px; white-space: nowrap; }
.nav__list a:hover { background: var(--hla-mist); color: var(--hla-ink); }
.nav__list .current-menu-item > a, .nav__list a[aria-current="page"] { color: var(--hla-ink); box-shadow: inset 0 -2px 0 var(--hla-amber); border-radius: 0; }
.nav__cta { padding-inline: 1.15rem; min-height: 44px; white-space: nowrap; flex: none; }
/* En escritorio el logo ya enlaza a la portada: se oculta "Home" para ganar espacio (vuelve en móvil). */
.nav__list > .menu-item-home { display: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1.5px solid var(--hla-line); border-radius: 10px; width: 46px; height: 46px; color: var(--hla-ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }

@media (max-width: 1179px) {
	.nav-toggle { display: inline-flex; }
	.nav { position: fixed; top: var(--nav-top, 114px); left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 1rem var(--gutter) 2rem; gap: 1rem; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; overflow-y: auto; border-top: 1px solid var(--hla-line); }
	.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.nav-open { overflow: hidden; }
	.nav__list { flex-direction: column; }
	.nav__list > .menu-item-home { display: block; }
	.nav__list a { font-size: 1.15rem; padding: .85rem .25rem; border-bottom: 1px solid var(--hla-mist); border-radius: 0; }
	.nav__list .current-menu-item > a, .nav__list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--hla-amber); padding-left: .8rem; }
}
@media (max-width: 760px) {
	.topbar__hours, .topbar__mail { display: none; }
	.logo__word { font-size: 1.12rem; }
}




/* ==========================================================================
   Secciones genéricas
   ========================================================================== */
.section { padding: var(--sec) 0; }
.section--tint { background: var(--hla-mist); }
.section--flush-top { padding-top: 0; }
.section__head { margin-bottom: 2.25rem; max-width: 46rem; }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split--center { grid-template-columns: 7fr 5fr; align-items: center; }
.split__aside .lead { margin-top: .5rem; }
.split__aside .link-more { margin-top: .75rem; }
.split__main > :last-child { margin-bottom: 0; }

.page-note { padding: 1.5rem 0; border-top: 1px solid var(--hla-line); }
.page-note p { margin: 0; font-size: .9rem; font-style: italic; color: var(--hla-muted); max-width: 60rem; }

/* Hero interior */
.crumbs { display: flex; gap: .5rem; font-size: .9rem; color: var(--hla-muted); margin-bottom: 1.1rem; }
.crumbs a { color: var(--hla-muted); }

/* Tarjetas de ruta (Buy) */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.path { border-top: 3px solid var(--hla-ink); padding-top: 1.4rem; display: flex; flex-direction: column; }
.path p { color: var(--hla-text); }
.path .btn { margin-top: auto; align-self: flex-start; }

.costs { margin: 0; background: #fff; border: 1px solid var(--hla-line); border-radius: var(--r); padding: 1.6rem; }
.costs figcaption { font-family: var(--hla-font-head); font-weight: 600; color: var(--hla-ink); font-size: 1.1rem; margin-bottom: 1rem; }
.costs ul { list-style: none; margin: 0 0 1rem; padding: 0; counter-reset: c; }
.costs li { display: flex; align-items: center; gap: .75rem; padding: .7rem 0; border-bottom: 1px dashed var(--hla-line); font-weight: 500; }
.costs li::before { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--hla-amber-soft); color: var(--hla-ink); font-weight: 700; flex: none; }
.costs li:first-child::before { content: ""; background: var(--hla-ink); }
.costs p { margin: 0; font-size: .93rem; color: var(--hla-muted); }

.checklist { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1rem; }
.checklist > div { background: var(--hla-mist); border-radius: var(--r); padding: 1.3rem 1.25rem; }
.checklist dt { font-family: var(--hla-font-head); font-weight: 600; color: var(--hla-ink); font-size: 1.12rem; margin-bottom: .35rem; }
.checklist dd { margin: 0; color: var(--hla-text); font-size: .98rem; }

/* Refinance */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.reason { border: 1px solid var(--hla-line); border-radius: var(--r); padding: 1.6rem; display: flex; flex-direction: column; }
.reason .btn { margin-top: auto; align-self: flex-start; }
.reason p:last-of-type { margin-bottom: 1.25rem; }
.ticks { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.75rem; }
.ticks li::before { content: ""; position: absolute; left: .15rem; top: .45em; width: .7rem; height: .4rem; border-left: 2px solid var(--hla-blue); border-bottom: 2px solid var(--hla-blue); transform: rotate(-45deg); }
.ticks--inline { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); column-gap: 2rem; }
.list-intro { font-weight: 600; color: var(--hla-ink); margin-bottom: .75rem; }
.callout { display: flex; gap: .8rem; align-items: flex-start; background: var(--hla-amber-soft); border-left: 4px solid var(--hla-amber); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 1rem 1.2rem; margin: 0 0 1.25rem; }
.callout p { margin: 0; }
.callout .icon { color: var(--hla-amber-2); width: 22px; height: 22px; margin-top: .15rem; }
.callout--warn { background: #FBEDEA; border-left-color: #B3261E; }
.callout--warn .icon { color: #B3261E; }

/* Home equity */
.equity-bar { margin: 0; background: #fff; border: 1px solid var(--hla-line); border-radius: var(--r); padding: 1.6rem; }
.equity-bar figcaption { font-size: .9rem; color: var(--hla-muted); margin-bottom: .6rem; }
.equity-bar__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .75rem; }
.equity-bar__total strong { font-family: var(--hla-font-head); font-size: 1.6rem; color: var(--hla-ink); font-variant-numeric: tabular-nums; }
.equity-bar__track { display: flex; height: 18px; border-radius: 9px; overflow: hidden; background: var(--hla-mist); }
.equity-bar__owed { background: var(--hla-ink); transition: width .3s; }
.equity-bar__equity { background: var(--hla-amber); transition: width .3s; }
.equity-bar__legend { display: grid; gap: .5rem; margin-top: 1rem; }
.equity-bar__legend div { display: flex; align-items: center; gap: .6rem; }
.equity-bar__legend strong { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--hla-ink); }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.sw--owed { background: var(--hla-ink); }
.sw--equity { background: var(--hla-amber); }
.equity-bar--live { border: 0; padding: 0; margin: 0 0 1rem; background: none; }
.equity-bar--live .equity-bar__track { background: rgba(255, 255, 255, .12); }
.equity-bar--live .equity-bar__owed { background: #6F9BC8; }

.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.compare__col { background: #fff; border-radius: var(--r); padding: 1.6rem; border: 1px solid var(--hla-line); }
.compare__facts { margin: 0 0 1.25rem; border-top: 1px solid var(--hla-line); }
.compare__facts > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--hla-line); font-size: .95rem; }
.compare__facts dt { color: var(--hla-muted); }
.compare__facts dd { margin: 0; font-weight: 600; color: var(--hla-ink); }

/* How it works */
.steps { list-style: none; margin: 0 auto; padding: 0; counter-reset: step; max-width: 54rem; }
.step { counter-increment: step; position: relative; padding: 0 0 2.5rem 5rem; }
.step::before { content: counter(step); position: absolute; left: 0; top: -.2rem; width: 3.25rem; height: 3.25rem; border-radius: 26px 26px 8px 8px; background: var(--hla-ink); color: var(--hla-amber); font-family: var(--hla-font-head); font-weight: 700; font-size: 1.35rem; display: grid; place-items: center; }
.step::after { content: ""; position: absolute; left: 1.6rem; top: 3.5rem; bottom: .5rem; width: 2px; background: var(--hla-line); }
.step:last-child { padding-bottom: 0; }
.step:last-child::after { display: none; }
.step .h3 { font-size: 1.45rem; padding-top: .45rem; }
.step__note { font-size: .95rem; color: var(--hla-muted); border-left: 3px solid var(--hla-amber); padding-left: .9rem; }
.step__goals { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.step__goals a { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border: 1.5px solid var(--hla-line); border-radius: 10px; text-decoration: none; color: var(--hla-ink); font-weight: 600; }
.step__goals a:hover { border-color: var(--hla-blue); background: var(--hla-sky); }
.step__goals .icon { color: var(--hla-blue); }

/* FAQ */
.faq { border-top: 1px solid var(--hla-line); }
.faq__item { border-bottom: 1px solid var(--hla-line); }
.faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.2rem 0; font-family: var(--hla-font-head); font-weight: 500; font-size: 1.05rem; color: var(--hla-ink); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--hla-blue); }
.faq__toggle { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1.5px solid var(--hla-line); }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--hla-ink); transform: translate(-50%, -50%); transition: transform .2s; }
.faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__toggle { background: var(--hla-ink); border-color: var(--hla-ink); }
.faq__item[open] .faq__toggle::before, .faq__item[open] .faq__toggle::after { background: var(--hla-amber); }
.faq__item[open] .faq__toggle::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { padding: 0 3rem 1.25rem 0; color: var(--hla-text); }
.faq__a p:last-child { margin-bottom: 0; }

/* Calculadoras */
.calc-nav { position: sticky; top: 76px; z-index: 20; background: #fff; border-bottom: 1px solid var(--hla-line); }
.calc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.calc-nav a { display: block; padding: .95rem 1rem; white-space: nowrap; text-decoration: none; color: var(--hla-text); font-weight: 600; font-size: .96rem; }
.calc-nav a:hover { color: var(--hla-blue); box-shadow: inset 0 -2px 0 var(--hla-amber); }
.calc { scroll-margin-top: 140px; }
.calc__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.cgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.1rem; margin-top: 1.5rem; }
.cfield label { display: block; font-weight: 600; font-size: .93rem; color: var(--hla-ink); margin-bottom: .35rem; }
.cfield__box { display: flex; align-items: stretch; border: 1.5px solid var(--hla-line); border-radius: 10px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.cfield__box:focus-within { border-color: var(--hla-blue); box-shadow: 0 0 0 3px rgba(37, 99, 168, .18); }
.cfield__box input, .cfield__box select { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1.02rem; padding: .75rem .8rem; min-height: 48px; color: var(--hla-text); font-variant-numeric: tabular-nums; }
.cfield__box input:focus, .cfield__box select:focus { outline: none; }
.cfield__affix { display: grid; place-items: center; padding: 0 .75rem; background: var(--hla-mist); color: var(--hla-muted); font-weight: 600; font-size: .95rem; }
.cfield__hint { font-size: .84rem; color: var(--hla-muted); margin: .35rem 0 0; line-height: 1.4; }
.calc__results { position: sticky; top: 150px; background: var(--hla-ink); color: #DDE6F0; border-radius: 22px; padding: 1.75rem; }
.calc__results dl { margin: 0 0 1.25rem; }
.result { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: .95rem; }
.result dd { margin: 0; color: #fff; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.result--big { display: block; padding: 0 0 1.1rem; margin-bottom: .4rem; border-bottom-color: rgba(242, 169, 59, .5); }
.result--big dt { font-size: .95rem; color: #C9D6E4; }
.result--big dd { text-align: left; font-family: var(--hla-font-head); font-size: clamp(2rem, 1.5rem + 1.8vw, 2.7rem); line-height: 1.1; color: var(--hla-amber); letter-spacing: -.01em; margin-top: .25rem; }
.calc__compare, .calc__method { font-size: .88rem; line-height: 1.5; color: #B9C8D8; }
.calc__compare:empty { display: none; }
.calc__results .btn { width: 100%; }
.calc__explore { margin-top: 2.25rem; }
.calc__note { font-size: .95rem; color: var(--hla-muted); font-style: italic; margin: 0; }

/* Contacto */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.contact__list > li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__list > li > .icon { width: 44px; height: 44px; padding: 10px; border-radius: 22px 22px 8px 8px; background: var(--hla-ink); color: var(--hla-amber); }
.contact__label { display: block; font-size: .85rem; color: var(--hla-muted); margin-bottom: .1rem; }
.contact__list a { font-weight: 600; font-size: 1.08rem; color: var(--hla-ink); }
.contact__form { background: var(--hla-mist); border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.25rem); }
.hours { margin: 0; display: grid; gap: .3rem; font-size: .95rem; }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours--dark dt { color: var(--hla-text); }
.hours--dark dd { font-weight: 600; color: var(--hla-ink); }

/* Banda CTA */

/* Páginas de texto (legales, blog) */
.prose-page__head { background: linear-gradient(180deg, var(--hla-sky), #F6F9FC); padding: clamp(2.25rem, 5vw, 3.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 2.5rem; }
.prose { padding-bottom: var(--sec); }
.prose h2 { font-size: 1.55rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose mark { background: var(--hla-amber-soft); color: var(--hla-ink); padding: 0 .25em; border-radius: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--hla-line); padding: .6rem .75rem; text-align: left; }
.prose th { background: var(--hla-mist); }
.prose .wp-block-button__link { background: var(--hla-amber); color: var(--hla-ink); border-radius: 10px; font-weight: 600; }
.prose .hla-contact { background: var(--hla-mist); border-radius: 18px; padding: 1.5rem; margin-top: 2rem; }
.post-meta { color: var(--hla-muted); font-size: .92rem; margin-bottom: .5rem; }
.post-thumb img { border-radius: var(--r); margin-bottom: 2rem; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 2rem; padding-top: 2rem; }
.post-card__img img { border-radius: var(--r); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; margin-bottom: 1rem; }
.post-card h2 a { color: var(--hla-ink); text-decoration: none; }
.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; gap: .5rem; }
.pagination .page-numbers { padding: .5rem .85rem; border: 1px solid var(--hla-line); border-radius: 8px; text-decoration: none; }
.pagination .current { background: var(--hla-ink); color: #fff; border-color: var(--hla-ink); }
.notfound__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-weight: 600; }

/* ==========================================================================
   Squeeze page
   ========================================================================== */
.is-minimal { background: var(--hla-mist); }
.site-header--minimal { position: static; background: #fff; border-bottom: 1px solid var(--hla-line); }
.site-header--minimal .site-header__inner { min-height: 68px; justify-content: space-between; }
.help { display: flex; align-items: center; gap: 1.25rem; }
.help__link { color: var(--hla-ink); font-weight: 600; text-decoration: none; }
.help__phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--hla-ink); text-decoration: none; border: 1.5px solid var(--hla-line); border-radius: 999px; padding: .45rem .9rem; }
.help__phone .icon { color: var(--hla-blue); width: 18px; height: 18px; }
.squeeze { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.squeeze__assure { list-style: none; padding: 0; margin: 1.5rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; color: var(--hla-muted); font-size: .94rem; }
.squeeze__assure li { display: inline-flex; align-items: center; gap: .4rem; }
.squeeze__assure .icon { color: #1F7A4D; width: 18px; height: 18px; }
.squeeze__fallback { text-align: center; max-width: 34rem; margin: 0 auto; }
@media (max-width: 560px) { .help__link { display: none; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #0D2338; color: #B9C8D8; font-size: .95rem; }
.site-footer a { color: #DDE6F0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.site-footer__brand p { margin: 1rem 0 1.5rem; max-width: 22rem; }
.site-footer__h { font-size: 1rem; color: #fff; margin-bottom: 1rem; font-weight: 600; }
.site-footer__links, .site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.site-footer__contact .icon { color: var(--hla-amber); width: 18px; height: 18px; margin-top: .2rem; }
.site-footer .hours dd { color: #fff; }
.site-footer__disclosure { padding-bottom: 2.25rem; }
.site-footer__disclosure p, .site-footer__disclosure-text { font-size: .8rem; line-height: 1.6; color: #8EA3B8; margin: 0; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-block: 1.25rem; font-size: .86rem; }
.site-footer__copy { margin: 0; }
.site-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.eho { margin-left: auto; display: inline-flex; align-items: center; gap: .5rem; color: #DDE6F0; font-size: .8rem; }
.eho svg { width: 30px; height: 30px; }
.site-footer--minimal { background: transparent; color: var(--hla-muted); }
.site-footer--minimal a { color: var(--hla-ink); }
.site-footer--minimal .site-footer__disclosure-text { color: var(--hla-muted); border-top-color: var(--hla-line); }
.site-footer--minimal .site-footer__bottom-inner { padding-inline: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
	.split, .split--center, .calc__grid, .contact { grid-template-columns: 1fr; }
	.calc__results { position: static; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	.reasons, .cgrid, .step__goals { grid-template-columns: 1fr; }
	.step { padding-left: 4rem; }
	.step::before { width: 2.75rem; height: 2.75rem; font-size: 1.15rem; }
	.step::after { left: 1.35rem; top: 3rem; }
	.faq__a { padding-right: 0; }
	.compare__facts > div { grid-template-columns: 8rem 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
	.eho { margin-left: 0; }
	.btn-row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
	.topbar, .site-header, .site-footer, .cta-band, .calc-nav { display: none; }
}

/* ==========================================================================
   AEO · GEO · SXO
   ========================================================================== */
.updated { font-size: .88rem; color: var(--hla-muted); margin: -.4rem 0 .8rem; }
.aeo { padding: clamp(2.5rem, 5vw, 3.5rem) 0 0; }
.aeo__box { position: relative; max-width: 56rem; background: #fff; border: 1px solid var(--hla-line); border-left: 5px solid var(--hla-amber); border-radius: 0 var(--r) var(--r) 0; padding: 1.4rem 1.6rem 1.5rem; box-shadow: 0 18px 40px -34px rgba(18, 48, 77, .5); }
.aeo__badge { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hla-ink); background: var(--hla-amber-soft); border-radius: 999px; padding: .2rem .7rem; margin: 0 0 .7rem; }
.aeo__q { font-size: 1.3rem; margin-bottom: .45rem; }
.aeo__answer { margin: 0; font-size: 1.08rem; line-height: 1.65; }

.glossary { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1rem; }
.glossary__item { background: #fff; border: 1px solid var(--hla-line); border-radius: var(--r); padding: 1.15rem 1.25rem; scroll-margin-top: 140px; }
.glossary__item dt { font-family: var(--hla-font-head); font-weight: 600; color: var(--hla-ink); font-size: 1.06rem; margin-bottom: .35rem; }
.glossary__item dd { margin: 0; font-size: .97rem; }
.glossary__item:target { border-color: var(--hla-amber); box-shadow: 0 0 0 3px var(--hla-amber-soft); }

.extras__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.related__list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .8rem; }
.related__list a { display: grid; gap: .25rem; height: 100%; padding: 1rem 1.1rem; border: 1.5px solid var(--hla-line); border-radius: var(--r); text-decoration: none; transition: border-color .15s, background-color .15s; }
.related__list a:hover { border-color: var(--hla-blue); background: var(--hla-sky); }
.related__title { font-weight: 600; color: var(--hla-ink); }
.related__blurb { color: var(--hla-muted); font-size: .92rem; line-height: 1.45; }
.sources { background: var(--hla-mist); border-radius: var(--r); padding: 1.4rem 1.5rem; }
.sources .muted { font-size: .92rem; }
.sources__list { margin: 0; padding-left: 1.1rem; display: grid; gap: .5rem; }
.sources__list a { font-weight: 600; }

/* Barra fija de conversión en móvil (SXO) */
.mobile-cta { display: none; }
@media (max-width: 760px) {
	.mobile-cta { display: flex; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--hla-line); box-shadow: 0 -10px 30px -20px rgba(18, 48, 77, .5); transform: translateY(110%); transition: transform .25s; }
	.mobile-cta.is-visible { transform: none; }
	.mobile-cta .btn { flex: 1; min-height: 48px; }
	.mobile-cta .btn--ghost { flex: 0 0 auto; padding-inline: 1rem; }
	body:not(.is-minimal) .site-footer { padding-bottom: 76px; }
	.extras__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Capa corporativa (v1.4): héroes con foto, títulos con acento, bandas oscuras
   ========================================================================== */
.btn { letter-spacing: .01em; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn--outline-light:hover { background: #fff; color: var(--hla-ink); border-color: #fff; }

/* Encabezados con foto */
.banner { position: relative; isolation: isolate; overflow: hidden; background: var(--hla-ink); color: #fff; }
.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2; }
.banner__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 29, 48, .95) 0%, rgba(18, 48, 77, .86) 42%, rgba(18, 48, 77, .5) 100%); }
.banner--plain .banner__veil { background: linear-gradient(115deg, #0D2338 0%, #12304D 55%, #1C4670 100%); }
.banner__inner { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.banner--home .banner__inner { min-height: clamp(560px, 80vh, 740px); display: flex; flex-direction: column; justify-content: center; }
.banner__kicker { font-family: var(--hla-font-head); text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; font-weight: 600; color: var(--hla-amber); margin: 0 0 1rem; }
.banner__title { color: #fff; text-transform: uppercase; font-size: clamp(2.1rem, 1.1rem + 3.6vw, 3.9rem); line-height: 1.1; letter-spacing: .005em; font-weight: 700; max-width: 15ch; margin: 0 0 .5em; }
.banner__title--page { font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3rem); max-width: 24ch; }
.banner__intro { color: #D5E0EB; font-size: 1.12rem; max-width: 40rem; }
.banner .btn-row { margin-top: 2rem; }
.banner .crumbs, .banner .crumbs a { color: #B9C8D8; }
.banner .crumbs a:hover { color: #fff; }
.banner .updated { color: #8EA3B8; font-size: .86rem; margin: 1.75rem 0 0; }
.banner__trust { display: flex; gap: .55rem; align-items: center; color: #C9D6E4; font-size: .94rem; margin: 1.5rem 0 0; }
.banner__trust .icon { color: var(--hla-amber); }

/* Títulos de sección con acento en escuadra */
.sec-head { margin-bottom: 2.75rem; max-width: 46rem; }
.sec-head--center { text-align: center; margin-inline: auto; }
.sec-head__title, .h2 { position: relative; padding-top: 1.15rem; }
.sec-head__title { font-size: clamp(1.65rem, 1.2rem + 1.4vw, 2.25rem); letter-spacing: -.015em; margin-bottom: .35rem; }
.sec-head__title::before, .h2::before { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 9px; border: 4px solid var(--hla-amber); border-bottom: 0; }
.sec-head--center .sec-head__title::before { left: 50%; transform: translateX(-50%); }
.sec-head__sub { color: var(--hla-muted); font-size: 1rem; margin: 0; }
.section__head .lead { margin-top: .4rem; }

/* Tarjetas de objetivo */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.offer { background: var(--hla-mist); padding: 2.5rem 1.9rem 2rem; text-align: center; display: flex; flex-direction: column; align-items: center; border-top: 4px solid transparent; transition: border-color .2s, box-shadow .2s, transform .2s; }
.offer:hover { border-top-color: var(--hla-amber); box-shadow: 0 22px 44px -30px rgba(18, 48, 77, .55); transform: translateY(-3px); }
.offer__icon { width: 68px; height: 68px; border-radius: 50%; border: 2px solid var(--hla-amber); display: grid; place-items: center; margin-bottom: 1.25rem; }
.offer__icon .icon { width: 30px; height: 30px; color: var(--hla-amber-2); }
.offer__title { font-size: 1.25rem; margin-bottom: .35rem; }
.offer__lead { color: var(--hla-muted); margin-bottom: 1.1rem; }
.offer__list { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .4rem; font-weight: 500; font-size: .98rem; }
.offer__list li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--hla-amber); margin-right: .55rem; vertical-align: middle; }
.offer__btn { margin-top: auto; min-width: 180px; }
.offer--featured { background: var(--hla-ink); color: #C9D6E4; border-top-color: var(--hla-amber); }
.offer--featured .offer__title { color: #fff; }
.offer--featured .offer__lead { color: #B9C8D8; }
.offer--featured .offer__icon { background: var(--hla-amber); }
.offer--featured .offer__icon .icon { color: var(--hla-ink); }

/* Por qué nosotros */
.why__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.why__intro { color: var(--hla-text); margin-bottom: 2rem; max-width: 36rem; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2rem; margin-bottom: 2.25rem; }
.feat__icon { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--hla-amber); display: grid; place-items: center; margin-bottom: .85rem; transition: background-color .2s; }
.feat__icon .icon { width: 24px; height: 24px; color: var(--hla-amber-2); }
.feat:hover .feat__icon { background: var(--hla-amber); }
.feat:hover .feat__icon .icon { color: var(--hla-ink); }
.feat__title { font-size: 1.1rem; margin-bottom: .3rem; }
.feat__text { color: var(--hla-muted); font-size: .96rem; margin: 0; }
.frame { position: relative; padding: 0 0 30px 30px; }
.frame::before { content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 72%; border: 4px solid var(--hla-amber); z-index: 0; }
.frame__img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 9 / 7.6; object-fit: cover; }
.frame__img--empty { background: linear-gradient(135deg, var(--hla-ink-2), var(--hla-ink)); }
.frame__badge { position: absolute; z-index: 2; left: 0; bottom: 70px; margin: 0; background: var(--hla-ink); color: #fff; font-family: var(--hla-font-head); font-weight: 600; font-size: 1.3rem; line-height: 1.25; padding: 1.4rem 1.7rem; border: 6px solid #fff; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .5); }

/* Franja de cifras */
.stats { position: relative; isolation: isolate; overflow: hidden; background: var(--hla-ink); color: #fff; }
.stats__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.stats__veil { position: absolute; inset: 0; z-index: -1; background: rgba(13, 35, 56, .9); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-block: clamp(2.75rem, 5vw, 3.75rem); }
.stat { display: flex; gap: 1rem; align-items: center; }
.stat__icon .icon { width: 40px; height: 40px; color: var(--hla-amber); stroke-width: 1.5; }
.stat p { margin: 0; display: grid; }
.stat__num { font-family: var(--hla-font-head); font-size: 2.3rem; line-height: 1; font-weight: 700; color: #fff; }
.stat__label { color: #B9C8D8; font-size: .92rem; margin-top: .3rem; line-height: 1.35; }

/* Banda de cierre */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--hla-ink); color: #D5E0EB; text-align: center; }
.cta-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band__veil { position: absolute; inset: 0; z-index: -1; background: rgba(18, 48, 77, .9); }
.cta-band__inner { padding-block: clamp(3.75rem, 7vw, 5.5rem); max-width: 860px; }
.cta-band__title { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); font-weight: 600; letter-spacing: -.01em; margin-bottom: .6rem; }
.cta-band__text { font-size: 1.08rem; margin: 0 auto 1.9rem; max-width: 40rem; }
.cta-band__action { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: center; align-items: center; }
.cta-band__phone { display: inline-flex; gap: .45rem; align-items: center; color: #C9D6E4; font-weight: 600; }
.cta-band__phone .icon { color: var(--hla-amber); }
.cta-band__phone:hover { color: #fff; }

@media (max-width: 1000px) {
	.offers, .why__grid { grid-template-columns: 1fr; }
	.offers { max-width: 560px; margin-inline: auto; }
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.why__media { max-width: 560px; }
}
@media (max-width: 760px) {
	.banner__img { object-position: 62% center; }
	.banner__veil { background: linear-gradient(180deg, rgba(10, 29, 48, .9), rgba(18, 48, 77, .88)); }
	.banner--home .banner__inner { min-height: 0; }
	.feats { grid-template-columns: 1fr; }
	.stats__grid { grid-template-columns: 1fr; gap: 1.4rem; }
	.frame__badge { font-size: 1.15rem; padding: 1rem 1.2rem; bottom: 50px; }
}
.phero__title { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); line-height: 1.12; letter-spacing: -.02em; margin-bottom: .3em; }
.offers-sec { padding-bottom: clamp(2rem, 4vw, 3rem); }
.offers-sec + .aeo { padding-top: 0; }
.aeo + .why { padding-top: clamp(3rem, 6vw, 5rem); }

/* Selector de idioma */
.lang-switch { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--hla-font-head); font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.lang-switch a { text-decoration: none; padding: .15rem .3rem; border-radius: 3px; color: inherit; opacity: .7; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a[aria-current="true"] { opacity: 1; color: var(--hla-amber); }
.lang-switch span { opacity: .4; }
.topbar__lang { margin-left: auto; color: #DDE6F0; }
.topbar__lang + .topbar__mail { margin-left: 1.5rem; }
.nav__lang { display: none; color: var(--hla-ink); }
.nav__lang a[aria-current="true"] { color: var(--hla-amber-2); }
.help .lang-switch { color: var(--hla-ink); }
.help .lang-switch a[aria-current="true"] { color: var(--hla-amber-2); }
@media (max-width: 1179px) {
	.nav__lang { display: inline-flex; font-size: 1rem; padding: .5rem 0; }
}
@media (max-width: 760px) {
	.topbar__lang { display: inline-flex; }
}
/* Portátiles chicos: menú compacto para que quepa también en español */
@media (min-width: 1180px) and (max-width: 1279px) {
	.nav { gap: .7rem; }
	.nav__list a { padding-inline: .36rem; font-size: .855rem; }
	.nav__cta { padding-inline: 1rem; }
}
