/* HERO */
.hero {
    display: flex;
    align-items: center;
    animation: subtleShift 18s ease-in-out infinite alternate;
    position: relative;
    background-image: url('../img/hero.jpg');
    background-size: 115%;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(10px) brightness(1.15);
    -webkit-backdrop-filter: blur(10px) brightness(1.15);
    background: rgba(255, 255, 255, 0.15);
    z-index: 0;
}

@keyframes subtleShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 50% 54%; }
    100% { background-position: 100% 50%; }
}

@media (min-width: 769px) {
    .hero {
        height: 100vh;
    }
}

.hero-inner {
    opacity: 0.01;
    transform: translateY(20px);
    animation: heroFadeUp 1s ease forwards 0.4s;
    position: relative;
    z-index: 1;
    max-width: 1180px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #1f2933;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    overflow: hidden;
    font-size: clamp(3.8rem, 7vw, 6.5rem);
    line-height: 1.02;
    font-weight: 650;
    max-width: 1100px;
    letter-spacing: -0.06em;
    color: #111827;
}

.highlight {
    opacity: 0.01;
    animation: highlightIn 1s ease forwards 0.8s;
    font-weight: 600;
    font-size: clamp(3.2rem, 6.4vw, 6.2rem);
    color: #007AFF;
}

@keyframes highlightIn {
    to { opacity: 1; }
}

.hero-subtitle {
    opacity: 0.01;
    transform: translateY(10px);
    animation: subtitleIn 0.8s ease forwards 1.15s;
    font-size: clamp(1.18rem, 1.8vw, 1.75rem);
    line-height: 1.45;
    max-width: 860px;
    margin-top: 28px;
    color: #1f2933;
}

.hero-paths {
    opacity: 0.01;
    transform: translateY(14px);
    animation: subtitleIn 0.8s ease forwards 1.35s;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
    max-width: 1050px;
}

.hero-path-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 168px;
    padding: 22px;
    border-radius: 24px;
    text-decoration: none;
    color: #111827;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.hero-path-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.74);
    border-color: rgba(0, 122, 255, 0.38);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.13);
}

.hero-path-card:active {
    transform: translateY(-2px);
}

.hero-path-label {
    width: fit-content;
    margin-bottom: 18px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.hero-path-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.18rem;
    line-height: 1.2;
    font-weight: 650;
}

.hero-path-card p {
    margin: 0;
    color: #374151;
    font-size: 0.98rem;
    line-height: 1.45;
}

@keyframes subtitleIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-actions {
    opacity: 0.01;
    animation: ctaIn 0.8s ease forwards 1.55s;
    margin-top: 38px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

@keyframes ctaIn {
    to { opacity: 1; }
}

.btn-primary {
    background: #007AFF;
    color: #fff;
    padding: 16px 36px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 122, 255, 0.3);
    margin-right: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0, 122, 255, 0.28);
}

.btn-secondary {
    color: #007AFF;
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    display: inline-block;
    transition: transform 0.2s ease, background 0.25s ease;
}

.btn-link {
    color: #111827;
    font-size: 1.1rem;
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.66);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.btn-secondary:hover,
.btn-link:hover {
    background: rgba(0, 122, 255, 0.08);
    transform: translateY(-2px);
}

.btn-secondary:active,
.btn-link:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero {
        min-height: 100svh;
        height: auto;
        padding: 120px 0 80px;
        background-size: cover;
        background-position: center;
    }

    .hero::before {
        backdrop-filter: blur(8px) brightness(1.12);
        -webkit-backdrop-filter: blur(8px) brightness(1.12);
        background: rgba(255, 255, 255, 0.28);
    }

    .hero-kicker {
        margin-bottom: 18px;
        font-size: 0.68rem;
        letter-spacing: 0.08em;
        line-height: 1.35;
    }

    .hero-title {
        font-size: clamp(2.85rem, 12vw, 3.7rem);
        line-height: 1.04;
        letter-spacing: -0.05em;
    }

    .highlight {
        font-size: clamp(2.45rem, 10.5vw, 3.2rem);
    }

    .hero-subtitle {
        font-size: 1.08rem;
        line-height: 1.5;
        margin-top: 22px;
    }

    .hero-paths {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 28px;
    }

    .hero-path-card {
        min-height: auto;
        padding: 18px;
        border-radius: 20px;
    }

    .hero-path-label {
        margin-bottom: 12px;
    }

    .hero-actions {
        margin-top: 28px;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary,
    .btn-link {
        width: 100%;
        text-align: center;
        font-size: 1rem;
        padding: 14px 22px;
    }
}

@media (max-width: 420px) {
    .hero {
        padding-top: 108px;
    }

    .hero-kicker {
        max-width: 100%;
    }

    .hero-path-card strong {
        font-size: 1.08rem;
    }

    .hero-path-card p {
        font-size: 0.94rem;
    }
}