/* ==========================================================================
   CONTACT PREMIUM V2 - Formulario con asesora + WhatsApp + Mapa
   ========================================================================== */

.fc-contact-premium-v2 {
    position: relative;
    padding: clamp(80px, 9vw, 130px) 0 0;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            rgba(var(--fc-primary-rgb), 0.04) 100%
        );
    overflow: hidden;
}

.fc-contact-premium-v2__grid {
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
    gap: clamp(42px, 6vw, 86px);
    align-items: center;
}

/* Visual izquierda */

.fc-contact-premium-v2__visual {
    position: relative;
    min-height: 520px;

    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.fc-contact-person {
    position: relative;
    z-index: 2;

    width: min(420px, 100%);
}

.fc-contact-person img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;

    filter: drop-shadow(0 34px 42px rgba(var(--fc-secondary-rgb), 0.22));
}

.fc-contact-whatsapp-card {
    position: absolute;
    left: 0;
    top: 92px;
    z-index: 3;

    width: 190px;
    min-height: 210px;

    padding: 26px 22px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    border-radius: 22px;

    color: #ffffff;
    background: var(--fc-accent);
    box-shadow: 0 24px 54px rgba(var(--fc-accent-rgb), 0.26);
}

.fc-contact-whatsapp-card__icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    margin-bottom: 14px;

    border-radius: 999px;

    color: var(--fc-accent);
    background: #ffffff;

    font-size: 1.3rem;
}

.fc-contact-whatsapp-card h3 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 1.05rem;
    line-height: 1.15;
    font-weight: 900;
}

.fc-contact-whatsapp-card p {
    margin: 0 0 16px;

    color: rgba(255, 255, 255, 0.86);

    font-size: 0.78rem;
    line-height: 1.35;
    font-weight: 600;
}

.fc-contact-whatsapp-card a {
    min-height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 16px;

    border-radius: 999px;

    color: var(--fc-accent);
    background: #ffffff;
    text-decoration: none;

    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;

    transition:
        transform 0.22s ease,
        background-color 0.22s ease,
        color 0.22s ease;
}

.fc-contact-whatsapp-card a:hover {
    transform: translateY(-2px);
    color: #ffffff;
    background: var(--fc-secondary);
}

/* Formulario derecha */

.fc-contact-premium-v2__form-wrap {
    position: relative;
    z-index: 2;
}

