:root{--ink:#24213d;--purple:#7352ed;--purple-dark:#5a3bce;--muted:#77758b;--bg:#fffefa;--line:#eae7ef}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif}a{text-decoration:none;color:inherit}.container{width:min(1160px,calc(100% - 48px));margin:auto}.site-header{background:#fff;position:sticky;top:0;z-index:20;border-bottom:1px solid #f1eef7}.nav-wrap{height:86px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-family:Outfit,sans-serif;font-size:17px;font-weight:600;line-height:.92;letter-spacing:-.6px}.brand strong{font-size:21px;font-weight:900}.brand-icon{width:43px;height:43px;display:grid;place-items:center;background:var(--purple);color:#fff;border-radius:14px;font-size:28px;transform:rotate(-10deg)}.main-nav{display:flex;align-items:center;gap:13px}.nav-link{padding:12px 19px;font-size:14px;font-weight:800;border-radius:14px}.nav-link:hover,.nav-link.active{color:var(--purple);background:#f2efff}.profile-link{background:var(--ink);color:#fff}.profile-link:hover{background:var(--purple);color:#fff}.profile-link span{margin-left:12px}.menu-toggle{display:none;border:0;background:#f2efff;color:var(--ink);border-radius:12px;font-size:24px;padding:7px 12px;cursor:pointer}.hero{background:#f7f3ff;overflow:hidden}.hero-grid{min-height:555px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:35px;padding-top:55px;padding-bottom:55px}.eyebrow,.section-kicker{display:inline-block;color:var(--purple);font-size:12px;font-weight:900;letter-spacing:1.7px}.eyebrow{background:#fff;padding:11px 15px;border-radius:30px}.hero h1,.section h2,.cta-box h2{font-family:Outfit,sans-serif;letter-spacing:-2.8px;line-height:1.08}.hero h1{font-size:clamp(56px,6vw,88px);margin:24px 0}.highlight{color:var(--purple);position:relative}.spark{color:#ffae41;font-size:.6em;vertical-align:top}.hero-copy>p{font-size:17px;line-height:1.85;color:#68667a;max-width:515px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:20px;padding:17px 24px;border-radius:15px;font-size:14px;font-weight:900;transition:transform .2s,background .2s}.btn:hover{transform:translateY(-3px)}.btn-primary{background:var(--purple);color:#fff;box-shadow:0 10px 20px #7352ed2b}.btn-primary:hover{background:var(--purple-dark)}.btn-ghost{background:#fff}.social-proof{display:flex;align-items:center;gap:15px;margin-top:43px}.avatars{display:flex;padding-left:7px}.avatars span{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#f4d7d4;border:3px solid #f7f3ff;margin-left:-8px}.avatars span:nth-child(2){background:#d3e6ff}.avatars span:nth-child(3){background:#e5d7f7}.avatars span:nth-child(4){background:#ffe3b8}.social-proof strong{font-size:13px}.social-proof small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.hero-art{height:455px;position:relative;display:flex;align-items:center;justify-content:center}.art-back{position:absolute;width:92%;height:90%;background:#dcd0ff;border-radius:46% 54% 60% 40% / 42% 48% 52% 58%;transform:rotate(-13deg)}.art-circle{position:absolute;width:67%;height:72%;background:#c6b2ff;border-radius:50%}.mug{position:absolute;left:16%;top:24%;width:190px;height:205px;border-radius:16px 16px 36px 36px;background:#fff;transform:rotate(-14deg);box-shadow:15px 20px 0 #a58bdf,15px 28px 25px #42326920;display:grid;place-items:center;z-index:3}.mug:before{content:'';position:absolute;top:-10px;width:100%;height:25px;background:#eceaf1;border-radius:50%}.mug-handle{position:absolute;width:70px;height:105px;border:22px solid white;border-radius:50%;right:-51px;top:42px}.mug-front{text-align:center;font:900 32px/1 Outfit,sans-serif;color:#ff8d76}.mug-front span{font-size:26px;color:var(--purple)}.shirt{position:absolute;right:7%;bottom:13%;width:240px;height:220px;background:#ffbd80;clip-path:polygon(24% 0,40% 8%,60% 8%,76% 0,100% 24%,86% 44%,76% 37%,76% 100%,24% 100%,24% 37%,14% 44%,0 24%);filter:drop-shadow(10px 12px 0 #ed9968);display:grid;place-items:center;transform:rotate(11deg);z-index:4}.shirt span{text-align:center;font:900 28px/1.1 Outfit,sans-serif;color:#fff;transform:translateY(15px)}.art-tag{position:absolute;background:#fff;border-radius:12px;padding:12px 17px;box-shadow:0 10px 25px #37266c18;font-size:12px;font-weight:900;z-index:5}.tag-top{top:11%;right:3%;transform:rotate(8deg)}.tag-bottom{bottom:7%;left:4%;transform:rotate(-8deg)}.float-star{position:absolute;z-index:5;color:#ffb440;font-size:55px}.star-one{left:2%;top:10%}.star-two{right:0;top:44%;color:#fff}.star-three{left:25%;bottom:0;color:var(--purple)}.hero-bottom{background:var(--purple);color:#fff}.ticker{min-height:59px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:11px;font-weight:900;letter-spacing:1px;white-space:nowrap;overflow:hidden}.ticker span{font-size:24px;color:#ffc878}.section{padding:95px 0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:35px}.section h2{font-size:clamp(36px,4vw,52px);margin:13px 0 0}.section h2 em{font-style:normal;color:var(--purple)}.section-heading p{color:var(--muted);max-width:240px;line-height:1.6;font-size:14px}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.category-card{min-height:220px;padding:24px;border-radius:23px;position:relative;display:flex;flex-direction:column;transition:transform .2s}.category-card:hover{transform:translateY(-6px)}.lavender{background:#eee6ff}.peach{background:#ffe8dd}.mint{background:#dff6eb}.yellow{background:#fff1c7}.category-emoji{font-size:56px;margin-bottom:22px}.category-card strong{font:800 20px Outfit,sans-serif}.category-card small{color:#777181;font-size:12px;margin-top:5px}.circle-arrow{position:absolute;right:20px;bottom:22px;background:#fff;width:32px;height:32px;border-radius:50%;display:grid;place-items:center}.courses{background:#fbf9ff}.text-link{color:var(--purple);font-weight:900;font-size:14px}.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.course-card{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 10px 30px #2b1c6a09}.course-cover{height:210px;position:relative;display:grid;place-items:center;overflow:hidden}.cover-purple{background:#ded0ff}.cover-orange{background:#ffdfc9}.cover-green{background:#d3f2df}.course-sticker{position:absolute;top:18px;left:18px;background:#fff;border-radius:30px;padding:9px 12px;font-size:10px;font-weight:900;letter-spacing:.7px}.cover-art{font-size:115px;filter:drop-shadow(9px 12px 0 #00000010);transform:rotate(-9deg)}.cover-art span{position:absolute;font-size:50px;right:-40px;top:5px;color:#fff}.course-body{padding:25px}.course-category{font-size:10px;color:var(--purple);font-weight:900;letter-spacing:1.4px}.course-body h3{font:800 23px Outfit,sans-serif;margin:10px 0}.course-body p{font-size:13px;color:var(--muted);line-height:1.8;min-height:68px}.course-footer{border-top:1px solid var(--line);padding-top:17px;display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:700}.course-footer a{display:grid;place-items:center;background:#f1edff;color:var(--purple);border-radius:50%;width:35px;height:35px;font-size:19px}.demo-note{font-size:11px;color:#898599;margin-top:20px}.how-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}.how-grid>div>p{max-width:410px;color:var(--muted);line-height:1.8;margin:22px 0 30px}.steps{display:grid;gap:15px}.step{background:#fff;border:1px solid var(--line);border-radius:19px;padding:24px;display:flex;align-items:center;gap:21px}.step>span{font:900 34px Outfit,sans-serif;color:#d1c4ff}.step h3{font:800 19px Outfit,sans-serif;margin:0 0 6px}.step p{color:var(--muted);font-size:12px;margin:0;line-height:1.6}.step b{margin-left:auto;font-size:25px;color:var(--purple)}.cta-section{padding:10px 0 90px}.cta-box{background:var(--purple);color:#fff;text-align:center;padding:70px 25px;border-radius:32px;position:relative;overflow:hidden}.cta-box .section-kicker{color:#ffe29d}.cta-box h2{font-size:clamp(39px,5vw,62px);margin:17px 0}.cta-box p{max-width:450px;margin:0 auto 27px;color:#ece6ff;font-size:14px;line-height:1.8}.btn-white{background:#fff;color:var(--purple)}.cta-doodle{position:absolute;left:9%;top:18%;font-size:100px;color:#a894ff}.doodle-right{left:auto;right:9%;top:auto;bottom:10%;color:#ffce79}.footer{background:#fff;border-top:1px solid var(--line)}.footer-inner{min-height:115px;display:flex;align-items:center;justify-content:space-between;gap:20px}.footer p,.footer-inner>span{font-size:12px;color:var(--muted)}@media(max-width:950px){.hero-grid{grid-template-columns:1fr}.hero-art{max-width:550px;width:100%;margin:auto}.category-grid{grid-template-columns:repeat(2,1fr)}.course-grid{grid-template-columns:repeat(2,1fr)}.how-grid{gap:35px}.ticker{justify-content:flex-start}.ticker span{flex-shrink:0}}@media(max-width:650px){.container{width:min(100% - 32px,1160px)}.nav-wrap{height:72px}.brand{font-size:14px}.brand strong{font-size:17px}.brand-icon{width:37px;height:37px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:72px;left:0;right:0;background:#fff;padding:16px;box-shadow:0 15px 20px #1b12371a;flex-direction:column;align-items:stretch}.main-nav.open{display:flex}.hero-grid{padding-top:40px;padding-bottom:35px}.hero h1{font-size:55px}.hero-copy>p{font-size:15px}.hero-art{height:350px}.mug{transform:rotate(-14deg) scale(.72);left:5%;top:16%}.shirt{transform:rotate(11deg) scale(.75);right:-10%;bottom:4%}.art-tag{font-size:10px}.section{padding:65px 0}.section-heading{align-items:start;flex-direction:column}.section-heading p{max-width:100%}.category-grid,.course-grid,.how-grid{grid-template-columns:1fr}.category-card{min-height:180px}.category-emoji{margin-bottom:10px}.cta-box{padding:60px 22px}.cta-doodle{font-size:45px}.footer-inner{flex-direction:column;text-align:center;padding:28px 0}.footer-inner p{margin:0}}



/* ========================================
   CLUB DEL PERSONALIZADO
   ESTILOS PARA LOGIN
======================================== */

.login-page {
    --login-purple: #7445d6;
    --login-dark: #292343;
    --login-pink: #ff80b5;

    min-height: calc(100vh - 85px);
    padding: 65px 20px;
    background: linear-gradient(
        135deg,
        #f8f5ff 0%,
        #fff5fa 50%,
        #f2efff 100%
    );

    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Decoraciones de fondo */

.login-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.login-decoration-1 {
    width: 320px;
    height: 320px;
    background: #e9ddff;
    top: -130px;
    left: -120px;
    opacity: .65;
}

.login-decoration-2 {
    width: 270px;
    height: 270px;
    background: #ffe0ef;
    bottom: -110px;
    right: -100px;
    opacity: .75;
}

/* Contenedor principal */

.login-container {
    width: 100%;
    max-width: 1050px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 25px 65px rgba(60, 35, 110, .10);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

/* ========================================
   LADO IZQUIERDO
======================================== */

.login-welcome {
    padding: 58px 48px;
    background: linear-gradient(
        145deg,
        #794be0,
        #9b6aeb
    );
    color: white;
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.login-welcome::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border: 2px solid rgba(255,255,255,.15);
    border-radius: 50%;
    right: -100px;
    top: -100px;
}

.login-sticker {
    display: inline-block;
    background: #ffffff;
    color: #794be0;
    padding: 10px 17px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 28px;
}

.login-welcome h1 {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px;
    color: white;
}

.login-welcome h1 span {
    display: block;
    color: #ffe18d;
}

.login-welcome > p {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255,255,255,.9);
    max-width: 350px;
}

/* Ilustración central */

.login-illustration {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 45px 0;
}

.illustration-circle {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(255,255,255,.17);
    border: 2px dashed rgba(255,255,255,.35);

    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.illustration-main {
    font-size: 95px;
    transform: rotate(-10deg);
    filter: drop-shadow(0 15px 15px rgba(0,0,0,.15));
}

.illustration-float {
    position: absolute;
    font-size: 34px;
    animation: loginFloat 4s ease-in-out infinite;
}

.float-1 {
    top: -15px;
    left: -25px;
}

.float-2 {
    top: 10px;
    right: -30px;
    animation-delay: .6s;
}

.float-3 {
    bottom: -10px;
    left: -25px;
    animation-delay: 1s;
}

.float-4 {
    bottom: 5px;
    right: -25px;
    animation-delay: 1.5s;
}

@keyframes loginFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.login-welcome-footer {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

.login-welcome-footer span {
    padding: 9px 14px;
    background: rgba(255,255,255,.15);
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
}

/* ========================================
   LADO DERECHO - FORMULARIO
======================================== */

.login-form-section {
    padding: 65px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-form-icon {
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background: #f1eaff;
    font-size: 32px;
    margin: 0 auto 20px;
    transform: rotate(-6deg);
}

.login-form-header h2 {
    color: var(--login-dark);
    font-size: 31px;
    font-weight: 800;
    margin: 0 0 10px;
}

.login-form-header p {
    color: #89859a;
    font-size: 14px;
    line-height: 1.7;
}

/* Campos */

.login-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.login-field label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    color: var(--login-dark);
    margin-bottom: 10px;
}

.login-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input-wrapper .input-icon {
    position: absolute;
    left: 17px;
    font-size: 17px;
    pointer-events: none;
}

.login-input-wrapper input {
    width: 100%;
    height: 55px;
    padding: 0 48px;
    background: #faf9fd;
    border: 2px solid #efedf5;
    border-radius: 14px;
    font-size: 14px;
    color: #292343;
    outline: none;
    transition: all .25s ease;
    box-sizing: border-box;
}

.login-input-wrapper input:focus {
    border-color: #9368e8;
    background: white;
    box-shadow: 0 0 0 4px rgba(147,104,232,.10);
}

.login-input-wrapper input::placeholder {
    color: #aaa5b6;
}

/* Contraseña */

.login-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.login-label-row a {
    color: var(--login-purple);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 10px;
}

.login-label-row a:hover {
    text-decoration: underline;
}

.toggle-password {
    position: absolute;
    right: 15px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
}

/* Recordarme */

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: #666175;
    cursor: pointer;
}

.remember-me input {
    width: 16px;
    height: 16px;
    accent-color: #794be0;
}

/* Botón principal */

.login-submit {
    width: 100%;
    padding: 18px 25px;
    background: linear-gradient(135deg, #7849df, #9a68e9);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

    box-shadow: 0 8px 20px rgba(120,73,223,.22);
    transition: all .25s ease;
}

.login-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(120,73,223,.30);
}

.login-submit span {
    font-size: 22px;
}

/* Registro */

.login-register {
    margin-top: 33px;
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #eeebf5;
}

.login-register p {
    color: #807b8f;
    font-size: 13px;
    margin-bottom: 8px;
}

.login-register a {
    color: var(--login-purple);
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
}

.login-register a:hover {
    text-decoration: underline;
}

/* Mensaje de seguridad */

.login-security {
    text-align: center;
    margin-top: 30px;
    color: #aaa5b4;
    font-size: 11px;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 850px) {

    .login-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .login-welcome {
        padding: 35px 35px;
        text-align: center;
        align-items: center;
    }

    .login-welcome h1 {
        font-size: 30px;
    }

    .login-welcome > p {
        font-size: 13px;
    }

    .login-illustration {
        display: none;
    }

    .login-welcome-footer {
        justify-content: center;
        margin-top: 22px;
    }

    .login-form-section {
        padding: 45px 35px;
    }
}

@media (max-width: 480px) {

    .login-page {
        padding: 25px 14px;
    }

    .login-container {
        border-radius: 22px;
    }

    .login-welcome {
        padding: 30px 22px;
    }

    .login-sticker {
        font-size: 10px;
        margin-bottom: 18px;
    }

    .login-welcome h1 {
        font-size: 27px;
    }

    .login-welcome-footer {
        gap: 6px;
    }

    .login-welcome-footer span {
        font-size: 10px;
        padding: 7px 9px;
    }

    .login-form-section {
        padding: 35px 22px;
    }

    .login-form-header h2 {
        font-size: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .illustration-float {
        animation: none;
    }

    .login-submit {
        transition: none;
    }
}




/* ========================================
   CLUB DEL PERSONALIZADO
   PERFIL DEL ALUMNO
======================================== */

.perfil-page {
    --perfil-purple: #794be0;
    --perfil-dark: #292343;
    --perfil-muted: #89839b;
    --perfil-border: #eeeaf5;

    background: #faf8ff;
    min-height: 100vh;
    padding: 45px 20px 90px;
    color: var(--perfil-dark);
}

.perfil-page,
.perfil-page * {
    box-sizing: border-box;
}

.perfil-container {
    max-width: 1200px;
    margin: auto;
}

/* ========================================
   BANNER DE BIENVENIDA
======================================== */

.perfil-banner {
    background: linear-gradient(
        120deg,
        #7547da 0%,
        #9869e8 100%
    );

    border-radius: 28px;
    padding: 45px 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 35px;
}

.perfil-banner::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border: 2px solid rgba(255,255,255,.13);
    border-radius: 50%;
    right: -100px;
    top: -180px;
}

.perfil-banner-content {
    position: relative;
    z-index: 2;
    max-width: 580px;
}

.perfil-etiqueta {
    display: inline-block;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.25);
    color: white;
    padding: 9px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.perfil-banner h1 {
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 15px;
    color: white;
}

.perfil-banner h1 span {
    color: #ffe28d;
}

.perfil-banner p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,.9);
    max-width: 450px;
    margin-bottom: 25px;
}

.perfil-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    background: white;
    color: #7547da;
    padding: 14px 22px;
    border-radius: 13px;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    transition: .25s;
}

