/*
 * AIBlocks — homepage styles. Scoped to #vtg-home-* section ids.
 * Uses tokens from common.css (--vtg-color-*).
 */

/* ─── 0. HERO ─── */
#vtg-home-hero {
    position: relative;
    min-height: 420px;
    display: flex; align-items: center;
    padding: 100px 0 80px !important;
    background: #1f2c37 url('https://vtgroup-realestate.com/wp-content/uploads/2022/10/contact_banner-1.jpg') center/cover no-repeat;
    color: #fff;
    overflow: hidden;
    font-family: var(--vtg-font);
    -webkit-font-smoothing: antialiased;
}
#vtg-home-hero .vtg-h-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,24,32,0.55) 0%, rgba(15,24,32,0.75) 100%);
    z-index: 1;
}
#vtg-home-hero .vtg-h-hero-inner {
    position: relative; z-index: 2;
}
#vtg-home-hero .vtg-h-hero-title {
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin: 0 0 20px;
    max-width: 880px;
}
#vtg-home-hero .vtg-h-hero-lead {
    font-size: clamp(15px, 1.6vw, 18px);
    color: rgba(255,255,255,0.85);
    line-height: 1.55;
    margin: 0 0 28px;
    max-width: 720px;
}
#vtg-home-hero .vtg-h-hero-badges {
    display: flex; flex-wrap: wrap; gap: 10px;
}
#vtg-home-hero .vtg-h-hero-badge {
    display: inline-flex; align-items: center;
    width: fit-content;
    padding: 8px 18px;
    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);
    text-decoration: none;
    transition: background 0.2s;
}
#vtg-home-hero .vtg-h-hero-badge:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
#vtg-home-hero .vtg-h-hero-star {
    color: #fbbc04;
    margin-right: 4px;
    font-size: 15px;
}

@media (max-width: 720px) {
    #vtg-home-hero {
        min-height: 320px;
        padding: 70px 0 50px !important;
    }
    #vtg-home-hero .vtg-h-hero-title {
        letter-spacing: -0.5px;
    }
}

/* ─── Shared section layout ─── */
/* ЕДИНЫЙ вертикальный отступ всех секций главной = 60px сверху и снизу
   (Eugene ТЗ 2026-06-17: одинаковые отступы между всеми блоками). */
#vtg-home-about, #vtg-home-why, #vtg-home-stats, #vtg-home-services,
#vtg-home-cities-v2, #vtg-home-faq, #vtg-home-team, #vtg-home-msg, #vtg-home-cta {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    font-family: var(--vtg-font);
    color: var(--vtg-color-text);
    -webkit-font-smoothing: antialiased;
}

/* Listivo widget-секции (карусель городов, каталог объявлений, блог) — тот же
   ритм: переводим с margin на padding, чтобы отступы не схлопывались и были
   одинаковы со всеми остальными секциями. */
body.home .elementor-section:has(> .elementor-container > .elementor-column > .elementor-widget-wrap > .elementor-widget-lst_listing_list_with_tabs),
body.home .elementor-section:has(> .elementor-container > .elementor-column > .elementor-widget-wrap > .elementor-widget-lst_blog_posts_v2),
body.home .elementor-section:has(> .elementor-container > .elementor-column > .elementor-widget-wrap > .elementor-widget-lst_term_carousel) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}
.vtg-h-section.vtg-h-section-gray { background: var(--vtg-color-bg-light); }
.vtg-h-section.vtg-h-section-dark { background: var(--vtg-color-brand); color: #fff; }

.vtg-h-wrap { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

.vtg-h-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);
    opacity: 0.4; margin-bottom: 16px;
}
.vtg-h-eyebrow::before {
    content: ''; width: 28px; height: 1px; background: var(--vtg-color-brand); display: block;
}
.vtg-h-title {
    font-size: clamp(28px, 3.5vw, 44px); font-weight: 700;
    color: var(--vtg-color-text); letter-spacing: -1px;
    line-height: 1.1; margin: 0 0 14px;
}
.vtg-h-subtitle {
    font-size: 17px; color: var(--vtg-color-text-muted);
    margin: 0 0 48px; line-height: 1.6;
}

