body {
    background: #e3e3e3;
}

.contact-hero {
    background: #000;
    color: #fff;
    min-height: 276px;
    display: grid;
    align-items: center;
}

.contact-hero-grid {
    min-height: 266px;
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(340px, 1.1fr);
    align-items: center;
    gap: 24px;
}

.contact-hero-copy h1 {
    margin: 0 0 10px;
    font-size: 50px;
}

.contact-hero-copy p {
    margin: 0;
    max-width: 350px;
    color: #d6d6d6;
    line-height: 1.5;
    font-size: 15px;
}

.contact-hero-image {
    width: min(100%, 540px);
    justify-self: center;
    object-fit: contain;
}

.contact-main {
    padding: 38px 0 28px;
}

.contact-main h2 {
    margin: 0 0 20px;
    text-align: center;
    font-size: 56px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.contact-card {
    background: #ececec;
    border: 1px solid #c9c9c9;
    border-radius: 18px;
    text-align: center;
    min-height: 162px;
    padding: 24px 20px;
}

.contact-card.is-active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.contact-card-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-card-icon svg {
    width: 100%;
    height: 100%;
    fill: #0d0d0d;
}

.contact-card h3 {
    margin: 0 0 8px;
    font-size: 31px;
}

.contact-card p {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.contact-message-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
    gap: 16px;
    align-items: center;
}

.contact-message-media img {
    width: 100%;
    border-radius: 22px;
    border: 1px solid #bdbdbd;
}

.contact-message-form h3 {
    margin: 0 0 10px;
    font-size: 25px;
}

.contact-message-form p {
    margin: 0 0 18px;
    font-size: 13px;
    color: #6a6a6a;
    max-width: 520px;
}

.contact-message-form input,
.contact-message-form textarea {
    width: 100%;
    border: 1px solid #a9a9a9;
    border-radius: 8px;
    background: #efefef;
    padding: 10px 12px;
    font-size: 13px;
    color: #242424;
    margin-bottom: 10px;
}

.contact-message-form textarea {
    resize: vertical;
    min-height: 136px;
}

.contact-message-form button {
    border: 0;
    border-radius: 8px;
    background: #0b0b0b;
    color: #fff;
    min-width: 76px;
    height: 34px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.contact-map {
    margin: 26px 0 0;
}

.contact-map iframe {
    width: 100%;
    height: 352px;
    border: 0;
    display: block;
}

.reviews {
    background: #ededed;
    border-top: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
    padding: 24px 0;
    overflow: hidden;
}

.reviews-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 18px;
    align-items: center;
}

.reviews-summary {
    text-align: center;
}

.reviews-summary h3 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
}

.review-stars-boxes {
    display: inline-flex;
    gap: 4px;
    margin-bottom: 10px;
}

.review-stars-boxes span {
    width: 26px;
    height: 26px;
    background: #00b67a;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 15px;
    line-height: 1;
}

.reviews-summary p {
    margin: 0 0 8px;
    font-size: 14px;
}

.reviews-summary p a {
    color: #333;
}

.reviews-summary img {
    width: 170px;
    margin: 0 auto;
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 52px;
}

.reviews-track {
    display: flex;
    transition: transform 0.65s ease;
}

.review-slide {
    flex: 0 0 33.3333%;
    padding: 0 14px;
    min-width: 0;
}

.review-stars {
    color: #00b67a;
    font-size: 18px;
    line-height: 1;
    margin-bottom: 8px;
    white-space: nowrap;
}

.review-verified {
    color: #666;
    font-size: 14px;
    vertical-align: middle;
    margin-left: 5px;
}

.review-slide h4 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.2;
}

.review-slide p {
    margin: 0 0 6px;
    font-size: 14px;
    color: #2f2f2f;
    line-height: 1.45;
}

.review-meta {
    color: #595959;
    font-size: 14px;
}

.reviews-handle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #777;
    background: #e5e5e5;
    color: #1f1f1f;
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.reviews-handle-prev {
    left: 10px;
}

.reviews-handle-next {
    right: 10px;
}

@media (max-width: 1100px) {
    .contact-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px 0;
    }

    .contact-hero-copy p {
        margin: 0 auto;
    }

    .contact-cards,
    .contact-message-grid {
        grid-template-columns: 1fr;
    }

    .reviews-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .contact-main h2 {
        font-size: 42px;
    }

    .contact-card {
        min-height: auto;
    }

    .contact-card h3 {
        font-size: 28px;
    }

    .contact-message-form h3 {
        font-size: 36px;
    }

    .contact-map iframe {
        height: 280px;
    }

    .reviews-carousel {
        padding: 0 42px;
    }

    .review-slide {
        flex: 0 0 100%;
    }
}
