:root {
    --cokelat: #7b3621;
    --cream: #ebd5ab;
    --cream-ii: #fff4e0;
    --hijau: #346739;
    --putih: #ffffff;
    --hitam: #111111;

    --font-heading: 'EB Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--hitam);
    line-height: 1.6;
    background-color: var(--putih);
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-text {
    animation: fadeInSlideUp 1s ease-out forwards;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    /* Garamond usually looks best with regular/italic weights */
}

.heading-36 {
    font-size: 36px;
}

/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;

    padding: 0.1rem 2rem;

    background-color: var(--putih);

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    position: relative;

    width: 100%;
    max-width: 1200px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 0 auto;
}


/* =========================================================
   LOGO NAVBAR
   ========================================================= */

.logo a {
    color: var(--cokelat);
    text-decoration: none;

    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* =========================================================
   MENU NAVIGASI
   ========================================================= */

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    position: relative;

    padding-bottom: 5px;

    color: var(--hitam);
    text-decoration: none;

    font-family: var(--font-body);
    font-size: 16px;

    transition:
        color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--cokelat);
}

.nav-links a.active::after {
    content: '';

    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background-color: var(--cream);
}


/* =========================================================
   TOMBOL BURGER
   ========================================================= */

.navbar-burger {
    width: 42px;
    height: 42px;

    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    padding: 0;

    border: none;
    background-color: transparent;

    cursor: pointer;
}

.navbar-burger span {
    width: 25px;
    height: 2px;

    display: block;

    border-radius: 999px;

    background-color: var(--cokelat);

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

/* Perubahan burger menjadi tanda X */

.navbar-burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-burger.active span:nth-child(2) {
    opacity: 0;
}

.navbar-burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   RESPONSIVE NAVBAR
   ========================================================= */

@media (max-width: 768px) {

    .navbar {
        padding: 0.35rem 1.25rem;
    }

    .navbar-container {
        position: relative;
    }

    .logo a {
        font-size: 30px;
    }

    .navbar-burger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: -1.25rem;
        right: -1.25rem;
        z-index: 999;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 0.75rem 1.25rem 1rem;

        background-color: var(--putih);

        box-shadow:
            0 8px 14px rgba(0, 0, 0, 0.12);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        width: 100%;

        padding: 0.9rem 0;

        border-bottom:
            1px solid rgba(123, 54, 33, 0.12);

        font-size: 15px;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a.active::after {
        bottom: 7px;
        width: 32px;
    }
}

@media (max-width: 480px) {

    .navbar {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .logo a {
        font-size: 28px;
    }

    .nav-links {
        left: -1rem;
        right: -1rem;

        padding-right: 1rem;
        padding-left: 1rem;
    }
}

/* Common Components */
.badge-ribbon {
    display: inline-block;
    background-color: var(--cream);
    color: var(--cokelat);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    padding: 0.5rem 1.5rem;
    position: relative;
}

.badge-ribbon::before,
.badge-ribbon::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 10px;
    background-color: var(--cream);
}

.badge-ribbon::before {
    left: -5px;
    border-radius: 5px 0 0 5px;
}

.badge-ribbon::after {
    right: -5px;
    border-radius: 0 5px 5px 0;
}

.zigzag-border {
    height: 20px;
    background: linear-gradient(-45deg, var(--cream) 10px, transparent 0), linear-gradient(45deg, var(--cream) 10px, transparent 0);
    background-position: left top;
    background-repeat: repeat-x;
    background-size: 20px 20px;
    background-color: var(--cokelat);
    width: 100%;
}

.dashed-divider {
    height: 5px;
    width: 100%;
    border-top: 2px dashed var(--cokelat);
    margin: 3rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* =========================================================
   HERO BASE
   Digunakan oleh seluruh halaman
   ========================================================= */

.hero-section {
    position: relative;

    height: 90vh;
    min-height: 500px;

    display: flex;
    align-items: flex-end;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: '';

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0) 50%
        );
}

.hero-content {
    position: relative;
    z-index: 1;

    max-width: 800px;

    display: flex;
    align-items: flex-end;

    padding: 3rem 4rem;
}

.hero-title {
    color: var(--putih);

    font-family: var(--font-heading);
    font-size: 36px;
    font-style: italic;
    line-height: 1.3;
}


/* =========================================================
   HERO BERANDA
   ========================================================= */

.hero-section.beranda-hero {
    position: relative;

    width: 100%;
    height: auto;
    min-height: 0;

    aspect-ratio: 1116 / 590;

    display: flex;
    align-items: flex-end;
    justify-content: flex-start;

    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a0c07;
}

.hero-section.beranda-hero::before {
    content: '';

    position: absolute;
    inset: 0;
    z-index: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.08) 48%,
            rgba(0, 0, 0, 0) 70%
        );

    pointer-events: none;
}


/* Posisi tulisan */

