/* Font Face Declarations */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Ultra.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Book.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'ClassicoURWSection2';
    src: url('../fonts/fonnts.com-Classico_URW_Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ClassicoURW';
    src: url('../fonts/fonnts.com-Classico_URW_Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ClassicoURW';
    src: url('../fonts/fonnts.com-Classico_URW_Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ClassicoURWSection2';
    src: url('../fonts/fonnts.com-Classico_URW_Medium_Italic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

a {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    text-decoration: none;
}

a::-moz-focus-inner {
    border: 0;
    outline: none;
}

html {
    scroll-behavior: auto; /* Lenis akan handle smooth scroll */
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    scroll-padding-top: 80px; /* Sesuai dengan offset scrollTo */
}

body {
    font-family: 'Gotham';
    background: #000000;
    color: #fff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    overscroll-behavior-y: contain;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'ClassicoURW';
    font-weight: 700;
}

.career-title,
.contact-form-title,
.job-title,
.project-card-title,
.bsa-page h1,
.bsa-page h2,
.bsa-page h3 {
    font-family: 'ClassicoURW', 'Gotham' !important;
}

.job-title {
    font-weight: 700 !important;
    color: #a37c4f !important;
}

.career-num,
.career-role,
.contact-form-subtitle,
.contact-form-label,
.contact-form-input,
.contact-form-textarea,
.job-subtext {
    font-family: 'Futura', 'Gotham' !important;
}

.job-block-title,
.job-text,
.job-email {
    font-family: 'Gotham' !important;
}

.container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 999999 !important;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    /* transition: background 0.3s ease; */
    margin: 0;
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto !important;
}

@media (min-width: 769px) {
    .header {
        isolation: isolate;
    }

    .header .container {
        position: relative;
        z-index: 1;
    }

    .header .nav {
        gap: 12px;
    }

    .header .nav-link {
        padding: 9px 14px;
        margin: 0;
        border-radius: 999px;
    }

    .header .nav-link.active {
        position: relative;
    }

    .header .nav-link.active::before {
        content: '';
        position: absolute;
        inset: -10px -28px;
        background: url('/asset/HOME PAGE/SEC 1/Asset 794@4x.webp') center / 86% auto no-repeat;
        pointer-events: none;
        z-index: -1;
        opacity: 0.95;
    }
}

.header, .nav-link {
    pointer-events: auto !important;
    z-index: 999999 !important;
}

.section-3-sticky {
    pointer-events: none; /* BIKIN PIN TIDAK NGE-BLOCK CLICK */
}

.section-3-content {
    pointer-events: auto; /* Biar kontennya bisa diklik */
}

/* Hide navbar saat di section 4 */
.header.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-100%); /* Naik ke atas */
}

.header .container {
    padding-left: 40px;
    padding-right: 40px;
    justify-content: space-between;
    pointer-events: auto; /* Pastikan container bisa diklik */
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
}

/* Navigation Styles */
.nav {
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    flex-wrap: nowrap;
    pointer-events: auto; /* Pastikan nav bisa diklik */
}

/* CSS Global Anti-Highlight untuk Nav */
.nav-link,
.nav-link *,
.nav-link:focus,
.nav-link:focus-visible,
.nav-link:active {
    outline: none !important;
    -webkit-user-modify: read-write-plaintext-only;
}

.nav-link {
    font-family: 'Gotham';
    color: #b8956a;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.3px;
    text-shadow:
        0 -1px 0 rgba(255, 255, 255, 0.16),
        -1px -1px 0 rgba(255, 255, 255, 0.12),
        0 1px 0 rgba(0, 0, 0, 0.25),
        1px 2px 0 rgba(0, 0, 0, 0.45),
        2px 4px 6px rgba(0, 0, 0, 0.7);
    transition: 0.3s;
    margin: 0 25px;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent !important;
    position: relative;
    isolation: isolate;
    display: inline-block;
    -webkit-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    cursor: pointer;
    pointer-events: auto !important;
    z-index: 10001;
}

.nav-link:focus,
.nav-link:focus-visible,
.nav-link:focus-within {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.nav-link:hover:not(.active) {
    opacity: 0.8;
    transform: scale(1.05);
    text-shadow:
        0 -1px 0 rgba(255, 255, 255, 0.16),
        -1px -1px 0 rgba(255, 255, 255, 0.12),
        0 1px 0 rgba(0, 0, 0, 0.25),
        1px 2px 0 rgba(0, 0, 0, 0.45),
        2px 4px 6px rgba(0, 0, 0, 0.7),
        0 0 15px rgba(184, 149, 106, 0.5);
    transition: all 0.3s ease;
}

.nav-link:visited {
    color: #b8956a;
    text-decoration: none;
}

.nav-link::-moz-focus-inner {
    border: 0;
    outline: none;
}

.nav-link.active {
    background: transparent;
    backdrop-filter: none;
    color: #fff;
    padding: 0;
    border-radius: 0;
    text-shadow:
        0 -1px 0 rgba(255, 255, 255, 0.16),
        -1px -1px 0 rgba(255, 255, 255, 0.12),
        0 1px 0 rgba(0, 0, 0, 0.25),
        1px 2px 0 rgba(0, 0, 0, 0.45),
        2px 4px 6px rgba(0, 0, 0, 0.7);
}

.nav-link.active::after {
    content: none;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto !important;
    z-index: 10002;
}

.nav-toggle-bar {
    width: 26px;
    height: 2px;
    background: #b8956a;
    box-shadow: 0 0 10px rgba(184, 149, 106, 0.25);
    border-radius: 2px;
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.header.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.header.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.header.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

html.nav-open,
html.nav-open body {
    overflow: hidden;
}

@media (max-width: 768px) {
    .header.nav-no-trans .nav,
    .header.nav-no-trans .nav-toggle-bar {
        transition: none !important;
    }

    html.nav-open #navbar {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        background: #000;
        z-index: 999999;
    }

    .header.nav-open {
        background: #000;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .header.nav-open::after {
        content: '';
        position: fixed;
        inset: 0;
        background: #000;
        pointer-events: none;
        z-index: 999998;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .header .container {
        position: relative;
        z-index: 1000001;
    }

    .header .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 16px;
        padding: 110px 24px 40px;
        background: #000 !important;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-100%);
        transition: transform 0.25s ease, visibility 0s linear 0.25s;
        z-index: 1000000;
    }

    .header.nav-open .nav {
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition: transform 0.25s ease, visibility 0s linear 0s;
    }

    .header .nav-link {
        width: min(360px, 90vw);
        margin: 0;
        padding: 14px 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
    }

    .header .nav-link:hover:not(.active) {
        opacity: 1;
        transform: none;
        background: rgba(184, 149, 106, 0.12);
        box-shadow: 0 0 14px rgba(184, 149, 106, 0.12);
    }

    .header .nav-link.active {
        padding: 14px 18px;
        border-radius: 12px;
        background: rgba(184, 149, 106, 0.14);
        box-shadow: 0 0 18px rgba(184, 149, 106, 0.14);
    }

    .header .nav-link.active::after {
        display: none;
    }
}

/* .nav-link:not(.active) {
    animation: fadeInNav 0.4s ease-out;
}

@keyframes fadeInNav {
    from {
        opacity: 0.7;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
} */

/* .nav-link:hover:not(.active) {
    opacity: 0.9;
    transform: scale(1.02);
    transition: all 0.3s ease;
    filter: brightness(1.1);
} */

/* Pendant Light */
.pendant-light {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 100px;
    background: radial-gradient(ellipse at center, rgba(50, 50, 50, 0.8) 0%, transparent 70%);
    border-radius: 50% 50% 0 0;
    z-index: 99;
    pointer-events: none; /* Tidak menghalangi klik */
}

.pendant-light::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 20px;
    background: #333;
}

/* Section Styles */
.section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    z-index: 10;
}

