/*
=== СТИЛИ ЖК ФЛАГМАН ===
*/

/* --- Переменные Флагмана --- */
:root {
    --flg-primary:  #b26c53;
    --flg-dark:     #544b40;
    --flg-hover:    #c97d62;
    --flg-bg:       rgba(20, 12, 8, 0);
    --flg-radius:   18px;
}

/* ЖК Флагман — цвет хедера и футера */
.flagman-page .top-bar {
    background: #b26c53 !important;
}

.flagman-page .nav-menu-item {
    color: #544b40 !important;
}

.flagman-page .footer-bottom {
    background: #b26c53 !important;
}

.flagman-page .footer-title {
    color: #544b40;
}

.flagman-page .footer-disclaimer p {
    color: rgba(255, 255, 255, 0.7);
}

.flagman-page .footer-tagline {
    color: rgba(255, 255, 255, 0.7);
}

.flagman-page .footer-social-title {
    color: rgba(255, 255, 255, 0.7);
}

.flagman-page .office-text strong {
    color: #544b40;
}

.flagman-page .office-card {
    border: 1px solid #b26c53;
}

.flagman-page .section-title {
    color: #544b40;
}

.flagman-page p {
    color: #544b40;
}

.flagman-page .poziciya-card-title {
    color: #544b40 !important;
}

.flagman-page .poziciya-char-item {
    color: #544b40 !important;
}

.flagman-page .seo-text-section {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(178, 108, 83, 0.08) 100%);
}

.flagman-page .seo-text-section h2 {
    color: #544b40 !important;
}


.flagman-page .hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
}

.flagman-page .poziciya-link-btn {
    background: #b26c53 !important;
}


.flagman-page .infrastructure-overlay {
    background: linear-gradient(0turn, rgba(20, 12, 8, 0) 0%, rgba(60, 35, 20, 0.7) 100%);
}

.flagman-page .catalog-header h2 {
    color: #544b40;
}

.flagman-page .btn-open-calculator {
    background: #b26c53 !important;
}

.flagman-page .rooms-filter-btn.active {
    background: #b26c53;
    border-color: #b26c53;
}

.flagman-page .btn-load-more {
    background: #b26c53;
}

.flagman-page .about-project-section {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(178, 108, 83, 0.08) 100%);
}

.flagman-page .infrastructure-section {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(178, 108, 83, 0.08) 100%);
}


.flagman-page .vzh-floors__title {
    color: #544b40;
}

.flagman-page .vzh-floors__tab.active {
    color: #544b40;
    border-bottom-color: #b26c53;
}

.flagman-page .vzh-floors__tab:hover {
    color: #544b40;
}

.flagman-page .vzh-floors {
    background: #ffffff;
}

.flagman-page .vzh-lightbox__close {
    color: #544b40;
}

.flagman-page .wp-block-heading {
    color: #544b40;
}

.flagman-page .shortcode-apartments-catalog {
   background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(178, 108, 83, 0.08) 100%);
}

.flagman-page .swiper-inline-gallery .swiper-pagination-bullet {
    background-color: #b26c53;
}


.flagman-page .swiper-inline-gallery .swiper-button-next {
    background-color: #ffffff !important;
    color: #b26c53 !important;
}

.flagman-page .swiper-inline-gallery .swiper-button-prev {
    background-color: #ffffff !important;
    color: #b26c53 !important;
}

.flagman-page .swiper-inline-gallery .swiper-button-next:hover {
    background-color: #b26c53 !important;
    color: #ffffff !important;
}

.flagman-page .swiper-inline-gallery .swiper-button-prev:hover {
    background-color: #b26c53 !important;
    color: #ffffff !important;
}


.flagman-page .vk-subscribe-btn {
    background: #b26c53;
}

.flagman-page .dropdown-item {
    color: #544b40 !important;
}


.flagman-page .payment-methods-section {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(178, 108, 83, 0.08) 100%);
}

.flagman-page .vk-news-section {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(178, 108, 83, 0.08) 100%);
}

.flagman-page .map-section {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(178, 108, 83, 0.08) 100%);
}

.flagman-page .footer-contacts-section {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(178, 108, 83, 0.08) 100%);
}

.flagman-page .btn-booking {
    background: #b26c53 !important;
}

