/* ===================================================================================
   HEXXXA CONTACT — templates/page-contact.php (Kontakt in every language)
===================================================================================== */

.hexxxa-contact {
    padding: 24px 0 96px;
}

.hexxxa-contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin: 0 0 88px;
    padding: 0;
    list-style: none;
}

.hexxxa-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 44px 28px 40px;
    background: var(--hexxxa-white);
    box-shadow: 0 8px 30px rgba(44, 36, 24, 0.08);
    text-align: center;
}

.hexxxa-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 0 18px;
    background: var(--hexxxa-cream);
    color: var(--hexxxa-brown);
}

.hexxxa-contact-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hexxxa-contact-card-title {
    margin: 0 0 12px;
    color: var(--hexxxa-heading);
    font-size: 30px;
    font-weight: 500;
}

.hexxxa-contact-card-text {
    margin: 0;
    color: var(--hexxxa-text);
    font-size: 17px;
    line-height: 1.6;
}

.hexxxa-contact-card-text a {
    color: var(--hexxxa-gold-dark);
}

.hexxxa-contact-card-text a:hover {
    color: var(--hexxxa-brown);
}

/* Form */
.hexxxa-contact-form-section {
    max-width: 760px;
    margin: 0 auto;
}

.hexxxa-contact-form-title {
    margin: 0 0 28px;
    color: var(--hexxxa-topbar);
    font-size: 40px;
    font-weight: 500;
    text-align: center;
}

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

.hexxxa-contact-field {
    margin: 0;
}

.hexxxa-contact-field label {
    display: block;
    margin: 0 0 7px;
    font-size: 15px;
    font-weight: 600;
}

.hexxxa-required {
    color: var(--hexxxa-error);
}

.hexxxa-contact-form textarea {
    min-height: 160px;
}

.hexxxa-contact-hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hexxxa-contact-submit {
    width: 100%;
    min-height: 56px;
    font-size: 18px;
}

.hexxxa-contact-privacy {
    margin: 0;
    color: var(--hexxxa-muted);
    font-size: 13px;
    text-align: center;
}

.hexxxa-contact-privacy a {
    color: var(--hexxxa-brown);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hexxxa-contact-notice {
    padding: 14px 18px;
    border-left: 3px solid var(--hexxxa-gold);
    background: var(--hexxxa-cream);
    color: var(--hexxxa-dark);
    font-weight: 500;
}

.hexxxa-contact-notice.is-sent {
    border-left-color: var(--hexxxa-success);
    background: #f0f6f1;
}

.hexxxa-contact-notice.is-invalid,
.hexxxa-contact-notice.is-error,
.hexxxa-contact-notice.is-limit {
    border-left-color: var(--hexxxa-error);
    background: #fdf3f2;
}

@media (max-width: 1024px) {
    .hexxxa-contact-cards {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-right: auto;
        margin-left: auto;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .hexxxa-contact {
        padding-bottom: 120px; /* room above the mobile tab bar */
    }

    .hexxxa-contact-cards {
        margin-bottom: 56px;
    }

    .hexxxa-contact-card {
        padding: 32px 20px;
    }

    .hexxxa-contact-card-title {
        font-size: 26px;
    }

    .hexxxa-contact-form-title {
        font-size: 32px;
    }
}
