:root {
    --text: #4d4c4c;
    --blue: #3d70a2;
    --panel: #f5faff;
}

/* =========================
   BASE / RESET
   ========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

/* =========================
   LOCK GLOBAL (1280 desktop)
   ========================= */
.pth-page {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    overflow-x: hidden;
}

.pth-page img,
.pth-page video,
.pth-page iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

/* mismo padding que el menú (desktop) */
.pth-wrap {
    width: 100%;
    margin: 0 auto;
    padding-left: 81px;
    padding-right: 80px;
}

/* =========================
   HERO (como Publicaciones)
   ========================= */
.pth-hero {
    width: 100%;
    height: 268px;
    position: relative;
    overflow: hidden;
    margin-top: 47px; /* igual a publicaciones */
}

.pth-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.95);
    display: block;
}

.pth-hero__title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-8px); /* ajuste fino visual */

    font-family: "Cardo", serif;
    font-weight: 700;
    font-size: 64px;
    color: #ffffff;

    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    text-align: center;
}

/* separación bajo imagen */
.pth-body {
    padding-top: 98px;
}

.pth-lead {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.5;
    letter-spacing: 0;
    color: var(--text);
    width: 100%;
    text-align: center;
    margin: 0;
}

/* =========================
   WHATSAPP CARD
   ========================= */
.pth-wa-card {
    margin-top: 98px;

    width: 100%;
    height: 447px;
    background: #fff;
    border-radius: 18px;

    box-shadow: 2px 2px 4px 4px rgba(0, 0, 0, 0.1);

    display: flex;
    flex-direction: column;
    align-items: center;
}

.pth-wa-card__text {
    margin-top: 47px;

    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 34px;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    color: var(--blue);
}

.pth-wa-card__logo {
    margin-top: 47px;
}

.pth-wa-card__logo img {
    width: 79px;
    height: 79px;
    display: block;
}

.pth-wa-card__btn {
    margin-top: 74px;

    width: 260px;
    height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;
    border: 1px solid var(--blue);
    color: var(--blue);
    text-decoration: none;

    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 16px;
}

.pth-wa-card__btn:hover {
    background: rgba(61, 112, 162, 0.08);
}

/* =========================
   TELÉFONO
   ========================= */
.pth-phone {
    margin-top: 70px;

    width: 100%;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    color: var(--text);
}

.pth-phone__number {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 1;
    letter-spacing: 0;
    color: var(--blue);
}

/* =========================
   FORM BOX
   ========================= */
.pth-formbox {
    margin-top: 61px;
    background: var(--panel);
}

.pth-formbox__title {
    padding-top: 65px;

    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    color: var(--blue);
}

.pth-form {
    margin-top: 116px;
    padding-bottom: 107px;
}

.pth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 80px;
}

.pth-field {
    display: flex;
    flex-direction: column;
}

.pth-label {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #9aa3ad;
    margin-bottom: 8px;
}

.pth-input,
.pth-textarea {
    border: none;
    border-bottom: 1px solid #8f8f8f;
    background: transparent;
    outline: none;

    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: var(--text);

    padding: 10px 0;
}

.pth-field--tel {
    grid-column: 1 / 2;
}

.pth-field--msg {
    grid-column: 1 / 3;
}

.pth-textarea {
    resize: none;
    min-height: 48px;
}

.pth-error {
    min-height: 18px;
    margin-top: 6px;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    color: #c0392b;
}

.pth-submit {
    margin: 106px auto 0;
    display: block;

    width: 239px;
    height: 44px;

    border-radius: 999px;
    border: 1px solid var(--blue);
    background: transparent;
    color: var(--blue);

    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 16px;
    cursor: pointer;
}

.pth-submit:hover {
    background: rgba(61, 112, 162, 0.08);
}

.pth-success,
.pth-backend-errors {
    margin-top: 18px;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
}

.pth-success {
    color: #2e7d32;
}
.pth-backend-errors {
    color: #c0392b;
}

/* =========================
   MOBILE (<=700px)
   Hero como publicaciones móvil
   ========================= */
@media (max-width: 700px) {
    .pth-page {
        max-width: 700px;
        margin: 0 auto;
    }

    .pth-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .pth-hero {
        margin-top: 0; /* igual a publicaciones móvil */
        height: 220px;
    }

    .pth-hero__title {
        font-size: 36px;
        padding: 0 16px;
        text-align: center;
        transform: translateY(-6px);
    }

    .pth-body {
        padding-top: 14px;
    }

    .pth-lead {
        font-size: 18px;
        line-height: 1.5;
        text-align: left;
    }

    .pth-wa-card {
        margin-top: 18px;
        height: auto;
        padding: 18px 14px 22px;
    }

    .pth-wa-card__text {
        margin-top: 10px;
        font-size: 18px;
        line-height: 1.35;
    }

    .pth-wa-card__logo {
        margin-top: 14px;
    }

    .pth-wa-card__logo img {
        width: 48px;
        height: 48px;
    }

    .pth-wa-card__btn {
        margin-top: 16px;
        width: 100%;
        height: 44px;
    }

    .pth-phone {
        margin-top: 18px;
        font-size: 16px;
        line-height: 1.4;
    }

    .pth-phone__number {
        display: block;
        margin-top: 6px;
        font-size: 18px;
    }

    .pth-formbox {
        margin-top: 22px;
    }

    .pth-formbox__title {
        padding-top: 24px;
        font-size: 18px;
        line-height: 1.25;
    }

    .pth-form {
        margin-top: 18px;
        padding-bottom: 24px;
    }

    .pth-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pth-field--tel {
        grid-column: auto;
    }
    .pth-field--msg {
        grid-column: auto;
    }

    .pth-submit {
        width: 100%;
        margin-top: 18px;
    }
}