.flagman-page .btn-booking:hover {
    background: #b26c53 !important;
}

.flagman-page .btn-booking-bottom {
    background: #b26c53 !important;
}

.flagman-page .btn-booking-bottom:hover {
    background: #b26c53 !important;
}

.flagman-page .btn-open-calculator {
    background: #ec6830 !important;
}

.flagman-page .btn-open-calculator:hover {
    background: #ec6830 !important;
}

.flagman-page .scroll-to-top {
    background: #b26c53 !important;
    color: #ffffff;
}

.flagman-page .scroll-to-top:hover {
    background: #ec6830 !important;
    color: #ffffff;
}

.flagman-page .btn-callback {
    background: #b26c53 !important;
    color: #ffffff;
}

.flagman-page .btn-callback:hover {
    background: #ec6830 !important;
    color: #ffffff;
}

.flagman-page .apartment-main-title {
    color: #544b40;
}

.flagman-page .apartment-zhk-title {
    color: #544b40;
}

.flagman-page .characteristics-title {
    color: #544b40;
}
 
.flagman-page .payment-conditions-block h4 {
    color: #544b40;
}

.flagman-page .video-reviews-title {
    color: #544b40;
}

/* ============================================
   АДАПТИВ
   ============================================ */

@media (max-width: 768px) {
    .flagman-page .navbar {
        background: #b26c53 !important;
    }

    .flagman-page .nav-menu-item {
        color: #ffffff !important;
    }

    .flagman-page .dropdown-item {
        color: #ffffff !important;
    }

}


/* ============================================
   HERO
   ============================================ */

.flg-hero {
    background-image: url('/wp-content/themes/novyj-gorod-theme/assets/images/flagman/hero-32-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 100vh;
    align-items: flex-start;
}

/* Оверлей — тёмный с тёплым коричневым подтоном */
.flg-hero::before {
    background: linear-gradient(
        to bottom,
        rgba(20, 12, 8, 0.35) 0%,
        rgba(60, 35, 20, 0.18) 45%,
        rgba(20, 12, 8, 0.08) 100%
    );
}

/* --- Заголовок --- */
.flg-hero__title {
    color: #ffffff;
    max-width: 640px;
}

/* --- Подзаголовок --- */
.flg-hero__subtitle {
    font-family: 'PT Serif', serif;
    font-size: clamp(16px, 1.6vw, 22px);
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: clamp(32px, 4vw, 56px);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* --- Сетка карточек --- */
.flg-hero__cards {
    max-width: 860px;
}

/* --- Карточка --- */
.flg-hero__card {
    border-color: rgba(178, 108, 83, 0.2);
}

.flg-hero__card:hover {
    box-shadow: 0 12px 32px rgba(178, 108, 83, 0.2);
    border-color: var(--flg-primary);
}

/* --- Иконка --- */
.flg-hero__card-icon {
    border-color: var(--flg-primary);
    color: var(--flg-primary);
}

/* --- Текст карточки --- */
.flg-hero__card-text {
    color: var(--flg-dark);
    font-weight: 500;
}

/* --- Кнопка --- */
.flg-btn {
    background: #ec6830;
    border-color: #ec6830;
    color: #ffffff;
}

.flg-btn:hover {
    background: var(--flg-hover);
    border-color: var(--flg-hover);
    color: #ffffff;
    text-decoration: none;
}

/* ============================================
   АДАПТИВ
   ============================================ */

@media (max-width: 768px) {
    .flg-hero {
        min-height: auto;
    }

    .flg-hero__cards {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .flg-hero__subtitle {
        font-size: clamp(14px, 4vw, 17px);
    }
}
 
/* ========================================
   БЛОК: Описание проекта ЖК Флагман
   ======================================== */

.flagman-description-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(13, 60, 99, 0.05) 100%);
}

/* Обертка текстовых табов */
.flagman-tabs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /*padding-right: clamp(1rem, 3vw, 2rem);*/
}

/* Текстовый блок-таб */
.flagman-text-tab {
    padding: 22px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #e9ecef;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flagman-text-tab p {
    /*font-size: clamp(0.95rem, 2vw, 1.05rem);*/
    color: #544b40;
    line-height: 1.6;
    margin: 0;
}

