/* Contact page – layout and design */

.contact-page-wrap {
    width: 100%;
    max-width: 1392px;
    margin: 0 auto;
    padding: 0 24px;
}

main.contact-block {
    width: 100%;
}
@media (min-width: 1200px) {
    .contact-page-wrap { padding: 0 48px; }
}
@media (min-width: 1400px) {
    .contact-page-wrap { padding: 0 64px; }
}

.contact-hero {
    height: 0;
    padding-bottom: 65.5%;
    background: url('../images/contact-home.png') center/cover no-repeat;
}
.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 100%);
    border-radius: inherit;
}
.contact-hero-content {
    width: 90%;
    max-width: 658px;
    z-index: 1;
}
.contact-hero-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(36px, 5.2vw, 72px);
    line-height: 1;
    letter-spacing: 0;
}
.contact-hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: clamp(16px, 1.6vw, 22px);
    line-height: 30.6px;
    letter-spacing: 0;
    color: #F6F5F5;
}

.contact-card-wrap {
    margin-top: -25%;
    margin-bottom: 56px;
}
.contact-card {
    display: flex;
    flex-wrap: wrap;
    width: 86%;
    max-width: 1190px;
    margin-left: auto;
    margin-right: auto;
    background: #1989FB;
    min-height: 260px;
    border-radius: 20px;
    overflow: hidden;
}
.contact-card.row {
    --bs-gutter-x: 0;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 992px) {
    .contact-card {
        flex-wrap: nowrap;
        min-height: 480px;
        margin-top: -260px;
    }
}

.contact-card-left {
    flex: 0 0 100%;
    min-width: 0;
    order: 2;
    background-color: #1989FB;
    background-image: url('../images/shape.png');
    background-size: cover;
    background-position: center;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (min-width: 992px) {
    .contact-card-left {
        flex: 0 0 58.333333%;
        padding: 2.5rem 3rem 2.5rem 3rem;
        order: 1;
    }
}

.contact-card-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(24px, 3vw, 44.3px);
    line-height: 1.25;
    letter-spacing: 0;
    color: #fff;
    margin: 0;
    max-width: 570px;
}

.contact-card-icon {
    width: 31px;
    height: 31px;
}
.contact-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.contact-card-address,
.contact-card-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: clamp(15px, 1.5vw, 22px);
    line-height: 1.35;
    letter-spacing: 0;
    color: #fff;
    text-decoration: none;
}
.contact-card-link:hover {
    color: #fff;
    text-decoration: underline;
}
.contact-card-address {
    max-width: 293px;
}

.contact-card-right {
    flex: 0 0 100%;
    min-width: 0;
    order: 1;
    height: 220px;
    min-height: 220px;
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) and (max-width: 991px) {
    .contact-card-right {
        height: 260px;
        min-height: 260px;
    }
}
@media (min-width: 992px) {
    .contact-card-right {
        flex: 0 0 41.666667%;
        height: 480px;
        min-height: 480px;
        order: 2;
    }
}
.contact-card-right img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
@media (min-width: 992px) {
    .contact-card-right img {
        border-radius: 0 16px 16px 0;
    }
    .contact-card-right {
        padding: 25px 25px 25px 0;
        box-sizing: border-box;
    }
}

.contact-card-quote {
    background: transparent;
    z-index: 1;
}
.contact-card-quote-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: clamp(15px, 1.5vw, 20px);
    line-height: 1.4;
    color: #fff;
    margin: 0;
}
.contact-card-quote-author {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: clamp(14px, 1.2vw, 18px);
    color: #fff;
    margin: 0;
}
.contact-card-quote .d-flex img,
.contact-card-stars img {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}
.contact-card-quote .contact-card-stars,
.contact-card-quote .d-flex.contact-card-stars {
    padding-bottom: 8px;
}
@media (min-width: 768px) {
    .contact-card-quote .d-flex img,
    .contact-card-stars img {
        width: 14px;
        height: 14px;
    }
    .contact-card-quote .contact-card-stars,
    .contact-card-quote .d-flex.contact-card-stars {
        padding-bottom: 10px;
    }
}

@media (max-width: 991px) {
    .contact-card-wrap { margin-top: -18%; }
    .contact-card { margin-top: 0; }
}
@media (max-width: 768px) {
    .contact-card-wrap { margin-top: -18%; margin-bottom: 48px; }
    .contact-hero { padding-bottom: 85%; border-radius: 12px; }
    .contact-card-right {
        height: 200px;
        min-height: 200px;
    }
}
@media (max-width: 480px) {
    .contact-card-wrap { margin-top: -15%; margin-bottom: 40px; }
    .contact-hero { padding-bottom: 90%; border-radius: 10px; }
    .contact-page-wrap { padding: 0 12px; }
    .contact-card-right {
        height: 180px;
        min-height: 180px;
    }
}
