﻿/* ====================================================
   fv-comisionistas.css
   Scoped to .fv-page
   ==================================================== */

.fv-page .img-principal {
    width: 100%;
}

.fv-page .img {
    width: 100%;
    display: block;
}

/* ── Sección "Un asesor certificado..." ─────────────── */
.fv-page .content {
    width: 100%;
    background: linear-gradient(135deg, #f0f4ff 0%, #e5eaf5 100%);
    padding: 56px 24px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.fv-page .sub {
    width: 900px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.fv-page .sub h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #eb1c2d;
    text-align: center;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #eb1c2d;
    width: fit-content;
    letter-spacing: 0.5px;
}

/* Contenedor de las 3 tarjetas en fila */
.fv-page .fv-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

/* Cada tarjeta */
.fv-page .img-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 32px 20px 28px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(9, 30, 112, 0.10);
    transition: transform 0.2s, box-shadow 0.2s;
    border-top: 4px solid #091e70;
}

.fv-page .img-grid:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(9, 30, 112, 0.16);
}

.fv-page .img-grid img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
}

.fv-page .p {
    font-size: 0.92rem;
    font-weight: 600;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #091e70;
    line-height: 1.55;
    margin: 0;
}

/* ── Sección validar asesor — REDISEÑO ──────────────── */
.fv-page .fv-validar-section {
    background: #fff;
    padding: 64px 24px;
    box-sizing: border-box;
}

.fv-page .fv-validar-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.fv-page .fv-validar-header {
    text-align: center;
}

.fv-page .fv-validar-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #091e70;
    margin: 0 0 12px;
    line-height: 1.2;
}

.fv-page .fv-validar-desc {
    font-size: 0.97rem;
    color: #555;
    line-height: 1.65;
    max-width: 480px;
    margin: 0 auto;
}

.fv-page .fv-validar-form {
    width: 100%;
}

.fv-page .fv-validar-field-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.fv-page .fv-validar-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.fv-page .fv-validar-input-row {
    display: flex;
    gap: 0;
    width: 100%;
    max-width: 460px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(9, 30, 112, 0.12);
}

.fv-page .fv-validar-input {
    flex: 1;
    height: 52px;
    border: 2px solid #091e70;
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 0 18px;
    font-size: 1rem;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.fv-page .fv-validar-input:focus {
    border-color: #eb1c2d;
    box-shadow: 0 0 0 3px rgba(235, 28, 45, 0.12);
    z-index: 1;
}

.fv-page .fv-validar-btn {
    height: 52px;
    padding: 0 28px;
    background: #091e70;
    color: #fff;
    border: 2px solid #091e70;
    border-radius: 0 8px 8px 0;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.1s;
}

.fv-page .fv-validar-btn:hover {
    background: #eb1c2d;
    border-color: #eb1c2d;
}

.fv-page .fv-validar-footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.fv-page .fv-validar-contacto {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.fv-page .link-asesor {
    display: inline-block;
    color: #091e70;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    border-bottom: 1px dotted #091e70;
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.fv-page .link-asesor:hover {
    color: #eb1c2d;
    border-color: #eb1c2d;
    border-bottom-style: solid;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 700px) {
    .fv-page .fv-cards-row {
        grid-template-columns: 1fr;
    }

    .fv-page .fv-validar-input-row {
        flex-direction: column;
        border-radius: 8px;
        overflow: visible;
        box-shadow: none;
    }

    .fv-page .fv-validar-input {
        border-right: 2px solid #091e70;
        border-bottom: none;
        border-radius: 8px 8px 0 0;
        width: 100%;
    }

    .fv-page .fv-validar-btn {
        border-radius: 0 0 8px 8px;
        width: 100%;
    }

    .fv-page .fv-validar-title {
        font-size: 1.4rem;
    }
}
