/*
 * AIBlocks — District page styles (vtg-d-* prefix).
 * Used by /warszawa-mokotow/ and future district pages.
 */

/* ─── 1. HERO ─── */
#vtg-district-hero {
    position: relative;
    min-height: 340px;
    display: flex; align-items: flex-end;
    padding: 80px 0 56px !important;
    background: #1f2c37 url('https://vtgroup-realestate.com/wp-content/uploads/2026/05/mokotow-hero.jpg') center/cover no-repeat;
    color: #fff;
    overflow: hidden;
}
#vtg-district-hero .vtg-d-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,24,32,0.5) 0%, rgba(15,24,32,0.75) 100%);
    z-index: 1;
}
#vtg-district-hero .vtg-d-hero-wrap {
    position: relative; z-index: 2;
}
#vtg-district-hero .vtg-d-hero-crumbs {
    font-size: 13px; color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 8px;
}
#vtg-district-hero .vtg-d-hero-crumbs a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}
#vtg-district-hero .vtg-d-hero-crumbs a:hover { color: #fff; }
#vtg-district-hero .vtg-d-hero-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: #fff;
    line-height: 1.12;
    letter-spacing: -1.2px;
    margin: 0 0 16px;
    max-width: 820px;
}
#vtg-district-hero .vtg-d-hero-h2 {
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    letter-spacing: -0.3px;
    margin: 0 0 14px;
    max-width: 720px;
}
#vtg-district-hero .vtg-d-hero-lead {
    font-size: clamp(14px, 1.5vw, 17px);
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    margin: 0 0 20px;
    max-width: 680px;
}
#vtg-district-hero .vtg-d-hero-meta {
    display: flex; flex-wrap: wrap; gap: 10px;
}
#vtg-district-hero .vtg-d-hero-badge {
    display: inline-flex; align-items: center;
    width: fit-content;
    padding: 7px 14px;
    line-height: 18px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    font-size: 13px; font-weight: 600;
    color: #fff;
    backdrop-filter: blur(6px);
}
.vtg-d-hero-badge-link > span {
    color: #fbbc04;
    font-size: 15px;
    margin-right: 4px;
}

@media (max-width: 720px) {
    #vtg-district-hero { min-height: 260px; padding: 56px 0 36px !important; }
}

