
.s05{background:#f3f0e9;color:#17223d;padding:clamp(48px,8vw,115px) var(--gutter);scroll-margin-top:85px}
.s05-intro{max-width:1300px;margin:0 auto clamp(30px,5vw,60px)}
.s05-eyebrow,.s05-label{font:700 12px/1.4 system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#b54613;margin:0 0 18px}
.s05-intro h2{font:750 clamp(36px,6.2vw,94px)/1 system-ui,sans-serif;letter-spacing:-.065em;margin:0;max-width:1050px}
.s05-intro h2 em{font:italic 400 1em/1.02 Georgia,serif;color:#6546b9}
.s05-intro>p:last-child{font:400 clamp(15px,1.6vw,22px)/1.6 system-ui,sans-serif;color:#51586c;margin:20px 0 0}
.s05-lab{max-width:1300px;margin:auto;position:relative;background-color:#ece9df;background-image:linear-gradient(#38496c16 1px,transparent 1px),linear-gradient(90deg,#38496c16 1px,transparent 1px);background-size:44px 44px;border:1px solid #d6d1c8;padding:clamp(18px,4vw,52px);border-radius:8px}
.s05-stage{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);align-items:center;gap:clamp(20px,4vw,64px);min-height:clamp(300px,38vw,510px)}
.s05-stage[hidden],.s05-tabs[hidden]{display:none}
.s05-visual{position:relative;min-width:0;aspect-ratio:400/350;display:grid;place-items:center;overflow:hidden}
.s05-guides{position:absolute;width:100%;height:100%;fill:none;stroke:#63718b;stroke-width:1.4}
.s05-symbol{position:absolute;width:49%;height:auto;left:23%;top:15%;filter:drop-shadow(0 7px 12px #302b4d18)}
.s05-annotation{position:absolute;bottom:3%;left:4%;font:650 9px/1.3 system-ui,sans-serif;letter-spacing:.15em;color:#515a70}
.s05-copy{min-width:0}.s05-copy h3{font:750 clamp(32px,4.7vw,74px)/.99 system-ui,sans-serif;letter-spacing:-.06em;margin:0;color:#17223d}
.s05-copy .s05-label{color:#b54613;letter-spacing:.07em}
.s05-rule{display:block;width:70%;max-width:240px;height:3px;background:#ed681f;margin:22px 0}
.s05-copy>p:not(.s05-label){font:400 clamp(15px,1.55vw,22px)/1.5 system-ui,sans-serif;color:#48546c;margin:0 0 14px}
.s05-copy .s05-detail{font-size:clamp(13px,1.2vw,18px)!important;max-width:34ch}
.s05-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-radius:5px;overflow:hidden;background:#17223d;margin-top:18px}
.s05-tabs button{min-width:0;border:0;border-bottom:4px solid transparent;background:transparent;color:#d1d7e3;padding:15px 5px;font:500 clamp(12px,1.4vw,18px)/1.3 system-ui,sans-serif;cursor:pointer}
.s05-tabs button[aria-pressed=true]{border-bottom-color:#ff7131;color:#fff;background:#21304c}
.s05-tabs button:hover{background:#2d3b56}.s05-tabs button:focus-visible{outline:2px solid #ffb176;outline-offset:-4px}
.s05-note{font:400 11px/1.5 system-ui,sans-serif;color:#545d70;margin:14px 0 0}
.s05-language{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:8%}
.s05-type{font:800 clamp(80px,15vw,220px)/.8 system-ui,sans-serif;letter-spacing:-.09em;color:#263559;position:relative}
.s05-type span{display:block;font:650 9px/1.5 system-ui,sans-serif;letter-spacing:.14em;margin-top:20px}
.s05-color-row{display:flex;gap:5px;width:100%;height:clamp(26px,5vw,58px);margin-top:22px}
.s05-color-row i{flex:1;background:#d6c5af}.s05-color-row i:nth-child(2){background:#6427ec}.s05-color-row i:nth-child(3){background:#17223d}.s05-color-row i:nth-child(4){background:#ed681f}
.s05-type-rule{width:100%;height:1px;background:#69778d;margin-top:20px}
.s05-sheet{position:absolute;width:45%;height:69%;box-shadow:0 12px 30px #17223d22;top:11%;left:20%;background:#faf7ef}
.s05-sheet-back{transform:rotate(11deg) translate(30%,3%);background:#6427ec}
.s05-sheet-front{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7%;padding:7%;transform:rotate(-6deg)}
.s05-sheet-front img{width:45%;height:auto}.s05-sheet-front b{font:700 clamp(7px,1vw,14px)/1 system-ui,sans-serif;color:#17223d}.s05-sheet-front i{height:2px;width:100%;background:#8c94a5}.s05-sheet-front i:last-child{width:64%;background:#ec6c28}
.s05-system-note{position:absolute;right:5%;bottom:14%;display:flex;align-items:center;gap:9px;background:#17223d;color:#fff;padding:12px;box-shadow:0 6px 20px #17223d26}.s05-system-note b{font:750 clamp(17px,3vw,36px)/1 system-ui,sans-serif;color:#f9ab6a}.s05-system-note span{font:650 8px/1.5 system-ui,sans-serif;letter-spacing:.1em}
.s05-motion .s05-guides{animation:s05-guide .85s ease both}.s05-motion .s05-symbol{animation:s05-assemble .8s .1s cubic-bezier(.2,.75,.2,1) both}
.s05-motion .s05-copy h3,.s05-motion .s05-type,.s05-motion .s05-system-note{animation:s05-rise .65s .15s both}
.s05-motion .s05-rule,.s05-motion .s05-type-rule{animation:s05-line .55s .2s both;transform-origin:left}
.s05-motion .s05-color-row i{animation:s05-rise .6s both}.s05-motion .s05-color-row i:nth-child(2){animation-delay:.1s}.s05-motion .s05-color-row i:nth-child(3){animation-delay:.2s}.s05-motion .s05-color-row i:nth-child(4){animation-delay:.3s}
.s05-motion .s05-sheet-front{animation:s05-front .8s both}.s05-motion .s05-sheet-back{animation:s05-back .8s both}
@keyframes s05-guide{from{opacity:0;stroke-dashoffset:65;transform:scale(.93)}to{opacity:1;stroke-dashoffset:0;transform:none}}
@keyframes s05-assemble{from{opacity:0;transform:scale(.88) translateY(14px)}to{opacity:1;transform:none}}
@keyframes s05-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes s05-line{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes s05-front{from{opacity:0;transform:rotate(-16deg) translateX(-15%)}to{opacity:1;transform:rotate(-6deg)}}
@keyframes s05-back{from{opacity:0;transform:rotate(0deg)}to{opacity:1;transform:rotate(11deg) translate(30%,3%)}}
@media(max-width:700px){.s05-stage{grid-template-columns:1fr;gap:12px;min-height:0}.s05-visual{width:100%;max-width:360px;justify-self:center}.s05-copy h3{font-size:clamp(32px,9vw,54px)}.s05-lab{background-size:30px 30px}.s05-tabs button{padding:12px 2px}.s05-tabs button span{display:block}.s05-type{font-size:clamp(85px,26vw,155px)}}
@media(prefers-reduced-motion:reduce){.s05 *{animation:none!important;transition:none!important}}

@media(min-width:701px) and (max-height:760px){.s05-lab{padding:22px}.s05-stage{min-height:0;height:clamp(275px,53vh,380px)}.s05-visual{width:100%;height:100%;max-width:435px;max-height:100%;aspect-ratio:400/350;justify-self:center}.s05-copy h3{font-size:clamp(30px,4.2vw,60px)}.s05-copy .s05-label{margin-bottom:12px}.s05-rule{margin:14px 0}.s05-copy>p:not(.s05-label){margin-bottom:9px}.s05-tabs{margin-top:12px}.s05-tabs button{padding:12px 5px}}

/* S05: contraste explícito sobre fondo marfil, independiente del tema oscuro global. */
.s05{color-scheme:light}.s05 #s05-title{color:#17223d}.s05 #s05-title em{color:#6546b9}
