/* ========================================
   RESET
======================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background:#f4f7fb;
    color:#333;
    overflow-x:hidden;
}


/* ========================================
   NAVBAR
======================================== */

.navbar{
    width:100%;
    background:linear-gradient(135deg,#00796b,#00695c,#00544d);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 35px;
    position:relative;
    z-index:999;
}

.logo-left,
.logo-right{
    display:flex;
    align-items:center;
    gap:20px;
}

.logo-left img,
.logo-right img{
    height:55px;
    object-fit:contain;
}

/* ========================================
   HERO
======================================== */

.hero{
    position:relative;
    width:100%;
    min-height:520px;
    background:
    linear-gradient(
        135deg,
        rgba(255,255,255,.98),
        rgba(248,250,252,.96)
    );
    overflow:hidden;
}


/* CIRCULOS DECORATIVOS */

.hero::before{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    background:rgba(24,133,123,.08);
    border-radius:50%;
    top:-150px;
    right:-120px;
}

.hero::after{
    content:"";
    position:absolute;
    width:320px;
    height:320px;
    background:rgba(24,133,123,.05);
    border-radius:50%;
    bottom:-120px;
    left:-80px;
}


/* ========================================
   CONTENIDO HERO
======================================== */

.hero-content{
    max-width:1400px;
    margin:auto;
    padding:60px 40px 120px;
    position:relative;
    z-index:2;
}

/* ========================================
   TITULOS
======================================== */

.header-text{
    text-align:center;
    margin-top:20px;
}

.header-text h1{
    color:#00796b;
    font-size:58px;
    font-weight:800;
    line-height:1.2;
    margin-bottom:18px;
}

.header-text p{
    font-size:24px;
    color:#444;
    line-height:1.5;
}


/* ========================================
   SEARCH
======================================== */

.search-section{
    display:flex;
    justify-content:center;
    margin-top:45px;
}

.search-form{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
}

.search-container{
    position:relative;
}

.search-icon{
    position:absolute;
    left:18px;
    top:50%;
    transform:translateY(-50%);
    font-size:22px;
    color:#00796b;
}

.search-input{
    width:520px;
    max-width:92vw;
    padding:20px 20px 20px 58px;
    border:3px solid #00796b;
    border-radius:18px;
    font-size:20px;
    outline:none;
    background:#fff;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
}

.search-input:focus{
    border-color:#009688;
}

.search-button{
    background:#e53935;
    color:white;
    border:none;
    padding:20px 38px;
    border-radius:16px;
    cursor:pointer;
    font-size:20px;
    font-weight:700;
    transition:.3s;
    box-shadow:0 10px 25px rgba(229,57,53,.25);
}

.search-button:hover{
    background:#c62828;
    transform:translateY(-2px);
}


/* ========================================
   BARRA VALIDACION
======================================== */

.hidden{
    display:none !important;
}

#validacionAnimada{
    margin-top:30px;
    justify-content:center;
}

#validacionAnimada.active{
    display:flex;
}

.barra-wrap{
    width:520px;
    max-width:92vw;
    height:12px;
    background:#ddd;
    border-radius:50px;
    overflow:hidden;
}

.barra-carga{
    width:0%;
    height:100%;
    background:linear-gradient(90deg,#00796b,#26a69a);
    transition:1s;
}


/* ========================================
   CARDS INFO
======================================== */

.info-section{
    position:relative;
    margin-top:-80px;
    z-index:10;
    padding:0 30px 80px;
}

.info-grid{
    max-width:1400px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

.info-card{
    background:#fff;
    border-radius:28px;
    padding:45px 30px;
    text-align:center;
    box-shadow:0 20px 40px rgba(0,0,0,.08);
    transition:.35s;
}

.info-card:hover{
    transform:translateY(-10px);
    box-shadow:0 30px 50px rgba(0,0,0,.12);
}

/* ========================================
   TABLA
======================================== */

.tabla-wrap{
    max-width:1200px;
    margin:40px auto;
    overflow:auto;
    padding:0 20px;
}

.tabla-documentos{
    width:100%;
    border-collapse:collapse;
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.tabla-documentos th{
    background:#00796b;
    color:white;
    padding:16px;
    font-size:15px;
}

.tabla-documentos td{
    padding:16px;
    border-bottom:1px solid #eee;
    text-align:center;
    font-size:15px;
}

.tabla-documentos tr:hover{
    background:#f5fffd;
}


/* ========================================
   SIN DATOS
======================================== */

.sin-datos{
    text-align:center;
    color:#dc2626;
    margin-top:30px;
    font-weight:bold;
    font-size:20px;
}


/* ========================================
   RESPONSIVE
======================================== */

@media(max-width:992px){

    .header-text h1{
        font-size:42px;
    }

    .header-text p{
        font-size:20px;
    }

    .info-card h3{
        font-size:30px;
    }

}

@media(max-width:768px){

    .navbar{
        padding:12px 18px;
        flex-direction:column;
        gap:10px;
    }

    .logo-left,
    .logo-right{
        gap:10px;
    }

    .logo-left img,
    .logo-right img{
        height:42px;
    }

    .hero-content{
        padding:40px 20px 100px;
    }

    .header-text h1{
        font-size:34px;
    }

    .header-text p{
        font-size:18px;
    }

    .search-form{
        flex-direction:column;
        width:100%;
    }

    .search-input{
        width:100%;
        font-size:17px;
    }

    .search-button{
        width:100%;
        font-size:18px;
    }

    .info-section{
        margin-top:-40px;
        padding:0 15px 50px;
    }

    .info-card{
        padding:35px 22px;
    }

    .info-card h3{
        font-size:28px;
    }

    .info-card p{
        font-size:17px;
    }

    .info-card img{
        width:140px;
    }

}

@media(max-width:480px){

    .header-text h1{
        font-size:28px;
    }

    .header-text p{
        font-size:16px;
    }

    .search-input{
        padding:18px 18px 18px 52px;
    }

}