/* ==========================================================================
   Vittur.by — Главная page-specific styles
   Подключается ПОСЛЕ vittur-shared.css. Содержит только стили,
   уникальные для главной страницы (hero с большим heading, teasers).
   ========================================================================== */

/* ========== HOME HERO ========== */
.hero {
    padding: 160px 0 100px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 .arrow {
    color: var(--accent);
    margin: 0 8px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 6px;
    font-weight: 500;
}

/* ========== TEASERS (preview cards) ========== */
.teasers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.teaser-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-decoration: none;
    color: var(--text-primary);
}

.teaser-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity var(--transition);
}

.teaser-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 170, 0.18);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    color: var(--text-primary);
}

.teaser-card:hover::before { opacity: 1; }

.teaser-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-dim);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.teaser-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.teaser-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    flex-grow: 1;
}

.teaser-arrow {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.teaser-card:hover .teaser-arrow { color: var(--accent-hover); }

/* ========== RESPONSIVE — HOME ========== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 42px; }
    .hero-subtitle { font-size: 16px; }
}

@media (max-width: 768px) {
    .hero { padding: 110px 0 60px; }
    .hero::before { width: 600px; height: 600px; top: -100px; }
    .hero h1 { font-size: 30px; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 14px; }
    .hero h1 .arrow { margin: 0 4px; }
    .hero-subtitle { font-size: 15px; margin-bottom: 28px; padding: 0; line-height: 1.6; }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 32px;
        padding: 0;
    }

    .hero-stats {
        gap: 0;
        justify-content: space-around;
        width: 100%;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        padding: 16px 0;
    }

    .stat { flex: 1; position: relative; }

    .stat:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 32px;
        background: var(--border);
    }

    .stat-number { font-size: 26px; }
    .stat-label { font-size: 11px; margin-top: 4px; line-height: 1.25; }

    .teasers-grid { grid-template-columns: 1fr; gap: 12px; max-width: 100%; }
    .teaser-card { padding: 20px; border-radius: var(--radius-md); gap: 12px; }
    .teaser-icon { width: 46px; height: 46px; font-size: 22px; }
    .teaser-card h3 { font-size: 16px; line-height: 1.3; }
    .teaser-card p { font-size: 13.5px; line-height: 1.6; }
    .teaser-arrow { font-size: 13px; }
}

@media (max-width: 480px) {
    .hero { padding: 96px 0 48px; }
    .hero h1 { font-size: 26px; }
    .hero-subtitle { font-size: 14px; margin-bottom: 24px; }
    .hero-buttons { margin-bottom: 28px; }
    .stat-number { font-size: 22px; }
    .stat-label { font-size: 10.5px; }
}

@media (max-width: 360px) {
    .hero { padding: 90px 0 40px; }
    .hero h1 { font-size: 22px; }
    .hero-subtitle { font-size: 13.5px; }
    .stat-number { font-size: 20px; }
}
