/* =========================================================
   MegonoSoftware — Public Site Theme
   Palette: cream / white / black + gold accent
   ========================================================= */

:root {
    --bg: #fffdf6;
    --bg-soft: #fff9e8;
    --cream: #fff4c8;
    --cream-deep: #ffe9a0;
    --surface: #ffffff;
    --ink: #111111;
    --ink-soft: #2c2c2c;
    --muted: #6b6b6b;
    --line: #efe6cc;
    --line-strong: #e2d4a8;
    --accent: #e8b923;
    --accent-deep: #c9970a;
    --accent-glow: rgba(232, 185, 35, 0.28);
    --radius: 18px;
    --radius-sm: 12px;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.04);
    --shadow: 0 12px 40px rgba(17, 17, 17, 0.06);
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-display: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
    --container: 1120px;
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Focus visibility (keyboard) */
:focus-visible {
    outline: 2px solid var(--accent-deep);
    outline-offset: 3px;
    border-radius: 4px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}
main:focus { outline: none; }

/* Skip link */
.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 200;
    background: var(--ink);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: top 0.15s ease;
}
.skip-link:focus {
    top: 12px;
    color: #fff;
}

/* Long text safety */
code, .article-content, .message-body {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.table-admin {
    word-break: break-word;
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .float-card,
    .reveal,
    .card,
    .media-card,
    .process-num,
    .process-body,
    .btn {
        animation: none !important;
        transition: none !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 0.5em;
    color: var(--ink);
}

.display {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.section-title {
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 800;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-deep);
    margin-bottom: 12px;
}

.section-kicker::before {
    content: '';
    width: 18px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.lead {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 54ch;
}

.text-muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn:active { transform: translateY(1px) scale(0.98); }

.btn i { font-size: 1em; line-height: 1; }

.btn-primary {
    background: var(--ink);
    color: #fff !important;
    border-color: var(--ink);
}
.btn-primary:hover {
    background: #000;
    border-color: #000;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(17, 17, 17, 0.16);
}

.btn-accent {
    background: var(--accent);
    color: var(--ink);
    border-color: var(--accent-deep);
}
.btn-accent:hover {
    background: var(--accent-deep);
    border-color: var(--accent-deep);
    color: #fff;
    box-shadow: 0 6px 16px rgba(201, 151, 10, 0.25);
}

.btn-ghost {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--line-strong);
}
.btn-ghost:hover {
    background: var(--cream);
    border-color: var(--accent);
    color: var(--ink);
}

.btn-wa {
    background: #25d366;
    color: #fff;
    border-color: #1ebe5b;
}
.btn-wa:hover {
    background: #1ebe5b;
    border-color: #1ebe5b;
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.28);
}

.btn-lg {
    padding: 13px 22px;
    font-size: 14.5px;
    border-radius: 11px;
}

/* ---------- Header / Nav (modern) ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 253, 246, 0.85);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border-bottom: 1px solid rgba(17, 17, 17, 0.05);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
    background: rgba(255, 253, 246, 0.95);
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
}

.nav-inner {
    height: 80px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: contain;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.brand-text strong {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--ink);
}

/* Desktop links — clean text nav, no pill container */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    margin-right: 12px;
}

.nav-links a {
    position: relative;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 500;
    color: #555;
    letter-spacing: -0.01em;
    border-radius: 8px;
    transition: color 0.15s ease;
}
.nav-links a:hover {
    color: var(--ink);
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}
.nav-links a.active {
    color: var(--ink);
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-wa-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-soft);
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.nav-wa-link:hover {
    background: #e8f8ee;
    border-color: #b8e6cc;
    color: #0d7a3f;
}
.nav-wa-link i {
    font-size: 16px;
    color: #128c4a;
}

.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 12px;
    background: var(--accent);
    color: var(--ink) !important;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    border: 1px solid transparent;
    box-shadow: none;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn-nav-cta:hover {
    background: var(--accent-deep);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(201, 151, 10, 0.28);
}

/* Hamburger — two bars */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    border-radius: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    padding: 0;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* Mobile overlay */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(255, 253, 246, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}
.mobile-nav[hidden] { display: block; } /* allow transition; visibility handles hide */
.mobile-nav.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-inner {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 16px 20px 28px;
}