/* Dark overlay over background for better text readability */
.background-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 1) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Section 1 (Home) Styles */
.section-home {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 100px; /* Space untuk fixed navbar */
    background: url("../asset/HOME PAGE/SEC 1/Asset 766@4x.webp") center bottom / cover no-repeat;
    position: relative;
    background-attachment: fixed;
    overflow: hidden;
}

/* Gradient overlay di bagian bawah section 1 untuk transisi ke section 2 */
.section-home::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 1) 100%);
    pointer-events: none;
    z-index: 5;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: calc(100vh - 200px);
    padding: 100px 80px;
    padding-left: 300px;
    padding-top: 0px;
    padding-bottom: 200px; /* Extra padding untuk gradient */
}

.content-wrapper {
    text-align: left;
    max-width: 900px;
}

.headline {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.headline-img {
    width: auto;
    height: auto;
    max-width: 70%;
    display: block;
}

.separator {
    margin: 30px 0;
    display: flex;
    align-items: center;
}

.separator-img {
    width: auto;
    height: auto;
    max-width: 300px;
    display: block;
}

.tagline {
    display: flex;
    align-items: center;
}

.tagline-img {
    width: auto;
    height: auto;
    max-width: 60%;
    display: block;
}

/* Section 2 Styles */
.section-2 {
    background: #000;
    height: 100vh;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.section-2-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.section-2-pattern-img {
    width: 100%;
    height: auto;
    display: block;
}

.section-2-pattern-inline {
    display: none;
}

.section-2-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1600px;
    padding: 0 80px;
    height: auto;
    z-index: 2;
}

.section-2-text-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
}

