#mauroWelcome{
        --bg: #020617;
        --bg-soft: #0f172a;
        --card: rgba(15, 23, 42, .72);
        --card-strong: rgba(30, 41, 59, .86);
        --text: #e5e7eb;
        --muted: #94a3b8;
        --accent: #22c55e;
        --accent2: #38bdf8;
        --gold: #22c55e;
        --gold-2: #38bdf8;
        --cyan: #38bdf8;
        --purple: #22c55e;
        --green: #22c55e;
        --danger: #ff6b8a;
        --line: rgba(255, 255, 255, .13);
        --shadow: 0 24px 80px rgba(0, 0, 0, .35);
        --radius: 26px;
        --container: 1180px;
      }
#mauroWelcome *{
        box-sizing: border-box;
        margin: 0;
        padding: 0
      }
#mauroWelcome{
        scroll-behavior: smooth
      }
#mauroWelcome{
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        background:
          radial-gradient(circle at 10% 10%, rgba(70, 217, 255, .13), transparent 26%),
          radial-gradient(circle at 90% 12%, rgba(34, 197, 94, .14), transparent 28%),
          radial-gradient(circle at 50% 100%, rgba(34, 197, 94, .08), transparent 30%),
          var(--bg);
        color: var(--text);
        line-height: 1.6;
        overflow-x: hidden;
      }
#mauroWelcome::before{
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
        opacity: .16;
        background-image:
          linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
          linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
        background-size: 48px 48px;
        mask-image: linear-gradient(to bottom, black, transparent 85%);
        z-index: -1;
      }
#mauroWelcome a{
        color: inherit;
        text-decoration: none
      }
#mauroWelcome img{
        max-width: 100%;
        display: block
      }
#mauroWelcome button,#mauroWelcome input,#mauroWelcome select,#mauroWelcome textarea{
        font: inherit
      }
#mauroWelcome button{
        cursor: pointer
      }
#mauroWelcome .container{
        width: min(var(--container), calc(100% - 36px));
        margin-inline: auto
      }
#mauroWelcome .section{
        padding: 110px 0;
        position: relative
      }
#mauroWelcome .section-label{
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: var(--cyan);
        font-size: .82rem;
        font-weight: 800;
        letter-spacing: .14em;
        text-transform: uppercase;
        margin-bottom: 16px;
      }
#mauroWelcome .section-label::before{
        content: "";
        width: 34px;
        height: 1px;
        background: linear-gradient(90deg, var(--cyan), transparent);
      }
#mauroWelcome .section-title{
        font-size: clamp(2rem, 4vw, 4rem);
        line-height: 1.04;
        letter-spacing: -.04em;
        max-width: 850px;
      }
#mauroWelcome .section-copy{
        margin-top: 18px;
        max-width: 720px;
        color: var(--muted);
        font-size: 1.08rem;
      }
#mauroWelcome .gradient-text{
        background: linear-gradient(90deg, var(--accent), var(--accent2));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
      }
#mauroWelcome .nav{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 50;
        backdrop-filter: blur(16px);
        background: rgba(7, 11, 22, .62);
        border-bottom: 1px solid transparent;
        transition: .3s ease;
      }
#mauroWelcome .nav.scrolled{
        border-color: var(--line);
        background: rgba(7, 11, 22, .87)
      }
#mauroWelcome .nav-inner{
        min-height: 76px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
      }
#mauroWelcome .brand{
        display: flex;
        align-items: center;
        gap: 12px;
        font-weight: 900;
        letter-spacing: -.02em
      }
#mauroWelcome .brand-mark{
        width: 44px;
        height: 44px;
        border-radius: 15px;
        display: grid;
        place-items: center;
        color: #020617;
        background: linear-gradient(135deg, var(--accent), var(--accent2));
        box-shadow: 0 12px 35px rgba(34, 197, 94, .25);
        font-size: 1.55rem;
      }
#mauroWelcome .brand small{
        display: block;
        color: var(--muted);
        font-size: .67rem;
        letter-spacing: .16em;
        text-transform: uppercase
      }