.perfil-banner-btn:hover {
    transform: translateY(-3px);
    background: #fff4d6;
}

.perfil-banner-btn span {
    font-size: 19px;
}

/* Ilustración del banner */

.perfil-banner-art {
    flex: 0 0 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.perfil-art-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,.13);
    border: 2px dashed rgba(255,255,255,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.perfil-art-main {
    font-size: 95px;
    transform: rotate(-12deg);
}

.perfil-art-float {
    position: absolute;
    font-size: 30px;
    animation: perfilFlotar 4s ease-in-out infinite;
}

.art-one {
    top: -15px;
    left: 0;
}

.art-two {
    right: -20px;
    top: 30px;
    animation-delay: 1s;
}

.art-three {
    bottom: -15px;
    left: 30px;
    animation-delay: 2s;
}

@keyframes perfilFlotar {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ========================================
   DISTRIBUCIÓN PRINCIPAL
======================================== */

.perfil-layout {
    display: grid;
    grid-template-columns: 285px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.perfil-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ========================================
   TARJETA DEL USUARIO
======================================== */

.perfil-user-card {
    background: white;
    border: 1px solid var(--perfil-border);
    border-radius: 23px;
    padding: 32px 23px;
    text-align: center;
}

.perfil-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 18px;
    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #d9c4ff,
        #f8d6eb
    );

    color: #7547da;
    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 29px;
    font-weight: 800;
    border: 5px solid #f7f1ff;
}

.perfil-user-card h2 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 7px;
    color: var(--perfil-dark);
    overflow-wrap: anywhere;
}

.perfil-user-email {
    font-size: 12px;
    color: var(--perfil-muted);
    margin-bottom: 18px;
    overflow-wrap: anywhere;
}

.perfil-user-badge {
    display: inline-block;
    padding: 8px 14px;
    color: #7547da;
    background: #f0e8ff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 30px;
}