/* Активный таб */
.flagman-text-tab.active {
    border-color: #ec6830;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(236, 104, 48, 0.15);
}

.flagman-text-tab.active p {
    color: #544b40;
    font-weight: 500;
}

/* Ховер эффект */
.flagman-text-tab:hover {
    border-color: rgba(236, 104, 48, 0.5);
    transform: translateX(5px);
}

/* Правая колонка - изображения */
.flagman-image-wrapper {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    min-height: 400px;
    background: #f8f9fa;
}

.flagman-tab-image {
    width: 100%;
    height: auto;
    display: none;
    border-radius: 18px;
    transition: opacity 0.4s ease;
}

.flagman-tab-image.active {
    display: block;
    animation: fadeInImage 0.4s ease;
}

@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Адаптив */
@media (max-width: 991px) {
    .flagman-tabs-wrapper {
        padding-right: 0;
        margin-bottom: clamp(2rem, 4vw, 3rem);
    }
    
    .flagman-image-wrapper {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .flagman-description-section {
        padding: clamp(2rem, 5vw, 3rem) 0;
    }
    
    .flagman-text-tab {
        padding: clamp(1rem, 2vw, 1.2rem);
    }
    
    .flagman-image-wrapper {
        min-height: 250px;
    }
}

@media (max-width: 480px) {
    .flagman-tabs-wrapper {
        gap: 0.8rem;
    }
    
    .flagman-text-tab {
        padding: 1rem;
    }
}

/* ========================================
   БЛОК: Отличительные качества ЖК Флагман
   ======================================== */

.flagman-features-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(178, 108, 83, 0.08) 100%);
}

.flagman-features-section .col-md-6 {
    margin-bottom: 32px;
}

/* Элемент качества */
.flagman-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 24px 40px 24px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    transition: all 0.3s ease;
    height: 100%;
}

.flagman-feature-item:hover {
    background: #f8f9fa;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

/* Иконка */
.flagman-feature-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
}

.flagman-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Контент */
.flagman-feature-content {
    flex: 1;
}

.flagman-feature-title {
    font-weight: 700;
    color: #544b40;
    margin-bottom: clamp(0.3rem, 1vw, 0.5rem);
    font-family: 'PT Serif', serif;
    line-height: 1.3;
}

.flagman-feature-text {
    margin: 0;
    line-height: 1.5;
}

/* Адаптив */
@media (max-width: 768px) {
    .flagman-features-section {
        padding: clamp(2rem, 5vw, 3rem) 0;
    }
    
    .flagman-feature-item {
        margin-bottom: clamp(1rem, 2vw, 1.5rem);
        padding: clamp(0.8rem, 2vw, 1rem);
    }
    
    .flagman-feature-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .flagman-feature-title {
        font-size: 0.95rem;
    }
}

/* ========================================
   БЛОК: 2D и 3D планировки квартир
   ======================================== */

.flagman-tours-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(13, 60, 99, 0.05) 100%);
}

/* Карточка тура */
.flagman-tour-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.flagman-tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Обертка изображения */
.flagman-tour-image-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #f8f9fa;
}

/* Изображения (default и hover) */
.flagman-tour-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.flagman-tour-image.default {
    opacity: 1;
}

.flagman-tour-image.hover {
    opacity: 0;
}

/* При наведении меняем картинку */
.flagman-tour-card:hover .flagman-tour-image.default {
    opacity: 0;
}

.flagman-tour-card:hover .flagman-tour-image.hover {
    opacity: 1;
}

/* Контент карточки */
.flagman-tour-content {
    padding: clamp(1.5rem, 3vw, 2rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.flagman-tour-title {
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    color: #544b40;
    margin: 0;
    font-family: 'PT Serif', serif;
    line-height: 1.3;
    flex: 1;
}

/* Кнопка */
.flagman-tour-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ec6830;
    color: #ffffff;
    padding: clamp(0.6rem, 1.5vw, 0.8rem) clamp(1rem, 2vw, 1.2rem);
    border-radius: 18px;
    border: none;
    font-weight: 600;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'PT Serif', serif;
}

.flagman-tour-btn:hover {
    background: #d55a29;
    transform: translateX(3px);
    color: #ffffff;
}

/* Адаптив */
@media (max-width: 768px) {
    .flagman-tours-section {
        padding: clamp(2rem, 5vw, 3rem) 0;
    }
    
    .flagman-tour-image-wrapper {
        height: 250px;
    }
    
    .flagman-tour-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .flagman-tour-btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .flagman-tour-image-wrapper {
        height: 200px;
    }
}

/* ========================================
   МОДАЛЬНОЕ ОКНО 3D ТУРА
   ======================================== */

.tour-3d-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tour-3d-modal.active {
    display: block;
    opacity: 1;
}

.tour-3d-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1;
}

