@import url("home-redesign.css");
:root {
    color-scheme: dark;
    --bg: #121110;
    --surface: #1b1918;
    --surface-2: #242122;
    --line: #443e3b;
    --ink: #f5efe8;
    --muted: #c8beb6;
    --accent: #ed6b57;
    --accent-light: #ff8d7c;
    --accent-tint: #3a2523;
    --shadow-md: 0 10px 24px #0a070644;
    --max: 1280px;
    --mono: Consolas, "Courier New", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 "Segoe UI", system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .22em; }
img, svg, canvas, iframe { max-width: 100%; vertical-align: middle; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 5px; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
section { padding-block: clamp(46px, 7vw, 105px); }
.section-tight { padding-block: clamp(32px, 5vw, 64px); }
h1, h2, h3, p, ul, ol { margin-block-start: 0; }
h1, h2, h3 { line-height: 1.08; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.45rem, 5.6vw, 5.65rem); font-weight: 750; letter-spacing: -.085em; margin-bottom: 22px; }
h2 { font-size: clamp(1.65rem, 3.8vw, 3.35rem); letter-spacing: -.06em; margin-bottom: 20px; }
h3 { font-size: clamp(1.17rem, 2.3vw, 1.55rem); letter-spacing: -.026em; margin-bottom: 12px; }
p, li { overflow-wrap: break-word; }
p { margin-bottom: 1.1em; }
.lead { font-size: clamp(1.025rem, 1.9vw, 1.24rem); color: var(--muted); max-width: 52ch; }
.fineprint { color: var(--muted); font-size: .88rem; }
.kicker, .eyebrow, .diagram-label { font: 700 .8rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .095em; }
.eyebrow { color: var(--accent-light); margin-bottom: 24px; }
.button, button[type=submit] { display: inline-flex; gap: 9px; align-items: center; justify-content: center; min-height: 46px; padding: 9px 15px; border: 1px solid transparent; border-radius: 4px; text-decoration: none; font-weight: 730; color: #170e0d; background: var(--accent); white-space: nowrap; transition: background .17s ease, transform .17s ease; }
.button:hover, button[type=submit]:hover { background: var(--accent-light); transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.button-outline:hover { background: var(--accent-tint); }
.button svg, .text-link svg { width: 17px; height: 17px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--accent-light); font-weight: 650; }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 8px; transform: translateY(-180%); padding: 12px 18px; background: var(--accent-light); color: #170e0d; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-grid { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; flex: 0 1 174px; min-width: 0; }
.brand img { height: auto; display: block; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 12px; }
.nav-group { position: relative; }
.nav-group summary { list-style: none; display: flex; gap: 4px; align-items: center; padding: 11px 3px; font-weight: 620; font-size: .91rem; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary svg { width: 16px; height: 16px; }
.nav-group[open] summary svg { transform: rotate(180deg); }
.nav-group ul, .footer-grid ul { list-style: none; padding: 0; margin: 0; }
.nav-group ul { position: absolute; top: calc(100% + 3px); right: 0; padding: 7px; min-width: 268px; max-height: 64vh; overflow: auto; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; box-shadow: var(--shadow-md); animation: menu-open .16s ease both; }
.nav-group:first-child ul { right: auto; left: 0; }
.nav-group li a { display: block; padding: 9px 11px; border-radius: 4px; text-decoration: none; font-size: .91rem; }
.nav-group li a:is(:hover,[aria-current]) { background: var(--accent-tint); }
.nav-toggle { display: none; align-items: center; justify-content: center; padding: 9px; height: 44px; width: 44px; color: var(--ink); border: 1px solid var(--line); background: var(--surface); border-radius: 4px; }
.nav-toggle svg + svg, .nav-toggle[aria-expanded=true] svg:first-child { display: none; }
.nav-toggle[aria-expanded=true] svg + svg { display: block; }
@keyframes menu-open { from { opacity: .5; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.hero-home { overflow: clip; padding-block: 0; }
.hero-frame { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.hero-copy { padding: clamp(38px, 7.4vw, 104px) clamp(18px, 5vw, 72px) 48px 0; }
.hero-copy em { color: var(--accent); font-style: normal; display: block; }
.hero-copy .lead { margin-bottom: 24px; }
.market-country { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .87rem; padding-top: 23px; }
.market-country img { border-radius: 2px; }
.hero-data { min-width: 0; display: flex; flex-direction: column; justify-content: end; border-inline: 1px solid var(--line); position: relative; padding: 68px 21px 24px; background: #161413; }
.hero-visual { position: absolute; inset: 0 0 136px; overflow: clip; display: grid; align-items: center; pointer-events: none; }
.hero-visual img, .hero-visual canvas { width: 100%; height: auto; grid-area: 1/1; }
.hero-visual img { opacity: .95; }
.hero-visual canvas { height: 100%; width: 100%; }
.hero-figure-caption { align-self: flex-start; position: absolute; top: 17px; left: 20px; font: .75rem/1.4 var(--mono); color: var(--muted); }
.registration { width: min(100%, 460px); margin-inline: auto; z-index: 1; padding: clamp(15px, 3vw, 26px); }
.registration h2 { margin-bottom: 10px; font-size: clamp(1.25rem, 2.25vw, 1.75rem); letter-spacing: -.048em; }
.registration-status { margin-bottom: 7px; color: var(--muted); }
.registration .fineprint { margin: 12px 0 0; }
.registration :is(input,select) { max-width: 100%; }
.research-index { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; padding: 0; border: 1px solid var(--line); list-style: none; }
.research-index li + li { border-left: 1px solid var(--line); }
.research-index a { text-decoration: none; min-height: 69px; display: flex; justify-content: space-between; align-items: center; padding: 11px clamp(9px, 2vw, 22px); gap: 9px; font-weight: 620; }
.research-index a:hover { background: var(--surface-2); }
.research-index svg { color: var(--accent-light); flex-shrink: 0; width: 18px; }
.band { background-color: #161413; background-image: url("/assets/images/grid.svg"); border-block: 1px solid var(--line); }
.exchange-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 750px; }
.exchange-chip { height: 59px; display: grid; place-items: center; padding: 9px 12px; border: 1px solid #64748b; border-radius: 12px; background: #fff; }
.exchange-chip.dark { background: #0f172a; }
.exchange-chip img { height: 27px; width: auto; max-width: 100%; }
.section-split, .page-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(18px,6vw,80px); align-items: start; }
.panel, .card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-md); }
.card { padding: clamp(18px, 4vw, 36px); transition: transform .16s ease, border-color .16s ease; }
.card:hover { transform: translateY(-2px); border-color: #846052; }
.card p:last-child { margin-bottom: 0; }
.card svg, .icon-badge { color: var(--accent-light); }
.icon-badge { background: var(--accent-tint); display: inline-grid; place-items: center; padding: 8px; border-radius: 6px; margin-bottom: 16px; }
.step-list { list-style: none; padding: 0; margin: 0; counter-reset: steps; }
.step-list li { position: relative; padding: 16px 0 18px 49px; counter-increment: steps; border-top: 1px solid var(--line); }
.step-list li::before { content: counter(steps); position: absolute; left: 0; top: 16px; width: 31px; height: 31px; border-radius: 50%; color: var(--ink); background: var(--accent-tint); display: grid; place-items: center; font: 700 .82rem/1 var(--mono); }
.step-list li:last-child { border-bottom: 1px solid var(--line); }
.step-list h3 { margin-bottom: 6px; }
.step-list p { color: var(--muted); margin: 0; }
.card-grid, .reading-grid { display: grid; gap: 14px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.reading-grid .card:first-child { grid-column: 1/-1; }
.card-grid .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
table { border-collapse: collapse; width: 100%; min-width: 490px; background: var(--surface); }
th, td { border-bottom: 1px solid var(--line); text-align: left; padding: 13px 16px; vertical-align: top; }
thead { background: var(--surface-2); }
tbody tr:last-child > * { border-bottom: 0; }
td { color: var(--muted); }
.scenario { padding: clamp(19px,3.6vw,42px); }
.scenario label { display: block; font-weight: 650; }
.scenario input[type=number] { width: 100%; max-width: 310px; background: var(--bg); color: var(--ink); border: 1px solid #7b6b66; border-radius: 4px; padding: 8px 10px; margin-top: 5px; }
.scenario legend { margin: 15px 0 8px; font-weight: 650; }
.scenario fieldset { border: 0; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.scenario .choice { display: flex; align-items: center; gap: 4px; padding: 6px 8px; border: 1px solid #7b6b66; border-radius: 4px; }
.scenario input { accent-color: var(--accent); }
.scenario output { display: block; border-top: 1px solid var(--line); color: var(--accent-light); margin-top: 20px; padding-top: 14px; font: 700 clamp(1.2rem, 3vw, 1.95rem)/1.4 var(--mono); overflow-wrap: anywhere; }
.faq-list { max-width: 780px; margin-top: 25px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 15px 30px 15px 0; list-style-position: outside; margin-left: 20px; font-weight: 660; }
.faq-list details p { color: var(--muted); margin: 0; padding: 0 10px 17px 20px; }
.breadcrumb { color: var(--muted); display: flex; align-items: center; gap: 8px; padding-top: 18px; font-size: .88rem; }
.page-hero { padding-block: clamp(37px,6vw,75px); border-bottom: 1px solid var(--line); background: #171514 url("/assets/images/grid.svg"); }
.page-hero h1 { font-size: clamp(2.3rem,5.1vw,4.55rem); max-width: 18ch; }
.page-hero p:last-child { margin-bottom: 0; }
.page-hero .registration { margin-inline: 0; }
.prose { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.prose > article, .prose > div { max-width: 82ch; }
.prose > article, .prose > div, .section-split > *, .page-hero-grid > * { min-width: 0; }
.prose article > h2, .prose article > h3 { margin-top: 32px; }
.prose article > h2:first-child, .prose article > h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 23px; }
.prose a { color: var(--accent-light); }
.related { background: var(--surface-2); border-left: 3px solid var(--accent); padding: 16px 20px; }
.related a { color: var(--ink); }
.site-footer { border-top: 1px solid var(--line); padding: 39px 0 20px; background: #161413; }
.footer-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 19px; border-bottom: 1px solid var(--line); padding: 29px 0; margin-bottom: 18px; }
.footer-grid h2 { font-size: 1.04rem; letter-spacing: 0; margin-bottom: 9px; }
.footer-grid a { text-decoration: none; color: var(--muted); font-size: .9rem; display: inline-block; padding: 3px 0; overflow-wrap: anywhere; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-intro, .footer-signature { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.footer-intro > a:last-child { color: var(--muted); }
.footer-signature { border-top: 1px solid var(--line); padding: 10px 0 0; margin-bottom: 0; color: var(--muted); font: .78rem/1.5 var(--mono); }
@media (max-width: 940px) {
    .header-grid { flex-wrap: wrap; }
    .site-nav { gap: 8px; }
    .nav-group summary { font-size: .85rem; }
}
@media (max-width: 800px) {
    .header-grid { justify-content: space-between; min-height: 62px; gap: 8px; padding-block: 8px; }
    .header-grid .brand { max-width: 165px; }
    .js .nav-toggle { display: inline-flex; order: 2; }
    .header-action { order: 1; min-height: 44px; font-size: .87rem; margin-left: auto; }
    .header-action svg { display: none; }
    .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; order: 3; padding-bottom: 12px; }
    .js .site-nav { display: none; }
    .js .site-nav.is-open { display: flex; animation: menu-open .16s ease both; }
    .nav-group ul { position: static; min-width: 0; max-height: 48vh; }
    .nav-group summary { justify-content: space-between; padding-inline: 8px; border-top: 1px solid var(--line); }
    .hero-frame { grid-template-columns: minmax(0,1fr); }
    .hero-copy { padding: 40px 0 25px; }
    .hero-data { min-height: 270px; padding: 66px 12px 13px; }
    .hero-visual { inset: 0 0 35px; }
    .hero-visual canvas { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .header-grid .brand { flex-basis: min(34vw, 150px); }
    .header-action { padding: 6px 8px; }
    .section-split, .page-hero-grid, .card-grid, .reading-grid { grid-template-columns: minmax(0,1fr); }
    .research-index { grid-template-columns: minmax(0,1fr); }
    .research-index li + li { border-left: none; border-top: 1px solid var(--line); }
    .research-index a { min-height: 48px; }
    .exchange-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-grid { gap: 22px 10px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---- v2 visual polish layer ---- */
.prose article > section + section, .prose article > h2 + * { border-color: #3a3431; }
.prose article > section { padding-block: 1.5rem; }
.prose article > section:nth-of-type(even) { background: #161413; border-radius: 8px; padding-inline: 1.1rem; margin-inline: -1.1rem; }
.prose article > h2 { border-left: 3px solid var(--accent); padding-left: .8rem; }
.table-wrap table tbody tr:nth-child(even) { background: #1d1b1a; }
.table-wrap th, .table-wrap td { padding: .8rem .65rem; }
.table-wrap { border: 1px solid var(--line); border-radius: 8px; }
.table-wrap table { border: 0; }
.faq-list details { border-left: 2px solid transparent; transition: border-color .25s, background .25s; }
.faq-list details[open] { border-left-color: var(--accent); background: #1a1817; }
.faq-list summary { position: relative; padding-right: 2.4rem; min-height: 52px; display: flex; align-items: center; }
.faq-list summary::after { content: ''; position: absolute; right: .6rem; width: .5rem; height: .5rem; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(225deg); }
.faq-list summary:hover { color: var(--accent-light); }
.panel, .card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px #0a070677; border-color: #5a524e; }
.button, button[type=submit] { transition: transform .18s ease, box-shadow .18s ease, background .18s; }
.button:hover, button[type=submit]:hover { transform: translateY(-1px); box-shadow: 0 12px 26px #ed6b5733; }
.page-hero-grid .form-block, .page-hero-grid form { background: #1a1817; border: 1px solid #3c3634; border-radius: 10px; padding: 1.2rem; box-shadow: var(--shadow-md); }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.kicker, .eyebrow, .diagram-label { letter-spacing: .12em; }
.footer-links a:hover { color: var(--accent-light); }
html.js .reveal { opacity: 0; transform: translateY(14px); }
html.js .reveal.in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 767px) {
  .prose article > section:nth-of-type(even) { padding-inline: .8rem; margin-inline: -.8rem; }
  .page-hero-grid .form-block, .page-hero-grid form { padding: .9rem; }
}

/* ---- v3 local fonts + checklist blocks layer (Cryptexa brutalist telemetry) ---- */
@font-face {
    font-family: 'Archivo';
    src: url('/assets/fonts/archivo-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Archivo';
    src: url('/assets/fonts/archivo-latin-600-normal.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Archivo';
    src: url('/assets/fonts/archivo-latin-700-normal.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: url('/assets/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: url('/assets/fonts/jetbrains-mono-latin-700-normal.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root { --mono: "JetBrains Mono", Consolas, "Courier New", monospace; }
body { font-family: Archivo, "Segoe UI", system-ui, sans-serif; }

/* form block details (checklist: encabezado + línea del gestor bajo el formulario) */
.registration-intro { color: var(--muted); margin: -4px 0 12px; }
.registration-manager { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; color: var(--accent-light); font: 600 .88rem/1.5 var(--mono); }
.registration-manager svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }

/* calculadora del módulo dentro del ancho del sitio */
#calculadora .calc-widget { margin-block: 10px; }
#calculadora > .container > .lead { margin-bottom: 26px; }

/* tabla comparativa (✓ / ✗) */
.compare-table td svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; }
.compare-table .is-yes { color: #7dd6a5; font-weight: 650; }
.compare-table .is-no { color: #f08c7d; font-weight: 650; }
.compare-table thead th:nth-child(2) { color: #7dd6a5; }
.compare-table thead th:nth-child(3) { color: var(--muted); }

/* bloque de reseñas */
.reviews-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); margin-block: 26px; }
.review-card { display: flex; flex-direction: column; }
.review-head { display: flex; align-items: center; gap: 13px; margin-bottom: 13px; }
.review-head img { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line); object-fit: cover; flex-shrink: 0; }
.review-head h3 { margin: 0; font-size: 1.02rem; }
.review-role { margin: 0; color: var(--muted); font: .78rem/1.4 var(--mono); }
.review-card > p { color: var(--muted); flex-grow: 1; }
.review-data { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 15px 0 0; padding-top: 13px; border-top: 1px dashed var(--line); }
.review-data dt { font: 700 .68rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.review-data dd { margin: 3px 0 0; color: var(--ink); font: 700 .92rem/1.35 var(--mono); overflow-wrap: anywhere; }

/* bloque de compañía (datos + tarjetas) */
.company-facts { list-style: none; padding: 0; margin: 4px 0 0; }
.company-facts li { display: flex; gap: 10px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); color: var(--muted); }
.company-facts li + li { border-top: 1px solid var(--line); }
.company-facts svg { width: 17px; height: 17px; color: var(--accent-light); flex-shrink: 0; margin-top: 3px; }
.company-facts strong { color: var(--ink); }

/* mapa de la oficina (contacto) */
.map-embed { margin-block: 26px; max-width: 100%; aspect-ratio: 16 / 9; min-height: 320px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-md); background: var(--surface-2); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* franja de urgencia + modal de /special-offer/ */
.urgency-strip { background: var(--accent); color: #170e0d; }
.urgency-strip ul { display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: center; margin: 0; padding: 9px 16px; list-style: none; font: 700 .78rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.offer-hero { border-bottom: 1px solid var(--line); background: #171514 url("/assets/images/grid.svg"); }
.offer-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 7px 13px; border: 1px solid var(--accent); border-radius: 4px; color: var(--accent-light); font: 700 .8rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.cta-band { background: var(--accent); color: #170e0d; border-block: 1px solid var(--accent-light); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 34px; }
.cta-band h2 { color: #170e0d; margin: 0 0 6px; }
.cta-band p { color: #2e1411; margin: 0; max-width: 58ch; }
.cta-band .button { background: #170e0d; color: var(--ink); border-color: #170e0d; }
.cta-band .button:hover { background: #000; box-shadow: 0 12px 26px #00000033; }
.exit-modal { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; padding: 18px; background: #0a0706cc; }
.exit-modal.is-open { display: flex; }
.exit-modal__card { position: relative; width: min(100%, 470px); max-height: 90vh; overflow: auto; background: var(--surface); border: 1px solid var(--accent); border-radius: 8px; box-shadow: 0 24px 60px #0a070699; padding: 28px 24px 24px; text-align: center; }
.exit-modal__close { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-2); color: var(--ink); }
.exit-modal__close:hover { border-color: var(--accent); color: var(--accent-light); }
.exit-modal__art { margin: 0 auto 16px; width: 150px; height: auto; color: var(--accent-light); }
.exit-modal h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.exit-modal p { color: var(--muted); }
.countdown { display: flex; justify-content: center; gap: 8px; margin: 18px 0 20px; }
.countdown span { min-width: 64px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); font: 700 1.75rem/1.2 var(--mono); color: var(--accent-light); }
.countdown small { display: block; margin-top: 4px; font: 400 .62rem/1 var(--mono); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
@media (max-width: 560px) { .countdown span { min-width: 54px; font-size: 1.35rem; } }

/* vacantes (carreras) e historia (quiénes somos) */
.vacancy-list { display: grid; gap: 14px; margin-block: 26px; }
.vacancy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.vacancy > div { flex: 1 1 380px; min-width: 0; }
.vacancy h3 { margin-bottom: 4px; }
.vacancy .fineprint { color: var(--accent-light); font: 700 .74rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; }
.vacancy p:last-child { margin-bottom: 0; }
.vacancy .button { flex: 0 0 auto; }
.history-list { list-style: none; padding: 0; margin: 8px 0 0; counter-reset: history; }
.history-list li { position: relative; padding: 18px 0 18px 66px; border-top: 1px solid var(--line); }
.history-list li::before { counter-increment: history; content: counter(history, decimal-leading-zero); position: absolute; left: 0; top: 20px; font: 700 .95rem/1 var(--mono); color: var(--accent-light); }
.history-list h3 { margin-bottom: 7px; }
.history-list p { color: var(--muted); margin: 0; }
@media (max-width: 700px) { .vacancy { flex-direction: column; align-items: flex-start; } }

/* ajuste ≤359px para que el widget del módulo calculadora no desborde a 320 px
   (sobrescrito desde la capa del sitio; los archivos del módulo no se tocan) */
@media (max-width: 359px) {
    #calculadora .calc-widget { padding-inline: 6px; }
    #calculadora .calc-widget__result { padding: 14px 10px; }
    #calculadora .calc-widget__stats { gap: 6px; }
    #calculadora .calc-widget__stat-value { font-size: 1.1rem; }
    #calculadora .calc-widget__stat-label { font-size: .9rem; margin-bottom: .25rem; }
}

/* contraste AA de los campos del formulario inyectado (capa del sitio;
   los archivos del beacon no se tocan) */
.registration input, .registration select {
    color: var(--ink);
    background-color: #100e0e;
}
.registration input::placeholder, .registration textarea::placeholder {
    color: #a89e96;
    opacity: 1;
}

/* contraste AA del botón de envío del formulario inyectado (texto oscuro sobre
   acento coral; !important gana al estilo en línea del kit) */
input[type=submit] { color: #170e0d !important; font-weight: 730; }

/* Shared ticker dimensions and phone-prefix contrast. */
.tv-ticker-wrapper {
  padding-top: 0 !important;
  height: 58px !important;
}

.iti__selected-country,
.iti__selected-dial-code {
  color: rgb(24, 33, 47) !important;
}
