:root {
    --navy: #14202e;
    --olive: #d9ae70;
    --ink: #1d2733;
    --warm: #faf7f2;
    --sand: #efe7da;
    --earth: #8a6f52;
    --gold: #b8924f;
    --green: #4d6b57;
    --r: 4px;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
body {
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background: var(--warm);
    overflow-x: hidden;
    line-height: 1.7;
}
img {
    max-width: 100%;
    display: block;
}
h1,
h2,
h3,
.logo,
.price,
.stats b,
blockquote {
    font-family: "Fraunces", serif;
    font-weight: 300;
}
a {
    text-decoration: none;
}
#nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: 0.4s;
}
#nav nav {
    gap: 1rem;
}
.logo {
    color: #fff;
    font-size: 1.4rem;
    letter-spacing: 0.25em;
    line-height: 1;
    display: inline-flex;
    flex-direction: column;
    transition: color 0.3s;
}
.logo small {
    font-family: "Manrope";
    font-size: 0.6rem;
    letter-spacing: 0.5em;
    margin-top: 0.35rem;
    opacity: 0.8;
}
.logo.dark {
    color: var(--navy);
}
.menu a {
    color: #fff;
    font-size: 0.85rem;
    transition: color 0.3s;
    position: relative;
}
.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 1px;
    width: 0;
    background: currentColor;
    transition: width 0.3s;
}
.menu a:hover::after {
    width: 100%;
}
.burger {
    background: none;
    border: 0;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}
#nav.scrolled {
    background: rgba(250, 247, 242, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 14px rgba(20, 32, 46, 0.06);
    padding: 0.7rem 0;
}
#nav.scrolled .logo,
#nav.scrolled .menu a,
#nav.scrolled .burger {
    color: var(--navy);
}
.mmenu a {
    display: block;
    padding: 0.8rem 0;
    font-family: "Fraunces";
    font-size: 1.5rem;
    color: var(--navy);
    border-bottom: 1px solid var(--sand);
}
.btn-d {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    background: var(--olive);
    color: #081129;
    border: 1px solid var(--olive);
    border-radius: var(--r);
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
    cursor: pointer;
}
.btn-d:hover {
    transform: translateY(-2px);
    background: var(--earth);
    border-color: var(--earth);
    color: #fff;
    box-shadow: 0 8px 20px rgba(20, 32, 46, 0.18);
}
.btn-d.ghost {
    background: transparent;
    color: inherit;
    border-color: currentColor;
}
.hero .btn-d.ghost,
.cta .btn-d.ghost {
    color: #fff;
}
.split-tx .btn-d.ghost {
    color: #fff;
}
.split-tx .btn-d {
    background: var(--olive);
    border-color: var(--olive);
}
.split-tx .btn-d.ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
}
.btn-d.gold {
    background: var(--olive);
    border-color: var(--olive);
}
#nav .btn-d {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}
#nav.scrolled .btn-d {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    padding: 7rem 0 9rem;
}
.hero-bg {
    position: absolute;
    inset: -8% 0;
    background-size: cover;
    background-position: center;
    background-color: var(--navy);
    will-change: transform;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        /* Gradien horizontal: menggelapkan sisi kiri tempat teks berada agar sangat kontras dan mudah dibaca */
        linear-gradient(
            100deg,
            rgba(20, 30, 48, 0.95) 0%,
            /* Warna dasar lebih biru gelap di sisi paling kiri */
            rgba(20, 30, 48, 0.75) 45%,
            /* Berangsur-angsur menjadi biru gelap dengan transparansi sedang */
            rgba(20, 30, 48, 0.35) 75%,
            /* Berangsur-angsur menjadi sangat transparan, membiarkan gambar di belakangnya terlihat */
            transparent 100% /* Sisi paling kanan benar-benar transparan */
        ),
        /* Gradien vertikal: memberikan depth/bayangan lembut di bagian bawah untuk area footer/paving */
        linear-gradient(
                0deg,
                rgba(16, 24, 38, 0.8) 0%,
                /* Warna dasar biru lebih gelap di bagian bawah */ transparent
                    50% /* Sisi atas gradien vertikal transparan */
            );
}
.hero-in {
    position: relative;
    z-index: 2;
    animation: up 1.1s 0.2s both;
}
.label {
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    margin-bottom: 1.2rem;
    color: #e8d5b0;
}
.label.dk {
    color: var(--earth);
}
.hero h1 {
    font-size: clamp(2.4rem, 6.5vw, 5.4rem);
    line-height: 1.05;
    max-width: 15ch;
    margin-bottom: 1.5rem;
}
.lead-w {
    max-width: 540px;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}
