/* NoveltyLanding.css — shared base of the four novelty landings (web/novelty/*): tokens, layout, the action block,
   the account bar, the interest band, trust, FAQ, articles, the "También en Umáximo" band and the demo frame.
   Everything is scoped to main.nl-page. Text colours are the contrast-checked ones of /evaluaciones: the theme's
   greys fail on white. Contract: docs/admin-marketing/NOVELTY-LANDINGS.md. */
.nl-page{
  --nl-ink:#1A2333;
  --nl-text:#3D4A5F;
  --nl-muted:#52617A;
  --nl-link:#0B7565;
  --nl-purple:#8754A1;
  --nl-purple-ink:#6F4188;
  --nl-band:linear-gradient(135deg,#6F4188,#4E2F66);
  --nl-bg:#F4F6F8;
  --nl-line:#E3E8EF;
  --nl-focus:#0B826A;
  --nl-radius:16px;
  --nl-radius-l:24px;
  --nl-shadow-card:0 1px 2px rgba(26,35,51,.06),0 12px 32px -14px rgba(26,35,51,.22);
  --nl-bar-height:56px;
  display:block;background:#fff;color:var(--nl-text);font:400 1rem/1.6 Nunito,"Nunito Metric Arial","Nunito Metric Helvetica",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;overflow-x:clip
}
.nl-page *,.nl-page *::before,.nl-page *::after{box-sizing:border-box}
.nl-page [hidden]{display:none!important}
.nl-page:focus,.nl-page [tabindex="-1"]:focus{outline:none}
.nl-page h1,.nl-page h2,.nl-page h3{color:var(--nl-ink);margin:0;font-weight:900;letter-spacing:-.01em}
/* With large text (200%) a long word wraps inside its column instead of widening the page. */
.nl-page h1,.nl-page h2,.nl-page h3,.nl-page h4,.nl-page h5,.nl-page h6{overflow-wrap:break-word}
.nl-page p{margin:0}
.nl-page a{color:var(--nl-link);text-underline-offset:3px}
.nl-page a:hover{color:#085A4E}
.nl-page :focus-visible{outline:3px solid var(--nl-focus);outline-offset:3px;border-radius:6px}
.nl-page .nl-container{width:100%;max-width:1160px;margin:0 auto;padding:0 20px}
.nl-page .nl-narrow{max-width:800px}
.nl-page .nl-section{padding:64px 0}
.nl-page .nl-section-alt{background:var(--nl-bg)}
.nl-page .nl-section-head{max-width:720px;margin:0 auto 40px;text-align:center}
.nl-page .nl-section-head p:not(.nl-eyebrow){margin-top:12px;font-size:1.0625rem}
.nl-page .nl-section-title,.nl-page .nl-section-head h2{font-size:clamp(1.75rem,1.3rem + 1.9vw,2.5rem);line-height:1.15}
.nl-page .nl-narrow > .nl-section-title{text-align:center;margin-bottom:32px}
/* Antetítulos: sentence case in the HTML, capitals by CSS (playbook and ESCRITURA exception). */
.nl-page .nl-eyebrow{margin-bottom:12px;font-size:.8125rem;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:var(--nl-purple-ink)}
@media (min-width:992px){.nl-page .nl-section{padding:96px 0}}
@media (prefers-reduced-motion:reduce){.nl-page *{transition:none!important;animation:none!important}}

/* Buttons */
.nl-page .nl-btn{display:inline-flex;align-items:center;justify-content:center;min-height:56px;max-width:100%;padding:12px 28px;border:0;border-radius:999px;
  font:800 1.0625rem/1.25 Nunito,Arial,sans-serif;text-align:center;text-decoration:none;cursor:pointer;transition:background .15s,transform .15s}
.nl-page .nl-btn-primary{background:var(--nl-purple);color:#fff;box-shadow:0 10px 22px -10px rgba(135,84,161,.7)}
.nl-page .nl-btn-primary:hover{background:var(--nl-purple-ink);color:#fff}
.nl-page .nl-btn-primary:active{transform:translateY(1px)}
.nl-page .nl-btn-sm{min-height:44px;padding:8px 20px;font-size:.875rem}

/* Action block */
.nl-page .nl-action{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:28px}
.nl-page .nl-action-note{font-size:.9375rem;color:var(--nl-muted)}
.nl-page .nl-action-account{font-size:1rem;color:var(--nl-text)}
.nl-page .nl-action-account a{font-weight:800}
/* Near 320 px the line fits in one row with one font and not with another, so loading Nunito would move what
   follows: on narrow screens the question and the link always take a row each. */
@media (max-width:399.98px){.nl-page .nl-action-account span{display:block}}
.nl-page .nl-action.is-dark{align-items:center}
.nl-page .nl-action.is-dark .nl-btn-primary{background:#fff;color:var(--nl-ink);box-shadow:none}
.nl-page .nl-action.is-dark .nl-btn-primary:hover{background:#F1EAF6}
.nl-page .nl-action.is-dark .nl-action-note,.nl-page .nl-action.is-dark .nl-action-account,.nl-page .nl-action.is-dark a:not(.nl-btn){color:#fff}
.nl-page .nl-action.is-dark :focus-visible{outline-color:#fff}
@media (max-width:767.98px){.nl-page .nl-action{align-items:stretch}.nl-page .nl-action .nl-btn{width:100%}}

/* Hero */
.nl-page .nl-hero{position:relative;background:var(--nl-bg);padding:24px 0 56px}
.nl-page .nl-hero-grid{display:grid;gap:48px;align-items:center}
.nl-page .nl-hero h1{font-size:clamp(2rem,1.35rem + 3vw,3.25rem);line-height:1.08;max-width:20ch}
.nl-page .nl-hero h1 em{font-style:normal;color:var(--nl-link)}
.nl-page .nl-hero-lead{margin-top:16px;font-size:clamp(1.0625rem,1rem + .35vw,1.25rem);line-height:1.55;max-width:34em}
.nl-page .nl-hero-visual{display:none}
@media (min-width:992px){
.nl-page .nl-hero{padding:48px 0 96px}
.nl-page .nl-hero-grid{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:64px}
.nl-page .nl-hero-visual{display:block;position:relative}
}

/* Account bar: fixed over the whole page (footer included), or sticky inside its parent with .is-scoped. */
.nl-page .nl-account-bar{position:relative;z-index:1020;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  min-height:var(--nl-bar-height);padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--nl-line);
  box-shadow:0 -6px 18px -10px rgba(26,35,51,.25);font-size:15px;line-height:1.3;color:var(--nl-ink);text-align:center}
/* Without JavaScript the bar sits in the flow at the end of its container and covers nothing, whatever the text size.
   The piece's script makes it live: fixed over the page (or sticky in its parent with .is-scoped), with the reserve
   below measured on the bar itself. */
.nl-page .nl-account-bar.is-live{position:fixed;left:0;right:0;bottom:0}
.nl-page .nl-account-bar.is-live.is-scoped{position:-webkit-sticky;position:sticky;left:auto;right:auto}
/* One line at the usual size; with enlarged text it wraps between its two halves, never inside one. */
.nl-page .nl-account-bar p{max-width:100%}
.nl-page .nl-account-bar p > *{white-space:nowrap}
/* The link is the only tappable part of the bar: it gets the full 44 px target. */
.nl-page .nl-account-bar a:not(.nl-btn){font-weight:800;display:inline-flex;align-items:center;min-height:44px}
.nl-page .nl-account-bar.has-button .nl-btn{width:100%;white-space:normal}
@media (min-width:768px){.nl-page .nl-account-bar.is-md{display:none}}
@media (min-width:992px){.nl-page .nl-account-bar.is-lg{display:none}}
/* While the live bar shows, --nl-bar-reserve is the height it takes at the bottom of the screen. Google's reCAPTCHA
   badge, which the contact form loads once the visitor starts typing, rises above it (it never follows the
   Mexico cookie notice, which stacks over both by itself) and adds its own height (--nl-badge-reserve, and
   --nl-badge-top for where its top lands, also while a scoped bar is off screen). The end of the page and the
   scroll margin keep the larger of that space and the notice's (--mx-cookie-height, which already includes what
   it stacks over), so no link, focused element or piece sits under another. */
@media (max-width:991.98px){html:has(.nl-account-bar.is-live.is-lg){--nl-bar-reserve:64px}}
@media (max-width:767.98px){
html:has(.nl-account-bar.is-live){--nl-bar-reserve:64px}
html:has(.nl-account-bar.is-live.has-button){--nl-bar-reserve:120px}
}
@media (max-width:991.98px){
html:has(.nl-account-bar.is-live.is-lg):has(.grecaptcha-badge){--nl-badge-reserve:74px;--nl-badge-top:calc(var(--nl-bar-reserve,0px) + 74px)}
html:has(.nl-account-bar.is-live.is-lg){scroll-padding-bottom:calc(max(var(--nl-bar-reserve,0px) + var(--nl-badge-reserve,0px), var(--mx-cookie-height,0px)) + 8px + env(safe-area-inset-bottom))}
body:has(.nl-account-bar.is-live.is-lg){padding-bottom:max(var(--nl-badge-top,0px), var(--mx-cookie-height,0px))}
body:has(.nl-account-bar.is-live.is-lg:not(.is-scoped)){padding-bottom:calc(max(var(--nl-bar-reserve,0px) + var(--nl-badge-reserve,0px), var(--mx-cookie-height,0px)) + env(safe-area-inset-bottom))}
html:has(.nl-account-bar.is-live.is-lg) .grecaptcha-badge{bottom:calc(var(--nl-bar-reserve,0px) + 14px + env(safe-area-inset-bottom))!important}
}
@media (max-width:767.98px){
html:has(.nl-account-bar.is-live):has(.grecaptcha-badge){--nl-badge-reserve:74px;--nl-badge-top:calc(var(--nl-bar-reserve,0px) + 74px)}
html:has(.nl-account-bar.is-live){scroll-padding-bottom:calc(max(var(--nl-bar-reserve,0px) + var(--nl-badge-reserve,0px), var(--mx-cookie-height,0px)) + 8px + env(safe-area-inset-bottom))}
body:has(.nl-account-bar.is-live){padding-bottom:max(var(--nl-badge-top,0px), var(--mx-cookie-height,0px))}
body:has(.nl-account-bar.is-live:not(.is-scoped)){padding-bottom:calc(max(var(--nl-bar-reserve,0px) + var(--nl-badge-reserve,0px), var(--mx-cookie-height,0px)) + env(safe-area-inset-bottom))}
html:has(.nl-account-bar.is-live) .grecaptcha-badge{bottom:calc(var(--nl-bar-reserve,0px) + 14px + env(safe-area-inset-bottom))!important}
}

/* While a demo stage is modal (a panel open or presenting, NoveltyStage.js marks <html>), the bar steps aside: it
   would cover a bottom sheet, and its scroll margin would scroll the locked page to a control focused in a panel. */
html[data-nl-stage-modal]{scroll-padding-bottom:0!important}
html[data-nl-stage-modal] .nl-page .nl-account-bar{visibility:hidden}

/* Without :has() the reserve cannot follow the bar, so a browser that lacks it keeps the tallest bar's and the
   badge's space below 768 px (this sheet loads only on these pages): nothing ends up covered, at some extra room. */
@supports not selector(:has(a)){
@media (max-width:767.98px){
html{scroll-padding-bottom:calc(202px + env(safe-area-inset-bottom))}
body{padding-bottom:calc(194px + env(safe-area-inset-bottom))}
.grecaptcha-badge{bottom:calc(134px + env(safe-area-inset-bottom))!important}
}
}

/* Interest band */
.nl-page .nl-interest{background:var(--nl-band);color:#fff;padding:64px 0;scroll-margin-top:0}
.nl-page .nl-interest-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:32px;align-items:start}
.nl-page .nl-interest h2{color:#fff;font-size:clamp(1.75rem,1.3rem + 1.9vw,2.5rem);line-height:1.15}
/* With large text a long word wraps inside its column instead of widening the page. */
.nl-page .nl-interest h2,.nl-page .nl-interest-text,.nl-page .nl-faq .faq-question,.nl-page .nl-faq .faq-question-text{overflow-wrap:anywhere}
.nl-page .nl-interest .nl-eyebrow{color:#fff}
.nl-page .nl-interest-text{margin-top:16px;font-size:1.125rem;color:#fff;max-width:30em}
.nl-page .nl-interest-card{background:#fff;color:var(--nl-text);border-radius:var(--nl-radius-l);padding:28px 20px;box-shadow:0 30px 60px -24px rgba(0,0,0,.45)}
.nl-page .nl-account-line{margin-top:8px;font-size:.9375rem;color:var(--nl-text);text-align:center}
.nl-page .nl-account-line a{font-weight:800}
/* The shared form's default label grey (#8898AA) fails 4.5:1 on white; corrected inside the card, as /evaluaciones does. */
.nl-page .nl-interest-card .cf-label{color:var(--nl-muted)}
.nl-page .nl-interest-card .cf-input{border-color:#7D8BA0;color:var(--nl-ink)}
.nl-page .nl-interest-card .cf-input:focus ~ .cf-label{color:var(--nl-purple-ink)}
.nl-page .nl-interest-card .cf-field.is-invalid .cf-label,.nl-page .nl-interest-card .cf-error{color:#C4361C}
@media (min-width:992px){
.nl-page .nl-interest{padding:96px 0}
.nl-page .nl-interest-grid{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:64px;align-items:center}
.nl-page .nl-interest-card{padding:36px 36px 28px}
}

/* Trust */
.nl-page .nl-trust{text-align:center;max-width:920px}
.nl-page .nl-trust h2{font-size:clamp(1.75rem,1.3rem + 1.9vw,2.5rem);line-height:1.15}
.nl-page .nl-certs{margin-top:20px;display:flex;flex-direction:column;align-items:center;gap:24px}
.nl-page .nl-certs-text{font-size:1.0625rem;max-width:40em}
.nl-page .nl-trust-scale{margin-top:-8px;font-weight:800;color:var(--nl-ink)}

/* FAQ: faq.css draws the items. */
.nl-page .nl-faq .faq-question{min-height:48px}
.nl-page .nl-faq .faq-answer a{font-weight:700}

/* Related articles. The cover box is 3:2 whatever the image's own size, so the cards line up and a cover that
   loads late never moves the page. The title's link covers the card, and the card shows its focus. */
.nl-page .nl-posts{list-style:none;margin:0;padding:0;display:grid;gap:24px}
.nl-page .nl-post{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--nl-line);border-radius:var(--nl-radius);overflow:hidden;box-shadow:var(--nl-shadow-card)}
.nl-page .nl-post-cover{display:block;aspect-ratio:3/2;overflow:hidden;background:var(--nl-line)}
.nl-page .nl-post-cover picture,.nl-page .nl-post-cover img{display:block;width:100%;height:100%}
.nl-page .nl-post-cover img{object-fit:cover}
.nl-page .nl-post-body{padding:16px 20px 20px}
.nl-page .nl-post h3{margin:0;font-size:1.125rem;line-height:1.35;font-weight:800;overflow-wrap:break-word}
.nl-page .nl-post h3 a{color:var(--nl-ink);text-decoration:none}
.nl-page .nl-post h3 a::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}
.nl-page .nl-post:hover h3 a{text-decoration:underline}
@supports selector(:has(a)){.nl-page .nl-post:has(h3 a:focus-visible){outline:3px solid var(--nl-focus);outline-offset:3px}.nl-page .nl-post h3 a:focus-visible{outline:none}}
.nl-page .nl-post-date{margin:8px 0 0;font-size:.9375rem;color:var(--nl-muted)}
@media (min-width:768px){.nl-page .nl-posts{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* "También en Umáximo" */
.nl-page .nl-others{padding:32px 20px;text-align:center}
.nl-page .nl-others-title{font-size:.875rem;font-weight:700;color:var(--nl-muted)}
.nl-page .nl-others ul{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;align-items:center;gap:0}
.nl-page .nl-others a{display:inline-flex;align-items:center;min-height:44px;font-weight:800}
.nl-page .nl-others.is-dark{padding:32px 0 0}
.nl-page .nl-others.is-dark .nl-others-title,.nl-page .nl-others.is-dark a{color:#fff}
.nl-page .nl-others.is-dark :focus-visible{outline-color:#fff}
@media (min-width:768px){.nl-page .nl-others ul{flex-direction:row;justify-content:center;flex-wrap:wrap;column-gap:32px}}

/* Closing band */
.nl-page .nl-closing{background:var(--nl-band);color:#fff;text-align:center;padding:64px 0}
.nl-page .nl-closing h2{color:#fff;font-size:clamp(1.75rem,1.3rem + 1.9vw,2.5rem);line-height:1.15}
.nl-page .nl-closing p{color:#fff}

/* Demo frame */
.nl-page .nl-demo{position:relative;background:#fff;border:1px solid var(--nl-line);border-radius:var(--nl-radius-l);padding:20px;box-shadow:var(--nl-shadow-card)}
.nl-page .nl-demo-label{font-size:.875rem;font-weight:700;color:var(--nl-muted)}
.nl-page .nl-demo > .nl-demo-label:first-child{margin-bottom:16px}
.nl-page .nl-demo > .nl-demo-label:last-child{margin-top:16px}
@media (min-width:992px){.nl-page .nl-demo{padding:32px}}
