/* =====================================================
   PÁGINA DE CONTACTO: BREATHING MINIMALISM STYLE
   ===================================================== */

.velvz-contact {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
    z-index: 10;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    /* Sin margin-top para integrar con el header */
}

.velvz-contact__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
    width: 100%;
}

/* =====================================================
   HEADER DE CONTACTO
   ===================================================== */

.velvz-contact__header {
    text-align: center;
    margin-bottom: 4rem;
}

.velvz-contact__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(51, 51, 51, 0.05);
    border: 1px solid rgba(51, 51, 51, 0.1);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
    opacity: 0;
    animation: velvzFadeInUp 0.8s ease-out 0.2s forwards;
}

.velvz-contact__badge-dot {
    width: 6px;
    height: 6px;
    background: #ff6b35; /* Color naranja */
    border-radius: 50%;
    animation: velvzBadgePulse 2s ease-in-out infinite;
}

.velvz-contact__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    opacity: 0;
    animation: velvzFadeInUp 0.8s ease-out 0.4s forwards;
}

.velvz-contact__subtitle {
    font-size: 1.125rem;
    color: #666;
    max-width: 60ch;
    margin: 0 auto 3rem;
    opacity: 0;
    animation: velvzFadeInUp 0.8s ease-out 0.6s forwards;
}

/* =====================================================
   TOGGLE PRINCIPAL (EMAIL vs PROPUESTA)
   ===================================================== */

.velvz-contact__toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: velvzFadeInUp 0.8s ease-out 0.8s forwards;
}

.velvz-contact__toggle {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 60px;
    padding: 0.5rem;
    display: flex;
    gap: 0;
    position: relative;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    animation: velvzToggleBreathe 8s ease-in-out infinite;
    min-width: 480px;
}

.velvz-contact__toggle-option {
    background: transparent;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    position: relative;
    z-index: 2;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.velvz-contact__toggle-option--email {
    color: white;
}

.velvz-contact__toggle-option--proposal {
    color: #666;
}

.velvz-contact__toggle-slider {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: calc(50% - 0.5rem);
    height: calc(100% - 1rem);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    z-index: 1;
}

.velvz-contact__toggle--proposal .velvz-contact__toggle-slider {
    transform: translateX(calc(100% + 0.2rem));
}

.velvz-contact__toggle--proposal .velvz-contact__toggle-option--email {
    color: #666;
}

.velvz-contact__toggle--proposal .velvz-contact__toggle-option--proposal {
    color: white;
}

@keyframes velvzToggleBreathe {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    }
    50% { 
        transform: scale(1.005); 
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }
}

/* =====================================================
   CONTENIDO PRINCIPAL
   ===================================================== */

.velvz-contact__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* =====================================================
   FORMULARIOS
   ===================================================== */

.velvz-contact__form-island {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    padding: 3rem;
    position: relative;
    animation: velvzLandingBreathe 10s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: velvzFadeInUp 0.8s ease-out 1s forwards, velvzLandingBreathe 10s ease-in-out infinite;
}

.velvz-contact__form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.velvz-contact__form-title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.velvz-contact__form-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.velvz-contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.velvz-contact__form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.velvz-contact__form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.velvz-contact__form-input,
.velvz-contact__form-select,
.velvz-contact__form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(51, 51, 51, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    transition: all 0.3s ease;
    resize: vertical;
}

.velvz-contact__form-input:focus,
.velvz-contact__form-select:focus,
.velvz-contact__form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.velvz-contact__form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* =====================================================
   FORMULARIO PROPUESTA - PASOS
   ===================================================== */

.velvz-contact__proposal-step {
    display: none;
}

.velvz-contact__proposal-step--active {
    display: block;
}

.velvz-contact__step-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
}

.velvz-contact__step-number {
    width: 2.5rem;
    height: 2.5rem;
    background: #ddd;
    color: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.velvz-contact__step-number--active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.velvz-contact__step-label {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

/* =====================================================
   SLIDER DE PRESUPUESTO
   ===================================================== */

.velvz-contact__budget-slider {
    padding: 1rem 0;
}

.velvz-contact__slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    appearance: none;
    cursor: pointer;
    margin-bottom: 1rem;
}

.velvz-contact__slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.velvz-contact__slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.velvz-contact__slider-value {
    text-align: center;
    margin-bottom: 0.5rem;
}

.velvz-contact__slider-value span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.velvz-contact__slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #666;
}

/* =====================================================
   BOTONES DE NAVEGACIÓN - SOLUCIONADO DEFINITIVAMENTE
   ===================================================== */