.beranda-hero .hero-content {
    position: relative;
    z-index: 1;

    width: auto;
    max-width: none;

    display: block;

    margin: 0;
    padding: 0 0 3rem 3.5rem;
}

.beranda-hero .hero-title {
    width: auto;
    max-width: none;

    margin: 0;
    margin-left: 8rem;
    margin-bottom: 20%;

    color: var(--putih);

    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 38px);
    font-style: italic;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;

    text-shadow:
        0 3px 12px rgba(0, 0, 0, 0.75);
}


/* =========================================================
   RESPONSIVE HERO BERANDA
   ========================================================= */

@media (max-width: 768px) {

    .hero-section.beranda-hero {
        height: auto;
        min-height: 0;

        aspect-ratio: 1116 / 669;

        background-size: contain;
        background-position: center;
    }

    .beranda-hero .hero-content {
        padding: 0 1.5rem 2rem;
    }

    .beranda-hero .hero-title {
        font-size: clamp(22px, 5vw, 30px);
        line-height: 1.2;
    }
}

@media (max-width: 480px) {

    .hero-section.beranda-hero {
        height: auto;
        min-height: 0;

        aspect-ratio: 1116 / 669;
        background-size: contain;
    }

    .beranda-hero .hero-content {
        padding: 0 1rem 1.5rem;
    }

    .beranda-hero .hero-title {
        font-size: 22px;
    }
}

/* =========================================================
   Page: Beranda
   ========================================================= */
.lead-paragraph {
    padding: 5rem 2rem;
    text-align: center;
    background-color: var(--putih);
}