.section-2-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    top: -70px;
}

.section-2-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: right;
    position: relative;
    top: 140px;
}

.section-2-text {
    font-family: 'ClassicoURWSection2', 'Gotham';
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
    line-height: 1.1;
    position: relative;
    -webkit-text-stroke: 2px #fff;
    -webkit-text-fill-color: #000;
    color: #000;
    white-space: nowrap;
    /* Transition hanya untuk fill, transform dihandle GSAP */
    /* transition: -webkit-text-fill-color 0.5s ease, color 0.5s ease, -webkit-text-stroke 0.4s ease; */
    /* Initial state akan di-set oleh GSAP */
    /* will-change: transform, opacity, -webkit-text-fill-color, -webkit-text-stroke; */
}

/* Split text character styling */
.section-2-text .char {
    display: inline-block;
    white-space: pre;
    /* will-change: transform, opacity, -webkit-text-fill-color, -webkit-text-stroke, clip-path; */
    overflow: hidden;
}

.section-2-text-1 {
    font-size: 60px;
    font-style: normal;
}

.section-2-text-2 {
    font-size: 100px;
    font-style: italic;
}

.section-2-text-3 {
    font-size: 60px;
    font-style: normal;
}

.section-2-text-4 {
    font-size: 160px;
    font-style: italic;
}

/* Animasi fill putih saat scroll */
.section-2-text.filled {
    -webkit-text-fill-color: #fff;
    color: #fff;
}

.section-2-cta {
    position: absolute;
    bottom: -60px;
    left: 80px;
    display: flex;
    align-items: center;
    z-index: 10;
}

