.location {
    padding: clamp(50px, 6vw, 100px) 0;
}

.location__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(30px, 3.5vw, 50px);
}

/* ===== Заголовок + интро ===== */

.location__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.location__title {
    margin: 0;
    max-width: 900px;
    text-align: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(26px, 3.5vw, 50px);
    line-height: 1.3;
    color: var(--color-black);
}

.location__intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 3vw, 50px);
    flex-wrap: wrap;
    width: 100%;
    max-width: 1450px;
}

.location__text {
    margin: 0;
    flex: 1 1 500px;
    min-width: 0;
}

.location__text-brand {
    color: var(--color-active);
    font-family: var(--font-serif);
    font-size: clamp(18px, 1.7vw, 32px);
    line-height: 1.3;
}

.location__text-body {
    color: var(--color-black);
    font-family: var(--font-sans);
    font-size: clamp(14px, 1.15vw, 22px);
    line-height: 1.3;
}

.location__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 100px;
    background: var(--color-active);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s ease;
}
.location__button:hover {
    background: #61262a;
}

/* ===== Карточки: карта + фото ===== */

.location__cards {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.location__card {
    position: relative;
    flex: 1 1 500px;
    max-width: 860px;
    border-radius: 40px;
    overflow: hidden;
}

.location__card-image {
    display: block;
    width: 100%;
    height: clamp(340px, 34vw, 600px);
    object-fit: cover;
}

.location__card-overlay {
    position: absolute;
    left: clamp(16px, 2vw, 62px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.8vw, 30px);
    padding: clamp(20px, 2vw, 30px) clamp(16px, 1.6vw, 20px);
    background: rgba(255, 255, 255, 0.29);
    border-radius: 40px;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.location__stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 260px;
}

.location__stat-value {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
}

.location__stat-number {
    font-family: var(--font-numeric);
    font-weight: 500;
    font-size: clamp(30px, 3.1vw, 60px);
    line-height: 1.3;
}

.location__stat-unit {
    font-family: var(--font-numeric);
    font-weight: 500;
    font-size: clamp(16px, 1.6vw, 30px);
    line-height: 0.9;
    padding-top: 8px;
}

.location__stat-divider {
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}

.location__stat-label {
    font-family: var(--font-sans);
    font-size: clamp(13px, 1vw, 20px);
    line-height: 1.3;
}

/* Карта: бежевый текст */
.location__card--map .location__stat-number,
.location__card--map .location__stat-unit,
.location__card--map .location__stat-label {
    color: var(--color-beige);
}
.location__card--map .location__stat-divider {
    color: var(--color-beige);
}

/* Фото: белый текст */
.location__card--photo .location__stat-number,
.location__card--photo .location__stat-unit,
.location__card--photo .location__stat-label {
    color: #fff;
}
.location__card--photo .location__stat-divider {
    color: #b3ada7;
}

/* ===== Адаптив ===== */

@media (max-width: 767px) {
    .location__card-overlay {
        position: static;
        transform: none;
        margin-top: -60px;
        margin-left: 16px;
        margin-right: 16px;
        width: calc(100% - 32px);
    }
    .location__card {
        display: flex;
        flex-direction: column;
    }
}


@media (max-width: 767px) {
.location__card-overlay {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    background: #f9ebdd;
    flex-direction: row;
    padding: 24px;
}

.location__card--photo .location__card-overlay{
   
    background: #7a3035;
}

.location__stat {
   
    flex: 1;
}


}