/* --- Estilos para la Calculadora Chaleco Rojo --- */




.service-hero {
    background-color: #D32F2F;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.service-hero__title {
    color: white;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-hero__subtitle {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* --- TARJETA CALCULADORA --- */
.calculator-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    max-width: 800px;
    margin: -70px auto 60px auto; /* Efecto flotante sobre el hero */
    position: relative;
    z-index: 10;
    border-top: 5px solid #D32F2F;
}

/* --- PASO 1: SELECCION DE NOMINA --- */
.calc-step {
    margin-bottom: 30px;
    padding: 25px;
    background: #fdf2f2;
    border-radius: 12px;
    border-left: 6px solid #D32F2F;
}

.calc-step__label {
    display: block;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

.calc-step__select {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    cursor: pointer;
}

.calc-step__help {
    color: #666;
    display: block;
    margin-top: 10px;
}

/* --- TITULOS Y ITEMS --- */
.calc-title {
    margin-bottom: 25px;
    color: #333;
    font-weight: 600;
}

.calc-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 20px;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    transition: 0.3s ease;
    cursor: pointer;
}

.calc-item:hover {
    border-color: #D32F2F;
    background-color: #fffafa;
}

.multa-check {
    min-width: 24px;
    min-height: 24px;
    margin-right: 18px;
    margin-top: 3px;
    accent-color: #D32F2F;
}

.calc-item label strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 5px;
    color: #000;
}

.calc-item label small {
    display: block;
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* --- BOTÓN CALCULAR --- */
.btn-calc {
    background: #D32F2F;
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-calc:hover {
    background: #b71c1c;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

/* --- RESULTADOS --- */
.res-container {
    display: none; /* Se mantiene oculto hasta que el JS diga lo contrario */
    margin-top: 40px;
    text-align: center;
    animation: fadeIn 0.6s ease;
}

.res-title {
    color: #333;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.res-monto {
    color: #D32F2F;
    font-weight: 800;
    font-size: 3.5rem;
    margin: 20px 0;
}

.res-analysis {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: left;
    border-left: 5px solid #25D366; /* Verde de confianza */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.res-analysis__header {
    color: #D32F2F;
    margin-bottom: 10px;
    font-weight: 700;
}

.res-analysis__text {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-whatsapp {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.05);
}

/* --- ANIMACIONES --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.trust-indicators {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 40px;
    text-align: center;
    padding: 40px 0 60px 0;
}

.trust-item {
    flex: 1;
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-10px); /* El icono sube un poquito cuando le pasás el mouse */
}

.trust-item i {
    font-size: 2.5rem;
    color: #D32F2F;
    margin-bottom: 15px;
}

.trust-item h4 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.trust-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Ajustes para Mobile */
/* --- RESPONSIVE DESIGN (800px & 576px) --- */

/* Tablets y pantallas medianas (800px) */
@media (max-width: 800px) {
    .calculator-card {
        max-width: 90%; /* Ocupa más ancho en tablets */
        margin-top: -50px; /* Sube un poco menos sobre el hero */
        padding: 30px;
    }

    .res-monto {
        font-size: 3rem; /* Achicamos un poco el número de la multa */
    }

    .calc-item {
        padding: 15px;
    }
}

/* Celulares (576px) */
@media (max-width: 576px) {
    /* 1. Forzamos a que el contenedor principal ocupe casi toda la pantalla */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin: 0 auto !important;
    }

    /* 2. Expandimos la tarjeta para que el texto tenga aire */
    .calculator-card {
        width: auto !important; /* Que use el ancho del container */
        max-width: 100% !important;
        margin: -30px 10px 40px 10px !important; /* Bajamos los márgenes laterales */
        padding: 25px 15px !important; /* Más espacio interno */
        display: block !important;
    }

    /* 3. Alineación total a la izquierda */
    .calc-item {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        text-align: left !important;
        width: 100% !important;
        padding: 15px 10px !important;
    }

    .calc-item label {
        text-align: left !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .calc-item label strong, 
    .calc-item label small {
        display: block !important;
        text-align: left !important;
        width: 100% !important;
    }

    /* 4. El checkbox: fijo a la izquierda */
    .multa-check {
        min-width: 25px !important;
        min-height: 25px !important;
        margin-right: 12px !important;
        flex-shrink: 0 !important; /* Para que no se aplaste */
    }
}