.hero-float {
    position: absolute;
    z-index: 2;
    right: 5%;
    bottom: 22%;
    padding: 1.2rem 1.6rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    animation: up 1.1s 0.7s both;
}
.hero-float small,
.hero-float strong,
.hero-float span {
    display: block;
}
.hero-float span {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 0.4rem;
}
.scroll-i {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 6.5rem;
    color: #fff;
    font-size: 1.4rem;
    transform: translateX(-50%);
    animation: bob 2s infinite;
}
@keyframes up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
}
@keyframes bob {
    50% {
        transform: translate(-50%, 8px);
    }
}
.search-wrap {
    position: relative;
    z-index: 5;
    margin-top: -5.5rem;
}
.search-card {
    background: #fff;
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(20, 32, 46, 0.14);
    border-radius: var(--r);
}
.search-card h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}
label {
    font-size: 0.75rem;
    color: var(--earth);
    font-weight: 700;
    margin-bottom: 0.3rem;
    display: block;
}
.form-control,
.form-select {
    border-radius: var(--r);
    border-color: #ddd5c8;
    padding: 0.7rem 0.9rem;
    background-color: var(--warm);
}
.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 146, 79, 0.2);
}
.err {
    color: #b3392b;
    font-size: 0.85rem;
    margin: 0.8rem 0 0;
}
.okm {
    color: var(--green);
    margin: 1rem 0 0;
    font-weight: 500;
}
.sec {
    padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.sand {
    background: var(--sand);
}
.h-xl {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    line-height: 1.12;
    margin-bottom: 1.2rem;
    color: var(--navy);
}
.h-s {
    font-size: 1.2rem;
    font-family: "Manrope";
    font-weight: 700;
    margin: 1.5rem 0 1rem;
}
.sec-h {
    max-width: 640px;
    margin-bottom: 3rem;
}
.big {
    font-family: "Fraunces";
    font-size: 1.45rem;
    line-height: 1.4;
    color: var(--navy);
    font-weight: 300;
}
.img-fill {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--r);
    background: var(--sand);
}
.tall {
    aspect-ratio: 4/5;
    max-height: 620px;
}
.values i {
    font-size: 1.6rem;
    color: var(--gold);
}
.values h3 {
    font-family: "Manrope";
    font-weight: 700;
    font-size: 1rem;
    margin-top: 0.4rem;
}
.pcard,
.fc {
    position: relative;
    overflow: hidden;
    border-radius: var(--r);
    aspect-ratio: 3/4;
    background: var(--navy);
}
.pcard img,
.fc img,
.tcard img,
.acard img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pcard img,
.fc img {
    height: 100%;
}
.pcard:hover img,
.fc:hover img {
    transform: scale(1.06);
}
.pcard::after,
.fc::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(14, 22, 32, 0.85),
        rgba(14, 22, 32, 0.05) 60%
    );
    transition: 0.4s;
}
.pcard:hover::after {
    background: linear-gradient(
        0deg,
        rgba(14, 22, 32, 0.92),
        rgba(14, 22, 32, 0.45)
    );
}
.pc-in {
    position: absolute;
    z-index: 2;
    inset: auto 0 0;
    padding: 1.6rem;
    color: #fff;
}
.pc-in h3 {
    font-size: 1.6rem;
    margin: 0;
}
.pc-in p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin: 0.4rem 0 0;
}
.pc-cta {
    display: inline-block;
    color: #e8d5b0;
    font-weight: 700;
    font-size: 0.85rem;
    border-bottom: 1px solid;
    margin-top: 0.8rem;
}
.pcard .pc-cta {
    opacity: 0;
    transform: translateY(8px);
    transition: 0.4s;
}
.pcard:hover .pc-cta,
.pcard:focus-within .pc-cta {
    opacity: 1;
    transform: none;
}
@media (hover: none) {
    .pcard .pc-cta {
        opacity: 1;
        transform: none;
    }
}
.badge-s {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    background: #fff;
    color: var(--navy);
}
.pcard .badge-s {
    position: absolute;
    z-index: 2;
    top: 1.2rem;
    left: 1.2rem;
}
.badge-s.ok {
    background: #dcebdf;
    color: #2e5a3d;
}
.badge-s.soon {
    background: #f1e7cf;
    color: #7a5c20;
}
.badge-s.ltd {
    background: #f3d9d0;
    color: #8c3a22;
}
.badge-s.gold {
    background: var(--gold);
    color: #fff;
    margin-bottom: 1.2rem;
}
.tcard {
    background: #fff;
    border-radius: var(--r);
    overflow: hidden;
    transition: box-shadow 0.4s;
    height: 100%;
}
.tcard:hover {
    box-shadow: 0 20px 50px rgba(20, 32, 46, 0.12);
}
.tcard img {
    aspect-ratio: 4/3;
}
.tcard:hover img {
    transform: scale(1.04);
}
.tc-in {
    padding: 1.6rem;
}
.tc-in h3 {
    font-size: 1.8rem;
}
.tc-in ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    font-size: 0.92rem;
}
.tc-in li {
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--sand);
}
.tc-in i {
    color: var(--gold);
    margin-right: 0.5rem;
}
.price {
    font-size: 1.3rem;
    color: var(--earth);
    margin: 0;
}
.pc-cta.d {
    color: var(--navy);
}
.split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: var(--navy);
    color: #fff;
}
.split-img {
    min-height: 560px;
    position: relative;
}
.split-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.split-tx {
    padding: clamp(3rem, 7vw, 6rem);
}
.split-tx .h-xl {
    color: #fff;
}
.specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
    margin: 2rem 0;
}
.specs div {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 0.7rem;
}
.specs dt {
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: 400;
}
.specs dd {
    font-family: "Fraunces";
    font-size: 1.6rem;
    margin: 0;
}
.dist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
}
.dist li {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--sand);
}
.dist b {
    font-family: "Fraunces";
    font-size: 2rem;
    color: var(--gold);
    font-weight: 300;
    margin-right: 0.4rem;
}
.mapv {
    position: relative;
    aspect-ratio: 3/2;
    background: #e6e0d2;
    border-radius: var(--r);
    overflow: hidden;
}
.mapv svg {
    width: 100%;
    height: 100%;
}
.rd {
    fill: none;
    stroke: #fff;
    stroke-width: 14;
}
.rd.th {
    stroke-width: 7;
}
.lot {
    fill: rgba(77, 107, 87, 0.35);
    stroke: var(--green);
    stroke-width: 2;
}
.pin {
    position: absolute;
    left: 55%;
    top: 35%;
    color: var(--gold);
    font-size: 2.6rem;
    line-height: 1;
    text-align: center;
    transform: translate(-50%, -100%);
}
.pin em {
    display: block;
    font: 700 0.75rem "Manrope";
    background: var(--navy);
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    font-style: normal;
    margin-top: 0.3rem;
    white-space: nowrap;
}
.fc {
    aspect-ratio: 4/3;
}
.fc::after {
    background: linear-gradient(
        0deg,
        rgba(14, 22, 32, 0.85),
        rgba(14, 22, 32, 0.25)
    );
}
.fc i,
.fc h3 {
    position: absolute;
    z-index: 2;
    color: #fff;
}
.fc i {
    top: 1.2rem;
    left: 1.2rem;
    font-size: 1.5rem;
    color: #e8d5b0;
}
.fc h3 {
    left: 1.2rem;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.25rem;
    margin: 0;
}
.promo {
    background: linear-gradient(135deg, #1a2a3a, #14202e);
    color: #fff;
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}
.promo .h-xl,
.promo .big {
    color: #fff;
}
.ben {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
}
.ben li {
    padding: 0.4rem 0;
}
.ben i {
    color: var(--gold);
    margin-right: 0.6rem;
}
.promo .img-fill {
    aspect-ratio: 4/3;
}
.pay {
    display: grid;
    gap: 0.8rem;
    margin-top: 2rem;
}
.pay div {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.3rem;
    background: #fff;
    border-radius: var(--r);
    border-left: 3px solid var(--gold);
}
.pay i {
    font-size: 1.4rem;
    color: var(--gold);
}
.calc {
    background: #fff;
    padding: 2rem;
    border-radius: var(--r);
    box-shadow: 0 18px 50px rgba(20, 32, 46, 0.08);
}
.res {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: var(--sand);
    border-radius: var(--r);
}
.res small,
.res strong {
    display: block;
}
.res strong {
    font: 300 2.2rem "Fraunces";
    color: var(--navy);
}
.disc {
    font-size: 0.78rem;
    color: #6b6358;
    margin: 1rem 0 0;
}
.stats {
    background: var(--sand);
    padding: 4.5rem 0;
}
.stats b {
    display: block;
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    color: var(--navy);
    line-height: 1.1;
}
.stats small {
    color: var(--earth);
    font-weight: 700;
}
.tsl {
    position: relative;
    max-width: 820px;
    min-height: 240px;
}
.t {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.7s,
        visibility 0.7s;
}
.t.on {
    opacity: 1;
    visibility: visible;
    position: relative;
}
.t blockquote {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    line-height: 1.35;
    color: var(--navy);
    margin: 0.8rem 0 1.2rem;
}
.stars {
    color: var(--gold);
    letter-spacing: 0.2em;
}
.dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.dots button {
    width: 28px;
    height: 3px;
    border: 0;
    background: #d8cfbf;
    padding: 0;
    transition: 0.3s;
}
.dots button.on {
    background: var(--gold);
    width: 48px;
}
.acard {
    background: #fff;
    border-radius: var(--r);
    overflow: hidden;
    height: 100%;
}
.acard img {
    aspect-ratio: 3/2;
}
.acard:hover img {
    transform: scale(1.04);
}
.acard div {
    padding: 1.3rem;
}
.acard small {
    color: var(--earth);
}
.acard h3 {
    font-size: 1.25rem;
    margin: 0.4rem 0;
}
.acard p {
    font-size: 0.88rem;
    color: #5d564c;
}
.acard a {
    color: var(--navy);
    font-weight: 700;
    font-size: 0.85rem;
    border-bottom: 1px solid;
}
.cta {
    position: relative;
    padding: clamp(5rem, 10vw, 9rem) 0;
    color: #fff;
    overflow: hidden;
}
.cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--navy);
}
.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(14, 22, 32, 0.72);
}
.cta .container {
    position: relative;
    z-index: 2;
}
.cta .h-xl {
    color: #fff;
}
.ci {
    list-style: none;
    padding: 0;
}
.ci li {
    padding: 0.6rem 0;
}
.ci i {
    color: var(--gold);
    margin-right: 0.7rem;
}
.foot {
    background: var(--navy);
    color: #b9c0c9;
    padding: 5rem 0 1.5rem;
    font-size: 0.9rem;
}
.foot h4 {
    color: #fff;
    font: 700 0.85rem "Manrope";
    margin-bottom: 1rem;
}
.foot ul {
    list-style: none;
    padding: 0;
}
.foot li {
    margin-bottom: 0.5rem;
}
.foot a {
    color: #b9c0c9;
    transition: color 0.3s;
}
.foot a:hover {
    color: #e8d5b0;
}
.soc {
    display: flex;
    gap: 0.7rem;
}
.soc a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    transition: 0.3s;
}
.soc a:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}
.fb {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.8rem;
}
.wa-float {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #25d366;
    color: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}