.velvz-contact__form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    align-items: stretch;
}

.velvz-contact__form-back,
.velvz-contact__form-submit {
    /* PROPIEDADES COMUNES PARA AMBOS BOTONES */
    padding: 1.25rem 2rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    box-sizing: border-box;
    border: 2px solid transparent; /* CLAVE: Border transparente para ambos */
}

.velvz-contact__form-back {
    background: rgba(51, 51, 51, 0.05);
    color: #333;
    border-color: rgba(51, 51, 51, 0.1); /* Sobrescribir el transparente solo para back */
    white-space: nowrap;
    flex: 0 0 auto;
}

.velvz-contact__form-back:hover {
    background: rgba(51, 51, 51, 0.1);
    border-color: rgba(51, 51, 51, 0.2);
}

.velvz-contact__form-submit {
    background: #333;
    color: white;
    /* border ya está definido como transparente arriba */
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
    flex: 1;
    margin-top: 0;
}

.velvz-contact__form-submit:hover {
    background: #555;
    box-shadow: 0 8px 25px rgba(51, 51, 51, 0.2);
}

.velvz-contact__form-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.velvz-contact__form-submit-text {
    position: relative;
    z-index: 2;
}

.velvz-contact__form-submit-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.velvz-contact__form-submit:hover .velvz-contact__form-submit-shine {
    left: 100%;
}

/* Para los botones que están solos (sin el botón atrás) */
.velvz-contact__form:not(.velvz-contact__form-buttons) .velvz-contact__form-submit {
    margin-top: 1rem;
}

/* =====================================================
   ESTUDIO PERSONALIZADO
   ===================================================== */

.velvz-contact__study-options {
    margin: 2rem 0;
}

.velvz-contact__study-option {
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.velvz-contact__study-option:hover {
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.velvz-contact__study-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.velvz-contact__study-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.velvz-contact__study-price {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 1.5rem;
}

.velvz-contact__study-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.velvz-contact__study-features li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #666;
}

.velvz-contact__study-toggle {
    display: flex;
    justify-content: center;
}

.velvz-contact__checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    color: #333;
}

.velvz-contact__checkbox {
    display: none;
}

.velvz-contact__checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.velvz-contact__checkbox:checked + .velvz-contact__checkbox-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.velvz-contact__checkbox:checked + .velvz-contact__checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}

/* =====================================================
   CONFIRMACIÓN / ÉXITO
   ===================================================== */

.velvz-contact__success {
    text-align: center;
    padding: 2rem 0;
}

.velvz-contact__success-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.velvz-contact__success-title {
    font-size: 2rem;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 1rem;
}

