.hero-section {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    background: var(--page-bg);
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/assets/images/hero-tugboat-banner-v3.png") center right / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(248, 250, 252, 0.86) 0%,
            rgba(248, 250, 252, 0.76) 18%,
            rgba(248, 250, 252, 0.58) 34%,
            rgba(248, 250, 252, 0.26) 52%,
            rgba(248, 250, 252, 0.08) 70%,
            rgba(255, 255, 255, 0) 100%
        );
}

.hero-shell {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 760px;
    padding-top: calc(var(--header-total-height, 128px) + 54px);
    padding-bottom: 180px;
}

.hero-copy {
    max-width: 500px;
}

.hero-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--brand-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title {
    max-width: 520px;
    color: var(--text-main);
    font-size: 44px;
    line-height: 1.18;
    font-weight: 700;
    text-shadow: 0 10px 28px rgba(255, 255, 255, 0.18);
}

.hero-line {
    display: block;
    width: 52px;
    height: 3px;
    margin: 20px 0;
    border-radius: 999px;
    background: var(--brand-gold);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-actions .button {
    min-width: 172px;
    border: 1px solid transparent;
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(12, 33, 55, 0.1);
}

.hero-actions .button-primary {
    background: var(--brand-navy-deep);
}

.hero-actions .button-primary:hover {
    background: var(--brand-red);
}

.button-outline {
    border-color: rgba(10, 34, 54, 0.36);
    background: rgba(255, 255, 255, 0.8);
    color: var(--brand-navy-deep);
    backdrop-filter: blur(10px);
}

.button-outline:hover {
    border-color: var(--brand-navy-deep);
    background: var(--brand-navy-deep);
    color: var(--brand-white);
}

.hero-wave {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 176px;
    pointer-events: none;
    filter: drop-shadow(0 -12px 26px rgba(10, 34, 54, 0.08));
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

.wave-blue {
    fill: var(--brand-navy-deep);
}

.wave-blue-soft {
    opacity: 0.72;
}

.wave-gold {
    fill: var(--brand-gold);
    opacity: 0.88;
}

.wave-white {
    fill: var(--page-bg);
}

:root[data-theme="dark"] .hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(7, 21, 33, 0.88) 0%,
            rgba(7, 21, 33, 0.78) 20%,
            rgba(7, 21, 33, 0.58) 38%,
            rgba(7, 21, 33, 0.3) 56%,
            rgba(7, 21, 33, 0.1) 74%,
            rgba(5, 15, 24, 0) 90%
        );
}

:root[data-theme="dark"] .hero-title {
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

@media (max-width: 1023px) {
    .hero-background::after {
        background-position: 62% center;
    }

    .hero-shell {
        min-height: 700px;
        padding-top: 156px;
        padding-bottom: 126px;
    }
}

@media (max-width: 767px) {
    .hero-section,
    .hero-shell {
        min-height: 620px;
    }

    .hero-shell {
        padding-top: 120px;
        padding-bottom: 98px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-background::after {
        background-position: 66% center;
    }

    .hero-wave {
        height: 118px;
    }
}