.section-2-cta-link {
    display: block;
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.section-2-cta-link:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.section-2-cta-link:active {
    transform: scale(0.95);
}

.section-2-cta-img {
    height: auto;
    display: block;
    max-width: 200px;
}

/* Section 3 Styles */
.section-3 {
    overflow: visible;
    position: relative;
    width: 100%;
    background: #000;
    margin: 0;
    padding: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    pointer-events: none !important;
}

/* Sticky 100vh */
.section-3-sticky {
    height: 100vh;
    overflow: hidden;
    position: relative;
    pointer-events: none !important;
}

/* Semua child element section-3 juga pointer-events none */
.section-3 * {
    pointer-events: none !important;
}

/* Background Pattern */
.section-3-pattern {
    position: absolute;
    top: 0;
    left: 30%;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.section-3-pattern-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .5;
}

/* Content layout */
.section-3-content {
    position: relative;
    height: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 80px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    z-index: 10;
}

.section-3-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.section-3-left-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.section-3-left-content img {
    display: block;
    margin-bottom: 20px;
}

.section-3-line-img { max-width: 165px; }
.section-3-text-img { max-width: 250px; margin-bottom: 6px; }
.section-3-cta-img  { max-width: 430px; margin-bottom: 0; }

.section-3-right {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

/* RIGHT SLIDES */
.section-3-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.section-3-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    will-change: transform, opacity;
}

.section-3-slide img {
    max-height: 76vh;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Overlay content untuk slide 2, 3, 4, 5 - melekat di atas gambar, bottom left */
.section-3-slide-overlay {
    position: absolute;
    bottom: 60px;
    left: 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1 !important; /* Pastikan tidak lebih besar dari navbar (999999) */
}

.section-3-slide-overlay img {
    width: auto;
    height: auto;
    display: block;
}

.section-3-slide-overlay .overlay-judul {
    height: clamp(34px, 4.6vh, 52px);
    width: auto;
    max-width: 70%;
}

.section-3-slide-overlay .overlay-text {
    height: clamp(58px, 7.2vh, 86px);
    width: auto;
    max-width: 78%;
}

/* Section 4 Styles */
.section-4 {
    background: #000;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Decorative Background Images */
.section-4-decorative {
    position: absolute;
    z-index: 1000; /* Layering paling atas, di atas background overlay dan semua elemen */
    pointer-events: none;
    opacity: 0.7; /* Lebih terlihat */
}

.section-4-decorative-top-right {
    top: 0;
    right: 0;
    width: 40%;
    max-width: 600px;
    transform: translate(70%, -20%); /* Lebih jauh lagi ke kanan */
}

.section-4-decorative-bottom-left {
    bottom: 0;
    left: 0;
    width: 40%;
    max-width: 600px;
    transform: translate(-70%, 20%); /* Lebih jauh lagi ke kiri */
}

.section-4-decorative-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Main Content */
.section-4-content {
    position: relative;
    z-index: 10; /* Di bawah hiasan (z-index: 1000) agar hiasan terlihat */
    width: 100%;
    max-width: 1800px;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

/* Title */
.section-4-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.section-4-title-img {
    width: auto;
    height: auto;
    max-width: 40%; /* Besarkan sedikit */
    display: block;
}

/* Main Image */
.section-4-main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.section-4-main-img {
    width: 100%;
    max-width: 1000px; /* Besarkan sedikit */
    height: auto;
    display: block;
    object-fit: contain;
}

/* Section 5 Styles */
.section-5 {
    background: #000;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Decorative Background Images */
.section-5-decorative {
    position: absolute;
    z-index: 1000; /* Layering paling atas */
    pointer-events: none;
    opacity: 1; /* Lebih terlihat */
}

.section-5-decorative-right {
    top: 50%;
    right: 0;
    width: 60%; /* Zoom lebih besar */
    max-width: 900px; /* Zoom lebih besar */
    transform: translate(85%, -30%); /* Geser lebih ke bawah */
}

.section-5-decorative-left {
    top: 50%;
    left: 0;
    width: 55%;
    max-width: 2000px;
    transform: translate(-83%, -17%); /* Lebih jauh ke kiri */
}

.section-5-decorative-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Main Content */
.section-5-content {
    position: relative;
    z-index: 10; /* Di bawah hiasan */
    width: 100%;
    max-width: 1800px;
    padding: 0 80px;
    padding-top: 150px; /* Memindahkan semua konten lebih ke bawah */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
}

/* Title Atas */
.section-5-title-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: -50px; /* Mendekatkan ke judul bawah */
}

.section-5-title-top-img {
    width: auto;
    height: auto;
    max-width: 17%; /* Diperkecil */
    display: block;
}

/* Text Tengah */
.section-5-text-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px; /* Diperkecil */
}

.section-5-text-center-copy {
    margin: 0;
    font-family: 'Gotham', Arial, sans-serif;
    font-weight: 500;
    font-size: clamp(13px, 1.15vw, 18px);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
}

.section-5-text-center-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Title Bawah */
.section-5-title-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.section-5-title-bottom-img {
    width: auto;
    height: auto;
    max-width: 40%; /* Diperkecil */
    display: block;
}

/* Section 5b: Services List Styles */
.section-5b {
    background: #000;
    min-height: 100vh;
    position: relative;
    overflow-x: visible;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Decorative Background Images */
.section-5b-decorative {
    position: absolute;
    z-index: 1000; /* Layering paling atas */
    pointer-events: none;
    opacity: 1; /* Lebih terlihat */
}

.section-5b-decorative-right {
    top: 50%;
    right: 0;
    width: 60%; /* Zoom lebih besar */
    max-width: 900px; /* Zoom lebih besar */
    transform: translate(85%, -30%); /* Geser lebih ke bawah */
}

.section-5b-decorative-left {
    top: 50%;
    left: 0;
    width: 55%;
    max-width: 2000px;
    transform: translate(-83%, -17%); /* Lebih jauh ke kiri */
}

.section-5b-decorative-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Wrapper utama – TANPA padding, supaya center bersih */
.section-5b-content {
    position: relative;
    z-index: 10; /* Di bawah hiasan */
    width: 100%;
    max-width: 1200px;
    padding: 0;                 /* penting */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;                      /* tidak ada gap antar item */
    overflow: visible; /* Allow line to break out */
}

/* Item service – padding dipindah ke sini */
.section-5b-service-item {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;                  /* tidak ada margin atas bawah */
    border-radius: 16px;
    overflow: hidden;
}

/* Hover gradient */
.section-5b-service-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(176, 145, 90, 0) 0%,
        rgba(176, 145, 90, 0.86) 18%,
        rgba(176, 145, 90, 0.86) 82%,
        rgba(176, 145, 90, 0) 100%
    );
    opacity: 0;
    transition: opacity 200ms ease;
    pointer-events: none;
}

.section-5b-service-item:hover::before {
    opacity: 1;
}

.section-5b-service-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 26px clamp(80px, 7vw, 160px);
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    transform: translateX(clamp(260px, 3.5vw, 72px));
}

.section-5b-service-num {
    font-family: 'ClassicoURWSection2', 'Gotham';
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    width: 32px;
    flex: 0 0 32px;
    text-align: right;
    padding-top: 6px;
}

.section-5b-service-title {
    font-family: 'ClassicoURWSection2', 'Gotham';
    font-weight: 500;
    font-size: clamp(28px, 3.3vw, 44px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.96);
    line-height: 1.12;
    text-align: left;
    flex: 1;
    min-width: 0;
}

.section-5b-service-item:hover .section-5b-service-title {
    color: rgba(0, 0, 0, 0.92);
}

.section-5b-service-item:hover .section-5b-service-num {
    color: rgba(0, 0, 0, 0.72);
}

/* Garis full width 100vw & benar-benar center */
.section-5b-line {
    width: 200vw;
  
    height: 3px;
    background: linear-gradient(to right,
      transparent 0%,
      rgba(255,255,255,0.2) 10%,
      rgba(255,255,255,0.5) 50%,
      rgba(255,255,255,0.2) 90%,
      transparent 100%
    );
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 25px;
    margin-bottom: 25px;
    display: block;
    box-sizing: border-box;
}

/* Button tetap center */
.section-5b-button {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.section-5b-button:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.section-5b-button:active {
    transform: scale(0.95);
}

.section-5b-button-img {
    max-width: 250px;
    width: auto;
    height: auto;
    display: block;
}

/* Section 6 Styles - Contact */
.section-6 {
    background: #000;
    height: auto;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    /* Ensure smooth scrolling on mobile */
    html {
        scroll-padding-top: 70px;
    }
    
    /* Optimize font sizes for mobile */
    .section-2-text {
        letter-spacing: 2px;
    }
    
    /* Better touch targets for mobile */
    .nav-link,
    .section-2-cta-link,
    .section-3-cta-img,
    .section-5b-service-item,
    .section-6-button {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Prevent horizontal overflow */
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    /* Better image scaling */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Optimize decorative elements for mobile */
    .section-4-decorative-top-right,
    .section-4-decorative-bottom-left,
    .section-5-decorative-right,
    .section-5-decorative-left,
    .section-5b-decorative-right,
    .section-5b-decorative-left {
        opacity: 0.2;
    }
}

/* High DPI Mobile Screens */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2),
       (max-width: 768px) and (min-resolution: 192dpi) {
    .section-2-text {
        -webkit-text-stroke: 1px #fff;
    }
    
    .nav-link {
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }
}

/* Safe area support for modern phones with notches */
@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        .header .container {
            padding-left: max(15px, env(safe-area-inset-left));
            padding-right: max(15px, env(safe-area-inset-right));
        }
        
        .main-content {
            padding-left: max(15px, env(safe-area-inset-left));
            padding-right: max(15px, env(safe-area-inset-right));
        }
        
        .section-2-content,
        .section-3-content,
        .section-4-content,
        .section-5-content,
        .section-5b-content,
        .section-6-top,
        .section-6-bottom {
            padding-left: max(20px, env(safe-area-inset-left));
            padding-right: max(20px, env(safe-area-inset-right));
        }
    }
}