.tour-3d-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 2vw, 2rem);
}

.tour-3d-modal-close {
    position: absolute;
    top: clamp(1rem, 2vw, 2rem);
    right: clamp(1rem, 2vw, 2rem);
    z-index: 10;
    width: clamp(40px, 6vw, 50px);
    height: clamp(40px, 6vw, 50px);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tour-3d-modal-close:hover {
    background: rgba(236, 104, 48, 0.9);
    border-color: #ec6830;
    transform: rotate(90deg);
}

.tour-3d-modal-close svg {
    width: clamp(20px, 4vw, 24px);
    height: clamp(20px, 4vw, 24px);
}

.tour-3d-iframe-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 90vh;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.tour-3d-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.tour-3d-iframe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.tour-3d-iframe-overlay:hover {
    background: rgba(0, 0, 0, 0.7);
}

.tour-3d-iframe-overlay p {
    color: #ffffff;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    margin: 0;
    padding: clamp(1rem, 2vw, 1.5rem) clamp(1.5rem, 3vw, 2rem);
    background: rgba(236, 104, 48, 0.9);
    border-radius: 8px;
    pointer-events: none;
}

.tour-3d-modal.active .tour-3d-modal-content {
    animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .tour-3d-modal-content {
        padding: 1rem;
    }
    
    .tour-3d-iframe-wrapper {
        height: 85vh;
    }
    
    .tour-3d-modal-close {
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .tour-3d-iframe-wrapper {
        height: 80vh;
        border-radius: 8px;
    }
    
    .tour-3d-iframe-overlay p {
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }
}

/* ========================================
   БЛОК: Отделка подъездов
   ======================================== */

.flagman-entrance-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(13, 60, 99, 0.1) 100%);
}

.flagman-entrance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    min-height: 200px;
    transition: all 0.3s ease;
}

.flagman-entrance-item:hover {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.flagman-entrance-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.flagman-entrance-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.flagman-entrance-text {
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

@media (max-width: 768px) {
    .flagman-entrance-section {
        padding: clamp(2rem, 5vw, 3rem) 0;
    }
    
    .flagman-entrance-item {
        min-height: 160px;
        padding: clamp(1rem, 2vw, 1.5rem);
    }
}

@media (max-width: 480px) {
    .flagman-entrance-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 12px;
    }
    
    .flagman-entrance-text {
        font-size: 0.85rem;
    }
}

/* ========================================
   БЛОК: Дворовое пространство
   ======================================== */

.flagman-yard-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(178, 108, 83, 0.08) 100%);
}

.flagman-yard-section .section-subtitle {
    max-width: 1100px;
    margin: 0 auto clamp(2rem, 4vw, 3rem) auto;
    line-height: 1.6;
}

.flagman-yard-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: #ffffff;
    border-radius: 18px;
    min-height: 200px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.flagman-yard-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.flagman-yard-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.flagman-yard-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.flagman-yard-text {
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

@media (max-width: 768px) {
    .flagman-yard-section {
        padding: clamp(2rem, 5vw, 3rem) 0;
    }
    
    .flagman-yard-item {
        min-height: 160px;
        padding: clamp(1rem, 2vw, 1.5rem);
    }
}

@media (max-width: 480px) {
    .flagman-yard-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 12px;
    }
    
    .flagman-yard-text {
        font-size: 0.85rem;
    }
}

/* ========================================
   БЛОК: Расположение ЖК Флагман
   ======================================== */

.flagman-location-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(178, 108, 83, 0.08) 100%);
}

.flagman-location-section .section-subtitle {
    max-width: 1100px;
    margin: 0 auto clamp(2rem, 4vw, 3rem) auto;
    line-height: 1.6;
}

