:root{color-scheme:light;--ink:#252632;--muted:#626673;--accent:#a52371;--accent-dark:#841b5a;--tint:#fbf1f7;--line:#e2e4ea;--paper:#f6f7fa;--white:#fff;--radius:18px;--focus:#784aaf}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:var(--header-space,104px)}
body{margin:0;color:var(--ink);background:var(--white);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:1rem;line-height:1.6}
a{color:var(--accent);text-decoration-thickness:1px;text-underline-offset:4px}
button,summary,a{-webkit-tap-highlight-color:transparent}
button{font:inherit}
button,a,summary{touch-action:manipulation}
a:focus-visible,button:focus-visible,summary:focus-visible,video:focus-visible{outline:3px solid var(--focus);outline-offset:5px}
svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
img{max-width:100%;display:block}
[hidden]{display:none!important}
.shell{width:min(1160px,calc(100% - 64px));margin-inline:auto}
.skip-link{position:fixed;z-index:100;top:10px;left:16px;transform:translateY(-150%);background:white;padding:12px 18px;border:2px solid var(--accent);border-radius:8px}
.skip-link:focus{transform:translateY(0)}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;gap:28px;min-height:88px}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);line-height:1.25;flex-shrink:0;min-height:44px}
.brand strong{display:block;font-size:1.2rem;font-weight:750;letter-spacing:-.4px}
.brand small{display:block;font-size:.875rem;color:var(--muted);margin-top:4px}
.brand-mark{display:grid;place-items:center;width:42px;height:42px;background:var(--accent);color:white;border-radius:13px}
.brand-mark svg{width:26px;height:26px}
.header-nav{margin-inline:auto;display:flex;gap:8px}
.header-nav a{text-decoration:none;color:var(--muted);font-size:.9375rem;font-weight:600;padding:12px 14px;border-radius:8px}
.header-nav a:hover{color:var(--accent);background:var(--tint)}
.back-link{font-size:.9375rem;font-weight:650;padding:12px 0;text-decoration:none;white-space:nowrap}
.intro{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;padding:48px 0 34px}
.eyebrow{color:var(--accent);font-size:.875rem;line-height:1.45;font-weight:700;margin:0 0 10px;letter-spacing:.03em}
h1,h2,h3,p{overflow-wrap:anywhere}
h1{font-size:clamp(2rem,3.4vw,2.75rem);font-weight:760;letter-spacing:-1.35px;line-height:1.16;margin:0 0 15px}
h2{font-size:1.625rem;line-height:1.25;font-weight:740;letter-spacing:-.7px;margin:0}
h3{font-size:1.1875rem;line-height:1.4;font-weight:700;margin:0}
.intro-copy{color:var(--muted);max-width:650px;font-size:1.0625rem;margin:0}
.button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 19px;border-radius:10px;text-decoration:none;font-weight:650;font-size:1rem;transition:background .15s,border-color .15s}
.button-primary{background:var(--accent);color:white;border:1px solid var(--accent)}
.button-primary:hover{background:var(--accent-dark);border-color:var(--accent-dark)}
.button-light{border:1px solid #d9dce4;background:var(--white);color:var(--ink)}
.button-light:hover{border-color:var(--accent);background:var(--tint)}
.intro-pdf{flex-shrink:0;margin-bottom:2px}
.quick-nav{display:none}
.section-anchor{scroll-margin-top:0}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}
.section-note{font-size:.875rem;color:var(--muted)}
.learning-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,1fr);gap:24px;align-items:start}
.player-panel{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;min-width:0;background:var(--white)}
.player-surface{background:#272833;display:flex;justify-content:center;align-items:center;border-bottom:1px solid var(--line)}
video{display:block;max-width:100%;width:100%;height:478px;object-fit:contain;background:#272833}
.player-description{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 24px 0}
.player-description .eyebrow{margin-bottom:5px}
.player-description h3{font-size:1.375rem;line-height:1.3;letter-spacing:-.35px}
.duration-label{white-space:nowrap;font-size:.875rem;color:var(--muted);padding-top:4px}
.player-summary{padding:0 24px;color:var(--muted);font-size:.9375rem;margin:12px 0 18px}
.player-links{padding:0 24px 22px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 18px;font-size:.875rem}
.player-links span{color:var(--muted)}
.player-links a{font-weight:600;display:inline-flex;align-items:center;min-height:44px}
.player-links span{align-self:center}
.status-message{padding:12px 18px;margin:0 20px 20px;background:var(--tint);border-radius:10px;font-size:.9375rem}
.lesson-panel{padding:5px 0 0;min-width:0}
.lesson-panel h3{font-size:1.25rem;letter-spacing:-.35px}
.lesson-intro{font-size:.9375rem;color:var(--muted);margin:7px 0 19px}
.complete-choice{display:flex;gap:12px;align-items:center;position:relative;color:var(--ink);text-decoration:none;border:1px solid var(--line);padding:14px 16px;border-radius:13px;min-height:76px;margin-bottom:12px;transition:background .15s,border-color .15s}
.choice-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--tint);color:var(--accent);flex-shrink:0}
.choice-icon svg{width:19px;height:19px;fill:currentColor;stroke-width:0;transform:translateX(-2px)}
.complete-choice strong{display:block;font-size:1rem;line-height:1.35}
.complete-choice small{display:block;font-size:.875rem;color:var(--muted);margin-top:4px}
.lesson-card{border:1px solid var(--line);border-radius:13px;padding:14px;display:flex;align-items:center;gap:15px;position:relative;min-height:147px;margin-top:12px;text-decoration:none;color:var(--ink);transition:background .15s,border-color .15s}
.lesson-card:hover,.complete-choice:hover{border-color:#c89ab6;background:#fffafd}
.lesson-card img{width:76px;height:104px;object-fit:cover;border-radius:8px;border:1px solid var(--line);background:var(--paper);flex-shrink:0}
.lesson-card-copy{min-width:0;padding-right:15px}
.lesson-card-copy>*{display:block}
.lesson-number{font-size:.875rem;color:var(--accent);font-weight:750;line-height:1.25;margin-bottom:4px}
.lesson-card-copy strong{font-size:1rem;font-weight:720;line-height:1.3;margin-bottom:5px}
.lesson-card-copy>span:not(.lesson-number){font-size:.875rem;color:var(--muted);line-height:1.5}
.lesson-card-copy small{font-size:.875rem;font-weight:650;color:var(--accent);margin-top:6px}
.selection-mark{display:none;position:absolute;right:13px;top:13px;color:var(--accent);font-weight:750}
.is-selected{border-color:var(--accent);background:var(--tint)}
.is-selected .selection-mark{display:block}
.lesson-footnote{font-size:.875rem;color:var(--muted);margin:17px 0 0}
.chapters-block{margin-top:28px;padding-bottom:34px;border-bottom:1px solid var(--line)}
.chapters-block h3{font-size:1rem;margin-bottom:14px}
.chapter-list{display:flex;flex-wrap:wrap;gap:9px}
.chapter-list button{min-height:44px;display:flex;gap:13px;align-items:center;justify-content:space-between;background:var(--paper);border:1px solid transparent;border-radius:9px;padding:9px 13px;font-size:.875rem;line-height:1.5;color:var(--ink);cursor:pointer}
.chapter-list button:hover{background:var(--tint);border-color:#d4b2c7}
.chapter-list button[aria-current="true"]{border-color:var(--accent);background:var(--tint)}
.chapter-list time{font-size:.875rem;color:var(--muted);font-variant-numeric:tabular-nums}
.noscript-message{border-left:3px solid var(--accent);padding-left:12px}
.guide-section{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:28px 40px;margin-top:44px;padding:32px;border-radius:var(--radius);background:#f5f6f9;border:1px solid var(--line);align-items:center}
.guide-cover{border:1px solid #dfe2e9;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 10px 25px #30394b09}
.guide-cover img{width:100%;height:auto}
.guide-content h2{font-size:1.75rem}
.guide-content>p:not(.eyebrow){color:var(--muted);font-size:1rem;line-height:1.65;margin:14px 0 19px}
.guide-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:21px}
.pdf-topics{display:flex;flex-wrap:wrap;gap:8px 13px}
.pdf-topics a{text-decoration:none;display:inline-flex;gap:7px;align-items:center;font-size:.875rem;color:var(--ink);padding:6px 0;font-weight:600;min-height:44px}
.pdf-topics a:hover{color:var(--accent);text-decoration:underline}
.pdf-topics span{color:var(--muted);font-weight:400;font-size:.875rem}
.pdf-reader{grid-column:1/-1;border-top:1px solid #dfe2e9;padding-top:0;margin-top:2px}
.pdf-reader summary{padding:18px 0 0;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:1rem;font-weight:650;min-height:48px;list-style:none}
summary::-webkit-details-marker{display:none}
.expand-icon{font-size:1.25rem;color:var(--accent);flex-shrink:0;width:22px;line-height:1;text-align:center;transition:transform .18s}
details[open]>.expand-icon,details[open]>summary>.expand-icon{transform:rotate(45deg)}
.pdf-reader-inner>p{font-size:.9375rem;color:var(--muted);margin:14px 0}
.pdf-reader-inner>p a{display:inline-flex;align-items:center;min-height:44px}
.pdf-reader iframe{display:block;width:100%;height:680px;max-height:75vh;max-height:75svh;border:1px solid #d9dce4;border-radius:8px;background:white}
.faq-section{padding-top:48px}
.faq-section .eyebrow{margin-bottom:8px}
.text-link{font-size:.9375rem;font-weight:600;flex-shrink:0;padding:10px 0}
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 34px}
.faq-grid details{border-top:1px solid var(--line)}
.faq-grid details:last-child{border-bottom:1px solid var(--line)}
.faq-grid summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;min-height:77px;padding:19px 0;font-size:1rem;font-weight:650;line-height:1.45}
.faq-grid details>div{padding:0 34px 24px 0;font-size:1rem;line-height:1.65;color:var(--muted)}
.faq-grid p{margin:0 0 12px}
.faq-grid strong{color:var(--ink);font-weight:650}
.faq-grid details a{display:inline-block;min-height:44px;padding-top:4px;font-size:.9375rem;font-weight:600}
.site-footer{display:flex;justify-content:space-between;gap:30px;border-top:1px solid var(--line);padding:27px 0 35px;margin-top:48px;color:var(--muted);font-size:.875rem;line-height:1.6}
.site-footer strong{color:var(--ink);font-size:.9375rem;font-weight:650}
.site-footer p{margin:5px 0 0}
.site-footer>p{max-width:310px}
@media(min-width:1450px){video{height:510px}}
@media(max-width:1020px){.shell{width:calc(100% - 40px)}.header-inner{gap:17px}.header-nav{gap:0}.header-nav a{padding:12px 9px}.learning-layout{grid-template-columns:minmax(0,1.3fr) minmax(290px,1fr);gap:20px}.intro-pdf{display:none}.guide-section{padding:26px;gap:24px;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr)}.lesson-card{gap:12px;padding:12px}.lesson-card img{width:63px;height:90px}.guide-content h2{font-size:1.5rem}}
@media(max-width:760px){html{scroll-padding-top:84px}.shell{width:calc(100% - 32px)}.header-inner{min-height:76px;gap:15px;justify-content:space-between}.brand-mark{width:36px;height:36px;border-radius:10px}.brand{gap:9px}.brand strong{font-size:1.0625rem}.brand small{font-size:.875rem;margin-top:2px}.header-nav{display:none}.back-link{font-size:.875rem;white-space:normal;max-width:118px;line-height:1.35;text-align:right;padding:10px 0}.intro{padding:28px 0 27px}.intro .eyebrow{font-size:.875rem}h1{font-size:2rem;letter-spacing:-.9px;line-height:1.18;margin-bottom:12px}.intro-copy{font-size:1rem;line-height:1.6}.desktop-break{display:none}.section-heading{margin-bottom:17px}.section-heading h2{font-size:1.3125rem;letter-spacing:-.35px}.section-note{display:none}.learning-layout{grid-template-columns:1fr;gap:28px}video{height:440px;height:min(56svh,480px);min-height:300px}.player-description{padding:17px 18px 0}.player-description h3{font-size:1.1875rem}.player-description .eyebrow{font-size:.875rem}.player-summary{padding:0 18px;font-size:.9375rem}.player-links{padding:0 18px 18px;font-size:.875rem}.duration-label{font-size:.875rem}.lesson-panel{padding:0}.lesson-panel h3{font-size:1.1875rem}.lesson-intro{margin-bottom:14px}.lesson-card{min-height:128px;padding:13px;gap:16px}.lesson-card img{width:65px;height:89px}.lesson-card-copy strong{font-size:1rem}.lesson-card-copy>span:not(.lesson-number){font-size:.9375rem}.lesson-number{font-size:.875rem}.lesson-card-copy small{font-size:.875rem}.lesson-footnote{margin-top:13px}.chapters-block{margin-top:27px;padding-bottom:30px}.chapter-list{gap:8px}.chapter-list button{flex:1 1 auto;padding:9px 11px;font-size:.875rem;gap:10px}.guide-section{margin-top:31px;padding:22px 18px;grid-template-columns:1fr;gap:20px}.guide-cover{max-width:400px;width:100%;margin-inline:auto}.guide-content h2{font-size:1.5rem}.guide-content>p:not(.eyebrow){font-size:1rem;margin-top:12px}.guide-actions .button{flex:1 1 auto;padding-inline:14px}.pdf-topics{gap:5px 15px}.pdf-topics a{min-height:42px}.pdf-reader summary{font-size:.9375rem;padding-top:17px}.pdf-reader iframe{height:560px;max-height:70svh}.faq-section{padding-top:34px}.faq-section .section-heading{display:block;margin-bottom:18px}.faq-section h2{font-size:1.375rem}.faq-section .text-link{display:inline-block;margin-top:7px;font-size:.9375rem}.faq-grid{grid-template-columns:1fr;gap:0}.faq-grid>div:first-child>details:last-child{border-bottom:0}.faq-grid summary{min-height:73px;font-size:1rem;padding:18px 0}.faq-grid details>div{padding-right:20px;font-size:1rem}.site-footer{display:block;margin-top:32px;padding-bottom:28px}.site-footer>p{margin-top:14px;max-width:none}.section-anchor{scroll-margin-top:85px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media(max-width:760px){html{scroll-padding-top:var(--header-space,84px)}.header-inner{flex-wrap:wrap;row-gap:4px;padding-block:8px}.back-link{margin-left:auto}.section-anchor{scroll-margin-top:0}.quick-nav{display:flex;gap:9px;margin:0 0 27px}.quick-nav a{display:flex;align-items:center;justify-content:center;flex:1;min-height:44px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);font-size:.9375rem;font-weight:650;text-decoration:none;padding:9px 10px}.quick-nav a:hover{background:var(--tint);border-color:var(--accent)}.pdf-topics a{min-height:44px}}
@media print{.site-header,.video-section,.pdf-reader,.guide-actions,.faq-grid a{display:none}.shell{width:100%}.intro,.faq-section{padding-top:16px}.guide-section{break-inside:avoid}.faq-grid details>div{display:block}.faq-grid details{break-inside:avoid}}
/* Portal de Ager Technology: «← Volver» (../volver.js), antes de la marca. Hasta 1020 px, solo la flecha. */
.portal-back{display:inline-flex;flex:none;align-items:center;gap:10px;min-height:44px;color:var(--accent);font-size:.875rem;font-weight:650;text-decoration:none;white-space:nowrap}.portal-back-arrow{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;transition:border-color .2s,transform .2s}.portal-back-arrow svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.portal-back:hover .portal-back-arrow{border-color:var(--accent);transform:translateX(-2px)}
@media(max-width:1020px){.portal-back-texto{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
@media(max-width:760px){.portal-back-arrow{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){.portal-back-arrow{transition:none}}