.velvz-contact__success-description {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.velvz-contact__success-summary {
    background: rgba(40, 167, 69, 0.05);
    border: 1px solid rgba(40, 167, 69, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.velvz-contact__success-summary h4 {
    color: #28a745;
    margin-bottom: 1rem;
    font-weight: 600;
}

.velvz-contact__success-summary p {
    margin: 0.5rem 0;
    color: #666;
}

/* =====================================================
   INFO LATERAL
   ===================================================== */

.velvz-contact__info-island {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 28px;
    padding: 2.5rem;
    position: relative;
    animation: velvzLandingBreathe 10s ease-in-out infinite;
    animation-delay: 5s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    opacity: 0;
    animation: velvzFadeInUp 0.8s ease-out 1.2s forwards, velvzLandingBreathe 10s ease-in-out infinite;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.velvz-contact__info-header {
    margin-bottom: 2rem;
}

.velvz-contact__info-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.velvz-contact__info-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.velvz-contact__info-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.velvz-contact__info-feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.velvz-contact__info-feature-content {
    flex: 1;
}

.velvz-contact__info-feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.velvz-contact__info-feature-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.velvz-contact__info-cta {
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}

.velvz-contact__info-cta-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.velvz-contact__info-cta-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.velvz-contact__info-cta-phone {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
}

.velvz-contact__info-cta-phone:hover {
    color: #333;
    transform: scale(1.05);
}

/* =====================================================
   AMBIENT ELEMENTS
   ===================================================== */

.velvz-contact__ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.velvz-contact__ambient-pulse {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.015) 0%, transparent 70%);
    border-radius: 50%;
    animation: velvzLandingPulse 15s ease-in-out infinite;
}

.velvz-contact__ambient-pulse:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.velvz-contact__ambient-pulse:nth-child(2) {
    bottom: 20%;
    right: 10%;
    animation-delay: 5s;
}

.velvz-contact__ambient-pulse:nth-child(3) {
    top: 60%;
    left: 70%;
    animation-delay: 10s;
}

.velvz-contact__ambient-pulse:nth-child(4) {
    bottom: 50%;
    left: 20%;
    animation-delay: 7.5s;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1024px) {
    .velvz-contact__content {
        gap: 3rem;
    }
    
    .velvz-contact__form-island,
    .velvz-contact__info-island {
        padding: 2.5rem;
    }
    
    .velvz-contact__toggle {
        min-width: 420px;
    }
}

@media (max-width: 895px) {
    .velvz-contact__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .velvz-contact__info-island {
        position: relative;
        top: auto;
    }
    
    .velvz-contact__toggle {
        min-width: 380px;
    }
}

@media (max-width: 768px) {
    .velvz-contact {
        padding: 6rem 0 3rem;
        /* Sin margin-top para móvil también */
    }
    
    .velvz-contact__container {
        padding: 0 1rem;
    }
    
    .velvz-contact__form-island,
    .velvz-contact__info-island {
        padding: 2rem;
        border-radius: 20px;
    }
    
    .velvz-contact__form-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .velvz-contact__form-back,
    .velvz-contact__form-submit {
        flex: none;
        width: 100%;
        min-height: 52px;
        padding: 1rem 2rem;
    }
    
    /* TOGGLE VERTICAL EN MÓVIL */
    .velvz-contact__toggle {
        flex-direction: column;
        min-width: 300px;
        max-width: 340px;
        padding: 0.4rem;
        height: auto;
        border-radius: 20px;
    }
    
    .velvz-contact__toggle-option {
        padding: 1rem 1rem;
        font-size: 0.85rem;
        width: 100%;
        flex: none;
        height: 54px;
        border-radius: 16px;
    }
    
    .velvz-contact__toggle-slider {
        width: calc(100% - 0.8rem);
        height: calc(50% - 0.8rem);
        top: 0.4rem;
        left: 0.4rem;
        transform: translateY(0);
        border-radius: 16px;
    }
    
    .velvz-contact__toggle--proposal .velvz-contact__toggle-slider {
        transform: translateY(100%);
    }
    
    .velvz-contact__ambient-pulse {
        display: none;
    }
}

@media (max-width: 480px) {
    .velvz-contact {
        padding: 4rem 0 2rem;
        /* Sin margin-top para móvil pequeño también */
    }
    
    .velvz-contact__container {
        padding: 0 0.5rem;
    }
    
    .velvz-contact__form-island,
    .velvz-contact__info-island {
        padding: 1.5rem;
        border-radius: 18px;
    }
    
    .velvz-contact__form-title {
        font-size: 1.5rem;
    }
    
    .velvz-contact__toggle {
        min-width: 280px;
        max-width: 320px;
        padding: 0.3rem;
        border-radius: 18px;
    }
    
    .velvz-contact__toggle-option {
        padding: 0.9rem 0.8rem;
        font-size: 0.8rem;
        height: 50px;
        border-radius: 15px;
    }
    
    .velvz-contact__toggle-slider {
        width: calc(100% - 0.6rem);
        height: calc(50% - 0.3rem);
        top: 0.3rem;
        left: 0.3rem;
        border-radius: 15px;
    }
    
    .velvz-contact__study-option {
        padding: 1.5rem;
    }
    
    .velvz-contact__study-icon {
        font-size: 2.5rem;
    }
    
    .velvz-contact__study-title {
        font-size: 1.3rem;
    }
    
    .velvz-contact__study-price {
        font-size: 1.8rem;
    }
    
    .velvz-contact__form-back,
    .velvz-contact__form-submit {
        min-height: 48px;
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* =====================================================
   CORRECCIÓN ESPECÍFICA PARA PASO 2
   ===================================================== */

#proposalStep2Form .velvz-contact__form-buttons .velvz-contact__form-submit {
    margin-top: 0 !important;
}

/* Asegurar que todos los botones en form-buttons tengan las mismas propiedades */
.velvz-contact__form-buttons .velvz-contact__form-back,
.velvz-contact__form-buttons .velvz-contact__form-submit {
    margin-top: 0 !important;
    padding: 1.25rem 2rem !important;
    min-height: 60px !important;
    border: 2px solid transparent !important;
    box-sizing: border-box !important;
}

/* Sobrescribir el border solo para el botón back */
.velvz-contact__form-buttons .velvz-contact__form-back {
    border-color: rgba(51, 51, 51, 0.1) !important;
}