/* =========================================================
   12. CONTACTO
   Theme: PortalGeek Isopixel
   ========================================================= */

.pgi-contact-page {
    padding-top: 40px;
    padding-bottom: 52px;
}

.pgi-contact {
    width: 100%;
}

.pgi-contact__header {
    max-width: 840px;
    margin-bottom: 32px;
}

.pgi-contact__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--pg-red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.pgi-contact__header h1 {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 16px;
    color: var(--pg-white);
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.035em;
}

.pgi-contact__header h1::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 68px;
    height: 4px;
    background: var(--pg-red);
    content: "";
}

.pgi-contact__header p {
    max-width: 760px;
    margin: 0;
    color: #b8b8b8;
    font-size: 16px;
    line-height: 1.65;
}

.pgi-contact-alert {
    margin-bottom: 24px;
    padding: 14px 16px;
    border: 1px solid #343434;
    background: #171717;
    color: #eeeeee;
    font-size: 14px;
    line-height: 1.5;
}

.pgi-contact-alert--success {
    border-left: 4px solid #38a169;
}

.pgi-contact-alert--error {
    border-left: 4px solid var(--pg-red);
}

.pgi-contact__layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(260px, 0.65fr);
    gap: 28px;
    align-items: start;
}

.pgi-contact__form-wrap {
    padding: 24px;
    border: 1px solid #292929;
    background: #151515;
}

.pgi-contact-form {
    display: grid;
    gap: 18px;
}

.pgi-contact-form__row {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pgi-contact-form__field {
    min-width: 0;
}

.pgi-contact-form__field label {
    display: block;
    margin-bottom: 8px;
    color: #d6d6d6;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.pgi-contact-form__field label span {
    color: var(--pg-red);
}

.pgi-contact-form__field input,
.pgi-contact-form__field textarea {
    width: 100%;
    border: 1px solid #343434;
    border-radius: 0;
    outline: none;
    background: #101010;
    color: #ffffff;
    font: inherit;
    transition:
        border-color 0.18s ease,
        background-color 0.18s ease;
}

.pgi-contact-form__field input {
    height: 48px;
    padding: 0 13px;
}

.pgi-contact-form__field textarea {
    min-height: 190px;
    padding: 13px;
    line-height: 1.55;
    resize: vertical;
}

.pgi-contact-form__field input:focus,
.pgi-contact-form__field textarea:focus {
    border-color: #666666;
    background: #171717;
}

.pgi-contact-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 2px;
}

.pgi-contact-form__note {
    margin: 0;
    color: #777777;
    font-size: 11px;
    line-height: 1.4;
}

.pgi-contact-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    background: var(--pg-red);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color 0.18s ease,
        transform 0.18s ease;
}

.pgi-contact-form__submit:hover {
    background: #3a3a3a;
    transform: translateY(-1px);
}

.pgi-contact-form__hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.pgi-contact-card {
    padding: 22px;
    border: 1px solid #292929;
    background: #151515;
}

.pgi-contact-card__label {
    display: block;
    margin-bottom: 10px;
    color: #888888;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.pgi-contact-card a {
    display: inline-block;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
    word-break: break-word;
}

.pgi-contact-card a:hover {
    color: var(--pg-red);
}

.pgi-contact-card p {
    margin: 0;
    color: #999999;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 900px) {

    .pgi-contact__layout {
        grid-template-columns: 1fr;
    }

    .pgi-contact__aside {
        max-width: 520px;
    }
}

@media (max-width: 620px) {

    .pgi-contact-page {
        padding-top: 26px;
        padding-bottom: 38px;
    }

    .pgi-contact__header {
        margin-bottom: 24px;
    }

    .pgi-contact__header h1 {
        font-size: 36px;
    }

    .pgi-contact__header p {
        font-size: 15px;
    }

    .pgi-contact__form-wrap {
        padding: 16px;
    }

    .pgi-contact-form__row {
        grid-template-columns: 1fr;
    }

    .pgi-contact-form {
        gap: 16px;
    }

    .pgi-contact-form__field input {
        height: 50px;
        font-size: 16px;
    }

    .pgi-contact-form__field textarea {
        min-height: 180px;
        font-size: 16px;
    }

    .pgi-contact-form__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .pgi-contact-form__submit {
        width: 100%;
        min-height: 50px;
    }

    .pgi-contact-card {
        padding: 18px;
    }
}
