
/* =========================================
   LPD CANGGU
   MODERN BALINESE HERITAGE
   ========================================= */

:root {
    --green: #23483D;
    --green2: #315E50;
    --sage: #668477;
    --gold: #D2B77E;
    --cream: #F5F3EC;
    --ink: #293A36;
    --muted: #7D8981;
    --line: #E5E5DC;
    --terracotta: #B97862;
    --white: #FFFFFF;

    --shadow-soft: 0 12px 35px rgba(35,72,61,.09);
    --shadow-hover: 0 20px 45px rgba(35,72,61,.15);
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "DM Sans", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1160px, calc(100% - 48px));
    margin: auto;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */

.site-header {
    height: 82px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s ease;
}

.site-header:hover {
    box-shadow: var(--shadow-soft);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand-mark {
    width: 42px;
    height: 42px;
    background: var(--green);
    color: var(--gold);
    display: grid;
    place-items: center;
    font: 800 13px Manrope;
    letter-spacing: 1px;
}

.brand-logo {
    display: block;
    width: 76px;
    height: 76px;
    object-fit: contain;
    transition: transform .35s ease;
}

.brand:hover .brand-logo {
    transform: scale(1.04);
}

.brand-name {
    font: 600 10px Manrope;
    letter-spacing: 1.5px;
    line-height: 1.6;
    color: var(--muted);
}

.brand-name strong {
    display: block;
    color: var(--green);
    font-size: 12px;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 12px;
    font-weight: 600;
    color: #536159;
    transition: color .25s ease;
}

.main-nav a:hover {
    color: var(--sage);
}

.nav-cta {
    background: var(--green);
    color: var(--white);
    padding: 13px 18px;
    font-size: 11px;
    font-weight: 700;
    transition: .3s ease;
}

.nav-cta:hover {
    background: var(--green2);
    transform: translateY(-2px);
}

.nav-cta span {
    color: var(--gold);
    padding-left: 12px;
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */

.hero {
    background: var(--green);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 92px 0 28px;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .09;
    background-image: radial-gradient(
        circle at 1px 1px,
        var(--gold) 1px,
        transparent 0
    );
    background-size: 28px 28px;
    mask-image: linear-gradient(
        90deg,
        black,
        transparent 70%
    );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 70px;
    position: relative;
}

.eyebrow,
.overline {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--sage);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
}

.eyebrow span {
    width: 24px;
    height: 1px;
    background: var(--gold);
}

h1, h2, h3, p {
    margin-top: 0;
}

h1, h2 {
    font-family: Manrope, sans-serif;
    letter-spacing: -2px;
}

h1 {
    font-size: clamp(44px, 5vw, 68px);
    line-height: 1.12;
    margin: 25px 0;
}

h1 em,
h2 em {
    font-style: normal;
    color: var(--gold);
}

.hero-copy > p {
    max-width: 490px;
    color: #D0DDD6;
    font-size: 14px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 27px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    gap: 28px;
    align-items: center;
    padding: 16px 20px;
    font-size: 11px;
    font-weight: 700;
    transition: .3s ease;
}

.button-gold {
    background: var(--gold);
    color: var(--green);
}

.button-gold:hover {
    background: #E4CEA2;
    transform: translateY(-3px);
    box-shadow: 0 9px 24px rgba(210,183,126,.25);
}

.text-link {
    font-size: 11px;
    font-weight: 600;
    color: #E4E9E5;
    transition: color .3s ease;
}

.text-link:hover {
    color: var(--gold);
}

.text-link span {
    color: var(--gold);
    padding-left: 8px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #B8C9BF;
    font-size: 10px;
    margin-top: 68px;
}

.hero-note strong {
    color: var(--white);
}

.note-line {
    height: 1px;
    width: 32px;
    background: var(--gold);
}

/* =========================================
   HERO VISUAL
   ========================================= */

.hero-visual {
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.visual-frame {
    width: 78%;
    height: 430px;
    flex: none;
    border: 1px solid rgba(210,183,126,.4);
    position: relative;
    background: linear-gradient(
        145deg,
        #315E50,
        #23483D
    );
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.visual-top,
.visual-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9px;
    letter-spacing: 2px;
    color: #D0DDD6;
}

.visual-top span:first-child {
    font: 800 18px Manrope;
    color: var(--gold);
}

.visual-center {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sun {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gold);
    opacity: .9;
    position: absolute;
    top: 20px;
}

.temple-lines {
    position: relative;
    width: 170px;
    height: 145px;
    margin-top: 85px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.temple-lines i {
    display: block;
    background: var(--green);
    border: 1px solid var(--gold);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    height: 44px;
    width: 150px;
    margin-top: -5px;
}

.temple-lines i:nth-child(2) {
    width: 125px;
}

.temple-lines i:nth-child(3) {
    width: 98px;
}

.temple-lines b {
    width: 76px;
    height: 58px;
    border: 2px solid var(--gold);
    border-bottom: 0;
}

.visual-bottom strong {
    font: 800 38px Manrope;
    color: var(--gold);
    white-space: nowrap;
}

/* =========================================
   CUSTOMER STATISTIC CARD
   Card berada di bawah ilustrasi
   ========================================= */

.floating-card {
    position: relative;
    align-self: flex-end;
    margin-top: 16px;
    margin-right: 11%;

    background: var(--white);
    color: var(--green);
    padding: 17px 21px;

    display: flex;
    gap: 14px;
    align-items: center;

    box-shadow: var(--shadow-soft);
    z-index: 3;

    transition: box-shadow .3s ease, transform .3s ease;
}

.floating-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.floating-card strong {
    display: block;
    font: 800 23px Manrope;
}

.floating-card small {
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin-top: 4px;
}

.vertical-label {
    position: absolute;
    right: -25px;
    top: 50px;
    writing-mode: vertical-rl;
    font-size: 8px;
    letter-spacing: 3px;
    color: #B5C9BD;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    color: #A7BDB0;
    font-size: 9px;
    letter-spacing: 2px;
    margin-top: 50px;
}

/* =========================================
   STATISTICS STRIP
   ========================================= */

.stats-strip {
    background: var(--cream);
    padding: 28px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.4fr;
    align-items: center;
}

.stats-grid > div {
    padding: 0 28px;
    border-right: 1px solid #DCDCD1;
}

.stats-grid > div:first-child {
    padding-left: 0;
}

.stat-number {
    display: block;
    font: 800 29px Manrope;
    color: var(--green);
}

.stat-label {
    font-size: 10px;
    color: var(--muted);
}

.stats-message {
    font-size: 12px;
    line-height: 1.7;
    color: #68786E;
    border: 0 !important;
}

.stats-message strong {
    color: var(--green);
}

/* =========================================
   GENERAL SECTION
   ========================================= */

.section {
    padding: 112px 0;
}

.two-col {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 100px;
}

.section-kicker p {
    font: 600 13px Manrope;
    line-height: 1.7;
    max-width: 180px;
    margin-top: 30px;
    color: var(--ink);
}

.kicker-rule {
    height: 1px;
    width: 55px;
    background: var(--gold);
    margin-top: 22px;
}

.about-copy h2,
.section-heading h2,
.organization-inner h2,
.contact-grid h2 {
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.2;
    margin: 0 0 24px;
}

.about-copy h2 em,
.section-heading h2 em {
    color: var(--sage);
}

.about-copy > p {
    font-size: 13px;
    line-height: 1.9;
    color: #68786E;
    max-width: 650px;
}

.since {
    display: flex;
    align-items: center;
    gap: 18px;
    border-top: 1px solid var(--line);
    margin-top: 35px;
    padding-top: 25px;
}

.since strong {
    font: 800 36px Manrope;
    color: var(--green);
}

.since span {
    font-size: 10px;
    line-height: 1.6;
    color: var(--muted);
}

/* =========================================
   PRODUCTS SECTION
   ========================================= */

.products-section {
    background: var(--cream);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 45px;
}

.section-heading h2 {
    margin: 16px 0 0;
}

.section-heading > p {
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 290px;
    margin-bottom: 5px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.product-card {
    background: var(--white);
    padding: 27px 26px 22px;
    min-height: 190px;
    position: relative;
    border: 1px solid #E8EAE3;
    border-radius: 8px;
    transition: .3s ease;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.product-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: #EAF0EB;
    color: var(--green);
    border-radius: 7px;
    font-size: 19px;
    transition: .3s ease;
}

.product-card:hover .product-icon {
    background: var(--green);
    color: var(--gold);
    transform: rotate(-5deg);
}

.product-code {
    position: absolute;
    right: 25px;
    top: 29px;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--sage);
}

.product-card h3 {
    font: 700 17px Manrope;
    color: var(--ink);
    margin: 20px 0 22px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #EFF0EB;
    padding-top: 13px;
    font: 700 13px Manrope;
    color: var(--green);
}

.product-meta small {
    display: block;
    font: 400 9px "DM Sans";
    color: var(--muted);
    margin-top: 4px;
}

.data-note {
    font-size: 10px;
    color: var(--muted);
    margin: 20px 0 0;
}

/* =========================================
   ORGANIZATION SECTION
   ========================================= */

.organization-section,
.contact-section {
    background: var(--green);
    color: var(--white);
    padding: 100px 0;
}

.organization-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.overline-light {
    color: var(--gold);
}

.organization-inner h2,
.contact-grid h2 {
    margin: 18px 0;
}

.organization-inner h2 em,
.contact-grid h2 em {
    color: var(--gold);
}

.organization-inner > div:first-child > p,
.contact-grid > div:first-child > p {
    color: #C0D0C6;
    font-size: 12px;
    line-height: 1.9;
    max-width: 380px;
}

.leaders {
    border-top: 1px solid rgba(255,255,255,.2);
}

.leader {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.leader > span {
    font-size: 10px;
    color: var(--gold);
}

.leader strong,
.leader small {
    display: block;
}

.leader strong {
    font: 600 13px Manrope;
}

.leader small {
    font-size: 10px;
    color: #B8C9BF;
    margin-top: 5px;
}

.leader-muted {
    opacity: .6;
}

/* =========================================
   GALLERY SECTION
   ========================================= */

.gallery-section {
    background: var(--white);
}

.gallery-placeholder {
    height: 260px;
    background: var(--cream);
    border: 1px dashed #D5DCD3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--ink);
    transition: .3s ease;
}

.gallery-placeholder:hover {
    background: #EEF1E9;
    border-color: var(--sage);
}

.gallery-symbol {
    font-size: 30px;
    color: var(--terracotta);
    margin-bottom: 13px;
}

.gallery-placeholder strong {
    font: 700 14px Manrope;
}

.gallery-placeholder span {
    font-size: 10px;
    color: var(--muted);
    margin-top: 8px;
}

/* =========================================
   CONTACT SECTION
   ========================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.contact-list {
    display: flex;
    gap: 35px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.contact-list a small,
.detail-block > span {
    display: block;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #B8C9BF;
    margin-bottom: 8px;
}

.contact-list a strong {
    font: 600 12px Manrope;
    transition: color .25s ease;
}

.contact-list a:hover strong {
    color: var(--gold);
}

.detail-block {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.detail-block p {
    font-size: 12px;
    line-height: 1.8;
    color: #E0E9E2;
    max-width: 390px;
}

.map-link {
    font-size: 10px;
    color: var(--gold);
    transition: color .25s ease;
}

.map-link:hover {
    color: var(--white);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    padding: 8px 0;
    color: #DCE5DF;
}

.hours-row strong {
    font-weight: 600;
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    background: #19382F;
    color: #B8C9BF;
    padding: 23px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-inner > span,
.footer-inner > a:last-child {
    font-size: 9px;
}

.footer-inner > a:last-child {
    transition: color .25s ease;
}

.footer-inner > a:last-child:hover {
    color: var(--gold);
}

.brand-footer .brand-mark {
    background: var(--green2);
}

.brand-footer .brand-name,
.brand-footer .brand-name strong {
    color: #DCE5DF;
}

/* =========================================
   HERO ANIMATIONS
   ========================================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes floatSoft {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero .eyebrow {
    animation: fadeUp .7s ease both;
}

.hero h1 {
    animation: fadeUp .85s .12s ease both;
}

.hero-copy > p {
    animation: fadeUp .85s .24s ease both;
}

.hero-actions {
    animation: fadeUp .85s .36s ease both;
}

.hero-note {
    animation: fadeUp .85s .48s ease both;
}

.hero-visual {
    animation: fadeIn 1s .2s ease both;
}

.visual-frame {
    animation: scaleIn .9s .2s ease both;
}

.sun {
    animation: floatSoft 5s ease-in-out infinite;
}

.floating-card {
    animation: fadeUp .8s .6s ease both;
}

/* =========================================
   SCROLL REVEAL
   ========================================= */

.reveal-ready .section-heading,
.reveal-ready .two-col,
.reveal-ready .product-card,
.reveal-ready .organization-inner,
.reveal-ready .gallery-placeholder,
.reveal-ready .contact-grid {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .75s ease,
        transform .75s ease;
}

.reveal-ready .is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Product card stagger */
.reveal-ready .product-card:nth-child(2) {
    transition-delay: .1s;
}

.reveal-ready .product-card:nth-child(3) {
    transition-delay: .2s;
}

/* =========================================
   TABLET RESPONSIVE
   ========================================= */

@media (max-width: 850px) {
    .main-nav {
        gap: 15px;
    }

    .main-nav a {
        font-size: 10px;
    }

    .hero-grid {
        gap: 25px;
    }

    .visual-frame {
        height: 360px;
    }

    .floating-card {
        margin-right: 11%;
    }

    .two-col,
    .organization-inner,
    .contact-grid {
        gap: 50px;
    }

    .stats-grid > div {
        padding: 0 16px;
    }

    .stats-message {
        font-size: 10px;
    }
}

/* =========================================
   MOBILE RESPONSIVE
   ========================================= */

@media (max-width: 680px) {
    .container {
        width: min(100% - 36px, 520px);
    }

    .site-header {
        height: 70px;
    }

    .brand-logo {
        width: 64px;
        height: 64px;
    }

    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 10px;
    }

    .menu-toggle span {
        width: 23px;
        height: 2px;
        background: var(--green);
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 69px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 18px 24px 24px;
        box-shadow: var(--shadow-soft);
        flex-direction: column;
        gap: 20px;
    }

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

    .main-nav a {
        font-size: 13px;
    }

    .hero {
        padding: 65px 0 24px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    h1 {
        font-size: 48px;
        margin: 20px 0;
    }

    .hero-copy > p {
        font-size: 13px;
    }

    .hero-note {
        margin-top: 38px;
    }

    .hero-visual {
        height: auto;
        width: 100%;
    }

    .visual-frame {
        width: 78%;
        height: 330px;
    }

    .floating-card {
        align-self: flex-end;
        margin-top: 14px;
        margin-right: 0;
        padding: 13px 16px;
    }

    .floating-card strong {
        font-size: 20px;
    }

    .vertical-label {
        right: 0;
    }

    .hero-bottom {
        margin-top: 32px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .stats-grid > div {
        border: 0;
        padding: 0;
    }

    .stats-grid > div:first-child {
        padding: 0;
    }

    .stats-message {
        grid-column: span 2;
        border-top: 1px solid #DCDCD1 !important;
        padding: 16px 0 0 !important;
    }

    .section {
        padding: 75px 0;
    }

    .two-col,
    .organization-inner,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .section-kicker p {
        margin-top: 18px;
    }

    .about-copy h2,
    .section-heading h2,
    .organization-inner h2,
    .contact-grid h2 {
        font-size: 35px;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 20px;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .product-card {
        padding: 19px 15px;
        min-height: 180px;
    }

    .product-card h3 {
        font-size: 14px;
        min-height: 34px;
    }

    .product-meta {
        font-size: 11px;
    }

    .product-meta small {
        font-size: 8px;
    }

    .organization-section,
    .contact-section {
        padding: 75px 0;
    }

    .gallery-placeholder {
        height: 220px;
        text-align: center;
        padding: 20px;
    }

    .contact-list {
        gap: 20px;
    }

    .footer-inner {
        flex-wrap: wrap;
    }

    .footer-inner > span {
        order: 3;
        width: 100%;
    }
}

/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 390px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        min-height: 155px;
    }

    .hero-actions {
        gap: 15px;
    }

    .button {
        padding: 14px;
        gap: 12px;
    }

    .text-link {
        font-size: 10px;
    }

    .visual-frame {
        width: 88%;
    }

    .floating-card {
        margin-right: 0;
    }
}

/* =========================================
   ACCESSIBILITY
   ========================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .reveal-ready .section-heading,
    .reveal-ready .two-col,
    .reveal-ready .product-card,
    .reveal-ready .organization-inner,
    .reveal-ready .gallery-placeholder,
    .reveal-ready .contact-grid {
        opacity: 1;
        transform: none;
    }
}


/* =========================================
   VISION & MISSION
   ========================================= */

.vision-section {
    background: var(--cream);
}

.vision-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 20px;
    margin-top: 40px;
}

.vision-card,
.mission-card {
    padding: 38px;
    border-radius: 10px;
}

.vision-card {
    background: var(--green);
    color: white;
}

.mission-card {
    background: white;
    border: 1px solid var(--line);
}

.vision-number {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 700;
}

.vision-icon {
    font-size: 34px;
    color: var(--gold);
    margin: 35px 0 20px;
}

.vision-card h3,
.mission-card h3 {
    font: 700 25px Manrope;
    margin-bottom: 18px;
}

.vision-card p {
    color: #D0DDD6;
    line-height: 1.9;
    font-size: 14px;
}

.mission-list {
    padding-left: 20px;
    margin: 25px 0 0;
}

.mission-list li {
    padding: 0 0 16px 8px;
    color: #68786E;
    font-size: 13px;
    line-height: 1.8;
}

.mission-list li::marker {
    color: var(--gold);
    font-weight: 700;
}

/* =========================================
   ORGANIZATION CHART
   ========================================= */

.organization-heading {
    max-width: 600px;
    margin-bottom: 55px;
}

.organization-heading h2 {
    font: 800 clamp(34px, 4vw, 48px) Manrope;
    line-height: 1.2;
    margin: 20px 0;
    letter-spacing: -2px;
}

.organization-heading h2 em {
    color: var(--gold);
    font-style: normal;
}

.organization-heading p {
    color: #C0D0C6;
    font-size: 13px;
    line-height: 1.9;
}

.org-chart {
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    padding: 40px;
}

.org-level {
    display: grid;
    gap: 20px;
}

.org-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.org-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.org-card {
    background: #F5F3EC;
    color: var(--ink);
    border: 1px solid rgba(210,183,126,.35);
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

.org-card:hover,
.org-department:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.org-top {
    max-width: 420px;
    margin: auto;
    width: 100%;
    background: var(--gold);
}

.org-primary {
    background: var(--green2);
    color: white;
}

.org-role {
    display: block;
    color: var(--sage);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.org-primary .org-role {
    color: var(--gold);
}

.org-card h3 {
    font: 700 15px Manrope;
    margin: 0;
    line-height: 1.6;
}

.org-primary h3 {
    color: white;
}

.org-person-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 11px;
    line-height: 1.6;
}

.org-connector {
    height: 38px;
    width: 1px;
    background: var(--gold);
    margin: auto;
}

.org-department-heading {
    text-align: center;
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
    margin: 15px 0 25px;
}

.org-department {
    background: #F5F3EC;
    color: var(--ink);
    border-radius: 8px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.org-department-header {
    background: var(--green2);
    color: white;
    padding: 24px 16px;
    text-align: center;
    min-height: 165px;
}

.org-department-header .org-role {
    color: var(--gold);
}

.org-department-header h3 {
    font: 800 23px Manrope;
    margin: 0 0 12px;
}

.org-department-header p {
    font-size: 11px;
    color: #D0DDD6;
    line-height: 1.6;
    margin: 0;
}

.org-subordinates {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.org-subordinates span {
    background: white;
    padding: 11px;
    border-radius: 5px;
    text-align: center;
    font-size: 11px;
    color: var(--green);
    border: 1px solid var(--line);
}

.org-note {
    color: #B8C9BF;
    font-size: 10px;
    line-height: 1.8;
    margin-top: 22px;
}

/* =========================================
   RESPONSIVE VISION & ORGANIZATION
   ========================================= */

@media (max-width: 850px) {
    .org-chart {
        padding: 25px;
    }

    .org-three {
        gap: 12px;
    }

    .org-department-header {
        padding: 20px 10px;
    }

    .org-department-header p {
        font-size: 10px;
    }
}

@media (max-width: 680px) {
    .vision-grid {
        grid-template-columns: 1fr;
    }

    .vision-card,
    .mission-card {
        padding: 25px;
    }

    .org-chart {
        padding: 18px 12px;
    }

    .org-two,
    .org-three {
        grid-template-columns: 1fr;
    }

    .org-connector {
        height: 25px;
    }

    .org-top {
        max-width: 100%;
    }

    .org-department-header {
        min-height: auto;
    }

    .organization-heading {
        margin-bottom: 35px;
    }
}



/* ========================================
   GALLERY SECTION
======================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: #e9e8df;
    border: 1px solid rgba(35, 72, 61, 0.10);
}

.gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
    z-index: 2;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Placeholder ketika foto tidak tersedia */
.gallery-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 20px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 30%, rgba(210, 183, 126, 0.15), transparent 55%),
        #e9e8df;
    color: #23483D;
}

.gallery-empty-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(35, 72, 61, 0.2);
    border-radius: 50%;
    font-size: 24px;
    color: #B97862;
}

.gallery-empty strong {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
}

.gallery-empty span {
    font-size: 12px;
    color: #668477;
}

.gallery-empty small {
    margin-top: 5px;
    font-size: 9px;
    letter-spacing: 2px;
    color: #9b9b8d;
}

/* Foto tersedia: sembunyikan placeholder */
.gallery-item.has-image .gallery-empty {
    display: none;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        gap: 10px;
    }

    .gallery-item {
        aspect-ratio: 1 / 1;
    }

    .gallery-empty {
        gap: 6px;
        padding: 10px;
    }

    .gallery-empty-icon {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .gallery-empty strong {
        font-size: 11px;
    }

    .gallery-empty span {
        font-size: 10px;
    }
}



/* ========================================
   HERO VISUAL - BACKGROUND IMAGE LAYER
======================================== */

.hero-visual {
    position: relative;
    min-width: 0;
    width: 100%;
}

.hero-visual .visual-frame {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1 / 1;
    height: auto;
    margin-left: auto;
    overflow: hidden;
    box-sizing: border-box;
    background: #23483D;
    border: 1px solid rgba(210, 183, 126, 0.65);
}

/* Background image */
.visual-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.visual-background.is-fallback {
    object-fit: contain;
}

/* Text overlay */
.visual-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 6%;
    box-sizing: border-box;
    pointer-events: none;
}

/* Top typography */
.visual-overlay .visual-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: #D2B77E;
}

.visual-overlay .visual-top span:first-child {
    font-size: clamp(18px, 3vw, 26px);
    font-weight: 700;
    letter-spacing: 2px;
}

.visual-overlay .visual-top span:last-child {
    font-size: clamp(8px, 1.2vw, 12px);
    font-weight: 600;
    letter-spacing: 2px;
}

/* Bottom typography */
.visual-overlay .visual-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    color: #D2B77E;
}

.visual-overlay .visual-bottom span {
    font-size: clamp(8px, 1.2vw, 12px);
    font-weight: 600;
    letter-spacing: 2px;
}

.visual-overlay .visual-bottom strong {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: 2px;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-visual .visual-frame {
        max-width: 100%;
    }
}