/* ─── BLOCK 2: ABOUT + VIDEO ─── */
#vtg-home-about .vtg-h-about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
#vtg-home-about .vtg-h-lead {
    font-size: 17px; color: var(--vtg-color-text-muted);
    line-height: 1.75; margin: 0 0 28px;
}
#vtg-home-about .vtg-h-langs {
    list-style: none; padding: 0; margin: 0 0 32px;
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center;
}
#vtg-home-about .vtg-h-langs li {
    font-size: 13px; font-weight: 600; padding: 6px 14px;
    background: var(--vtg-color-bg-pill); border-radius: 100px; color: var(--vtg-color-brand);
}
.vtg-h-btn-dark {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--vtg-color-brand); color: #fff !important;
    text-decoration: none !important; font-weight: 600; font-size: 15px;
    padding: 15px 28px; border-radius: 12px;
    transition: transform 0.15s, box-shadow 0.15s;
}
.vtg-h-btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(30,37,53,0.25);
    color: #fff !important;
}

/* YouTube preview (no iframe until click) */
#vtg-home-about .vtg-h-about-video {
    position: relative; border-radius: 20px; overflow: hidden;
    aspect-ratio: 16/9; background: #000;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    cursor: pointer;
}
#vtg-home-about .vtg-h-video-thumb {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.4s, filter 0.2s;
}
#vtg-home-about .vtg-h-about-video:hover .vtg-h-video-thumb {
    transform: scale(1.03); filter: brightness(0.85);
}
#vtg-home-about .vtg-h-video-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: transparent; border: 0; padding: 0; cursor: pointer;
    width: 96px; height: 68px;
    transition: transform 0.2s;
}
#vtg-home-about .vtg-h-video-play svg { width: 100%; height: 100%; display: block; }
#vtg-home-about .vtg-h-about-video:hover .vtg-h-video-play { transform: translate(-50%, -50%) scale(1.08); }
#vtg-home-about .vtg-h-about-video iframe {
    width: 100%; height: 100%; border: 0; display: block;
    position: absolute; inset: 0;
}

/* ─── BLOCK 3: STATS ─── */
#vtg-home-stats .vtg-h-stats-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
    background: #e0e0e5; border-radius: 20px; overflow: hidden; margin-top: 48px;
}
#vtg-home-stats .vtg-h-stat {
    background: var(--vtg-color-bg-light); padding: 48px 36px; text-align: center;
}
#vtg-home-stats .vtg-h-stat-num {
    font-size: clamp(48px, 5vw, 72px); font-weight: 700;
    color: var(--vtg-color-text); letter-spacing: -3px; line-height: 1;
    margin-bottom: 10px; display: block;
}
#vtg-home-stats .vtg-h-stat-num sup { font-size: 0.4em; vertical-align: super; opacity: 0.5; }
#vtg-home-stats .vtg-h-stat-stars {
    display: block; text-decoration: none !important;
    color: #fbbc04 !important;
    font-size: 36px; letter-spacing: 4px; line-height: 1;
    margin-bottom: 14px;
    transition: opacity 0.18s;
}
#vtg-home-stats .vtg-h-stat-stars:hover { opacity: 0.85; color: #fbbc04 !important; }
#vtg-home-stats .vtg-h-stat-desc {
    font-size: 14px; color: var(--vtg-color-text-sub); margin: 0; line-height: 1.5;
}
#vtg-home-stats .vtg-h-stat-sub {
    font-size: 12px; color: var(--vtg-color-text-sub); margin: 8px 0 0;
    line-height: 1.45; opacity: 0.75;
}
#vtg-home-stats .vtg-h-stat--wide { grid-column: 1 / -1; }
#vtg-home-stats .vtg-h-stats-rating { text-align: center; margin-top: 40px; }

/* ─── BLOCK 4: SERVICES ─── */
#vtg-home-services .vtg-h-services-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 48px;
}
#vtg-home-services .vtg-h-service {
    background: var(--vtg-color-bg-light); border-radius: 16px; padding: 32px 28px;
    display: flex; flex-direction: column;
    width: calc((100% - 40px) / 3);
    text-decoration: none !important; color: inherit !important;
    transition: transform 0.2s, box-shadow 0.2s;
}
#vtg-home-services .vtg-h-service:hover {
    transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.08);
    color: inherit !important;
}
#vtg-home-services .vtg-h-service-ico {
    width: 44px; height: 44px; background: var(--vtg-color-brand);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
