/* Map Component Styles */
.map {
    padding: 150px 0 160px;
    background: var(--berloga-blue-lightest);
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: -150px;
}

.map__container {
    max-width: 1320px;
    margin: 0 auto;
    padding-top: 120px;
}

/* Header Section */
.map__header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.map__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.map__badge-icon {
    width: 23px;
    height: 20px;
    flex-shrink: 0;
}

.map__badge-text {
    font-family: var(--accent-text-font-family);
    font-size: 20px;
    font-weight: 500;
    color: var(--berloga-text);
}

.map__title {
    font-family: var(--h2-font-family);
    font-size: var(--h2-font-size);
    font-weight: var(--h2-font-weight);
    line-height: var(--h2-line-height);
    color: var(--berloga-text);
    margin: 0;
}

/* Декоративные лапки */
.map__decoration {
    position: absolute;
    top: 0;
    opacity: 0.6;
}

.map__decoration--left {
    left: 0;
    width: 124px;
    height: 124px;
}

.map__decoration--right {
    right: 70px;
    top: 50%;
    transform: translateY(-50%) rotate(30deg);
    width: 58px;
    height: 72px;
}

/* Main Content */
.map__content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* Left Column - Cards */
.map__cards {
    flex: 0 0 550px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.map__card {
    background: var(--berloga-blue);
    border-radius: 30px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 200px;
    box-sizing: border-box;
}

.map__card-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: var(--berloga-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map__card-icon svg {
    width: 50px;
    height: 50px;
}

.map__card-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.map__card-content {
    flex: 1;
    padding: 20px;
}

.map__card-title {
    font-family: var(--accent-text-font-family);
    font-size: 20px;
    font-weight: 800;
    color: var(--berloga-white);
    margin: 0 0 10px 0;
}

.map__card-text {
    font-family: var(--regular-text-font-family);
    font-size: var(--regular-text-font-size);
    font-weight: var(--regular-text-font-weight);
    line-height: var(--regular-text-line-height);
    letter-spacing: var(--regular-text-letter-spacing);
    color: var(--berloga-white);
    margin: 0;
    width: 360px;
}

/* Right Column - Map */
.map__image {
    flex: 1;
    position: relative;
    max-width: 720px;
}

.map__image-pic {
    width: 100%;
    height: 660px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.25);
}

/* CTA Button */
.map__cta {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 540px;
    height: 100px;
    background: var(--berloga-dark-blue);
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map__cta-link {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.map__cta-link:hover {
    transform: translateY(-2px);
}

.map__cta-text {
    font-family: var(--h3-font-family);
    font-size: 24px;
    font-weight: 800;
    color: var(--berloga-white);
}

.map__cta-arrow {
    width: 60px;
    height: 60px;
    transform: rotate(330deg);
    transition: all 0.3s ease;
}

.map__cta-link:hover .map__cta-arrow {
    transform: rotate(330deg) scale(1.1);
}

.map__cta-link:hover .map__cta-arrow circle {
    fill: var(--berloga-magenta);
}

/* Responsive Design */
@media (max-width: 1440px) {
    .map__content {
        gap: 40px;
    }

    .map__cards {
        flex: 0 0 500px;
    }

    .map__cta {
        width: 480px;
    }
}

@media (max-width: 1320px) {
    .map__content {
        padding: 0 40px;
    }
}

@media (max-width: 1200px) {
    .map__content {
        flex-direction: column;
        gap: 50px;
    }

    .map__cards {
        flex: none;
        width: 100%;
    }

    .map__image {
        width: 100%;
        max-width: none;
    }

    .map__cta {
        width: 90%;
        max-width: 540px;
    }

    .map__decoration--left,
    .map__decoration--right {
        display: none;
    }
}

@media (max-width: 768px) {
    .map {
        padding: 150px 0 80px;
    }

    .map__container {
        padding: 0 15px;
    }

    .map__header {
        margin-bottom: 50px;
    }

    .map__title {
        font-size: 32px;
    }

    .map__content {
        padding: 0 20px;
    }

    .map__cards {
        gap: 20px;
    }

    .map__card {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 30px 20px;
    }

    .map__card-icon {
        width: 80px;
        height: 80px;
    }

    .map__card-icon svg {
        width: 40px;
        height: 40px;
    }

    .map__card-icon img {
        width: 40px;
        height: 40px;
    }

    .map__card-content {
        padding: 0;
    }

    .map__card-text {
        width: 100%;
    }

    .map__image-pic {
        height: 400px;
    }

    .map__cta {
        width: 77%;
        height: 80px;
    }

    .map__cta-text {
        font-size: 18px;
    }

    .map__cta-arrow {
        width: 50px;
        height: 50px;
    }
}  

@media (max-width: 480px) {


    .map__title {
        font-size: 24px;
    }

    .map__badge-text {
        font-size: 16px;
    }

    .map__card {
        padding: 20px 15px;
    }

    .map__card-title {
        font-size: 18px;
    }

    .map__card-text {
        font-size: 14px;
        line-height: 18px;
    }

    .map__image-pic {
        height: 300px;
    }

    .map__cta {
        height: 70px;
    }

    .map__cta-text {
        font-size: 16px;
    }

    .map__cta-arrow {
        width: 40px;
        height: 40px;
    }
}

/* h2 заголовок теперь наследует стили из typography.css */