.wa-float i {
    font-size: 1.4rem;
}
.wa-float:hover {
    transform: translateY(-3px);
    color: #fff;
}
@media (max-width: 575px) {
    .wa-float span {
        display: none;
    }
    .wa-float {
        padding: 0.9rem;
    }
    .foot {
        padding-bottom: 5.5rem;
    }
}
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
    opacity: 1;
    transform: none;
}
.reveal-img {
    position: relative;
    overflow: hidden;
    /* clip-path: inset(0 100% 0 0); */
    transition: clip-path 1.2s cubic-bezier(0.7, 0, 0.2, 1);
}
.reveal-img.in {
    clip-path: inset(0);
}
.reveal-img img {
    transform: scale(1.15);
    transition: transform 1.6s;
}
.reveal-img.in img {
    transform: none;
}
@media (max-width: 991px) {
    .split {
        grid-template-columns: 1fr;
    }
    .split-img {
        min-height: 340px;
    }
    .search-wrap {
        margin-top: -4rem;
    }
    .pcard {
        aspect-ratio: 4/3;
    }
}
@media (max-width: 575px) {
    .search-card {
        padding: 1.4rem;
    }
    .hero {
        padding-bottom: 8rem;
    }
    .specs {
        gap: 1rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto;
    }
    .reveal,
    .reveal-img {
        opacity: 1;
        transform: none;
        clip-path: none;
    }
}
.error-input {
    font-size: 0.8rem;
    color: #e06254;
    font-weight: 500;
    margin: 0.5rem 0 0;
}
/* ---------- Hero slideshow ---------- */
/* =========================================================
   HERO SLIDESHOW — CSS final
   ========================================================= */