.fc-contact-premium-v2__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 14px;
    padding: 7px 14px;

    border-radius: 999px;

    color: var(--fc-accent);
    background: rgba(var(--fc-accent-rgb), 0.10);
    border: 1px solid rgba(var(--fc-accent-rgb), 0.18);

    font-size: 0.72rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.fc-contact-premium-v2__form-wrap h2 {
    max-width: 520px;

    margin: 0 0 14px;

    color: var(--fc-secondary);

    font-size: clamp(2.3rem, 4vw, 4.1rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.fc-contact-premium-v2__form-wrap h2 span {
    color: var(--fc-accent);
}

.fc-contact-premium-v2__form-wrap > p {
    max-width: 560px;

    margin: 0 0 30px;

    color: rgba(var(--fc-secondary-rgb), 0.68);

    font-size: 1.05rem;
    line-height: 1.55;
    font-weight: 500;
}

.fc-contact-premium-v2__form {
    width: 100%;
}

.fc-contact-premium-v2__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fc-contact-premium-v2 .fc-form__group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.fc-contact-premium-v2 .fc-form__group--full {
    grid-column: 1 / -1;
}

.fc-contact-premium-v2 label {
    color: rgba(var(--fc-secondary-rgb), 0.78);

    font-size: 0.78rem;
    font-weight: 800;
}

.fc-contact-premium-v2 input,
.fc-contact-premium-v2 select,
.fc-contact-premium-v2 textarea {
    width: 100%;

    border: 1px solid rgba(var(--fc-secondary-rgb), 0.08);
    border-radius: 999px;

    background: #f7f9fc;
    color: var(--fc-secondary);

    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;

    outline: none;

    transition:
        border-color 0.22s ease,
        background-color 0.22s ease,
        box-shadow 0.22s ease;
}

.fc-contact-premium-v2 input,
.fc-contact-premium-v2 select {
    min-height: 52px;
    padding: 0 18px;
}

.fc-contact-premium-v2 textarea {
    min-height: 130px;
    resize: vertical;

    padding: 18px;
    border-radius: 24px;
}

.fc-contact-premium-v2 input:focus,
.fc-contact-premium-v2 select:focus,
.fc-contact-premium-v2 textarea:focus {
    border-color: rgba(var(--fc-accent-rgb), 0.42);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(var(--fc-accent-rgb), 0.10);
}

.fc-contact-premium-v2__submit {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 20px;
    padding: 0 28px;

    border: 0;
    border-radius: 999px;

    color: #ffffff;
    background: var(--fc-accent);

    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        transform 0.22s ease,
        background-color 0.22s ease,
        box-shadow 0.22s ease;
}

.fc-contact-premium-v2__submit:hover {
    transform: translateY(-2px);
    background: var(--fc-primary);
    box-shadow: 0 22px 52px rgba(var(--fc-primary-rgb), 0.22);
}

.fc-contact-premium-v2 .fc-form__message {
    margin-top: 14px;

    color: var(--fc-secondary);

    font-size: 0.88rem;
    font-weight: 700;
}

/* Mapa */
.fc-contact-premium-v2__map {
    position: relative;

    width: 100%;
    height: 380px;

    margin-top: clamp(60px, 7vw, 90px);

    overflow: hidden;

    border-radius: 0;

    background: rgba(var(--fc-primary-rgb), 0.08);
    box-shadow: 0 -20px 60px rgba(var(--fc-secondary-rgb), 0.08);
}

.fc-contact-premium-v2__map iframe {
    width: 100%;
    height: 100%;

    display: block;

    border: 0;

    filter: saturate(0.95) contrast(1.02);
}

.fc-contact-map-info {
    position: absolute;
    left: 24px;
    top: 85px;
    z-index: 2;

    max-width: 320px;

    padding: 16px 18px;

    display: flex;
    flex-direction: column;
    gap: 4px;

    border-radius: 18px;

    color: var(--fc-secondary);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(var(--fc-secondary-rgb), 0.08);
    box-shadow: 0 16px 38px rgba(var(--fc-secondary-rgb), 0.12);
    backdrop-filter: blur(12px);
}

.fc-contact-map-info strong {
    font-size: 0.95rem;
    font-weight: 900;
}

.fc-contact-map-info span {
    color: rgba(var(--fc-secondary-rgb), 0.68);

    font-size: 0.82rem;
    font-weight: 700;
}



/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 980px) {
    .fc-contact-premium-v2__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .fc-contact-premium-v2__visual {
        order: 2;
        min-height: 460px;
    }

    .fc-contact-premium-v2__form-wrap {
        order: 1;
        text-align: center;
    }

    .fc-contact-premium-v2__form-wrap h2,
    .fc-contact-premium-v2__form-wrap > p {
        margin-left: auto;
        margin-right: auto;
    }

    .fc-contact-whatsapp-card {
        left: calc(50% - 260px);
    }

      .fc-contact-map-info {
        display: none;
    }
}

@media (max-width: 640px) {
    .fc-contact-premium-v2 {
        padding-top: 68px;
    }

    .fc-contact-premium-v2__form-wrap h2 {
        font-size: clamp(2.1rem, 11vw, 3rem);
    }

    .fc-contact-premium-v2__fields {
        grid-template-columns: 1fr;
    }

    .fc-contact-premium-v2__visual {
        min-height: 420px;
    }

    .fc-contact-person {
        width: min(340px, 88vw);
    }

    .fc-contact-whatsapp-card {
        left: 14px;
        top: 60px;

        width: 158px;
        min-height: 184px;

        padding: 22px 16px;
        border-radius: 20px;
    }

    .fc-contact-whatsapp-card__icon {
        width: 42px;
        height: 42px;

        font-size: 1.1rem;
    }

    .fc-contact-whatsapp-card h3 {
        font-size: 0.92rem;
    }

    .fc-contact-whatsapp-card p {
        font-size: 0.7rem;
    }

    .fc-contact-whatsapp-card a {
        min-height: 32px;
        padding: 0 12px;

        font-size: 0.66rem;
    }

    .fc-contact-premium-v2__submit {
        width: 100%;
    }

    .fc-contact-premium-v2__map {
        height: 300px;
        margin-top: 44px;
        border-radius: 24px 24px 0 0;
    }

      .fc-contact-map-info {
        display: none;
    }
}

/* ==========================================================================
   Política de tratamiento de datos
   ========================================================================== */

.fc-contact-premium-v2 .fc-form__group--privacy {
    grid-column: 1 / -1;
    display: block;
    margin-top: 2px;
    margin-bottom: 0;
}

.fc-contact-premium-v2__privacy {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    column-gap: 10px;

    width: 100%;
    max-width: 100%;
    margin: 0;
}

/* Checkbox aislado completamente */
.fc-contact-premium-v2__privacy input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;

    display: block;

    width: 18px;
    min-width: 18px;
    max-width: 18px;

    height: 18px;
    min-height: 18px;
    max-height: 18px;

    padding: 0;
    margin: 1px 0 0;

    border: 2px solid rgba(var(--fc-primary-rgb), 0.38);
    border-radius: 4px;

    background: #ffffff;
    box-shadow: none;
    outline: none;

    position: relative;
    cursor: pointer;
}

.fc-contact-premium-v2__privacy input[type="checkbox"]:checked {
    background: var(--fc-primary);
    border-color: var(--fc-primary);
}

.fc-contact-premium-v2__privacy input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;

    left: 4px;
    top: 1px;

    width: 5px;
    height: 9px;

    border: solid #ffffff;
    border-width: 0 2px 2px 0;

    transform: rotate(45deg);
}

/* Texto */
.fc-contact-premium-v2__privacy label {
    display: block;

    margin: 0;
    padding: 0;

    color: rgba(var(--fc-secondary-rgb), 0.76);
    font-family: inherit;
    font-size: 0.84rem;
    line-height: 1.35;
    font-weight: 650;
    text-align: left;

    cursor: pointer;
}

.fc-contact-premium-v2__privacy a {
    color: var(--fc-primary);
    font-weight: 850;
    text-decoration: none;
    text-underline-offset: 3px;
}

.fc-contact-premium-v2__privacy a:hover {
    color: var(--fc-accent);
}

.fc-contact-premium-v2__submit {
    margin-top: 24px;
}