/* Rediseño ejecutivo del autodiagnóstico */
body{background:#eef1ed}
.assessment-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 78% 26%,rgba(168,198,45,.22),transparent 25%),
    linear-gradient(125deg,#101914 0%,#1c2921 63%,#273521 100%);
  color:#fff;
  padding:78px 0 92px;
}
.assessment-hero:after{
  content:"";position:absolute;width:420px;height:420px;border:1px solid #a8c62d33;border-radius:50%;
  right:-120px;top:-190px;box-shadow:0 0 0 65px #a8c62d09,0 0 0 130px #a8c62d07;
}
.assessment-hero h1{max-width:820px}
.assessment-hero p{color:#c4cdc7}
.assessment-hero .eyebrow{color:#cce16d}
.assessment-hero-grid{position:relative;z-index:2}
.assessment-badges span{background:#ffffff10;border-color:#ffffff25;color:#edf2ef}
.score-preview{background:#ffffff0d;border:1px solid #ffffff20;backdrop-filter:blur(8px);box-shadow:0 25px 70px #0004}
.score-ring{border-color:#bad841;background:#ffffff08}
.assessment-shell{padding:0 0 95px;margin-top:-32px;position:relative;z-index:5}
.assessment-progress{
  max-width:1040px;background:#fff;padding:19px 22px 16px;border:1px solid #dce2d8;
  border-radius:15px;box-shadow:0 16px 44px #16201918;position:sticky;top:94px;z-index:12;
}
.progress-track{height:5px}
.domain-nav{display:grid;grid-template-columns:repeat(8,1fr);gap:7px;margin-top:14px}
.domain-nav span{
  display:flex;align-items:center;gap:6px;min-width:0;color:#8b958f;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.domain-nav span:before{
  content:"";flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:#d8ded4;box-shadow:0 0 0 3px #f0f2ee;
}
.domain-nav span.current{color:#536711;font-weight:700}
.domain-nav span.current:before{background:#a8c62d;box-shadow:0 0 0 4px #edf4d5}
.domain-nav span.done:before{background:#78920f}
.assessment-step{
  max-width:1040px;border:0;border-radius:20px;padding:48px 54px;margin-top:22px;
  box-shadow:0 20px 65px #26342112;
}
.step-heading{display:grid;grid-template-columns:1fr .55fr;column-gap:55px;align-items:end;padding-bottom:25px;border-bottom:1px solid var(--line)}
.step-heading>span,.step-heading>h2{grid-column:1}
.step-heading>p{grid-column:2;grid-row:1/3;margin:0;font-size:12px}
.question-card{
  margin-top:14px;padding:20px 22px;border:1px solid #e2e7df!important;border-radius:12px;
  background:#fafbf9;transition:border-color .2s,box-shadow .2s,transform .2s;
}
.question-card:focus-within{border-color:#bbc997!important;box-shadow:0 8px 25px #667b2612;transform:translateY(-2px)}
.question-card h3{font-size:15px;padding-left:31px;position:relative}
.question-card h3:before{
  content:"?";position:absolute;left:0;top:-1px;width:21px;height:21px;border-radius:6px;
  background:#eaf1d1;color:#647b13;display:grid;place-items:center;font-size:11px;
}
.question-step{min-height:560px;display:none;flex-direction:column}
.question-step.active{display:flex}
.question-counter{display:flex;justify-content:space-between;align-items:center;padding-bottom:18px;border-bottom:1px solid var(--line)}
.question-counter span{font-size:10px;color:#6d7c86;text-transform:uppercase;letter-spacing:.12em;font-weight:700}
.question-counter b{font-size:10px;color:var(--petrol,#174a5b);padding:7px 10px;border-radius:20px;background:#e7f0f4}
.question-focus{display:grid;grid-template-columns:68px 1fr;gap:22px;align-items:start;margin:42px 0 30px}
.question-symbol{width:68px;height:68px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(135deg,#102a43,#174a5b);color:#fff;font:800 21px Manrope;box-shadow:0 12px 28px #102a4324}
.question-focus h2{font:700 clamp(25px,3.3vw,39px)/1.18 Manrope;margin:0;letter-spacing:-.035em;color:#102a43}
.question-focus p{margin:12px 0 0;color:#627485;font-size:13px;max-width:760px}
.answer-prompt{font-size:10px;color:#75838d;text-transform:uppercase;letter-spacing:.1em;font-weight:700;margin-bottom:11px}
.answer-options-large{grid-template-columns:repeat(2,1fr);gap:12px}
.answer-options-large span{min-height:84px;padding:17px 17px 15px 42px;text-align:left;border-radius:12px;display:flex;flex-direction:column;justify-content:center}
.answer-options-large span:before{left:17px;width:9px;height:9px}
.answer-options-large b{display:block;color:#19324a;font-size:13px}
.answer-options-large small{display:block;color:#687986;font-size:10px;font-weight:400;margin-top:3px;line-height:1.35}
.answer-options-large input:checked+span b{color:#174a5b}
.question-step .step-controls{margin-top:auto;padding-top:30px}
.domain-step{max-width:1180px;padding:38px 40px}
.domain-step-head{display:flex;justify-content:space-between;gap:30px;align-items:flex-end;padding-bottom:22px;border-bottom:1px solid var(--line)}
.domain-step-head>div:first-child>span{color:#174a5b;font-size:10px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
.domain-step-head h2{font:700 clamp(29px,3.8vw,45px)/1.1 Manrope;margin:8px 0}
.domain-step-head p{margin:0;color:#667987;font-size:12px}
.domain-completion{min-width:125px;padding:13px 15px;border-radius:11px;background:#eef4f7;text-align:center}
.domain-completion strong,.domain-completion span{display:block}.domain-completion strong{font:800 25px Manrope;color:#174a5b}.domain-completion span{font-size:9px;color:#667987}
.domain-complete .domain-completion{background:#edf4d8}.domain-complete .domain-completion strong{color:#657d12}
.answer-legend{display:grid;grid-template-columns:minmax(380px,1.35fr) repeat(4,minmax(105px,.42fr));gap:7px;align-items:stretch;margin:22px 0 8px}
.answer-legend>div{padding:9px 12px;color:#70808b;font-size:9px;text-transform:uppercase;letter-spacing:.1em;font-weight:700}
.answer-legend>span{display:flex;flex-direction:column;justify-content:center;text-align:center;padding:8px 5px;border-radius:8px;background:#f1f5f7}
.answer-legend b{font-size:9px;color:#27465c}.answer-legend small{font-size:7px;color:#74838d;line-height:1.25;margin-top:2px}
.domain-question-list{display:grid;gap:9px}
.domain-question-row{display:grid;grid-template-columns:minmax(380px,1.35fr) minmax(450px,1.68fr);gap:7px;padding:12px;border:1px solid #dce5eb;border-radius:12px;background:#fafcfd;transition:.2s}
.domain-question-row:focus-within{border-color:#789cac;box-shadow:0 8px 24px #102a4312;transform:translateY(-1px)}
.domain-question-copy{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:start;padding:5px 8px}
.domain-question-copy>span{width:27px;height:27px;border-radius:7px;display:grid;place-items:center;background:#e4eef3;color:#174a5b;font-size:9px;font-weight:800}
.domain-question-copy h3{font:700 13px/1.35 Manrope;margin:0;color:#19324a}
.domain-question-copy p{font-size:9px;line-height:1.35;color:#6b7c88;margin:5px 0 0}
.domain-answer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
.domain-answer-grid label{position:relative;display:block}
.domain-answer-grid input{position:absolute;opacity:0}
.domain-answer-grid label>span{height:100%;min-height:58px;display:grid;place-items:center;text-align:center;padding:7px;border:1px solid #d7e0e6;border-radius:9px;background:#fff;cursor:pointer;transition:.2s}
.domain-answer-grid label>span:before{content:"";width:10px;height:10px;border:2px solid #a9b6be;border-radius:50%;margin-bottom:4px}
.domain-answer-grid b{font-size:8px;color:#5f707c}
.domain-answer-grid input:focus-visible+span{outline:3px solid #174a5b;outline-offset:2px}
.domain-answer-grid input:checked+span{border-color:#174a5b;background:#e7f0f4;box-shadow:0 0 0 2px #174a5b18}
.domain-answer-grid input:checked+span:before{border-color:#174a5b;background:#a8c62d;box-shadow:0 0 0 3px #dfe9ed}
.domain-answer-grid input:checked+span b{color:#174a5b}
.domain-step .step-controls{margin-top:24px}
.answer-options span{position:relative;background:#fff;padding:12px 8px 12px 25px;font-size:11px}
.answer-options span:before{
  content:"";position:absolute;left:10px;top:50%;width:7px;height:7px;border:2px solid #b5beb8;border-radius:50%;transform:translateY(-50%);
}
.answer-options input:checked+span:before{border-color:#78920f;background:#a8c62d;box-shadow:0 0 0 3px #e8f0cb}
.answer-options input:checked+span{background:#f2f7e5}
.step-controls{padding-top:10px}
.result-header{
  margin:-48px -54px 0;padding:45px 54px 34px;border-radius:20px 20px 0 0;
  background:linear-gradient(125deg,#18211d,#2b392e);color:#fff;
}
.result-header .eyebrow{color:#cce16d}
.result-header>p:not(.eyebrow){color:#c2cbc5}
.result-overview{margin:32px 0}
.maturity-card{padding:29px;background:linear-gradient(135deg,#f5f8ee,#fff);border-left:5px solid var(--score-accent,#a8c62d)}
.radar-panel{padding:27px;background:#fafbf9;border-radius:16px}
.domain-row{background:#fff;padding:17px;border-radius:12px}
.domain-row div:first-child{font-size:12px}
.domain-row em{display:inline-flex;margin:7px 0 2px;padding:3px 7px;border-radius:20px;background:#eef2f4;color:#60717c;font-size:7px;font-style:normal;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.domain-state-crítico{border-left:4px solid #c2413b}.domain-state-crítico em{background:#f8dfdc;color:#a63d37}
.domain-state-inicial{border-left:4px solid #d37d26}.domain-state-inicial em{background:#f9e8d6;color:#a55c22}
.domain-state-en-desarrollo{border-left:4px solid #c1a020}.domain-state-en-desarrollo em{background:#f6efcc;color:#836d11}
.domain-state-gestionado,.domain-state-avanzado{border-left:4px solid #78920f}.domain-state-gestionado em,.domain-state-avanzado em{background:#edf4d8;color:#5d7211}
.domain-bar{height:8px}
.result-columns article{position:relative;padding:26px;border-radius:14px}
.result-card-label{font-size:8px;color:#7c8780;letter-spacing:.14em;text-transform:uppercase;font-weight:700}
.result-columns h3{margin:7px 0 16px;font-size:19px}
.strength-panel{background:#f5f8ed;border-color:#d8e2bc!important}
.priority-panel{background:#fff8f1;border-color:#ecd8c3!important}
.result-interpretation{background:#f4f7f9;border-color:#d7e1e8!important}
.result-interpretation p{font-size:12px;color:#607382;margin:0}
.strength-list{list-style:none;padding:0;margin:0}
.strength-list li{position:relative;padding-left:22px}
.strength-list li:before{content:"✓";position:absolute;left:0;color:#718716;font-weight:800}
.empty-strengths{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:9px;background:#fff;color:#66716b;font-size:12px}
.empty-strengths span{flex:0 0 auto;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#f0e4da;color:#a85931;font-weight:800}
.priority-panel ol{padding-left:20px}
.priority-panel li{padding-left:4px}
.action-plan-panel{margin-top:20px;padding:27px;border:1px solid #d7e1e8!important;border-radius:15px;background:linear-gradient(135deg,#f5f8fa,#fff)!important}
.action-plan-heading{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:17px}
.action-plan-heading h3{font:700 23px Manrope;margin:6px 0 0}
.action-plan-heading>p{max-width:430px;margin:0;color:#667987;font-size:11px}
.action-plan{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.action-plan-card{display:grid;grid-template-columns:43px 1fr;gap:13px;padding:17px;border:1px solid #dbe4e9;border-radius:12px;background:#fff;box-shadow:0 7px 20px #102a4309}
.action-plan-order{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#102a43;color:#fff;font:800 12px Manrope}
.action-plan-card h4{display:flex;justify-content:space-between;gap:12px;font:700 14px Manrope;margin:7px 0 5px;color:#19324a}
.action-plan-card h4 b{color:#174a5b}.action-plan-card p{font-size:10px;color:#667987;margin:0}
.urgency{display:inline-flex;padding:4px 7px;border-radius:20px;font-size:7px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}
.urgency-inmediata{background:#f8dfdc;color:#a63d37}.urgency-alta{background:#f9e8d6;color:#a55c22}.urgency-media{background:#f6efcc;color:#836d11}.urgency-mejora{background:#e7f0f4;color:#174a5b}
@media(max-width:900px){
  .domain-nav{grid-template-columns:repeat(4,1fr)}
  .step-heading{grid-template-columns:1fr}
  .step-heading>p{grid-column:1;grid-row:auto;margin-top:7px}
  .answer-legend{display:none}
  .domain-question-row{grid-template-columns:1fr}
  .action-plan{grid-template-columns:1fr}
}
@media(max-width:760px){
  .assessment-hero{padding:52px 0 76px}
  .assessment-progress{top:88px;padding:14px}
  .domain-nav{display:none}
  .assessment-step{padding:27px 17px;border-radius:14px}
  .result-header{margin:-27px -17px 0;padding:28px 18px;border-radius:14px 14px 0 0}
  .question-card{padding:17px 13px}
  .answer-options{grid-template-columns:1fr}
  .assessment-shell{margin-top:-24px}
  .question-step{min-height:600px}
  .question-counter{align-items:flex-start;gap:10px}
  .question-counter b{text-align:right;max-width:58%}
  .question-focus{grid-template-columns:48px 1fr;gap:13px;margin:28px 0 23px}
  .question-symbol{width:48px;height:48px;border-radius:12px;font-size:15px}
  .question-focus h2{font-size:24px}
  .answer-options-large{grid-template-columns:1fr}
  .answer-options-large span{min-height:68px}
  .domain-step{padding:25px 15px}
  .domain-step-head{align-items:flex-start}.domain-completion{min-width:95px}
  .domain-question-row{padding:10px}
  .domain-answer-grid{grid-template-columns:1fr 1fr}
  .domain-answer-grid label>span{min-height:52px}
  .action-plan-heading{display:block}.action-plan-heading>p{margin-top:7px}
}
@media print{
  .result-header{margin:0;padding:20px;color:#18211d;background:#fff;border-bottom:2px solid #a8c62d}
}

/* Legibilidad, navegación persistente y gráfica vectorial */
.header .nav nav{gap:20px;font-size:12px}
.header .nav nav a.active{color:var(--navy);font-weight:800}
.assessment-progress>div:first-child{font-size:14px}
.domain-nav span{font-size:11px}
.domain-step-head>div:first-child>span{font-size:13px}
.domain-step-head p{font-size:15px;line-height:1.55}
.domain-completion span{font-size:12px}
.answer-legend b{font-size:12px}
.answer-legend small{font-size:10px}
.domain-question-copy h3{font-size:16px;line-height:1.35}
.domain-question-copy p{font-size:13px;line-height:1.55}
.domain-answer-grid b{font-size:12px}
.domain-answer-grid label{min-height:68px}
.result-card-label{font-size:11px}
.domain-row div:first-child{font-size:14px}
.domain-row em{font-size:10px}
.action-plan-card p,.result-disclaimer p{font-size:13px;line-height:1.55}
.urgency{font-size:10px}
.action-plan-card h4{font-size:16px}
.radar-panel svg{display:block;width:100%;height:auto;max-height:390px;overflow:visible}
.radar-panel svg text{font-family:"DM Sans",Arial,sans-serif;fill:#506579;font-size:12px;font-weight:600}
@media(max-width:950px){.header .nav nav{gap:0;font-size:14px}.radar-panel svg text{font-size:11px}}