/* 100vh Pertama - Contact Form Area */
.section-6-top {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 80px 0;
}

/* Gambar Tengah */
.section-6-center-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
    margin-bottom: 40px;
}

.section-6-center-img {
    width: auto;
    height: auto;
    max-width: 60%; /* Diperkecil sedikit */
    max-height: 50vh;
    display: block;
    object-fit: contain;
}

/* Tombol Bawah Berjejer */
.section-6-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    margin-bottom: 40px;
}

.section-6-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transform-origin: center;
    transition: transform 180ms ease;
}

.section-6-button:hover {
    transform: scale(1.05);
}

.section-6-button:active {
    transform: scale(0.98);
}

.section-6-button-img {
    width: auto;
    height: auto;
    max-width: 200px; /* Sangat diperkecil */
    display: block;
}

/* Pembatas */
.section-6-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.section-6-divider-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

/* 100vh Kedua - Footer */
.section-6-bottom {
    height: auto;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 80px 0;
    gap: 40px;
}

/* Content Tengah Footer */
.section-6-footer-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
}

.section-6-footer-center-img {
    width: 100%;
    max-width: 1300px; /* Diperkecil lagi */
    height: auto;
    display: block;
    object-fit: contain;
}

/* Tengah Bawah Footer */
.section-6-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.section-6-footer-bottom-img {
    width: auto;
    height: auto;
    max-width: 20%; /* Sangat diperkecil */
    display: block;
}

.section-6-footer-content {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.footer-top {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(220px, 380px) 1fr 1fr;
    gap: clamp(40px, 6vw, 120px);
    align-items: start;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-brand-logo {
    width: min(190px, 30vw);
    height: auto;
    display: block;
    object-fit: contain;
}

.footer-office {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: 'Gotham', Arial, sans-serif;
}

.footer-office-title {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.14em;
    color: #b8956a;
}

.footer-office-line {
    font-weight: 500;
    font-size: 13px;
    line-height: 1.55;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.78);
}

.footer-office-gap {
    height: 14px;
}

.footer-social {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-social-link {
    font-family: 'Gotham', Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.14em;
    color: #b8956a;
    text-decoration: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.footer-social-link:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.footer-meta {
    width: 100%;
    text-align: center;
    font-family: 'Gotham', Arial, sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.65;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.45);
}

.footer-meta > div + div {
    margin-top: 8px;
}

.footer-meta-accent {
    color: #b8956a;
}

.section-6-extra-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.section-6-extra-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0;
    padding: 0;
}

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-social {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 18px 26px;
    }
    .footer-meta {
        text-align: left;
    }
}

