:root {
    --azul-marino: #0A1428;
    --naranja: #FF5A26;
    --gris-asfalto: #2E2E2E;
    --gris-nube: #F7F7F7;
    --blanco-hueso: #FFFFFF;
    --font-main: 'Roboto', sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
html::-webkit-scrollbar {
    display: none;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;    
    font-family: var(--font-main);
    background-color: var(--gris-nube);
    color: var(--gris-asfalto);
}
header {
    display: flex;
    flex-direction: column;
    background-color: var(--azul-marino);
    color: var(--blanco-hueso);
    text-align: center;
}
.upper {
    padding: 1rem;
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    align-items: center;
}
.main-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 8rem;
    height: 8rem;
}
.btn-cta {
    display: inline-block;
    background-color: var(--naranja);
    color: var(--blanco-hueso);
    padding: 1rem 2rem;
    font-weight: bolder;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 1rem;
    user-select: none;
    pointer-events: auto;
    text-decoration: none;
}
.btn-cta:active {
    outline: 3px solid #FFD1C0;
}
.imagen-recortada {
    width: 100%;
    height: 30vh;
}
.imagen-recortada img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
main{
    display: block;
}
.borde-lateral {
    width: 100%;
    border-left: 5px solid var(--naranja);
    border-right: 5px solid var(--naranja);
    background-color: var(--gris-nube);
    display: flex;
    flex-direction: column;
}
.quienes {
    padding: 2rem 2rem 0 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.mision {
    display: flex;
    flex-direction: column;
    padding: 2rem 2rem 0 2rem;
    text-align: center;
}
.vision {
    display: flex;
    flex-direction: column;
    padding: 2rem 2rem 0 2rem;
    text-align: center;
}
.politica {
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 2rem 0 2rem;
}
.politica .valores article p {
    margin-bottom: 0; 
}
.valores {
    display: flex;
    text-align: center;
    justify-content: center;
    margin: auto;
    gap: 3rem;
}
.valores article {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.valores span {
    font-size: 2rem;
    color: var(--naranja);
}
.servicios {
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 2rem 2rem 2rem; 
}
.servicios-items{
    display: flex;
    text-align: center;
    justify-content: center;
    gap: 5rem;
}
.servicios article{
    max-width: 500px;
}
footer {
    display: block;
    background-color: var(--azul-marino);
    color: var(--blanco-hueso);
    text-align: center;
}
footer a{
    color: var(--naranja);
    text-decoration: underline;
}
.footer-contenedor {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
}
.footer-arriba {
    display: flex;
    align-items: center;
    gap: 1rem; 
}
.footer-arriba .izquierdo, .footer-arriba .derecho {
    flex: 1 1 45%; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.footer-arriba .derecho iframe {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 6px;
}
.footer-abajo {
    text-align: center;
    font-size: 1rem;
}
.footer-abajo p {
    margin-top: 1rem;
}
.footer-abajo a {
    color: var(--naranja);
    text-decoration: underline;
    margin: 0 0.5rem;
}
.whatsapp-float {
        position: fixed;
        width: 70px;
        height: 70px;
        bottom: 10px;
        right: 10px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 10px rgba(0,0,0,0.3); 
        z-index: 1000;
        transition: transform 0.2s ease-in-out;
        background: var(--gris-nube);
    }
.whatsapp-float img {
        width: 50px;
        height: 50px;
    }
iframe {
    width: 100%;
    height: 200px;
    border: 0;
}

/** SEPARADOR: LOGIN HTML**/
.home-container{
    background-color: var(--blanco-hueso);
    border-radius:50%;
    border: 1px;
    padding: 10px;
}
.home{
    width: 55px;
    height: 50px;
}
.home-container:active{
    border: 2px solid var(--naranja);
}
.login-div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 160px);
}
.login-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30%;
    background-color: var(--naranja);
    padding: 1rem;
}
.login-h3{
    font-size: 3rem;
    padding-bottom: 0rem;
    color: var(--azul-marino);
    text-align: center;
}
.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 1rem;
    gap: 1rem;
}
.login-form input{
    text-align: center;
    border: 1px solid var(--naranja);
    height: 50px;
    padding: 0 150px;
}
.login-form button{
    background-color: var(--azul-marino);
    color: var(--blanco-hueso);
    font-weight: bolder;
    border: 1px solid var(--azul-marino);
    padding: 1rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    pointer-events: auto;
    margin: 1rem;
}
.login-form button:active{
    border: 1px solid #FFFFFF;
}
/**PORTAL.HTML**/
.portal{
    display: flex;
    flex: 1;
}
.lat-menu{
    background-color: var(--naranja);
    display: flex;
    flex-direction: column;
    width: 15vw;
    text-align: center;
    padding: 1rem;
}
.btn-men1{
    color: var(--blanco-hueso);
    background-color: var(--azul-marino);
    padding: 1rem 2rem;
    font-weight: bolder;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 1rem;
    user-select: none;
    pointer-events: auto;
}
.btn-men2{
    color: var(--blanco-hueso);
    background-color: var(--azul-marino);
    padding: 1rem 2rem;
    font-weight: bolder;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 1rem;
    user-select: none;
    pointer-events: auto;
}
.btn-frm{
    color: var(--blanco-hueso);
    width: 20rem;
    height: 20rem;
    font-size: 2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    pointer-events: auto;
    background-color: var(--azul-marino);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center
}
.portal-body{
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    gap: 4rem;
}
.portal-body2{
    display: none;
    justify-content: center;
    align-items: center;
    flex: 1;
    gap: 4rem;
}
.portal-body3{
    display: none;
    justify-content: center;
    align-items: center;
    flex: 1;
    gap: 4rem;
}
/** FORM1 HTML**/
.div-forms{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem;
}
.container-forms{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--naranja);
    padding: 1rem;
}
#obs {
    width: 90%;
    min-height: 100px;
    padding: 5px 5px;
    font: var(--font-main);
    font-size: 1rem;
    resize: none;
    overflow: hidden;
}
#car_pic, #per_pic, #dan_pic {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 80%;
    height: 75px;                
    border: 2px dashed #ccc;      
    background: #fff;             
    position: relative;
    cursor: pointer;
    text-align: center;
    color: transparent;
}
#car_pic::before, #per_pic::before, #dan_pic::before{
    content: "+";
    font-size: 4rem;
    color: #999;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;   
}
#car_pic::-webkit-file-upload-button,#per_pic::-webkit-file-upload-button,#dan_pic::-webkit-file-upload-button,#car_pic::file-selector-button,#per_pic::file-selector-button, #dan_pic::file-selector-button {
    visibility: hidden;
}