.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    margin-bottom: 12px;
}
.mobile-nav-head .nav-toggle {
    position: relative;
    z-index: 2;
    display: flex !important;
}
.mobile-nav-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
    letter-spacing: -0.03em;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.mobile-nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 4px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    transition: color 0.15s ease, padding-left 0.15s ease;
}
.mobile-nav-links a i {
    font-size: 18px;
    color: var(--muted);
    transition: transform 0.15s ease, color 0.15s ease;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--accent-deep);
    padding-left: 8px;
}
.mobile-nav-links a:hover i,
.mobile-nav-links a.active i {
    color: var(--accent-deep);
    transform: translateX(3px);
}

.mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
    padding-top: 8px;
}
.mobile-cta .btn {
    justify-content: center;
    min-height: 48px;
    font-size: 15px;
}
.mobile-cta .btn-primary {
    background: var(--ink) !important;
    color: #fff !important;
    border-color: var(--ink) !important;
}
.mobile-cta .btn-wa {
    background: #25d366 !important;
    color: #fff !important;
    border-color: #25d366 !important;
}

body.nav-open {
    overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
    padding: 48px 0 56px;
    position: relative;
    overflow: hidden; /* contain decorative ::before glow */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 20px;
}
.hero-badge i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--accent-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.hero h1 .hl {
    background-image: linear-gradient(transparent 60%, var(--cream-deep) 60%);
    background-repeat: no-repeat;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 0 0.06em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

/* Hero primary link — distinct from intro-link (text + circle arrow) */
.hero-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 6px 6px 0;
    font-size: 15.5px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.15s ease;
}
.hero-cta-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.hero-cta-link:hover {
    color: var(--accent-deep);
}
.hero-cta-link:hover .hero-cta-arrow {
    background: var(--ink);
    color: #fff;
    transform: translateX(3px);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.hero-meta-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.hero-meta-item span {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

/* Hero visual — abstract dashboard mock */
.hero-visual {
    position: relative;
}

.mock-window {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transform: rotate(1.5deg);
    transition: transform 0.35s ease;
}
.mock-window:hover { transform: rotate(0deg) translateY(-4px); }

.mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
}
.mock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line-strong);
}
.mock-dot:nth-child(1) { background: #ff6b6b; }
.mock-dot:nth-child(2) { background: #ffd93d; }
.mock-dot:nth-child(3) { background: #6bcb77; }
.mock-url {
    margin-left: 8px;
    flex: 1;
    height: 22px;
    border-radius: 6px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 10px;
    color: var(--muted);
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-weight: 600;
}

.mock-body {
    display: grid;
    grid-template-columns: 56px 1fr;
    min-height: 280px;
}
.mock-side {
    background: var(--ink);
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.mock-side i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.mock-side i.on {
    background: var(--accent);
    color: var(--ink);
}

.mock-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; }

.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.mock-stat {
    background: var(--bg-soft);
    border-radius: 10px;
    padding: 10px;
    border: 1px solid var(--line);
}
.mock-stat b {
    display: block;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 800;
}
.mock-stat span {
    font-size: 10px;
    color: var(--muted);
    font-weight: 600;
}

.mock-chart {
    flex: 1;
    background: linear-gradient(180deg, var(--cream) 0%, var(--bg-soft) 100%);
    border-radius: 12px;
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    min-height: 120px;
}
.mock-chart svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.float-card {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    animation: floaty 5s ease-in-out infinite;
}
.float-card i {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.float-card.a {
    top: 12%;
    left: 0;
    animation-delay: 0s;
}
.float-card.a i { background: #edf7ed; color: #2e7d32; }
.float-card.b {
    bottom: 10%;
    right: 0;
    animation-delay: 1.2s;
}
.float-card.b i { background: var(--cream); color: var(--accent-deep); }

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

/* ---------- Sections ---------- */
.section {
    padding: 72px 0;
}

/* Company intro */
.intro-section {
    padding-top: 56px;
    padding-bottom: 56px;
}
.intro-wrap {
    max-width: 720px;
    text-align: center;
}
.intro-kicker {
    justify-content: center;
}
.intro-kicker::before {
    display: none;
}
.intro-title {
    margin-bottom: 16px;
}
.intro-lead {
    margin: 0 auto 28px;
    max-width: 54ch;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}
.intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.intro-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    border-bottom: none;
    transition: color 0.15s ease, gap 0.15s ease;
}
.intro-link i {
    font-size: 14px;
    color: var(--accent-deep);
    transition: transform 0.15s ease;
}
.intro-link:hover {
    color: var(--accent-deep);
}
.intro-link:hover i {
    transform: translateX(3px);
}

.section-alt {
    background: var(--bg-soft);
}
.section-dark {
    background: var(--ink);
    color: #fff;
}
.section-dark .section-title,
.section-dark h3 { color: #fff; }
.section-dark .lead,
.section-dark .text-muted { color: rgba(255, 255, 255, 0.65); }
.section-dark .section-kicker { color: var(--accent); }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.section-head .lead { margin: 0; }

/* ---------- Cards ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--cream);
    color: var(--accent-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.card p {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
    flex: 1;
}

.card-link {
    margin-top: 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-deep);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.card-link i { transition: transform 0.15s ease; }
.card:hover .card-link i { transform: translateX(3px); }

/* Product / portfolio media cards */
.media-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.media-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.media-thumb {
    aspect-ratio: 16 / 10;
    background: linear-gradient(145deg, var(--cream) 0%, var(--bg-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-deep);
    font-size: 36px;
    overflow: hidden;
    position: relative;
}
.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.media-body h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}
.media-body p {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0 0 12px;
    flex: 1;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: var(--cream);
    color: var(--accent-deep);
    font-size: 11px;
    font-weight: 700;
    width: fit-content;
}

.price {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--ink);
}

/* ---------- Why us / features ---------- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
}
.why-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.why-item i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--cream);
    color: var(--accent-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}
.why-item strong {
    display: block;
    font-size: 14.5px;
    margin-bottom: 2px;
}
.why-item span {
    font-size: 13px;
    color: var(--muted);
}

.why-panel {
    background: var(--ink);
    color: #fff;
    border-radius: 24px;
    padding: 36px;
    position: relative;
    overflow: hidden;
}
.why-panel::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    right: -60px;
    bottom: -60px;
    background: radial-gradient(circle, rgba(232, 185, 35, 0.35), transparent 70%);
}
.why-panel h3 { color: #fff; font-size: 1.35rem; }
.why-panel p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.why-panel .stat-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
    position: relative;
    z-index: 1;
}
.why-panel .stat-inline strong {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
}
.why-panel .stat-inline span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
}

/* ---------- Process / How we work (stepper) ---------- */
.process-section {
    background:
        radial-gradient(700px 280px at 50% 0%, rgba(232, 185, 35, 0.1), transparent 70%),
        var(--bg-soft);
    border-block: 1px solid var(--line);
}

.process-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}
.process-head .section-kicker {
    justify-content: center;
}
.process-head .section-kicker::before {
    display: none;
}
.process-head .section-title {
    margin-bottom: 10px;
}
.process-lead {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}

.process-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

/* Connector line behind numbers */
.process-steps::before {
    content: '';
    position: absolute;
    top: 23px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--line-strong) 8%,
        var(--line-strong) 92%,
        transparent 100%
    );
    z-index: 0;
    pointer-events: none;
}

.process-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

.process-num {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px var(--bg-soft), 0 8px 20px rgba(17, 17, 17, 0.12);
    margin-bottom: 20px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.process-step:hover .process-num {
    transform: scale(1.06);
    background: var(--accent);
    color: var(--ink);
}

.process-body {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 18px 24px;
    width: 100%;
    flex: 1;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.process-step:hover .process-body {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.process-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    border-radius: 12px;
    background: var(--cream);
    color: var(--accent-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.process-body h3 {
    font-size: 0.98rem;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.process-body p {
    margin: 0;
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.55;
}

/* ---------- Stats strip ---------- */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.stat-box {
    text-align: center;
    padding: 28px 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-box strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.stat-box span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

/* ---------- CTA band ---------- */
.cta-band {
    background: var(--cream);
    border-radius: 24px;
    padding: 48px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    right: -80px;
    top: -80px;
    background: radial-gradient(circle, rgba(232, 185, 35, 0.4), transparent 70%);
    pointer-events: none;
}
.cta-band h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 8px;
}
.cta-band p {
    margin: 0;
    color: var(--ink-soft);
    max-width: 48ch;
}
.cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ---------- About: Visi / Misi / Nilai ---------- */
.vm-block {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.vm-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-deep);
    margin-bottom: 18px;
}
.vm-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--cream);
    color: var(--accent-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.vm-quote {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.6vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.45;
    color: var(--ink);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.mission-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.mission-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}
.mission-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--cream);
    color: var(--accent-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}
.mission-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}
.mission-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Core values — focused list */
.values-section {
    background:
        radial-gradient(600px 240px at 100% 0%, rgba(232, 185, 35, 0.08), transparent 60%),
        var(--bg-soft);
    border-block: 1px solid var(--line);
}

.values-intro {
    max-width: 560px;
    margin-bottom: 40px;
}
.values-intro .section-kicker {
    margin-bottom: 10px;
}
.values-intro .section-title {
    margin-bottom: 10px;
}
.values-lead {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
}

.values-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
}

.value-row {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 20px;
    padding: 28px 8px;
    border-bottom: 1px solid var(--line);
    transition: background 0.2s ease;
    align-items: start;
}
.value-row:hover {
    background: rgba(255, 255, 255, 0.55);
}

.value-index {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--accent);
    padding-top: 2px;
}

.value-body {
    min-width: 0;
}

.value-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin-bottom: 8px;
}
.value-meta h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.value-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--cream);
    color: var(--accent-deep);
    white-space: nowrap;
}

