/* ==========================================================
   AGDP Explorer
   Welcome Screen
   Proyecto Búho
   Visual System v1
========================================================== */


*{
    box-sizing:border-box;
}


html,
body{

    width:100%;
    height:100%;

    margin:0;
    padding:0;

    overflow:hidden;

    font-family:
    "Inter",
    "Segoe UI",
    sans-serif;

    background:#050b16;

    color:white;

}



/* =========================
   CONTENEDOR PRINCIPAL
========================= */


.agdg-page{

    width:100vw;

    min-height:100vh;

    position:relative;

    display:flex;

    flex-direction:column;

    background:

    radial-gradient(
        circle at 70% 35%,
        rgba(212,175,55,.22),
        transparent 25%
    ),

    radial-gradient(
        circle at 20% 40%,
        rgba(30,90,140,.25),
        transparent 35%
    ),

    linear-gradient(
        120deg,
        #030814,
        #091525
    );

}



/* =========================
 HEADER
========================= */


.topbar{

    height:90px;

    width:100%;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 55px;

    border-bottom:

    1px solid rgba(212,175,55,.25);

}



.brand{

    display:flex;

    align-items:center;

    gap:15px;

}


.brand img{

    width:55px;

    height:55px;

}



.brand strong{

    font-size:28px;

    color:#d4af37;

    letter-spacing:4px;

}



.brand span{

    font-size:25px;

}



.brand small{

    display:block;

    color:#9aa8bb;

}





nav{

    display:flex;

    gap:40px;

}



nav a{

    color:#ddd;

    text-decoration:none;

    font-size:15px;

}



nav .active{

    color:#d4af37;

}



.version{

    border:1px solid #d4af37;

    padding:8px 20px;

    border-radius:8px;

    color:#d4af37;

}





/* =========================
 HERO
========================= */


.hero{

    flex:1;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:40px 80px;

}





.hero-content{

    width:45%;

}



.tag{

    color:#d4af37;

    letter-spacing:5px;

    font-size:14px;

    margin-bottom:30px;

}



.hero h1{

    font-size:70px;

    line-height:1.05;

    margin:0 0 25px;

}



.hero h2{

    font-size:30px;

    line-height:1.3;

    color:#d4af37;

    font-weight:500;

}



.hero p{

    color:#b8c3d1;

    font-size:18px;

    max-width:650px;

}





.buttons{

    margin-top:40px;

    display:flex;

    gap:20px;

}



button{

    font-size:18px;

    padding:16px 35px;

    border-radius:8px;

    cursor:pointer;

}



.primary{

    background:#d4af37;

    border:none;

    color:#07101d;

}



.secondary{

    background:transparent;

    border:1px solid #d4af37;

    color:#d4af37;

}





/* =========================
 BUHO
========================= */


.owl-zone{

    width:45%;

    display:flex;

    justify-content:center;

    align-items:center;

}



.owl-main{

    width:500px;

    height:auto;

    filter:

    drop-shadow(
        0 0 45px rgba(212,175,55,.5)
    );

}





/* =========================
 CARDS
========================= */


.features{

    display:flex;

    gap:25px;

    padding:20px 60px;

}



.feature{

    flex:1;

    padding:25px;

    border-radius:15px;

    border:

    1px solid rgba(212,175,55,.3);


    background:

    rgba(15,25,40,.8);

}



.feature span{

    font-size:30px;

}



.feature h3{

    color:#d4af37;

}




.feature p{

    color:#b5c0ce;

}




/* =========================
 STATUS
========================= */


.status{

    display:flex;

    justify-content:center;

    gap:30px;

    padding:25px 50px;

}



.status div{

    min-width:180px;

    padding:15px;

    border-radius:12px;

    border:

    1px solid rgba(212,175,55,.3);

    text-align:center;

}



.status strong{

    display:block;

    font-size:30px;

    color:#d4af37;

}




footer{

    text-align:center;

    padding:15px;

    color:#8794a8;

}

/* ==========================================================
   AGDP FULLSCREEN ADAPTATION
   1920x1080 VIEW
========================================================== */


body{

    overflow:hidden;

}


.agdg-page{

    height:100vh;

    min-height:100vh;

}



.topbar{

    height:70px;

    padding:0 45px;

}



.brand img{

    width:42px;

    height:42px;

}


.brand strong{

    font-size:22px;

}


