/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    /* Hijau resmi (sesuai logo) */
    --green-600: #038D40;
    --green-700: #026B31;
    --green-800: #014D24;
    --green-900: #04331A;
    --green-500: #05A94F;
    --green-400: #34C776;
    --green-200: #A9E6C2;
    --green-100: #DBF5E5;
    --green-50: #F1FBF5;

    /* Aksen */
    --yellow: #FBBC05;
    --yellow-soft: #FFF3CE;
    --orange: #FF7A45;
    --violet: #7C5CFF;
    --sky: #2E9BFF;

    /* Netral */
    --ink: #0E1F16;
    --body: #47584F;
    --muted: #6B7C73;
    --line: #E4EFE8;
    --white: #FFFFFF;
    --surface: #FAFDFB;

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;

    --shadow-sm: 0 2px 8px rgba(3, 141, 64, .06);
    --shadow: 0 10px 30px rgba(3, 141, 64, .08);
    --shadow-lg: 0 24px 60px rgba(3, 141, 64, .14);

    --container: 1180px;
    --header-h: 76px;
}

/* ============================================================
   BASE
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--body);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: var(--ink);
    line-height: 1.18;
    letter-spacing: -.02em;
    font-weight: 800;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

::selection {
    background: var(--green-200);
    color: var(--green-900);
}

:focus-visible {
    outline: 3px solid var(--green-500);
    outline-offset: 3px;
    border-radius: 6px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

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

.section {
    padding: 96px 0;
    position: relative;
}

.section--tint {
    background: linear-gradient(180deg, var(--green-50) 0%, #FFFFFF 100%);
}

/* Scroll progress bar */
.progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--green-600), var(--green-400), var(--yellow));
    z-index: 200;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 150;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s, background .3s;
}

.site-header.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px rgba(3, 141, 64, .06);
}

.header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand img {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.site-header nav a {
    position: relative;
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    font-size: .95rem;
    padding: 10px 16px;
    border-radius: 999px;
    white-space: nowrap;
    transition: color .25s, background .25s;
}

.site-header nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--yellow);
    transform: translateX(-50%);
    transition: width .28s cubic-bezier(.4, 0, .2, 1);
}

.site-header nav a:hover {
    color: var(--green-700);
    background: var(--green-50);
}

.site-header nav a:hover::after {
    width: 22px;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 14px;
    color: var(--green-700);
    font-size: 1.15rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background .25s;
}

.nav-toggle:hover {
    background: var(--green-50);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .98rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s, background .25s, color .25s;
}

.btn i {
    font-size: .9em;
    transition: transform .25s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green-600), var(--green-500));
    color: var(--white);
    box-shadow: 0 10px 26px rgba(3, 141, 64, .28);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(3, 141, 64, .36);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-accent {
    background: var(--yellow);
    color: #3B2C00;
    box-shadow: 0 10px 26px rgba(251, 188, 5, .32);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(251, 188, 5, .42);
}

.btn-ghost {
    background: var(--white);
    color: var(--green-700);
    border-color: var(--green-200);
}

.btn-ghost:hover {
    background: var(--green-50);
    border-color: var(--green-500);
    transform: translateY(-3px);
}

.btn-light {
    background: var(--white);
    color: var(--green-700);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, .55);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, .14);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    padding: 84px 0 96px;
    background: radial-gradient(1100px 620px at 88% -12%, var(--green-100) 0%, transparent 58%),
        radial-gradient(760px 520px at -8% 8%, #FFF8DF 0%, transparent 55%),
        linear-gradient(180deg, #FFFFFF 0%, var(--green-50) 100%);
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(3, 141, 64, .10) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 65%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 65%);
    pointer-events: none;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 10px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--green-100);
    box-shadow: var(--shadow-sm);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 26px;
}

.eyebrow span.dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--green-600), var(--green-400));
    color: #fff;
    font-size: .7rem;
}

.hero h1 {
    font-size: clamp(2.6rem, 5.6vw, 4.15rem);
    letter-spacing: -.035em;
    margin-bottom: 22px;
}

.hero h1 .accent {
    background: linear-gradient(120deg, var(--green-600), var(--green-400) 55%, var(--yellow));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero .lead {
    font-size: 1.14rem;
    color: var(--body);
    max-width: 30rem;
    margin-bottom: 34px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 44px;
}

/* Kartu foto hero */
.hero-visual {
    position: relative;
    isolation: isolate;
}

.hero-photo {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--white);
    aspect-ratio: 4 / 3.2;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}

