/*
 * AIBlocks — Услуги агентства (uslugi-agentstva-nedvizhimosti) page styles.
 * Scoped to #vtg-u-* per Eugene's TZ 2026-05-21 09:40.
 * 7 blocks: hero / svc (7 cards) / why (6) / team (7) / stats (4) / faq / cta.
 */

#vtg-u-hero, #vtg-u-svc, #vtg-u-why,
#vtg-u-team, #vtg-u-stats, #vtg-u-faq, #vtg-u-cta {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
    font-family: var(--vtg-font);
    color: var(--vtg-color-text);
    -webkit-font-smoothing: antialiased;
}

#vtg-u-hero, #vtg-u-svc, #vtg-u-team, #vtg-u-faq { background: #ffffff; }
#vtg-u-why, #vtg-u-stats { background: var(--vtg-color-bg-light); }
#vtg-u-cta { background: var(--vtg-color-brand) !important; color: #fff !important; }

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

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

/* ─── 1. HERO ─── */
#vtg-u-hero { text-align: center; }
#vtg-u-hero .vtg-u-eyebrow { justify-content: center; margin-left: auto; margin-right: auto; }
#vtg-u-hero .vtg-u-eyebrow::before { display: none; }
#vtg-u-hero .vtg-u-hero-h1 {
    font-size: clamp(32px, 4.6vw, 56px); font-weight: 700;
    color: var(--vtg-color-text); letter-spacing: -1.5px;
    line-height: 1.08; margin: 0 auto 20px; max-width: 920px;
}
#vtg-u-hero .vtg-u-hero-sub {
    font-size: 18px; color: var(--vtg-color-text-muted); line-height: 1.7;
    max-width: 800px; margin: 0 auto 36px;
}
#vtg-u-hero .vtg-u-hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.vtg-u-btn-dark, .vtg-u-btn-light {
    display: inline-flex; align-items: center;
    text-decoration: none !important; font-size: 15px; font-weight: 700;
    padding: 16px 32px; border-radius: 100px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.vtg-u-btn-dark {
    background: var(--vtg-gradient-brand); color: #fff !important;
    box-shadow: 0 6px 16px rgba(31,44,55,0.2);
}
.vtg-u-btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31,44,55,0.30); color: #fff !important; }
.vtg-u-btn-light {
    background: var(--vtg-color-bg-pill); color: var(--vtg-color-brand) !important;
    font-weight: 600;
}
.vtg-u-btn-light:hover { background: var(--vtg-color-divider); transform: translateY(-2px); color: var(--vtg-color-brand) !important; }

/* ─── 2. SERVICES (7 cards) ─── */
#vtg-u-svc .vtg-u-svc-grid {
    display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 40px;
}
#vtg-u-svc .vtg-u-svc-card {
    background: var(--vtg-color-bg-light); border-radius: 16px; padding: 32px 28px;
    text-decoration: none !important; color: var(--vtg-color-text) !important;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex; flex-direction: column;
    flex: 0 1 calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
    box-sizing: border-box;
}
#vtg-u-svc .vtg-u-svc-card:hover {
    transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.08);
    background: #fff;
    color: var(--vtg-color-text) !important;
}
#vtg-u-svc .vtg-u-svc-ico {
    width: 44px; height: 44px;
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
#vtg-u-svc .vtg-u-svc-ico svg { width: 22px; height: 22px; fill: #fff; }
#vtg-u-svc .vtg-u-svc-card h3 {
    font-size: 17px; font-weight: 700; color: var(--vtg-color-text); margin: 0 0 10px;
}
#vtg-u-svc .vtg-u-svc-card p {
    font-size: 14px; color: var(--vtg-color-text-muted); line-height: 1.65; margin: 0 0 16px;
    flex: 1;
}
#vtg-u-svc .vtg-u-svc-more {
    font-size: 14px; font-weight: 600; color: var(--vtg-color-brand);
    display: inline-flex; align-items: center; gap: 6px;
    transition: gap 0.2s, color 0.2s;
}
#vtg-u-svc .vtg-u-svc-card:hover .vtg-u-svc-more {
    color: var(--vtg-color-accent);
    gap: 10px;
}

/* ─── 3. WHY (6 cards) ─── */
#vtg-u-why .vtg-u-why-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px;
}
#vtg-u-why .vtg-u-why-card {
    background: #fff; border-radius: 16px; padding: 36px 32px;
    border: 1px solid var(--vtg-color-divider);
    transition: transform 0.2s, box-shadow 0.2s;
}
#vtg-u-why .vtg-u-why-card:hover {
    transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}
#vtg-u-why .vtg-u-why-ico {
    width: 52px; height: 52px;
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
}
#vtg-u-why .vtg-u-why-ico svg { width: 26px; height: 26px; fill: #fff; }
#vtg-u-why .vtg-u-why-card h3 {
    font-size: 18px; font-weight: 700; color: var(--vtg-color-text);
    margin: 0 0 12px; letter-spacing: -0.3px;
}
#vtg-u-why .vtg-u-why-card p {
    font-size: 15px; color: var(--vtg-color-text-muted); line-height: 1.65; margin: 0;
}