.brand span{

    font-size:20px;

}



.hero{

    height:55vh;

    flex:none;

    padding:

    20px 70px;

}



.hero-content{

    width:50%;

}



.tag{

    margin-bottom:15px;

}



.hero h1{

    font-size:52px;

    margin-bottom:15px;

}



.hero h2{

    font-size:22px;

    margin:10px 0;

}



.hero p{

    font-size:15px;

}



.buttons{

    margin-top:25px;

}



button{

    padding:12px 25px;

    font-size:15px;

}



.owl-zone{

    width:40%;

}



.owl-main{

    width:330px;

    height:auto;

}



.features{

    height:auto;

    min-height:140px;

    padding:12px 35px;

    gap:18px;

    align-items:stretch;

}



.feature{

    flex:1;

    min-height:130px;

    padding:20px;

    display:flex;

    align-items:center;

    gap:22px;

    box-sizing:border-box;

}



.feature > div{

    display:flex;

    flex-direction:column;

    justify-content:center;

}



.feature span{

    flex:0 0 auto;

    font-size:36px;

}



.feature h3{

    margin:0 0 8px;

    font-size:15px;

    line-height:1.2;

}



.feature p{

    margin:0;

    font-size:12px;

    line-height:1.45;

}



.status{

    height:15vh;

    padding:10px;

    gap:15px;

}



.status div{

    min-width:140px;

    padding:12px;

}



.status strong{

    font-size:22px;

}



footer{

    padding:5px;

    font-size:12px;

}


/* ==========================================================
   CT-015B · CORRECCIÓN DEFINITIVA TARJETAS WELCOME
   ========================================================== */

.features{
    height:auto !important;
    min-height:0 !important;
    align-items:stretch;
}

.feature{
    height:auto !important;
    min-height:118px;
    box-sizing:border-box;
    display:flex;
    align-items:flex-start;
    gap:14px;
    overflow:hidden;
}

.feature > div{
    min-width:0;
    display:flex;
    flex-direction:column;
}

.feature h3{
    margin:5px 0 8px;
    line-height:1.25;
}

.feature p{
    position:static;
    margin:0;
    line-height:1.4;
    overflow-wrap:anywhere;
}


/* Portátiles y ventanas medianas */

@media (max-width:1200px){

    .features{
        flex-wrap:wrap;
    }

    .feature{
        flex:1 1 calc(50% - 15px);
    }
}


/* Móviles */

@media (max-width:700px){

    .feature{
        flex:1 1 100%;
        min-height:auto;
    }
}

/* ==========================================================
   ENLACES CON APARIENCIA DE BOTÓN
   ========================================================== */

.buttons a.primary,
.buttons a.secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* ==========================================================
   AGDP 1.0 · FOOTER LEGAL PÚBLICO
   ========================================================== */

.welcome-legal-links {
    margin-top: 3px;
}

.welcome-legal-links a {
    color: #9aa7ba;
    text-decoration: none;
    transition: color .2s ease;
}

.welcome-legal-links a:hover,
.welcome-legal-links a:focus-visible {
    color: #d4af37;
}

.welcome-legal-links span {
    margin: 0 7px;
    color: #596579;
}

/* ==========================================================
   AGDP 1.0 · CONTACTO EN CABECERA PÚBLICA
   ========================================================== */

