/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f3f5f7;
    color:#333;
}

/* ===========================
   BARRA SUPERIOR
=========================== */

.gov-bar{
    background:#0b57d0;
    height:45px;

    display:flex;
    align-items:center;

    padding:0 40px;
}

.gov-bar img{
    height:28px;
}

.green-bar{
    height:70px;
    background:#518711;
}

/* ===========================
   CONTENEDOR
=========================== */

.container{
    width:100%;
    display:flex;
    justify-content:center;

    margin-top:-35px;
    margin-bottom:40px;
}

.card{

    width:95%;
    max-width:1200px;

    background:#fff;

    border-radius:18px;

    box-shadow:0 8px 25px rgba(0,0,0,.15);

    overflow:hidden;
}

/* ===========================
   NAVBAR
=========================== */

.navbar{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:25px 40px;

    border-bottom:1px solid #e6e6e6;
}

.logo{
    height:70px;
}

.buttons{
    display:flex;
    gap:15px;
}

.btn{

    border:none;

    cursor:pointer;

    border-radius:10px;

    padding:12px 22px;

    font-weight:bold;

    transition:.3s;
}

.btn-outline{

    background:white;

    border:2px solid #00864d;

    color:#00864d;
}

.btn-outline:hover{
    background:#00864d;
    color:white;
}

.btn-primary{

    background:#F98200;

    color:white;
}

.btn-primary:hover{

    background:#f57c00;
}

/* ===========================
   CONTENIDO
=========================== */

.content{

    display:flex;

    gap:40px;

    padding:40px;
}

.left{

    flex:2;
}

.right{

    flex:1;
}

.left h1{

    color:#333333;

    margin-bottom:30px;
}

/* ===========================
   LABEL
=========================== */

.label-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:12px;

    gap:20px;
}

.btn-help{

    background:#518711;

    color:white;

    border:none;

    border-radius:8px;

    padding:10px 18px;

    cursor:pointer;
}

.btn-help:hover{

    background:#518711;
}

/* ===========================
   INPUT
=========================== */

input[type=text]{

    width:100%;

    padding:14px;

    border:1px solid #ccc;

    border-radius:10px;

    font-size:16px;

    margin-bottom:25px;
}

input[type=text]:focus{

    outline:none;

    border-color:#518711;
}

/* ===========================
   CAPTCHA
=========================== */

.captcha{

    display:flex;

    align-items:center;

    gap:15px;

    border:1px solid #ddd;

    border-radius:10px;

    padding:18px;

    margin-bottom:20px;

    width:320px;

    background:#fafafa;
}

.box{

    width:25px;

    height:25px;

    border:2px solid #999;
}

/* ===========================
   CHECKBOX
=========================== */

.checkbox{

    display:flex;

    gap:12px;

    align-items:flex-start;

    margin-bottom:30px;
}

.checkbox input{

    margin-top:3px;
}

/* ===========================
   BOTON PAGAR
=========================== */

.pay{

    width:100%;

    background:#518711;

    color:white;

    border:none;

    padding:16px;

    border-radius:12px;

    cursor:pointer;

    font-size:18px;

    font-weight:bold;

    transition:.3s;
}

.pay:hover{

    background:#648b34;
}

/* ===========================
   TARJETA LATERAL
=========================== */

.ad{

    background:#eef7ff;

    border-radius:15px;

    padding:30px;

    text-align:center;

    height:100%;
}

.ad h2{

    color:#518711;

    margin-bottom:20px;
}

.ad p{

    margin-bottom:25px;

    line-height:1.6;
}

.ad button{

    background:#518711;

    color:white;

    border:none;

    border-radius:10px;

    padding:12px 20px;

    cursor:pointer;
}

.ad button:hover{

    background:#518711;
}

/* ===========================
   FOOTER
=========================== */

footer{

    background:#518711;

    color:white;
}

.footer{

    width:95%;

    max-width:1200px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    gap:40px;

    padding:50px 20px;

    flex-wrap:wrap;
}

.footer img{

    height:70px;
}

.footer h3{

    margin-bottom:15px;
}

.footer p{

    margin-bottom:8px;
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:900px){

    .navbar{

        flex-direction:column;

        gap:25px;
    }

    .content{

        flex-direction:column;
    }

    .buttons{

        width:100%;

        flex-direction:column;
    }

    .btn{

        width:100%;
    }

    .label-row{

        flex-direction:column;

        align-items:flex-start;
    }

    .captcha{

        width:100%;
    }

    .footer{

        flex-direction:column;

        text-align:center;

        align-items:center;
    }

}

@media(max-width:600px){

    .navbar{

        padding:20px;
    }

    .content{

        padding:20px;
    }

    .logo{

        height:55px;
    }

    .left h1{

        font-size:28px;
    }

}