/* ─── 4. TEAM (7 cards) ─── */
#vtg-u-team .vtg-u-team-grid {
    display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 40px;
}
#vtg-u-team .vtg-u-team-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    border: 1px solid var(--vtg-color-divider);
    text-decoration: none !important; color: var(--vtg-color-text) !important;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex; flex-direction: column;
    flex: 0 1 calc((100% - 60px) / 4);
    max-width: calc((100% - 60px) / 4);
    box-sizing: border-box;
}
#vtg-u-team .vtg-u-team-card:hover {
    transform: translateY(-4px); box-shadow: 0 16px 44px rgba(0,0,0,0.08);
    color: var(--vtg-color-text) !important;
}
#vtg-u-team .vtg-u-team-photo {
    aspect-ratio: 1/1; overflow: hidden; background: var(--vtg-color-bg-light);
}
#vtg-u-team .vtg-u-team-photo img {
    width: 100%; height: 100%; object-fit: cover; object-position: center top;
    display: block;
}
#vtg-u-team .vtg-u-team-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
#vtg-u-team .vtg-u-team-card h3 {
    font-size: 17px; font-weight: 700; color: var(--vtg-color-text);
    margin: 0 0 6px; letter-spacing: -0.3px;
}
#vtg-u-team .vtg-u-team-role {
    font-size: 13px; color: var(--vtg-color-text-muted); margin: 0 0 10px;
}
#vtg-u-team .vtg-u-team-city {
    font-size: 13px; font-weight: 600; color: var(--vtg-color-brand); margin: 0 0 10px;
    display: inline-flex; align-items: center; gap: 6px;
}
#vtg-u-team .vtg-u-team-city::before {
    content: '📍';
}
#vtg-u-team .vtg-u-team-spec {
    font-size: 13px; color: var(--vtg-color-text-sub); line-height: 1.5; margin: 0;
}

/* ─── 5. STATS (4 facts) ─── */
#vtg-u-stats .vtg-u-stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: #e0e0e5; border-radius: 20px; overflow: hidden; margin-top: 40px;
}
#vtg-u-stats .vtg-u-stat {
    background: #fff; padding: 40px 28px; text-align: center;
}
#vtg-u-stats .vtg-u-stat strong {
    display: block;
    font-size: clamp(28px, 3vw, 42px); font-weight: 700;
    color: var(--vtg-color-text); letter-spacing: -1.5px; line-height: 1;
    margin-bottom: 12px;
}
#vtg-u-stats .vtg-u-stat strong sup { font-size: 0.5em; vertical-align: super; opacity: 0.5; }
#vtg-u-stats .vtg-u-stat p {
    font-size: 13px; color: var(--vtg-color-text-muted); line-height: 1.5; margin: 0;
}
#vtg-u-stats .vtg-u-stat p a {
    color: var(--vtg-color-brand) !important; text-decoration: underline;
}

/* ─── 6. FAQ ─── */
#vtg-u-faq .vtg-u-faq-list { max-width: 880px; margin: 36px auto 0; }
#vtg-u-faq .vtg-u-faq-item {
    background: #fff; border: 1px solid var(--vtg-color-divider);
    border-radius: 14px; margin-bottom: 12px; overflow: hidden;
    transition: box-shadow 0.2s;
}
#vtg-u-faq .vtg-u-faq-item:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.04); }
#vtg-u-faq .vtg-u-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-u-faq .vtg-u-faq-q-text {
    font-size: 16px; font-weight: 600; color: var(--vtg-color-text); line-height: 1.5;
}
#vtg-u-faq .vtg-u-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-u-faq .vtg-u-faq-icon svg { width: 16px; height: 16px; fill: var(--vtg-color-brand); }
#vtg-u-faq .vtg-u-faq-item.open .vtg-u-faq-icon { transform: rotate(45deg); background: var(--vtg-color-brand); }
#vtg-u-faq .vtg-u-faq-item.open .vtg-u-faq-icon svg { fill: #fff; }
#vtg-u-faq .vtg-u-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
#vtg-u-faq .vtg-u-faq-item.open .vtg-u-faq-a { max-height: 1000px; }
#vtg-u-faq .vtg-u-faq-a-inner {
    padding: 0 28px 24px; font-size: 15px; line-height: 1.7; color: var(--vtg-color-text-muted);
}

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

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    #vtg-u-hero, #vtg-u-svc, #vtg-u-why,
    #vtg-u-team, #vtg-u-stats, #vtg-u-faq, #vtg-u-cta {
        padding-top: 60px !important; padding-bottom: 60px !important;
    }
    .vtg-u-wrap { padding: 0 16px; }
    #vtg-u-svc .vtg-u-svc-card { flex-basis: calc((100% - 20px) / 2); max-width: calc((100% - 20px) / 2); }
    #vtg-u-why .vtg-u-why-grid { grid-template-columns: 1fr; }
    #vtg-u-team .vtg-u-team-card { flex-basis: calc((100% - 20px) / 2); max-width: calc((100% - 20px) / 2); }
    #vtg-u-stats .vtg-u-stats-grid { grid-template-columns: repeat(2, 1fr); }
    #vtg-u-cta .vtg-u-cta-contacts { flex-direction: column; gap: 18px; }
    #vtg-u-cta .vtg-u-cta-phone { font-size: 20px; }
}
@media (max-width: 560px) {
    #vtg-u-svc .vtg-u-svc-card { flex-basis: 100%; max-width: 100%; }
    #vtg-u-team .vtg-u-team-card { flex-basis: 100%; max-width: 100%; }
    #vtg-u-stats .vtg-u-stats-grid { grid-template-columns: 1fr; }
    #vtg-u-cta .vtg-u-cta-btns { flex-direction: column; align-items: center; }
    #vtg-u-cta .vtg-u-cta-btn-main, #vtg-u-cta .vtg-u-cta-btn-sec {
        width: 100%; justify-content: center;
    }
}
