/* ============================================
   MODAL DE COTIZACIÓN
   ============================================ */

.quote-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quote-modal.show {
    display: flex;
    opacity: 1;
}

.quote-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.quote-modal.show .quote-modal-content {
    transform: scale(1);
}

.quote-modal-header {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-orange));
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quote-modal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    margin: 0;
    letter-spacing: 1px;
}

.quote-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.8rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.quote-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.quote-modal-body {
    padding: 2rem;
}

.quote-modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.quote-form-group {
    display: flex;
    flex-direction: column;
}

.quote-form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quote-form-input,
.quote-form-select,
.quote-form-textarea {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-family: 'Roboto Condensed', sans-serif;
}

.quote-form-input:focus,
.quote-form-select:focus,
.quote-form-textarea:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.quote-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.quote-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.quote-btn-submit {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-orange));
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.quote-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 6, 19, 0.3);
}

.quote-btn-submit:active {
    transform: translateY(0);
}

.quote-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Botón flotante de cotización */
.quote-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    border: none;
}

.quote-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.quote-icon {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 768px) {
    .quote-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .quote-modal-header {
        padding: 1.25rem 1.5rem;
    }

    .quote-modal-title {
        font-size: 1.5rem;
    }

    .quote-modal-body {
        padding: 1.5rem;
    }

    .quote-form-row {
        grid-template-columns: 1fr;
    }

    .quote-float {
        width: 56px;
        height: 56px;
        bottom: 16px;
        right: 16px;
    }

    .quote-icon {
        width: 26px;
        height: 26px;
    }
}