:root { --ink: #10151b; --paper: #f4f7f8; --line: #d7e0e3; --blue: #0284c7; --blue-text: #0369a1; --blue-light: #7dd3fc; --green: #10b981; --gold: #ffb21d; --white: #fff; --muted: #5e6c73; }
/* --blue queda para bordes y estados (decorativo). Para TEXTO usar --blue-text sobre
   fondo claro y --blue-light sobre fondo oscuro: #0284c7 solo alcanza 4.1:1 sobre blanco
   y no cumple el minimo AA de 4.5:1. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Outfit, Arial, sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 max(20px, calc((100% - 1180px) / 2)); background: var(--ink); color: var(--white); }
.brand img { display: block; width: 132px; height: auto; filter: brightness(0) invert(1); }
nav { display: flex; gap: 28px; font-size: .94rem; font-weight: 600; }
nav a:hover, .text-link:hover { color: var(--blue-light); }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; border-radius: 6px; font-weight: 700; cursor: pointer; }
.header-action, .primary { background: var(--gold); color: #1d1b17; }
.secondary { border-color: rgba(255,255,255,.55); color: var(--white); background: rgba(16,21,27,.45); }
.hero { position: relative; min-height: 650px; display: flex; align-items: center; color: var(--white); background: url("assets/hero-centralita.webp") center right / cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: rgba(5, 13, 23, .6); }
.hero-content { position: relative; max-width: 640px; padding: 108px 0 92px; }
.eyebrow { margin: 0 0 12px; color: var(--blue-text); font-size: .9rem; font-weight: 800; }
.hero .eyebrow, .selector-result .eyebrow { color: var(--blue-light); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 620px; margin-bottom: 22px; font-size: 4rem; line-height: 1.04; }
h2 { margin-bottom: 14px; font-size: 2.4rem; line-height: 1.12; }
.hero-content > p:not(.eyebrow) { max-width: 560px; margin-bottom: 28px; font-size: 1.14rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 0; margin: 28px 0 0; list-style: none; font-size: .9rem; font-weight: 600; }
.trust-list li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--green); }
.section { padding: 88px 0; }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.section-heading > p:not(.eyebrow) { color: var(--muted); }
.sectors { background: var(--white); }
.selector-progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.selector-progress span { padding: 12px 16px; border-right: 1px solid var(--line); color: var(--muted); font-size: .84rem; font-weight: 800; text-align: center; }
.selector-progress span:last-child { border-right: 0; }
.selector-progress span.is-active { color: #064e3b; background: #d1fae5; }
.selector-progress span[aria-current="step"] { color: #052e25; background: var(--green); }
.selector-step:focus-visible, .selector-result:focus-visible { outline: 3px solid rgba(2,132,199,.35); outline-offset: 6px; }
.sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sector-card { position: relative; overflow: hidden; width: 100%; padding: 0; border: 2px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--white); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.sector-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.sector-card:focus-visible, .service-choice:focus-visible { outline: 3px solid rgba(2,132,199,.3); outline-offset: 3px; }
.sector-card.is-selected { border-color: var(--green); box-shadow: 0 0 0 3px rgba(16,185,129,.16); }
.sector-card img { display: block; width: 100%; height: 250px; object-fit: cover; }
.sector-card-content { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; }
.sector-label { margin: 0; color: var(--ink); font-size: 1.08rem; font-weight: 800; }
.choice-action { color: var(--blue-text); font-size: .82rem; font-weight: 800; }
.choice-check { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--white); border-radius: 50%; opacity: 0; color: #05312a; background: var(--green); box-shadow: 0 4px 12px rgba(5,13,23,.24); font-weight: 800; transform: scale(.8); transition: opacity .2s ease, transform .2s ease; }
.sector-card.is-selected .choice-check { opacity: 1; transform: scale(1); }
.text-link { display: inline-block; color: var(--ink); font-weight: 800; }
.text-link::after { content: " →"; color: var(--blue); }
.selector-step { margin-top: 58px; padding-top: 58px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.selector-scroll-runway { height: 0; pointer-events: none; }
.selector-step:focus, .selector-result:focus { outline: none; }
.selector-heading { margin-bottom: 26px; }
.service-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-choice { position: relative; display: grid; min-height: 220px; align-content: start; gap: 14px; padding: 26px; border: 2px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--white); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.service-choice:hover { border-color: var(--blue); transform: translateY(-2px); }
.service-choice.is-selected { border-color: var(--green); box-shadow: 0 0 0 3px rgba(16,185,129,.16); }
.service-choice > span:not(.service-name):not(.service-badge):not(.choice-action) { color: var(--muted); }
.service-name { font-size: 1.3rem; font-weight: 800; }
.service-choice .choice-action { align-self: end; margin-top: auto; }
.service-badge { width: fit-content; padding: 5px 8px; color: #1d1b17; background: var(--gold); font-size: .72rem; font-weight: 800; }
.selector-result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 380px); gap: 44px; align-items: center; margin-top: 38px; padding: 38px; border-radius: 6px; color: var(--white); background: var(--ink); scroll-margin-top: 90px; }
.selector-result[hidden], .selector-step[hidden] { display: none; }
.selector-result h2 { max-width: 680px; }
.selector-result p:not(.eyebrow) { max-width: 680px; color: #d8e1e5; }
.result-benefits { display: grid; gap: 8px; padding: 0; margin: 22px 0 0; list-style: none; }
.result-benefits li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--green); }
.result-action { display: grid; gap: 12px; }
.result-cta { display: grid; grid-template-columns: minmax(0, 1fr) 52px; grid-template-rows: auto auto; gap: 4px 18px; min-height: 126px; justify-content: stretch; padding: 22px 20px 22px 24px; text-align: left; box-shadow: 0 16px 38px rgba(255,178,29,.2); transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.result-cta:hover { color: #1d1b17; background: #ffc34d; box-shadow: 0 20px 46px rgba(255,178,29,.32); transform: translateY(-3px); }
.result-cta:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 4px; }
.result-cta-main { align-self: end; font-size: 1.45rem; font-weight: 900; line-height: 1.05; }
.result-cta-detail { align-self: start; color: #5c430d; font-size: .87rem; font-weight: 700; line-height: 1.3; }
.result-cta-arrow { grid-column: 2; grid-row: 1 / 3; display: grid; place-items: center; width: 52px; height: 52px; align-self: center; border-radius: 50%; color: var(--white); background: var(--ink); font-size: 1.7rem; line-height: 1; transition: transform .2s ease; }
.result-cta:hover .result-cta-arrow { transform: translateX(4px); }
.secondary-dark { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.workflow { background: var(--paper); }
.workflow-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.workflow ol { display: grid; gap: 22px; padding: 0; margin: 0; list-style: none; }
.workflow li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.workflow li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 800; }
.workflow strong { display: block; margin-bottom: 3px; font-size: 1.05rem; }
.workflow p { margin: 0; color: var(--muted); }
.contact { background: var(--white); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 6px; color: var(--muted); font-size: .9rem; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; color: var(--ink); background: var(--white); font: inherit; }
textarea { min-height: 108px; resize: vertical; }
.message, .privacy, form button { grid-column: 1 / -1; }
.privacy { margin: 0; color: var(--muted); font-size: .82rem; }
.privacy a { color: var(--blue-text); text-decoration: underline; }
.honey { position: absolute; left: -9999px; }
footer { padding: 46px max(20px, calc((100% - 1180px) / 2)) 26px; color: #b7c5cc; background: var(--ink); font-size: .9rem; }
.sector-index h2 { margin-bottom: 18px; color: var(--white); font-size: 1.05rem; }
.sector-index ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; padding: 0; margin: 0 0 30px; list-style: none; }
.sector-index a { color: #cfdadf; text-decoration: underline; text-underline-offset: 3px; }
.sector-index a:hover { color: var(--white); }
.sector-index a:focus-visible { outline: 3px solid rgba(125,211,252,.55); outline-offset: 3px; }
.footer-meta { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
@media (max-width: 1080px) and (min-width: 801px) { .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .service-choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sector-index ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .site-header { height: 64px; gap: 12px; } .brand img { width: 112px; } nav { display: none; } .header-action { min-height: 44px; padding: 0 14px; } .hero { min-height: 0; align-items: end; background-position: 62% top; background-size: auto 38vh; background-color: var(--ink); } .hero-overlay { background: rgba(5, 13, 23, .72); } .hero-content { padding: 190px 0 42px; } .hero .trust-list { display: none; } h1 { font-size: 2.75rem; } h2 { font-size: 2rem; } .section { padding: 60px 0; } .selector-progress span { padding: 10px 5px; font-size: .72rem; } .sector-grid, .service-choice-grid, .selector-result, .workflow-layout, .contact-layout { grid-template-columns: 1fr; gap: 24px; } .sector-card img { height: 210px; } .sector-card-content { min-height: 76px; padding: 16px; } .selector-step { margin-top: 42px; padding-top: 42px; } .service-choice { min-height: 190px; } .selector-result { padding: 26px; } form { grid-template-columns: 1fr; } .message, .privacy, form button { grid-column: auto; } .sector-index ul { grid-template-columns: 1fr; } .footer-meta { flex-direction: column; } }
@media (max-width: 420px) { .hero-content { padding-top: 170px; } h1 { font-size: 2.45rem; } }

@media (max-width: 800px) {
  body { font-size: 1.0625rem; }
  .eyebrow { font-size: .9rem; }
  .selector-progress span { min-height: 46px; display: grid; place-items: center; font-size: .9rem; line-height: 1.2; }
  .choice-action, .service-badge { font-size: .9rem; }
  .sector-card-content { align-items: flex-start; flex-direction: column; gap: 4px; }
  .service-choice > span:not(.service-name):not(.service-badge):not(.choice-action) { font-size: 1rem; }
  .result-cta-detail { font-size: 1rem; }
}
.success-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(5, 13, 23, .6); backdrop-filter: blur(6px); }
.success-modal.is-visible { display: flex; }
.success-modal-card { width: min(100%, 420px); padding: 34px; text-align: center; background: var(--white); border-radius: 10px; box-shadow: 0 28px 80px rgba(5, 13, 23, .3); }
.success-modal-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; color: #05312a; background: linear-gradient(135deg, var(--green), var(--blue)); font-size: 1.8rem; font-weight: 800; }
.success-modal-card h3 { margin-bottom: 8px; font-size: 1.6rem; }
.success-modal-card p { margin-bottom: 22px; color: var(--muted); }
.success-modal-btn { width: min(100%, 200px); }
