/* ==========================================================
   PT Sinergi Nusantara Global — Company Profile
   ========================================================== */

:root {
    --navy: #0F2557;
    --navy-2: #16306B;
    --blue: #3870B8;          /* warna logo */
    --blue-deep: #24508F;
    --sky: #EEF3FA;
    --line: #DCE4EF;
    --ink: #1C2738;
    --muted: #5A6778;
    --white: #FFFFFF;
    --amber: #F2A900;         /* ARKA JAYA */
    --amber-deep: #C98A00;
    --steel: #26303C;
    --steel-2: #323E4C;
    --ok: #17803D;
    --err: #C0262D;

    --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --header-h: 76px;
    --r-lg: 20px;
    --r-md: 12px;
    --r-sm: 8px;
    --shadow: 0 10px 30px -12px rgba(15, 37, 87, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
html, body { overflow-x: clip; }
a { color: var(--blue-deep); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; }
.muted { opacity: .75; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .9rem 1.5rem; border-radius: var(--r-sm);
    font: 600 .95rem/1 var(--font); text-decoration: none; cursor: pointer;
    border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-primary-outline { border-color: var(--blue); color: var(--blue-deep); background: transparent; }
.btn-primary-outline:hover { background: var(--blue); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-amber { background: var(--amber); color: var(--steel); }
.btn-amber:hover { background: var(--amber-deep); color: #fff; }
.btn-amber-outline { border-color: var(--amber-deep); color: var(--steel); background: transparent; }
.btn-amber-outline:hover { background: var(--amber); }
.btn-accent { background: var(--blue); color: #fff; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.btn-accent:hover { background: #4C86D0; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.btn-row .btn { flex: 1 1 200px; }

.text-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.text-link:hover { color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
    background: #fff;
    border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15,37,87,.5); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-logo img { height: 36px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.main-nav ul a {
    color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem;
    padding: .4rem 0; border-bottom: 2px solid transparent;
}
.main-nav ul a:hover { color: var(--blue); }
.main-nav ul a.is-active { color: var(--blue); border-color: var(--blue); }
.nav-cta { padding: .7rem 1.1rem; }

.hamburger { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.hamburger span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

main { padding-top: var(--header-h); }

/* ---------- WhatsApp ---------- */
.wa-float {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
    width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center; font-size: 1.8rem;
    background: #25D366; color: #fff; box-shadow: 0 8px 24px -6px rgba(0,0,0,.35);
    text-decoration: none;
}
.wa-float:hover { background: #1EB257; }

/* ---------- Hero carousel ---------- */
.hero { position: relative; overflow: hidden; color: #fff; }
.hero-track { display: grid; }
.hero-slide {
    grid-area: 1 / 1; position: relative; min-height: min(82vh, 720px);
    display: flex; align-items: center; padding: 5rem 0 6rem;
    opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s;
    overflow: hidden;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide--sng {
    background:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue-deep) 100%);
}
.hero-slide--arka {
    background:
        repeating-linear-gradient(135deg, rgba(242,169,0,.07) 0 2px, transparent 2px 28px),
        linear-gradient(120deg, var(--steel) 0%, var(--steel-2) 100%);
}
.hero-art { position: absolute; inset: 0; pointer-events: none; }
.hero-mark {
    position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
    width: min(50vw, 640px); opacity: .2; filter: brightness(0) invert(1);
}
.hero-slide--arka .art-truss {
    position: absolute; right: -4%; bottom: -2%; width: min(64vw, 760px); color: var(--amber); opacity: .28;
}
.hero-content { position: relative; z-index: 1; }
.hero-kicker { font-weight: 600; color: #BFD3EF; margin-bottom: 1rem; }
.hero-slide--arka .hero-kicker { color: var(--amber); }
.hero-title {
    color: #fff; font-size: clamp(2.2rem, 5.2vw, 4.25rem); font-weight: 800;
    letter-spacing: -.03em; line-height: 1.05; max-width: 15ch;
}
.hero-slide--arka .hero-title { max-width: 18ch; }
.hero-text { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 54ch; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero-dots { position: absolute; left: 50%; bottom: 1.75rem; transform: translateX(-50%); display: flex; gap: .6rem; z-index: 2; }
.hero-dots button {
    width: 34px; height: 6px; border-radius: 3px; border: 0; padding: 0; cursor: pointer;
    background: rgba(255,255,255,.35); transition: background .3s, width .3s;
}
.hero-dots button.is-active { background: #fff; width: 54px; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--tight { padding-top: 1rem; }
.section--soft { background: var(--sky); }
.section--steel { background: var(--steel); }
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 2.5rem; }
.on-dark { color: #fff; }

/* Keunggulan */
.adv-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.adv-card {
    flex: 1 1 300px; max-width: 360px; padding: 2rem 1.75rem;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow);
}
.adv-icon {
    display: inline-grid; place-items: center; width: 68px; height: 68px; margin-bottom: 1.1rem;
    border-radius: 18px 18px 18px 4px; background: var(--sky); color: var(--blue); font-size: 1.7rem;
}
.adv-card p { font-weight: 600; color: var(--navy); font-size: 1.08rem; margin: 0; }

/* Fitur (layanan unggulan) */
.feature { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.feature--sng { background: #F6F8FB; }
.feature--arka { background: #F4F2EC; }
.feature-grid { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.feature-grid--reverse { grid-template-columns: 7fr 5fr; }
.feature-grid--reverse .feature-visual { order: 2; }
.feature-title { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; }
.brand-sng { color: var(--blue); }
.brand-arka { color: var(--amber-deep); }
.feature-lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }

.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.check-list li { position: relative; padding-left: 2.1rem; font-size: 1.08rem; font-weight: 500; }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: .32em; width: 1.25rem; height: 1.25rem; border-radius: 4px;
    background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.check-list--arka li::before { background-color: var(--amber-deep); }

.blob {
    position: relative; aspect-ratio: 1; display: grid; place-items: center;
    border-radius: 62% 38% 55% 45% / 48% 58% 42% 52%; overflow: hidden;
}
.blob--sng { background: linear-gradient(140deg, var(--navy), var(--blue)); color: rgba(255,255,255,.18); }
.blob--sng .art-circuit { position: absolute; inset: 10%; width: 80%; }
.blob-mark { position: relative; width: 46%; filter: brightness(0) invert(1); }
.blob--arka { background: linear-gradient(140deg, var(--steel), var(--steel-2)); color: var(--amber); }
.blob--arka .art-truss { width: 72%; }

/* Klien */
.client-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 2rem 0; overflow: hidden; }
.marquee { display: flex; overflow: hidden; gap: 2.5rem; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-group { flex-shrink: 0; display: flex; align-items: center; gap: 2.5rem; min-width: 100%; justify-content: space-around; animation: marquee 32s linear infinite; }
.marquee-group img { height: 64px; width: auto; object-fit: contain; }
.client-chip {
    white-space: nowrap; padding: .9rem 1.5rem; border-radius: var(--r-md);
    border: 1px dashed #B9C6D8; color: var(--muted); font-weight: 600;
}
.client-card:hover .marquee-group { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - 2.5rem)); } }

/* Testimoni */
.testi {
    position: relative; background: #fff; border-radius: var(--r-lg);
    box-shadow: 0 18px 50px -20px rgba(15,37,87,.35); padding: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem);
}
.testi-track { display: grid; }
.testi-slide {
    grid-area: 1 / 1; margin: 0; display: grid; grid-template-columns: 160px 1fr; gap: 2.5rem; align-items: center;
    opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
}
.testi-slide.is-active { opacity: 1; visibility: visible; }
.testi-avatar {
    width: 160px; height: 160px; border-radius: 50%; display: grid; place-items: center;
    background: var(--sky); color: var(--blue); font-size: 3rem; font-weight: 800;
    border: 6px solid #fff; box-shadow: 0 0 0 2px var(--line);
}
.testi-quote { font-size: 2rem; color: var(--blue); opacity: .5; }
.testi blockquote { margin: .5rem 0 1.25rem; font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.55; color: var(--navy); font-weight: 500; }
.testi figcaption strong { display: block; color: var(--navy); }
.testi figcaption span { color: var(--muted); font-size: .95rem; }
.testi-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
    background: #fff; color: var(--navy); cursor: pointer;
}
.testi-arrow:hover { background: var(--sky); }
.testi-prev { left: 1rem; }
.testi-next { right: 1rem; }

/* Berita */
.news-band { background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 100%); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-bottom: 2.5rem; }
.news-grid--two { grid-template-columns: repeat(2, 1fr); }
.news-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.news-thumb { display: grid; place-items: center; aspect-ratio: 16 / 9; }
.news-thumb svg { width: 62%; }
.news-thumb--sng { background: var(--navy); color: rgba(255,255,255,.35); }
.news-thumb--arka { background: var(--steel); color: var(--amber); }
.news-body { padding: 1.4rem 1.5rem 1.6rem; }
.news-meta { font-size: .85rem; color: var(--muted); display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: .6rem; }
.news-meta span { color: var(--blue-deep); font-weight: 700; }
.news-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.news-card h3 a { color: var(--navy); text-decoration: none; }
.news-card h3 a:hover { color: var(--blue); }
.news-card p:last-child { color: var(--muted); margin: 0; }

/* ---------- Halaman dalam ---------- */
.page-hero { color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; }
.page-hero--sng {
    background:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(120deg, var(--navy), var(--blue-deep));
}
.page-hero--arka {
    background:
        repeating-linear-gradient(135deg, rgba(242,169,0,.08) 0 2px, transparent 2px 26px),
        linear-gradient(120deg, var(--steel), var(--steel-2));
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; max-width: 22ch; letter-spacing: -.025em; }
.page-hero p { max-width: 60ch; font-size: 1.12rem; color: rgba(255,255,255,.85); margin: 0; }
.breadcrumb { font-size: .9rem; margin-bottom: 1rem; color: rgba(255,255,255,.7); }
.breadcrumb a { color: #fff; }
.page-hero--arka .breadcrumb a { color: var(--amber); }

.prose { max-width: 68ch; }
.prose p { font-size: 1.08rem; color: #334155; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.about-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-logo { background: var(--sky); border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3.5rem); }
.about-logo img { margin: auto; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.75rem; }
.vm-card { background: #fff; border-radius: var(--r-lg); padding: 2rem; border: 1px solid var(--line); }
.vm-card h3 { font-size: 1.4rem; }
.vm-card .check-list { margin-top: .5rem; }
.vm-card .check-list li { font-size: 1rem; }

.kbli-card { border-radius: var(--r-lg); padding: 2rem; }
.kbli-card ul { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .9rem; }
.kbli-card li { display: flex; gap: .9rem; align-items: flex-start; font-weight: 600; }
.kbli-card li i { width: 1.4rem; margin-top: .25rem; text-align: center; }
.kbli-card--sng { background: var(--sky); color: var(--navy); }
.kbli-card--sng i { color: var(--blue); }
.kbli-logo { height: 38px; width: auto; }
.kbli-card--arka { background: var(--steel); color: #fff; }
.kbli-card--arka i { color: var(--amber); }
.kbli-wordmark { font-size: 1.9rem; font-weight: 800; letter-spacing: .04em; color: var(--amber); margin: 0; line-height: 38px; }

.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 1.75rem; display: flex; flex-direction: column; border-top: 4px solid var(--blue);
}
.service-card h2, .service-card h3 { font-size: 1.12rem; }
.service-card p { color: var(--muted); flex: 1; }
.service-card .text-link { align-self: flex-start; }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--sky); color: var(--blue); font-size: 1.35rem; margin-bottom: 1.1rem; }
.service-card--arka { background: var(--steel-2); border-color: #3F4B5A; border-top-color: var(--amber); }
.service-card--arka h3 { color: #fff; }
.service-card--arka p { color: #C4CCD6; }
.service-card--arka .service-icon { background: rgba(242,169,0,.14); color: var(--amber); }
.service-card--arka .text-link { color: var(--amber); }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { counter-increment: step; position: relative; padding-top: 3.6rem; }
.steps li::before {
    content: counter(step); position: absolute; top: 0; left: 0;
    width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
    background: var(--blue); color: #fff; font-weight: 800;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.3rem; left: 3.2rem; right: -.8rem; height: 2px; background: #B9CBE4; }
.steps strong { display: block; color: var(--navy); font-size: 1.1rem; margin-bottom: .3rem; }
.steps span { color: var(--muted); }

.cta-band { background: var(--blue); color: #fff; padding: 3rem 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .3rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); }
.cta-band .btn-row { margin: 0; }
.theme-arka .cta-band { background: var(--amber); color: var(--steel); }
.theme-arka .cta-band h2 { color: var(--steel); }
.theme-arka .cta-band p { color: var(--steel); }
.theme-arka .cta-band .btn-ghost { border-color: var(--steel); color: var(--steel); }

/* Galeri */
.filter-bar { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.chip { font: 600 .95rem var(--font); padding: .55rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.gallery-item { margin: 0; border-radius: var(--r-md); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.gallery-item[hidden] { display: none; }
.gallery-item img, .gallery-ph { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.gallery-ph { display: grid; place-items: center; }
.gallery-ph svg { width: 60%; }
.gallery-ph--sng { background: var(--navy); color: rgba(255,255,255,.3); }
.gallery-ph--arka { background: var(--steel); color: var(--amber); }
.gallery-item figcaption { padding: .9rem 1.1rem; font-weight: 600; color: var(--navy); }
.gallery-item figcaption span { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }

/* Artikel */
.article { max-width: 760px; }

/* Kontak */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 2.25rem; }
.contact-info h2 { color: #fff; font-size: 1.4rem; }
.contact-info ul { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.3rem; }
.contact-info li { display: flex; gap: 1rem; }
.contact-info li i { width: 2.4rem; height: 2.4rem; flex-shrink: 0; border-radius: var(--r-sm); background: rgba(255,255,255,.1); display: grid; place-items: center; }
.contact-info strong { display: block; font-size: .85rem; color: #BFD3EF; font-weight: 600; }
.contact-info a { color: #fff; }
.map { width: 100%; height: 240px; border: 0; border-radius: var(--r-md); margin-top: 1.75rem; }

.contact-form { display: grid; gap: 1.2rem; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: .4rem; font-size: .95rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; color: var(--ink); padding: .8rem 1rem;
    border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(56,112,184,.2); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field-error { color: var(--err); font-size: .88rem; margin: .35rem 0 0; }
.alert { padding: 1rem 1.2rem; border-radius: var(--r-sm); margin-bottom: 1.5rem; font-weight: 600; }
.alert-ok { background: #E6F4EA; color: var(--ok); }
.alert-err { background: #FDECEC; color: var(--err); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.85); padding: 4rem 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr); gap: 2.5rem; }
.footer-grid > * { min-width: 0; }
.site-footer p, .site-footer a { overflow-wrap: anywhere; }
.footer-logo { height: 38px; width: auto; margin-bottom: 1.2rem; }
.footer-title { color: #fff; font-size: 1rem; margin: .4rem 0 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { margin-bottom: .55rem; }
.subscribe-form { display: flex; width: 100%; margin-top: 1.4rem; max-width: 380px; }
.subscribe-form input { flex: 1 1 auto; width: 100%; min-width: 0; font: inherit; padding: .8rem 1rem; border: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); }
.form-note { font-size: .88rem; margin-top: .5rem; }
.form-note.is-ok { color: #9FE0B3; }
.form-note.is-error { color: #FFB4B4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 3rem; padding-top: 1.5rem; text-align: center; }
.footer-social { display: flex; justify-content: center; gap: .7rem; margin-bottom: 1rem; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: var(--r-sm); }
.footer-social a:hover { background: rgba(255,255,255,.1); text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .hamburger { display: block; }
    .main-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0;
        height: calc(100vh - var(--header-h));
        height: calc(100dvh - var(--header-h));
        flex-direction: column; align-items: stretch; justify-content: flex-start;
        gap: clamp(.75rem, 2.5vh, 1.5rem);
        padding: clamp(.5rem, 2vh, 1.25rem) 1.25rem calc(clamp(1rem, 3vh, 2rem) + env(safe-area-inset-bottom, 0px));
        background: #fff; border-top: 1px solid var(--line);
        transform: translateX(100%); visibility: hidden;
        transition: transform .3s ease, visibility 0s linear .3s;
        overflow-y: auto; overscroll-behavior: contain;
    }
    .main-nav.is-open { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul a {
        display: block; padding: clamp(.55rem, 1.9vh, .95rem) 0;
        border-bottom: 1px solid var(--line); font-size: clamp(1rem, 2.2vh, 1.1rem);
    }
    .main-nav ul a.is-active { border-bottom-color: var(--blue); }
    .nav-cta { width: 100%; padding: .9rem 1rem; }
    body.nav-open { overflow: hidden; }
    .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .feature-grid, .about-grid, .contact-grid, .two-col { grid-template-columns: 1fr; }
    .feature-grid--reverse .feature-visual { order: 0; }
    .feature-visual { max-width: 380px; margin-inline: auto; width: 100%; }
    .news-grid, .news-grid--two { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
    .steps { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
    .steps li::after { display: none; }
    .testi-slide { grid-template-columns: 1fr; text-align: center; gap: 1.25rem; }
    .testi-avatar { width: 110px; height: 110px; font-size: 2.2rem; margin: auto; }
    .about-logo { max-width: 320px; margin: auto; }
}
@media (max-width: 560px) {
    .field-row, .steps, .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .subscribe-form { max-width: none; }
    .subscribe-form .btn { padding-inline: 1rem; }
    .testi { padding: 2rem 1.25rem 4.5rem; }
    .testi-arrow { top: auto; bottom: 1rem; transform: none; }
    .testi-prev { left: calc(50% - 52px); }
    .testi-next { right: calc(50% - 52px); }
    .hero-slide { padding: 3.5rem 0 5rem; }
    .hero-mark { width: 110vw; right: -40%; opacity: .12; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .marquee-group { animation: none; }
    .marquee { flex-wrap: wrap; justify-content: center; }
    .marquee-group[aria-hidden="true"] { display: none; }
}

/* ---------- Konten dari CMS ---------- */
.hero-slide.has-image {
    background:
        linear-gradient(100deg, rgba(15, 37, 87, .92) 0%, rgba(15, 37, 87, .7) 45%, rgba(15, 37, 87, .25) 100%),
        var(--slide-img) center / cover no-repeat;
}
.hero-slide--arka.has-image {
    background:
        linear-gradient(100deg, rgba(38, 48, 60, .94) 0%, rgba(38, 48, 60, .72) 45%, rgba(38, 48, 60, .25) 100%),
        var(--slide-img) center / cover no-repeat;
}
.testi-avatar--img { object-fit: cover; padding: 0; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-cover { width: 100%; border-radius: var(--r-lg); margin: 0 0 2rem; aspect-ratio: 16 / 9; object-fit: cover; }

.rich { max-width: 68ch; }
.rich > * + * { margin-top: 1em; }
.rich p, .rich li { font-size: 1.08rem; color: #334155; }
.rich h2 { font-size: 1.6rem; margin-top: 1.6em; }
.rich h3 { font-size: 1.3rem; margin-top: 1.4em; }
.rich img { border-radius: var(--r-md); height: auto; }
.rich blockquote { margin: 1.5em 0; padding: .5em 1.25em; border-left: 4px solid var(--blue); color: var(--navy); font-weight: 500; }
.rich a { color: var(--blue-deep); }
.rich ul, .rich ol { padding-left: 1.4em; }

.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.pager-btn {
    padding: .65rem 1.2rem; border-radius: var(--r-sm); border: 1.5px solid var(--line);
    font-weight: 600; text-decoration: none; color: var(--navy); background: #fff;
}
.pager-btn:hover { border-color: var(--blue); color: var(--blue); }
.pager-btn.is-disabled { opacity: .45; pointer-events: none; }
.pager-info { color: var(--muted); font-size: .95rem; }