:root {
    --hero-min-h: 100vh; /* Diubah dari 600px menjadi 100vh (full screen) */
    --hero-top-space: 90px; /* Jarak atas teks (sesuaikan jika navbar Anda fixed/sticky) */
    --hero-bottom-space: 110px; /* Jarak bawah teks, ruang untuk dot */
}

/* ---------- Wadah ---------- */
.hero {
    position: relative;
    display: flex; /* Menggunakan flex agar konten bisa berada di tengah vertikal */
    align-items: center; /* Konten berada di tengah secara vertikal */
    overflow: hidden;
    isolation: isolate;
    padding: 0 !important;
    min-height: 100vh; /* Memastikan wadah minimal setinggi layar */
    width: 100%;
    background: #0b1f14; /* Warna cadangan sebelum foto termuat */
}

/* ---------- Slide ditumpuk di satu sel grid ---------- */
.hero-slides {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    height: 100%; /* Mengisi penuh tinggi wadah */
    position: absolute;
    inset: 0;
}
.hero-slide {
    grid-area: 1/1;
    position: relative;
    display: flex;
    align-items: center;
    min-height: var(--hero-min-h);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 1.3s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0s linear 1.3s;
}
.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transition:
        opacity 1.3s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0s;
}

/* ---------- Foto: selalu full ---------- */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-bg img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 8s linear;
    will-change: transform;
}
.hero-slide.is-active .hero-bg img {
    transform: scale(1.08);
}