.lead-paragraph p {
    font-family: var(--font-heading);
    font-size: 24px;
    /* Slightly smaller than hero, italic */
    color: var(--cokelat);
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

.mengapa-cabaco {
    padding: 4rem 2rem 10%;
    text-align: center;
    background-color: var(--putih);
}

.mengapa-cabaco h2 {
    margin-bottom: 3rem;

    color: var(--cokelat);

    font-family: var(--font-heading);
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
}

.mengapa-cabaco h2 b {
    font-weight: 700;
}

.mengapa-cabaco h2 .caps {
    display: inline-block;

    font-size: 42px;
    font-style: italic;
    line-height: 0.8;
}

.mengapa-cabaco h2 span.caps {
    font-size: 42px;
    /* For M and C */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--cokelat);
    border-radius: 12px;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.feature-card .icon-wrapper {
    padding: 3.5rem 0.5rem 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.feature-card .icon-wrapper img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.feature-card .card-label {
    background-color: var(--cream);
    color: var(--cokelat);
    width: 100%;
    padding: 1.2rem 0;
    text-align: center;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 16px;
    margin-top: auto;
}

.zip-wrapper {
    position: relative;
    width: 100%;
    height: clamp(28px, 5.6vw, 70px);
    overflow: hidden;
    line-height: 0;
    background-color: #ffffff;
    margin: -1px 0;
    z-index: 2;
}

.zip-divider {
    position: absolute;
    top: 50%;
    left: -12%;
    width: 155%;
    height: auto;
    max-width: none;
    display: block;
    transform: translateY(-50%);
}

.profil-singkat {
    padding: 6rem 2rem;
    color: var(--putih);
    position: relative;

    /* Menjaga tekstur kulit tetap jelas */
    background-size: 600px auto;
    background-position: center;
    background-repeat: repeat;
    background-color: #7b3621;
}

.profil-singkat::before {
    content: '';
    position: absolute;
    inset: 0;

    /* Diperkecil dari 0.85 agar tekstur tidak tertutup */
    background-color: rgba(70, 25, 12, 0.4);
    pointer-events: none;
}

.profil-singkat .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.profil-singkat p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;

    /* Membantu keterbacaan teks */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* =========================================================
   Page: Profil
   ========================================================= */

.profil-page {
    width: 100%;
    overflow: hidden;
    background-color: var(--putih);
}

/* =========================================================
   HERO PROFIL
   ========================================================= */

.profil-hero {
    width: 100vw;
    height: 90vh;
    min-height: 540px;

    margin-left: calc(50% - 50vw);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    justify-content: flex-end;
}

.profil-hero::before {
    background:
        linear-gradient(
            to top,
            rgba(20, 8, 3, 0.72) 0%,
            rgba(20, 8, 3, 0.15) 55%,
            rgba(20, 8, 3, 0.02) 100%
        );
}

.profil-hero .hero-content {
    width: 100%;
    max-width: 980px;

    display: flex;
    align-items: flex-end;
    justify-content: flex-end;

    margin-left: auto;
    padding: 2rem 4rem 4rem;
}

.profil-hero .hero-title {
    width: 100%;
    max-width: 920px;

    margin: 0;

    color: var(--putih);

    font-family: var(--font-heading);
    font-size: clamp(26px, 2.8vw, 42px);
    font-weight: 600;
    line-height: 1.15;
    text-align: right;

    text-shadow:
        0 3px 12px rgba(0, 0, 0, 0.65);
}

.profil-hero .hero-title span {
    display: block;
}

/* =========================================================
   GALERI EMPAT FOTO
   ========================================================= */

.gallery-row {
    width: 100vw;
    height: 330px;

    margin-left: calc(50% - 50vw);
    padding: 10px 0;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;

    /* Warna celah dan bagian luar galeri */
    background-color: var(--cokelat);
}

.gallery-row-item {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    cursor: pointer;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.gallery-row-item::after {
    content: '';

    position: absolute;
    inset: 0;

    background-color: rgba(61, 24, 10, 0.06);

    transition: background-color 0.35s ease;
}

.gallery-row-item:hover {
    z-index: 2;

    transform: scale(1.025);
    filter: brightness(1.04);
}

.gallery-row-item:hover::after {
    background-color: transparent;
}

/* =========================================================
   DIVIDER PROFIL
   ========================================================= */

.profil-divider {
    width: 100vw;
    height: 40px;

    margin-left: calc(50% - 50vw);

    background-color: var(--cokelat);
    background-image: url('../assets/img/profil/divider-dash.png');

    /* Gambar diulang tanpa ditarik */
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 12rem;

    overflow: hidden;
}

/* Sejak 2016 */
.sejak-2016 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.sejak-2016 .badge-ribbon {
    margin-left: -2rem;
    margin-bottom: 2.5rem;
    min-width: 230px;
    padding: 0.55rem 2rem;
    font-family: var(--font-heading);
    font-size: 28px;
    font-style: normal;
    text-align: center;
}

.sejak-2016-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(3rem, 8vw, 8rem);
}

.sejak-2016-content p {
    margin: 0;
    color: #68463b;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

/* =========================================================
   VISI DAN MISI
   ========================================================= */

.visi-misi {
    /* Tetap memenuhi lebar layar walaupun berada di dalam parent */
    width: 100vw;
    margin-left: calc(50% - 50vw);

    padding: 2rem 0 5rem;
    overflow: hidden;
}

/* Menghilangkan ornamen bawaan badge-ribbon */
.visi-misi .badge-ribbon::before,
.visi-misi .badge-ribbon::after {
    display: none;
}

.visi-misi-card {
    position: relative;
    margin: 0;
}

/* =========================================================
   VISI
   ========================================================= */

.visi-card {
    position: relative;

    width: 80%;
    margin-left: 40%;
    margin-right: 0;

    max-width: none;
    margin-bottom: 5rem;
    padding-top: 50px;
}

.visi-card .badge-ribbon {
    position: absolute;
    top: 0;
    left: 26px;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 150px;
    padding: 0.45rem 1.8rem;

    border-radius: 4px;

    background-color: var(--cream);
    color: var(--cokelat);

    font-family: var(--font-heading);
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
}

.visi-box {
    width: 100%;
    min-height: 64px;

    display: flex;
    align-items: center;

    padding: 1rem 3rem;

    border-radius: 999px 0 0 999px;

    background-color: var(--cokelat);
    color: var(--putih);

    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.4;
}

/* =========================================================
   MISI
   ========================================================= */

.misi-card {
    /* Menempel ke kiri dan berhenti sebelum tepi kanan */
    width: 80%;
    margin-right: auto;

    /* Ruang untuk label Misi */
    padding-top: 54px;
}

.misi-card .badge-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 145px;
    padding: 0.45rem 1.8rem;

    border-radius: 0 4px 4px 0;

    background-color: var(--cream);
    color: var(--cokelat);

    font-family: var(--font-heading);
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
}

.misi-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.misi-box {
    width: 100%;
    min-height: 50px;

    display: flex;
    align-items: center;

    padding: 0.75rem 2rem;

    /* Menempel ke kiri dan melengkung di kanan */
    border-radius: 0 999px 999px 0;

    background-color: var(--cokelat);
    color: var(--putih);

    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    padding-left: 8%;
}

.badge-ribbon .huruf-awal {
    display: inline-block;

    font-size: 1.15em;
    font-style: italic;
    line-height: 0.8;
}

/* =========================================================
   RESPONSIVE VISI DAN MISI
   ========================================================= */

@media (max-width: 900px) {
    .visi-card {
        width: 74%;
    }

    .misi-card {
        width: 82%;
    }
}

@media (max-width: 768px) {
    .visi-misi {
        padding-top: 1.5rem;
        padding-bottom: 3.5rem;
    }

    .visi-card {
        width: 84%;
        margin-bottom: 4rem;
        padding-top: 46px;
    }

    .misi-card {
        width: 92%;
        padding-top: 50px;
    }

    .visi-card .badge-ribbon,
    .misi-card .badge-ribbon {
        min-width: 120px;
        padding: 0.4rem 1.4rem;
        font-size: 24px;
    }

    .visi-card .badge-ribbon {
        left: 20px;
    }

    .visi-box {
        min-height: 58px;
        padding: 0.9rem 1.8rem;
        font-size: 13px;
    }

    .misi-box {
        min-height: 48px;
        padding: 0.8rem 1.5rem;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .visi-card {
        width: 92%;
    }

    .misi-card {
        width: 97%;
    }

    .visi-card .badge-ribbon,
    .misi-card .badge-ribbon {
        min-width: 105px;
        font-size: 22px;
    }

    .visi-box {
        border-radius: 30px 0 0 30px;
        padding-left: 1.4rem;
    }

    .misi-box {
        border-radius: 0 26px 26px 0;
        padding-left: 1.2rem;
    }
}

/* Bagian 10 Tahun */
.sepuluh-tahun-section {
    width: 100%;
    padding-bottom: 5rem;
    background-color: var(--putih);
}

.sepuluh-tahun-banner {
    position: relative;
    height: clamp(270px, 38vw, 480px);
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sepuluh-tahun-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top,
            rgba(49, 18, 7, 0.38),
            rgba(49, 18, 7, 0.02) 65%);
}

.sepuluh-tahun-title {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-bottom: 1.4rem;
}

.sepuluh-tahun-title .badge-ribbon {
    min-width: 390px;
    margin-left: -2rem;
    padding: 0.55rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 30px;
    font-style: italic;
    text-align: center;
}

/* Container kartu penghargaan */
.sepuluh-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;

    max-width: 760px;
    padding-top: 2.5rem;
}

/* Bentuk kartu */
.sepuluh-card {
    width: 275px;
    min-height: 310px;

    display: flex;
    flex-direction: column;

    padding: 20px 20px 14px;

    overflow: hidden;
    border-radius: 20px;

    background-color: var(--cokelat);

    box-shadow: 0 12px 25px rgba(72, 28, 13, 0.18);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.sepuluh-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(72, 28, 13, 0.25);
}

/* Area gambar dibuat sama tinggi */
.sepuluh-card img {
    width: 100%;
    height: 190px;
    display: block;

    object-position: center;

    margin: 0 0 12px;
    border-radius: 0;
}

/* Gambar kiri memenuhi area */
.sepuluh-card:first-child img {
    object-fit: cover;
}

/* Gambar kanan tampil utuh dan lebih kecil */
.sepuluh-card:last-child img {
    object-fit: contain;
}

/* Teks kartu */
.sepuluh-card p {
    flex: 1;

    margin: 0;
    padding: 0 2px;

    color: var(--putih);

    font-family: var(--font-body);
    font-size: 13px;
    font-style: normal;
    line-height: 1.25;
    text-align: justify;
}

/* Menyamakan lebar teks dengan gambar pada kartu kecil */
.sepuluh-card--kecil img,
.sepuluh-card--kecil p {
    width: 190px;
    max-width: 100%;

    margin-left: auto;
    margin-right: auto;
}

.sepuluh-card--kecil img {
    margin-bottom: 12px;
    object-fit: contain;
}

.sepuluh-card--kecil p {
    margin-top: 0;
    padding: 0;

    text-align: justify;
}

/* Responsive Profil */
@media (max-width: 900px) {

    .profil-hero {
        height: 65vh;
        min-height: 480px;
    }

    .profil-hero .hero-content {
        padding: 3rem 2rem;
    }

    .gallery-row {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
    }

    .gallery-row-item {
        height: 260px;
    }

    .sejak-2016-content {
        gap: 3rem;
    }

    .visi-card,
    .misi-card {
        width: 88%;
    }

}

@media (max-width: 768px) {

    .profil-hero {
        height: 580px;
        min-height: 580px;
        background-position: center;
    }

    .profil-hero .hero-content {
        padding: 2.5rem 1.5rem;
    }

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

    .gallery-row {
        gap: 6px;
        padding: 6px 0;
    }

    .gallery-row-item {
        height: 190px;
    }

    .profil-divider {
        height: 18px;
    }

    .sejak-2016 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .sejak-2016 .badge-ribbon {
        margin-left: -1rem;
        font-size: 24px;
    }

    .sejak-2016-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sejak-2016-content p {
        text-align: left;
    }

    .visi-card,
    .misi-card {
        width: 100%;
    }

    .visi-card .badge-ribbon {
        margin-left: 1rem;
    }

    .misi-card .badge-ribbon {
        margin-left: -1rem;
    }

    .visi-box,
    .misi-box {
        border-radius: 16px;
    }

    .visi-box {
        min-height: auto;
        padding: 1.2rem 1.5rem;
    }

    .misi-box {
        padding: 1rem 1.3rem;
    }

    .sepuluh-tahun-banner {
        height: 270px;
    }

    .sepuluh-tahun-title .badge-ribbon {
        min-width: auto;
        max-width: calc(100% - 1rem);
        margin-left: -1rem;
        padding: 0.6rem 1.5rem;
        font-size: 24px;
    }

    .sepuluh-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 520px;
    }

}

