/* Inicio: dos accesos directos, curso próximo y NX-SWITE. */
body.ecg-home { --home-blue:#35bdf2; --home-red:#ff6980; --home-muted:#bdc9d7; color:#f5f8fc; }
.ecg-home .home-skip { position:fixed; top:12px; left:16px; z-index:20000; padding:12px 18px; background:#17334b; color:#fff; transform:translateY(-180%); }
.ecg-home .home-skip:focus { transform:none; outline:3px solid #fff; }
.home-main { width:min(1180px, calc(100% - 64px)); margin-inline:auto; padding:40px 0 46px; }
.home-main h1,.home-main h2,.home-main p { margin:0; }
.home-intro { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:30px; }
.home-intro h1 { font-size:clamp(30px,3.5vw,44px); line-height:1.15; font-weight:750; letter-spacing:-.04em; }
.home-brand-strokes { display:flex; gap:6px; padding-right:5px; }
.home-brand-strokes b { display:block; width:32px; height:5px; background:#ed1743; transform:skewX(-28deg); }
.home-brand-strokes b:nth-child(2) { background:#c3ccd5; width:23px; }
.home-brand-strokes b:nth-child(3) { background:#29c3f2; }
.home-portals { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.home-portal { --portal-accent:var(--home-blue); display:flex; flex-direction:column; position:relative; isolation:isolate; min-width:0; overflow:hidden; color:inherit; text-decoration:none; background:#102b3c; border:1px solid #ffffff30; border-top:2px solid var(--portal-accent); transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease; }
.home-portal-service { --portal-accent:var(--home-red); background:#311d28; }
.home-portal::before { content:""; position:absolute; z-index:-1; inset:0; pointer-events:none; background:linear-gradient(125deg,transparent 48%,#ffffff04 48%,#ffffff04 65%,transparent 65%),linear-gradient(150deg,#ffffff04,transparent 60%); }
.home-portal-copy { padding:30px 34px 0; }
.home-main .home-eyebrow { color:#b7d9ec; font-size:12px; line-height:1.45; font-weight:750; letter-spacing:.12em; }
.home-portal-service .home-eyebrow { color:#ffb2c0; }
.home-main .home-portal h2 { margin:15px 0 14px; font-size:clamp(30px,3.4vw,44px); line-height:1.07; font-weight:750; letter-spacing:-.035em; }
.home-portal-copy > p:last-child { color:#d0dbe5; font-size:16px; line-height:1.6; }
.home-portal-scene { display:flex; flex:1; align-items:center; justify-content:center; min-height:265px; padding:16px 30px 18px; }
.home-portal-scene img { display:block; width:100%; height:250px; object-fit:contain; image-rendering:auto; filter:drop-shadow(0 20px 18px #0005); transition:transform .35s ease; }
.home-scene-pad img { transform:rotate(-9deg); }
.home-portal-action { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:66px; padding:19px 30px; background:#050b1433; border-top:1px solid #ffffff30; font-size:16px; line-height:1.35; font-weight:700; }
.home-portal-action svg,.home-nx-action svg { flex:none; width:21px; height:21px; fill:none; stroke:var(--portal-accent,#73d9ff); stroke-width:1.8; }
.home-course { display:flex; align-items:center; gap:28px; margin:32px 0; padding:25px 0; border-block:1px solid #ffffff30; }
.home-course > img { flex:none; width:160px; height:120px; object-fit:contain; }
.home-course > div { min-width:0; }
.home-course .home-eyebrow { color:#c8bedb; }
.home-main .home-course h2 { margin:9px 0 9px; font-size:clamp(22px,2.6vw,30px); line-height:1.2; letter-spacing:-.025em; }
.home-course p:last-child { color:var(--home-muted); font-size:15px; line-height:1.6; }
.home-nx { display:flex; align-items:center; gap:28px; padding:24px 30px; color:inherit; text-decoration:none; border:1px solid #546477; border-left:3px solid #6bccec; background:linear-gradient(120deg,#27323e,#17212c); transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease; }
.home-nx > img { flex:none; width:160px; height:120px; object-fit:contain; }
.home-nx-copy { flex:1; min-width:0; }
.home-main .home-nx h2 { margin:7px 0; font-size:30px; line-height:1.2; letter-spacing:-.02em; }
.home-nx p:last-child { color:#d0dbe5; font-size:15px; line-height:1.6; }
.home-nx-action { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 0; border-bottom:1px solid #6bccec80; font-size:15px; font-weight:700; white-space:nowrap; }
.home-footer { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; width:min(1180px,calc(100% - 64px)); margin-inline:auto; padding:30px 0 34px; border-top:1px solid #53606d; text-align:center; }
.home-footer > a { color:#d3dce7; text-decoration:none; font-size:13px; font-weight:750; letter-spacing:.07em; }
.home-footer p { margin:0; color:#b7c6d6; font-size:14px; }
.home-social { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px; }
.home-social a { display:flex; align-items:center; justify-content:center; width:48px; height:48px; border-radius:10px; transition:background .25s ease,transform .25s ease; }
.home-social img { display:block; object-fit:contain; image-rendering:auto; }
.home-portal:focus-visible,.home-nx:focus-visible,.home-social a:focus-visible,.home-footer > a:focus-visible { outline:3px solid #c5edff; outline-offset:5px; }
.home-portal:active,.home-portal.is-pressed,.home-nx:active,.home-nx.is-pressed { transform:translateY(1px); }
.ecg-home .ecg-mobile-nav a { border-radius:0; }
@media (min-width:900px) {
 .ecg-home .ecg-mobile-nav a[aria-current="page"] { background:transparent; border-color:transparent; box-shadow:inset 0 -3px #ed1743; }
 .ecg-home .ecg-mobile-nav a[data-nav="account"] { border-color:#368bb3; background:#132636; }
}
@media (max-width:899px) {
 .ecg-home .ecg-mobile-nav { border-radius:0; border-top:2px solid #3a88b2; }
 .ecg-home .ecg-mobile-nav a[aria-current="page"] { background:#153d59; box-shadow:inset 0 -2px #35b9ff; }
}
@media (hover:hover) {
 .home-portal:hover { transform:translateY(-3px); border-color:var(--portal-accent); box-shadow:0 15px 30px #0003; }
 .home-portal:hover .home-scene-pad img { transform:rotate(-7deg) translateY(-2px); }
 .home-nx:hover { transform:translateY(-3px); border-color:#7cddfa; box-shadow:0 12px 25px #0003; }
 .home-social a:hover { background:#ffffff0d; transform:translateY(-2px); }
}
@media (max-width:899px) {
 .home-main { width:calc(100% - 40px); padding-top:30px; }
 .home-footer { width:calc(100% - 40px); }
 .home-portal-copy { padding:24px 24px 0; }
 .home-portal-scene { min-height:210px; padding:14px 18px; }
 .home-portal-scene img { height:200px; }
 .home-portal-action { padding-inline:24px; }
 .home-nx { flex-wrap:wrap; gap:18px; padding:22px; }
 .home-nx > img { width:120px; height:90px; }
 .home-nx-copy { flex-basis:calc(100% - 140px); }
 .home-nx-action { margin-left:138px; }
}
@media (max-width:600px) {
 .home-main { padding-top:25px; padding-bottom:30px; }
 .home-intro { margin-bottom:24px; }
 .home-intro h1 { max-width:14ch; font-size:32px; }
 .home-brand-strokes { display:none; }
 .home-portals { grid-template-columns:minmax(0,1fr); gap:22px; }
 .home-portal-copy { padding:24px 25px 0; }
 .home-main .home-portal h2 { font-size:34px; }
 .home-portal-copy > p:last-child { font-size:15px; }
 .home-portal-scene { min-height:195px; padding:12px 24px 18px; }
 .home-portal-scene img { height:175px; }
 .home-portal-action { min-height:60px; padding:17px 24px; font-size:15px; }
 .home-course { align-items:flex-start; gap:16px; margin:28px 0; padding:24px 0; }
 .home-course > img { width:92px; height:69px; }
 .home-main .home-course h2 { font-size:22px; }
 .home-course p:last-child { font-size:14px; }
 .home-nx { display:grid; grid-template-columns:80px minmax(0,1fr); gap:14px; padding:20px; }
 .home-nx > img { width:80px; height:60px; }
 .home-main .home-nx h2 { font-size:27px; }
 .home-nx p:last-child { font-size:14px; }
 .home-nx .home-eyebrow { font-size:11px; letter-spacing:.06em; }
 .home-nx-action { grid-column:1/-1; margin-left:0; }
 .home-social { gap:7px; }
}
@media (max-width:360px) {
 .home-main,.home-footer { width:calc(100% - 32px); }
 .home-main .home-portal h2 { font-size:30px; }
 .home-course { flex-wrap:wrap; }
 .home-course > img { width:112px; height:84px; }
}
@media (prefers-reduced-motion:reduce) {
 .home-portal,.home-nx,.home-social a,.home-portal-scene img { transition:none; }
 .home-portal:hover,.home-nx:hover,.home-social a:hover,.home-portal:active,.home-nx:active { transform:none; }
 .home-portal:hover .home-scene-pad img { transform:rotate(-9deg); }
}