.hero-photo:hover img {
    transform: scale(1.09);
}

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(2, 77, 36, .55) 100%);
}

.hero-badge {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
    padding: 12px 18px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    font-size: .86rem;
    font-weight: 700;
    color: var(--ink);
}

.hero-badge i {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: .85rem;
}

.hero-badge--a {
    left: -22px;
    bottom: 22%;
    animation: float 6s ease-in-out infinite;
}

.hero-badge--a i {
    background: linear-gradient(135deg, var(--green-600), var(--green-400));
}

.hero-badge--b {
    right: -14px;
    bottom: 8%;
    animation: float 6s ease-in-out infinite 1.6s;
}

.hero-badge--b i {
    background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(6px);
    z-index: -1;
}

.hero-blob--1 {
    width: 190px;
    height: 190px;
    right: -46px;
    top: -46px;
    background: radial-gradient(circle at 30% 30%, var(--yellow-soft), transparent 70%);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Statistik / fakta */
.facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 34rem;
}

.fact {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 18px 16px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s, box-shadow .3s, border-color .3s;
}

.fact:hover {
    transform: translateY(-4px);
    border-color: var(--green-200);
    box-shadow: var(--shadow);
}

.fact b {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
    color: var(--green-600);
    margin-bottom: 6px;
}

.fact span {
    font-size: .78rem;
    line-height: 1.45;
    color: var(--muted);
    display: block;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-head {
    max-width: 640px;
    margin: 0 auto 56px;
}

.kicker {
    display: inline-block;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--green-600);
    background: var(--green-50);
    border: 1px solid var(--green-100);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    margin-bottom: 14px;
}

.section-subtitle {
    color: var(--muted);
    font-size: 1.05rem;
}

/* ============================================================
   PROFIL
   ============================================================ */
.profil-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 96px;
}

.profil-media {
    position: relative;
    isolation: isolate;
}

.profil-media .frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
}

.profil-media .frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profil-media .ring {
    position: absolute;
    inset: -18px -18px auto auto;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 14px solid var(--green-100);
    z-index: -1;
}

.profil-media .chip {
    position: absolute;
    left: 24px;
    bottom: -26px;
    background: var(--white);
    border-radius: 18px;
    padding: 16px 22px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 14px;
}

.profil-media .chip img {
    height: 42px;
    width: auto;
}

.profil-media .chip div {
    min-width: 0;
    font-size: .8rem;
    color: var(--muted);
    line-height: 1.35;
}

.profil-media .chip strong {
    display: block;
    color: var(--ink);
    font-size: .95rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.profil-copy h3 {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    margin-bottom: 20px;
}

.profil-copy p {
    margin-bottom: 18px;
    font-size: 1.02rem;
    color: var(--body);
}

.profil-copy p strong {
    color: var(--green-700);
}

/* Timeline sejarah */
.timeline {
    list-style: none;
    margin-top: 30px;
    display: grid;
    gap: 4px;
}

.timeline li {
    position: relative;
    padding: 14px 0 14px 46px;
    border-bottom: 1px dashed var(--line);
}

.timeline li:last-child {
    border-bottom: 0;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 22px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--green-500);
    z-index: 1;
}

.timeline li::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 30px;
    bottom: -4px;
    width: 2px;
    background: var(--line);
}

.timeline li:last-child::after {
    display: none;
}

.timeline b {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--green-700);
    font-size: .9rem;
    letter-spacing: .02em;
}

.timeline span {
    font-size: .95rem;
    color: var(--body);
}

/* Kartu Visi & Misi */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 26px;
}

.value-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px 30px 32px;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.34, 1.2, .64, 1), box-shadow .35s, border-color .35s;
}

.value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--c, var(--green-500));
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 22px;
    background: var(--c, var(--green-500));
    box-shadow: 0 12px 24px color-mix(in srgb, var(--c, var(--green-500)) 32%, transparent);
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.value-card:hover .value-icon {
    transform: rotate(-8deg) scale(1.08);
}

.value-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.value-card p {
    font-size: .95rem;
    color: var(--muted);
}

.c-yellow {
    --c: var(--yellow);
}

.c-green {
    --c: var(--green-600);
}

.c-sky {
    --c: var(--sky);
}

.c-violet {
    --c: var(--violet);
}

/* ============================================================
   BERITA
   ============================================================ */
/* Kolom dibatasi lebarnya + dipusatkan agar tetap rapi
   saat berita yang tampil hanya satu atau dua. */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 370px));
    justify-content: center;
    gap: 30px;
}