#vtg-home-services .vtg-h-service-ico svg { width: 22px; height: 22px; fill: #fff; }
#vtg-home-services .vtg-h-service-name {
    font-size: 17px; font-weight: 700; color: var(--vtg-color-text); margin: 0 0 10px;
}
#vtg-home-services .vtg-h-service-desc {
    font-size: 14px; color: var(--vtg-color-text-muted);
    line-height: 1.65; margin: 0 0 16px; flex: 1;
}
#vtg-home-services .vtg-h-service-link {
    font-size: 13px; font-weight: 600; color: var(--vtg-color-brand); align-self: flex-start;
}

/* ─── BLOCK: CITIES (photo cards, replaces old text-pill bar / Elementor term_carousel) ─── */
#vtg-home-cities-v2 .vtg-h-cities-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px;
}
.vtg-h-city-card {
    position: relative;
    background: var(--vtg-color-bg-light); border-radius: 16px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.vtg-h-city-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.08); }
.vtg-h-city-card-overlay { position: absolute; inset: 0; z-index: 1; }
.vtg-h-city-card-img { position: relative; aspect-ratio: 4/3; background: #e8e8e8; overflow: hidden; }
.vtg-h-city-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.vtg-h-city-card:hover .vtg-h-city-card-img img { transform: scale(1.05); }
.vtg-h-city-card-badge {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    background: rgba(20,24,32,0.65); backdrop-filter: blur(4px);
    color: #fff; font-size: 12px; font-weight: 600;
    padding: 5px 12px; border-radius: 100px;
}
.vtg-h-city-card-body { padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vtg-h-city-card-name { font-size: 16px; font-weight: 700; color: var(--vtg-color-text); }
.vtg-h-city-card-cat {
    position: relative; z-index: 2;
    font-size: 12px; font-weight: 600; color: var(--vtg-color-brand) !important;
    text-decoration: none !important; white-space: nowrap;
}
.vtg-h-city-card-cat:hover { text-decoration: underline !important; }

.vtg-h-city-card--more {
    background: linear-gradient(135deg, var(--vtg-color-brand) 0%, var(--vtg-color-brand-hover) 100%);
    height: 100%;
}
.vtg-h-city-card-more-inner {
    height: 100%; padding: 24px 18px; pointer-events: none;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; gap: 8px;
}
.vtg-h-city-card--more .vtg-h-city-card-badge--more {
    position: static; background: rgba(255,255,255,0.18);
}
.vtg-h-city-card--more .vtg-h-city-card-name { color: #fff; }
.vtg-h-city-card-more-list {
    font-size: 12px; color: rgba(255,255,255,0.75); line-height: 1.5;
}
.vtg-h-city-card--more .vtg-h-city-card-cat { color: #fff !important; }
.vtg-h-city-card--more .vtg-h-city-card-cat:hover { text-decoration: underline !important; }

@media (max-width: 900px) {
    #vtg-home-cities-v2 .vtg-h-cities-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
    #vtg-home-cities-v2 .vtg-h-cities-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .vtg-h-city-card-body { flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 14px; }
    .vtg-h-city-card-more-list { display: none; }
    .vtg-h-city-card-more-inner { padding: 18px 14px; }
}

/* ─── BLOCK 8: FAQ ─── */
#vtg-home-faq .vtg-h-faq-list { max-width: 880px; margin: 0 auto; }
#vtg-home-faq .vtg-h-faq-item {
    background: #fff; border-radius: 14px; margin-bottom: 12px;
    overflow: hidden; border: 1px solid var(--vtg-color-divider);
    transition: box-shadow 0.2s;
}
#vtg-home-faq .vtg-h-faq-item:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.04); }
#vtg-home-faq .vtg-h-faq-q {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    width: 100%; padding: 22px 28px; background: transparent; border: 0;
    text-align: left; cursor: pointer; font-family: inherit;
}
#vtg-home-faq .vtg-h-faq-q-text {
    font-size: 16px; font-weight: 600; color: var(--vtg-color-text); line-height: 1.5;
}
#vtg-home-faq .vtg-h-faq-icon {
    flex-shrink: 0; width: 32px; height: 32px;
    border-radius: 50%; background: var(--vtg-color-bg-pill);
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s, background 0.2s;
}
#vtg-home-faq .vtg-h-faq-icon svg { width: 16px; height: 16px; fill: var(--vtg-color-brand); }
#vtg-home-faq .vtg-h-faq-item.open .vtg-h-faq-icon { transform: rotate(45deg); background: var(--vtg-color-brand); }
#vtg-home-faq .vtg-h-faq-item.open .vtg-h-faq-icon svg { fill: #fff; }
#vtg-home-faq .vtg-h-faq-a {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
#vtg-home-faq .vtg-h-faq-item.open .vtg-h-faq-a { max-height: 800px; }
#vtg-home-faq .vtg-h-faq-a-inner {
    padding: 0 28px 24px; font-size: 15px; line-height: 1.7; color: var(--vtg-color-text-muted);
}

