/* ===== Contact page ===== */

/* Hero */
.contact-hero,
.page-hero.contact-hero,
.block-hero.contact-hero,
.block-hero--page.contact-hero {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: center;
    padding: 120px 5% 70px;
    overflow: hidden;
    border-bottom: 1px solid #222;
}

.contact-hero::before,
.page-hero.contact-hero::before,
.block-hero.contact-hero::before,
.block-hero--page.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(
        --hero-bg,
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?q=80&w=1920&auto=format&fit=crop")
    );
    background-size: cover;
    background-position: center;
    filter: brightness(0.24);
    transform: scale(1.05);
    animation: zoomIn 18s infinite alternate;
}

.contact-hero .page-hero-content,
.contact-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
    animation: fadeUp 1.2s ease-out;
}

.contact-hero .page-title span {
    color: var(--evc-orange);
}

.contact-hero .page-desc,
.contact-hero .hero-content p {
    max-width: 760px;
}

/* Intro section */
.contact-section-desc {
    max-width: 860px;
    margin-bottom: 40px;
}

/* Cards */
.contact-card {
    min-height: 100%;
}

.contact-card .card-icon {
    font-size: 34px;
    margin-bottom: 20px;
}

.contact-card .card-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.contact-card .card-desc {
    line-height: 1.9;
}

.contact-card .card-tag a {
    color: var(--evc-orange);
}

.contact-card .card-tag a:hover {
    color: #ff8533;
}

/* Panels */
.contact-panel {
    min-height: 100%;
}

.contact-panel .card-title {
    font-size: 22px;
    margin-bottom: 16px;
}

.contact-panel .card-desc {
    color: var(--text-gray);
    line-height: 1.9;
}

/* CTA */
.contact-cta {
    align-items: center;
}

.contact-cta .cta-content h3 span {
    color: var(--evc-orange);
}

.contact-cta .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-cta .cta-actions a {
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-hero,
    .page-hero.contact-hero,
    .block-hero.contact-hero,
    .block-hero--page.contact-hero {
        min-height: 60vh;
    }
}

@media (max-width: 768px) {
    .contact-hero,
    .page-hero.contact-hero,
    .block-hero.contact-hero,
    .block-hero--page.contact-hero {
        padding: 120px 5% 60px;
    }

    .contact-section-desc {
        margin-bottom: 30px;
    }

    .contact-card .card-title,
    .contact-panel .card-title {
        font-size: 20px;
    }

    .contact-cta .cta-actions {
        width: 100%;
    }

    .contact-cta .cta-actions a {
        width: 100%;
        text-align: center;
    }
}