.perfil-user-divider {
    height: 1px;
    background: var(--perfil-border);
    margin: 25px 0;
}

.perfil-user-info {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
    font-size: 11px;
    margin-bottom: 25px;
}

.perfil-user-info span {
    color: var(--perfil-muted);
}

.perfil-user-info strong {
    color: var(--perfil-dark);
}

.perfil-edit-btn {
    display: block;
    padding: 13px;
    background: #f4efff;
    color: #7547da;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: .2s;
}

.perfil-edit-btn:hover {
    background: #e8dcff;
}

/* ========================================
   MENÚ LATERAL
======================================== */

.perfil-menu {
    background: white;
    border: 1px solid var(--perfil-border);
    border-radius: 20px;
    padding: 15px;

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.perfil-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 15px;
    border-radius: 12px;
    color: #777185;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s;
}

.perfil-menu a span {
    font-size: 18px;
}

.perfil-menu a:hover {
    background: #f6f2ff;
    color: #7547da;
}

.perfil-menu a.active {
    background: #f0e8ff;
    color: #7547da;
}

.perfil-menu a.perfil-logout {
    color: #e87586;
    border-top: 1px solid #f0edf5;
    margin-top: 8px;
    padding-top: 19px;
}

/* ========================================
   SECCIONES DEL PERFIL
======================================== */

.perfil-main-content {
    min-width: 0;
}

.perfil-section {
    margin-bottom: 42px;
    scroll-margin-top: 100px;
}

.perfil-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.perfil-mini-label {
    display: inline-block;
    color: #9368e8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 9px;
}

.perfil-section-heading h2 {
    color: var(--perfil-dark);
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
}

.perfil-section-heading p {
    color: var(--perfil-muted);
    font-size: 13px;
    line-height: 1.6;
}