/* ─── BLOCK 9: TEAM ─── */
#vtg-home-team .vtg-h-team-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 48px;
}
#vtg-home-team .vtg-h-member { width: calc(33.333% - 14px); }
#vtg-home-team .vtg-h-member {
    background: var(--vtg-color-bg-light); border-radius: 16px; overflow: hidden;
    display: flex; flex-direction: column;
    text-decoration: none !important; color: inherit !important;
    transition: transform 0.2s, box-shadow 0.2s;
}
#vtg-home-team .vtg-h-member:hover {
    transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.10);
    color: inherit !important;
}
#vtg-home-team .vtg-h-member-img {
    position: relative; overflow: hidden; background: #e8e8e8;
    aspect-ratio: 1 / 1;
}
#vtg-home-team .vtg-h-member-img img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 15%;
    display: block; transition: transform 0.4s;
}
#vtg-home-team .vtg-h-member:hover .vtg-h-member-img img { transform: scale(1.05); }
#vtg-home-team .vtg-h-member-body { padding: 22px; flex: 1; }
#vtg-home-team .vtg-h-member-name {
    font-size: 17px; font-weight: 700; color: var(--vtg-color-text); margin: 0 0 4px;
}
#vtg-home-team .vtg-h-member-role {
    font-size: 13px; color: var(--vtg-color-text-sub); margin: 0 0 12px;
}
#vtg-home-team .vtg-h-member-spec,
#vtg-home-team .vtg-h-member-langs {
    font-size: 12px; color: var(--vtg-color-text-muted); line-height: 1.4; margin: 0 0 6px;
}
#vtg-home-team .vtg-h-member-label {
    font-weight: 600; color: var(--vtg-color-text);
}
#vtg-home-team .vtg-h-member-city {
    display: inline-flex; font-size: 12px; font-weight: 600;
    color: var(--vtg-color-brand); background: var(--vtg-color-divider);
    padding: 4px 10px; border-radius: 100px; margin-top: 6px;
}

/* ─── BLOCK 10: MESSENGERS / SOCIALS ─── */
#vtg-home-msg .vtg-h-msg-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    margin-top: 48px; margin-bottom: 32px;
}
#vtg-home-msg .vtg-h-msg-hero {
    background: linear-gradient(135deg, var(--vtg-color-tg) 0%, var(--vtg-color-tg-hover) 100%);
    color: #fff !important; text-decoration: none !important;
    border-radius: 16px; padding: 24px 28px;
    display: flex; align-items: center; gap: 18px;
    transition: transform 0.2s, box-shadow 0.2s;
}
#vtg-home-msg .vtg-h-msg-hero-alt {
    background: linear-gradient(135deg, var(--vtg-color-brand) 0%, var(--vtg-color-brand-hover) 100%);
}
#vtg-home-msg .vtg-h-msg-hero:hover {
    transform: translateY(-3px); box-shadow: 0 16px 40px rgba(58,166,225,0.35);
    color: #fff !important;
}
#vtg-home-msg .vtg-h-msg-hero-alt:hover { box-shadow: 0 16px 40px rgba(30,37,53,0.35); }
#vtg-home-msg .vtg-h-msg-hero-ico {
    width: 50px; height: 50px; flex-shrink: 0;
    background: rgba(255,255,255,0.18); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
#vtg-home-msg .vtg-h-msg-hero-ico svg { width: 26px; height: 26px; }
#vtg-home-msg .vtg-h-msg-hero-title { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
#vtg-home-msg .vtg-h-msg-hero-desc { font-size: 13px; opacity: 0.9; margin: 0; line-height: 1.5; }
#vtg-home-msg .vtg-h-msg-hero-arrow { margin-left: auto; font-size: 22px; opacity: 0.85; }

