:root{
  --teal:#007b85;
  --navy:#00205b;
  --green:#70ad47;
  --yellow:#ffb600;
  --bg:#f8fafc;
  --card:#fff;
  --text:#475569;
  --muted:#64748b;
  --line:#dbe4ee;
  --danger:#b42318;
  --shadow:0 14px 38px rgba(15,23,42,.08);
  font-family:Outfit,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text)}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
a{color:inherit}
[hidden]{display:none!important}

.topbar{
  position:sticky;top:0;z-index:40;
  min-height:74px;padding:10px clamp(14px,4vw,54px);
  display:grid;grid-template-columns:minmax(240px,1fr) auto minmax(110px,1fr);
  align-items:center;gap:18px;
  border-bottom:1px solid rgba(219,228,238,.94);
  background:rgba(248,250,252,.96);backdrop-filter:blur(16px)
}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;width:max-content}
.brand-mark{
  width:46px;height:46px;border-radius:50%;display:grid;place-items:center;
  background:var(--teal);color:white;font-weight:800;letter-spacing:-.04em
}
.brand strong{display:block;color:var(--navy);font-size:1.04rem}
.brand small{display:block;color:var(--muted);font-size:.72rem;margin-top:2px}
.main-nav{display:flex;gap:5px;padding:4px;border:1px solid var(--line);border-radius:13px;background:white}
.nav-btn{border:0;background:transparent;color:var(--muted);padding:8px 12px;border-radius:9px;font-weight:750;font-size:.84rem}
.nav-btn.active{background:#eaf6f7;color:var(--teal)}
.account-button{justify-self:end;border:1px solid var(--line);background:white;color:var(--navy);border-radius:11px;padding:9px 13px;font-weight:800}

.shell{width:min(1180px,calc(100% - 28px));margin:0 auto}
.app-view{display:none}
.app-view.active{display:block}

.hero{display:grid;grid-template-columns:1.35fr .65fr;gap:26px;padding:clamp(45px,7vw,86px) 0 30px}
.hero-copy,.hero-panel,.notice,.gate-card,.panel,.case-card,.workspace-card,.flow-card,.filters,.summary-strip{
  background:white;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)
}
.hero-copy{padding:clamp(28px,5vw,52px)}
.eyebrow{color:var(--teal);font-size:.73rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.hero h1{margin:9px 0 14px;color:var(--navy);font-size:clamp(3.1rem,8vw,6rem);line-height:.9;letter-spacing:-.065em}
.lead{margin:0;color:var(--muted);font-size:clamp(1rem,2vw,1.18rem);line-height:1.7;max-width:760px}
.actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
.btn{border:1px solid var(--line);border-radius:11px;min-height:42px;padding:9px 14px;background:white;color:var(--navy);font-weight:800}
.btn.primary{background:var(--navy);border-color:var(--navy);color:white}
.btn.teal{background:var(--teal);border-color:var(--teal);color:white}
.btn.demo{background:#fff4cf;border-color:#ffd35a;color:#5f4700}
.btn.demo:hover{background:#ffe99e}
.btn.secondary{background:white}
.case-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.btn.danger{color:var(--danger);border-color:#f0c8c4;background:#fff8f7}
.btn:disabled{opacity:.5;cursor:not-allowed}

.hero-panel{display:grid;overflow:hidden}
.metric{display:flex;flex-direction:column;justify-content:center;padding:26px;border-bottom:1px solid var(--line)}
.metric:last-child{border-bottom:0}
.metric strong{color:var(--teal);font-size:clamp(2.6rem,5vw,4.2rem);line-height:1}
.metric span{margin-top:7px;color:var(--muted);font-weight:700}
.notice{border-left:5px solid var(--yellow);padding:21px 24px}
.notice strong{color:var(--navy)}
.notice p{margin:5px 0 0;line-height:1.62}

.section{padding:62px 0 22px}
.top-section{padding-top:42px;min-height:70vh}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:22px}
.section-heading h2,.gate-card h2,.modal-head h2{margin:5px 0 0;color:var(--navy);font-size:clamp(1.75rem,4vw,2.65rem);letter-spacing:-.03em}
.status-text{color:var(--muted);font-size:.82rem}
.flow-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.flow-card{padding:18px}
.flow-card>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#eaf6f7;color:var(--teal);font-weight:800}
.flow-card h3{margin:11px 0 5px;color:var(--navy);font-size:1rem}
.flow-card p{margin:0;color:var(--muted);font-size:.82rem;line-height:1.45}

.filters{padding:18px;margin-bottom:18px}
.field{display:grid;gap:6px;color:var(--navy);font-size:.78rem;font-weight:800}
.field+.field{margin-top:12px}
input,select,textarea{
  width:100%;min-height:44px;border:1px solid var(--line);border-radius:10px;
  padding:9px 11px;color:#334155;background:white;outline:none
}
textarea{min-height:100px;resize:vertical}
input:focus,select:focus,textarea:focus{border-color:#64b8be;box-shadow:0 0 0 3px rgba(0,123,133,.1)}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.form-grid .wide{grid-column:1/-1}
.help{font-size:.72rem;color:var(--muted);font-weight:500;line-height:1.4}
.category-filters{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}
.filter-chip{border:1px solid var(--line);border-radius:999px;background:white;color:var(--muted);padding:7px 10px;font-size:.78rem;font-weight:800}
.filter-chip.active{background:var(--teal);border-color:var(--teal);color:white}

.taxonomy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.factor-card{overflow:hidden;background:white;border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.factor-card summary{list-style:none;padding:18px;cursor:pointer}
.factor-card summary::-webkit-details-marker{display:none}
.factor-heading{display:flex;align-items:flex-start;gap:11px}
.factor-code{min-width:55px;padding:6px 8px;border-radius:9px;background:var(--navy);color:white;text-align:center;font-weight:800}
.factor-name{color:var(--navy);font-weight:800;line-height:1.25}
.factor-en{margin-top:2px;color:var(--muted);font-size:.76rem}
.factor-definition{margin:12px 0 0;font-size:.9rem;line-height:1.52}
.category-label{margin-top:11px;color:var(--teal);font-size:.72rem;text-transform:uppercase;font-weight:800;letter-spacing:.04em}
.factor-detail{padding:0 18px 18px;border-top:1px solid var(--line)}
.factor-detail h4{margin:15px 0 8px;color:var(--navy)}
.factor-detail ul{padding-left:19px;margin:0}
.factor-detail li{margin:7px 0;font-size:.86rem;line-height:1.42}
.factor-detail li strong{color:var(--teal)}
.orientation{padding:11px 12px;border-radius:10px;background:#f0f8f8;line-height:1.48;font-size:.86rem}

.gate-card{max-width:720px;margin:36px auto;padding:34px}
.gate-card p{line-height:1.65;color:var(--muted)}
.summary-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;overflow:hidden;margin-bottom:16px}
.summary-item{padding:16px 18px;border-right:1px solid var(--line)}
.summary-item:last-child{border-right:0}
.summary-item strong{display:block;color:var(--navy);font-size:1.35rem}
.summary-item span{font-size:.72rem;color:var(--muted)}

.case-list{display:grid;gap:10px}
.case-card{padding:16px 18px;box-shadow:none}
.case-card .row{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.case-card h3{margin:0;color:var(--navy);font-size:1rem}
.case-card p{margin:5px 0 0;color:var(--muted);font-size:.82rem;line-height:1.45}
.pills{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
.pill{display:inline-flex;padding:4px 8px;border-radius:999px;background:#edf3f6;color:#5e6d7b;font-size:.68rem;font-weight:800}
.pill.teal{background:#e9f7f7;color:var(--teal)}
.pill.green{background:#edf7e8;color:#527f36}
.pill.yellow{background:#fff5d9;color:#745800}

.workspace-card{margin-top:18px;padding:20px;box-shadow:none}
.workspace-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding-bottom:16px;border-bottom:1px solid var(--line)}
.workspace-head h2{margin:4px 0 6px;color:var(--navy);font-size:1.45rem}
.workspace-head p{margin:0;color:var(--muted);font-size:.82rem;line-height:1.45}
.workspace-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
.hallazgo-list{display:grid;gap:12px;margin-top:18px}
.hallazgo{border:1px solid var(--line);border-radius:14px;padding:15px;background:#fff}
.hallazgo-top{display:flex;justify-content:space-between;gap:12px}
.hallazgo h3{margin:0;color:var(--navy);font-size:.98rem}
.hallazgo p{margin:6px 0 0;font-size:.84rem;line-height:1.5}
.subsection{margin-top:13px;padding-top:12px;border-top:1px dashed var(--line)}
.subsection-title{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:8px}
.subsection-title strong{color:var(--navy);font-size:.82rem}
.mini-list{display:grid;gap:7px}
.mini-item{padding:9px 10px;border-radius:10px;background:#f8fafc;border:1px solid #e8eef4;font-size:.78rem;line-height:1.42}
.mini-item a{color:var(--teal);font-weight:800}
.mini-item strong{color:var(--navy)}

.empty-state{padding:34px;border:1px dashed var(--line);border-radius:15px;text-align:center;color:var(--muted);background:white}
.empty-state.small{padding:16px;font-size:.8rem}

.modal{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:16px;background:rgba(15,23,42,.56)}
.modal-box{width:min(720px,100%);max-height:92dvh;overflow:auto;background:white;border-radius:20px;padding:21px;box-shadow:0 30px 90px rgba(0,0,0,.24)}
.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:16px}
.modal-head h2{font-size:1.55rem}
.icon-button{width:38px;height:38px;border-radius:10px;border:1px solid var(--line);background:white;color:var(--navy);font-size:1.25rem}
.check-list{display:grid;gap:7px;max-height:220px;overflow:auto;padding:8px;border:1px solid var(--line);border-radius:10px}
.check-row{display:flex;gap:8px;align-items:flex-start;font-size:.8rem}
.check-row input{width:17px;min-height:17px;margin-top:2px}
.warning{padding:10px 12px;border-left:4px solid var(--yellow);border-radius:8px;background:#fff9e7;font-size:.78rem;line-height:1.45}
.toast{position:fixed;z-index:200;left:50%;bottom:22px;transform:translateX(-50%);max-width:min(520px,calc(100% - 24px));padding:11px 15px;border-radius:10px;background:#172033;color:white;box-shadow:0 12px 30px rgba(0,0,0,.22);font-size:.82rem}
footer{display:flex;justify-content:space-between;gap:14px;margin-top:60px;padding:25px clamp(14px,4vw,54px);border-top:1px solid var(--line);background:white;color:var(--muted)}
footer strong{color:var(--navy)}
footer a{color:var(--teal);font-weight:800}

@media(max-width:900px){
  .topbar{grid-template-columns:1fr auto}
  .main-nav{grid-row:2;grid-column:1/-1;justify-content:center}
  .account-button{grid-column:2}
  .hero{grid-template-columns:1fr}
  .hero-panel{grid-template-columns:repeat(3,1fr)}
  .metric{border-bottom:0;border-right:1px solid var(--line)}
  .metric:last-child{border-right:0}
  .flow-grid{grid-template-columns:repeat(2,1fr)}
  .summary-strip{grid-template-columns:repeat(2,1fr)}
  .taxonomy-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  .topbar{padding:9px 10px}
  .brand small{display:none}
  .brand-mark{width:40px;height:40px}
  .nav-btn{padding:7px 9px;font-size:.76rem}
  .account-button{font-size:.75rem;padding:8px 10px}
  .shell{width:min(100% - 18px,1180px)}
  .hero{padding-top:26px}
  .hero-copy{padding:22px 19px}
  .hero-panel{grid-template-columns:1fr}
  .metric{border-right:0;border-bottom:1px solid var(--line)}
  .metric:last-child{border-bottom:0}
  .flow-grid,.form-grid,.summary-strip{grid-template-columns:1fr}
  .form-grid .wide{grid-column:auto}
  .section-heading,.workspace-head,.case-card .row{flex-direction:column;align-items:stretch}
  footer{flex-direction:column}
}

/* PIF-SST · Vista profesional y analítica */
.case-kpis{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:1px;
  margin:18px 0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--line)
}
.case-kpis>div{padding:13px;background:white}
.case-kpis strong{display:block;color:var(--navy);font-size:1.25rem}
.case-kpis span{font-size:.69rem;color:var(--muted)}

.quality-panel{
  margin:16px 0 4px;
  padding:16px;
  border:1px solid var(--line);
  border-left:5px solid var(--green);
  border-radius:14px;
  background:#fbfef9
}
.quality-panel.warning{border-left-color:var(--yellow);background:#fffdf6}
.quality-panel.danger{border-left-color:var(--danger);background:#fff8f7}
.quality-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.quality-head h3{margin:4px 0 0;color:var(--navy);font-size:1rem}
.quality-score{padding:5px 9px;border-radius:999px;background:white;border:1px solid var(--line);font-size:.7rem;font-weight:800}
.quality-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:13px}
.quality-grid>div{padding:10px;border-radius:10px;background:white;border:1px solid rgba(219,228,238,.8)}
.quality-grid strong{display:block;color:var(--navy);font-size:1.05rem}
.quality-grid span{font-size:.68rem;color:var(--muted);line-height:1.3}
.quality-panel p{margin:10px 0 0;color:var(--muted);font-size:.72rem;line-height:1.45}

.interventions-panel{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}

.analytics-summary{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px;
  margin-bottom:16px
}
.analytics-kpi,.analytics-card,.analytics-note{
  border:1px solid var(--line);
  background:white;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(15,23,42,.04)
}
.analytics-kpi{padding:16px}
.analytics-kpi strong{display:block;color:var(--teal);font-size:1.55rem}
.analytics-kpi span{font-size:.72rem;color:var(--muted);line-height:1.35}
.analytics-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}
.analytics-card{padding:18px}
.analytics-card-head{margin-bottom:14px}
.analytics-card h3{margin:4px 0 0;color:var(--navy);font-size:1rem}
.bar-list{display:grid;gap:10px}
.bar-row{display:grid;gap:5px}
.bar-label{display:flex;justify-content:space-between;gap:12px;font-size:.76rem}
.bar-label span{color:var(--text)}
.bar-label strong{color:var(--navy)}
.bar-track{height:8px;border-radius:999px;background:#edf2f6;overflow:hidden}
.bar-track span{display:block;height:100%;border-radius:999px;background:var(--teal)}
.analytics-note{margin-top:14px;padding:14px 16px;border-left:5px solid var(--yellow);font-size:.76rem;line-height:1.5}

@media(max-width:900px){
  .case-kpis{grid-template-columns:repeat(3,1fr)}
  .quality-grid{grid-template-columns:repeat(2,1fr)}
  .analytics-summary{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:650px){
  .case-kpis,.quality-grid,.analytics-summary,.analytics-grid{grid-template-columns:1fr}
}

/* PIF-SST · Módulo preventivo */
.preventive-scope{
  margin-bottom:22px;
  padding:16px 18px;
  border:1px solid #cfe4e6;
  border-left:5px solid var(--teal);
  border-radius:14px;
  background:#f3fafb
}
.preventive-scope strong{color:var(--navy)}
.preventive-scope p{margin:5px 0 0;font-size:.8rem;line-height:1.55;color:var(--muted)}
.preventive-disclaimer{
  margin:16px 0;
  padding:11px 13px;
  border-left:4px solid var(--yellow);
  border-radius:9px;
  background:#fff9e7;
  font-size:.75rem;
  line-height:1.5
}
.preventive-disclaimer strong{color:var(--navy)}
.preventive-condition-section{margin-top:18px}
.preventive-factor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.preventive-factor{
  padding:14px;
  border:1px solid var(--line);
  border-left:5px solid var(--yellow);
  border-radius:13px;
  background:white
}
.preventive-factor.favorable{border-left-color:var(--green)}
.preventive-factor.critica{border-left-color:var(--danger)}
.preventive-factor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.preventive-factor h3{margin:4px 0 0;color:var(--navy);font-size:.93rem}
.preventive-factor p{margin:10px 0 8px;font-size:.8rem;line-height:1.5}
.preventive-factor small{display:block;margin-top:5px;color:var(--muted);font-size:.7rem;line-height:1.4}
.preventive-status{
  flex:0 0 auto;
  padding:5px 8px;
  border-radius:999px;
  font-size:.65rem;
  font-weight:800;
  background:#fff5d9;
  color:#745800
}
.preventive-status.favorable{background:#edf7e8;color:#527f36}
.preventive-status.critica{background:#fff0ee;color:#9b241c}

@media(max-width:900px){
  .preventive-factor-grid{grid-template-columns:1fr}
}


/* ===== PIF-SST · Identidad La Movida de SST+ ===== */
body{
  background:
    radial-gradient(circle at 8% 2%,rgba(0,196,204,.08),transparent 26rem),
    linear-gradient(180deg,#f7fbfd 0,#f8fafc 42rem,#f8fafc 100%);
}
.shell-rich{width:min(1380px,calc(100% - 34px))}
.brand-topbar{
  min-height:82px;
  grid-template-columns:minmax(300px,1fr) auto minmax(120px,1fr);
  background:rgba(255,255,255,.97);
  box-shadow:0 8px 30px rgba(0,32,91,.06)
}
.brand-rich{gap:12px}
.brand-logo{width:60px;height:60px;object-fit:contain;filter:drop-shadow(0 5px 12px rgba(0,32,91,.12))}
.brand-copy strong{font-size:1.08rem;letter-spacing:-.025em;color:var(--navy)}
.brand-copy .plus{color:var(--yellow);font-size:1.25em}
.brand-copy small{font-size:.64rem;letter-spacing:.11em;color:var(--navy);font-weight:800}
.rich-nav{border:0;background:transparent;gap:2px;padding:0}
.rich-nav .nav-btn{
  display:flex;align-items:center;gap:6px;
  padding:11px 10px;border-radius:10px;color:#18356d;font-size:.78rem
}
.rich-nav .nav-btn:hover{background:#eef8fb;color:var(--teal)}
.rich-nav .nav-btn.active{background:transparent;color:#007b85;box-shadow:inset 0 -3px 0 #00aeba;border-radius:0}
.nav-glyph{font-size:1rem;font-weight:900;color:inherit}
.account-button{border:0;background:#eef6fb;border-radius:999px;padding:10px 16px}

.home-hero{
  position:relative;overflow:hidden;
  display:grid;grid-template-columns:1.12fr .88fr;gap:34px;
  min-height:470px;margin-top:24px;padding:54px;
  border-radius:30px;
  background:
    radial-gradient(circle at 86% 18%,rgba(0,234,239,.38),transparent 20rem),
    radial-gradient(circle at 62% 115%,rgba(20,214,222,.4),transparent 24rem),
    linear-gradient(120deg,#001b4d 0%,#002a6b 54%,#00677f 100%);
  color:white;box-shadow:0 28px 80px rgba(0,32,91,.22)
}
.home-hero:before,.home-hero:after{
  content:"";position:absolute;border-radius:50%;pointer-events:none
}
.home-hero:before{width:520px;height:520px;right:-180px;bottom:-360px;background:rgba(16,219,225,.28)}
.home-hero:after{width:420px;height:420px;left:38%;bottom:-345px;background:rgba(255,255,255,.08)}
.home-hero-copy,.home-hero-panel{position:relative;z-index:1}
.product-kicker{
  display:inline-flex;padding:6px 13px;border-radius:999px;
  background:rgba(2,220,224,.15);border:1px solid rgba(105,247,250,.48);
  color:#77fbff;font-weight:900;font-size:.77rem;letter-spacing:.12em
}
.home-hero h1{margin:14px 0 4px;font-size:clamp(4.7rem,9vw,8rem);line-height:.83;letter-spacing:-.075em;color:white}
.home-hero h1 span{color:#3ee9ed;text-shadow:0 3px 0 rgba(255,255,255,.22)}
.home-hero h1 b{color:var(--yellow);font-size:.65em}
.home-hero h2{margin:14px 0 13px;font-size:clamp(1.12rem,2vw,1.55rem);color:white}
.hero-slogan{
  display:inline-block;padding:8px 18px;margin:0 0 16px;border-radius:999px;
  background:linear-gradient(180deg,#ffd740,#ffb600);color:#00205b;
  font-weight:900;font-size:clamp(1.05rem,2.1vw,1.5rem);
  box-shadow:0 8px 24px rgba(255,182,0,.28)
}
.home-hero-copy>p{max-width:720px;margin:0;color:#d8e8f7;font-size:1rem;line-height:1.65}
.hero-points{display:flex;gap:18px;flex-wrap:wrap;margin:18px 0 0;font-size:.8rem;font-weight:800;color:#edf8ff}
.hero-points span:before{color:#46eef1}
.hero-actions{margin-top:24px}
.btn.big{min-height:48px;padding:12px 18px}
.btn.white{background:white;border-color:white;color:var(--navy)}
.home-hero .btn.primary{background:white;border-color:white;color:var(--navy)}
.home-hero .btn.demo{background:linear-gradient(180deg,#ffd946,#ffb600);border-color:#ffc400;color:#00205b}

.home-hero-panel{
  align-self:center;padding:24px;border:1px solid rgba(255,255,255,.18);
  border-radius:24px;background:rgba(255,255,255,.1);backdrop-filter:blur(12px);
  box-shadow:0 20px 60px rgba(0,0,0,.14)
}
.hero-panel-brand{display:flex;align-items:center;gap:10px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.18)}
.hero-panel-brand img{width:54px;height:54px;object-fit:contain}
.hero-panel-brand span{display:block;font-weight:900;font-size:.82rem}
.hero-panel-brand small{display:block;color:#cfe4f7;font-size:.68rem;margin-top:3px}
.hero-panel-title{margin:17px 0 11px;font-size:1rem;font-weight:900}
.hero-panel-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.hero-panel-grid button{
  text-align:left;border:1px solid rgba(255,255,255,.15);border-radius:13px;
  padding:13px;background:rgba(255,255,255,.08);color:white
}
.hero-panel-grid button:hover{background:rgba(255,255,255,.15)}
.hero-panel-grid strong{display:block;color:#55f2f4;font-size:.68rem}
.hero-panel-grid span{display:block;margin-top:4px;font-weight:900;font-size:.83rem}
.hero-panel-grid small{display:block;margin-top:3px;color:#d5e5f3;font-size:.63rem;line-height:1.35}
.hero-panel-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}
.hero-panel-metrics div{padding:11px;border-radius:12px;background:rgba(0,0,0,.14);text-align:center}
.hero-panel-metrics strong{display:block;font-size:1.3rem;color:#65f4f5}
.hero-panel-metrics span{font-size:.61rem;color:#dcecf8}

.home-modules{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:18px 0}
.module-card{
  position:relative;min-height:205px;padding:18px;border:1px solid var(--line);border-radius:19px;
  background:white;box-shadow:0 10px 28px rgba(0,32,91,.06)
}
.module-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;font-weight:900;font-size:1.15rem}
.module-card.blue .module-icon{background:#e7f4ff;color:#0878ce}
.module-card.purple .module-icon{background:#f1eaff;color:#7b38e8}
.module-card.yellow .module-icon{background:#fff4cf;color:#b77a00}
.module-card.green .module-icon{background:#e8f8ef;color:#07945d}
.module-card.teal .module-icon{background:#e6f9f9;color:#007b85}
.module-card h3{margin:13px 0 6px;color:var(--navy);font-size:.98rem}
.module-card p{margin:0;color:var(--muted);font-size:.78rem;line-height:1.45}
.module-card button{position:absolute;left:18px;bottom:16px;border:0;background:transparent;color:var(--teal);font-weight:900;padding:0}
.home-notice{margin-top:16px}
.home-flow{padding-top:42px}

.view-banner,.simulator-hero{
  position:relative;overflow:hidden;
  display:flex;align-items:flex-end;justify-content:space-between;gap:24px;
  padding:30px;margin-bottom:18px;border-radius:24px;color:white;
  background:linear-gradient(120deg,#00205b 0,#004f73 68%,#00a6ac 140%);
  box-shadow:0 18px 50px rgba(0,32,91,.14)
}
.view-banner:after,.simulator-hero:after{
  content:"";position:absolute;width:290px;height:290px;right:-120px;bottom:-220px;border-radius:50%;
  background:rgba(54,235,238,.25)
}
.view-banner>*,.simulator-hero>*{position:relative;z-index:1}
.view-banner h1,.simulator-hero h1{margin:5px 0 8px;font-size:clamp(1.8rem,4vw,3rem);line-height:1.05;color:white}
.view-banner p,.simulator-hero p{margin:0;max-width:800px;color:#d9e8f5;line-height:1.55}
.eyebrow.light{color:#6ff4f6}
.banner-status{padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.12);font-size:.72rem;font-weight:800}
.compact-banner{align-items:center}
.rich-summary{box-shadow:0 9px 30px rgba(0,32,91,.05)}
.rich-filters{box-shadow:0 9px 30px rgba(0,32,91,.05)}
.rich-gate{text-align:center;max-width:760px}
.gate-icon{width:58px;height:58px;margin:0 auto 13px;display:grid;place-items:center;border-radius:18px;background:#e8f7f8;color:var(--teal);font-size:1.5rem;font-weight:900}

/* Simulador */
.simulator-hero{align-items:center;background:linear-gradient(120deg,#001b4d 0,#002d70 55%,#00858d 120%)}
.simulator-hero-badge{
  flex:0 0 290px;padding:16px;border-radius:17px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18)
}
.simulator-hero-badge span{display:block;font-size:.65rem;font-weight:900;letter-spacing:.12em;color:#7af4f6}
.simulator-hero-badge strong{display:block;margin-top:5px;font-size:1rem}
.simulator-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0}
.sim-stat{padding:16px;border:1px solid var(--line);border-radius:16px;background:white;box-shadow:0 8px 22px rgba(0,32,91,.05)}
.sim-stat strong{display:block;color:var(--teal);font-size:1.5rem}
.sim-stat span{font-size:.72rem;color:var(--muted)}
.simulator-list{display:grid;gap:10px}
.sim-case-card{
  display:grid;grid-template-columns:85px 1fr auto;gap:18px;align-items:center;
  padding:17px;border:1px solid var(--line);border-radius:18px;background:white;
  box-shadow:0 8px 22px rgba(0,32,91,.04)
}
.sim-case-number{font-size:.65rem;font-weight:900;color:var(--teal);letter-spacing:.08em}
.sim-case-main h3{margin:7px 0 5px;color:var(--navy);font-size:1rem}
.sim-case-main p{margin:0;color:var(--muted);font-size:.76rem;line-height:1.45}
.sim-case-top{display:flex;gap:6px;flex-wrap:wrap}

.sim-workspace{
  margin-top:20px;padding:22px;border:1px solid var(--line);border-radius:22px;background:white;
  box-shadow:0 16px 42px rgba(0,32,91,.08)
}
.sim-progress-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end}
.sim-progress-head h2{margin:4px 0 0;color:var(--navy);font-size:1.35rem}
.sim-progress-value{font-size:.78rem;font-weight:900;color:var(--teal)}
.sim-progress-track{height:9px;margin:14px 0;border-radius:999px;background:#edf3f6;overflow:hidden}
.sim-progress-track span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#00b6c0,#35e1df)}
.sim-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:17px}
.sim-step{display:flex;align-items:center;gap:7px;padding:8px;border-radius:10px;background:#f5f8fb;color:#8b99a8;font-size:.65rem;font-weight:800}
.sim-step b{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#dbe4ee;color:#64748b}
.sim-step.active{background:#e9f7f8;color:var(--teal)}
.sim-step.active b{background:var(--teal);color:white}
.sim-step.done{background:#edf7e8;color:#527f36}
.sim-step.done b{background:var(--green);color:white}
.sim-layout{display:grid;grid-template-columns:320px 1fr;gap:16px}
.sim-case-context{padding:18px;border-radius:17px;background:linear-gradient(180deg,#f7fbfd,#eef7fa);border:1px solid #dceaf0}
.sim-case-tag{display:inline-flex;padding:5px 8px;border-radius:999px;background:#e5f4f7;color:var(--teal);font-size:.62rem;font-weight:900}
.sim-case-context h3{margin:12px 0 8px;color:var(--navy);font-size:1.05rem}
.sim-case-context p{margin:0;color:#5b6d7d;font-size:.78rem;line-height:1.55}
.sim-tip{margin-top:14px;padding:10px;border-left:4px solid var(--yellow);border-radius:8px;background:#fff8df;color:#6b5a16;font-size:.7rem;line-height:1.45}
.sim-question-card{padding:18px;border:1px solid var(--line);border-radius:17px}
.sim-question-kicker{color:var(--teal);font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.sim-question-card h3{margin:6px 0 8px;color:var(--navy);font-size:1.12rem;line-height:1.35}
.sim-hint{margin:0 0 13px;color:var(--muted);font-size:.72rem}
.sim-options{display:grid;gap:8px}
.sim-option{
  display:grid;grid-template-columns:34px 1fr;gap:9px;align-items:center;
  width:100%;padding:11px;text-align:left;border:1px solid var(--line);border-radius:12px;background:white;color:#334155
}
.sim-option span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#eff4f7;color:var(--navy);font-weight:900}
.sim-option b{font-size:.78rem;line-height:1.4}
.sim-option:hover:not(:disabled),.sim-option.selected{border-color:#51c8ce;background:#f0fbfb}
.sim-option.correct{border-color:#70ad47;background:#f2faee}
.sim-option.correct span{background:#70ad47;color:white}
.sim-option.wrong{border-color:#e9968e;background:#fff5f4}
.sim-option.wrong span{background:#c94a40;color:white}
.sim-option:disabled{cursor:default;opacity:1}
.sim-feedback{margin-top:13px;padding:12px;border-radius:11px}
.sim-feedback.ok{background:#eef9ea;border-left:4px solid var(--green)}
.sim-feedback.review{background:#fff7e2;border-left:4px solid var(--yellow)}
.sim-feedback strong{color:var(--navy);font-size:.8rem}
.sim-feedback p{margin:4px 0 0;font-size:.74rem;line-height:1.45}
.sim-result-card{
  display:grid;grid-template-columns:260px 1fr;gap:24px;margin-top:20px;padding:26px;
  border-radius:22px;background:white;border:1px solid var(--line);box-shadow:0 16px 42px rgba(0,32,91,.08)
}
.sim-result-score{display:grid;place-items:center;align-content:center;padding:22px;border-radius:18px;background:linear-gradient(150deg,#00205b,#00868d);color:white;text-align:center}
.sim-result-score strong{font-size:3.4rem;line-height:1}
.sim-result-score span{margin-top:7px;font-size:.68rem;color:#d9f4f5}
.sim-result-copy h2{margin:5px 0 7px;color:var(--navy)}
.sim-result-copy>p{color:var(--muted);font-size:.8rem;line-height:1.55}
.sim-result-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:14px 0}
.sim-result-grid div{padding:9px;border-radius:10px;background:#f7fafc;text-align:center}
.sim-result-grid b,.sim-result-grid span,.sim-result-grid strong{display:block}
.sim-result-grid b{color:var(--navy)}
.sim-result-grid span{font-size:.61rem;color:var(--muted)}
.sim-result-grid strong{margin-top:3px;font-size:.64rem}
.sim-result-grid .ok strong{color:#527f36}
.sim-result-grid .review strong{color:#9a6f00}

/* CTA comunitarias */
.community-ctas{
  width:min(1380px,calc(100% - 34px));margin:28px auto 0;
  display:grid;grid-template-columns:repeat(3,1fr);gap:12px
}
.community-card{
  display:grid;grid-template-columns:48px 1fr 28px;gap:12px;align-items:center;
  min-height:92px;padding:16px 18px;border-radius:18px;color:white;text-decoration:none;
  box-shadow:0 12px 30px rgba(0,32,91,.11)
}
.community-card.whatsapp{background:linear-gradient(135deg,#009b61,#12ba72)}
.community-card.register{background:linear-gradient(135deg,#003d91,#0e7ddd)}
.community-card.main-site{background:linear-gradient(135deg,#ffb600,#ffd43e);color:#00205b}
.community-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.18);font-size:1.35rem;font-weight:900}
.community-card strong{display:block;font-size:.95rem}
.community-card small{display:block;margin-top:3px;font-size:.68rem;opacity:.9}
.community-card b{font-size:1.2rem}
.rich-footer{
  margin-top:18px;padding:20px clamp(18px,4vw,58px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;
  background:linear-gradient(90deg,#001c4d,#002a65);color:#d9e7f6;border:0
}
.footer-brand{display:flex;align-items:center;gap:9px}
.footer-brand img{width:48px;height:48px;object-fit:contain}
.footer-brand strong{display:block;color:white;font-size:.84rem}
.footer-brand small{display:block;font-size:.58rem;letter-spacing:.08em}
.footer-center{font-size:.72rem}
.rich-footer>a{justify-self:end;color:#7df3f5;text-decoration:none}

@media(max-width:1150px){
  .brand-topbar{grid-template-columns:1fr auto}
  .rich-nav{grid-row:2;grid-column:1/-1;justify-content:center;overflow-x:auto}
  .home-hero{grid-template-columns:1fr}
  .home-hero-panel{max-width:760px}
  .home-modules{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:850px){
  .home-hero{padding:34px 24px}
  .home-modules{grid-template-columns:repeat(2,1fr)}
  .community-ctas{grid-template-columns:1fr}
  .simulator-summary{grid-template-columns:repeat(2,1fr)}
  .sim-case-card{grid-template-columns:1fr}
  .sim-layout,.sim-result-card{grid-template-columns:1fr}
  .sim-steps{grid-template-columns:1fr 1fr}
  .rich-footer{grid-template-columns:1fr}
  .rich-footer>a{justify-self:start}
}
@media(max-width:600px){
  .brand-logo{width:46px;height:46px}
  .brand-copy strong{font-size:.88rem}
  .brand-copy small{font-size:.52rem}
  .home-hero{margin-top:12px;border-radius:20px;padding:26px 18px}
  .home-hero h1{font-size:3.9rem}
  .home-modules{grid-template-columns:1fr}
  .hero-panel-grid{grid-template-columns:1fr}
  .view-banner,.simulator-hero{padding:22px;align-items:flex-start;flex-direction:column}
  .simulator-hero-badge{flex:0 0 auto;width:100%}
  .community-ctas{width:min(100% - 18px,1380px)}
  .shell-rich{width:min(100% - 18px,1380px)}
  .sim-result-grid{grid-template-columns:repeat(2,1fr)}
}

/* Simulador: historial y calibración */
.simulator-history{margin-top:16px}
.sim-history-card{padding:18px;border:1px solid var(--line);border-radius:18px;background:white;box-shadow:0 9px 28px rgba(0,32,91,.05)}
.sim-history-card.empty-history{border-style:dashed;background:#fbfdfe}
.sim-history-card h3{margin:4px 0 0;color:var(--navy);font-size:1rem}
.sim-history-card p{color:var(--muted);font-size:.74rem;line-height:1.5}
.sim-history-head{display:flex;justify-content:space-between;gap:12px;align-items:center}
.sim-practice-level{padding:6px 10px;border-radius:999px;background:#e9f7f8;color:var(--teal);font-size:.68rem;font-weight:900}
.sim-history-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0}
.sim-history-metrics div{padding:11px;border-radius:11px;background:#f6fafc}
.sim-history-metrics strong{display:block;color:var(--navy);font-size:1.15rem}
.sim-history-metrics span{font-size:.65rem;color:var(--muted)}
.sim-history-list{display:grid;gap:6px}
.sim-history-row{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:9px 10px;border:1px solid #e7edf3;border-radius:10px;background:#fbfdfe}
.sim-history-row strong{display:block;color:var(--navy);font-size:.75rem}
.sim-history-row span{display:block;margin-top:2px;color:var(--muted);font-size:.62rem}
.sim-history-row>b{color:var(--teal);font-size:.9rem}
.sim-history-note{margin:10px 0 0!important;font-size:.66rem!important}
.sim-calibration{margin-top:14px;padding:14px;border:1px solid #d8e8ee;border-radius:13px;background:#f8fcfd}
.sim-calibration.waiting{background:#fbfcfd;border-style:dashed}
.sim-calibration-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.sim-calibration h4{margin:3px 0 0;color:var(--navy);font-size:.85rem}
.sim-calibration>p{margin:7px 0 11px;color:var(--muted);font-size:.7rem;line-height:1.45}
.sim-calibration-bars{display:grid;gap:9px}
.sim-cal-row{padding:8px;border-radius:10px}
.sim-cal-row.mine{background:#edf8f9}
.sim-cal-row.reference{box-shadow:inset 3px 0 0 var(--green)}
.sim-cal-label{display:flex;justify-content:space-between;gap:12px;font-size:.69rem}
.sim-cal-label>span{max-width:86%}
.sim-cal-label b{color:var(--navy)}
.sim-cal-label strong{color:var(--navy)}
.sim-cal-track{height:7px;margin-top:5px;border-radius:999px;background:#e4edf2;overflow:hidden}
.sim-cal-track span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#00aeb7,#37d7d3)}
.sim-cal-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:4px}
.sim-cal-meta span{font-size:.58rem;font-weight:800;color:var(--teal)}
.sim-result-callout{display:grid;gap:3px;margin:12px 0;padding:10px 12px;border-left:4px solid var(--teal);border-radius:8px;background:#eef9fa}
.sim-result-callout strong{color:var(--navy);font-size:.75rem}
.sim-result-callout span{color:var(--muted);font-size:.68rem;line-height:1.4}
@media(max-width:700px){
  .sim-history-metrics{grid-template-columns:repeat(2,1fr)}
  .sim-history-head,.sim-calibration-head{align-items:flex-start;flex-direction:column}
}


/* ===== Refinamiento visual premium · identidad oficial La Movida de SST+ ===== */
:root{
  --teal-bright:#08cdd0;
  --teal-deep:#006f79;
  --navy-2:#061f51;
  --navy-3:#0a2e68;
  --aqua:#57f0ef;
  --gold:#ffc400;
  --surface:#ffffff;
  --soft:#f3f8fb;
  --soft-blue:#eaf4fb;
  --premium-shadow:0 22px 58px rgba(0,32,91,.12);
}
body{font-family:"Outfit",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input,select,textarea{font-family:inherit}
.ui-icon,.card-icon,.cta-icon{width:1.15em;height:1.15em;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.card-icon{width:24px;height:24px}
.cta-icon{width:25px;height:25px}

.brand-topbar{
  min-height:86px;
  padding-top:9px;padding-bottom:9px;
  border-bottom:1px solid rgba(0,32,91,.08);
  box-shadow:0 8px 32px rgba(0,32,91,.06);
}
.brand-rich{transition:transform .2s ease}
.brand-rich:hover{transform:translateY(-1px)}
.brand-logo{
  width:64px;height:64px;
  filter:drop-shadow(0 8px 14px rgba(0,32,91,.16))
}
.brand-copy strong{font-size:1.12rem;font-weight:900;letter-spacing:-.02em}
.brand-copy small{font-weight:800;color:#36527d}
.rich-nav .nav-btn{
  position:relative;
  gap:7px;padding:12px 11px;
  font-weight:800;
  transition:background .2s ease,color .2s ease,transform .2s ease
}
.rich-nav .nav-btn:hover{transform:translateY(-1px)}
.rich-nav .nav-btn.active:after{
  content:"";position:absolute;left:16%;right:16%;bottom:-3px;height:3px;border-radius:99px;
  background:linear-gradient(90deg,var(--teal-bright),#0070bd)
}
.account-button{
  min-height:43px;padding:10px 16px;
  background:linear-gradient(180deg,#f8fcff,#eaf4fb);
  border:1px solid #d7e6f1;
  box-shadow:0 6px 16px rgba(0,32,91,.06)
}

.premium-hero{
  min-height:520px;
  grid-template-columns:1.04fr .96fr;
  gap:20px;
  padding:58px 58px 48px;
  background:
    radial-gradient(circle at 82% 24%,rgba(0,238,239,.28),transparent 20rem),
    radial-gradient(circle at 65% 120%,rgba(0,205,208,.42),transparent 30rem),
    linear-gradient(122deg,#00163f 0%,#00265f 50%,#005d77 100%);
  box-shadow:0 30px 80px rgba(0,32,91,.22);
  isolation:isolate
}
.premium-hero:before{
  width:630px;height:630px;right:-250px;bottom:-420px;
  background:linear-gradient(180deg,rgba(68,240,241,.16),rgba(0,123,133,.05));
  border:1px solid rgba(255,255,255,.08)
}
.premium-hero:after{
  width:500px;height:500px;left:34%;bottom:-410px;
  background:rgba(255,255,255,.035)
}
.home-hero-copy{align-self:center}
.product-kicker{
  background:rgba(14,218,220,.12);
  border:1px solid rgba(117,247,247,.36);
  letter-spacing:.14em
}
.home-hero h1{
  margin-top:18px;
  font-size:clamp(4.6rem,8vw,7.8rem);
  line-height:.82;
  text-shadow:0 6px 30px rgba(0,0,0,.18)
}
.home-hero h1 span{
  color:#46eef0;
  background:linear-gradient(180deg,#71fbfb,#08cdd0);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  text-shadow:none
}
.home-hero h2{max-width:720px;font-weight:800;letter-spacing:-.015em}
.hero-slogan{
  background:linear-gradient(180deg,#ffdd4b 0%,#ffb600 100%);
  border:1px solid rgba(255,255,255,.5);
  box-shadow:0 10px 26px rgba(255,182,0,.26),inset 0 1px 0 rgba(255,255,255,.7)
}
.premium-points span{display:flex;align-items:center;gap:7px}
.premium-points i{
  width:18px;height:18px;border-radius:50%;display:inline-grid;place-items:center;
  background:linear-gradient(180deg,#5df3f0,#12c8cd);
  box-shadow:0 0 0 4px rgba(60,229,231,.08)
}
.premium-points i:after{content:"✓";font-style:normal;color:#003759;font-size:.7rem;font-weight:900}
.hero-main-btn,.hero-lab-btn{
  border-radius:999px!important;
  padding:12px 18px!important;
  min-width:178px;
  display:inline-flex;align-items:center;justify-content:space-between;gap:14px
}
.hero-main-btn{background:white!important;color:var(--navy)!important;box-shadow:0 12px 30px rgba(0,0,0,.16)}
.hero-lab-btn{background:linear-gradient(180deg,#ffdb46,#ffb600)!important;color:#00205b!important;box-shadow:0 12px 26px rgba(255,182,0,.22)}
.hero-main-btn b,.hero-lab-btn b{font-size:1rem}

.hero-visual{
  position:relative;
  min-height:400px;
  align-self:center;
  display:grid;place-items:center
}
.hero-main-logo{
  position:relative;z-index:4;
  width:min(330px,72%);
  aspect-ratio:1;
  object-fit:contain;
  filter:drop-shadow(0 28px 42px rgba(0,0,0,.25));
  animation:logoFloat 5.5s ease-in-out infinite
}
.hero-logo-halo{
  position:absolute;z-index:1;
  width:68%;aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle,rgba(53,237,239,.28) 0%,rgba(7,197,204,.13) 42%,transparent 72%);
  filter:blur(4px)
}
.hero-orbit{
  position:absolute;z-index:0;border-radius:50%;
  border:1px solid rgba(126,247,247,.18)
}
.orbit-one{width:83%;aspect-ratio:1}
.orbit-two{width:96%;aspect-ratio:1;border-style:dashed;opacity:.55}
.hero-visual-caption{
  position:absolute;z-index:5;left:50%;bottom:2%;transform:translateX(-50%);
  width:max-content;max-width:78%;
  padding:10px 16px;border:1px solid rgba(255,255,255,.18);border-radius:999px;
  background:rgba(0,21,59,.5);backdrop-filter:blur(10px);
  text-align:center;box-shadow:0 10px 24px rgba(0,0,0,.12)
}
.hero-visual-caption strong{display:block;font-size:.74rem;color:white}
.hero-visual-caption span{display:block;margin-top:1px;font-size:.6rem;color:#bfe8ef}
.hero-float-card{
  position:absolute;z-index:6;
  min-width:86px;padding:10px 12px;border-radius:15px;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.93);
  box-shadow:0 16px 34px rgba(0,20,60,.18);
  color:var(--navy);
  backdrop-filter:blur(10px)
}
.hero-float-card span{display:block;color:var(--teal);font-size:1.35rem;font-weight:900;line-height:1}
.hero-float-card small{display:block;margin-top:3px;color:#65768c;font-size:.58rem;font-weight:800}
.hero-float-a{left:2%;top:14%}
.hero-float-b{right:0;top:29%}
.hero-float-c{left:5%;bottom:21%}
@keyframes logoFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-8px) rotate(.6deg)}}

.home-modules{gap:14px;margin-top:20px}
.module-card{
  overflow:hidden;
  min-height:218px;
  padding:20px;
  border:1px solid rgba(0,32,91,.08);
  box-shadow:0 14px 34px rgba(0,32,91,.07);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease
}
.module-card:before{
  content:"";position:absolute;left:0;right:0;top:0;height:4px;
  background:var(--module-accent,#0aa6b0)
}
.module-card:hover{transform:translateY(-4px);box-shadow:0 22px 48px rgba(0,32,91,.12);border-color:rgba(0,123,133,.18)}
.module-card.blue{--module-accent:#2499e5}
.module-card.purple{--module-accent:#7959dd}
.module-card.yellow{--module-accent:#ffb600}
.module-card.green{--module-accent:#53aa57}
.module-card.teal{--module-accent:#08b7be}
.module-icon{width:48px;height:48px;border-radius:15px}
.module-card h3{font-size:1.02rem;font-weight:900}
.module-card button{
  display:inline-flex;align-items:center;gap:6px;
  color:var(--navy);font-size:.75rem
}
.module-card button:hover{color:var(--teal)}
.home-notice{
  border:1px solid rgba(0,32,91,.08);
  border-left:5px solid var(--yellow);
  box-shadow:0 10px 28px rgba(0,32,91,.05)
}
.home-flow .flow-card{
  position:relative;overflow:hidden;
  box-shadow:0 9px 24px rgba(0,32,91,.045);
  transition:transform .2s ease,box-shadow .2s ease
}
.home-flow .flow-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(0,32,91,.08)}
.home-flow .flow-card>span{
  background:linear-gradient(180deg,#e9fbfb,#d9f2f4);
  box-shadow:inset 0 0 0 1px rgba(0,123,133,.08)
}

.view-banner,.simulator-hero{
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 24px 58px rgba(0,32,91,.16)
}
.view-banner:before,.simulator-hero:before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(100deg,rgba(255,255,255,.05),transparent 28%,rgba(85,240,239,.06) 72%,transparent)
}
.rich-summary,.analytics-kpi,.analytics-card,.sim-stat,.sim-case-card,.sim-workspace,.sim-result-card,.case-card,.workspace-card,.factor-card{
  border-color:rgba(0,32,91,.09);
  box-shadow:0 12px 30px rgba(0,32,91,.055)
}
.case-card,.sim-case-card,.factor-card{
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease
}
.case-card:hover,.sim-case-card:hover,.factor-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 38px rgba(0,32,91,.09);
  border-color:rgba(0,123,133,.17)
}
.btn{
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease
}
.btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 18px rgba(0,32,91,.1)}
.btn.primary{background:linear-gradient(180deg,#063477,#00205b)}
.btn.teal{background:linear-gradient(180deg,#0a9ea7,#007b85)}
.filter-chip{transition:all .17s ease}
.filter-chip:hover{border-color:#7fc8cd;background:#f0fbfb;color:var(--teal)}
.filter-chip.active{background:linear-gradient(180deg,#0a9da6,#007b85);box-shadow:0 7px 16px rgba(0,123,133,.18)}

.community-ctas{gap:14px}
.community-card{
  position:relative;overflow:hidden;
  min-height:96px;
  border:1px solid rgba(255,255,255,.18);
  transition:transform .2s ease,box-shadow .2s ease
}
.community-card:after{
  content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-80px;bottom:-100px;background:rgba(255,255,255,.12)
}
.community-card>*{position:relative;z-index:1}
.community-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(0,32,91,.17)}
.community-icon{border:1px solid rgba(255,255,255,.23)}
.rich-footer{
  border-top:1px solid rgba(255,255,255,.1);
  box-shadow:0 -10px 30px rgba(0,32,91,.05)
}
.footer-brand img{filter:drop-shadow(0 6px 12px rgba(0,0,0,.18))}

@media(max-width:1150px){
  .premium-hero{grid-template-columns:1fr;padding:42px 34px}
  .hero-visual{min-height:360px}
  .hero-main-logo{width:min(310px,68%)}
}
@media(max-width:760px){
  .premium-hero{padding:30px 20px;border-radius:22px}
  .home-hero h1{font-size:4.2rem}
  .hero-visual{min-height:320px}
  .hero-main-logo{width:min(250px,68%)}
  .hero-float-card{min-width:72px;padding:8px 10px}
  .hero-float-a{left:0}
  .hero-float-b{right:0}
  .hero-float-c{left:2%}
}
@media(max-width:520px){
  .brand-copy{display:none}
  .brand-logo{width:54px;height:54px}
  .premium-hero{padding:25px 16px}
  .home-hero h1{font-size:3.45rem}
  .home-hero h2{font-size:1.04rem}
  .hero-slogan{font-size:1rem;padding:7px 13px}
  .premium-points{gap:10px;display:grid}
  .hero-visual{min-height:275px}
  .hero-main-logo{width:210px}
  .hero-visual-caption{bottom:-2%;max-width:90%;padding:8px 12px}
  .hero-float-card span{font-size:1rem}
  .hero-float-card small{font-size:.52rem}
}


/* ===== Logo oficial de La Movida de SST+ en toda la aplicación ===== */
.brand-rich{
  position:relative;
  padding:4px 10px 4px 5px;
  border-radius:18px;
}
.brand-rich:before{
  content:"";
  position:absolute;
  left:-2px;
  top:50%;
  width:76px;
  height:76px;
  transform:translateY(-50%);
  border-radius:50%;
  background:radial-gradient(circle,rgba(62,238,239,.24) 0%,rgba(0,123,133,.1) 48%,transparent 72%);
  pointer-events:none;
}
.brand-logo{
  position:relative;
  z-index:1;
  width:70px;
  height:70px;
  object-fit:contain;
  border-radius:50%;
  filter:drop-shadow(0 9px 16px rgba(0,32,91,.24));
  transition:transform .25s ease,filter .25s ease;
}
.brand-rich:hover .brand-logo{
  transform:scale(1.045) rotate(-1deg);
  filter:drop-shadow(0 12px 22px rgba(0,123,133,.28));
}
.brand-copy{position:relative;z-index:1}
.brand-copy strong{font-weight:900;letter-spacing:-.035em}
.brand-copy small{letter-spacing:.105em}

.hero-main-logo{
  border-radius:50%;
  filter:
    drop-shadow(0 28px 42px rgba(0,0,0,.27))
    drop-shadow(0 0 24px rgba(38,232,234,.18));
}
.hero-logo-halo{
  width:74%;
  background:
    radial-gradient(circle,rgba(79,244,244,.34) 0%,rgba(8,205,208,.18) 43%,rgba(0,62,91,.03) 64%,transparent 75%);
}

.view-banner:after,
.simulator-hero:after{
  content:"";
  position:absolute;
  z-index:0;
  width:190px;
  height:190px;
  right:22px;
  bottom:-42px;
  border-radius:50%;
  background:url("https://raw.githubusercontent.com/movidasst/principal/main/logo-oficial-movida-sst-plus.png") center/contain no-repeat;
  opacity:.13;
  filter:drop-shadow(0 12px 28px rgba(0,0,0,.18));
  pointer-events:none;
}
.view-banner > *,
.simulator-hero > *{
  position:relative;
  z-index:1;
}
.rich-gate{
  position:relative;
  overflow:hidden;
}
.rich-gate:after{
  content:"";
  position:absolute;
  width:150px;
  height:150px;
  right:-36px;
  bottom:-36px;
  background:url("https://raw.githubusercontent.com/movidasst/principal/main/logo-oficial-movida-sst-plus.png") center/contain no-repeat;
  opacity:.055;
  pointer-events:none;
}
.footer-brand img{
  width:60px;
  height:60px;
  object-fit:contain;
  border-radius:50%;
  filter:drop-shadow(0 8px 15px rgba(0,0,0,.25));
}
@media(max-width:600px){
  .brand-rich:before{width:60px;height:60px}
  .brand-logo{width:56px;height:56px}
  .view-banner:after,.simulator-hero:after{width:132px;height:132px;right:4px;bottom:-28px;opacity:.1}
}


/* ===== Acceso de integrante · estilo común Movida de SST+ ===== */
.login-modal{
  width:min(500px,100%);
  padding:0;
  overflow:hidden;
  border:1px solid rgba(0,32,91,.08);
  border-radius:24px;
  box-shadow:0 34px 100px rgba(0,32,91,.28);
}
.login-modal .modal-head{
  position:relative;
  margin:0;
  padding:22px 24px 18px;
  background:linear-gradient(135deg,#001c4d 0%,#003c72 62%,#007b85 130%);
  color:white;
}
.login-modal .modal-head:after{
  content:"";
  position:absolute;
  width:145px;
  height:145px;
  right:-58px;
  top:-58px;
  border-radius:50%;
  background:rgba(64,235,236,.13);
  pointer-events:none;
}
.login-modal .modal-head .eyebrow{
  color:#70f1f2;
  font-size:.66rem;
  letter-spacing:.12em;
}
.login-modal .modal-head h2{
  margin-top:5px;
  color:white;
  font-size:1.65rem;
  font-weight:900;
  letter-spacing:-.025em;
}
.login-modal .icon-button{
  position:relative;
  z-index:2;
  color:white;
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.18);
}
.login-modal #modal-body{
  padding:22px 24px 24px;
  background:
    radial-gradient(circle at 95% 0,rgba(8,205,208,.08),transparent 14rem),
    white;
}
.access-brand-panel{
  display:grid;
  justify-items:center;
  text-align:center;
  margin-bottom:18px;
}
.access-logo-wrap{
  position:relative;
  width:106px;
  height:106px;
  display:grid;
  place-items:center;
  margin-top:-6px;
}
.access-logo-wrap:before{
  content:"";
  position:absolute;
  inset:5px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(65,236,237,.24),rgba(0,123,133,.08) 55%,transparent 72%);
}
.access-logo-wrap img{
  position:relative;
  z-index:1;
  width:94px;
  height:94px;
  object-fit:contain;
  border-radius:50%;
  filter:drop-shadow(0 10px 18px rgba(0,32,91,.22));
}
.access-brand-panel p{
  max-width:390px;
  margin:10px 0 0;
  color:#607087;
  font-size:.82rem;
  line-height:1.55;
}
.access-form{
  display:grid;
  gap:12px;
}
.access-field{
  display:grid;
  gap:6px;
}
.access-field span{
  color:var(--navy);
  font-size:.76rem;
  font-weight:800;
}
.access-field input,
.access-field select{
  min-height:48px;
  border-radius:12px;
  border:1px solid #d8e3ec;
  background:#fbfdff;
  font-size:.88rem;
}
.access-field input:focus,
.access-field select:focus{
  background:white;
  border-color:#3dbec4;
  box-shadow:0 0 0 4px rgba(0,123,133,.09);
}
.access-submit{
  width:100%;
  min-height:50px;
  margin-top:3px;
  border-radius:12px;
  font-size:.86rem;
  font-weight:900;
  background:linear-gradient(180deg,#0b8790,#007b85)!important;
  box-shadow:0 11px 24px rgba(0,123,133,.18);
}
.access-register{
  margin:2px 0 0;
  text-align:center;
  color:#718096;
  font-size:.72rem;
  line-height:1.45;
}
.access-register a{
  color:var(--teal);
  font-weight:900;
  text-decoration:none;
}
.access-register a:hover{text-decoration:underline}

@media(max-width:560px){
  .login-modal{border-radius:18px}
  .login-modal .modal-head{padding:19px 18px 15px}
  .login-modal #modal-body{padding:18px}
  .access-logo-wrap{width:92px;height:92px}
  .access-logo-wrap img{width:82px;height:82px}
}


/* ===== Niveles de acceso y administración PIF-SST ===== */
.access-password-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}
.password-toggle{
  min-height:48px;padding:0 12px;border:1px solid #d8e3ec;border-radius:12px;
  background:#f6fafc;color:var(--teal);font-weight:800
}
.access-plan-card{
  display:grid;justify-items:center;text-align:center;max-width:620px;margin:0 auto;
}
.access-plan-icon{
  width:62px;height:62px;display:grid;place-items:center;margin-bottom:12px;border-radius:50%;
  background:linear-gradient(180deg,#ffdb4d,#ffb600);color:#00205b;font-size:1.7rem;font-weight:900;
  box-shadow:0 12px 26px rgba(255,182,0,.22)
}
.access-plan-card h2{margin:5px 0 8px;color:var(--navy)}
.access-plan-card>p{max-width:540px}
.access-plan-features{display:grid;gap:6px;margin:10px 0 15px}
.access-plan-features span{font-size:.76rem;color:var(--muted)}
.access-plan-features span:before{content:"✓";margin-right:6px;color:var(--teal);font-weight:900}
.access-request-state{
  display:inline-flex;padding:8px 11px;border-radius:999px;background:#fff5d8;
  color:#7d5d00;font-size:.72rem;font-weight:900
}
.account-access-card{
  padding:14px;border:1px solid var(--line);border-radius:14px;background:#f8fbfd
}
.account-access-card h3{margin:4px 0 7px;color:var(--navy)}
.account-access-card p{margin:8px 0 0;color:var(--muted);font-size:.78rem;line-height:1.5}
.account-access-level{
  display:inline-flex;padding:5px 9px;border-radius:999px;font-size:.68rem;font-weight:900
}
.account-access-level.free{background:#eef3f7;color:#5e6c7c}
.account-access-level.full{background:#e8f7f2;color:#167553}
.account-actions{margin-top:13px}

.admin-banner{background:linear-gradient(120deg,#001841,#003067 58%,#00747e 120%)}
.admin-kpis{
  display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px
}
.admin-kpi{
  padding:16px;border:1px solid var(--line);border-radius:15px;background:white;
  box-shadow:0 8px 24px rgba(0,32,91,.05)
}
.admin-kpi strong{display:block;color:var(--teal);font-size:1.6rem}
.admin-kpi span{font-size:.72rem;color:var(--muted)}
.admin-card{
  margin-top:14px;padding:18px;border:1px solid var(--line);border-radius:18px;background:white;
  box-shadow:0 9px 28px rgba(0,32,91,.05)
}
.admin-card-head h2{margin:4px 0 0;color:var(--navy);font-size:1.05rem}
.admin-search{display:grid;grid-template-columns:1fr auto;gap:9px;margin:14px 0}
.admin-list{display:grid;gap:8px}
.admin-user-row{
  display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;
  padding:12px;border:1px solid #e2eaf0;border-radius:13px;background:#fbfdfe
}
.admin-user-main strong{display:block;color:var(--navy);font-size:.83rem}
.admin-user-main>span{display:block;margin:2px 0 6px;color:var(--muted);font-size:.68rem}
.admin-user-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.admin-user-actions .btn{font-size:.67rem;padding:7px 9px}
.pill.yellow{background:#fff4d2;color:#7d5d00}
@media(max-width:800px){
  .admin-kpis{grid-template-columns:repeat(2,1fr)}
  .admin-user-row{grid-template-columns:1fr}
  .admin-user-actions{justify-content:flex-start}
}
@media(max-width:520px){
  .admin-search{grid-template-columns:1fr}
  .admin-kpis{grid-template-columns:1fr 1fr}
}

.module-access{
  position:absolute;top:18px;right:16px;
  padding:5px 8px;border-radius:999px;font-size:.58rem;font-weight:900;
  letter-spacing:.02em
}
.module-access.free{background:#e8f8f1;color:#167553}
.module-access.full{background:#fff2c6;color:#755800}


/* ===== Acceso administrativo separado, igual a Gestión ===== */
.topbar-access-actions{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:8px;
}
.admin-entry-button{
  min-height:43px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:10px 14px;
  border:1px solid #d8e3ec;
  border-radius:999px;
  background:#fff;
  color:var(--navy);
  font-size:.75rem;
  font-weight:900;
  box-shadow:0 6px 16px rgba(0,32,91,.05);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease;
}
.admin-entry-button:hover{
  transform:translateY(-1px);
  border-color:#86cbd0;
  color:var(--teal);
  box-shadow:0 9px 22px rgba(0,32,91,.09);
}
.admin-entry-button.active{
  color:#fff;
  border-color:var(--teal);
  background:linear-gradient(180deg,#0b919a,#007b85);
}
.admin-login-modal .modal-head{
  background:linear-gradient(135deg,#00183e,#002f69 62%,#006d77 130%);
}
.admin-login-brand{
  display:grid;
  justify-items:center;
  text-align:center;
  margin-bottom:18px;
}
.admin-login-shield{
  width:76px;
  height:76px;
  display:grid;
  place-items:center;
  margin:-4px 0 10px;
  border-radius:22px;
  color:#fff;
  background:linear-gradient(145deg,#00205b,#008b93);
  box-shadow:0 14px 30px rgba(0,32,91,.2),inset 0 1px 0 rgba(255,255,255,.2);
}
.admin-shield-icon{
  width:38px;
  height:38px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.admin-login-brand p{
  max-width:390px;
  margin:8px 0 0;
  color:#607087;
  font-size:.82rem;
  line-height:1.5;
}
.admin-login-error{
  padding:10px 12px;
  border:1px solid #f2c7c3;
  border-radius:10px;
  background:#fff3f2;
  color:#9e3028;
  font-size:.72rem;
  font-weight:700;
}
@media(max-width:900px){
  .topbar-access-actions{grid-column:2;grid-row:1}
}
@media(max-width:650px){
  .topbar-access-actions{gap:5px}
  .admin-entry-button{padding:9px 10px;font-size:.66rem}
  .admin-entry-button .ui-icon{display:none}
  .account-button{padding:9px 11px;font-size:.68rem}
}

.admin-banner-actions{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.admin-logout-button{
  min-height:36px!important;
  padding:8px 11px!important;
  font-size:.68rem!important;
}
@media(max-width:700px){
  .admin-banner-actions{justify-content:flex-start}
}


/* ===== Significado visible de PIF ===== */
.pif-meaning{
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.pif-meaning>strong{
  display:grid;
  place-items:center;
  min-width:48px;
  min-height:36px;
  padding:5px 10px;
  border-radius:10px;
  font-size:.86rem;
  font-weight:900;
  letter-spacing:.05em;
}
.pif-meaning>span{
  display:grid;
  gap:1px;
  line-height:1.2;
}
.pif-meaning b{
  font-size:.74rem;
  font-weight:800;
}
.pif-meaning small{
  font-size:.66rem;
  font-weight:600;
}
.hero-pif-meaning{
  margin:0 0 14px;
  padding:8px 11px 8px 8px;
  border:1px solid rgba(112,241,242,.22);
  border-radius:13px;
  background:rgba(255,255,255,.07);
  backdrop-filter:blur(7px);
}
.hero-pif-meaning>strong{
  background:linear-gradient(180deg,#58f0ef,#10cbd0);
  color:#002c54;
  box-shadow:0 6px 16px rgba(0,205,208,.2);
}
.hero-pif-meaning b{color:#fff}
.hero-pif-meaning small{color:#cce9f2}
.banner-pif-meaning{
  margin:8px 0 10px;
  padding:7px 10px 7px 7px;
  border-radius:12px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.14);
}
.banner-pif-meaning>strong{
  min-width:44px;
  min-height:32px;
  background:#52ecec;
  color:#003259;
}
.banner-pif-meaning b{color:#fff}
.banner-pif-meaning small{color:#d8eff5}
@media(max-width:560px){
  .pif-meaning{align-items:flex-start}
  .pif-meaning>strong{min-width:44px}
  .pif-meaning b{font-size:.69rem}
  .pif-meaning small{font-size:.61rem}
}


/* ===== Enlace al artículo técnico sobre PIF ===== */
.article-cta{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  border-radius:14px;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.article-cta:hover{
  transform:translateY(-2px);
}
.article-cta-icon{
  flex:0 0 auto;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#0a66c2;
  color:#fff;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:-.02em;
}
.article-cta>span:nth-child(2){
  display:grid;
  gap:1px;
  min-width:0;
}
.article-cta strong{
  font-size:.75rem;
  font-weight:900;
}
.article-cta small{
  font-size:.64rem;
  line-height:1.35;
}
.article-cta>b{
  margin-left:auto;
  flex:0 0 auto;
  font-size:.7rem;
  font-weight:900;
}
.hero-article-cta{
  width:min(590px,100%);
  margin:0 0 14px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(8px);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  color:white;
}
.hero-article-cta:hover{
  border-color:rgba(108,239,240,.42);
  background:rgba(255,255,255,.12);
  box-shadow:0 15px 30px rgba(0,0,0,.12);
}
.hero-article-cta strong{color:#fff}
.hero-article-cta small{color:#cfe8f2}
.hero-article-cta>b{color:#6ff4f6}
.taxonomy-article-cta{
  margin:0 0 14px;
  padding:13px 14px;
  border:1px solid #dbe7ef;
  background:linear-gradient(180deg,#ffffff,#f8fbfd);
  box-shadow:0 8px 22px rgba(0,32,91,.045);
  color:var(--navy);
}
.taxonomy-article-cta:hover{
  border-color:#a9d4d8;
  box-shadow:0 13px 30px rgba(0,32,91,.08);
}
.taxonomy-article-cta small{color:var(--muted)}
.taxonomy-article-cta>b{color:var(--teal)}
@media(max-width:620px){
  .article-cta{align-items:flex-start}
  .article-cta>b{font-size:.62rem}
  .taxonomy-article-cta>b{max-width:76px;text-align:right}
}
