/* Estilos Generales y Reseteo Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Nota: body font-family, background-color y color son manejados por Tailwind y la configuración en el HTML. */
/* No es necesario redefinirlos aquí a menos que quieras sobrescribir Tailwind. */

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Estilos para el botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Estilos para el menú móvil (importante: estos son los que controlan el despliegue) */
.mobile-menu{
    display: block; /* Siempre visible para que la transición funcione */
    position: absolute;
    width: 100%;
    left: 0;
    top: 100%;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 999;
    overflow: hidden; /* Oculta el contenido que excede el max-height */
    max-height: 0; /* Inicia con altura 0 para el efecto de deslizamiento */
    opacity: 0; /* Inicia invisible */
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out; /* Transición suave */
    pointer-events: none; /* Deshabilita la interacción cuando está oculto */
}

.mobile-menu.active {
    max-height: 500px; /* Suficientemente grande para contener el menú */
    opacity: 1; /* Se vuelve completamente visible */
    pointer-events: auto; /* Habilita la interacción cuando está activo */
}

/* Sección de Selección de Sesiones */
.session-selection {
    margin-top: 60px; /* Ajusta el margen superior para que no choque con el header */
    text-align: center;
}

.session-selection h2 {
    font-size: 2.5em;
    color: #3f51b5; /* Color que combina con el primary de Tailwind */
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.session-selection h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: #ffc107; /* Amarillo vibrante */
    bottom: -10px;
    left: 20%;
}

.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Columnas responsivas */
    gap: 30px;
    margin-top: 30px;
}

.session-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent; /* Borde para el efecto de seleccionado */
}

.session-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.session-card.selected {
    border-color: #3f51b5; /* Color del borde cuando está seleccionado */
    box-shadow: 0 0 0 4px rgba(63, 81, 181, 0.3); /* Anillo de selección */
}

.session-card h3 {
    font-size: 1.8em;
    color: #4a4a4a;
    margin-bottom: 15px;
}

.session-card .price {
    font-size: 1.5em;
    font-weight: 600;
    color: #e91e63; /* Rosa vibrante */
    margin-bottom: 20px;
}

.session-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    text-align: left;
}

.session-card ul li {
    margin-bottom: 10px;
    color: #666;
    padding-left: 25px;
    position: relative;
}

.session-card ul li::before {
    content: '✓';
    color: #4CAF50; /* Verde checkmark */
    font-weight: bold;
    position: absolute;
    left: 0;
}

.select-session-btn {
    background-color: #4CAF50; /* Verde botón */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
}

.select-session-btn:hover {
    background-color: #43a047; /* Verde más oscuro al pasar el mouse */
    transform: translateY(-2px);
}

/* Sección de Configuración de la Cotización */
.quote-configuration, .quote-summary {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 60px;
}

.quote-configuration h2, .quote-summary h2 {
    font-size: 2.2em;
    color: #3f51b5;
    margin-bottom: 30px;
    text-align: center;
}

.config-options .form-group {
    margin-bottom: 25px;
}

.config-options label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #555;
    font-size: 1.1em;
}

.config-options input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.config-options input[type="number"]:focus {
    border-color: #3f51b5;
    outline: none;
}

.config-options h3 {
    font-size: 1.6em;
    color: #4a4a4a;
    margin-top: 35px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    font-weight: normal; /* Sobrescribe el font-weight de label */
    font-size: 1em;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 12px;
    transform: scale(1.3); /* Aumenta el tamaño del checkbox */
    accent-color: #3f51b5; /* Color del checkbox moderno */
}

#calculate-quote-btn, #reset-quote-btn {
    background-color: #e91e63; /* Rosa vibrante para el botón de calcular */
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    margin-top: 30px;
}

#calculate-quote-btn:hover, #reset-quote-btn:hover {
    background-color: #d81b60; /* Rosa más oscuro */
    transform: translateY(-3px);
}

#reset-quote-btn {
    background-color: #607d8b; /* Gris azulado para resetear */
    margin-top: 20px;
}

#reset-quote-btn:hover {
    background-color: #546e7a;
}

/* Sección de Resumen de la Cotización */
.quote-summary p {
    font-size: 1.2em;
    margin-bottom: 12px;
    color: #444;
}

.quote-summary p span {
    font-weight: 600;
    color: #3f51b5;
}

.quote-summary .total-price {
    font-size: 2em;
    font-weight: 700;
    color: #e91e63;
    margin-top: 30px;
    border-top: 2px dashed #eee;
    padding-top: 20px;
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
    /* El header y footer ya son responsivos con Tailwind,
       estos estilos se enfocan en el contenido principal de la cotización */
    .session-selection h2 {
        font-size: 2em;
    }

    .sessions-grid {
        grid-template-columns: 1fr; /* Una columna en pantallas pequeñas */
    }

    .session-card {
        margin-bottom: 20px; /* Espacio entre tarjetas en móviles */
    }

    .quote-configuration, .quote-summary {
        padding: 25px;
    }

    .quote-configuration h2, .quote-summary h2 {
        font-size: 1.8em;
    }

    #calculate-quote-btn, #reset-quote-btn {
        padding: 12px 20px;
        font-size: 1.1em;
    }

    .quote-summary .total-price {
        font-size: 1.6em;
    }
}

header {
    position: relative;
    z-index: 100;
}