@media (max-width: 480px) {

    .profil-hero {
        height: 500px;
        min-height: 500px;
    }

    .profil-hero .hero-title {
        font-size: 29px;
    }

    .gallery-row-item {
        height: 155px;
    }

    .sejak-2016 .badge-ribbon,
    .visi-card .badge-ribbon,
    .misi-card .badge-ribbon {
        font-size: 22px;
    }

    .misi-box {
        font-size: 13px;
    }

    .sepuluh-tahun-banner {
        height: 230px;
    }

    .sepuluh-tahun-title .badge-ribbon {
        font-size: 21px;
    }

}

/* =========================================================
   PAGE: PRODUK
   ========================================================= */

.produk-page {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--putih);
}

/* =========================================================
   HERO PRODUK
   ========================================================= */

.produk-terlaris h2 .huruf-awal,
.panarilla-info h3 .huruf-awal,
.produk-kami h2 .huruf-awal {
    display: inline-block;

    font-size: 1.15em;
    font-style: italic;
    line-height: 0.8;
}

.produk-hero-title {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1584 / 993;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding: 2.5rem 1.5rem 0;

    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #160c07;
}

.produk-hero-title::before {
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.42) 0%,
            rgba(0, 0, 0, 0.13) 48%,
            rgba(0, 0, 0, 0.12) 100%
        );
}

