/* ══════════════════════════════════════════
   P&D Contact Page
   Hero → Form+Mascot → Location(info+map) → Newsletter
   ══════════════════════════════════════════ */

:root {
    --pyd-primary: #0070C0;
    --pyd-primary-dark: #005A9E;
    --pyd-text: #3A3F47;
    --pyd-text-light: #6B7280;
    --pyd-heading: #1A1A1A;
    --pyd-bg: #FAFAF9;
    --pyd-bg-alt: #F3F3F1;
    --pyd-dark: #1A1A1A;
    --pyd-border: #E5E7EB;
}

/* Kill Blocksy/WP chrome */
.page-template-page-contacto .entry-title,
.page-template-page-contacto .page-title,
.page-template-page-contacto .hero-section,
.page-template-page-contacto .hero-section.is-width-constrained { display: none !important; }
.page-template-page-contacto .site-main,
.page-template-page-contacto #primary,
.page-template-page-contacto .entry-content,
.page-template-page-contacto article,
.page-template-page-contacto main {
    padding-top: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ══════════════════════════════════════════
   Hero
   ══════════════════════════════════════════ */
.pyd-contact__hero {
    padding: 120px 24px 48px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
.pyd-contact__label {
    font-family: 'Archivo', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--pyd-primary);
    margin-bottom: 16px;
}
.pyd-contact__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    color: var(--pyd-heading);
    line-height: 1.15;
    margin: 0 0 16px;
}
.pyd-contact__subtitle {
    font-family: 'Archivo', sans-serif;
    font-size: 17px;
    color: var(--pyd-text-light);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ══════════════════════════════════════════
   Form + Mascot (asymmetric two columns)
   ══════════════════════════════════════════ */
.pyd-contact__form-section {
    background: var(--pyd-bg);
    padding: 64px 24px;
}
.pyd-contact__form-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 64px;
    align-items: center;
}
.pyd-contact__form {
    min-width: 0;
}
.pyd-contact__mascot {
    display: flex;
    justify-content: center;
    align-items: center;
}
.pyd-contact__mascot img {
    max-width: 100%;
    max-height: 520px;
    object-fit: contain;
    border-radius: 16px;
}

/* ══════════════════════════════════════════
   Location: Info + Map (asymmetric)
   ══════════════════════════════════════════ */
.pyd-contact__location {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px;
}
.pyd-contact__location-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: stretch;
}

/* Info card */
.pyd-contact__card {
    background: white;
    border: 1.5px solid var(--pyd-border);
    border-radius: 12px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    height: 100%;
    justify-content: center;
}
.pyd-contact__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.pyd-contact__item svg {
    color: var(--pyd-primary);
    flex-shrink: 0;
    margin-top: 2px;
}
.pyd-contact__item strong {
    font-family: 'Archivo', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pyd-heading);
    display: block;
    margin-bottom: 6px;
}
.pyd-contact__item p {
    margin: 0;
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    color: var(--pyd-text);
    line-height: 1.7;
}
.pyd-contact__note {
    display: block;
    margin-top: 6px;
    font-family: 'Archivo', sans-serif;
    font-size: 12px;
    color: var(--pyd-text-light);
}

/* Map */
.pyd-contact__map {
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid var(--pyd-border);
    min-height: 320px;
}
.pyd-contact__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    min-height: 320px;
}

/* ══════════════════════════════════════════
   Newsletter (light bg — not dark, to avoid merging with footer)
   ══════════════════════════════════════════ */
.pyd-contact__newsletter {
    background: var(--pyd-bg-alt);
    padding: 80px 24px;
}
.pyd-contact__newsletter-inner {
    text-align: center;
    max-width: 540px;
    margin: 0 auto;
}
.pyd-contact__newsletter .pyd-contact__label {
    color: var(--pyd-primary);
}
.pyd-contact__newsletter-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: var(--pyd-heading);
    line-height: 1.2;
    margin: 0 0 16px;
}
.pyd-contact__newsletter-desc {
    font-family: 'Archivo', sans-serif;
    font-size: 16px;
    color: var(--pyd-text-light);
    margin: 0 0 28px;
    line-height: 1.7;
}

/* ══════════════════════════════════════════
   Mobile
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
    .pyd-contact__hero {
        padding: 100px 20px 32px;
    }
    .pyd-contact__subtitle {
        font-size: 15px;
    }

    /* Form + Mascot stacks */
    .pyd-contact__form-section {
        padding: 40px 20px;
    }
    .pyd-contact__form-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .pyd-contact__mascot {
        /* already first in HTML — shows above form on mobile */
    }
    .pyd-contact__mascot img {
        max-height: 280px;
    }

    /* Location stacks */
    .pyd-contact__location {
        padding: 40px 20px;
    }
    .pyd-contact__location-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .pyd-contact__map {
        min-height: 260px;
        aspect-ratio: 4 / 3;
    }
    .pyd-contact__map iframe {
        min-height: 260px;
    }

    /* Newsletter */
    .pyd-contact__newsletter {
        padding: 48px 20px;
    }
    .pyd-contact__newsletter-desc {
        font-size: 14px;
    }
}