#vtg-home-msg .vtg-h-msg-socials {
    display: flex; flex-wrap: wrap; gap: 12px;
    justify-content: center; margin: 0 auto;
    max-width: 360px;
}
#vtg-home-msg .vtg-h-msg-soc {
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}
#vtg-home-msg .vtg-h-msg-soc:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
#vtg-home-msg .vtg-h-msg-soc svg { width: 24px; height: 24px; display: block; }
.vtg-sn-tg { background: var(--vtg-color-tg); }
.vtg-sn-wa { background: var(--vtg-color-wa); }
.vtg-sn-vb { background: var(--vtg-color-viber); }
.vtg-sn-ig { background: var(--vtg-color-ig); }
.vtg-sn-fb { background: var(--vtg-color-fb); }
.vtg-sn-tt { background: var(--vtg-color-tt); }

#vtg-home-msg .vtg-h-msg-cities-title {
    font-size: 14px; font-weight: 600; color: var(--vtg-color-text-sub);
    margin: 40px 0 14px; text-align: center;
}
#vtg-home-msg .vtg-h-msg-cities {
    display: flex; flex-wrap: wrap; gap: 8px;
    justify-content: center;
}
#vtg-home-msg .vtg-h-msg-city {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: var(--vtg-color-brand) !important;
    text-decoration: none !important;
    background: #fff; padding: 8px 14px; border-radius: 100px;
    border: 1px solid var(--vtg-color-divider);
    transition: background 0.2s, color 0.2s, transform 0.15s;
}
#vtg-home-msg .vtg-h-msg-city:hover {
    background: var(--vtg-color-tg); color: #fff !important;
    border-color: var(--vtg-color-tg); transform: translateY(-1px);
}
#vtg-home-msg .vtg-h-msg-city svg {
    width: 14px; height: 14px; fill: var(--vtg-color-tg);
    transition: fill 0.2s;
}
#vtg-home-msg .vtg-h-msg-city:hover svg { fill: #fff; }

/* ─── BLOCK: BLOG (Listivo lst_blog_posts_v2 widget, homepage only) ───
   The widget's own template renders two "Смотреть все" buttons — one next to
   the heading (shown ≥1025px), one after the cards (shown ≤1024px, class is
   literally "...__mobile-button") — normally mutually exclusive by viewport.
   Eugene wants only the bottom position, on every screen size (2026-08-04
   ТЗ). Scoped to this homepage section only — the same widget type may be
   reused elsewhere with the theme's default behaviour intact. */
.elementor-element-f2021e19 .listivo-blog-posts-v2__button { display: none !important; }
.elementor-element-f2021e19 .listivo-blog-posts-v2__mobile-button { display: flex !important; }