.perfil-see-all {
    color: #7547da;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

/* ========================================
   TARJETAS DE ESTADÍSTICAS
======================================== */

.perfil-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.perfil-stat-card {
    background: white;
    border: 1px solid var(--perfil-border);
    border-radius: 18px;
    padding: 20px 16px;

    display: flex;
    align-items: center;
    gap: 14px;
}

.perfil-stat-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

.stat-purple {
    background: #eee5ff;
}

.stat-pink {
    background: #ffe6f0;
}

.stat-yellow {
    background: #fff2d5;
}

.perfil-stat-card h3 {
    color: var(--perfil-dark);
    font-size: 25px;
    font-weight: 800;
    margin: 0 0 3px;
}

.perfil-stat-card p {
    color: var(--perfil-muted);
    font-size: 11px;
    line-height: 1.4;
}

/* ========================================
   TARJETAS DE CURSOS
======================================== */

.perfil-courses {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.perfil-course-card {
    background: white;
    border: 1px solid var(--perfil-border);
    border-radius: 20px;
    padding: 17px;
    display: flex;
    align-items: stretch;
    gap: 22px;
    transition: .25s;
}

.perfil-course-card:hover {
    box-shadow: 0 10px 30px rgba(80,50,140,.07);
    transform: translateY(-2px);
}

.perfil-course-image {
    flex: 0 0 160px;
    min-height: 170px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.perfil-course-image span {
    font-size: 75px;
    transition: .3s;
}

.perfil-course-card:hover .perfil-course-image span {
    transform: rotate(-8deg) scale(1.08);
}

.perfil-course-image.rosa {
    background: linear-gradient(135deg, #ffe1ee, #ffc9e0);
}

.perfil-course-image.morado {
    background: linear-gradient(135deg, #e8ddff, #d6c5ff);
}

.perfil-course-image.amarillo {
    background: linear-gradient(135deg, #fff2ce, #ffe3a2);
}

.perfil-course-info {
    flex: 1;
    min-width: 0;
    padding: 5px 5px 5px 0;
}

.perfil-course-category {
    display: inline-block;
    color: #8554df;
    background: #f4edff;
    padding: 6px 11px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 10px;
}

.perfil-course-info h3 {
    color: var(--perfil-dark);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 8px;
}

.perfil-course-lessons {
    color: var(--perfil-muted);
    font-size: 12px;
    margin-bottom: 17px;
}

.perfil-course-progress-header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
    font-size: 11px;
}

.perfil-course-progress-header span {
    color: var(--perfil-muted);
}

.perfil-course-progress-header strong {
    color: #7547da;
}

.perfil-progress-bar {
    width: 100%;
    height: 8px;
    background: #f0eafa;
    border-radius: 20px;
    overflow: hidden;
}

.perfil-progress-fill {
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(
        90deg,
        #8150e3,
        #bb8cf2
    );
}

.perfil-course-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 17px;
    background: #7547da;
    color: white;
    border-radius: 10px;
    padding: 11px 17px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    transition: .2s;
}

.perfil-course-btn:hover {
    background: #6336c5;
    transform: translateY(-2px);
}

/* ========================================
   LOGROS
======================================== */

.perfil-achievements {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.perfil-achievement-card {
    background: white;
    border: 1px solid var(--perfil-border);
    border-radius: 20px;
    padding: 27px 18px;
    text-align: center;
    transition: .25s;
}

.perfil-achievement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(80,50,140,.07);
}

.perfil-achievement-icon {
    width: 68px;
    height: 68px;
    background: #f4edff;
    border-radius: 20px;
    margin: 0 auto 17px;

    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 33px;
}

.perfil-achievement-card h3 {
    color: var(--perfil-dark);
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 8px;
}

.perfil-achievement-card p {
    color: var(--perfil-muted);
    font-size: 11px;
    line-height: 1.7;
}

/* ========================================
   MENSAJE MOTIVACIONAL
======================================== */

.perfil-motivation {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    border-radius: 20px;
    background: #f0e8ff;
    border: 1px dashed #d7c6fa;
}

.perfil-motivation-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.perfil-motivation h3 {
    color: #6540b4;
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 7px;
}

.perfil-motivation p {
    color: #816ba6;
    font-size: 12px;
    line-height: 1.8;
}

/* ========================================
   RESPONSIVE - TABLETS
======================================== */

@media (max-width: 1050px) {

    .perfil-layout {
        grid-template-columns: 245px minmax(0, 1fr);
        gap: 20px;
    }

    .perfil-stats {
        gap: 10px;
    }

    .perfil-stat-card {
        padding: 16px 12px;
        gap: 9px;
    }

    .perfil-stat-icon {
        width: 43px;
        height: 43px;
        font-size: 21px;
    }

    .perfil-stat-card h3 {
        font-size: 21px;
    }

    .perfil-course-image {
        flex-basis: 130px;
    }
}

@media (max-width: 800px) {

    .perfil-layout {
        grid-template-columns: 1fr;
    }

    .perfil-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .perfil-banner {
        padding: 35px;
    }

    .perfil-banner-art {
        flex-basis: 150px;
    }

    .perfil-art-circle {
        width: 140px;
        height: 140px;
    }

    .perfil-art-main {
        font-size: 70px;
    }
}

/* ========================================
   RESPONSIVE - CELULARES
======================================== */

@media (max-width: 600px) {

    .perfil-page {
        padding: 25px 14px 60px;
    }

    .perfil-banner {
        padding: 32px 25px;
        border-radius: 22px;
        margin-bottom: 22px;
    }

    .perfil-banner h1 {
        font-size: 29px;
    }

    .perfil-banner p {
        font-size: 13px;
    }

    .perfil-banner-art {
        display: none;
    }

    .perfil-sidebar {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .perfil-user-card {
        padding: 25px 20px;
    }

    .perfil-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .perfil-menu a {
        font-size: 11px;
        padding: 12px 10px;
    }

    .perfil-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .perfil-stat-card {
        flex-direction: column;
        text-align: center;
        padding: 15px 6px;
    }

    .perfil-stat-card h3 {
        font-size: 21px;
    }

    .perfil-stat-card p {
        font-size: 10px;
    }

    .perfil-section-heading {
        align-items: start;
    }

    .perfil-section-heading h2 {
        font-size: 21px;
    }

    .perfil-course-card {
        flex-direction: column;
        gap: 15px;
    }

    .perfil-course-image {
        flex-basis: auto;
        min-height: 150px;
    }

    .perfil-course-info {
        padding: 0 4px 5px;
    }

    .perfil-course-btn {
        width: 100%;
    }

    .perfil-achievements {
        grid-template-columns: 1fr;
    }

    .perfil-achievement-card {
        padding: 22px;
    }

    .perfil-motivation {
        align-items: flex-start;
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .perfil-art-float {
        animation: none;
    }

    .perfil-course-card,
    .perfil-achievement-card {
        transition: none;
    }
}





/* ========================================
   CLUB DEL PERSONALIZADO
   CATÁLOGO DE CURSOS
======================================== */

.cursos-page {
    --cursos-purple: #794be0;
    --cursos-dark: #292343;
    --cursos-muted: #89839b;
    --cursos-border: #eeeaf5;

    min-height: 100vh;
    padding: 45px 20px 85px;
    background: #faf8ff;
    color: var(--cursos-dark);
}

.cursos-page,
.cursos-page * {
    box-sizing: border-box;
}

.cursos-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================================
   BANNER PRINCIPAL
======================================== */

.cursos-hero {
    background: linear-gradient(
        120deg,
        #7547da 0%,
        #9d70ec 100%
    );

    border-radius: 30px;
    padding: 55px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    position: relative;
    overflow: hidden;
    color: white;
    margin-bottom: 65px;
}

.cursos-hero::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(255,255,255,.12);
    border-radius: 50%;
    right: -150px;
    top: -180px;
}

.cursos-hero-content {
    flex: 1;
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.cursos-hero-tag {
    display: inline-block;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 30px;
    padding: 9px 17px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.cursos-hero h1 {
    font-size: clamp(32px, 4vw, 47px);
    line-height: 1.17;
    font-weight: 800;
    color: white;
    margin: 0 0 19px;
}

.cursos-hero h1 span {
    color: #ffe28d;
    display: block;
}

.cursos-hero p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,.9);
    max-width: 480px;
    margin-bottom: 27px;
}

/* Buscador */

.cursos-hero-search {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 16px;
    padding: 7px;
    width: 100%;
    max-width: 570px;
    box-shadow: 0 12px 25px rgba(50,30,100,.15);
}

.cursos-search-icon {
    font-size: 18px;
    padding: 0 12px;
}

.cursos-hero-search input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 13px 5px;
    font-size: 13px;
    font-family: inherit;
    color: #292343;
    background: transparent;
}

.cursos-hero-search input::placeholder {
    color: #aaa5b6;
}

.cursos-hero-search:focus-within {
    outline: 3px solid rgba(255,226,141,.75);
}

.cursos-hero-search button {
    border: none;
    border-radius: 11px;
    padding: 14px 21px;
    background: #794be0;
    color: white;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s;
}

.cursos-hero-search button:hover {
    background: #6133c6;
}

.cursos-hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 22px;
}

.cursos-hero-benefits span {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.9);
}

/* Ilustración */

.cursos-hero-art {
    flex: 0 0 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.cursos-art-circle {
    width: 220px;
    height: 220px;
    background: rgba(255,255,255,.13);
    border: 2px dashed rgba(255,255,255,.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cursos-art-main {
    font-size: 100px;
    transform: rotate(-12deg);
}

.cursos-art-float {
    position: absolute;
    font-size: 33px;
    animation: cursosFlotar 4s ease-in-out infinite;
}

.art-a {
    top: -10px;
    left: -20px;
}

.art-b {
    top: 5px;
    right: -35px;
    animation-delay: .7s;
}

.art-c {
    bottom: -20px;
    left: 5px;
    animation-delay: 1.4s;
}

.art-d {
    bottom: 15px;
    right: -30px;
    animation-delay: 2s;
}

@keyframes cursosFlotar {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ========================================
   ENCABEZADO DEL CATÁLOGO
======================================== */

.cursos-catalogo {
    margin-bottom: 65px;
}

.cursos-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.cursos-mini-label {
    display: inline-block;
    color: #9368e8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.cursos-heading h2 {
    font-size: 29px;
    font-weight: 800;
    color: var(--cursos-dark);
    margin: 0 0 10px;
}

.cursos-heading p {
    font-size: 13px;
    color: var(--cursos-muted);
    line-height: 1.7;
}

.cursos-total {
    background: #f0e8ff;
    color: #7547da;
    padding: 13px 17px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.cursos-total span {
    font-weight: 900;
    font-size: 17px;
    margin-right: 5px;
}

/* ========================================
   FILTROS
======================================== */

.cursos-toolbar {
    background: white;
    border: 1px solid var(--cursos-border);
    border-radius: 20px;
    padding: 22px;

    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.cursos-filtros {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: 15px;
}

.cursos-filter-group {
    flex: 1;
    min-width: 160px;
}

.cursos-filter-group label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--cursos-dark);
    margin-bottom: 9px;
}

.cursos-filter-group select {
    width: 100%;
    background: #faf9fd;
    color: #625b75;
    border: 2px solid #f0edf5;
    border-radius: 11px;
    padding: 12px;
    outline: none;
    cursor: pointer;
    font-size: 12px;
    font-family: inherit;
    transition: .2s;
}

.cursos-filter-group select:focus {
    border-color: #9368e8;
    box-shadow: 0 0 0 3px rgba(147,104,232,.12);
}

.cursos-limpiar {
    padding: 13px 16px;
    background: #f5efff;
    color: #7547da;
    border: none;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: .2s;
}

.cursos-limpiar:hover {
    background: #e8dcff;
}

.cursos-results {
    margin: 0 0 20px;
}

.cursos-results p {
    font-size: 12px;
    color: var(--cursos-muted);
}

/* ========================================
   GRID DE CURSOS
======================================== */

.cursos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* ========================================
   TARJETA DE CURSO
======================================== */

.catalogo-card {
    background: white;
    border: 1px solid var(--cursos-border);
    border-radius: 21px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: .25s ease;
}

.catalogo-card[hidden],
.cursos-empty[hidden] {
    display: none !important;
}

.catalogo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(70,40,130,.09);
}

.catalogo-card-image {
    min-height: 195px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.catalogo-card-image::after {
    content: "";
    width: 160px;
    height: 160px;
    border: 2px dashed rgba(255,255,255,.55);
    border-radius: 50%;
    position: absolute;
}

.catalogo-card-image.rosa {
    background: linear-gradient(135deg, #ffe0ec, #ffc4dd);
}

.catalogo-card-image.morado {
    background: linear-gradient(135deg, #e9ddff, #ccb6fc);
}

.catalogo-card-image.amarillo {
    background: linear-gradient(135deg, #fff0c6, #ffdda0);
}

.catalogo-card-image.azul {
    background: linear-gradient(135deg, #d9f2ff, #b8e4ff);
}

.catalogo-card-image.verde {
    background: linear-gradient(135deg, #d9f8e9, #b8efd8);
}

.catalogo-card-image.naranja {
    background: linear-gradient(135deg, #ffe7cd, #ffcfaa);
}

.catalogo-card-emoji {
    font-size: 85px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 12px 12px rgba(0,0,0,.08));
    transition: .3s;
}

.catalogo-card:hover .catalogo-card-emoji {
    transform: scale(1.12) rotate(-8deg);
}

.catalogo-card-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    background: white;
    color: #7547da;
    padding: 9px 13px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
}

/* Contenido de tarjeta */

.catalogo-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.catalogo-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.catalogo-category {
    display: inline-block;
    background: #f2eaff;
    color: #7547da;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
}

.catalogo-level {
    font-size: 10px;
    color: #9993a9;
    font-weight: 600;
}

.catalogo-card-body h3 {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 800;
    color: var(--cursos-dark);
    margin: 0 0 12px;
}

.catalogo-description {
    color: var(--cursos-muted);
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1;
}

.catalogo-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 11px;
    color: #817a91;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0edf5;
}

/* Precio y botón */

.catalogo-card-bottom {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.catalogo-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.catalogo-price del {
    font-size: 11px;
    color: #aaa5b6;
}

.catalogo-price strong {
    color: var(--cursos-dark);
    font-size: 23px;
    font-weight: 900;
}

.catalogo-price strong small {
    font-size: 10px;
    font-weight: 700;
    color: #89839b;
}

.catalogo-price .catalogo-free {
    color: #22a577;
    font-size: 21px;
}

.catalogo-card-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    background: #794be0;
    color: white;
    border-radius: 11px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    transition: .2s;
}

.catalogo-card-btn:hover {
    background: #6235c3;
    transform: translateY(-2px);
}

.catalogo-card-btn span {
    font-size: 16px;
}

/* ========================================
   SIN RESULTADOS
======================================== */

.cursos-empty {
    text-align: center;
    background: white;
    border: 1px dashed #d9c8f8;
    border-radius: 22px;
    padding: 65px 20px;
    margin-top: 20px;
}

.cursos-empty-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.cursos-empty h3 {
    color: var(--cursos-dark);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cursos-empty p {
    color: var(--cursos-muted);
    font-size: 13px;
    line-height: 1.8;
    max-width: 400px;
    margin: 0 auto 23px;
}

.cursos-empty button {
    border: none;
    background: #794be0;
    color: white;
    padding: 13px 23px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
}

/* ========================================
   BANNER FINAL
======================================== */

.cursos-cta {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 33px;
    border-radius: 23px;
    background: #f0e8ff;
    border: 1px dashed #d8c6f8;
}

.cursos-cta-icon {
    font-size: 49px;
    flex-shrink: 0;
}

.cursos-cta-content {
    flex: 1;
}

.cursos-cta h2 {
    color: #6540b4;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 9px;
}

.cursos-cta p {
    color: #816ca3;
    font-size: 12px;
    line-height: 1.8;
}

.cursos-cta > a {
    flex-shrink: 0;
    padding: 14px 20px;
    border-radius: 12px;
    background: #794be0;
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition: .2s;
}

.cursos-cta > a:hover {
    background: #6336c5;
}

/* ========================================
   RESPONSIVE - TABLET
======================================== */

@media (max-width: 1050px) {

    .cursos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cursos-hero {
        padding: 45px 35px;
    }

    .cursos-hero-art {
        flex-basis: 190px;
    }

    .cursos-art-circle {
        width: 170px;
        height: 170px;
    }

    .cursos-art-main {
        font-size: 75px;
    }
}

@media (max-width: 800px) {

    .cursos-hero-art {
        display: none;
    }

    .cursos-hero-content {
        max-width: none;
    }

    .cursos-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .cursos-limpiar {
        align-self: flex-start;
    }

    .cursos-cta {
        flex-wrap: wrap;
    }
}

/* ========================================
   RESPONSIVE - CELULAR
======================================== */

@media (max-width: 600px) {

    .cursos-page {
        padding: 25px 14px 60px;
    }

    .cursos-hero {
        padding: 35px 23px;
        border-radius: 22px;
        margin-bottom: 45px;
    }

    .cursos-hero h1 {
        font-size: 30px;
    }

    .cursos-hero p {
        font-size: 13px;
    }

    .cursos-hero-search {
        flex-wrap: wrap;
    }

    .cursos-hero-search input {
        min-width: 0;
    }

    .cursos-hero-search button {
        padding: 13px;
    }

    .cursos-hero-benefits {
        gap: 10px;
    }

    .cursos-hero-benefits span {
        font-size: 10px;
    }

    .cursos-heading {
        align-items: start;
        flex-direction: column;
    }

    .cursos-heading h2 {
        font-size: 24px;
    }

    .cursos-toolbar {
        padding: 17px;
    }

    .cursos-filtros {
        flex-direction: column;
    }

    .cursos-filter-group {
        min-width: 0;
        width: 100%;
    }

    .cursos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .catalogo-card-image {
        min-height: 185px;
    }

    .cursos-cta {
        padding: 25px;
        align-items: flex-start;
        flex-direction: column;
    }

    .cursos-cta h2 {
        font-size: 18px;
    }

    .cursos-cta > a {
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cursos-art-float {
        animation: none;
    }

    .catalogo-card,
    .catalogo-card-emoji {
        transition: none;
    }
}

/* ========================================
   CLUB DEL PERSONALIZADO
   AULA VIRTUAL - CURSO.PHP
======================================== */

.aula-page {
    --aula-purple: #794be0;
    --aula-dark: #292343;
    --aula-muted: #89839b;
    --aula-border: #eeeaf5;

    min-height: 100vh;
    background: #faf8ff;
    padding: 35px 20px 90px;
    color: var(--aula-dark);
}

.aula-page,
.aula-page * {
    box-sizing: border-box;
}

.aula-container {
    max-width: 1350px;
    margin: 0 auto;
}

/* ========================================
   NAVEGACIÓN SUPERIOR
======================================== */

.aula-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
}

.aula-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #794be0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.aula-back:hover {
    text-decoration: underline;
}

.aula-top-label {
    color: #9368e8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* ========================================
   INFORMACIÓN DEL CURSO
======================================== */

.aula-heading {
    margin-bottom: 30px;
}

.aula-category {
    display: inline-block;
    background: #f0e8ff;
    color: #794be0;
    padding: 9px 15px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 17px;
}

.aula-heading h1 {
    color: var(--aula-dark);
    font-size: clamp(28px, 4vw, 37px);
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 12px;
}

.aula-heading p {
    font-size: 14px;
    color: var(--aula-muted);
    line-height: 1.7;
    margin-bottom: 17px;
}

.aula-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.aula-course-meta span {
    font-size: 11px;
    color: #797287;
    font-weight: 600;
}

/* ========================================
   DISTRIBUCIÓN DEL AULA
======================================== */

.aula-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 365px;
    align-items: start;
    gap: 25px;
}

.aula-main,
.aula-sidebar {
    min-width: 0;
}

/* ========================================
   REPRODUCTOR DE VIDEO
======================================== */

.aula-player-card {
    background: white;
    border: 1px solid var(--aula-border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(60,40,100,.04);
}

.aula-video-wrapper {
    background: #1c1929;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.aula-video-wrapper video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #1c1929;
}

.aula-player-footer {
    padding: 25px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.aula-now-playing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8b5de1;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.aula-live-dot {
    width: 8px;
    height: 8px;
    background: #9d76ec;
    border-radius: 50%;
}

.aula-player-footer h2 {
    color: var(--aula-dark);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0;
}

.aula-lesson-count {
    background: #f4efff;
    color: #794be0;
    padding: 9px 13px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

/* ========================================
   DESCRIPCIÓN DE LECCIÓN
======================================== */

.aula-lesson-info {
    background: white;
    border: 1px solid var(--aula-border);
    border-radius: 20px;
    margin-top: 22px;
    padding: 30px;
}

.aula-mini-label {
    display: inline-block;
    color: #9368e8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
    margin-bottom: 9px;
}

.aula-section-heading {
    margin-bottom: 18px;
}

.aula-section-heading h2 {
    font-size: 21px;
    color: var(--aula-dark);
    font-weight: 800;
    margin: 0;
}

.aula-lesson-info > p {
    color: #797287;
    font-size: 13px;
    line-height: 1.9;
    margin: 0;
}

/* ========================================
   BOTONES DE NAVEGACIÓN
======================================== */

.aula-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
}

.aula-actions button {
    padding: 14px 17px;
    min-height: 47px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: .2s ease;
}

.aula-btn-secondary {
    background: white;
    border: 1px solid #e8e1f2;
    color: #7547da;
}

.aula-btn-secondary:hover:not(:disabled) {
    background: #f4efff;
}

.aula-btn-complete {
    background: #eee8fc;
    border: 1px solid #d9cbf4;
    color: #7547da;
}

.aula-btn-complete:hover {
    background: #e5d9fc;
}

.aula-btn-complete.is-completed {
    background: #e0f7ed;
    border-color: #bcead4;
    color: #169568;
}

.aula-btn-next {
    background: #794be0;
    border: 1px solid #794be0;
    color: white;
}

.aula-btn-next:hover:not(:disabled) {
    background: #6337c4;
    transform: translateY(-2px);
}

.aula-actions button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

/* ========================================
   MENSAJE MOTIVACIONAL
======================================== */

.aula-motivation {
    background: #f0e8ff;
    border: 1px dashed #d8c6f8;
    border-radius: 20px;
    padding: 26px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.aula-motivation-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.aula-motivation h3 {
    font-size: 16px;
    color: #6540b4;
    font-weight: 800;
    margin: 0 0 8px;
}

.aula-motivation p {
    font-size: 12px;
    color: #816ba6;
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   TARJETA DE LISTA DE REPRODUCCIÓN
======================================== */

.aula-playlist-card {
    background: white;
    border: 1px solid var(--aula-border);
    border-radius: 21px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(60,40,100,.04);
}

.aula-playlist-header {
    padding: 24px;
    border-bottom: 1px solid var(--aula-border);
}

.aula-playlist-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.aula-playlist-title h2 {
    color: var(--aula-dark);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0;
}

.aula-playlist-icon {
    background: #f2eaff;
    border-radius: 13px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    flex-shrink: 0;
}

/* ========================================
   PROGRESO
======================================== */

.aula-progress-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.aula-progress-info strong {
    color: #7547da;
    font-size: 12px;
    font-weight: 800;
}

.aula-progress-info span {
    font-size: 10px;
    color: var(--aula-muted);
}

.aula-progress-track {
    width: 100%;
    height: 9px;
    background: #f0eafa;
    border-radius: 20px;
    overflow: hidden;
}

.aula-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(
        90deg,
        #8150e3,
        #b68aec
    );
    border-radius: 20px;
    transition: width .3s ease;
}

/* ========================================
   MÓDULOS DEL TEMARIO
======================================== */

.aula-modules {
    max-height: 690px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d9c8f4 transparent;
}

.aula-module {
    border-bottom: 1px solid var(--aula-border);
}

.aula-module:last-child {
    border-bottom: 0;
}

.aula-module-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 19px 20px;
    cursor: pointer;
    list-style: none;
    background: white;
    transition: background .2s;
}

.aula-module-header::-webkit-details-marker {
    display: none;
}

.aula-module-header:hover {
    background: #faf7ff;
}

.aula-module[open] > .aula-module-header {
    background: #faf7ff;
}

.aula-module-number {
    width: 37px;
    height: 37px;
    border-radius: 12px;
    background: #f1eaff;
    color: #794be0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 900;
}

.aula-module-heading {
    flex: 1;
    min-width: 0;
}

.aula-module-heading strong {
    display: block;
    color: var(--aula-dark);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 4px;
}

.aula-module-heading > span {
    color: var(--aula-muted);
    font-size: 10px;
}

.aula-module-arrow {
    color: #9c91ae;
    font-size: 21px;
    line-height: 1;
    transition: transform .2s;
}

.aula-module[open] .aula-module-arrow {
    transform: rotate(180deg);
}

/* ========================================
   ELEMENTOS DE LA PLAYLIST
======================================== */

.aula-module-lessons {
    padding: 8px 10px 12px;
}

.aula-lesson-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    border-radius: 12px;
    padding: 14px 12px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background .2s;
    color: var(--aula-dark);
}

.aula-lesson-item:hover {
    background: #f7f3ff;
}

.aula-lesson-item.active {
    background: #eee6ff;
}

.aula-lesson-status {
    flex: 0 0 33px;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: #f1edf7;
    color: #9488a6;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
}

.aula-lesson-item.active .aula-lesson-status {
    background: #794be0;
    color: white;
}

.aula-lesson-details {
    flex: 1;
    min-width: 0;
}

.aula-lesson-details strong {
    display: block;
    color: #4d455e;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 5px;
}

.aula-lesson-item.active .aula-lesson-details strong {
    color: #6c3cca;
}

.aula-lesson-details small {
    color: #9b94aa;
    font-size: 10px;
}

.aula-lesson-check {
    display: none;
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dff7ea;
    color: #179c6c;
    font-size: 12px;
    font-weight: 900;
}

.aula-lesson-item.completed .aula-lesson-check {
    display: flex;
}

/* ========================================
   TARJETA DE CONSEJO
======================================== */

.aula-help-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff4d9;
    border: 1px solid #ffebbb;
    border-radius: 17px;
    padding: 22px;
    margin-top: 20px;
}

.aula-help-card > span {
    font-size: 28px;
    flex-shrink: 0;
}

.aula-help-card h3 {
    color: #9b691d;
    font-size: 13px;
    font-weight: 800;
    margin: 0 0 7px;
}

.aula-help-card p {
    color: #a6834d;
    font-size: 11px;
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   ACCESIBILIDAD
======================================== */

.aula-page button:focus-visible,
.aula-page a:focus-visible,
.aula-page summary:focus-visible {
    outline: 3px solid #b797ff;
    outline-offset: 3px;
}

/* ========================================
   RESPONSIVE - TABLETS
======================================== */

@media (max-width: 1050px) {

    .aula-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 18px;
    }

    .aula-player-footer {
        padding: 20px;
    }

    .aula-actions button {
        padding: 13px;
        font-size: 11px;
    }
}

@media (max-width: 850px) {

    .aula-layout {
        grid-template-columns: 1fr;
    }

    .aula-sidebar {
        grid-row: 2;
    }

    .aula-modules {
        max-height: none;
    }

    .aula-actions {
        justify-content: center;
    }
}

/* ========================================
   RESPONSIVE - CELULARES
======================================== */

@media (max-width: 600px) {

    .aula-page {
        padding: 24px 14px 60px;
    }

    .aula-topbar {
        margin-bottom: 25px;
    }

    .aula-top-label {
        display: none;
    }

    .aula-heading h1 {
        font-size: 27px;
    }

    .aula-heading p {
        font-size: 13px;
    }

    .aula-course-meta {
        gap: 11px;
    }

    .aula-course-meta span {
        font-size: 10px;
    }

    .aula-player-card {
        border-radius: 16px;
    }

    .aula-player-footer {
        padding: 19px;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .aula-player-footer h2 {
        font-size: 18px;
    }

    .aula-lesson-info {
        padding: 22px;
    }

    .aula-section-heading h2 {
        font-size: 19px;
    }

    .aula-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .aula-btn-complete {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .aula-actions button {
        width: 100%;
    }

    .aula-motivation {
        padding: 22px;
        align-items: flex-start;
    }

    .aula-playlist-header {
        padding: 20px;
    }

    .aula-module-header {
        padding: 17px 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aula-progress-fill,
    .aula-module-arrow {
        transition: none;
    }
}







/* ========================================
   CLUB DEL PERSONALIZADO
   REGISTRO DE USUARIOS
======================================== */

.registro-page {
    --registro-purple: #794be0;
    --registro-dark: #292343;
    --registro-muted: #89839b;

    min-height: 100vh;
    background: linear-gradient(
        135deg,
        #f8f5ff 0%,
        #fff5fa 50%,
        #f2efff 100%
    );

    padding: 55px 20px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.registro-page,
.registro-page * {
    box-sizing: border-box;
}

/* CONTENEDOR */

.registro-container {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;

    background: white;
    border-radius: 30px;
    overflow: hidden;

    box-shadow: 0 25px 65px rgba(60,35,110,.10);
}

/* ========================================
   LADO IZQUIERDO
======================================== */

.registro-welcome {
    background: linear-gradient(
        145deg,
        #794be0,
        #a170ef
    );

    padding: 60px 48px;
    color: white;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    position: relative;
    overflow: hidden;
}

.registro-welcome::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border: 2px solid rgba(255,255,255,.13);
    border-radius: 50%;
    right: -170px;
    top: -120px;
}

.registro-sticker {
    background: white;
    color: #794be0;
    padding: 10px 17px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 30px;
    z-index: 1;
}

.registro-welcome h1 {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin: 0 0 20px;
    z-index: 1;
}

.registro-welcome h1 span {
    display: block;
    color: #ffe18d;
}

.registro-welcome > p {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255,255,255,.9);
    max-width: 380px;
    z-index: 1;
}

/* ILUSTRACIÓN */

.registro-illustration {
    width: 100%;
    padding: 55px 0;

    display: flex;
    justify-content: center;
    align-items: center;
}

.registro-art-circle {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    border: 2px dashed rgba(255,255,255,.4);

    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.registro-art-main {
    font-size: 95px;
    transform: rotate(-12deg);
}

.registro-art-item {
    position: absolute;
    font-size: 33px;
    animation: registroFlotar 4s ease-in-out infinite;
}

.item-1 {
    top: -15px;
    left: -20px;
}

.item-2 {
    top: 10px;
    right: -25px;
    animation-delay: .5s;
}

.item-3 {
    bottom: -10px;
    left: -20px;
    animation-delay: 1s;
}

.item-4 {
    bottom: 5px;
    right: -30px;
    animation-delay: 1.5s;
}

@keyframes registroFlotar {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* BENEFICIOS */

.registro-benefits {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: auto;
    z-index: 1;
}

.registro-benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.registro-benefit > span {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,.16);

    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    flex-shrink: 0;
}

.registro-benefit strong {
    font-size: 13px;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
}

.registro-benefit p {
    font-size: 11px;
    color: rgba(255,255,255,.8);
    line-height: 1.6;
}

/* ========================================
   FORMULARIO
======================================== */

.registro-form-section {
    padding: 55px 52px;
}

.registro-form-header {
    text-align: center;
    margin-bottom: 32px;
}

.registro-form-icon {
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;

    background: #f1eaff;
    border-radius: 20px;
    font-size: 31px;
    margin: 0 auto 20px;
    transform: rotate(-6deg);
}

.registro-mini-label {
    color: #9368e8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.registro-form-header h2 {
    color: var(--registro-dark);
    font-size: 29px;
    font-weight: 800;
    margin: 10px 0;
}

.registro-form-header p {
    color: var(--registro-muted);
    font-size: 13px;
    line-height: 1.7;
}

/* CAMPOS */

.registro-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.registro-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.registro-field {
    min-width: 0;
}

.registro-field label {
    display: block;
    color: var(--registro-dark);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 9px;
}

.registro-input-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.registro-input-icon {
    position: absolute;
    left: 15px;
    font-size: 16px;
    pointer-events: none;
}

.registro-input-wrapper input {
    width: 100%;
    height: 53px;
    background: #faf9fd;
    border: 2px solid #efedf5;
    border-radius: 13px;
    padding: 0 45px;
    outline: none;
    color: #292343;
    font-size: 13px;
    font-family: inherit;
    transition: .2s;
}

.registro-input-wrapper input::placeholder {
    color: #aaa5b6;
}

.registro-input-wrapper input:focus {
    background: white;
    border-color: #9368e8;
    box-shadow: 0 0 0 4px rgba(147,104,232,.10);
}

/* MOSTRAR CONTRASEÑA */

.registro-toggle-password {
    position: absolute;
    right: 12px;
    padding: 6px;
    border: none;
    background: transparent;
    font-size: 17px;
    cursor: pointer;
}

/* ========================================
   REQUISITOS DE CONTRASEÑA
======================================== */

.registro-password-rules {
    background: #faf8ff;
    border: 1px solid #eee8f9;
    border-radius: 13px;
    padding: 15px 17px;
    margin-top: 12px;
}

.registro-password-rules > p {
    color: #777185;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
}

.registro-rule {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9891a7;
    font-size: 11px;
    margin-top: 9px;
    transition: .2s;
}

.registro-rule-icon {
    width: 18px;
    height: 18px;
    border: 1px solid #d7d0e3;
    border-radius: 50%;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    font-size: 11px;
    font-weight: 900;
    flex-shrink: 0;
}

.registro-rule.valid {
    color: #169c70;
    font-weight: 700;
}

.registro-rule.valid .registro-rule-icon {
    background: #dcf7eb;
    color: #169c70;
    border-color: #bce8d2;
}

/* CONFIRMACIÓN */

.registro-match-message {
    font-size: 11px;
    margin-top: 9px;
    min-height: 14px;
}

.registro-match-message.success {
    color: #169c70;
}

.registro-match-message.error {
    color: #e05d72;
}

/* ========================================
   TÉRMINOS
======================================== */

.registro-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #817a91;
    font-size: 11px;
    line-height: 1.8;
    cursor: pointer;
}

.registro-terms input {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    accent-color: #794be0;
    flex-shrink: 0;
}

.registro-terms a {
    color: #794be0;
    font-weight: 800;
    text-decoration: none;
}

.registro-terms a:hover {
    text-decoration: underline;
}

/* ERROR */

.registro-error {
    padding: 13px;
    border-radius: 11px;
    background: #fff0f1;
    color: #c7485a;
    font-size: 12px;
}

.registro-error[hidden] {
    display: none;
}

/* ========================================
   BOTÓN REGISTRAR
======================================== */

.registro-submit {
    background: linear-gradient(
        135deg,
        #7849df,
        #9a68e9
    );

    color: white;
    border: none;
    border-radius: 14px;
    padding: 17px 20px;
    font-size: 14px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;

    box-shadow: 0 8px 20px rgba(120,73,223,.22);
    transition: .25s;
}

.registro-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(120,73,223,.3);
}

.registro-submit span {
    font-size: 21px;
}

/* INICIAR SESIÓN */

.registro-login-link {
    text-align: center;
    border-top: 1px solid #eeebf5;
    padding-top: 25px;
    margin-top: 30px;
}

.registro-login-link p {
    font-size: 12px;
    color: #89839b;
    margin-bottom: 8px;
}

.registro-login-link a {
    color: #794be0;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.registro-login-link a:hover {
    text-decoration: underline;
}

.registro-security {
    text-align: center;
    color: #aaa5b4;
    font-size: 11px;
    margin-top: 25px;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 900px) {

    .registro-container {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .registro-welcome {
        padding: 35px;
        text-align: center;
        align-items: center;
    }

    .registro-welcome h1 {
        font-size: 30px;
    }

    .registro-welcome > p {
        font-size: 13px;
    }

    .registro-illustration,
    .registro-benefits {
        display: none;
    }

    .registro-form-section {
        padding: 45px 35px;
    }
}

@media (max-width: 480px) {

    .registro-page {
        padding: 20px 13px;
    }

    .registro-container {
        border-radius: 22px;
    }

    .registro-welcome {
        padding: 28px 22px;
    }

    .registro-welcome h1 {
        font-size: 26px;
    }

    .registro-sticker {
        font-size: 10px;
        margin-bottom: 17px;
    }

    .registro-form-section {
        padding: 35px 22px;
    }

    .registro-form-header h2 {
        font-size: 25px;
    }

    .registro-row {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .registro-art-item {
        animation: none;
    }

    .registro-submit {
        transition: none;
    }
}


/* ========================================
   CLUB DEL PERSONALIZADO
   TÉRMINOS Y CONDICIONES
======================================== */

.terminos-page {
    --terminos-purple: #794be0;
    --terminos-dark: #292343;
    --terminos-muted: #89839b;
    --terminos-border: #eeeaf5;

    background: #faf8ff;
    min-height: 100vh;
    padding: 32px 20px 90px;
    color: var(--terminos-dark);
}

.terminos-page,
.terminos-page * {
    box-sizing: border-box;
}

.terminos-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================================
   BREADCRUMB
======================================== */

.terminos-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 12px;
    color: #928ba2;
}

.terminos-breadcrumb a {
    color: #794be0;
    text-decoration: none;
    font-weight: 700;
}

.terminos-breadcrumb a:hover {
    text-decoration: underline;
}

/* ========================================
   BANNER PRINCIPAL
======================================== */

.terminos-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 52px 60px;
    border-radius: 28px;

    background: linear-gradient(
        125deg,
        #7547da,
        #9e70ec
    );

    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.terminos-hero::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border: 2px solid rgba(255,255,255,.13);
    border-radius: 50%;
    top: -180px;
    right: -100px;
}

.terminos-hero-content {
    max-width: 680px;
    position: relative;
    z-index: 2;
}

.terminos-hero-tag {
    display: inline-block;
    background: rgba(255,255,255,.17);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 30px;
    padding: 9px 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.terminos-hero h1 {
    font-size: clamp(32px, 4vw, 45px);
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin: 0 0 20px;
}

.terminos-hero h1 span {
    display: block;
    color: #ffe18d;
}

.terminos-hero p {
    color: rgba(255,255,255,.9);
    font-size: 14px;
    line-height: 1.9;
    max-width: 580px;
    margin-bottom: 24px;
}

.terminos-updated {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    padding: 11px 15px;
    border-radius: 12px;
    background: rgba(255,255,255,.14);
    color: rgba(255,255,255,.9);
    font-size: 11px;
}

.terminos-updated strong {
    color: white;
}

/* ILUSTRACIÓN */

.terminos-hero-illustration {
    flex: 0 0 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.terminos-art-circle {
    width: 190px;
    height: 190px;
    background: rgba(255,255,255,.13);
    border: 2px dashed rgba(255,255,255,.4);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.terminos-art-main {
    font-size: 86px;
    transform: rotate(-12deg);
}

.terminos-art-item {
    font-size: 30px;
    position: absolute;
    animation: terminosFlotar 4s ease-in-out infinite;
}

.term-art-1 {
    top: -15px;
    left: -10px;
}

.term-art-2 {
    top: 20px;
    right: -20px;
    animation-delay: 1s;
}

.term-art-3 {
    bottom: -12px;
    left: 18px;
    animation-delay: 2s;
}

@keyframes terminosFlotar {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ========================================
   NOTA INTRODUCTORIA
======================================== */

.terminos-intro-notice {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 30px;
    border-radius: 19px;
    background: #f0e8ff;
    border: 1px dashed #d8c6f8;
    margin-bottom: 35px;
}

.terminos-notice-icon {
    width: 52px;
    height: 52px;
    background: white;
    border-radius: 15px;

    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 27px;
    flex-shrink: 0;
}

.terminos-intro-notice h2 {
    color: #6540b4;
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 8px;
}

.terminos-intro-notice p {
    color: #816ba6;
    font-size: 12px;
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   DISTRIBUCIÓN PRINCIPAL
======================================== */

.terminos-layout {
    display: grid;
    grid-template-columns: 285px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.terminos-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 25px;
}

/* ========================================
   MENÚ LATERAL
======================================== */

.terminos-nav {
    background: white;
    border: 1px solid var(--terminos-border);
    border-radius: 21px;
    overflow: hidden;
}

.terminos-nav-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 22px;
    border-bottom: 1px solid var(--terminos-border);
}

.terminos-nav-heading > span {
    font-size: 22px;
}

.terminos-nav-heading h2 {
    color: var(--terminos-dark);
    font-size: 16px;
    font-weight: 800;
    margin: 0;
}

.terminos-nav-links {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 570px;
    overflow-y: auto;
}

.terminos-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 12px;
    color: #777185;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s;
}

.terminos-nav-link:hover {
    background: #f7f3ff;
    color: #794be0;
}

.terminos-nav-link.active {
    background: #f0e8ff;
    color: #7547da;
}

.terminos-nav-number {
    color: #b3a8c6;
    font-size: 10px;
    font-weight: 800;
}

.terminos-nav-link.active .terminos-nav-number {
    color: #7547da;
}

/* ========================================
   AYUDA LATERAL
======================================== */

.terminos-sidebar-help {
    background: #fff5de;
    border: 1px solid #ffe9b8;
    padding: 23px;
    border-radius: 19px;
}

.terminos-sidebar-help > span {
    font-size: 29px;
    display: block;
    margin-bottom: 14px;
}

.terminos-sidebar-help h3 {
    color: #926619;
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 9px;
}

.terminos-sidebar-help p {
    color: #a5844f;
    font-size: 11px;
    line-height: 1.8;
    margin: 0 0 15px;
}

.terminos-sidebar-help a {
    color: #95661d;
    text-decoration: none;
    font-weight: 800;
    font-size: 11px;
}

/* ========================================
   SECCIONES LEGALES
======================================== */

.terminos-content {
    min-width: 0;
    background: white;
    border: 1px solid var(--terminos-border);
    border-radius: 23px;
    padding: 12px 40px 40px;
}

.terminos-section {
    padding: 36px 0;
    border-bottom: 1px solid var(--terminos-border);
    scroll-margin-top: 25px;
}

.terminos-section-label {
    color: #9368e8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 13px;
}

.terminos-section h2 {
    color: var(--terminos-dark);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 18px;
}

.terminos-section p {
    color: #706a80;
    font-size: 13px;
    line-height: 2;
    margin: 0 0 17px;
    overflow-wrap: anywhere;
}

.terminos-section p:last-child {
    margin-bottom: 0;
}

.terminos-section strong {
    color: #4b415e;
    font-weight: 800;
}

.terminos-section ul {
    margin: 20px 0;
    padding-left: 23px;
    list-style: disc;
}

.terminos-section li {
    color: #706a80;
    font-size: 13px;
    line-height: 1.9;
    padding-left: 5px;
    margin-bottom: 12px;
}

.terminos-section li::marker {
    color: #a47cef;
}

/* ========================================
   MENSAJES DESTACADOS
======================================== */

.terminos-highlight {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    margin-top: 20px;
    background: #f6f1ff;
    border-left: 4px solid #9670e4;
    border-radius: 0 13px 13px 0;
}

.terminos-highlight > span {
    font-size: 24px;
    flex-shrink: 0;
}

.terminos-highlight p {
    font-size: 12px;
    color: #756390;
    margin: 0;
    line-height: 1.8;
}

.terminos-inline-link {
    display: inline-flex;
    color: #794be0;
    background: #f2eaff;
    border-radius: 10px;
    padding: 12px 18px;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    transition: .2s;
}

.terminos-inline-link:hover {
    background: #e8dcff;
}

/* ========================================
   CONTACTO
======================================== */

.terminos-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f7f3ff;
    border: 1px solid #e9e0fb;
    border-radius: 15px;
    padding: 22px;
}

.terminos-contact-icon {
    width: 56px;
    height: 56px;
    background: #e9ddff;
    border-radius: 15px;

    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    flex-shrink: 0;
}

.terminos-contact-card strong {
    display: block;
    font-size: 13px;
    color: #6540b4;
    margin-bottom: 7px;
}

.terminos-contact-card p {
    font-size: 12px;
    color: #756390;
    margin: 0 0 5px;
    overflow-wrap: anywhere;
}

.terminos-contact-card small {
    color: #9486a9;
    font-size: 11px;
}

/* ========================================
   TARJETA FINAL
======================================== */

.terminos-final-card {
    background: linear-gradient(
        135deg,
        #f1e9ff,
        #fff1f7
    );
    border-radius: 19px;
    padding: 35px;
    text-align: center;
    margin-top: 35px;
}

.terminos-final-icon {
    font-size: 44px;
    margin-bottom: 15px;
}

.terminos-final-card h2 {
    color: #6540b4;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 15px;
}

.terminos-final-card p {
    max-width: 510px;
    margin: 0 auto 25px;
    color: #86719f;
    font-size: 12px;
    line-height: 1.9;
}

.terminos-final-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.terminos-final-actions a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition: .2s;
}

.terminos-btn-primary {
    background: #794be0;
    color: white;
}

.terminos-btn-primary:hover {
    background: #6235c3;
}

.terminos-btn-secondary {
    background: white;
    color: #7547da;
}

.terminos-btn-secondary:hover {
    background: #f8f3ff;
}

/* ========================================
   RESPONSIVE TABLET
======================================== */

@media (max-width: 1000px) {

    .terminos-layout {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 20px;
    }

    .terminos-content {
        padding: 10px 27px 30px;
    }

    .terminos-hero {
        padding: 45px 35px;
    }

    .terminos-hero-illustration {
        flex-basis: 170px;
    }

    .terminos-art-circle {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 800px) {

    .terminos-layout {
        grid-template-columns: 1fr;
    }

    .terminos-sidebar {
        position: static;
    }

    .terminos-nav-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-height: none;
    }

    .terminos-sidebar-help {
        display: none;
    }

    .terminos-hero-illustration {
        display: none;
    }
}

/* ========================================
   RESPONSIVE CELULAR
======================================== */

@media (max-width: 600px) {

    .terminos-page {
        padding: 23px 14px 60px;
    }

    .terminos-hero {
        border-radius: 22px;
        padding: 35px 25px;
    }

    .terminos-hero h1 {
        font-size: 30px;
    }

    .terminos-hero p {
        font-size: 12px;
    }

    .terminos-intro-notice {
        padding: 22px;
        gap: 12px;
    }

    .terminos-notice-icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .terminos-intro-notice h2 {
        font-size: 15px;
    }

    .terminos-content {
        border-radius: 18px;
        padding: 5px 20px 25px;
    }

    .terminos-section {
        padding: 30px 0;
    }

    .terminos-section h2 {
        font-size: 19px;
    }

    .terminos-section p,
    .terminos-section li {
        font-size: 12px;
    }

    .terminos-nav-links {
        grid-template-columns: 1fr;
    }

    .terminos-final-card {
        padding: 25px 17px;
    }

    .terminos-final-card h2 {
        font-size: 19px;
    }

    .terminos-final-actions {
        flex-direction: column;
    }

    .terminos-final-actions a {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .terminos-art-item {
        animation: none;
    }

    .terminos-nav-link,
    .terminos-final-actions a {
        transition: none;
    }
}




/* ========================================
   ALERTA DE REGISTRO EXITOSO
======================================== */

.login-alert {
    display: flex;
    align-items: center;
    gap: 15px;

    width: calc(100% - 40px);
    max-width: 1050px;
    margin: 25px auto 0;
    padding: 18px 22px;

    background: #e8f8ef;
    border: 1px solid #b9e9cc;
    border-radius: 16px;

    box-shadow: 0 8px 25px rgba(40,140,90,.06);
    box-sizing: border-box;

    animation: loginAlertEntrada .4s ease;
}

.login-alert-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;

    background: #24a66a;
    color: white;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 22px;
    font-weight: 900;
}

.login-alert-content {
    flex: 1;
}

.login-alert-content strong {
    display: block;
    color: #17643c;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 5px;
}

.login-alert-content p {
    color: #397a55;
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
}

.login-alert-close {
    border: none;
    background: transparent;
    color: #397a55;
    font-size: 17px;
    cursor: pointer;
    padding: 7px;
    border-radius: 8px;
}

.login-alert-close:hover {
    background: #d1efdf;
}

@keyframes loginAlertEntrada {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .login-alert {
        padding: 15px;
        gap: 10px;
    }

    .login-alert-content strong {
        font-size: 12px;
    }

    .login-alert-content p {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-alert {
        animation: none;
    }
}



/* ========================================
   ALERTA DE ERROR EN LOGIN
======================================== */

.login-alert-error {
    background: #fff1f2;
    border: 1px solid #f3c2c8;
    box-shadow: 0 8px 25px rgba(180, 60, 80, .06);
}

.login-alert-icon-error {
    background: #df5b6f;
    color: white;
}

.login-alert-error .login-alert-content strong {
    color: #a63c4d;
}

.login-alert-error .login-alert-content p {
    color: #8d5861;
}

.login-alert-error .login-alert-close {
    color: #8d5861;
}

.login-alert-error .login-alert-close:hover {
    background: #f8dfe3;
}



/* ========================================
   CLUB DEL PERSONALIZADO
   HACER PEDIDO
======================================== */

.pedido-page {
    --pedido-purple: #794be0;
    --pedido-dark: #292343;
    --pedido-muted: #89839b;
    --pedido-border: #eeeaf5;

    background: #faf8ff;
    min-height: 100vh;
    padding: 30px 20px 90px;
    color: var(--pedido-dark);
}

.pedido-page,
.pedido-page * {
    box-sizing: border-box;
}

.pedido-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* NAVEGACIÓN */

.pedido-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    color: #928ba2;
    font-size: 12px;
}

.pedido-breadcrumb a {
    color: var(--pedido-purple);
    text-decoration: none;
    font-weight: 800;
}

.pedido-breadcrumb a:hover {
    text-decoration: underline;
}

/* ========================================
   BANNER SUPERIOR
======================================== */

.pedido-hero {
    background: linear-gradient(
        120deg, #7547da, #a170ef
    );
    color: white;
    padding: 38px 48px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
}

.pedido-hero::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border: 2px solid rgba(255,255,255,.14);
    border-radius: 50%;
    right: -60px;
    top: -130px;
}

.pedido-hero-content {
    z-index: 1;
    position: relative;
}

.pedido-hero-badge {
    display: inline-block;
    padding: 9px 15px;
    border-radius: 30px;
    background: rgba(255,255,255,.17);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 17px;
}

.pedido-hero h1 {
    color: white;
    font-size: clamp(28px, 3.7vw, 39px);
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 14px;
}

.pedido-hero h1 span {
    color: #ffe18d;
    display: block;
}

.pedido-hero p {
    color: rgba(255,255,255,.9);
    font-size: 13px;
    line-height: 1.8;
    max-width: 540px;
}

.pedido-hero-icon {
    font-size: 105px;
    z-index: 1;
    transform: rotate(-12deg);
}

/* ========================================
   DISTRIBUCIÓN
======================================== */

.pedido-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    align-items: start;
    gap: 25px;
}

.pedido-main,
.pedido-sidebar {
    min-width: 0;
}

/* ========================================
   PORTADA DEL CURSO
======================================== */

.pedido-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    overflow: hidden;
    background: #e8ddff;
}

.pedido-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pedido-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(
        135deg, #e7d8ff, #ffdfea
    );
    color: #7547da;
}

.pedido-cover-placeholder span {
    font-size: 95px;
}

.pedido-cover-placeholder strong {
    font-size: 17px;
    font-weight: 800;
}

.pedido-cover-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 15px;
    border-radius: 30px;
    background: white;
    color: #7547da;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

/* ========================================
   INFORMACIÓN DEL CURSO
======================================== */

.pedido-info {
    background: white;
    border: 1px solid var(--pedido-border);
    padding: 32px;
    border-radius: 21px;
    margin-top: 22px;
}

.pedido-course-category {
    color: #8554df;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.pedido-info h2 {
    color: var(--pedido-dark);
    font-size: clamp(23px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 18px;
}

.pedido-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 25px;
}

.pedido-meta span {
    color: #817a91;
    font-size: 12px;
    font-weight: 600;
}

.pedido-description {
    border-top: 1px solid var(--pedido-border);
    padding-top: 25px;
}

.pedido-description h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--pedido-dark);
    margin-bottom: 14px;
}

.pedido-description p {
    color: #777185;
    font-size: 13px;
    line-height: 2;
    overflow-wrap: anywhere;
}

/* ========================================
   MÓDULOS
======================================== */

.pedido-modules {
    margin-top: 35px;
}

.pedido-section-heading {
    margin-bottom: 22px;
}

.pedido-mini-label {
    color: #9368e8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.pedido-section-heading h2 {
    color: var(--pedido-dark);
    font-size: 24px;
    font-weight: 800;
    margin: 10px 0;
}

.pedido-section-heading p {
    color: var(--pedido-muted);
    font-size: 13px;
    line-height: 1.7;
}

.pedido-modules-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pedido-module-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 19px;
    background: white;
    border: 1px solid var(--pedido-border);
    border-radius: 16px;
    transition: .2s ease;
}

.pedido-module-item:hover {
    border-color: #d8c6fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(80,50,140,.05);
}

.pedido-module-number {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0e8ff;
    border-radius: 13px;
    color: #7547da;
    font-size: 15px;
    font-weight: 900;
}

.pedido-module-content {
    flex: 1;
    min-width: 0;
}

.pedido-module-content strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--pedido-dark);
    line-height: 1.5;
    margin-bottom: 5px;
}

.pedido-module-content span {
    color: var(--pedido-muted);
    font-size: 11px;
}

.pedido-module-lock {
    font-size: 19px;
    flex-shrink: 0;
}

.pedido-no-modules {
    border: 1px dashed #d8c6fa;
    border-radius: 16px;
    background: #f4eeff;
    padding: 25px;
    font-size: 13px;
    color: #7547da;
    text-align: center;
}

/* ========================================
   TARJETA PARA ADQUIRIR
======================================== */

.pedido-buy-card {
    position: sticky;
    top: 25px;
    background: white;
    border: 1px solid #e9e0f6;
    border-radius: 23px;
    padding: 28px;
    box-shadow: 0 15px 35px rgba(70,40,120,.07);
    text-align: center;
}

.pedido-lock-icon {
    width: 75px;
    height: 75px;
    background: #f1eaff;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 37px;
    margin: 0 auto 20px;
}

.pedido-status {
    display: inline-block;
    padding: 8px 13px;
    border-radius: 30px;
    background: #fff2db;
    color: #b57924;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    margin-bottom: 14px;
}

.pedido-buy-card h2 {
    color: var(--pedido-dark);
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 12px;
}

.pedido-lock-description {
    color: var(--pedido-muted);
    font-size: 12px;
    line-height: 1.9;
}

.pedido-divider {
    height: 1px;
    background: var(--pedido-border);
    margin: 24px 0;
}

.pedido-price-label {
    color: #89839b;
    font-size: 12px;
    margin-bottom: 10px;
}

.pedido-old-price {
    color: #aaa4b8;
    font-size: 14px;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.pedido-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
}

.pedido-price strong {
    color: #7547da;
    font-size: 35px;
    font-weight: 900;
}

.pedido-price span {
    color: #89839b;
    font-size: 12px;
    font-weight: 700;
}

/* FORMULARIO */

.pedido-form {
    margin: 0;
}

.pedido-submit {
    width: 100%;
    border: none;
    background: linear-gradient(
        135deg, #7547da, #9869e8
    );
    color: white;
    border-radius: 14px;
    min-height: 55px;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(117,71,218,.20);
    transition: .2s ease;
}

.pedido-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(117,71,218,.28);
}

.pedido-payment-notice {
    color: #948da4;
    font-size: 11px;
    line-height: 1.8;
    margin-top: 16px;
}

/* BENEFICIOS */

.pedido-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.pedido-benefits > div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #696277;
    font-size: 12px;
}

