/* Página /contacto · estilos específicos */

/* ===== HERO OSCURO (override desde precios.css) ===== */
.page-contacto .zw-hero-dark {
    align-items: center;
}

.page-contacto .zw-hero-dark__inner {
    text-align: center;
}

.page-contacto .zw-hero-dark__title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ===== SECCIÓN PRINCIPAL ===== */
.zw-contact-section {
    padding: 0;
    background: var(--zander-black);
}

.zw-contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 700px;
}

/* ===== COLUMNA IZQUIERDA ===== */
.zw-contact-left {
    background: var(--zander-black);
    color: var(--zander-white-soft);
    padding: 80px 60px 80px 15%;
}

.zw-contact__heading {
    font-size: var(--fs-h2);
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--zander-white-soft);
    line-height: 1.1;
    margin-bottom: 24px;
}

.zw-contact__heading .zw-dot {
    color: var(--zander-yellow);
}

.zw-contact__desc {
    font-size: var(--fs-body);
    color: var(--zander-white-soft);
    line-height: 1.6;
    padding-right: 60px;
    margin-bottom: 30px;
    opacity: 0.85;
}

/* ===== LISTA DE CONTACTO ===== */
.zw-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.zw-contact-list__item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: var(--fs-body);
    font-weight: 500;
    color: var(--zander-white-soft);
}

.zw-contact-list__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.zw-contact-list__icon svg {
    width: 28px;
    height: 28px;
    fill: var(--zander-yellow);
}

/* ===== SÍGUENOS LABEL ===== */
.zw-contact__socials-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--zander-yellow);
    margin: 0 0 12px;
    opacity: 0.9;
}

/* ===== COLUMNA DERECHA ===== */
.zw-contact-right {
    background-color: var(--zander-white-soft);
    background-image:
        linear-gradient(rgba(29, 29, 27, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(29, 29, 27, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    border-radius: 0 0 0 100px;
    overflow: hidden; /* fix 14b: sin scroll interno */
    padding: 0;
    display: flex;
    align-items: center;   /* form centrado verticalmente en la columna (arriba/abajo) */
}

/* fix 4b + 14b: form ocupa bien en móvil, sin scroll interno */
.zw-contact-right__frame-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 50px;   /* simétrico → form centrado en su columna (antes 0 100px 0 30px) */
    box-sizing: border-box;
}

.zw-contact-right iframe {
    width: 100%;
    height: 520px;   /* alto real del form en PC (2-col ~481-504px) → sin hueco; se centra vertical */
    border: none;
    border-radius: 16px;
    display: block;
    max-width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 999.98px) {
    .zw-contact__inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .zw-contact-left {
        padding: 60px var(--container-padding);
    }

    .zw-contact__desc {
        padding-right: 0;
    }

    .zw-contact-right {
        border-radius: 0;
        padding: 0;
    }
}

@media (max-width: 689.98px) {
    .zw-contact-right iframe {
        height: 680px;   /* form apilado en móvil mide ~658px → cabe botón + checkbox sin hueco grande */
    }
    .zw-contact-right__frame-wrap {
        padding: 15px;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .zw-contact-right iframe {
        transition: none;
    }
}

/* FAQ en contacto */
.page-contacto .zwsi-faq__list { align-items: start; }
.page-contacto .zwsi-faq__item { display: flex; flex-direction: column; }
.page-contacto .zwsi-faq__header { text-align: center; }
.page-contacto .zwsi-faq__title { text-align: center; color: var(--zander-white-soft); }
.page-contacto .zwsi-faq { background: var(--zander-black); }
.page-contacto .zwsi-faq__item { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.page-contacto .zwsi-faq__item:hover { border-color: rgba(255,255,255,.2); }
.page-contacto .zwsi-faq__item[open] { border-color: rgba(252,198,28,.4); background: rgba(255,255,255,.08); }
.page-contacto .zwsi-faq__summary { color: var(--zander-white-soft); }
.page-contacto .zwsi-faq__answer { color: rgba(240,240,240,.7); }
.page-contacto .zwsi-faq__arrow { border-color: rgba(255,255,255,.2); color: var(--zander-white-soft); }
.page-contacto .zwsi-faq__item[open] .zwsi-faq__arrow { background: var(--zander-yellow); border-color: var(--zander-yellow); color: var(--zander-black); }

/* Links en lista de contacto */
.zw-contact-list__link {
    color: var(--zander-white-soft);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.zw-contact-list__link:hover { color: var(--zander-yellow); }

/* ===== MAPA ===== */
.zw-map-section {
    padding: 100px 28px 0;
    display: flex;
    justify-content: center;
    background: var(--zander-black);
}
.zw-map-section iframe {
    width: 100%;
    max-width: 1200px;
    height: 420px;
    border-radius: 24px;
    display: block;
    overflow: hidden;
}
@media (max-width: 689.98px) {
    .zw-map-section iframe { height: 280px; border-radius: 16px; }
}