.news-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .35s cubic-bezier(.34, 1.2, .64, 1), box-shadow .35s, border-color .35s;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.news-thumbnail {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--green-50);
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

.news-card:hover .news-thumbnail img {
    transform: scale(1.07);
}

.news-date {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(6px);
    color: var(--green-800);
    font-size: .78rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}

.news-date i {
    color: var(--green-600);
}

.news-content {
    padding: 26px 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.14rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: 12px;
    transition: color .25s;
}

.news-card:hover .news-title {
    color: var(--green-700);
}

.news-excerpt {
    font-size: .95rem;
    color: var(--muted);
    margin-bottom: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: .93rem;
    color: var(--green-600);
}

.news-link i {
    transition: transform .3s;
}

.news-card:hover .news-link i {
    transform: translateX(5px);
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--muted);
    padding: 48px 0;
}

/* ============================================================
   GALERI VIDEO
   ============================================================ */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 370px));
    justify-content: center;
    gap: 28px;
}

.video-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .35s cubic-bezier(.34, 1.2, .64, 1), box-shadow .35s, border-color .35s;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.thumbnail-container {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--green-50);
}

.thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

.video-card:hover .thumbnail-container img {
    transform: scale(1.08);
}

.thumbnail-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 51, 26, .05), rgba(4, 51, 26, .45));
    opacity: .8;
    transition: opacity .35s;
}

.video-card:hover .thumbnail-container::after {
    opacity: .55;
}

.play-icon {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .92);
    color: var(--green-600);
    font-size: 1.3rem;
    padding-left: 4px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), background .3s, color .3s;
}

.video-card:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.12);
    background: var(--green-600);
    color: #fff;
}

.video-info {
    padding: 22px 24px 24px;
}

.video-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 10px;
}

.video-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .25s;
}

.video-card:hover .video-title {
    color: var(--green-700);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta {
    padding: 0 0 96px;
}

.cta-inner {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: 72px 56px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 45%, var(--green-500) 100%);
    box-shadow: var(--shadow-lg);
}

.cta-inner::before,
.cta-inner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
}

.cta-inner::before {
    width: 320px;
    height: 320px;
    top: -140px;
    right: -80px;
}

.cta-inner::after {
    width: 240px;
    height: 240px;
    bottom: -130px;
    left: -60px;
}

.cta-inner h3 {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    margin-bottom: 14px;
}

.cta-inner p {
    position: relative;
    z-index: 2;
    max-width: 46rem;
    margin: 0 auto 32px;
    color: rgba(255, 255, 255, .9);
    font-size: 1.05rem;
}

.cta-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--green-900);
    color: rgba(255, 255, 255, .74);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 52px;
}

.site-footer h4 {
    color: #fff;
    font-size: 1.02rem;
    margin-bottom: 20px;
    letter-spacing: .01em;
}

.footer-brand img {
    height: 52px;
    width: auto;
    background: #fff;
    padding: 8px 14px;
    border-radius: 14px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: .95rem;
    max-width: 24rem;
}

.footer-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.footer-list li {
    display: flex;
    gap: 13px;
    font-size: .93rem;
    align-items: flex-start;
}

.footer-list i {
    color: var(--green-400);
    margin-top: 6px;
    width: 16px;
    flex-shrink: 0;
}

.footer-list a {
    text-decoration: none;
    transition: color .25s;
}

.footer-list a:hover {
    color: #fff;
}

