:root{
    --fondo:#f4f6fa;
    --panel:#ffffff;
    --borde:#e7e7ec;
    --texto:#1f2937;
    --muted:#6b7280;
    --rosa:#AA5283;
    --dorado:#B6804A;
    --malva:#A38090;
    --gris:#7E8096;
    --verde:#608336;
    --azul:#4d5e97;
    --azuloscuro:#24345d;
    --sombra:0 12px 30px rgba(15,23,42,.08);
    --sombra-fuerte:0 22px 48px rgba(36,52,93,.14);
}
*{box-sizing:border-box;margin:0;padding:0}
body{
    font-family:Arial,Helvetica,sans-serif;
    background:
        radial-gradient(circle at 85% 0%, rgba(182,128,74,.12), transparent 34%),
        linear-gradient(180deg,#f8fafc 0%,var(--fondo) 42%,#eef1f6 100%);
    color:var(--texto);
}
.shell{min-height:100vh;display:flex}
.sidebar{
    width:320px;
    background:rgba(255,255,255,.84);
    backdrop-filter:blur(18px);
    border-right:1px solid var(--borde);
    box-shadow:10px 0 26px rgba(15,23,42,.06);
    padding:22px 16px;
}
.brand{
    display:flex;
    align-items:center;
    gap:14px;
    background:#fff;
    border:1px solid #ececf1;
    border-radius:18px;
    padding:14px;
    box-shadow:0 6px 18px rgba(15,23,42,.05);
    margin-bottom:18px;
}
.brandicon{
    width:62px;
    height:62px;
    border-radius:16px;
    background:linear-gradient(145deg,var(--azuloscuro) 0%, var(--azul) 100%);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:18px;
    box-shadow:0 8px 18px rgba(36,52,93,.18);
    flex:0 0 auto;
}
.brandlabel{
    font-size:11px;
    color:var(--gris);
    text-transform:uppercase;
    font-weight:700;
    letter-spacing:.8px;
    margin-bottom:3px;
}
.brandtitle{
    font-size:23px;
    line-height:1.02;
    font-weight:700;
}
.brandsubtitle{
    font-size:14px;
    color:#374151;
    margin-top:4px;
}
.navgroup{
    margin-top:14px;
}
.navtitle{
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.8px;
    color:var(--gris);
    padding:0 6px 8px;
}
.navitem{
    width:100%;
    min-height:56px;
    border:1px solid #ececf1;
    border-radius:16px;
    background:linear-gradient(180deg,#ffffff 0%,#f8f8fb 100%);
    display:flex;
    align-items:center;
    padding:0 16px;
    font-size:16px;
    font-weight:700;
    color:#263041;
    box-shadow:0 4px 12px rgba(15,23,42,.03);
    margin-bottom:10px;
    text-decoration:none;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.navitem:hover{
    transform:translateY(-1px);
    border-color:#d8dce8;
    box-shadow:0 10px 20px rgba(15,23,42,.06);
}
.navitem.active{
    background:linear-gradient(90deg,var(--azul) 0%,var(--rosa) 100%);
    color:#fff;
    border-color:transparent;
}
.content{
    flex:1;
    min-width:0;
    display:flex;
    flex-direction:column;
}
.banner{
    background:#e9eaee;
    border-bottom:1px solid #dddfe5;
    min-height:104px;
    max-height:132px;
    overflow:hidden;
}
.banner img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.main{
    padding:32px;
}.topcard{
    background:#fff;
    border:1px solid var(--borde);
    border-radius:28px;
    box-shadow:var(--sombra);
    padding:28px;
    margin-bottom:18px;
    position:relative;
    overflow:hidden;
}
.topcard::after{
    content:'';
    position:absolute;
    right:-80px;
    top:-80px;
    width:220px;
    height:220px;
    background:radial-gradient(circle, rgba(170,82,131,.14) 0%, rgba(77,94,151,.08) 45%, rgba(255,255,255,0) 70%);
}
.topcard span{
    display:inline-flex;
    padding:8px 14px;
    border-radius:999px;
    background:rgba(182,128,74,.12);
    color:var(--dorado);
    font-size:12px;
    font-weight:700;
    margin-bottom:14px;
    position:relative;
    z-index:1;
}
.topcard h1{
    font-size:30px;
    font-weight: bold;
    margin-bottom:10px;
    position:relative;
    z-index:1;
}
.topcard p{
    color:#5f6879;
    line-height:1.6;
    font-size:15px;
    max-width:980px;
    position:relative;
    z-index:1;
}
.grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}
.card{
    background:#fff;
    border:1px solid var(--borde);
    border-radius:24px;
    box-shadow:0 10px 24px rgba(15,23,42,.05);
    overflow:hidden;
    display:flex;
    flex-direction:column;
    min-height:100%;
}
.cardtop{
    padding:22px 22px 16px;
    border-bottom:1px solid #eef0f4;
    background:linear-gradient(180deg,#ffffff 0%,#fbfbfd 100%);
}
.eyebrow{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:6px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    background:var(--doradosuave);
    color:#9a6223;
    margin-bottom:12px;
}
.cardtop h2{
    font-size:22px;
    margin-bottom:10px;
    line-height:1.2;
}
.cardtop p{
    font-size:14px;
    line-height:1.7;
    color:#627083;
}
.preview{
    padding:18px;
    background:#f8fafc;
    border-bottom:1px solid #eef0f4;
}
.previewbox{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:20px;
    overflow:hidden;
    min-height:480px;
}
.previewbox img{
    width:100%;
    height:auto;
    display:block;
}
.cardbody{
    padding:18px 22px 22px;
    display:flex;
    flex-direction:column;
    gap:12px;
    flex:1;
}
.info{
    font-size:14px;
    line-height:1.7;
    color:#4b5563;
    background:#fbfbfd;
    border:1px solid #eef0f4;
    border-radius:16px;
    padding:14px;
}
.actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:auto;
}
.hero{
    background:rgba(255,255,255,.92);
    border:1px solid var(--borde);
    border-radius:22px;
    box-shadow:var(--sombra-fuerte);
    overflow:hidden;
    position:relative;
}
.hero::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:6px;
    background:linear-gradient(90deg,var(--azuloscuro),var(--azul),var(--rosa),var(--dorado));
}
.herohead{
    padding:36px 40px 18px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 320px;
    gap:32px;
    align-items:center;
}
.herohead span,
.sectioneyebrow{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 13px;
    border-radius:12px;
    background:rgba(182,128,74,.12);
    color:var(--dorado);
    font-size:12px;
    font-weight:700;
    margin-bottom:12px;
}
.herohead h1{
    font-size:38px;
    line-height:1.08;
    margin-bottom:14px;
    color:#1f2937;
    max-width:980px;
}
.herohead p{
    font-size:16px;
    color:var(--muted);
    line-height:1.7;
    max-width:940px;
}
.heroaside{
    border:1px solid rgba(77,94,151,.18);
    border-radius:18px;
    background:linear-gradient(155deg,#f8fafc 0%,#ffffff 48%,#fbf7f1 100%);
    padding:22px;
    box-shadow:0 14px 28px rgba(36,52,93,.08);
}
.heroaside-title{
    font-size:13px;
    font-weight:700;
    color:var(--gris);
    text-transform:uppercase;
    letter-spacing:.7px;
    margin-bottom:12px;
}
.heroaside strong{
    display:block;
    font-size:28px;
    line-height:1;
    color:var(--azuloscuro);
    margin-bottom:8px;
}
.heroaside p{
    font-size:14px;
    line-height:1.55;
    margin:0;
}
.herobody{
    padding:16px 40px 30px;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
}
.sectiontitle{
    padding:0 40px 8px;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.8px;
    color:var(--gris);
}
.actioncard{
    border:1px solid var(--borde);
    border-radius:18px;
    background:linear-gradient(180deg,#ffffff 0%,#fafafb 100%);
    padding:24px;
    box-shadow:0 6px 18px rgba(15,23,42,.04);
    min-height:250px;
    display:flex;
    flex-direction:column;
    position:relative;
    overflow:hidden;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.actioncard:hover{
    transform:translateY(-2px);
    border-color:rgba(77,94,151,.28);
    box-shadow:0 18px 34px rgba(15,23,42,.08);
}
.actioncard::after{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:4px;
    background:linear-gradient(90deg,var(--azul),var(--rosa));
    opacity:.86;
}
.cardicon{
    width:48px;
    height:48px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:22px;
    font-weight:700;
    background:linear-gradient(145deg,var(--azuloscuro),var(--azul));
    margin-bottom:16px;
    box-shadow:0 12px 22px rgba(36,52,93,.18);
}
.actioncard h2{
    font-size:21px;
    margin-bottom:10px;
}
.actioncard p{
    font-size:14px;
    color:var(--muted);
    line-height:1.6;
    margin-bottom:22px;
}
.btns{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:auto;
}
.btn{
    min-width:180px;
    height:46px;
    border-radius:13px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:14px;
    font-weight:700;
    padding:0 18px;
    transition:transform .18s ease, box-shadow .18s ease;
}
.btn:hover{transform:translateY(-1px);box-shadow:0 12px 22px rgba(77,94,151,.18)}
.btnprimary{
    background:linear-gradient(90deg,var(--azul) 0%,var(--rosa) 100%);
    color:#fff;
}
.btnsecondary{
    background:#fff;
    color:#263041;
    border:1px solid #d7dbe5;
}
.btn:hover{
    transform:translateY(-1px);
}
.note{
    margin-top:18px;
    background:#fff;
    border:1px dashed #d5d8e1;
    border-radius:20px;
    padding:16px 18px;
    font-size:13px;
    line-height:1.75;
    color:#4b5563;
    box-shadow:0 8px 22px rgba(15,23,42,.03);
}
.notebox{
    margin:0 40px 34px;
    border:1px dashed #d8dbe4;
    border-radius:16px;
    background:linear-gradient(180deg,#ffffff 0%,#fafafa 100%);
    padding:16px 18px;
    font-size:14px;
    line-height:1.6;
    color:#4b5563;
}
.steps{
    margin:0 40px 28px;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
}
.step{
    border:1px solid #e5e8ef;
    border-radius:16px;
    background:#fff;
    padding:16px;
}
.stepnum{
    width:30px;
    height:30px;
    border-radius:10px;
    background:rgba(77,94,151,.10);
    color:var(--azuloscuro);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    font-weight:700;
    margin-bottom:10px;
}
.step h3{
    font-size:15px;
    margin-bottom:5px;
}
.step p{
    font-size:13px;
    color:var(--muted);
    line-height:1.45;
}
@media (max-width:980px){
    .shell{flex-direction:column}
    .sidebar{
        width:100%;
        border-right:0;
        border-bottom:1px solid var(--borde);
        box-shadow:none;
    }
    .main{padding:18px}
    .herohead{grid-template-columns:1fr;padding:28px 24px 16px}
    .herobody{grid-template-columns:1fr;padding-left:24px;padding-right:24px}
    .sectiontitle{padding-left:24px;padding-right:24px}
    .steps{grid-template-columns:repeat(2,minmax(0,1fr));margin-left:24px;margin-right:24px}
    .notebox{margin-left:24px;margin-right:24px}
    .grid{
        grid-template-columns:1fr;
    }
}
@media (max-width:640px){
    .brandtitle{font-size:21px}
    .brandsubtitle{font-size:13px}
    .navitem{font-size:15px;min-height:52px}
    .herohead h1{font-size:27px}
    .herohead p{font-size:14px}
    .main{padding:14px}
    .herohead,.herobody{padding-left:18px;padding-right:18px}
    .sectiontitle{padding-left:18px;padding-right:18px}
    .steps{grid-template-columns:1fr;margin-left:18px;margin-right:18px}
    .notebox{margin-left:18px;margin-right:18px}
    .btn{width:100%}
    .topcard{
        padding:22px;
    }
    .topcard h1{
        font-size:25px;
    }
    .cardtop,.cardbody{
        padding-left:18px;
        padding-right:18px;
    }
    .preview{
        padding:14px;
    }
    .previewbox{
        min-height:auto;
    }
    .actions{
        flex-direction:column;
    }
    .btn{
        width:100%;
    }
}