/* Contact page only
   Keep general.css unchanged and load this file after it. */

.contact-page {
    padding-top: 54px;
    padding-bottom: 90px;
    background: transparent;
}

.contact-page-header {
    margin-bottom: 34px;
    background: transparent;
}

.contact-page .section-title {
    position: relative;
    display: inline-block;
    font-size: 1.75rem;
    margin-bottom: 0;
    padding-bottom: 16px;
    font-weight: 700;
}

.contact-page .section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 58px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 999px;
}

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

.contact-card {
    background-color: white;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 28px;
    padding: 34px 38px;
}

.contact-card-small {
    min-height: 155px;
    align-items: center;
}

.contact-card-large {
    min-height: 260px;
    align-items: center;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.contact-content h2 {
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 16px;
    font-weight: 700;
}

.contact-content p {
    font-size: 0.92rem;
    line-height: 1.55;
    color: black;
}

.contact-content strong {
    font-weight: 700;
}

.contact-placeholder {
    width: 100%;
    max-width: 330px;
    height: 170px;
    background-color: #e8e8e8;
    border-radius: var(--radius-form);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 0.9rem;
}

.contact-card-large {
    display: block;
    min-height: 320px;
    padding: 34px 38px;
}

.contact-card-large .contact-content {
    width: 100%;
}

.contact-card-large .contact-content h2 {
    margin-bottom: 28px;
}

.contact-card-large .contact-placeholder {
    max-width: none;
    width: 100%;
    height: 220px;
}

@media (max-width: 1000px) {
    .contact-page {
        width: min(100% - 30px, var(--page-width));
    }

    .contact-grid {
        gap: 28px;
    }

    .contact-card {
        grid-template-columns: 85px 1fr;
        gap: 22px;
        padding: 28px;
    }

    .contact-icon img {
        width: 62px;
        height: 62px;
    }
}

@media (max-width: 760px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card-small,
    .contact-card-large {
        min-height: auto;
    }
}

@media (max-width: 520px) {
    .contact-page {
        width: min(100% - 24px, var(--page-width));
        padding-top: 38px;
        padding-bottom: 60px;
    }

    .contact-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px;
    }

    .contact-icon {
        justify-content: flex-start;
    }

    .contact-icon img {
        width: 58px;
        height: 58px;
    }

    .contact-placeholder {
        max-width: 100%;
        height: 150px;
    }

    .contact-card-large {
        padding: 24px;
    }

    .contact-card-large .contact-placeholder {
        height: 180px;
    }
}



.contact-embed {
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: var(--radius-card);
    background-color: #f3f3f3;
}

.contact-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.contact-facebook-embed {
    display: flex;
    align-items: center;
    justify-content: center;
}