#mauroWelcome .nav-links{
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        white-space: nowrap;
        gap: 14px;
        color: #dfe6f7;
        font-size: .84rem;
        flex: 1;
        justify-content: center;
      }
#mauroWelcome .nav-links a{
        transition: .2s;
        white-space: nowrap;
        flex-shrink: 0;
      }
#mauroWelcome .nav-links a:hover{
        color: var(--gold)
      }
#mauroWelcome .nav-cta{
        display: flex;
        align-items: center;
        gap: 12px
      }
#mauroWelcome .menu-btn{
        display: none;
        width: 44px;
        height: 44px;
        min-width: 44px;
        flex: 0 0 44px;
        border-radius: 14px;
        border: 1px solid var(--line);
        background: var(--card);
        color: white;
      }
#mauroWelcome .btn{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 50px;
        padding: 0 20px;
        border-radius: 15px;
        border: 1px solid transparent;
        font-weight: 800;
        transition: .24s ease;
        position: relative;
        overflow: hidden;
      }
#mauroWelcome .btn::after{
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .22), transparent);
        transform: translateX(-120%);
        transition: .5s;
      }
#mauroWelcome .btn:hover::after{
        transform: translateX(120%)
      }
#mauroWelcome .btn-primary{
        background: linear-gradient(135deg, var(--accent), var(--accent2));
        color: #020617;
        box-shadow: 0 15px 40px rgba(56, 189, 248, .25);
      }
#mauroWelcome .btn-primary:hover{
        transform: translateY(-2px);
        box-shadow: 0 20px 50px rgba(56, 189, 248, .38)
      }
#mauroWelcome .btn-secondary{
        color: white;
        border-color: var(--line);
        background: rgba(255, 255, 255, .04);
      }
#mauroWelcome .btn-secondary:hover{
        background: rgba(255, 255, 255, .09);
        transform: translateY(-2px)
      }
#mauroWelcome .btn-sm{
        min-height: 42px;
        padding: 0 16px;
        font-size: .9rem
      }
#mauroWelcome .hero{
        min-height: 100vh;
        display: grid;
        align-items: center;
        padding: 130px 0 80px;
        position: relative;
      }
#mauroWelcome .hero-grid{
        display: grid;
        grid-template-columns: 1.07fr .93fr;
        align-items: center;
        gap: 58px;
      }
#mauroWelcome .eyebrow{
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 9px 13px;
        border: 1px solid rgba(34, 197, 94, .28);
        background: rgba(34, 197, 94, .08);
        border-radius: 999px;
        color: var(--gold-2);
        font-size: .85rem;
        font-weight: 800;
        margin-bottom: 22px;
      }
#mauroWelcome .pulse-dot{
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--green);
        box-shadow: 0 0 0 0 rgba(102, 230, 168, .5);
        animation: pulse 1.7s infinite;
      }
#mauroWelcome .path-level{
        margin-top: 12px;
        color: #38bdf8;
        font-size: 0.75rem;
        font-weight: 900;
        letter-spacing: 0.1em;
        text-transform: uppercase;
      }
@keyframes pulse{
        70% {
          box-shadow: 0 0 0 12px rgba(102, 230, 168, 0)
        }

        100% {
          box-shadow: 0 0 0 0 rgba(102, 230, 168, 0)
        }
      }
#mauroWelcome h1{
        font-size: clamp(3.2rem, 7vw, 6.8rem);
        line-height: .91;
        letter-spacing: -.065em;
        max-width: 820px;
      }
#mauroWelcome .hero p{
        color: var(--muted);
        font-size: 1.17rem;
        max-width: 650px;
        margin: 26px 0 32px;
      }
#mauroWelcome .hero-actions{
        display: flex;
        flex-wrap: wrap;
        gap: 14px
      }
#mauroWelcome .hero-proof{
        display: flex;
        align-items: center;
        gap: 18px;
        flex-wrap: wrap;
        margin-top: 30px;
        color: var(--muted);
        font-size: .93rem;
      }