.produk-hero-title .hero-title {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 560px;

    margin-top: 4.2rem;

    color: var(--putih);

    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 42px);
    font-style: italic;
    font-weight: 600;
    line-height: 1.08;
    text-align: center;

    text-shadow:
        0 3px 10px rgba(0, 0, 0, 0.75);
}

.produk-hero-title .hero-title span {
    display: block;
}

/* =========================================================
   PRODUK TERLARIS
   ========================================================= */

.produk-terlaris {
    padding: 4rem 0 5rem;
    background-color: var(--cokelat);
}

.produk-terlaris h2 {
    margin-bottom: 3rem;

    color: var(--cream);

    font-family: var(--font-heading);
    font-style: normal;
    font-weight: 600;
    text-align: center;
}

.produk-grid-3 {
    max-width: 900px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}

.produk-white-gap {
    width: 100%;
    height: 58px;

    background-color: var(--putih);
}


/* =========================================================
   KARTU PRODUK
   ========================================================= */

.card-produk {
    position: relative;

    padding: 1.5rem;
    overflow: hidden;

    border-radius: 8px;

    background-color: var(--cream-ii);
    text-align: center;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card-produk:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 24px rgba(51, 20, 9, 0.2);
}

.card-produk-img {
    width: 100%;
    aspect-ratio: 1 / 1;

    margin-bottom: 0.8rem;

    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    transition: transform 0.3s ease;
}

.card-produk:hover .card-produk-img {
    transform: scale(1.05);
}


/* =========================================================
   FOOTER KARTU PRODUK TERLARIS
   ========================================================= */

.produk-terlaris .card-produk-footer {
    min-height: 42px;

    display: grid;
    grid-template-columns: 25px minmax(0, 1fr) 25px;
    align-items: end;
    gap: 0.5rem;
}


/* Nama produk secara umum */

.card-produk-name {
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;

    color: var(--cokelat);

    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}


/* Nama produk khusus Produk Terlaris */

.produk-terlaris .card-produk-name {
    grid-column: 2;

    min-height: 0;
    padding: 0;

    display: block;
    align-self: end;

    text-align: center;
}


/* =========================================================
   IKON HATI
   ========================================================= */