.pedido-benefits span {
    font-size: 19px;
}

/* ========================================
   AYUDA Y MOTIVACIÓN
======================================== */

.pedido-help {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff4dc;
    border: 1px solid #ffebbd;
    border-radius: 17px;
    padding: 20px;
    margin-top: 20px;
}

.pedido-help > span {
    font-size: 25px;
}

.pedido-help strong {
    color: #96671f;
    font-size: 13px;
    display: block;
    margin-bottom: 7px;
}

.pedido-help p {
    color: #a3824d;
    font-size: 11px;
    line-height: 1.7;
}

.pedido-motivation {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    background: #f0e8ff;
    border: 1px dashed #d8c6fa;
    border-radius: 18px;
    padding: 24px;
    margin-top: 30px;
}

.pedido-motivation > span {
    font-size: 30px;
}

.pedido-motivation h3 {
    color: #6540b4;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 10px;
}

.pedido-motivation p {
    color: #816ba6;
    font-size: 12px;
    line-height: 1.8;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1000px) {
    .pedido-layout {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 18px;
    }

    .pedido-buy-card {
        padding: 22px;
    }
}

@media (max-width: 800px) {
    .pedido-layout {
        grid-template-columns: 1fr;
    }

    .pedido-buy-card {
        position: static;
    }

    .pedido-sidebar {
        grid-row: 1;
    }

    .pedido-hero {
        padding: 35px;
    }

    .pedido-hero-icon {
        font-size: 75px;
    }
}

@media (max-width: 600px) {
    .pedido-page {
        padding: 22px 14px 60px;
    }

    .pedido-hero {
        padding: 30px 24px;
        border-radius: 21px;
    }

    .pedido-hero h1 {
        font-size: 28px;
    }

    .pedido-hero-icon {
        display: none;
    }

    .pedido-info {
        padding: 24px;
    }

    .pedido-info h2 {
        font-size: 23px;
    }

    .pedido-cover-placeholder span {
        font-size: 65px;
    }

    .pedido-module-item {
        padding: 15px;
        gap: 12px;
    }

    .pedido-module-content strong {
        font-size: 12px;
    }

    .pedido-buy-card {
        padding: 25px;
    }

    .pedido-price strong {
        font-size: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pedido-submit,
    .pedido-module-item {
        transition: none;
    }
}