/* ─── BLOCK 12: CTA ─── */
#vtg-home-cta { text-align: center; margin-top: 60px; margin-bottom: 60px; }
#vtg-home-cta .vtg-h-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.35); margin-bottom: 24px;
}
#vtg-home-cta .vtg-h-cta-eyebrow::before, #vtg-home-cta .vtg-h-cta-eyebrow::after {
    content: ''; width: 24px; height: 1px; background: rgba(255,255,255,0.2); display: block;
}
#vtg-home-cta .vtg-h-cta-title {
    font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: #fff;
    letter-spacing: -1px; margin: 0 0 16px;
}
#vtg-home-cta .vtg-h-cta-subtitle {
    font-size: 17px; color: rgba(255,255,255,0.6); margin: 0 0 40px;
}
#vtg-home-cta .vtg-h-cta-btns {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
#vtg-home-cta .vtg-h-cta-btn-main {
    display: inline-flex; align-items: center;
    background: #fff; color: var(--vtg-color-brand) !important;
    text-decoration: none !important; font-size: 15px; font-weight: 700;
    padding: 16px 36px; border-radius: 100px;
    transition: transform 0.2s, box-shadow 0.2s;
}
#vtg-home-cta .vtg-h-cta-btn-main:hover {
    transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.3);
    color: var(--vtg-color-brand) !important;
}
#vtg-home-cta .vtg-h-cta-btn-sec {
    display: inline-flex; align-items: center;
    background: rgba(255,255,255,0.08); color: #fff !important;
    text-decoration: none !important; font-size: 15px; font-weight: 600;
    padding: 16px 36px; border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: background 0.2s, transform 0.2s;
}
#vtg-home-cta .vtg-h-cta-btn-sec:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); color: #fff !important; }
#vtg-home-cta .vtg-h-cta-divider {
    height: 1px; background: rgba(255,255,255,0.1); margin: 48px auto; max-width: 600px;
}
#vtg-home-cta .vtg-h-cta-contacts {
    display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap;
}
#vtg-home-cta .vtg-h-cta-phone {
    font-size: 24px; font-weight: 700; color: #fff !important;
    text-decoration: none !important; letter-spacing: -0.5px;
}
#vtg-home-cta .vtg-h-cta-socials { display: flex; gap: 12px; }
#vtg-home-cta .vtg-h-cta-socials a {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.18s;
}
#vtg-home-cta .vtg-h-cta-socials a:hover { transform: translateY(-3px); }
#vtg-home-cta .vtg-h-cta-socials a svg { width: 22px; height: 22px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    #vtg-home-about, #vtg-home-stats, #vtg-home-services, #vtg-home-cities-v2,
    #vtg-home-faq, #vtg-home-team, #vtg-home-msg, #vtg-home-cta {
        padding-top: 60px !important; padding-bottom: 60px !important;
    }
    .vtg-h-wrap { padding: 0 16px; }
    #vtg-home-about .vtg-h-about-grid { grid-template-columns: 1fr; gap: 32px; }
    #vtg-home-stats .vtg-h-stats-grid { grid-template-columns: repeat(2, 1fr); }
    #vtg-home-services .vtg-h-service { width: calc((100% - 20px) / 2); }
    #vtg-home-team .vtg-h-member { width: calc(50% - 10px); }
    .vtg-h-why-grid { grid-template-columns: repeat(2, 1fr); }
    #vtg-home-msg .vtg-h-msg-grid { grid-template-columns: 1fr; gap: 12px; }
    #vtg-home-msg .vtg-h-msg-soc { width: 46px; height: 46px; }
    #vtg-home-msg .vtg-h-msg-soc svg { width: 22px; height: 22px; }
    #vtg-home-faq .vtg-h-faq-q { padding: 18px 20px; }
    #vtg-home-faq .vtg-h-faq-q-text { font-size: 15px; }
    #vtg-home-faq .vtg-h-faq-a-inner { padding: 0 20px 20px; font-size: 14px; }
    #vtg-home-cta .vtg-h-cta-contacts { flex-direction: column; gap: 18px; }
    #vtg-home-cta .vtg-h-cta-phone { font-size: 20px; }
}
/* ─── WHY VT GROUP ─── */
/* Background now alternates via .vtg-h-section-gray on the section tag itself
   (2026-08-04 reorder: About white → Services gray → Why white → Stats gray
   → Cities white), not this fixed override. */