.value-lead {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.45;
}

.value-desc {
    margin: 0;
    max-width: 62ch;
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ---------- Page hero (inner) ---------- */
.page-hero {
    padding: 56px 0 40px;
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--line);
}
.page-hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 10px;
}
.breadcrumb {
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 12px;
}
.breadcrumb a:hover { color: var(--accent-deep); }

/* ---------- Forms ---------- */
.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
}
.form-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink-soft);
    margin-bottom: 6px;
}
.form-control, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    font-family: var(--font);
    font-size: 16px; /* iOS: prevent zoom on focus */
    color: var(--ink);
    caret-color: var(--ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control::placeholder {
    color: #8a8a8a;
    opacity: 1;
}
.form-control:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    color: var(--ink);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-group { margin-bottom: 16px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* ---------- Alerts ---------- */
.alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid transparent;
}
.alert-success {
    background: #edf7ed;
    border-color: #c8e6c9;
    color: #1b5e20;
}
.alert-danger {
    background: #fdecea;
    border-color: #f5c6c2;
    color: #8e1b1b;
}
.alert ul { margin: 6px 0 0; padding-left: 18px; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.72);
    padding: 64px 0 0;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 48px;
}

.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: rgba(255, 255, 255, 0.45); }

.footer-desc {
    font-size: 13.5px;
    line-height: 1.65;
    margin: 16px 0 20px;
    max-width: 32ch;
    color: rgba(255, 255, 255, 0.55);
}

