/* Solo página cotizacion */
.titulo-cotizador {
    text-align: center;
    font-size: 42px;
    font-style: italic;
    font-weight: 700;
    color: #003366;
    position: relative;
}
.titulo-cotizador::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #ffd200;
    display: block;
    margin: 10px auto 0;
    border-radius: 10px;
}
@media(max-width:768px) {
    .titulo-cotizador { font-size: 28px; }
    div[style*="display: flex; flex-wrap: wrap;"] { display: block !important; }
    div[style*="display: flex; gap: 12px;"] { display: flex !important; flex-direction: column !important; }
}
.calc-section {
    padding: 40px 15px;
    background: #ffffff;
}

.titulo-cotizador {
    text-align: center;
    font-size: 42px;
    font-style: italic;
    font-weight: 700;
    color: #22357f;
    margin-bottom: 30px;
    position: relative;
}

@media(max-width:768px) {
    .titulo-cotizador {
        font-size: 28px;
    }
}

.titulo-cotizador::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #ffd200;
    display: block;
    margin: 10px auto 0;
    border-radius: 10px;
}

/* --- CONTENEDOR MODIFICADO --- */
.calc-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    max-width: 1100px;
    margin: auto;
    gap: 30px; /* 🔥 Espacio de separación entre imagen y formulario */
}

/* --- IMAGEN INDEPENDIENTE --- */
.calc-img {
    flex: 1;
    border-radius: 20px; /* 🔥 Bordes redondeados */
    overflow: hidden;    /* Para que la imagen respete el borde del div */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Sombra individual */
}

.calc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- FORMULARIO INDEPENDIENTE --- */
.calc-form {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 20px; /* 🔥 Bordes redondeados */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Sombra individual */
    border: 1px solid #f0f0f0; /* Opcional: un borde sutil */
}

.calc-form h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #22357f;
}

.form-group {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    margin-bottom: 4px;
    color: #555;
    font-weight: 600;
}

.calc-form input,
.calc-form select {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    transition: border 0.3s;
}

.calc-form input:focus {
    border-color: #22357f;
    outline: none;
}

.calc-form button {
    width: 100%;
    background: #ffd200;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    margin-top: 15px;
    cursor: pointer;
    text-transform: uppercase;
}

.total {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #28a745;
    margin-top: 15px;
}

/* 📱 RESPONSIVE */
@media(max-width:768px) {
    .calc-container {
        flex-direction: column;
        gap: 20px;
    }

    .calc-img {
        height: 250px;
    }
}
