:root {
    --scroll-offset: 75px;
    --hero-soft-rgb: 236 230 214;
    --hero-soft-strong-rgb: 248 241 224;
    --rose-mid-rgb: 210 88 156;
    --coral-warm-rgb: 220 120 92;
    --coral-accent-rgb: 232 122 70;
}

html {
    scroll-padding-top: var(--scroll-offset);
}

.hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 2.75rem;
    padding: 2.4rem 2.1rem 2.3rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--card);
    box-shadow: var(--shadow-hero);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.65rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.75rem 0.3rem;
    border: 1px solid rgb(var(--white-rgb) / 0.14);
    border-radius: var(--radius-full);
    background:
        linear-gradient(180deg,
            rgb(var(--white-rgb) / 0.05),
            rgb(var(--white-rgb) / 0.015)),
        rgb(var(--bg-rgb) / 0.72);
    color: rgb(var(--cream-rgb) / 0.96);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow:
        0 10px 26px rgb(var(--black-rgb) / 0.34),
        0 0 0 1px rgb(var(--white-rgb) / 0.025) inset,
        0 0 14px rgb(var(--yellow-rgb) / 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-subtitle {
    max-width: 700px;
    margin-bottom: 0.35rem;
    color: rgb(var(--cream-rgb) / 0.94);
    font-size: 1.02rem;
    line-height: 1.72;
    text-shadow: 0 1px 0 rgb(var(--white-rgb) / 0.03);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.75rem;
    margin-top: 1.1rem;
    color: rgb(var(--text-rgb) / 0.92);
    font-size: 0.88rem;
    line-height: 1.55;
}

.hero-meta strong {
    color: rgb(var(--cream-rgb) / 0.98);
    font-weight: 700;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle at 30% 0%, var(--yellow), var(--pink));
    box-shadow: 0 0 10px var(--white-60);
}

.hero-title {
    margin: 1rem 0 0.85rem;
    font-size: clamp(2.2rem, 3.2vw, 2.8rem);
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: -0.035em;
    text-shadow: 0 8px 30px rgb(var(--black-rgb) / 0.22);
}

.hero-title .title-line {
    display: block;
    width: fit-content;
    max-width: 100%;
}

.hero-title .title-line--secondary {
    margin-top: 0.08em;
}

.hero-title .title-soft,
.hero-title .title-gradient,
.hero-title .accent {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-title .title-soft {
    background-image: linear-gradient(90deg,
            rgb(var(--hero-soft-strong-rgb) / 0.98) 0%,
            rgb(var(--hero-soft-rgb) / 0.94) 100%);
    filter: drop-shadow(0 0 8px rgb(var(--white-rgb) / 0.05));
}

.hero-title .title-gradient--primary {
    background-image: linear-gradient(90deg,
            rgb(var(--gold-accent-rgb) / 0.98) 0%,
            rgb(var(--gold-deep-rgb) / 0.98) 28%,
            rgb(var(--rose-deep-rgb) / 0.98) 68%,
            rgb(var(--pink-rgb) / 0.98) 100%);
    filter:
        drop-shadow(0 0 8px rgb(var(--yellow-rgb) / 0.10)) drop-shadow(0 0 18px rgb(var(--pink-rgb) / 0.18));
}

.hero-title .title-gradient--secondary {
    background-image: linear-gradient(90deg,
            rgb(var(--gold-accent-rgb) / 0.98) 0%,
            rgb(var(--yellow-rgb) / 0.98) 20%,
            rgb(var(--coral-warm-rgb) / 0.98) 52%,
            rgb(var(--rose-mid-rgb) / 0.98) 78%,
            rgb(var(--pink-rgb) / 0.98) 100%);
    filter:
        drop-shadow(0 0 6px rgb(var(--yellow-rgb) / 0.08)) drop-shadow(0 0 16px rgb(var(--pink-rgb) / 0.16));
}

.hero-title .accent {
    background-image: linear-gradient(90deg,
            rgb(var(--gold-accent-rgb) / 1) 0%,
            rgb(var(--yellow-rgb) / 1) 22%,
            rgb(var(--coral-accent-rgb) / 1) 58%,
            rgb(var(--pink-rgb) / 1) 100%);
    filter:
        drop-shadow(0 0 6px rgb(var(--yellow-rgb) / 0.10)) drop-shadow(0 0 18px rgb(var(--pink-rgb) / 0.22));
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.hero-visual svg {
    width: 100%;
    max-width: 480px;
    height: auto;
    opacity: 0;
}

.handshake-labels {
    position: absolute;
    bottom: -1.6rem;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
}

.handshake-label {
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--white-30);
    border-radius: var(--radius-full);
    background: var(--glass);
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

@media (max-width: 720px) {
    .hero {
        padding: 1.9rem 1.4rem 1.8rem;
    }

    .hero-title {
        line-height: 1.1;
    }

    .hero-title .title-line--secondary {
        margin-top: 0.12em;
    }
}