.social-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.social-row a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.social-row a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--ink);
}

.footer-col h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.footer-col a, .footer-col .footer-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    padding: 5px 0;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-col i { margin-top: 3px; font-size: 13px; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.4);
}
/* ---------- WhatsApp float ---------- */
.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
    z-index: 90;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
    transform: scale(1.08);
    color: #fff;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

/* ---------- Empty / misc ---------- */
.empty-box {
    text-align: center;
    padding: 48px 20px;
    color: var(--muted);
    background: var(--surface);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
}
.empty-box i {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
    opacity: 0.45;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.filter-bar a, .filter-bar .chip {
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.filter-bar a:hover, .filter-bar a.active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.search-form {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    max-width: 420px;
}
.search-form .form-control { flex: 1; }

/* Pagination (public) */
.admin-pagination .page-link {
    border-color: var(--line);
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 12px;
    background: var(--surface);
}
.admin-pagination .page-item.active .page-link {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.admin-pagination .page-item.disabled .page-link {
    background: var(--bg-soft);
    color: #bbb;
}

/* Article content */
.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ink-soft);
    max-width: 72ch;
}
.article-content a {
    text-decoration: underline;
    text-underline-offset: 2px;
    color: var(--accent-deep);
}
.article-content a:hover { color: var(--ink); }
.article-content h2, .article-content h3 {
    margin-top: 1.6em;
    margin-bottom: 0.5em;
}
.article-content p { margin-bottom: 1em; }
.article-content img {
    border-radius: 14px;
    margin: 1.2em 0;
}
.article-content ul, .article-content ol {
    padding-left: 1.3em;
    margin-bottom: 1em;
}

/* Contact info cards */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 28px;
    align-items: start;
}
.about-grid,
.detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}
.info-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.info-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color 0.15s ease;
}
.info-item:hover { border-color: var(--accent); }
.info-item i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--cream);
    color: var(--accent-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.info-item strong {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}
.info-item span, .info-item a {
    font-size: 13.5px;
    color: var(--muted);
}
.info-item a:hover { color: var(--accent-deep); }

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .btn-nav-cta,
    .nav-wa-link,
    .nav-actions .d-md-inline-flex,
    .nav-actions .d-none.d-md-inline-flex,
    .nav-actions .d-lg-inline-flex,
    .nav-actions .d-none.d-lg-inline-flex,
    .nav-actions .d-xl-inline-flex,
    .nav-actions .d-none.d-xl-inline-flex { display: none !important; }
    .nav-inner { height: 72px; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hero { padding: 40px 0 32px; }
    .hero-visual { max-width: 480px; margin: 0 auto; }
    .float-card { display: none; } /* avoid overflow / clutter on tablet */
    .mock-window { transform: none; }

    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; gap: 32px; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
    .process-steps::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-grid, .detail-grid { grid-template-columns: 1fr; gap: 28px; }
    .mission-grid { grid-template-columns: 1fr; }
    .value-row { grid-template-columns: 56px 1fr; gap: 14px; padding: 22px 4px; }
    .value-index { font-size: 1.5rem; }
    .float-card.a { left: 0; }
    .float-card.b { right: 0; }
}

@media (max-width: 575.98px) {
    .container { width: min(100% - 28px, var(--container)); }
    .section { padding: 52px 0; }
    .card-grid { grid-template-columns: 1fr; }
    .stats-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
    .process-steps { grid-template-columns: 1fr; gap: 18px; max-width: 400px; margin-inline: auto; }
    .process-head { margin-bottom: 32px; }
    .stat-box { padding: 20px 12px; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-band { padding: 32px 22px; }
    .form-row { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .mock-body { grid-template-columns: 1fr; }
    .mock-side { display: none; }
    .nav-actions .d-none.d-sm-inline-flex { display: none !important; }
    .brand-text small { display: none; }
}

/* ---------- Galeri screenshot (1 gambar besar + thumbnail) ---------- */
.gallery {
    margin-bottom: 26px;
}

.gallery-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(17, 17, 17, 0.03);
    cursor: zoom-in;
}

/* Tinggi dibatasi supaya gambar tinggi tidak mendorong konten ke bawah */
.gallery-stage img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 58vh;
    border-radius: 8px;
}

.gallery-count {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: rgba(17, 17, 17, 0.68);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    pointer-events: none;
}

.gallery-strip {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding-bottom: 6px;
    overflow-x: auto;
}

.gallery-thumb {
    flex: 0 0 auto;
    width: 84px;
    height: 60px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(17, 17, 17, 0.05);
    opacity: 0.72;
    cursor: pointer;
    transition: opacity 0.15s ease, border-color 0.15s ease;
}

.gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb:hover {
    opacity: 1;
}

.gallery-thumb.is-active {
    border-color: var(--accent);
    opacity: 1;
}

/* ---------- Lightbox (lihat gambar penuh) ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    /* di atas header (1000) dan menu mobile (1100) */
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(12, 12, 12, 0.92);
}

.lightbox.is-open {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 86vh;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 13px;
    opacity: 0.85;
}

/* ---------- Utilitas layout halaman publik ---------- */
.card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.center-row {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.btn-stack {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.btn-stack .btn {
    width: 100%;
}
