*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Archivo Narrow', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #121212;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: linear-gradient(90deg, #36a7bd, #050154);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 0;
    background: #ffffff;
    color: #050154;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.logo-image {
    width: 260px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 16px;
}

.logo-subtitle {
    font-size: 11px;
    opacity: 0.8;
}

.header-nav {
    display: flex;
    gap: 10px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.header-nav a {
    position: relative;
    padding: 8px 14px;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.header-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.2s ease-out;
}

.header-nav a:hover::after {
    width: 100%;
}

.header-nav a:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.62);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: #050154;
    color: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-overlay {
    display: none;
}

.menu-close {
    display: none;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #ffffff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.section-indicator {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 10px;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 249, 255, 0.88));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(5, 1, 84, 0.14);
    box-shadow: 0 14px 32px rgba(5, 1, 84, 0.18);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}

.section-indicator.is-idle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.section-indicator-item {
    width: 14px;
    height: 14px;
    border-radius: 0;
    border: 2px solid #050154;
    background: #ffffff;
    opacity: 0.72;
    position: relative;
    transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.section-indicator-item:hover {
    opacity: 0.95;
    transform: scale(1.08);
    border-color: #36a7bd;
}

.section-indicator-item.is-active {
    opacity: 1;
    background: linear-gradient(120deg, #36a7bd, #050154);
    box-shadow: 0 0 0 5px rgba(54, 167, 189, 0.24), 0 0 18px rgba(5, 1, 84, 0.35);
    transform: scale(1.14);
    border-color: #36a7bd;
    animation: indicatorPulse 1.9s ease-in-out infinite;
}

.section-indicator-item::before {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(100% + 2px);
    transform: translateX(-50%);
    width: 2px;
    height: 12px;
    background: linear-gradient(180deg, rgba(5, 1, 84, 0.55), rgba(54, 167, 189, 0.26));
}

.section-indicator-item:last-child::before {
    display: none;
}

.section-indicator-item::after {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    padding: 4px 8px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(90deg, #36a7bd, #050154);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.section-indicator-item:hover::after,
.section-indicator-item.is-active::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.section-indicator-current {
    display: none;
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    padding: 5px 9px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(90deg, #36a7bd, #050154);
    white-space: nowrap;
}

@keyframes indicatorPulse {
    0%,
    100% {
        box-shadow: 0 0 0 5px rgba(54, 167, 189, 0.24), 0 0 14px rgba(5, 1, 84, 0.26);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(54, 167, 189, 0.16), 0 0 22px rgba(5, 1, 84, 0.36);
    }
}

.section {
    padding: 64px 0;
    scroll-margin-top: 92px;
}

.section-hero {
    min-height: calc(100svh - 74px);
    display: flex;
    align-items: center;
    padding-top: 40px;
}

.section-secondary {
    display: flex;
    align-items: center;
    min-height: clamp(680px, 78svh, 860px);
}

.section-tertiary {
    display: flex;
    align-items: center;
    min-height: clamp(680px, 78svh, 860px);
}

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}

.section-grid-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
}

.section-content {
    max-width: 640px;
}

.section-grid .section-content,
.section-grid .section-image-wrap,
.contact-layout .contact-intro,
.contact-layout .contact-card {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.section-grid .section-image-wrap,
.contact-layout .contact-card {
    transition-delay: 0.08s;
}

.section-grid .section-content.is-revealed,
.section-grid .section-image-wrap.is-revealed,
.contact-layout .contact-intro.is-revealed,
.contact-layout .contact-card.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: clamp(40px, 5vw, 56px);
    line-height: 1.1;
    margin: 12px 0 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 84px;
    height: 3px;
    background: linear-gradient(90deg, #36a7bd 0%, #050154 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.section-content.is-revealed .section-title::after,
.contact-intro.is-revealed .section-title::after {
    transform: scaleX(1);
}

.section-subtitle {
    margin: 0 0 20px;
    font-size: 19px;
    color: #444444;
}

.section-body {
    font-size: 19px;
    color: #1e1e1e;
}

.eyebrow {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #050154;
    font-weight: 600;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 0;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease-out, color 0.2s ease-out, transform 0.1s ease-out, box-shadow 0.1s ease-out;
}

.btn-primary {
    background: linear-gradient(120deg, #36a7bd, #050154);
    color: #ffffff;
    box-shadow: 0 12px 25px rgba(4, 1, 84, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(4, 1, 84, 0.45);
}

.btn-outline {
    border-color: #050154;
    color: #050154;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(5, 1, 84, 0.04);
}

.section-image-wrap {
    display: flex;
    justify-content: flex-end;
}

.image-frame {
    border: 8px solid #36a7bd;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f6f8fb;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.section:hover .image-frame {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(5, 1, 84, 0.16);
}

.section:hover .image-frame img {
    transform: scale(1.02);
}

.section-divider {
    border: none;
    border-top: 3px solid #050154;
    margin: 0;
}

.section-contact {
    background: linear-gradient(135deg, rgba(54, 167, 189, 0.06), rgba(5, 1, 84, 0.08));
    padding-bottom: 64px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.contact-intro .section-title {
    margin-bottom: 8px;
    font-size: clamp(34px, 4.2vw, 46px);
}

.contact-intro .section-subtitle {
    font-size: 17px;
}

.contact-card {
    display: flex;
    justify-content: flex-end;
    align-self: center;
}

.contact-gradient-border {
    border: 8px solid #36a7bd;
    background: #f6f8fb;
    width: 100%;
    max-width: 460px;
}

.contact-card-inner {
    background: #ffffff;
    border-radius: 0;
    padding: 22px 22px 18px;
    font-size: 16px;
    color: #222222;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.rich-text p {
    margin-top: 0;
    margin-bottom: 10px;
}

.rich-text p:last-child {
    margin-bottom: 0;
}

.rich-text strong {
    font-weight: 700;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding: 24px 0 26px;
    font-size: 16px;
    color: #ffffff;
    background: linear-gradient(90deg, #36a7bd, #050154);
    box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.12);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-meta {
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

@media (max-width: 900px) {
    .section-grid,
    .section-grid-reverse,
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-image-wrap {
        justify-content: flex-start;
    }

    .header-inner {
        align-items: center;
        gap: 12px;
        padding-left: 6px;
        padding-right: 6px;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(300px, 82vw);
        padding: 92px 22px 22px;
        background: linear-gradient(180deg, #36a7bd, #050154);
        box-shadow: -14px 0 28px rgba(0, 0, 0, 0.24);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        font-size: 14px;
        letter-spacing: 0.1em;
        opacity: 0;
        visibility: hidden;
        transform: translateX(105%);
        transition: transform 0.28s ease, opacity 0.2s ease, visibility 0.2s ease;
        z-index: 30;
    }

    .header-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        border: 0;
        background: rgba(0, 0, 0, 0.16);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        z-index: 18;
    }

    .menu-overlay.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .header-nav a {
        width: 100%;
        height: 46px;
        padding: 0 4px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        line-height: normal;
        border-top: 1px solid rgba(255, 255, 255, 0.62);
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        background: transparent;
    }

    .header-nav a::after {
        width: 0;
    }

    .header-nav a:last-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.62);
    }

    .menu-close {
        display: block;
        position: absolute;
        top: 18px;
        right: 18px;
        border: 0;
        background: transparent;
        color: #ffffff;
        font-size: 34px;
        line-height: 1;
        cursor: pointer;
        padding: 0;
    }

    .section-indicator {
        right: 14px;
    }

    .section-title {
        font-size: clamp(34px, 7vw, 46px);
    }

    .section-subtitle,
    .section-body {
        font-size: 17px;
    }

    .image-frame,
    .contact-gradient-border {
        max-width: 420px;
    }

    .section-tertiary .section-image-wrap {
        order: 1;
    }

    .section-tertiary .section-content {
        order: 2;
    }

    .site-footer {
        padding: 20px 0;
    }

    .footer-inner {
        justify-content: center;
        text-align: center;
    }

    .footer-meta {
        letter-spacing: 0.12em;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 48px 0;
        scroll-margin-top: 132px;
    }

    .section-hero {
        min-height: calc(100svh - 120px);
        padding-top: 24px;
    }

    .section-secondary {
        min-height: 0;
    }

    .section-tertiary {
        min-height: 0;
    }

    .section-contact {
        padding-bottom: 48px;
    }

    .cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .section-indicator {
        top: 50%;
        left: 10px;
        right: auto;
        bottom: auto;
        transform: translateY(-50%);
        flex-direction: column;
        gap: 8px;
        padding: 8px 6px;
        background: rgba(255, 255, 255, 0.88);
        box-shadow: 0 10px 20px rgba(5, 1, 84, 0.14);
    }

    .section-indicator-item::before {
        top: calc(100% + 2px);
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 8px;
    }

    .section-indicator-item::after {
        display: none;
    }

    .section-indicator-current {
        display: inline-block;
        left: calc(100% + 8px);
        right: auto;
        top: 50%;
        transform: translateY(-50%);
    }

    .section-indicator-item {
        width: 12px;
        height: 12px;
    }

    .header-nav {
        width: min(260px, 86vw);
        padding-top: 84px;
    }

    .menu-close {
        top: 14px;
        right: 14px;
    }

    .header-inner {
        padding-left: 10px;
        padding-right: 10px;
    }

    .logo-image {
        width: 260px;
        height: auto;
        max-width: calc(100vw - 150px);
    }

    .site-footer {
        padding: 16px 0 18px;
        font-size: 11px;
    }

    .footer-inner {
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .section-grid .section-content,
    .section-grid .section-image-wrap,
    .contact-layout .contact-intro,
    .contact-layout .contact-card,
    .image-frame,
    .image-frame img {
        transition: none;
        transform: none;
        opacity: 1;
    }

    .section-title::after {
        transition: none;
        transform: scaleX(1);
    }
}