#mauroWelcome .avatars{
        display: flex
      }
#mauroWelcome .avatar{
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        margin-left: -9px;
        border: 2px solid var(--bg);
        font-weight: 900;
        color: #0b0f1b;
        background: linear-gradient(135deg, var(--cyan), #fff);
      }
#mauroWelcome .avatar:first-child{
        margin-left: 0
      }
#mauroWelcome .rating{
        color: var(--gold);
        letter-spacing: .08em
      }
#mauroWelcome .chess-visual{
        position: relative;
        min-height: 580px;
        display: grid;
        place-items: center;
        perspective: 1200px;
      }
#mauroWelcome .orb{
        position: absolute;
        width: 440px;
        height: 440px;
        border-radius: 50%;
        background:
          radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .28), transparent 22%),
          radial-gradient(circle at 50% 50%, rgba(70, 217, 255, .24), rgba(143, 107, 255, .13) 45%, transparent 70%);
        filter: blur(2px);
        animation: orbFloat 7s ease-in-out infinite;
      }
@keyframes orbFloat{
        50% {
          transform: translateY(-18px) scale(1.03)
        }
      }
#mauroWelcome .board-wrap{
        width: min(500px, 92vw);
        aspect-ratio: 1;
        transform: rotateX(55deg) rotateZ(-34deg);
        transform-style: preserve-3d;
        animation: boardFloat 7s ease-in-out infinite;
        position: relative;
      }
@keyframes boardFloat{
        50% {
          transform: rotateX(52deg) rotateZ(-30deg) translateY(-10px)
        }
      }
#mauroWelcome .board{
        width: 100%;
        height: 100%;
        border-radius: 24px;
        overflow: hidden;
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        grid-template-rows: repeat(8, 1fr);
        box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
        border: 8px solid rgba(255, 255, 255, .13);
        background: #151b2d;
        position: relative;
      }
#mauroWelcome .sq.light{
        background: #dfe7ef
      }
#mauroWelcome .sq.dark{
        background: #42526b
      }
#mauroWelcome .piece{
        position: absolute;
        display: grid;
        place-items: center;
        width: 12.5%;
        height: 12.5%;
        font-size: clamp(2rem, 5vw, 4.1rem);
        filter: drop-shadow(0 12px 8px rgba(0, 0, 0, .35));
        transform: translateZ(46px) rotateZ(34deg) rotateX(-55deg);
        animation: pieceHover 3.5s ease-in-out infinite;
      }
@keyframes pieceHover{
        50% {
          translate: 0 -7px
        }
      }
#mauroWelcome .piece.king{
        left: 43.75%;
        top: 43.75%;
        color: var(--gold-2);
        font-size: clamp(3.4rem, 7vw, 6rem)
      }
#mauroWelcome .piece.queen{
        left: 18.75%;
        top: 18.75%;
        color: #fff;
        animation-delay: .4s
      }
#mauroWelcome .piece.knight{
        left: 68.75%;
        top: 56.25%;
        color: var(--cyan);
        animation-delay: .8s
      }
#mauroWelcome .floating-card{
        position: absolute;
        padding: 15px 17px;
        border-radius: 18px;
        border: 1px solid var(--line);
        background: rgba(13, 19, 36, .72);
        backdrop-filter: blur(16px);
        box-shadow: var(--shadow);
        color: white;
      }
#mauroWelcome .floating-card strong{
        display: block;
        font-size: 1.25rem
      }
#mauroWelcome .floating-card span{
        font-size: .79rem;
        color: var(--muted)
      }
#mauroWelcome .card-1{
        top: 11%;
        right: -2%;
        animation: floatCard 5s ease-in-out infinite
      }
#mauroWelcome .card-2{
        left: -7%;
        bottom: 10%;
        animation: floatCard 6s ease-in-out infinite reverse
      }
@keyframes floatCard{
        50% {
          transform: translateY(-14px)
        }
      }
