/*
 * Tras el Nombre · Contacto v1
 * CSS aislado de la página Contacto.
 */

/* La página usa su propio H1 dentro del contenido Gutenberg. */
body.ten-page-contacto .entry-header {
    display: none;
}

body.ten-page-contacto .inside-article {
    padding: 0;
}

body.ten-page-contacto .entry-content {
    margin-top: 0;
}

body.ten-page-contacto .content-area,
body.ten-page-contacto .site-main,
body.ten-page-contacto article,
body.ten-page-contacto .entry-content {
    width: 100%;
    max-width: 100%;
}

.ten-contact-hero.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
}

.ten-contact-hero {
    padding-top: clamp(4rem, 7vw, 6rem);
    padding-bottom: clamp(3.75rem, 7vw, 5.5rem);
    background: var(--ten-white);
    border-top: 1px solid var(--ten-border);
}

.ten-contact-hero__grid,
.ten-contact-reasons__grid,
.ten-contact-guidance__grid {
    width: 100%;
}

.ten-contact-hero__grid > .wp-block-group__inner-container,
.ten-contact-reasons__grid > .wp-block-group__inner-container,
.ten-contact-guidance__grid > .wp-block-group__inner-container {
    display: contents;
}

.ten-contact-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.72fr);
    gap: clamp(2rem, 4.5vw, 4rem);
    align-items: start;
}

.ten-contact-page__title {
    max-width: 920px;
    margin: 0 0 1.5rem;
    font-size: clamp(3rem, 5.6vw, 4.4rem);
    line-height: 1.03;
    letter-spacing: -0.035em;
}

.ten-contact-page__lead {
    max-width: 760px;
    margin: 0 0 1.15rem;
    font-size: clamp(1.18rem, 1.8vw, 1.35rem);
    line-height: 1.55;
}

.ten-contact-hero__copy > p:not(.ten-eyebrow):not(.ten-contact-page__lead) {
    max-width: 760px;
    color: var(--ten-muted);
    line-height: 1.7;
}

.ten-contact-actions {
    gap: 0.75rem;
    margin-top: 1.7rem;
}

.ten-contact-hero__card {
    padding: clamp(1.8rem, 4vw, 2.5rem);
    background: var(--ten-warm);
    border: 1px solid var(--ten-border);
    border-top: 4px solid var(--ten-copper);
}

.ten-contact-card__label,
.ten-contact-reason__number {
    margin: 0 0 0.7rem;
    color: #805938;
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.13em;
}

.ten-contact-hero__card h2 {
    margin: 0 0 1rem;
    color: var(--ten-navy);
    font-size: clamp(1.25rem, 1.45vw, 1.55rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    overflow-wrap: normal;
    word-break: normal;
    white-space: nowrap;
}

.ten-contact-hero__card p {
    color: var(--ten-muted);
    line-height: 1.65;
}

.ten-contact-hero__card .ten-contact-card__note {
    margin-bottom: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--ten-border);
    font-size: 0.9rem;
}

.ten-contact-reasons__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.ten-contact-reason {
    padding: 1.55rem;
    border: 1px solid var(--ten-border);
    border-top: 3px solid var(--ten-copper);
}

.ten-contact-reason h3 {
    margin: 0 0 0.75rem;
    font-size: 1.45rem;
}

.ten-contact-reason p:last-child {
    margin-bottom: 0;
    color: var(--ten-muted);
    line-height: 1.65;
}

.ten-contact-guidance__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.ten-contact-guidance__copy p:last-child {
    color: var(--ten-muted);
}

.ten-contact-checklist {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--ten-border);
}

.ten-contact-checklist li {
    position: relative;
    margin: 0;
    padding: 1rem 0 1rem 1.7rem;
    border-bottom: 1px solid var(--ten-border);
    color: var(--ten-muted);
    line-height: 1.65;
}

.ten-contact-checklist li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #805938;
    font-weight: 700;
}

.ten-contact-scope .ten-reading-width {
    margin-left: 0;
}

.ten-contact-scope .ten-lead,
.ten-contact-scope p {
    color: rgba(255, 255, 255, 0.82);
}

.ten-contact-scope p:last-child {
    margin-bottom: 0;
    color: var(--ten-white);
}

.ten-contact-final__box {
    max-width: 900px;
    padding: clamp(2rem, 5vw, 3rem);
    background: var(--ten-warm);
    border: 1px solid var(--ten-border);
    border-left: 4px solid var(--ten-copper);
}

.ten-contact-final__box > p:not(.ten-eyebrow) {
    max-width: 720px;
    color: var(--ten-muted);
}

@media (max-width: 1050px) {
    .ten-contact-hero__grid,
    .ten-contact-guidance__grid {
        grid-template-columns: 1fr;
    }

    .ten-contact-reasons__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .ten-contact-hero {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .ten-contact-page__title {
        font-size: clamp(2.35rem, 11vw, 3.2rem);
        line-height: 1.06;
    }

    .ten-contact-actions,
    .ten-contact-actions .wp-block-button,
    .ten-contact-actions .wp-block-button__link {
        width: 100%;
    }

    .ten-contact-actions .wp-block-button__link {
        text-align: center;
    }

    .ten-contact-reasons__grid {
        grid-template-columns: 1fr;
    }

    .ten-contact-hero__card,
    .ten-contact-reason,
    .ten-contact-final__box {
        padding: 1.35rem;
    }

    .ten-contact-hero__card h2 {
        font-size: clamp(1.18rem, 6vw, 1.45rem);
    }
}
