﻿/* ===================================================================
   SECCIÓN VISIÓN (Layout Ancho / Grid Premium)
   =================================================================== */
.vision-wide-section {
    position: relative;
    background: #FAFCFC;
    padding: 100px 0;
    overflow: hidden;
    z-index: 1;
}

/* Orbes de fondo sutiles */
.vision-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
}

.orb-v1 {
    width: 400px;
    height: 400px;
    background: rgba(58, 152, 154, 0.15);
    top: -100px;
    left: -100px;
}

.orb-v2 {
    width: 300px;
    height: 300px;
    background: rgba(56, 161, 219, 0.1);
    bottom: -50px;
    right: 5%;
}

/* Contenedor centralizado al ~70% del ancho */
.vision-container {
    width: 90%;
    max-width: 1000px; /* Esto equivale a un 70% en pantallas estándar de notebook/PC */
    margin: 0 auto;
}

/* Encabezado */
.vision-header {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .vision-header .hero-title-massive {
        font-size: clamp(36px, 5vw, 54px);
        margin-bottom: 16px;
    }

    .vision-header .hero-description-large {
        max-width: 800px;
        margin: 0 auto 24px auto;
        font-size: 18px;
    }

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* Bento Box Ancho */
.vision-bento-wide {
    background: #ffffff;
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.04);
    border-top: 6px solid #3A989A;
    border-bottom: 1px solid rgba(36, 75, 92, 0.05);
    border-left: 1px solid rgba(36, 75, 92, 0.05);
    border-right: 1px solid rgba(36, 75, 92, 0.05);
}

/* LA MAGIA: Grilla de 2 columnas */
.premium-grid-form {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columnas iguales */
    gap: 30px 40px; /* 30px vertical, 40px horizontal */
}

/* Labels con iconitos */
.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    color: var(--brandDark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

    .form-group label svg {
        width: 16px;
        height: 16px;
        color: #3A989A;
    }

/* Inputs Efecto Glassmorphism */
.form-control-glass {
    width: 100%;
    padding: 16px 20px;
    border-radius: 16px;
    border: 2px solid rgba(36, 75, 92, 0.08);
    background: #FAFCFC;
    font-size: 15px;
    color: var(--brandDark);
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

    .form-control-glass::placeholder {
        color: rgba(36, 75, 92, 0.3);
    }

    .form-control-glass:focus {
        outline: none;
        border-color: #3A989A;
        background: #ffffff;
        box-shadow: 0 4px 12px rgba(58, 152, 154, 0.1);
    }

textarea.form-control-glass {
    resize: vertical;
    min-height: 60px; /* Super compactos para no robar altura */
}

select.form-control-glass {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23244B5C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    cursor: pointer;
}

/* Botón ocupando las dos columnas */
.form-submit-full {
    grid-column: 1 / -1; /* Ocupa de la primera a la última columna */
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.btn-submit-vision {
    width: 100%;
    max-width: 400px; /* Evita que el botón sea obscenamente ancho */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Mensaje de Éxito */
.vision-success {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    animation: fadeIn 0.5s ease forwards;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .premium-grid-form {
        gap: 24px;
    }

    .vision-bento-wide {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    /* En celulares pasamos a 1 columna obligatoriamente */
    .premium-grid-form {
        grid-template-columns: 1fr;
    }

    .vision-container {
        width: 95%;
    }

    .vision-bento-wide {
        padding: 30px 20px;
        border-radius: 24px;
    }

    .btn-submit-vision {
        max-width: 100%;
    }
}
