/* ================= COTIZACIÓN - ESTILOS ================= */

/* Hero Section */
.cotizacion-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    padding: 8rem 2rem 4rem 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cotizacion-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* Sección del Formulario */
.cotizacion-form-section {
    padding: 4rem 1rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.form-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(29, 53, 87, 0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--primary);
}

.form-header h2 {
    color: var(--secondary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Pasos del formulario */
.form-step {
    display: none;
    animation: fadeInStep 0.4s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-step h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.form-step h3 i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Form Row - Dos columnas */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: var(--primary);
    margin-left: 0.2rem;
}

.form-group input,
.form-group select {
    padding: 0.9rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 0.8rem;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-group input:disabled,
.form-group select:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
}

/* Navegación del formulario */
.form-navigation {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.form-navigation .btn {
    flex: 1;
    max-width: 250px;
}

/* Indicador de pasos */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0 0 0;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    transform: scale(1.1);
}

.step-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
}

.step.active .step-label {
    color: var(--secondary);
}

/* Footer del formulario */
.form-footer {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f9ff 100%);
    border-radius: 1rem;
    text-align: center;
}

.form-footer p {
    color: var(--secondary);
    font-size: 1rem;
    margin: 0;
}

.form-footer i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .cotizacion-hero {
        padding: 6rem 1rem 3rem 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .form-card {
        padding: 2rem 1.5rem;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-navigation {
        flex-direction: column;
    }

    .form-navigation .btn {
        max-width: 100%;
    }

    .step-indicator {
        gap: 1rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .step-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .form-card {
        padding: 1.5rem 1rem;
        border-radius: 1.5rem;
    }

    .form-step h3 {
        font-size: 1.2rem;
    }

    .step-indicator {
        gap: 0.5rem;
    }

    .step-label {
        display: none;
    }
}