.flagman-location-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    min-height: 200px;
    transition: all 0.3s ease;
}

.flagman-location-item:hover {
    background: #f8f9fa;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.flagman-location-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.flagman-location-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.flagman-location-text {
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

@media (max-width: 768px) {
    .flagman-location-section {
        padding: clamp(2rem, 5vw, 3rem) 0;
    }
    
    .flagman-location-item {
        min-height: 160px;
        padding: clamp(1rem, 2vw, 1.5rem);
    }
}

@media (max-width: 480px) {
    .flagman-location-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 12px;
    }
    
    .flagman-location-text {
        font-size: 0.85rem;
    }
}


/* ============================================
   ЖК Флагман — Блок "Позиция 3.2 / Состав дома"
   Добавить в конец: assets/css/flagman.css
   ============================================ */

.flg-position-info {
    padding: clamp(40px, 5vw, 80px) 0;
    background: #ffffff;
}

.flg-position-info .container-fluid {
    padding-left: clamp(16px, 4vw, 60px);
    padding-right: clamp(16px, 4vw, 60px);
}

/* --- Заголовок --- */
.flg-position-info__title {
    font-family: 'PT Serif', serif;
    font-size: clamp(22px, 2.8vw, 40px);
    font-weight: 700;
    color: var(--flg-dark);
    line-height: 1.25;
    margin-bottom: clamp(6px, 0.6vw, 10px);
}

/* --- Подзаголовок --- */
.flg-position-info__subtitle {
    font-size: clamp(15px, 1.4vw, 20px);
    color: var(--flg-dark);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: clamp(24px, 3vw, 44px);
    opacity: 0.75;
}

/* --- Фото --- */
.flg-position-info__photo {
    display: block;
    width: 100%;
    height: clamp(280px, 38vw, 520px);
    object-fit: cover;
    border-radius: var(--flg-radius);
}

/* --- Плашка со сроками --- */
.flg-position-info__dates {
    background: #f7f4ee;
    border-radius: var(--flg-radius);
    padding: clamp(18px, 2vw, 28px) clamp(20px, 2.5vw, 36px);
    margin-bottom: clamp(24px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1vw, 16px);
}

.flg-position-info__dates-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
}

.flg-position-info__dates-label {
    font-size: clamp(14px, 1.2vw, 17px);
    color: var(--flg-dark);
    opacity: 0.7;
    white-space: nowrap;
}

.flg-position-info__dates-value {
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 700;
    color: var(--flg-dark);
}

/* --- Заголовок "Состав дома" --- */
.flg-position-info__composition-title {
    font-family: 'PT Serif', serif;
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 700;
    color: var(--flg-dark);
    margin-bottom: clamp(16px, 2vw, 28px);
}

/* --- Список квартир --- */
.flg-position-info__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 1.6vw, 22px);
}

/* --- Строка --- */
.flg-position-info__item {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.6vw, 24px);
}

/* --- Бейдж с цифрой --- */
.flg-position-info__badge {
    flex-shrink: 0;
    width: clamp(40px, 4vw, 54px);
    height: clamp(40px, 4vw, 54px);
    background: var(--flg-primary);
    color: #ffffff;
    font-family: 'PT Serif', serif;
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Текст строки --- */
.flg-position-info__item-content {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
}

.flg-position-info__rooms {
    font-size: clamp(15px, 1.3vw, 19px);
    font-weight: 700;
    color: var(--flg-dark);
    margin: 0;
}

.flg-position-info__area {
    font-size: clamp(14px, 1.2vw, 17px);
    color: var(--flg-dark);
    opacity: 0.75;
    margin: 0;
}

/* ============================================
   АДАПТИВ
   ============================================ */

@media (max-width: 991px) {
    .flg-position-info__photo {
        height: clamp(240px, 45vw, 380px);
    }
}

@media (max-width: 576px) {
    .flg-position-info__dates-row {
        flex-direction: column;
        gap: 2px;
    }

    .flg-position-info__photo {
        height: clamp(220px, 60vw, 320px);
    }
}


.wp-block-image.no-style-img img {
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: none !important;
}

.documents-section {
    padding: 60px 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(178, 108, 83, 0.08) 100%) !important;
}