/* ─── Shared ─── */
.vtg-d-wrap {
    max-width: 1200px; margin: 0 auto; padding: 0 32px;
}
.vtg-d-section {
    padding: 80px 0 !important; background: #fff;
}
.vtg-d-section-alt {
    background: var(--vtg-color-bg-light, #f7f8fa) !important;
}
.vtg-d-section-dark {
    background: #1e2535 !important; color: #fff !important;
    margin-bottom: 0 !important;
}
/* Отступ последнего блока от футера Listivo */
#vtg-district-cta {
    padding-bottom: 120px !important;
    margin-bottom: 60px !important;
}
.vtg-d-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 600; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--vtg-color-brand, #1f2c37);
    margin-bottom: 16px;
}
.vtg-d-eyebrow::before {
    content: ''; width: 28px; height: 1px; background: var(--vtg-color-brand, #1f2c37); display: block;
}
.vtg-d-title {
    font-size: clamp(26px, 3.2vw, 40px); font-weight: 700;
    color: var(--vtg-color-text, #1d1d1f); letter-spacing: -0.8px;
    line-height: 1.15; margin: 0 0 24px;
}

/* ─── 2. CONTENT / ARTICLE ─── */
.vtg-d-article {
    max-width: 780px; margin: 0 auto;
}
.vtg-d-article h2 {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 700;
    color: var(--vtg-color-text, #1d1d1f);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin: 48px 0 16px;
}
.vtg-d-article h2:first-of-type {
    margin-top: 0;
}
.vtg-d-article p {
    font-size: 16px; line-height: 1.7;
    color: var(--vtg-color-text, #1d1d1f);
    margin: 0 0 16px;
}
.vtg-d-intro {
    font-size: 18px !important; line-height: 1.65 !important;
    color: var(--vtg-color-text, #1d1d1f);
}
.vtg-d-article ul {
    list-style: none;
    margin: 0 0 16px; padding: 0;
}
.vtg-d-article ul li {
    position: relative;
    font-size: 16px; line-height: 1.6;
    color: var(--vtg-color-text, #1d1d1f);
    padding: 0 0 0 22px; margin: 0 0 8px;
}
.vtg-d-article ul li::before {
    content: ""; position: absolute;
    left: 4px; top: 10px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--vtg-color-accent, #3aa6e1);
}
.vtg-d-article a {
    color: var(--vtg-color-accent, #3aa6e1);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.vtg-d-article a:hover {
    border-bottom-color: var(--vtg-color-accent, #3aa6e1);
}

/* Blockquote */
.vtg-d-quote {
    margin: 32px 0;
    padding: 24px 28px;
    background: var(--vtg-color-bg-light, #f7f8fa);
    border-left: 4px solid var(--vtg-color-accent, #3aa6e1);
    border-radius: 0 12px 12px 0;
}
.vtg-d-quote p {
    font-size: 17px !important; font-weight: 500;
    font-style: italic;
    color: var(--vtg-color-text, #1d1d1f);
    margin: 0 !important;
}

/* Sub-districts list */
.vtg-d-subdistricts {
    list-style: none; padding: 0; margin: 0 0 20px;
}
.vtg-d-subdistricts li {
    position: relative;
    padding: 14px 0 14px 20px;
    font-size: 16px; line-height: 1.6;
    color: var(--vtg-color-text, #1d1d1f);
    border-bottom: 1px solid var(--vtg-color-divider, #e8e8e8);
}
.vtg-d-subdistricts li:last-child { border-bottom: none; }
.vtg-d-subdistricts li::before {
    content: '';
    position: absolute; left: 0; top: 22px;
    width: 6px; height: 6px;
    background: var(--vtg-color-accent, #3aa6e1);
    border-radius: 50%;
}
.vtg-d-subdistricts li strong {
    font-weight: 700; color: var(--vtg-color-text, #1d1d1f);
}

/* Note */
.vtg-d-note {
    font-size: 14px !important;
    color: var(--vtg-color-text-muted, #666) !important;
}

/* ─── 3. FAQ ─── */
.vtg-d-faq-head {
    text-align: center; margin-bottom: 40px;
}
.vtg-d-faq-head .vtg-d-eyebrow {
    justify-content: center; margin-left: auto; margin-right: auto;
}
.vtg-d-faq-list {
    max-width: 780px; margin: 0 auto;
}
.vtg-d-faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
    border: 1px solid var(--vtg-color-divider, #e8e8e8);
    transition: box-shadow 0.2s;
}
.vtg-d-faq-item[open] {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-color: transparent;
}
.vtg-d-faq-q {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 16px; font-weight: 600;
    color: var(--vtg-color-text, #1d1d1f);
    list-style: none;
    -webkit-user-select: none; user-select: none;
}
.vtg-d-faq-q::-webkit-details-marker { display: none; }
.vtg-d-faq-q-text { flex: 1; }
.vtg-d-faq-icon {
    position: relative;
    width: 22px; height: 22px; flex-shrink: 0;
    border-radius: 50%;
    background: var(--vtg-color-bg-light, #f7f8fa);
    transition: transform 0.25s, background 0.25s;
}
.vtg-d-faq-icon::before,
.vtg-d-faq-icon::after {
    content: ''; position: absolute;
    top: 50%; left: 50%;
    width: 10px; height: 2px;
    background: var(--vtg-color-text, #1d1d1f);
    border-radius: 1px;
    transform: translate(-50%, -50%);
    transition: transform 0.25s;
}
.vtg-d-faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.vtg-d-faq-item[open] .vtg-d-faq-icon {
    background: var(--vtg-color-accent, #3aa6e1);
}
.vtg-d-faq-item[open] .vtg-d-faq-icon::before,
.vtg-d-faq-item[open] .vtg-d-faq-icon::after {
    background: #fff;
}
.vtg-d-faq-item[open] .vtg-d-faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}
.vtg-d-faq-a {
    padding: 0 24px 22px;
    font-size: 15px; line-height: 1.65;
    color: var(--vtg-color-text-muted, #666);
}
.vtg-d-faq-a p { margin: 0; color: inherit; font-size: inherit; }
.vtg-d-faq-a a {
    color: var(--vtg-color-accent, #3aa6e1); text-decoration: none;
}

@media (max-width: 720px) {
    .vtg-d-faq-q { padding: 16px 18px; font-size: 15px; }
    .vtg-d-faq-a { padding: 0 18px 18px; font-size: 14px; }
}

/* ─── 4. CTA ─── */
#vtg-district-cta { text-align: center; }
#vtg-district-cta .vtg-d-cta-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 600; letter-spacing: 2.5px;
    text-transform: uppercase; color: rgba(255,255,255,0.6);
    margin-bottom: 18px; justify-content: center;
}
#vtg-district-cta .vtg-d-cta-eyebrow::before,
#vtg-district-cta .vtg-d-cta-eyebrow::after {
    content: ''; width: 28px; height: 1px; background: rgba(255,255,255,0.25); display: block;
}
#vtg-district-cta .vtg-d-cta-title {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 700; letter-spacing: -1px;
    line-height: 1.12; margin: 0 0 16px;
    color: #fff;
}
#vtg-district-cta .vtg-d-cta-subtitle {
    font-size: 16px; line-height: 1.6;
    color: rgba(255,255,255,0.75);
    max-width: 640px; margin: 0 auto 32px;
}
#vtg-district-cta .vtg-d-cta-btns {
    display: flex; gap: 12px;
    justify-content: center; flex-wrap: wrap;
    margin-bottom: 32px;
}
#vtg-district-cta .vtg-d-cta-btn-main {
    display: inline-flex; align-items: center;
    padding: 14px 32px;
    background: #fff; color: #1e2535;
    font-size: 15px; font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
#vtg-district-cta .vtg-d-cta-btn-main:hover {
    background: #f0f2f5;
    transform: translateY(-1px);
}
#vtg-district-cta .vtg-d-cta-btn-sec {
    display: inline-flex; align-items: center;
    padding: 14px 32px;
    background: transparent;
    color: #fff;
    font-size: 15px; font-weight: 600;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.3);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}
#vtg-district-cta .vtg-d-cta-btn-sec:hover {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.06);
}
#vtg-district-cta .vtg-d-cta-divider {
    width: 40px; height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 0 auto 24px;
}
#vtg-district-cta .vtg-d-cta-contacts {
    display: flex; align-items: center; justify-content: center; gap: 24px;
}
#vtg-district-cta .vtg-d-cta-phone {
    font-size: 22px; font-weight: 600;
    color: #fff; text-decoration: none;
    letter-spacing: 0.5px;
}
#vtg-district-cta .vtg-d-cta-socials {
    display: flex; gap: 12px;
}
#vtg-district-cta .vtg-d-cta-socials a {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: background 0.2s;
}
#vtg-district-cta .vtg-d-cta-socials a:hover {
    background: rgba(255,255,255,0.2);
}
#vtg-district-cta .vtg-d-cta-socials svg { width: 22px; height: 22px; }

@media (max-width: 720px) {
    .vtg-d-section { padding: 56px 0 !important; }
    .vtg-d-wrap { padding: 0 20px; }
    #vtg-district-cta .vtg-d-cta-contacts { flex-direction: column; gap: 16px; }
    #vtg-district-cta .vtg-d-cta-phone { font-size: 20px; }
    #vtg-district-cta .vtg-d-cta-btns { flex-direction: column; align-items: center; }
    #vtg-district-cta .vtg-d-cta-btn-main,
    #vtg-district-cta .vtg-d-cta-btn-sec { width: 100%; justify-content: center; max-width: 320px; }
    .vtg-d-article h2 { margin-top: 36px; }
}