.produk-terlaris .heart-icon {
    grid-column: 3;

    position: static;

    width: 25px;
    height: 25px;

    align-self: end;
    justify-self: end;

    color: var(--hijau);
    fill: var(--hijau);

    cursor: pointer;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.produk-terlaris .heart-icon:hover {
    transform: scale(1.12);
    opacity: 0.8;
}

/* =========================================================
   DASHED DIVIDER
   ========================================================= */

.produk-page .dashed-divider {
    position: relative;

    width: 100%;
    height: 48px;

    margin: 0;
    border: none;

    background-color: var(--putih);
}

.produk-page .dashed-divider::after {
    content: '';

    position: absolute;
    top: 50%;
    left: 0;

    width: 100%;

    border-top: 2px dashed var(--cokelat);

    transform: translateY(-50%);
}

/* =========================================================
   PANARILLA
   ========================================================= */

.panarilla-spotlight {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.panarilla-container {
    position: relative;

    width: min(100%, 720px);
    min-height: 340px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    margin: 0 auto;
}

.panarilla-visual {
    position: relative;
    z-index: 2;

    width: 430px;
    height: 330px;
    flex: 0 0 430px;
}

.panarilla-background {
    position: absolute;
    top: 24px;
    left: 70px;
    z-index: 1;

    width: 290px;
    height: 286px;

    border-radius: 20px;
    background-color: var(--cream);
}

.panarilla-img {
    position: absolute;
    left: 0;
    bottom: -8px;
    z-index: 2;

    width: 410px;
    max-width: none;
    height: auto;

    display: block;
    object-fit: contain;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;

    cursor: pointer;
}

.panarilla-img:hover:not(:disabled) {
    transform: scale(1.08);
}

.panarilla-img:disabled {
    opacity: 0.25;
    cursor: default;
}

.panarilla-info {
    position: relative;

    /* Kotak cokelat berada di belakang kotak cream */
    z-index: 1;

    width: 250px;
    min-height: 104px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    /* Masuk ke belakang sisi kanan kotak cream */
    margin-left: -90px;
    margin-bottom: 21px;

    padding: 0.9rem 2rem;

    border-radius: 0 18px 18px 0;

    background-color: var(--cokelat);
    color: var(--cream);

    box-shadow: none;
}

.panarilla-info h3 {
    margin: 0 0 0.45rem;

    color: var(--cream);

    font-family: var(--font-heading);
    font-size: 29px;
    font-style: normal;
    font-weight: 600;
    line-height: 1;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;

    cursor: pointer;
}

.panarilla-info h3:hover:not(:disabled) {
    transform: scale(1.08);
}

.panarilla-info h3:disabled {
    opacity: 0.25;
    cursor: default;
}

.panarilla-info p {
    margin: 0;

    color: var(--putih);

    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.35;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;

    cursor: pointer;
}

.panarilla-info p:hover:not(:disabled) {
    transform: scale(1.08);
}

.panarilla-info p:disabled {
    opacity: 0.25;
    cursor: default;
}

@media (max-width: 768px) {

    .panarilla-container {
        min-height: auto;
        flex-direction: column;
        align-items: center;
    }

    .panarilla-visual {
        width: 390px;
        max-width: 100%;
        height: 310px;
        flex: none;
    }

    .panarilla-background {
        left: 50%;
        width: 270px;
        height: 265px;

        transform: translateX(-50%);
    }

    .panarilla-img {
        left: 50%;
        bottom: 0;

        width: 370px;
        max-width: 105%;

        transform: translateX(-50%);
    }

    .panarilla-info {
        width: 220px;

        margin: -10px 0 0 90px;

        border-radius: 16px;
    }

}

@media (max-width: 480px) {

    .panarilla-visual {
        height: 280px;
    }

    .panarilla-background {
        width: 230px;
        height: 235px;
    }

    .panarilla-img {
        width: 330px;
    }

    .panarilla-info {
        width: 210px;
        margin-left: 45px;
    }

}

/* =========================================================
   PRODUK KAMI
   ========================================================= */

.produk-kami {
    padding-top: 3rem;
    padding-bottom: 6rem;
}

.produk-kami h2 {
    margin-bottom: 3rem;

    color: var(--cokelat);

    font-family: var(--font-heading);
    font-style: normal;
    font-weight: 600;
    text-align: center;
}

/* =========================================================
   CAROUSEL
   ========================================================= */

.carousel-container {
    position: relative;

    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-grid {
    flex: 1;

    display: flex;
    gap: 1.5rem;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    scrollbar-width: none;
}

.carousel-grid::-webkit-scrollbar {
    display: none;
}

.carousel-grid .card-produk {
    flex:
        0 0
        calc((100% - 4.5rem) / 4);

    scroll-snap-align: start;
}

/* Tombol carousel */

.carousel-btn {
    width: 42px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;
    background: transparent;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.carousel-btn:hover:not(:disabled) {
    transform: scale(1.08);
}

.carousel-btn:disabled {
    opacity: 0.25;
    cursor: default;
}

.carousel-btn img {
    width: 38px;
    height: 38px;

    display: block;
    object-fit: contain;
}

/* =========================================================
   RESPONSIVE PRODUK
   ========================================================= */

@media (max-width: 900px) {

    .produk-grid-3 {
        gap: 1.5rem;
    }

    .carousel-grid .card-produk {
        flex:
            0 0
            calc((100% - 1.5rem) / 2);
    }

    .panarilla-img {
        width: 68%;
    }

    .panarilla-info {
        width: 38%;
    }

}

@media (max-width: 768px) {

    .produk-hero-title {
        height: 430px;
        min-height: 430px;
        padding-top: 2.5rem;
    }

    .produk-hero-title .hero-title {
        font-size: 36px;
    }

    .produk-terlaris {
        padding: 3.5rem 0;
    }

    .produk-grid-3 {
        grid-template-columns: 1fr;

        max-width: 330px;
    }

    .panarilla-container {
        flex-direction: column;
    }

    .panarilla-img {
        width: 100%;
        height: 320px;
    }

    .panarilla-info {
        width: 88%;
        min-height: auto;

        margin: -40px 0 0 auto;
        padding: 1.5rem;

        border-radius: 16px;
    }

    .carousel-btn {
        width: 34px;
        height: 34px;
    }

    .carousel-btn img {
        width: 30px;
        height: 30px;
    }

}

@media (max-width: 560px) {

    .produk-hero-title {
        height: 380px;
        min-height: 380px;
    }

    .produk-hero-title .hero-title {
        font-size: 31px;
    }

    .carousel-container {
        gap: 0.5rem;
    }

    .carousel-grid .card-produk {
        flex: 0 0 100%;
    }

    .carousel-btn {
        width: 28px;
        height: 28px;
    }

    .carousel-btn img {
        width: 25px;
        height: 25px;
    }

}

/* =========================================================
   PAGE: KONTAK
   ========================================================= */

.kontak-page {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--putih);
}

/* =========================================================
   HERO KONTAK
   ========================================================= */

.kontak-page .huruf-awal {
    display: inline-block;

    font-size: 1.15em;
    font-style: italic;
    line-height: 0.8;
}

.kontak-hero {
    margin-top: -3rem;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1440 / 879;

    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #160b08;

    align-items: flex-end;
    justify-content: flex-start;
}

.kontak-hero::before {
    background:
        linear-gradient(
            to right,
            rgba(10, 5, 2, 0.55) 0%,
            rgba(10, 5, 2, 0.15) 55%,
            rgba(10, 5, 2, 0.05) 100%
        ),
        linear-gradient(
            to top,
            rgba(10, 5, 2, 0.38) 0%,
            rgba(10, 5, 2, 0) 55%
        );
}

.kontak-hero .hero-content {
    width: 55%;
    max-width: 720px;

    padding: 0 4rem 5rem;
}

.kontak-hero .hero-title {
    margin-left: 6rem;
    margin-bottom: 12rem;

    color: var(--putih);

    font-family: var(--font-heading);
    font-size: clamp(34px, 4vw, 56px);
    font-style: italic;
    font-weight: 600;
    line-height: 1.05;
    text-align: left;

    text-shadow:
        0 3px 12px rgba(0, 0, 0, 0.75);
}

.kontak-hero .hero-title span {
    display: block;
}

/* =========================================================
   HUBUNGI MELALUI MEDIA SOSIAL
   ========================================================= */

.hubungi-sosmed {
    padding: 2.5rem 0 0;
    background-color: var(--putih);
}

.hubungi-sosmed h2 {
    margin-bottom: 2rem;

    color: var(--cokelat);

    font-family: var(--font-heading);
    font-style: normal;
    font-weight: 600;
    text-align: center;
}

.sosmed-bar {
    width: 100%;
    padding: 1.2rem 0;

    background-color: var(--cokelat);
}

.sosmed-list {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 1.5rem;
}

.sosmed-item {
    display: flex;
    align-items: center;

    gap: 0.8rem;

    color: var(--putih);
    text-decoration: none;

    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.sosmed-item:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.sosmed-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: transparent;
}

.sosmed-icon img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: contain;
}

/* =========================================================
   GALERI PATRAKOMALA BRAGA
   ========================================================= */

.galeri-hadir {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.galeri-container {
    display: grid;
    grid-template-columns: 30% 70%;
    align-items: center;

    gap: 0;
}

.galeri-info {
    position: relative;
    z-index: 2;

    padding-right: 2.5rem;

    text-align: right;
}

.galeri-info h3 {
    margin: 0 0 1rem;

    color: var(--cokelat);

    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 42px);
    font-style: normal;
    font-weight: 600;
    line-height: 0.9;
}

.galeri-info p {
    margin: 0;

    color: var(--hijau);

    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.galeri-img {
    position: relative;

    min-height: 390px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.galeri-img .badge-ribbon {
    position: absolute;
    top: -24px;
    right: 0;

    min-width: 260px;

    padding: 0.5rem 2rem;

    font-family: var(--font-heading);
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    text-align: center;
}

/* =========================================================
   RUMAH PRODUKSI
   ========================================================= */

.rumah-produksi {
    padding: 0 0 5rem;

    background-color: var(--putih);
}

.rumah-produksi-container {
    position: relative;
}

.rumah-produksi .badge-ribbon {
    position: relative;
    z-index: 3;

    min-width: 260px;

    margin-left: -2rem;
    margin-bottom: -10px;

    padding: 0.5rem 2rem;

    font-family: var(--font-heading);
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    text-align: center;
}

.map-container {
    display: grid;
    grid-template-columns: 72% 28%;
    align-items: center;

    gap: 2.5rem;
}

.map-frame {
    width: 100%;
    height: 390px;

    overflow: hidden;

    background-color: #eeeeee;
}

.map-frame iframe {
    width: 100%;
    height: 100%;

    display: block;
}

.map-address {
    margin: 0;

    color: var(--hijau);

    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.map-address p {
    margin: 0 0 1rem;
}

.map-address a {
    display: inline-block;

    color: var(--cokelat);
    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    border-bottom: 1px solid var(--cream);
}

.map-address a:hover {
    color: var(--hijau);
}

/* =========================================================
   RESPONSIVE KONTAK
   ========================================================= */

@media (max-width: 900px) {

    .kontak-hero .hero-content {
        width: 65%;
    }

    .sosmed-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 1.5rem 2rem;
    }

    .galeri-container {
        grid-template-columns: 35% 65%;
    }

    .map-container {
        grid-template-columns: 68% 32%;
        gap: 1.5rem;
    }

}

@media (max-width: 768px) {

    .kontak-hero {
        height: auto;
        min-height: 0;
        aspect-ratio: 1440 / 879;
        background-size: contain;
    }

    .kontak-hero .hero-content {
        width: 85%;
        padding: 0 1.5rem 2.5rem;
    }

    .kontak-hero .hero-title {
        font-size: 36px;
    }

    /* Media sosial */

    .hubungi-sosmed {
        padding-top: 2rem;
    }

    .hubungi-sosmed h2 {
        padding: 0 1.5rem;
        font-size: 30px;
    }

    .sosmed-list {
        grid-template-columns: 1fr;
        align-items: flex-start;

        max-width: 360px;
    }

    .sosmed-bar {
        padding: 1.8rem 0;
    }

    /* Galeri */

    .galeri-hadir {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .galeri-container {
        display: flex;
        flex-direction: column;

        gap: 2rem;
    }

    .galeri-info {
        width: 100%;

        padding-right: 0;

        text-align: left;
    }

    .galeri-info h3 br {
        display: none;
    }

    .galeri-img {
        width: 100%;
        min-height: 320px;
    }

    .galeri-img .badge-ribbon {
        top: -22px;
        right: 0;

        min-width: 220px;

        font-size: 24px;
    }

    /* Rumah produksi */

    .rumah-produksi .badge-ribbon {
        margin-left: -1rem;

        min-width: 220px;

        font-size: 24px;
    }

    .map-container {
        grid-template-columns: 1fr;

        gap: 1.5rem;
    }

    .map-frame {
        height: 340px;
    }

    .map-address {
        padding: 0 0.5rem;
    }

}

@media (max-width: 480px) {

    .kontak-hero {
        height: auto;
        min-height: 0;
        aspect-ratio: 1440 / 879;
    }

    .kontak-hero .hero-content {
        width: 100%;
    }

    .kontak-hero .hero-title {
        font-size: 31px;
    }

    .hubungi-sosmed h2 {
        font-size: 27px;
    }

    .galeri-img {
        min-height: 260px;
    }

    .galeri-img .badge-ribbon,
    .rumah-produksi .badge-ribbon {
        min-width: 190px;
        font-size: 21px;
    }

    .map-frame {
        height: 300px;
    }

}

/* Footer */
.footer {
    width: 100%;
    background-color: var(--cokelat);
    color: var(--putih);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 20px 13px;
}

/* Bagian kiri */
.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--putih);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.logo-circle {
    width: 34px;
    height: 34px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: visible;
}

.logo-circle img {
    width: 30px;
    height: 30px;
    max-width: 100%;

    display: block;
    object-fit: contain;
}

/* Tulisan footer */
.footer-description {
    margin-top: 7px;
}

.footer-tagline {
    margin: 0;
    color: var(--putih);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
}

.footer-sub-tagline {
    margin: 1px 0 0;
    color: var(--putih);
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
}

/* Media sosial */
.footer-social {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-top: 3px;
}

.footer-social a {
    color: var(--cream);
    text-decoration: none;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.75;
    transform: translateY(-2px);
}

.instagram-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-link svg {
    width: 25px;
    height: 25px;
}

.tiktok-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.tiktok-link svg {
    width: 22px;
    height: 22px;
}

.tiktok-link span {
    font-size: 7px;
    font-weight: 700;
    line-height: 1;
}

/* Garis pembatas */
.footer-divider {
    margin: 0 20px;
    border-top: 2px dashed var(--cream);
}

/* Copyright */
.footer-bottom {
    padding: 8px 20px 10px;
    text-align: right;
}

.footer-bottom p {
    margin: 0;
    color: var(--putih);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .profil-singkat .container,
    .sejak-2016-content,
    .sepuluh-grid,
    .panarilla-container,
    .galeri-container {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .features-grid,
    .produk-grid-3,
    .carousel-grid {
        grid-template-columns: 1fr;
    }

    .sosmed-list {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
        padding: 0 2rem;
    }

    .panarilla-info {
        right: 0;
        top: 0;
        margin-bottom: 0;
    }
}