.vtg-h-why-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px;
}
.vtg-h-why-item {
    background: #fff; border-radius: 16px; padding: 32px 28px;
    border: 1px solid var(--vtg-color-divider, #e8e8e8);
    transition: transform 0.2s, box-shadow 0.2s;
}
.vtg-h-why-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.vtg-h-why-ico {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--vtg-gradient-brand); display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.vtg-h-why-ico svg { width: 24px; height: 24px; fill: #fff; }
.vtg-h-why-name { font-size: 17px; font-weight: 600; color: var(--vtg-color-text); margin: 0 0 8px; }
.vtg-h-why-desc { font-size: 14px; color: var(--vtg-color-text-muted); line-height: 1.5; margin: 0; }

/* Compact variant (Eugene ТЗ 2026-08-04): ~25% shorter cards, tighter gaps */
.vtg-h-why-grid--compact { gap: 18px; margin-top: 32px; }
.vtg-h-why-grid--compact .vtg-h-why-item { padding: 24px 22px; }
.vtg-h-why-grid--compact .vtg-h-why-ico { width: 40px; height: 40px; margin-bottom: 12px; }
.vtg-h-why-grid--compact .vtg-h-why-ico svg { width: 20px; height: 20px; }

@media (max-width: 560px) {
    #vtg-home-services .vtg-h-service { width: 100%; }
    #vtg-home-team .vtg-h-member { width: 100%; }
    #vtg-home-stats .vtg-h-stat { padding: 28px 16px; }
    #vtg-home-stats .vtg-h-stat-num { font-size: 40px; letter-spacing: -1.5px; }
    #vtg-home-cta .vtg-h-cta-btns { flex-direction: column; align-items: center; }
    #vtg-home-cta .vtg-h-cta-btn-main, #vtg-home-cta .vtg-h-cta-btn-sec { width: 100%; justify-content: center; }
    .vtg-h-why-grid { grid-template-columns: 1fr; }
}

/* Spacing between reviews (Trustindex) and FAQ */
#vtg-home-faq { margin-top: 60px; }

/* Team grid on non-home pages (warszawa, uslugi, about, contact) */
#vt-warszawa-komanda .vtg-h-team-grid,
#vtg-u-team .vtg-h-team-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
#vt-warszawa-komanda .vtg-h-member,
#vtg-u-team .vtg-h-member { width: calc(33.333% - 14px); }
#vt-warszawa-komanda .vtg-h-member,
#vtg-u-team .vtg-h-member { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.06); text-decoration: none !important; color: inherit !important; transition: transform 0.25s, box-shadow 0.25s; }
#vt-warszawa-komanda .vtg-h-member:hover,
#vtg-u-team .vtg-h-member:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
#vt-warszawa-komanda .vtg-h-member-img,
#vtg-u-team .vtg-h-member-img { aspect-ratio: 1; overflow: hidden; }
#vt-warszawa-komanda .vtg-h-member-img img,
#vtg-u-team .vtg-h-member-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform 0.4s; display: block; }
#vt-warszawa-komanda .vtg-h-member:hover .vtg-h-member-img img,
#vtg-u-team .vtg-h-member:hover .vtg-h-member-img img { transform: scale(1.05); }
#vt-warszawa-komanda .vtg-h-member-body,
#vtg-u-team .vtg-h-member-body { padding: 22px; flex: 1; }
#vt-warszawa-komanda .vtg-h-member-name,
#vtg-u-team .vtg-h-member-name { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: var(--vtg-color-text); }
#vt-warszawa-komanda .vtg-h-member-role,
#vtg-u-team .vtg-h-member-role { font-size: 14px; color: var(--vtg-color-text-muted); margin: 0 0 10px; }
#vt-warszawa-komanda .vtg-h-member-spec,
#vt-warszawa-komanda .vtg-h-member-langs,
#vtg-u-team .vtg-h-member-spec,
#vtg-u-team .vtg-h-member-langs { font-size: 13px; color: var(--vtg-color-text-muted); margin: 0 0 4px; }
#vt-warszawa-komanda .vtg-h-member-label,
#vtg-u-team .vtg-h-member-label { font-weight: 600; color: var(--vtg-color-text); }
@media (max-width: 900px) {
    #vt-warszawa-komanda .vtg-h-member,
    #vtg-u-team .vtg-h-member { width: calc(50% - 10px); }
}
@media (max-width: 560px) {
    #vt-warszawa-komanda .vtg-h-member,
    #vtg-u-team .vtg-h-member { width: 100%; }
}

/* ─── CURATED LISTINGS GRID (Block 7) ─── */
.vtg-h-listings-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
    margin-top: 40px;
}
.vtg-h-listing-card {
    flex: 0 0 calc((100% - 60px) / 4);
    max-width: calc((100% - 60px) / 4);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    transition: transform .25s ease, box-shadow .25s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.vtg-h-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,.12);
}
.vtg-h-listing-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f0f2f5;
}
.vtg-h-listing-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.vtg-h-listing-card:hover .vtg-h-listing-img img {
    transform: scale(1.05);
}
.vtg-h-listing-info {
    padding: 16px 18px 20px;
}
.vtg-h-listing-name {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0;
    line-height: 1.35;
}
.vtg-h-listings-more {
    text-align: center;
    margin-top: 40px;
}
@media (max-width: 1024px) {
    .vtg-h-listing-card {
        flex: 0 0 calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }
}
@media (max-width: 767px) {
    .vtg-h-listings-grid { gap: 16px; }
    .vtg-h-listing-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
