* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 128px;
}

body {
    margin: 0;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    color: #073b4c;
    background: linear-gradient(180deg, #e8fff7 0%, #e6f5ff 100%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #ffffff;
    box-shadow: 0 2px 14px rgba(0, 70, 95, 0.1);
}

.logo-bar {
    display: flex;
    align-items: center;
    width: min(1120px, 100%);
    min-height: 58px;
    margin: 0 auto;
    padding: 0 24px;
}

#navbar__logo {
    color: #007f7a;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
}

.navbar {
    position: sticky;
    top: 58px;
    z-index: 19;
    background: linear-gradient(90deg, #007f7a, #0099cc);
    box-shadow: 0 4px 20px rgba(0, 70, 95, 0.18);
}

.navbar__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(1120px, 100%);
    min-height: 58px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar__external-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 38px;
    border-radius: 6px;
    padding: -14px 14px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease;
}

.navbar__external-link:hover,
.navbar__external-link:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    outline: none;
}

.navbar__menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar__links {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 6px;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease;
}

.navbar__links:hover,
.navbar__links:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    outline: none;
}

.navbar__toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.14);
    cursor: pointer;
}

.bar {
    display: block;
    width: 24px;
    height: 3px;
    margin: 5px auto;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 180ms ease, opacity 180ms ease;
}

.navbar__toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar__toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.navbar__toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 440px;
    overflow: hidden;
    background: #007f7a;
}

.hero-banner::after {
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 0;
    content: "";
    width: min(100%, max(760px, calc((100% - 1120px) / 2 + 760px)));
    border-radius: 0 60px 60px 0;
    background: #007f7a;
}

.hero-banner__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-banner__content {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 80px 24px;
    color: #ffffff;
}

.hero-banner__content h1 {
    max-width: 680px;
    color: #ffffff;
    font-size: clamp(2.75rem, 8vw, 5.75rem);
}

.hero-banner__content p {
    max-width: 520px;
    margin: 18px 0 0;
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    line-height: 1.55;
}

.page-section {
    display: grid;
    place-items: center;
    min-height: 88vh;
    padding: 80px 24px;
    border-bottom: 1px solid rgba(0, 127, 122, 0.18);
}

.page-section:nth-child(odd) {
    background: rgba(0, 153, 204, 0.08);
}

h1 {
    margin: 0;
    color: #006b72;
    font-size: clamp(4rem, 18vw, 11rem);
    line-height: 1;
}

@media screen and (max-width: 720px) {
    html {
        scroll-padding-top: 116px;
    }

    .logo-bar {
        justify-content: center;
        min-height: 54px;
        padding: 0 18px;
    }

    #navbar__logo {
        font-size: 1.12rem;
    }

    .navbar {
        top: 54px;
    }

    .navbar__container {
        min-height: 54px;
        padding: 0 18px;
    }

    .navbar__external-link {
        font-size: 0.75rem;
    }

    .navbar__toggle {
        flex: 0 0 auto;
        display: block;
    }

    .navbar__menu {
        position: absolute;
        top: 54px;
        left: 0;
        display: grid;
        justify-content: stretch;
        justify-items: center;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        gap: 0;
        background: #007f7a;
        box-shadow: 0 16px 24px rgba(0, 70, 95, 0.18);
        transition: max-height 220ms ease;
    }

    .navbar__menu.is-active {
        max-height: 320px;
    }

    .navbar__links {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 54px;
        padding: 0 24px;
        border-radius: 0;
    }

    .hero-banner {
        min-height: 360px;
    }

    .hero-banner::after {
        inset: 28px 0;
        width: auto;
        border-radius: 0 28px 28px 0;
        background: rgba(0, 127, 122, 0.5);
    }

    .hero-banner__content {
        padding: 64px 18px;
        text-align: center;
    }

    .hero-banner__content h1,
    .hero-banner__content p {
        margin-right: auto;
        margin-left: auto;
    }
}