/* ---------- Gradasi gelap agar teks terbaca ---------- */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* background:
        linear-gradient(
            90deg,
            rgba(9, 19, 15, 0.78) 0%,
            rgba(9, 19, 15, 0.45) 55%,
            rgba(9, 19, 15, 0.2) 100%
        ),
        linear-gradient(0deg, rgba(9, 19, 15, 0.5) 0%, transparent 40%); */
}

/* ---------- Teks per slide ---------- */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: var(--hero-top-space);
    padding-bottom: var(--hero-bottom-space);
}
.hero-anim {
    display: block;
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}
.hero-slide.is-active .hero-anim {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: calc(0.35s + var(--i, 0) * 0.14s);
}
span.hero-anim,
a.hero-anim {
    display: inline-block;
}

/* ---------- Kontrol ---------- */
.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
}
.hero-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.2s,
        transform 0.2s;
}
.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: scale(1.08);
}

.hero-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}
.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.45);
    transition:
        width 0.35s ease,
        background 0.35s ease;
}
.hero-dot.is-active {
    width: 28px;
    background: #e9b429;
}

/* ---------- Mobile ---------- */
@media (max-width: 575.98px) {
    :root {
        --hero-min-h: 100vh; /* Tetap full screen di mobile */
        --hero-top-space: 70px;
        --hero-bottom-space: 96px;
    }
    .hero {
        min-height: 100vh;
    }
    .hero-arrow {
        display: none;
    }
    .hero-controls {
        bottom: 20px;
    }
    /* .hero-overlay {
        background: linear-gradient(
            0deg,
            rgba(9, 19, 15, 0.8) 0%,
            rgba(9, 19, 15, 0.5) 100%
        );
    } */
}

/* ---------- Kurangi gerakan (pengaturan OS) ---------- */
@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slide.is-active {
        transition-duration: 0.01ms;
    }
    .hero-bg img {
        transition: none;
        transform: none !important;
    }
    .hero-anim,
    .hero-slide.is-active .hero-anim {
        transition: none;
        transform: none;
        transition-delay: 0s;
    }
}