.topbar-right {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.welcome-contact {
    color: #d4af37;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition:
        color .2s ease,
        opacity .2s ease;
}

.welcome-contact:hover,
.welcome-contact:focus-visible {
    color: #f2cc55;
}

@media (max-width: 1050px) {
    .welcome-contact {
        display: none;
    }
}


/* ==========================================================
   AGDP 1.0 · PORTADA · ALINEACIÓN FINAL
   Mantiene intacto el contenido de la portada.
   ========================================================== */

/*
 * Desktop:
 * - marca anclada a la izquierda
 * - navegación centrada respecto al viewport
 * - contacto + versión anclados a la derecha
 */
@media (min-width: 1051px) {

    .topbar {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .topbar > nav {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    .topbar-right {
        margin-left: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 24px;
    }
}


/*
 * Footer:
 * identidad y enlaces legales forman un único bloque
 * visual perfectamente centrado.
 */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

footer > div {
    width: 100%;
    text-align: center;
}

.welcome-legal-links {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 4px;
    text-align: center;
}


/*
 * Ventanas pequeñas:
 * se conserva el comportamiento responsive existente.
 */
@media (max-width: 1050px) {

    .topbar {
        position: relative;
    }

    .topbar > nav {
        position: static;
        transform: none;
    }

    .topbar-right {
        margin-left: auto;
    }
}


/* =========================================================
   AGDP WELCOME · LAYOUT FINAL DESKTOP · 2026-08-22
   ========================================================= */

@media (min-width: 1200px) {

    .hero {
        height: auto;
        min-height: 500px;
        padding: 28px 55px 24px;
        gap: 30px;
        box-sizing: border-box;
        align-items: center;
    }

    .hero-content {
        width: 36%;
        flex: 0 0 36%;
    }

    .hero h1 {
        font-size: 54px;
        line-height: 1.05;
        margin-bottom: 20px;
    }

    .hero h2 {
        font-size: 23px;
        line-height: 1.35;
        margin: 12px 0 20px;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.55;
    }

    .buttons {
        margin-top: 28px;
    }

    .owl-zone {
        width: 61%;
        flex: 0 0 61%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .owl-main {
        width: 100%;
        max-width: 900px;
        height: auto;
        object-fit: contain;
        display: block;
        filter: none;
    }

    .features {
        height: auto;
        min-height: 160px;
        padding: 12px 40px 10px;
        gap: 24px;
        align-items: stretch;
        box-sizing: border-box;
    }

    .feature {
        min-height: 150px;
        padding: 24px 26px;
        box-sizing: border-box;
    }

    .feature span {
        font-size: 40px;
    }

    .feature h3 {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .feature p {
        font-size: 13px;
        line-height: 1.45;
    }

    .status {
        height: auto;
        min-height: 125px;
        padding: 14px 0 18px;
        gap: 20px;
        align-items: stretch;
        justify-content: center;
        box-sizing: border-box;
    }

    .status div {
        min-width: 180px;
        min-height: 105px;
        padding: 14px 20px;
        box-sizing: border-box;
    }

    .status strong {
        font-size: 27px;
    }
}

/* =========================================================
   AGDP WELCOME · CARDS FINAL FIX · 2026-08-22
   ========================================================= */

@media (min-width: 1200px) {

    .features {
        display: flex;
        height: auto;
        min-height: 0;
        padding: 14px 40px;
        gap: 24px;
        align-items: stretch;
        box-sizing: border-box;
    }

    .feature {
        flex: 1 1 0;
        min-width: 0;
        min-height: 110px;
        padding: 18px 22px;
        display: flex;
        align-items: center;
        gap: 18px;
        box-sizing: border-box;
    }

    .feature span {
        flex: 0 0 auto;
        font-size: 34px;
    }

    .feature h3 {
        margin: 0 0 6px;
        font-size: 16px;
        line-height: 1.2;
    }

    .feature p {
        margin: 0;
        font-size: 12px;
        line-height: 1.4;
    }

    .status {
        position: static;
        display: flex;
        height: auto;
        min-height: 0;
        margin: 0 55px 8px;
        padding: 10px 0;
        gap: 0;
        justify-content: center;
        align-items: stretch;
        box-sizing: border-box;
        border: 1px solid rgba(212,175,55,.30);
        border-radius: 15px;
    }

    .status div {
        flex: 1 1 0;
        min-width: 0;
        min-height: 85px;
        margin: 0;
        padding: 9px 18px;
        border: 0;
        border-radius: 0;
        box-sizing: border-box;
    }

    .status div + div {
        border-left: 1px solid rgba(212,175,55,.30);
    }

    .status strong {
        font-size: 24px;
        line-height: 1.15;
    }
}


/* =========================================================
   AGDP WELCOME · FIX DEFINITIVO FLUJO VERTICAL · 2026-08-22
   ========================================================= */

@media (min-width: 1200px) {

    html,
    body {
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    .agdg-page {
        height: auto !important;
        min-height: 100vh !important;
        overflow: visible !important;
    }

    .hero {
        flex-shrink: 0 !important;
    }

    .features {
        flex-shrink: 0 !important;
        height: auto !important;
        min-height: 138px !important;
        margin: 0 !important;
        padding: 14px 40px !important;
        position: relative !important;
    }

    .feature {
        height: 110px !important;
        min-height: 110px !important;
        overflow: hidden !important;
    }

    .status {
        flex-shrink: 0 !important;
        position: relative !important;
        clear: both !important;
        height: auto !important;
        min-height: 105px !important;
        margin: 8px 55px 10px !important;
        padding: 8px 0 !important;
    }

    .status div {
        height: 88px !important;
        min-height: 88px !important;
    }

    footer {
        flex-shrink: 0 !important;
        position: relative !important;
    }
}


/* =========================================================
   AGDP WELCOME · COMPACT FINAL · 2026-08-22
   ========================================================= */

@media (min-width: 1200px) {

    .features {
        min-height: 105px !important;
        padding: 8px 40px !important;
        gap: 18px !important;
        margin: 0 !important;
    }

    .feature {
        height: 88px !important;
        min-height: 88px !important;
        padding: 12px 18px !important;
        gap: 14px !important;
        align-items: center !important;
    }

    .feature span {
        font-size: 32px !important;
    }

    .feature h3 {
        margin: 0 0 4px !important;
        font-size: 15px !important;
        line-height: 1.15 !important;
    }

    .feature p {
        margin: 0 !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    .status {
        position: relative !important;
        height: 88px !important;
        min-height: 88px !important;
        margin: 12px 55px 8px !important;
        padding: 5px 0 !important;
        gap: 0 !important;
        border: 1px solid rgba(212,175,55,.30) !important;
        border-radius: 14px !important;
    }

    .status div {
        flex: 1 1 0 !important;
        height: 76px !important;
        min-height: 76px !important;
        padding: 6px 14px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    .status div + div {
        border-left: 1px solid rgba(212,175,55,.30) !important;
    }

    .status strong {
        font-size: 22px !important;
        line-height: 1.1 !important;
    }
}


/* =========================================================
   AGDP WELCOME · DESBLOQUEO ALTURA FINAL · 2026-08-22
   ========================================================= */

html,
body {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.agdg-page {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
}

@media (min-width: 1200px) {

    .features {
        flex: none !important;
        height: 104px !important;
        min-height: 104px !important;
        padding: 8px 38px !important;
        margin: 0 !important;
    }

    .feature {
        height: 88px !important;
        min-height: 88px !important;
    }

    .status {
        flex: none !important;
        position: static !important;
        height: 86px !important;
        min-height: 86px !important;
        margin: 14px 55px 8px !important;
        padding: 4px 0 !important;
        transform: none !important;
        top: auto !important;
        bottom: auto !important;
    }

    .status div {
        height: 76px !important;
        min-height: 76px !important;
    }

    footer {
        position: static !important;
        flex: none !important;
        margin: 0 !important;
    }
}


/* =========================================================
   AGDP WELCOME · VIEWPORT COMPLETO SIN SCROLL · 2026-08-22
   ========================================================= */

@media (min-width: 1200px) and (max-height: 950px) {

    html,
    body {
        height: 100% !important;
        overflow: hidden !important;
    }

    .agdg-page {
        height: 100vh !important;
        min-height: 100vh !important;
        overflow: hidden !important;
    }

    .topbar {
        height: 60px !important;
        min-height: 60px !important;
    }

    .hero {
        min-height: 490px !important;
        padding-top: 18px !important;
        padding-bottom: 14px !important;
    }

    .features {
        height: 96px !important;
        min-height: 96px !important;
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    .feature {
        height: 84px !important;
        min-height: 84px !important;
    }

    .status {
        height: 80px !important;
        min-height: 80px !important;
        margin-top: 8px !important;
        margin-bottom: 4px !important;
    }

    .status div {
        height: 70px !important;
        min-height: 70px !important;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    footer {
        padding: 3px 0 5px !important;
        line-height: 1.25 !important;
    }
}


/* =========================================================
   AGDP WELCOME · FOOTER VISIBLE EN VIEWPORT · 2026-08-22
   ========================================================= */

@media (min-width: 1200px) and (max-height: 950px) {

    .hero {
        min-height: 460px !important;
        padding-top: 12px !important;
        padding-bottom: 10px !important;
    }

    .features {
        height: 92px !important;
        min-height: 92px !important;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    .feature {
        height: 80px !important;
        min-height: 80px !important;
    }

    .status {
        height: 76px !important;
        min-height: 76px !important;
        margin-top: 6px !important;
        margin-bottom: 2px !important;
    }

    .status div {
        height: 66px !important;
        min-height: 66px !important;
    }

    footer {
        display: block !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 2px 0 4px !important;
        margin: 0 !important;
        overflow: visible !important;
    }
}



/* =========================================================
   AGDP · CLOUDFLARE VISITS COUNTER
   ========================================================= */

.welcome-visits {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border: 1px solid rgba(197, 160, 75, 0.28);
    border-radius: 999px;
    background: rgba(197, 160, 75, 0.06);
    color: #d8b55b;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

/* =========================================================
   AGDP WELCOME · MOBILE LAYOUT · 2026-09-03
   Solo pantallas móviles
   ========================================================= */

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .agdg-page {
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
    }

    .topbar {
        height: auto;
        min-height: 0;
        padding: 14px 18px;
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        box-sizing: border-box;
    }

    .brand {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .brand img {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
    }

    .brand strong,
    .brand span {
        font-size: 22px;
    }

    .brand small {
        display: block;
        font-size: 12px;
        line-height: 1.3;
    }

    .topbar > nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px 18px;
        margin: 0;
    }

    .topbar > nav a,
    .welcome-visits {
        font-size: 14px;
        white-space: nowrap;
    }

    .topbar-right {
        display: none;
    }

    .hero {
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 34px 22px 24px;
        display: flex;
        flex-direction: column;
        gap: 28px;
        box-sizing: border-box;
    }

    .hero-content {
        width: 100%;
        max-width: none;
        flex: none;
    }

    .tag {
        font-size: 13px;
        letter-spacing: 4px;
        margin-bottom: 18px;
    }

    .hero h1 {
        font-size: clamp(42px, 12vw, 58px);
        line-height: 1.02;
        margin: 0 0 22px;
    }

    .hero h1 br {
        display: none;
    }

    .hero h2 {
        font-size: 23px;
        line-height: 1.35;
        margin: 0 0 20px;
    }

    .hero p {
        font-size: 17px;
        line-height: 1.55;
        margin: 0;
    }

    .buttons {
        width: 100%;
        margin-top: 26px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .buttons a.primary,
    .buttons a.secondary {
        width: 100%;
        min-height: 48px;
        padding: 12px 16px;
        box-sizing: border-box;
        font-size: 16px;
    }

    .owl-zone {
        width: 100%;
        flex: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .owl-main {
        display: block;
        width: 100%;
        max-width: 680px;
        height: auto;
        object-fit: contain;
    }

    .features {
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 12px 18px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        box-sizing: border-box;
    }

    .feature {
        width: 100%;
        min-height: 120px;
        box-sizing: border-box;
    }

    .status {
        width: calc(100% - 36px);
        height: auto;
        min-height: 0;
        margin: 8px 18px 18px;
        display: grid;
        grid-template-columns: 1fr;
        box-sizing: border-box;
    }

    .status > div {
        width: 100%;
        min-height: 88px;
        border-right: 0;
        border-bottom: 1px solid rgba(212, 175, 55, .18);
    }

    .status > div:last-child {
        border-bottom: 0;
    }

    footer {
        padding: 18px 18px 30px;
        box-sizing: border-box;
    }

    .welcome-legal-links {
        flex-wrap: wrap;
        row-gap: 8px;
    }
}

/* =========================================================
   AGDP WELCOME · REDES SOCIALES · 2026-09-03
   ========================================================= */

.welcome-social-link {
    width: 24px;
    height: 24px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    color: #9aa7ba !important;
    border: 1px solid rgba(212, 175, 55, .25);
    border-radius: 50%;
    transition:
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.welcome-social-link svg {
    width: 14px;
    height: 14px;
    display: block;
    fill: currentColor;
}

.welcome-social-link:hover,
.welcome-social-link:focus-visible {
    color: #d4af37 !important;
    border-color: #d4af37;
    transform: translateY(-1px);
}

/* =========================================================
   AGDP · CONTADORES CLOUDFLARE · POSICIÓN INFERIOR
   ========================================================= */

.welcome-visits-bottom {
    width: 40%;
    margin: 6px 0 0 2%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    box-sizing: border-box;
}

.welcome-visits-bottom .welcome-visits {
    padding: 5px 10px;
    font-size: 0.74rem;
}

/* Mantener adaptación móvil */
@media (max-width: 768px) {
    .welcome-visits-bottom {
        width: calc(100% - 36px);
        margin: 0 18px 18px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .welcome-visits-bottom .welcome-visits {
        font-size: 13px;
    }
}

/* =========================================================
   AGDP · FOOTER CONTADORES COMPACTOS · FINAL
   ========================================================= */

html,
body {
    height: auto !important;
    min-height: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.agdg-page {
    height: auto !important;
    min-height: 100vh !important;
}

footer .welcome-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

footer .welcome-visits-bottom {
    width: auto;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
}

footer .welcome-visits-bottom .welcome-visits {
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1.2;
    gap: 2px;
}

footer .welcome-visits-separator {
    margin: 0 2px;
}

@media (max-width: 768px) {
    footer .welcome-visits-bottom {
        width: 100%;
        margin: 0 0 5px;
        justify-content: center;
        flex-wrap: wrap;
    }

    footer .welcome-visits-bottom .welcome-visits {
        font-size: 10px;
    }
}

/* =========================================================
   AGDP WELCOME · DESKTOP 100% · ALTURA REDUCIDA
   Corrige pantallas >=1200px con altura <=950px
   ========================================================= */

@media (min-width: 1200px) and (max-height: 950px) {

    html,
    body {
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    .agdg-page {
        height: auto !important;
        min-height: 100vh !important;
    }

    .topbar {
        height: 60px !important;
        min-height: 60px !important;
    }

    .hero {
        height: auto !important;
        min-height: 410px !important;
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }

    .features {
        height: auto !important;
        min-height: 88px !important;
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    .feature {
        height: 78px !important;
        min-height: 78px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .status {
        height: 72px !important;
        min-height: 72px !important;
        padding-top: 3px !important;
        padding-bottom: 3px !important;
    }

    .status > div {
        height: 64px !important;
        min-height: 64px !important;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    footer {
        height: auto !important;
        min-height: 0 !important;
        padding-top: 3px !important;
        padding-bottom: 4px !important;
    }
}

/* =========================================================
   AGDP WELCOME · DESKTOP 100% · NORMALIZACION FINAL
   ========================================================= */

@media (min-width: 1200px) and (max-height: 950px) {

    html,
    body {
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    .agdg-page {
        height: auto !important;
        min-height: 100vh !important;
        overflow: visible !important;
    }

    .topbar {
        height: 60px !important;
        min-height: 60px !important;
    }

    .hero {
        height: auto !important;
        min-height: 340px !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        flex-shrink: 0 !important;
    }

    .buttons {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 20px !important;
    }

    .buttons a.primary,
    .buttons a.secondary {
        width: auto !important;
        min-width: max-content !important;
        max-width: none !important;
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    .features {
        height: 92px !important;
        min-height: 92px !important;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
        margin: 0 !important;
    }

    .feature {
        height: 80px !important;
        min-height: 80px !important;
    }

    .status {
        height: 76px !important;
        min-height: 76px !important;
        margin-top: 6px !important;
        margin-bottom: 2px !important;
        padding-top: 2px !important;
        padding-bottom: 2px !important;
    }

    .status > div {
        height: 66px !important;
        min-height: 66px !important;
    }

    footer {
        display: block !important;
        position: static !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 2px 0 3px !important;
        overflow: visible !important;
    }
}

/* =========================================================
   AGDP WELCOME · DOCUMENTOS ENTRANDO · 2026-09-21
   ========================================================= */

.status .docs-flow {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 24px;
    margin-right: 4px;
    vertical-align: middle;
    overflow: hidden;
}

.status .docs-flow__target {
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    font-size: 18px;
    line-height: 1;
}

.status .docs-flow__sheet {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 1;
    font-size: 13px;
    line-height: 1;
    opacity: 0;
    transform: translateY(-50%);
    animation: agdp-document-enter 2.4s linear infinite;
}

.status .docs-flow__sheet--2 {
    animation-delay: .8s;
}

.status .docs-flow__sheet--3 {
    animation-delay: 1.6s;
}

@keyframes agdp-document-enter {
    0% {
        left: 0;
        opacity: 0;
        transform: translateY(-50%) scale(.72);
    }

    15% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        left: 34px;
        opacity: 0;
        transform: translateY(-50%) scale(.40);
    }
}

@media (prefers-reduced-motion: reduce) {
    .status .docs-flow__sheet {
        display: none;
        animation: none;
    }
}