/* Enhanced Mobile Responsive Design */

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
    /* Header & Navigation */
    .header {
        padding: 15px 0;
    }
    
    .header .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .header .nav-link {
        font-size: 14px;
        padding: 12px 14px;
        margin: 0;
        width: min(360px, 90vw);
    }

    .header .nav-link.active {
        padding: 12px 14px;
    }
    
    /* Section 1 - Home */
    .section-home {
        padding-top: 80px;
        background-attachment: scroll;
    }
    
    .main-content {
        padding: 60px 15px;
        padding-left: 15px;
        padding-bottom: 150px;
        min-height: calc(100vh - 160px);
    }
    
    .content-wrapper {
        max-width: 100%;
    }
    
    .headline-img {
        max-width: 90%;
    }
    
    .separator-img {
        max-width: 200px;
    }
    
    .tagline-img {
        max-width: 80%;
    }
    
    /* Section 2 - About */
    .section-2 {
        height: auto;
        min-height: 100vh;
        padding: 40px 0;
    }

    .section-2-pattern {
        display: none;
    }
    
    .section-2-content {
        padding: 24px 20px 0;
        position: relative;
        top: 0;
        transform: none;
        left: 0;
        margin: 0 auto;
    }
    
    .section-2-text-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .section-2-left,
    .section-2-right {
        align-items: center;
        text-align: center;
        top: 0;
    }

    .section-2-pattern-inline {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 18px 0 8px;
    }

    .section-2-pattern-inline .section-2-pattern-img {
        width: min(260px, 70vw);
    }
    
    .section-2-text-1 {
        font-size: 36px;
    }
    
    .section-2-text-2 {
        font-size: 48px;
    }
    
    .section-2-text-3 {
        font-size: 36px;
    }
    
    .section-2-text-4 {
        font-size: 64px;
    }
    
    .section-2-cta {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 40px;
        text-align: center;
    }
    
    .section-2-cta-img {
        max-width: 150px;
    }
    
    /* Section 3 - Projects */
    .section-3-content {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 40px;
    }
    
    .section-3-left {
        order: 2;
        text-align: center;
        justify-content: center;
    }
    
    .section-3-right {
        order: 1;
        height: 50vh;
    }
    
    .section-3-left-content {
        align-items: center;
        gap: 15px;
    }
    
    .section-3-line-img {
        max-width: 120px;
    }
    
    .section-3-text-img {
        max-width: 180px;
    }
    
    .section-3-cta-img {
        max-width: 280px;
    }
    
    .section-3-slide img {
        max-height: 45vh;
    }
    
    .section-3-slide-overlay {
        bottom: 20px;
        left: 20px;
        gap: 10px;
    }
    
    .section-3-slide-overlay .overlay-judul {
        height: clamp(24px, 3vh, 34px);
        max-width: 60%;
    }
    
    .section-3-slide-overlay .overlay-text {
        height: clamp(40px, 5vh, 58px);
        max-width: 70%;
    }
    
    /* Section 4 - Trusted By */
    .section-4-content {
        padding: 0 20px;
        gap: 30px;
    }
    
    .section-4-title-img {
        max-width: 60%;
    }
    
    .section-4-main-img {
        max-width: 90%;
    }
    
    .section-4-decorative-top-right,
    .section-4-decorative-bottom-left {
        width: 60%;
        opacity: 0.4;
    }
    
    /* Section 5 - Services */
    .section-5-content {
        padding: 0 20px;
        padding-top: 100px;
        gap: 30px;
    }

    .section-5-title-top {
        margin-bottom: 0;
    }
    
    .section-5-title-top-img {
        max-width: 25%;
    }
    
    .section-5-text-center {
        max-width: 92vw;
    }

    .section-5-text-center-copy {
        font-size: 13px;
        line-height: 1.85;
    }
    
    .section-5-title-bottom-img {
        max-width: 60%;
    }
    
    .section-5-decorative-right,
    .section-5-decorative-left {
        width: 80%;
        opacity: 0.3;
    }
    
    /* Section 5b - Services List */
    .section-5b {
        padding: 60px 0;
        min-height: auto;
    }
    
    .section-5b-content {
        padding: 0 15px;
    }
    
    .section-5b-service-row {
        padding: 20px clamp(20px, 5vw, 40px);
        transform: none;
        gap: 10px;
    }
    
    .section-5b-service-num {
        font-size: 12px;
        width: 24px;
        flex: 0 0 24px;
    }
    
    .section-5b-service-title {
        font-size: clamp(18px, 4vw, 24px);
        text-align: left;
    }
    
    .section-5b-button-img {
        max-width: 180px;
    }
    
    /* Section 6 - Contact */
    .section-6-top {
        padding: 70px 15px 0;
    }
    
    .section-6-center-img {
        max-width: 90%;
        max-height: 35vh;
    }
    
    .section-6-buttons {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .section-6-button-img {
        max-width: 140px;
    }
    
    .section-6-bottom {
        padding: 40px 15px 0;
        gap: 20px;
    }
    
    .section-6-footer-center-img {
        max-width: 100%;
    }
    
    .section-6-footer-bottom-img {
        max-width: 60%;
    }

    .section-6-footer-content {
        gap: 48px;
    }

    .footer-social {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px 42px;
    }

    .footer-social-link {
        text-align: center;
    }

    .footer-meta {
        text-align: center;
    }
}