#mauroWelcome{position:relative;isolation:isolate;overflow:hidden}#mauroWelcome .hero{padding-top:145px}#mauroWelcome h1{margin:0}#mauroWelcome a{text-decoration:none}#mauroWelcome .nav{background:rgba(6,17,31,.94)}#mauroWelcome .nav-links{font-size:13px;gap:12px}#mauroWelcome .hero p{line-height:1.6}#mauroWelcome .nav-links a:focus-visible,#mauroWelcome .btn:focus-visible,#mauroWelcome .menu-btn:focus-visible{outline:3px solid #6ee7ff;outline-offset:4px}
@media(max-width:1150px){#mauroWelcome .nav-links{display:none;position:absolute;top:76px;left:18px;right:18px;padding:18px;flex-direction:column;align-items:flex-start;border:1px solid var(--line);border-radius:18px;background:#071124}#mauroWelcome .nav-links.open{display:flex}#mauroWelcome .menu-btn{display:block}#mauroWelcome .nav-cta .btn{display:none}#mauroWelcome .hero-grid{gap:24px}#mauroWelcome .board-wrap{width:min(420px,85%)}#mauroWelcome .card-1{right:0}#mauroWelcome .card-2{left:0}}
@media(max-width:760px){#mauroWelcome .hero-grid{grid-template-columns:1fr}#mauroWelcome .hero{min-height:auto;padding:110px 0 24px}#mauroWelcome h1{font-size:clamp(2.6rem,11vw,4rem);line-height:1}#mauroWelcome .hero p{font-size:1rem;margin:22px 0}#mauroWelcome .hero-actions .btn{flex:1 1 180px}#mauroWelcome .chess-visual{min-height:300px}#mauroWelcome .orb{width:270px;height:270px}#mauroWelcome .board-wrap{width:min(300px,75%)}#mauroWelcome .floating-card{display:none}#mauroWelcome .hero-proof{margin-top:20px}#mauroWelcome .brand small{font-size:.6rem}}
@media(prefers-reduced-motion:reduce){#mauroWelcome *,#mauroWelcome *::after{animation:none!important;transition:none!important}}
@media(max-width:760px){#mauroWelcome .hero-actions{display:grid}#mauroWelcome .hero-actions .btn{width:100%;min-width:0}#mauroWelcome .hero-proof{gap:12px}}
.mauro-contact-floating{position:fixed;right:20px;bottom:20px;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#22c55e;color:#031a12!important;font-size:26px;text-decoration:none;box-shadow:0 8px 24px #0005;z-index:45}.mauro-contact-floating:focus-visible{outline:3px solid white;outline-offset:4px}

/* Navegación principal de cuatro destinos. */
#mauroWelcome .nav-links{gap:8px}
#mauroWelcome .nav-links a{padding:10px 13px;border-radius:12px;background:#0d1c30;color:#edf4ff;font-size:14px;font-weight:700}
#mauroWelcome .nav-links a:hover{background:#163449;color:#75f4d4}
#mauroWelcome .nav-links a[aria-current="page"]{background:#173d48;color:#75f4d4}
/* Studio de ajedrez: WebGL con imagen de respaldo. */
#mauroWelcome .mauro-studio{min-width:0;min-height:610px;isolation:isolate}
#mauroWelcome .mauro-scene{width:calc(100% + 120px);height:600px;position:relative;z-index:1;touch-action:pan-y}
#mauroWelcome .mauro-scene canvas,#mauroWelcome .mauro-scene img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
#mauroWelcome .mauro-scene canvas{opacity:0;transition:opacity .4s}#mauroWelcome .mauro-scene[data-scene=ready] canvas{opacity:1}#mauroWelcome .mauro-scene[data-scene=fallback] canvas{opacity:0}#mauroWelcome .mauro-scene img[hidden]{display:none}
#mauroWelcome .mauro-studio .orb{width:100%;height:100%;background:radial-gradient(ellipse,rgba(33,138,127,.25),transparent 65%);animation:none;filter:blur(20px)}
#mauroWelcome .mauro-studio .card-1{right:-35px;top:2%;z-index:2;animation:none}#mauroWelcome .mauro-studio .card-2{left:-25px;bottom:15%;z-index:2;animation:none}
#mauroWelcome .mauro-scene-controls{position:absolute;bottom:10px;left:0;right:0;display:flex;gap:8px;justify-content:center;z-index:3}#mauroWelcome .mauro-scene-controls[hidden]{display:none}#mauroWelcome .mauro-scene-controls button{padding:9px 12px;border:1px solid #4e7379;border-radius:12px;background:#0c1d2dde;color:#d9f5ee;cursor:pointer;font:600 12px system-ui,sans-serif}#mauroWelcome .mauro-scene-controls button:focus-visible{outline:3px solid #6ee7ff;outline-offset:4px}
@media(max-width:1150px){#mauroWelcome .mauro-scene{width:calc(100% + 40px);height:520px}#mauroWelcome .mauro-studio{min-height:540px}#mauroWelcome .mauro-studio .card-1{right:0}#mauroWelcome .mauro-studio .card-2{left:0}}
@media(max-width:760px){#mauroWelcome .mauro-studio{min-height:390px}#mauroWelcome .mauro-scene{width:100%;height:370px}#mauroWelcome .mauro-scene-controls{bottom:0}}
@media(min-width:761px){#mauroWelcome h1{font-size:clamp(3.2rem,6.2vw,6rem)}#mauroWelcome .hero-grid{grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr)}}

/* ===== Inicio a pantalla completa en laptop, PC, monitor y ultra ancho =====
   El encabezado ya está fuera del hero: se quita el hueco superior y se usa el ancho. */
@media(min-width:1101px){
  body.mauro-home #mauroWelcome .hero{min-height:calc(100vh - 76px);min-height:calc(100svh - 76px);padding:clamp(24px,4vh,56px) 0 !important}
  body.mauro-home #mauroWelcome .hero .container,body.mauro-home #mauroWelcome .hero-grid{width:min(2300px,calc(100% - 7vw)) !important}
  body.mauro-home #mauroWelcome .hero-grid{gap:clamp(32px,4vw,110px)}
  body.mauro-home #mauroWelcome h1{max-width:none}
  body.mauro-home #mauroWelcome .hero p{font-size:clamp(1.05rem,.55rem + .55vw,1.5rem);max-width:min(900px,95%)}
  body.mauro-home #mauroWelcome .hero-actions .btn{font-size:clamp(.95rem,.6rem + .4vw,1.3rem);padding:clamp(14px,1vw,20px) clamp(20px,1.5vw,32px)}
  body.mauro-home #mauroWelcome .hero-proof{font-size:clamp(.9rem,.6rem + .3vw,1.15rem)}
  body.mauro-home #mauroWelcome .eyebrow{font-size:clamp(.85rem,.6rem + .3vw,1.1rem)}
  body.mauro-home #mauroWelcome .mauro-studio{min-height:clamp(520px,calc(100vh - 160px),1150px)}
  body.mauro-home #mauroWelcome .mauro-scene{width:calc(100% + 60px);height:clamp(500px,calc(100vh - 170px),1130px)}
  body.mauro-home #mauroWelcome .floating-card strong{font-size:clamp(1rem,.6rem + .45vw,1.5rem)}
  body.mauro-home #mauroWelcome .floating-card span{font-size:clamp(.75rem,.5rem + .25vw,1rem)}
  body.mauro-home #mauroWelcome .mauro-studio .card-1{right:0}
  body.mauro-home #mauroWelcome .mauro-studio .card-2{left:0}
  body.mauro-home .mauro-shell{max-width:min(2300px,calc(100% - 7vw))}
}
@media(min-width:1800px){
  body.mauro-home #mauroWelcome h1{font-size:clamp(5.6rem,4.2vw,8.4rem);max-width:none}
  body.mauro-home .mauro-shell{font-size:1.12rem}
}