/** SEPARADOR: FORM2 HTML**/
.marca-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--azul-marino);
    color: var(--blanco-hueso);
    padding: 1rem;
    width: 250px;
    cursor: pointer;
    user-select: none;
    margin: 0 auto 5px auto;
    font-weight: bold;
    text-align: center;
    border-radius: 4px;
    position: relative;
}
.marca-btn input[type="radio"] {
    display: none;
}
.marca-btn:has(input[type="radio"]:checked) {
    background-color: var(--azul-marino);    
    color: var(--blanco-hueso);
}
.marca-btn:has(input[type="radio"]:checked) + .sucursales{
    display: flex;
    flex-direction: column;
    align-items: center;   
}
.marca-btn:has(input[type="radio"]:checked) + .campo-otro {
    display: block;
}
.sucursales,.campo-otro {
    display: none;
    margin-top: 8px;
}
.sucursales input[type="radio"] {
    display: none;
}
.sucursales label {
    display: block;
    background-color: var(--blanco-hueso);
    padding: 10px 12px;
    width: 250px;
    margin: 4px 0;
    cursor: pointer;
    border-radius: 3px;
    text-align: center;
    user-select: none;
}
.sucursales label:has(input[type="radio"]:checked){
    background-color: var(--naranja);
    color: var(--blanco-hueso);
    border: 1px solid var(--azul-marino);
}
.input-otro {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
.seccion-titulo {
    display: block;
    text-align: center;
    font-family: var(--font-main);
    font-size: 1.2rem;
}
.checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.check-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--gris-nube);
    border-radius: 5px;
    background-color: var(--blanco-hueso);
    cursor: pointer;
    font-family: var(--font-main);
}
.check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--naranja);
    margin-right: 12px;
    cursor: pointer;
}
.check-label {
    font-size: 15px;
    color: var(--gris-asfalto);
    user-select: none;
}
.check-item input[type="checkbox"]:checked + .check-label {
    font-weight: bold;
    color: var(--azul-marino);
}
.radio-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.radio-item {
    display: flex;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--font-main);
}
.radio-item input[type="radio"] {
    display: none;
}
.radio-item .radio-label {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    user-select: none;
}
.radio-item input[type="radio"]:checked + .radio-label {
    background-color: var(--azul-marino);
    color: white;
}
.firma-pad { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
    align-items: flex-start; 
}
#firma-canvas {
    width: 100%; 
    max-width: 500px; 
    height: 200px; 
    background: var(--blanco-hueso);
    border: 2px dashed var(--gris-nube);
    border-radius: 8px; 
    touch-action: none;
}
.firma-actions { 
    display: flex; 
    gap: 10px; 
}
.firma-actions button {
    padding: 8px 12px; 
    border-radius: 6px; 
    border: 1px solid var(--gris-nube);
    background: var(--blanco-hueso); 
    cursor: pointer; 
    font-family: var(--font-main);
}
.firma-actions button:hover { 
    filter: brightness(0.98); 
}
#firma-clear{
    background: var(--azul-marino);
    border-color: var(--azul-marino);
}
.preview-wrap{
    width: 100%;
    max-width: 450px;
    margin: 0 auto 16px;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.preview-wrap > input[type="file"]{
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.preview-grid{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: hidden;
    gap: 10px;
}
.preview-card{
    max-width: 180px;
    border: 1px solid var(--blanco-hueso);
    border-radius: 12px;
    overflow: hidden;
    background: var(--gris-nube);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.preview-card img{
   max-width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--gris-nube);
}
.preview-filebar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    background-color: var(--gris-nube);
}
.preview-name{
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    color: var(--gris-asfalto);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.preview-card .preview-remove{
    all: unset;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--gris-asfalto);
    background: var(--gris-asfalto);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gris-nube);
}
.preview-card .preview-remove svg{ 
    width: 16px; 
    height: 16px; 
    display: block; 
}
.upload-cta{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: var(--gris-asfalto);
    font-size: 14px;
    cursor: pointer;
}
.upload-cta svg{ 
    width: 18px; 
    height: 18px; 
}
/* *EXITO HTML* */
.exito-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--naranja);
    padding: 1rem;
}
.exito-div {
    background-color: var(--blanco-hueso);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.exito-h3{
    font-size: 3rem;
    padding-bottom: 0rem;
    color: var(--azul-marino);
    text-align: center;
}
.exito-btn-cta {
    display: inline-block;
    background-color: var(--azul-marino);
    color: var(--blanco-hueso);
    padding: 1rem 2rem;
    font-weight: bolder;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 1rem;
    user-select: none;
    pointer-events: auto;
    text-decoration: none;
}



















































































































@media (max-width: 768px) {
    :root { 
        scroll-behavior: smooth; 
    }
    html, body { 
        overflow-x: hidden; 
    }
    *, *::before, *::after { 
        box-sizing: border-box; 
    }
    header .upper {
        position: relative;
        z-index: 2;              
        display: flex;
        flex-direction: column;  
        align-items: center;
        text-align: center;
        padding: 1rem;
    }
    .main-logo { 
        width: 84px;
        margin-bottom: 10px;
        height: auto; 
    }
    .btn-cta {
        display: inline-flex;    
        align-items: center;
        justify-content: center;
        padding: .75rem 1rem;
        font-size: .95rem;
        min-width: 12rem;
        white-space: nowrap;
    }
    .imagen-recortada img {
        width: 100%;
        height: 40vh;            
        object-fit: cover;
        display: block;
    }
    .politica .valores {
        display: flex;
        flex-direction: column;      
        align-items: center;
        gap: .75rem;
    }
    .politica .valores article {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .servicios { 
        padding-inline: 0; 
    }
    .servicios-items {
        display: flex;               
        flex-direction: column;
        text-align: center;
        align-items: center; 
        gap: 1rem;
    }
    .servicios-items > article { 
        width: 80%; 
    }
    .footer-arriba {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .footer-arriba .izquierdo,.footer-arriba .derecho { 
        width: 100%; 
    }
    .footer-arriba iframe {
        width: 100%;
        height: 240px;
        border: 0;
    }
    .whatsapp-float { 
        right: 16px; 
        bottom: 16px; 
    }
    .whatsapp-float img { 
        width: 54px; 
        height: 54px; 
    }
    .pg-cotizacion .upper {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: .5rem;
        padding: .75rem .75rem 0;
    }
    .pg-cotizacion .main-logo { 
        width: 70px; 
        height: auto; 
    }
    .pg-cotizacion .home-container { 
        margin-bottom: .5rem; 
    }
    .pg-cotizacion .div-forms {
        margin: .5rem 0;
        padding: 0 .75rem;
        flex: 1;
    }
    .pg-cotizacion .container-forms {
        width: 100%;
        max-width: 560px;
        border-radius: 8px;
        box-sizing: border-box;
    }
    .pg-cotizacion .login-form {
        width: 100%;
        display: flex;          
        flex-direction: column; 
        align-items: stretch;
        gap: .75rem;
        padding: .75rem;
    }
    .pg-cotizacion .login-form label { 
        width: 100%; 
        text-align: center; 
    }
    .pg-cotizacion .login-form input, .pg-cotizacion .login-form textarea {
        width: 100%;
        height: 48px;
        padding: 0 12px;
        box-sizing: border-box;
    }
    .pg-cotizacion #obs {
        min-height: 140px;
        padding: 10px 12px;
        width: 100%;
    }
    .pg-cotizacion .login-form button {
        width: 100%;
        margin: .5rem 0 0;
        padding: .9rem 1rem;
        border-radius: 8px;
    }
    .login-page .upper{
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: .75rem .75rem 0;
    }
    .login-page .home-container { 
        margin-bottom: .5rem;
        margin-top: .5rem; 
    }
    .login-page .login-div{
        margin: .5rem 0;
        padding: 0 .75rem;
        flex: 1;
    }
    .login-page .login-container{
        width: 100%;
        max-width: 560px;
        border-radius: 8px;
        box-sizing: border-box;
    }
    .login-page .login-form {
        width: 100%;
        display: flex;          
        flex-direction: column; 
        align-items: stretch;
        gap: .75rem;
        padding: .75rem;
    }
    .login-page .login-form label { 
        width: 100%; 
        text-align: center; 
    }
    .login-page .login-form input {
        width: 100%;
        height: 48px;
        padding: 0 12px;
        box-sizing: border-box;
    }
    .login-page .login-form button {
        width: 100%;
        margin: .5rem 0 0;
        padding: .9rem 1rem;
        border-radius: 8px;
    }
    .portal-page .upper{
        display: flex;
        flex-direction: column;
        justify-items: center;
        text-align: center;
    }
    .portal-page #user_logged{
        text-align: center;
        font-size: 20px;
        margin-top: 5px;
    }
    .portal-page .portal{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .portal-page .lat-menu{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;     
    }
    .portal-page .btn-men1{
        max-width: 85%;
        height: 70px;
        font-size: 15px;
        border-radius: 10px;
        margin-top: 0;
    }
    .portal-page .btn-men2{
        max-width: 85%;
        height: 70px;
        font-size: 15px;
        border-radius: 10px; 
        margin-top: 1rem;  
    }
    .portal-page .portal-body{
        display: flex;
        flex-direction: column;
        gap: .75rem;
    }
    .portal-page .btn-frm{
        max-width: 95%;
        height: 95px;
        font-size: 20px;
        border-radius: 10px;
    }
    .pg-salida .upper{
        display: flex;
        flex-direction: column;
        justify-items: center;
        text-align: center;
    }
    .pg-salida .home-container { 
        margin-bottom: .5rem;
        margin-top: .5rem; 
    }
    .pg-salida #fecha {
        padding: 0 6rem 0 6rem;
    }
    .pg-salida #hora {
        padding: 0 6rem 0 6rem;
    }
    .pg-salida .container-forms {
        width: 100%;
        max-width: 560px;   
        margin-inline: auto;
        border-radius: 8px;
    }
    .pg-salida .login-h3 {
        text-align: center;
        margin: .5rem 0;
    }
    .pg-salida .login-form {
        display: flex;
        flex-direction: column;
        gap: .75rem;
        padding: .75rem;
    }
    .pg-salida .login-form input[type="text"], .pg-salida .login-form input[type="date"], .pg-salida .login-form input[type="time"], .pg-salida .login-form input[type="file"], .pg-salida .login-form textarea {
        width: 100%;
        height: 48px;
        padding: 0 12px;
        box-sizing: border-box;
    }
    .pg-salida .login-form textarea#obs {
        min-height: 120px;
        height: auto;
        padding: 10px 12px;
    }
    .pg-salida .compañia {
        display: flex;
        flex-direction: column;
    }
    .pg-salida .sucursales label {
        display: flex;
        height: 50px;
        text-align: center;
        align-items: center;
    }
    .pg-salida #firma-canvas{
        align-items: center;
        max-width: 100%;
    }
    .pg-salida .login-form button[type="submit"] {
        width: 100%;
        padding: .9rem 1rem;
        border-radius: 8px;
    }
    .pg-salida .radio-list {
        display: flex;
        flex-wrap: nowrap;
    }
    .pg-entrada .upper{
        display: flex;
        flex-direction: column;
        justify-items: center;
        text-align: center;
    }
    .pg-entrada .home-container { 
        margin-bottom: .5rem;
        margin-top: .5rem; 
    }
    .pg-entrada #date {
        padding: 0 6rem 0 6rem;
    }
    .pg-entrada #time {
        padding: 0 6rem 0 6rem;
    }
    .pg-entrada .container-forms {
        width: 100%;
        max-width: 560px;   
        margin-inline: auto;
        border-radius: 8px;
    }
    .pg-entrada .login-h3 {
        text-align: center;
        margin: .5rem 0;
    }
    .pg-entrada .login-form {
        display: flex;
        flex-direction: column;
        gap: .75rem;
        padding: .75rem;
    }
    .pg-entrada .login-form input[type="text"], .pg-entrada .login-form input[type="date"], .pg-entrada .login-form input[type="time"], .pg-entrada .login-form input[type="file"], .pg-entrada .login-form textarea {
        width: 100%;
        height: 48px;
        padding: 0 12px;
        box-sizing: border-box;
    }
    .pg-entrada .login-form textarea#obs {
        min-height: 120px;
        height: auto;
        padding: 10px 12px;
    }
    .pg-entrada .compañia {
        display: flex;
        flex-direction: column;
    }
    .pg-entrada .sucursales label {
        display: flex;
        height: 50px;
        text-align: center;
        align-items: center;
    }
    .pg-entrada #firma-canvas{
        align-items: center;
        max-width: 100%;
    }
    .pg-entrada .login-form button[type="submit"] {
        width: 100%;
        padding: .9rem 1rem;
        border-radius: 8px;
    }
    .pg-entrada .radio-list {
        display: flex;
        flex-wrap: nowrap;
    }
    .pg-dan .upper{
        display: flex;
        flex-direction: column;
        justify-items: center;
        text-align: center;
    }
    .pg-dan .home-container { 
        margin-bottom: .5rem;
        margin-top: .5rem; 
    }
    .pg-dan .sucursales label {
        display: flex;
        height: 50px;
        text-align: center;
        align-items: center;
    }
    .pg-dan .container-forms {
        width: 100%;
        max-width: 560px;   
        margin-inline: auto;
        border-radius: 8px;
    }
    .pg-dan .login-h3 {
        text-align: center;
        margin: .5rem 0;
    }
    .pg-dan .login-form {
        display: flex;
        flex-direction: column;
        gap: .75rem;
        padding: .75rem;
    }
    .pg-dan .login-form input[type="text"], .pg-dan .login-form input[type="file"] {
        width: 100%;
        height: 48px;
        padding: 0 12px;
        box-sizing: border-box;
    }
    .preview-wrap{
        width: 100%;
        max-width: 450px;
        margin: 0 auto 16px;
        border: 2px dashed #e5e7eb;
        border-radius: 12px;
        background: #fff;
        padding: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .preview-wrap > input[type="file"]{
        position: absolute !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    .preview-grid{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: hidden;
        gap: 10px;
    }
    .preview-card{
        max-width: 180px;
        border: 1px solid var(--blanco-hueso);
        border-radius: 12px;
        overflow: hidden;
        background: var(--gris-nube);
        box-shadow: 0 2px 8px rgba(0,0,0,.06);
    }
    .preview-card img{
        max-width: 100%;
        height: 180px;
        object-fit: cover;
        display: block;
        border-bottom: 1px solid var(--gris-nube);
    }
    .preview-filebar{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 6px 8px;
        background-color: var(--gris-nube);
    }
    .preview-name{
        flex: 1 1 auto;
        min-width: 0;
        font-size: 12px;
        color: var(--gris-asfalto);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .preview-card .preview-remove{
        all: unset;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: 1px solid var(--gris-asfalto);
        background: var(--gris-asfalto);
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--gris-nube);
    }
    .preview-card .preview-remove svg{ 
        width: 16px; 
        height: 16px; 
        display: block; 
    }   
}
@media (max-width: 420px) {
    .pg-cotizacion .upper h1 { 
        font-size: 1.05rem; 
        line-height: 1.2; 
    }
    .pg-cotizacion .upper h3 { 
        font-size: .9rem; 
        line-height: 1.25; 
    }
    .pg-cotizacion .home { 
        width: 42px; 
        height: 38px; 
    }
    .pg-cotizacion .login-form input { 
        height: 44px; 
    }
    .pg-cotizacion #obs { 
        min-height: 120px; 
    }
    .login-page .upper h1 { 
        font-size: 1.05rem; 
        line-height: 1.2; 
    }
    .login-page .upper h3 { 
        font-size: .9rem; 
        line-height: 1.25; 
    }
    .login-page .home { 
        width: 42px; 
        height: 38px; 
    }
    .login-page .login-form input { 
        height: 44px; 
    }
    .portal-page .btn-frm{
        height: 58px;
        font-size: .95rem;
    }
    .portal-page .btn-men{
        padding: .65rem .9rem;
        font-size: .95rem;
    }
}
@media (max-width: 380px) {
    .btn-cta { 
        min-width: 10rem; 
        font-size: .9rem; 
        padding: .6rem .9rem; 
    }
    .main-logo { 
        width: 72px; 
    }
    .portal-page .btn-frm{
        height: 54px;
        font-size: .9rem;
        border-radius: 8px;
    }
}
