/* ═══════════════════════════════════════════════════
   Hero-секция
═══════════════════════════════════════════════════ */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 82px 0 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        url("../images/rest.png") no-repeat center center / cover;
    filter: saturate(0.85) contrast(1.06) brightness(0.45);
    z-index: -2;
    transform: scale(1.04);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 7, 5, 0.72) 0%, transparent 40%, transparent 90%, rgba(11, 7, 5, 0.72) 100%),
        linear-gradient(180deg, rgba(11, 7, 5, 0.42) 0%, rgba(11, 7, 5, 0.08) 35%, rgba(11, 7, 5, 0.08) 65%, rgba(11, 7, 5, 0.58) 100%),
        radial-gradient(ellipse at center, transparent 36%, rgba(11, 7, 5, 0.42) 100%);
    z-index: -1;
}

.hero-center {
    text-align: center;
    padding: 0 24px;
    max-width: 760px;
}

.hero-center .eyebrow {
    justify-content: center;
    margin-bottom: 24px;
    font-size: 0.72rem;
    letter-spacing: 0.34em;
    color: rgba(214, 175, 107, 0.85);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 8vw, 6.6rem);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: -0.035em;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.92rem, 1.6vw, 1.15rem);
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 244, 233, 0.62);
    margin-bottom: 44px;
}

.hero-center .hero-actions {
    justify-content: center;
    margin-bottom: 0;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(0.92rem, 1.5vw, 1.15rem);
    font-style: italic;
    font-weight: 400;
    color: rgba(214, 175, 107, 0.7);
    letter-spacing: 0.04em;
    margin-bottom: 38px;
    margin-top: -28px;
}

/* ── Индикатор скролла ── */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 52px;
    border: 1.5px solid rgba(255, 244, 226, 0.25);
    border-radius: 999px;
    z-index: 2;
    transition: border-color 0.3s ease;
}

.hero-scroll:hover {
    border-color: rgba(214, 175, 107, 0.6);
}

.hero-scroll-line {
    display: block;
    width: 2px;
    height: 10px;
    background: rgba(214, 175, 107, 0.7);
    border-radius: 999px;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%   { opacity: 1; transform: translateY(-6px); }
    50%  { opacity: 0.3; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(-6px); }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

/* ── Hero-панели (legacy, сохранены для совместимости) ── */
.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    list-style: none;
}

.hero-points li {
    padding: 15px 16px;
    border-top: 1px solid rgba(255, 228, 193, 0.16);
    background: rgba(255, 244, 226, 0.03);
    backdrop-filter: blur(6px);
    color: rgba(255, 244, 233, 0.82);
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.hero-points li:hover {
    background: rgba(255, 244, 226, 0.07);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.hero-panel {
    display: grid;
    gap: 12px;
    max-width: 360px;
    width: 100%;
    justify-self: end;
    align-self: end;
    animation: float 7s ease-in-out infinite;
}

.hero-note {
    padding: 22px 24px;
}

.stat-card {
    padding: 20px 22px;
}

.hero-note h2 {
    margin-bottom: 12px;
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    line-height: 1.12;
    font-weight: 600;
    color: #f9ead0;
}

.hero-note p {
    max-width: 34ch;
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 244, 233, 0.7);
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hero-stats .stat-card:last-child {
    grid-column: 1 / -1;
}

.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-soft), transparent);
    border-radius: 999px;
    opacity: 0.5;
}

.stat-card strong,
.stat-card span {
    display: block;
}

.stat-card strong {
    margin-bottom: 5px;
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    font-family: var(--font-heading);
    font-weight: 600;
    color: #f5e4c4;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.stat-card span {
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(255, 244, 233, 0.55);
    letter-spacing: 0.02em;
}

.card-label,
.panel-kicker,
.contact-card span {
    display: inline-block;
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-soft);
}

.card-label,
.panel-kicker {
    margin-bottom: 14px;
}

