.tp-contactinfo-area {
    padding: 120px 0;
}

.tp-contactinfo-heading {
    max-width: 850px;
    margin: 0 auto 55px;
    text-align: center;
}

.tp-contactinfo-heading .tp-section-title {
    margin: 0;
}

.tp-contactinfo-intro {
    max-width: 720px;
    margin: 24px auto 0;
    color: var(--tp-body-color);
    font-size: 18px;
    line-height: 1.65;
}

.tp-contactinfo-intro > :last-child {
    margin-bottom: 0;
}

.tp-contactinfo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.tp-contactinfo-card {
    min-width: 0;
    min-height: 330px;
    padding: 38px 32px;
    overflow-wrap: anywhere;
    background: var(--tp-gray-color);
    border: 1px solid rgba(22, 26, 49, 0.08);
    border-radius: 20px;
    color: var(--tp-theme-color);
}

.tp-contactinfo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 30px;
    background: var(--tp-theme-color);
    border-radius: 50%;
    color: #fff;
}

.tp-contactinfo-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tp-contactinfo-card-title {
    margin: 0 0 18px;
    color: var(--tp-theme-color);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
}

.tp-contactinfo-address {
    margin: 0;
    color: var(--tp-body-color);
    font-style: normal;
    font-size: 16px;
    line-height: 1.75;
}

.tp-contactinfo-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    color: var(--tp-theme-color);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.tp-contactinfo-link:hover {
    color: var(--tp-theme-color);
    text-decoration: underline;
}

.tp-contactinfo-link svg,
.tp-contactinfo-socials svg {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tp-contactinfo-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tp-contactinfo-list li {
    margin: 0;
}

.tp-contactinfo-list li > span {
    display: block;
    margin-bottom: 4px;
    color: var(--tp-body-color);
    font-size: 13px;
    line-height: 1.4;
}

.tp-contactinfo-list a {
    color: var(--tp-theme-color);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
}

.tp-contactinfo-list a:hover {
    color: var(--tp-theme-color);
    text-decoration: underline;
}

.tp-contactinfo-socials a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.tp-contactinfo-map {
    margin-top: 24px;
    overflow: hidden;
    background: var(--tp-gray-color);
    border: 1px solid rgba(22, 26, 49, 0.08);
    border-radius: 20px;
}

.tp-contactinfo-map iframe {
    display: block;
    width: 100%;
    max-width: none;
    height: 400px;
    border: 0;
}

.tp-contactinfo-area.has-visio-contactinfo-motion [data-visio-contactinfo-card] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: calc(var(--tp-contactinfo-index, 0) * 80ms);
}

.tp-contactinfo-area.has-visio-contactinfo-motion.is-visible [data-visio-contactinfo-card] {
    opacity: 1;
    transform: none;
}

@media (max-width: 1199px) {
    .tp-contactinfo-area {
        padding: 95px 0;
    }

    .tp-contactinfo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tp-contactinfo-card {
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .tp-contactinfo-area {
        padding: 70px 0;
    }

    .tp-contactinfo-heading {
        margin-bottom: 36px;
        text-align: left;
    }

    .tp-contactinfo-intro {
        margin-top: 18px;
        font-size: 16px;
    }

    .tp-contactinfo-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .tp-contactinfo-card {
        min-height: 0;
        padding: 28px 24px;
        border-radius: 16px;
    }

    .tp-contactinfo-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 22px;
    }

    .tp-contactinfo-icon svg {
        width: 25px;
        height: 25px;
    }

    .tp-contactinfo-card-title {
        margin-bottom: 14px;
        font-size: 21px;
    }

    .tp-contactinfo-map {
        margin-top: 16px;
        border-radius: 16px;
    }

    .tp-contactinfo-map iframe {
        height: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tp-contactinfo-area.has-visio-contactinfo-motion [data-visio-contactinfo-card] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
