/* ==========================================================================
   Componente: Formulario Multi-Step Premium para Contacto
   ========================================================================== */

.contact-page-wrapper {
    padding-bottom: 100px;
}

.contact-form-card {
    background: rgba(20, 20, 20, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    padding: 3rem !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Indicador de Pasos (Progreso) */
.form-step-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.form-step-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
    transform: translateY(-50%);
}

.form-step-line-active {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0%;
    height: 2px;
    background: #651fff;
    z-index: 1;
    transform: translateY(-50%);
    transition: width 0.4s ease;
}

.step-node {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #121212;
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    transition: all 0.4s ease;
}

.step-node.active {
    border-color: #651fff;
    background: #651fff;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(101, 31, 255, 0.4);
}

.step-node.completed {
    border-color: #c9a84c;
    background: #c9a84c;
    color: #121212;
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.4);
}

/* Secciones del Formulario */
.form-step-section {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-step-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Inputs Premium sin Materialize Estilos Defectuosos */
.premium-input-wrapper {
    margin-bottom: 1.75rem;
    text-align: left;
}

.premium-input-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
}

.premium-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    box-shadow: none !important;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.premium-input:focus {
    border-color: #651fff !important;
    background: rgba(101, 31, 255, 0.05) !important;
}

.premium-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.premium-select option {
    background: #121212;
    color: #ffffff;
}

.premium-select:focus {
    border-color: #651fff;
}

.premium-textarea {
    width: 100%;
    min-height: 120px;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    resize: vertical !important;
    transition: border-color 0.3s ease;
}

.premium-textarea:focus {
    border-color: #651fff !important;
    background: rgba(101, 31, 255, 0.05) !important;
}

/* Navegación del Formulario */
.form-step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.btn-prev-step {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    background: transparent !important;
    border-radius: 8px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
}

.btn-prev-step:hover {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.btn-next-step {
    background: #651fff !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(101, 31, 255, 0.3) !important;
}

.btn-next-step:hover {
    background: #5311e0 !important;
    box-shadow: 0 6px 20px rgba(101, 31, 255, 0.4) !important;
}