.socials {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.socials a {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    transition: background .3s, transform .3s, color .3s;
}

.socials a:hover {
    background: var(--yellow);
    color: var(--green-900);
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 24px 0 28px;
    font-size: .88rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Tombol kembali ke atas */
.to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 16px;
    background: var(--green-600);
    color: #fff;
    font-size: 1rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(3, 141, 64, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .3s, transform .3s, visibility .3s, background .3s;
    z-index: 140;
}

.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top:hover {
    background: var(--green-700);
}

/* ============================================================
   ANIMASI SCROLL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .hero .lead,
    .facts {
        max-width: none;
    }

    .hero-badge--a {
        left: 12px;
    }

    .hero-badge--b {
        right: 12px;
    }

    .profil-grid {
        grid-template-columns: 1fr;
        gap: 66px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: flex;
    }

    .site-header nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        padding: 12px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity .28s, transform .28s, visibility .28s;
    }

    .site-header.nav-open nav {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .site-header nav a {
        padding: 13px 16px;
        border-radius: 14px;
    }

    .site-header nav a::after {
        display: none;
    }
}

@media (max-width: 720px) {
    .section {
        padding: 72px 0;
    }

    .hero {
        padding: 56px 0 76px;
    }

    .facts {
        grid-template-columns: 1fr;
    }

    .fact {
        display: flex;
        align-items: baseline;
        gap: 14px;
    }

    .fact b {
        margin-bottom: 0;
    }

    .cta-inner {
        padding: 56px 26px;
    }

    /* Kartu identitas tidak boleh melebar keluar layar */
    .profil-media .chip {
        left: 16px;
        right: 16px;
        bottom: -30px;
        padding: 14px 16px;
        gap: 12px;
    }

    .profil-media .chip img {
        height: 30px;
    }

    .profil-media .chip div {
        font-size: .74rem;
    }

    .profil-media .chip strong {
        font-size: .86rem;
    }

    /* Badge hero dipisah vertikal agar tidak bertumpuk */
    .hero-badge {
        font-size: .78rem;
        padding: 9px 14px;
        gap: 10px;
    }

    .hero-badge i {
        width: 28px;
        height: 28px;
        font-size: .76rem;
    }

    .hero-badge--a {
        left: 12px;
        bottom: auto;
        top: 14px;
    }

    .hero-badge--b {
        right: 12px;
        bottom: 14px;
    }

    .profil-grid {
        margin-bottom: 76px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-cta,
    .cta-actions {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   HALAMAN ARTIKEL BERITA
   ============================================================ */
.article-hero {
    position: relative;
    padding: 52px 0 0;
    background: radial-gradient(900px 460px at 82% -18%, var(--green-100) 0%, transparent 60%),
        linear-gradient(180deg, var(--green-50) 0%, #FFFFFF 100%);
    overflow: hidden;
}

.article-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(3, 141, 64, .09) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 60%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 60%);
    pointer-events: none;
}

.article-hero > .container {
    position: relative;
    z-index: 2;
}

.article-head {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

/* Remah roti */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    list-style: none;
    font-size: .88rem;
    color: var(--muted);
    margin-bottom: 26px;
}

.breadcrumb a {
    text-decoration: none;
    color: var(--green-700);
    font-weight: 600;
    transition: color .25s;
}

.breadcrumb a:hover {
    color: var(--green-500);
}

/* Pemisah menempel pada item sesudahnya agar tidak menggantung
   di ujung baris ketika remah roti terbungkus ke baris baru. */
.breadcrumb li:not(:first-child)::before {
    content: "/";
    margin-right: 10px;
    color: var(--green-200);
}

.breadcrumb li[aria-current] {
    max-width: 22rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-title {
    font-size: clamp(1.9rem, 4.2vw, 3.1rem);
    letter-spacing: -.03em;
    margin-bottom: 24px;
}

/* Baris meta (tanggal, lokasi) */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 44px;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 18px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.article-meta i {
    color: var(--green-600);
}

/* Gambar utama */
.article-figure {
    max-width: 940px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    border: 6px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.article-figure img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 8px);
}

.article-figure figcaption {
    padding: 16px 20px 10px;
    font-size: .88rem;
    line-height: 1.6;
    color: var(--muted);
    text-align: center;
}

/* Badan artikel */
.article-body {
    padding: 64px 0 88px;
}

.prose {
    max-width: 720px;
    margin: 0 auto;
}

.prose p {
    font-size: 1.09rem;
    line-height: 1.95;
    color: var(--body);
    margin-bottom: 26px;
}

/* Paragraf pembuka dibuat lebih menonjol */
.prose p.lead {
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--ink);
    font-weight: 500;
    padding-left: 22px;
    border-left: 4px solid var(--green-500);
}

.prose h2 {
    font-size: 1.6rem;
    margin: 44px 0 18px;
}

.prose a {
    color: var(--green-700);
    text-decoration-color: var(--green-200);
    text-underline-offset: 4px;
}

.prose a:hover {
    color: var(--green-500);
}

/* Navigasi bawah artikel */
.article-foot {
    max-width: 720px;
    margin: 48px auto 0;
    padding-top: 34px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 720px) {
    .article-hero {
        padding-top: 34px;
    }

    .article-body {
        padding: 48px 0 72px;
    }

    .prose p {
        font-size: 1.02rem;
        line-height: 1.85;
    }

    .prose p.lead {
        font-size: 1.12rem;
        padding-left: 16px;
    }

    /* Judul halaman sudah tampil sebagai <h1> tepat di bawahnya */
    .breadcrumb li[aria-current] {
        display: none;
    }

    .article-foot {
        flex-direction: column;
        align-items: stretch;
    }

    .article-figure {
        border-width: 4px;
    }
}