/* Mobile Landscape (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    /* Header & Navigation */
    .header {
        padding: 18px 0;
    }
    
    .header .container {
        padding-left: 25px;
        padding-right: 25px;
    }
    
    .logo-img {
        height: 52px;
    }
    
    /* Section 1 - Home */
    .main-content {
        padding: 80px 30px;
        padding-left: 30px;
        padding-bottom: 180px;
    }
    
    .headline-img {
        max-width: 80%;
    }
    
    .separator-img {
        max-width: 250px;
    }
    
    .tagline-img {
        max-width: 70%;
    }
    
    /* Section 2 - About */
    .section-2-pattern {
        display: none;
    }

    .section-2 {
        height: auto;
        min-height: 100vh;
        padding: 40px 0;
    }

    .section-2-content {
        padding: 26px 30px 0;
        position: relative;
        top: 0;
        transform: none;
        left: 0;
        margin: 0 auto;
    }

    .section-2-text-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .section-2-left,
    .section-2-right {
        align-items: center;
        text-align: center;
        top: 0;
    }

    .section-2-pattern-inline {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 22px 0 10px;
    }

    .section-2-pattern-inline .section-2-pattern-img {
        width: min(320px, 60vw);
    }
    
    .section-2-text-1 {
        font-size: 42px;
    }
    
    .section-2-text-2 {
        font-size: 64px;
    }
    
    .section-2-text-3 {
        font-size: 42px;
    }
    
    .section-2-text-4 {
        font-size: 80px;
    }
    
    .section-2-cta {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 50px;
        text-align: center;
    }
    
    /* Section 3 - Projects */
    .section-3-content {
        grid-template-columns: 1fr;
        padding: 0 40px;
        gap: 50px;
    }
    
    .section-3-left {
        order: 2;
        text-align: center;
        justify-content: center;
    }
    
    .section-3-right {
        order: 1;
        height: 60vh;
    }
    
    .section-3-left-content {
        align-items: center;
    }
    
    .section-3-line-img {
        max-width: 140px;
    }
    
    .section-3-text-img {
        max-width: 200px;
    }
    
    .section-3-cta-img {
        max-width: 320px;
    }
    
    .section-3-slide img {
        max-height: 55vh;
    }
    
    /* Section 4 - Trusted By */
    .section-4-title-img {
        max-width: 50%;
    }
    
    .section-4-main-img {
        max-width: 85%;
    }
    
    /* Section 5 - Services */
    .section-5-content {
        padding: 0 40px;
        padding-top: 120px;
        gap: 35px;
    }
    
    .section-5-title-top-img {
        max-width: 20%;
    }
    
    .section-5-text-center-img {
        max-width: 80%;
    }
    
    .section-5-title-bottom-img {
        max-width: 50%;
    }
    
    /* Section 5b - Services List */
    .section-5b-service-row {
        padding: 22px clamp(40px, 6vw, 80px);
        transform: translateX(clamp(100px, 2vw, 40px));
    }
    
    .section-5b-service-title {
        font-size: clamp(22px, 3.5vw, 32px);
    }
    
    /* Section 6 - Contact */
    .section-6-top {
        padding: 80px 30px 0;
    }
    
    .section-6-center-img {
        max-width: 80%;
        max-height: 40vh;
    }
    
    .section-6-buttons {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .section-6-button-img {
        max-width: 160px;
    }
    
    .section-6-bottom {
        padding: 50px 30px 0;
        gap: 30px;
    }
    
    .section-6-footer-center-img {
        max-width: 90%;
    }
    
    .section-6-footer-bottom-img {
        max-width: 45%;
    }

    .section-6-footer-content {
        gap: 52px;
    }

    .footer-social {
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px 42px;
    }

    .footer-meta {
        text-align: center;
    }
}

/* Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Header & Navigation */
    .header .container {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    /* Section 1 - Home */
    .main-content {
        padding: 100px 50px;
        padding-left: 150px;
    }
    
    .headline-img {
        max-width: 75%;
    }
    
    .tagline-img {
        max-width: 65%;
    }
    
    /* Section 2 - About */
    .section-2-content {
        padding: 0 50px;
    }
    
    .section-2-text-1 {
        font-size: 48px;
    }
    
    .section-2-text-2 {
        font-size: 80px;
    }
    
    .section-2-text-3 {
        font-size: 48px;
    }
    
    .section-2-text-4 {
        font-size: 120px;
    }
    
    /* Section 3 - Projects */
    .section-3-content {
        padding: 0 50px;
        gap: 60px;
    }
    
    .section-3-slide img {
        max-height: 65vh;
    }
    
    /* Section 4 - Trusted By */
    .section-4-content {
        padding: 0 50px;
    }
    
    .section-4-main-img {
        max-width: 90%;
    }
    
    /* Section 5 - Services */
    .section-5-content {
        padding: 0 50px;
        padding-top: 130px;
    }
    
    .section-5-text-center-img {
        max-width: 85%;
    }
    
    /* Section 5b - Services List */
    .section-5b-service-row {
        padding: 24px clamp(60px, 6vw, 120px);
        transform: translateX(clamp(180px, 3vw, 60px));
    }
    
    /* Section 6 - Contact */
    .section-6-top {
        padding: 100px 50px 0;
    }
    
    .section-6-center-img {
        max-width: 70%;
    }
    
    .section-6-bottom {
        padding: 60px 50px 0;
    }
    
    .section-6-footer-center-img {
        max-width: 85%;
    }
}

#bsa-index-intro {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 1000002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 550ms ease;
}

#bsa-index-intro.is-leaving {
    opacity: 0;
    pointer-events: none;
}

html.bsa-index-intro-active body {
    overflow: hidden;
}

.bsa-index-intro-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.bsa-index-intro-logo {
    width: min(240px, 48vw);
    height: auto;
    display: block;
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    animation: bsa-index-intro-logo 720ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.bsa-index-intro-bar {
    width: min(200px, 46vw);
    height: 2px;
    background: rgba(255, 255, 255, 0.72);
    transform: scaleX(0);
    transform-origin: 0 50%;
    animation: bsa-index-intro-bar 850ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 160ms;
}

@keyframes bsa-index-intro-logo {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes bsa-index-intro-bar {
    0% {
        transform: scaleX(0);
        opacity: 0.2;
    }
    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

#bsa-page-transition {
    position: fixed;
    inset: 0;
    background: #111;
    z-index: 1000001;
    pointer-events: none;
    transform: translateY(100%);
    will-change: transform;
    transition: transform 650ms cubic-bezier(0.77, 0, 0.175, 1);
}

#bsa-page-transition.bsa-pt-no-trans {
    transition: none !important;
}

#bsa-page-transition[data-state="idle"] {
    transform: translateY(100%);
}

#bsa-page-transition[data-state="closing"],
#bsa-page-transition[data-state="closed"] {
    transform: translateY(0);
}

#bsa-page-transition[data-state="closing"] {
    pointer-events: auto;
}

#bsa-page-transition[data-state="opening"] {
    transform: translateY(100%);
}

@media (prefers-reduced-motion: reduce) {
    #bsa-page-transition {
        transition: none;
    }
}

html.bsa-pt-pending {
    background: #111;
}

html.bsa-pt-pending #bsa-page-transition {
    transform: translateY(0) !important;
}

html.bsa-pt-pending body {
    visibility: hidden;
}

@media (max-width: 768px) {
    .section-3,
    .section-3-sticky,
    .section-3 * {
        pointer-events: auto !important;
    }

    .section-3 {
        overflow: hidden;
    }

    .section-3-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: 100%;
        max-width: none;
        padding-top: 96px;
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
        padding-bottom: 0;
        gap: 18px;
    }

    .section-3-left {
        order: 1;
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .section-3-left-content {
        align-items: center;
        gap: 14px;
    }

    .section-3-left-content img {
        margin-bottom: 0;
    }

    .section-3-right {
        order: 2;
        width: 100%;
        flex: 1;
        height: auto;
        align-items: center;
        justify-content: flex-start;
    }

    .section-3-slider-wrapper {
        position: relative;
        display: flex;
        flex-direction: row;
        height: min(58vh, 520px);
        width: max-content;
        will-change: transform;
    }

    .section-3-slide {
        position: relative;
        top: auto;
        left: auto;
        flex: 0 0 100vw;
        width: 100vw;
        height: 100%;
        transform: none;
    }

    .section-3-slide img {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: cover;
    }

    .section-3-slide-overlay {
        bottom: 18px;
        left: 18px;
    }
}
