/* ============================================================
   RAYA PROTECH — Design System
   Tactical premium · Navy + Gold · Bilingual
   ============================================================ */

:root {
    /* Palette (dark = default) */
    --navy-950: #050811;
    --navy-900: #0A0F1E;
    --navy-850: #0D1426;
    --navy-800: #10182B;
    --navy-700: #161F37;
    --navy-600: #1C2742;
    --navy-500: #243154;
    --line: rgba(201, 162, 39, 0.16);
    --line-soft: rgba(255, 255, 255, 0.08);

    --gold: #C9A227;
    --gold-light: #E3C463;
    --gold-deep: #9B7C18;
    --gold-glow: rgba(201, 162, 39, 0.35);

    --steel: #8B95A9;
    --steel-light: #AEB6C6;
    --white: #F4F6FA;
    --white-dim: #D9DEEA;

    --ok: #4ADE80;
    --err: #F87171;

    /* Semantik — dark (default) */
    --bg: #0A0F1E;
    --bg-alt: #0D1426;
    --bg-deep: #050811;
    --card: linear-gradient(160deg, #161F37, #0D1426);
    --card-flat: #0D1426;
    --card-hover-bg: rgba(201, 162, 39, 0.04);
    --surface-input: #0A0F1E;
    --header-bg: rgba(10, 15, 30, 0.85);
    --header-bg-scrolled: rgba(5, 8, 17, 0.96);
    --drawer-bg: #0D1426;
    --overlay: rgba(2, 4, 10, 0.6);
    --text: #F4F6FA;
    --text-body: #D9DEEA;
    --text-muted: #8B95A9;
    --text-soft: #AEB6C6;
    --gold-text: #E3C463;
    --btn-outline-bg: rgba(255, 255, 255, 0.02);
    --value-card-bg: rgba(255, 255, 255, 0.015);
    --topbar-bg: #050811;
    --footer-bg: #050811;
    --thumb-bg: linear-gradient(135deg, #1C2742, #10182B);
    --quote-bg: rgba(201, 162, 39, 0.05);
    --table-head-bg: #10182B;
    --shadow-color: rgba(0, 0, 0, 0.6);

    /* Type */
    --f-head: "Barlow Condensed", "Arial Narrow", sans-serif;
    --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    /* Layout */
    --maxw: 1240px;
    --gutter: clamp(20px, 5vw, 56px);
    --radius: 4px;
    --radius-lg: 10px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    --shadow-1: 0 10px 30px -10px var(--shadow-color);
    --shadow-gold: 0 18px 50px -20px rgba(201, 162, 39, 0.45);

    color-scheme: dark;
}

/* ---------- LIGHT MODE ---------- */
html[data-theme="light"] {
    --bg: #F6F4EE;
    --bg-alt: #EFEAE0;
    --bg-deep: #ECE6D9;
    --card: linear-gradient(160deg, #FFFFFF, #F7F4EC);
    --card-flat: #FFFFFF;
    --card-hover-bg: rgba(155, 124, 24, 0.05);
    --surface-input: #FFFFFF;
    --header-bg: rgba(246, 244, 238, 0.88);
    --header-bg-scrolled: rgba(240, 235, 224, 0.97);
    --drawer-bg: #FBF9F4;
    --overlay: rgba(40, 34, 15, 0.4);
    --text: #1A2338;
    --text-body: #3B4257;
    --text-muted: #6B7285;
    --text-soft: #555E74;
    --gold-text: #8A6D12;
    --line: rgba(155, 124, 24, 0.28);
    --line-soft: rgba(26, 35, 56, 0.10);
    --btn-outline-bg: rgba(255, 255, 255, 0.55);
    --value-card-bg: #FFFFFF;
    --topbar-bg: #E9E2D2;
    --footer-bg: #E9E2D2;
    --thumb-bg: linear-gradient(135deg, #E4DCC8, #F0EAD9);
    --quote-bg: rgba(201, 162, 39, 0.08);
    --table-head-bg: #EFEAE0;
    --shadow-color: rgba(80, 65, 20, 0.18);
    --gold-glow: rgba(201, 162, 39, 0.22);

    color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    scroll-padding-top: 96px;
}
@supports (overflow: clip) {
    html { overflow-x: clip; }
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
body {
    font-family: var(--f-body);
    background: var(--bg);
    color: var(--text-body);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold-light); }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
::selection { background: var(--gold); color: var(--bg-deep); }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--line-soft); border-radius: 6px; border: 2px solid var(--bg-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); position: relative; overflow: visible; }
/* Section glow/decoration tidak boleh mencetuskan scroll mendatar */
.section > .container { position: relative; z-index: 1; }
.section.cta-band, .section.hero { overflow: hidden; }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-deep); }

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }

/* Diagonal divider */
.bevel-top { clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%); }
.bevel-both { clip-path: polygon(0 3vw, 100% 0, 100% calc(100% - 3vw), 0 100%); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--f-head);
    color: var(--text);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); text-transform: uppercase; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
h4 { font-size: 1.15rem; }
p { color: var(--text-soft); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-soft); }

/* Eyebrow label */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--f-head);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
}
.eyebrow::before {
    content: ""; width: 32px; height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow.center::after {
    content: ""; width: 32px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 18px; }

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--f-head);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 15px 30px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    transition: all .3s var(--ease);
    position: relative;
    overflow: hidden;
}
.btn svg { width: 16px; height: 16px; }
.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--bg-deep);
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover { color: var(--bg-deep); transform: translateY(-2px); box-shadow: 0 22px 60px -18px rgba(201, 162, 39, 0.6); }
.btn-outline {
    border-color: var(--line);
    color: var(--text);
    background: var(--btn-outline-bg);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); background: var(--quote-bg); }
.btn-ghost { color: var(--text-soft); padding-inline: 0; }
.btn-ghost::after { content: "→"; transition: transform .3s var(--ease); }
.btn-ghost:hover { color: var(--gold-light); }
.btn-ghost:hover::after { transform: translateX(5px); }

/* ---------- Top bar ---------- */
.topbar {
    background: var(--bg-deep);
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.82rem;
    color: var(--text-muted);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; padding-block: 9px; gap: 20px; }
.topbar-info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-info a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-info svg { width: 14px; height: 14px; color: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 12px; }
@media (max-width: 820px) {
    .topbar .container { padding-block: 7px; }
    .topbar-right { margin-left: auto; gap: 10px; }
    .topbar-reg { font-size: 0.72rem; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.topbar-reg { color: var(--text-soft); }
.topbar-reg b { color: var(--gold-text); font-weight: 600; }
.lang-switch {
    font-family: var(--f-head); font-weight: 600; letter-spacing: 0.1em;
    border: 1px solid var(--line);
    padding: 4px 11px; border-radius: var(--radius);
    color: var(--gold-light);
    text-transform: uppercase; font-size: 0.78rem;
}
.lang-switch:hover { background: var(--gold); color: var(--bg-deep); border-color: var(--gold); }

/* Toggle tema (light/dark) */
.theme-toggle {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid var(--line);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--gold-text);
    transition: all .25s var(--ease);
    background: transparent;
    cursor: pointer;
}
.theme-toggle:hover { background: var(--gold); color: var(--bg-deep); border-color: var(--gold); transform: rotate(15deg); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* Light mode: pelarasan elemen tertentu */
html[data-theme="light"] .hero-bg::after { opacity: .35; }
html[data-theme="light"] .hero-bg::before {
    background-image:
        linear-gradient(rgba(155, 124, 24, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(155, 124, 24, 0.07) 1px, transparent 1px);
}
html[data-theme="light"] .page-hero::after { opacity: .3; }
html[data-theme="light"] .map-frame iframe { filter: none; }
html[data-theme="light"] .to-top { color: #FFFFFF; }
html[data-theme="light"] .btn-gold { color: #FFFFFF; background: linear-gradient(135deg, #B08D1E, #96780F); }
html[data-theme="light"] .btn-gold:hover { color: #FFFFFF; }
html[data-theme="light"] .about-visual-badge { color: #FFFFFF; }
html[data-theme="light"] .pagination .current { color: #FFFFFF; }
html[data-theme="light"] .hero-badge { background: rgba(201, 162, 39, 0.10); }
html[data-theme="light"] .post-body code { background: #EFEAE0; color: #8A6D12; }
html[data-theme="light"] .post-body pre { background: #F1EDE2; }
html[data-theme="light"] .post-body pre code { background: none; }
html[data-theme="light"] .blog-cat { background: rgba(255,255,255,.85); }
html[data-theme="light"] .svc-num { color: rgba(26, 35, 56, 0.14); }
html[data-theme="light"] .post-meta .cat { background: rgba(201, 162, 39, 0.12); }

@media (max-width: 820px) { .topbar-info { display: none; } }

/* ---------- Header / Nav ---------- */
.header {
    position: sticky; top: 0; z-index: 100;
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
    transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.header.scrolled { background: var(--header-bg-scrolled); box-shadow: 0 6px 30px -10px var(--shadow-color); }
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 16px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-head); font-size: 1.4rem; font-weight: 700; letter-spacing: 0.04em; color: var(--text); text-transform: uppercase; }
.brand-name b { color: var(--gold); }
.brand-tag { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    font-family: var(--f-head); font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.1em;
    font-size: 0.93rem; color: var(--text-body);
    padding: 10px 14px; border-radius: var(--radius);
    position: relative;
}
.nav-links a::after {
    content: ""; position: absolute; bottom: 4px; left: 14px; right: 14px;
    height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.85rem; }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: var(--radius); position: relative; z-index: 120; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: all .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(70px, 10vw, 140px); padding-bottom: clamp(60px, 9vw, 120px); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(201,162,39,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,162,39,0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.hero-bg::after {
    content: ""; position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw;
    background: radial-gradient(circle, var(--gold-glow), transparent 65%);
    filter: blur(60px); opacity: 0.7; pointer-events: none;
}
.hero { overflow: hidden; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; }
@media (max-width: 980px) { .hero .container { grid-template-columns: 1fr; gap: 40px; } }

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    border: 1px solid var(--line); background: var(--quote-bg);
    padding: 8px 16px; border-radius: 40px;
    font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--gold-light); font-weight: 500;
    margin-bottom: 28px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,0.2); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(201,162,39,0.5);} 50%{ box-shadow: 0 0 0 8px rgba(201,162,39,0);} }

.hero h1 { margin-bottom: 26px; }
.hero h1 .line2 { color: var(--gold); display: block; }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 580px; margin-bottom: 38px; color: var(--text-soft); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-shield {
    aspect-ratio: 1; max-width: 460px; margin-inline: auto; position: relative;
}
.hero-shield svg { width: 100%; height: 100%; }
.hero-orbit {
    position: absolute; inset: 0; border: 1px dashed var(--line); border-radius: 50%;
    animation: spin 30s linear infinite;
}
.hero-orbit::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 980px) { .hero-shield { max-width: 320px; } }

/* ---------- Stats ---------- */
.stats-strip { border-block: 1px solid var(--line-soft); background: var(--bg-deep); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(28px, 4vw, 48px) 20px; text-align: center; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--f-head); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 700; color: var(--gold); line-height: 1; }
.stat-suffix { color: var(--gold-light); }
.stat-label { margin-top: 12px; font-size: 0.92rem; color: var(--text-muted); letter-spacing: 0.04em; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: none; } .stat:nth-child(1),.stat:nth-child(2) { border-bottom: 1px solid var(--line-soft); } }

/* ---------- Trust marquee ---------- */
.trust { padding-block: clamp(40px, 5vw, 64px); }
.trust-head { text-align: center; margin-bottom: 30px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 50px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-head); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-soft); font-size: 1.05rem; white-space: nowrap; }
.marquee-item svg { width: 22px; height: 22px; color: var(--gold); }
.marquee-item .sep { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: clamp(20px, 2.5vw, 30px); }
.svc-card {
    position: relative; padding: 36px 30px 32px; border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--line-soft);
    transition: all .4s var(--ease); overflow: hidden;
}
.svc-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--gold-glow), transparent 40%); opacity: 0; transition: opacity .4s var(--ease); }
.svc-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.svc-card:hover::before { opacity: 0.08; }
.svc-num { position: absolute; top: 22px; right: 26px; font-family: var(--f-head); font-size: 2.4rem; font-weight: 700; color: var(--line); line-height: 1; }
.svc-icon { width: 54px; height: 54px; margin-bottom: 22px; color: var(--gold); position: relative; z-index: 1; }
.svc-card h3 { color: var(--text); margin-bottom: 12px; position: relative; z-index: 1; }
.svc-card p { font-size: 0.95rem; position: relative; z-index: 1; }
.svc-features { margin-top: 20px; display: grid; gap: 10px; position: relative; z-index: 1; }
.svc-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-soft); }
.svc-features li::before { content: ""; flex-shrink: 0; width: 14px; height: 14px; margin-top: 5px; background: var(--gold); clip-path: polygon(0 0, 50% 0, 100% 50%, 50% 100%, 0 100%); }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(20px, 2.5vw, 30px); }
.why-item { padding: 28px 24px; border-left: 2px solid var(--line); transition: all .3s var(--ease); }
.why-item:hover { border-left-color: var(--gold); background: var(--card-hover-bg); transform: translateX(6px); }
.why-num { font-family: var(--f-head); font-size: 0.9rem; color: var(--gold); letter-spacing: 0.2em; font-weight: 600; }
.why-item h3 { margin: 12px 0 10px; font-size: 1.3rem; }
.why-item p { font-size: 0.93rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-visual { position: relative; }
.about-visual-frame { aspect-ratio: 4/5; background: var(--bg-deep); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; position: relevant; position: relative; }
.about-visual-frame::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(201,162,39,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(201,162,39,0.05) 1px, transparent 1px); background-size: 40px 40px; }
.about-visual-frame .crest { position: absolute; inset: 0; display: grid; place-items: center; }
.about-visual-frame .crest svg { width: 55%; color: var(--gold); opacity: 0.85; }
.about-visual-badge { position: absolute; bottom: -24px; right: -24px; background: var(--gold); color: var(--bg-deep); padding: 24px 28px; border-radius: var(--radius-lg); box-shadow: var(--shadow-gold); }
.about-visual-badge .num { font-family: var(--f-head); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.about-visual-badge .lbl { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-top: 4px; }
@media (max-width: 900px) { .about-visual-badge { right: 20px; } }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
@media (max-width: 720px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-card { padding: 30px; background: var(--bg-alt); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); }
.mv-card .ic { width: 36px; height: 36px; color: var(--gold); margin-bottom: 16px; }
.mv-card h3 { color: var(--gold-light); margin-bottom: 10px; font-size: 1.4rem; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.value-card { padding: 26px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--value-card-bg); transition: all .3s var(--ease); }
.value-card:hover { border-color: var(--gold); background: var(--quote-bg); }
.value-card .ic { width: 32px; height: 32px; color: var(--gold); margin-bottom: 14px; }
.value-card h4 { color: var(--text); margin-bottom: 8px; font-family: var(--f-head); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.value-card p { font-size: 0.9rem; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.team-card { text-align: center; padding: 32px 24px; background: var(--bg-alt); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); transition: all .3s var(--ease); }
.team-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.team-avatar { width: 110px; height: 110px; margin: 0 auto 18px; border-radius: 50%; background: var(--thumb-bg); border: 2px solid var(--line); display: grid; place-items: center; color: var(--gold); }
.team-avatar svg { width: 50px; height: 50px; }
.team-card h4 { font-family: var(--f-head); text-transform: uppercase; letter-spacing: 0.05em; color: var(--text); font-size: 1.05rem; }
.team-role { color: var(--gold); font-size: 0.85rem; margin: 6px 0 12px; letter-spacing: 0.05em; }
.team-bio { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { position: relative; padding-top: 20px; }
.process-step::before { counter-increment: step; content: "0" counter(step); font-family: var(--f-head); font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1; }
.process-step::after { content: ""; position: absolute; top: 30px; left: 50px; right: -24px; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.process-step:last-child::after { display: none; }
@media (max-width: 900px) { .process-step::after { display: none; } }
.process-step h4 { margin: 18px 0 8px; font-family: var(--f-head); text-transform: uppercase; font-size: 1.15rem; }
.process-step p { font-size: 0.9rem; }

/* ---------- Directory ---------- */
.dir-card { background: var(--bg-alt); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.dir-list { display: grid; gap: 18px; }
.dir-row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); align-items: center; }
.dir-row:last-child { border-bottom: none; }
.dir-row .k { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--f-head); font-weight: 600; }
.dir-row .v { color: var(--text); }
@media (max-width: 600px) { .dir-row { grid-template-columns: 1fr; gap: 4px; } }

.dept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.dept-card { padding: 26px; background: var(--value-card-bg); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); transition: all .3s var(--ease); }
.dept-card:hover { border-color: var(--gold); }
.dept-card h4 { font-family: var(--f-head); text-transform: uppercase; color: var(--text); margin-bottom: 8px; font-size: 1.1rem; }
.dept-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 14px; }
.dept-card a { color: var(--gold-light); font-size: 0.88rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(30px, 5vw, 60px); }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-list { display: grid; gap: 22px; margin-top: 30px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .ic { width: 42px; height: 42px; flex-shrink: 0; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; color: var(--gold); }
.contact-info-item .ic svg { width: 20px; height: 20px; }
.contact-info-item .k { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-family: var(--f-head); font-weight: 600; }
.contact-info-item .v { color: var(--text); margin-top: 2px; }
.contact-conf { margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-left: 3px solid var(--gold); background: var(--quote-bg); border-radius: var(--radius); }
.contact-conf .k { font-family: var(--f-head); text-transform: uppercase; color: var(--gold); font-size: 0.85rem; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 6px; }
.contact-conf .v { font-size: 0.9rem; color: var(--text-soft); }

.form-card { background: var(--bg-alt); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.82rem; color: var(--text-soft); letter-spacing: 0.04em; font-weight: 500; }
.field label .req { color: var(--gold); }
.field input, .field textarea, .field select {
    background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius);
    padding: 13px 15px; color: var(--text); transition: all .25s var(--ease); width: 100%;
    font-size: 0.95rem;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: var(--bg-deep); box-shadow: 0 0 0 3px rgba(201,162,39,0.1); }
.field textarea { min-height: 130px; resize: vertical; }
.field .hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 14px; text-align: center; }
.form-msg { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 18px; font-size: 0.92rem; }
.form-msg.ok { background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.3); color: var(--ok); }
.form-msg.err { background: rgba(248,113,113,0.08); border: 1px solid rgba(248,113,113,0.3); color: var(--err); }

.map-frame { margin-top: clamp(40px, 6vw, 70px); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(0.4) invert(0.92) hue-rotate(180deg) contrast(0.9); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.blog-card { background: var(--bg-alt); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; transition: all .35s var(--ease); display: flex; flex-direction: column; }
.blog-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: var(--shadow-1); }
.blog-thumb { aspect-ratio: 16/9; background: var(--thumb-bg); position: relative; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-thumb-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); opacity: 0.5; }
.blog-thumb-ph svg { width: 56px; height: 56px; }
.blog-cat { position: absolute; top: 14px; left: 14px; background: var(--header-bg); color: var(--gold); padding: 5px 12px; border-radius: 40px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--f-head); font-weight: 600; border: 1px solid var(--line); }
.blog-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 12px; letter-spacing: 0.03em; }
.blog-meta .sep { margin-inline: 8px; color: var(--gold); }
.blog-card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--text); line-height: 1.2; }
.blog-card h3 a:hover { color: var(--gold-light); }
.blog-card .excerpt { font-size: 0.9rem; color: var(--text-soft); flex: 1; }
.blog-card .read { margin-top: 18px; }

.blog-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }

/* Blog post */
.post-hero { padding-top: clamp(50px, 7vw, 90px); padding-bottom: clamp(30px, 4vw, 50px); }
.post-hero .container { max-width: 820px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; color: var(--text-muted); font-size: 0.88rem; margin-bottom: 22px; }
.post-meta .sep { color: var(--gold); }
.post-meta .cat { background: var(--quote-bg); color: var(--gold-light); padding: 4px 12px; border-radius: 40px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--f-head); font-weight: 600; border: 1px solid var(--line); }
.post-body { font-size: 1.05rem; line-height: 1.8; color: var(--text-body); }
.post-body h1, .post-body h2, .post-body h3 { margin-top: 1.6em; margin-bottom: 0.5em; }
.post-body h2 { font-size: 1.8rem; }
.post-body h3 { font-size: 1.4rem; }
.post-body p { margin-bottom: 1.2em; }
.post-body ul, .post-body ol { margin: 0 0 1.2em 1.4em; }
.post-body ul li, .post-body ol li { margin-bottom: 0.5em; }
.post-body ul li { list-style: none; position: relative; padding-left: 22px; }
.post-body ul li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; background: var(--gold); clip-path: polygon(0 0, 50% 0, 100% 50%, 50% 100%, 0 100%); }
.post-body ol li { list-style: decimal; }
.post-body blockquote { border-left: 3px solid var(--gold); padding: 10px 22px; margin: 1.4em 0; background: var(--quote-bg); font-style: italic; color: var(--text); }
.post-body img { border-radius: var(--radius-lg); margin: 1.5em 0; border: 1px solid var(--line-soft); }
.post-body code { background: var(--bg-deep); padding: 2px 8px; border-radius: 4px; font-size: 0.9em; color: var(--gold-light); }
.post-body pre { background: var(--bg-deep); padding: 18px; border-radius: var(--radius); overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line-soft); }
.post-body pre code { background: none; padding: 0; }
.post-body a { color: var(--gold-light); text-decoration: underline; text-decoration-color: var(--gold-deep); }
.post-body hr { border: none; border-top: 1px solid var(--line-soft); margin: 2em 0; }
.post-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.post-body th, .post-body td { border: 1px solid var(--line-soft); padding: 10px 14px; text-align: left; }
.post-body th { background: var(--table-head-bg); color: var(--gold-light); font-family: var(--f-head); text-transform: uppercase; font-size: 0.9rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; z-index: 1; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 100%, var(--gold-glow), transparent 70%); }
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { max-width: 640px; margin: 0 auto 30px; }

/* ---------- Privacy ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 0.6em; color: var(--text); }
.prose h3 { font-size: 1.2rem; margin: 1.6em 0 0.5em; color: var(--gold-light); }
.prose p { margin-bottom: 1em; color: var(--text-soft); }
.prose ul { margin: 0 0 1em 1.2em; }
.prose ul li { list-style: disc; margin-bottom: 0.4em; }
.prose .updated { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 2em; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); border-top: 1px solid var(--line-soft); padding-top: clamp(50px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-soft); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); max-width: 320px; }
.footer-col h4 { font-family: var(--f-head); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.95rem; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col ul a { font-size: 0.9rem; color: var(--text-soft); }
.footer-col ul a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 10px; font-size: 0.88rem; color: var(--text-soft); margin-bottom: 12px; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-block: 24px; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom .reg { font-size: 0.78rem; color: var(--text-muted); }
.footer-bottom .reg b { color: var(--gold-light); }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; overflow: hidden; padding-top: clamp(60px, 8vw, 110px); padding-bottom: clamp(40px, 5vw, 70px); border-bottom: 1px solid var(--line-soft); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(201,162,39,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(201,162,39,0.03) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 100% at 20% 0%, #000 30%, transparent 80%); }
.page-hero::after { content: ""; position: absolute; top: -30%; left: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, var(--gold-glow), transparent 65%); filter: blur(80px); opacity: 0.5; }
.page-hero .container { position: relative; z-index: 1; max-width: 880px; }
.page-hero h1 { margin: 16px 0 18px; }
.page-hero p { font-size: 1.1rem; max-width: 680px; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-family: var(--f-head); font-size: clamp(6rem, 18vw, 12rem); font-weight: 700; color: var(--gold); line-height: 1; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; bottom: 24px; right: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--bg-deep); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); z-index: 90; box-shadow: var(--shadow-gold); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-light); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 50px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-soft); border-radius: var(--radius); font-family: var(--f-head); font-weight: 600; color: var(--text-soft); padding: 0 12px; }
.pagination a:hover { border-color: var(--gold); color: var(--gold-light); }
.pagination .current { background: var(--gold); color: var(--bg-deep); border-color: var(--gold); }

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-body { background: var(--bg); }
.admin-header { background: var(--bg-deep); border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; z-index: 50; }
.admin-header .container { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
.admin-header .brand-name { font-size: 1.1rem; }
.admin-header .brand-tag { display: none; }
.admin-nav { display: flex; align-items: center; gap: 6px; }
.admin-nav a { font-family: var(--f-head); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; color: var(--text-soft); padding: 9px 14px; border-radius: var(--radius); }
.admin-nav a:hover, .admin-nav a.active { color: var(--gold-light); background: var(--quote-bg); }
.admin-actions { display: flex; gap: 10px; align-items: center; }
.admin-actions .btn { padding: 9px 18px; font-size: 0.8rem; }

.admin-main { padding-block: clamp(30px, 4vw, 50px); }
.admin-main .container { max-width: 1100px; }

.admin-login-wrap { min-height: 80vh; display: grid; place-items: center; padding: 40px 20px; }
.admin-login-card { width: 100%; max-width: 400px; background: var(--bg-alt); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 40px; }
.admin-login-card .brand { justify-content: center; margin-bottom: 24px; }
.admin-login-card h1 { font-size: 1.6rem; text-align: center; margin-bottom: 6px; }
.admin-login-card .sub { text-align: center; color: var(--text-muted); font-size: 0.88rem; margin-bottom: 26px; }
.admin-login-card .field { margin-bottom: 18px; }
.admin-login-card .btn { width: 100%; justify-content: center; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.admin-table th { font-family: var(--f-head); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; color: var(--gold); }
.admin-table td { font-size: 0.92rem; color: var(--text-body); }
.admin-table tr:hover td { background: var(--value-card-bg); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 40px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--f-head); font-weight: 600; }
.badge.pub { background: rgba(74,222,128,0.12); color: var(--ok); border: 1px solid rgba(74,222,128,0.3); }
.badge.draft { background: rgba(251,191,36,0.12); color: #FBBF24; border: 1px solid rgba(251,191,36,0.3); }
.admin-act-btns { display: flex; gap: 8px; }
.admin-act-btns a, .admin-act-btns button { padding: 6px 12px; border-radius: var(--radius); font-size: 0.8rem; border: 1px solid var(--line-soft); color: var(--text-soft); font-family: var(--f-head); text-transform: uppercase; letter-spacing: 0.05em; }
.admin-act-btns a:hover { border-color: var(--gold); color: var(--gold-light); }
.admin-act-btns .del { color: var(--err); border-color: rgba(248,113,113,0.3); }
.admin-act-btns .del:hover { background: rgba(248,113,113,0.1); }

.editor-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .editor-wrap { grid-template-columns: 1fr; } }
.editor-toolbar { display: flex; gap: 4px; flex-wrap: wrap; padding: 8px; background: var(--bg-deep); border: 1px solid var(--line-soft); border-bottom: none; border-radius: var(--radius) var(--radius) 0 0; }
.editor-toolbar button { width: 34px; height: 32px; border-radius: 4px; color: var(--text-soft); font-family: var(--f-head); font-weight: 600; font-size: 0.95rem; }
.editor-toolbar button:hover { background: var(--bg-deep); color: var(--gold-text); }
.editor-textarea { border-radius: 0 0 var(--radius) var(--radius); font-family: "JetBrains Mono", "Consolas", monospace; font-size: 0.92rem; line-height: 1.7; min-height: 380px; }
.editor-preview { background: var(--bg-alt); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; min-height: 380px; overflow-y: auto; max-height: 600px; }

.admin-flash { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 24px; font-size: 0.92rem; }
.admin-flash.ok { background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.3); color: var(--ok); }
.admin-flash.err { background: rgba(248,113,113,0.08); border: 1px solid rgba(248,113,113,0.3); color: var(--err); }

.upload-box { border: 2px dashed var(--line-soft); border-radius: var(--radius); padding: 20px; text-align: center; transition: all .3s var(--ease); }
.upload-box:hover { border-color: var(--gold); }
.upload-box label { cursor: pointer; color: var(--gold-light); font-family: var(--f-head); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.88rem; }
.upload-box input[type=file] { display: none; }
.upload-preview { margin-top: 14px; }
.upload-preview img { max-height: 160px; border-radius: var(--radius); border: 1px solid var(--line-soft); }
.image-pick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.image-pick img { width: 80px; height: 60px; object-fit: cover; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: border-color .2s; }
.image-pick img.selected { border-color: var(--gold); }


/* ---------- Mobile drawer ---------- */
.nav-drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(340px, 88vw);
    background: var(--drawer-bg);
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 60px -20px var(--shadow-color);
    z-index: 200;
    display: flex; flex-direction: column;
    transform: translateX(105%);
    transition: transform .4s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: env(safe-area-inset-top);
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 22px 14px;
    border-bottom: 1px solid var(--line-soft);
}
.nav-drawer-close {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--text); font-size: 1rem;
    display: grid; place-items: center;
    transition: all .25s var(--ease);
}
.nav-drawer-close:hover { background: var(--gold); color: var(--bg-deep); border-color: var(--gold); }
.nav-drawer-links { flex: 1; padding: 10px 14px; }
.nav-drawer-links a {
    display: flex; align-items: center; justify-content: space-between;
    font-family: var(--f-head); text-transform: uppercase; letter-spacing: .08em;
    font-size: 1.02rem; color: var(--text-body);
    padding: 14px 12px;
    border-bottom: 1px solid var(--line-soft);
    border-radius: var(--radius);
    transition: all .2s var(--ease);
}
.nav-drawer-links a::after { content: "→"; opacity: 0; transition: opacity .2s; font-size: .85rem; }
.nav-drawer-links a:hover, .nav-drawer-links a.active { color: var(--gold-text); padding-left: 18px; }
.nav-drawer-links a:hover::after, .nav-drawer-links a.active::after { opacity: 1; }
.nav-drawer-foot { padding: 18px 22px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-soft); }
.nav-drawer-foot .btn { width: 100%; justify-content: center; }
.nav-drawer-meta { margin-top: 14px; display: grid; gap: 6px; text-align: center; }
.nav-drawer-meta a { font-size: .85rem; color: var(--text-muted); }

.nav-overlay {
    position: fixed; inset: 0; z-index: 150;
    background: var(--overlay);
    opacity: 0; visibility: visible;
    transition: opacity .35s var(--ease);
}
.nav-overlay.show { opacity: 1; }
.nav-overlay[hidden] { display: none; }

body.nav-locked { overflow: hidden; }

/* ---------- Geometri dekoratif ---------- */

/* 1. Grid blueprint halus */
.geo-grid {
    position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.geo-grid::before {
    content: ""; position: absolute; inset: -2px;
    background-image:
        linear-gradient(var(--geo-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--geo-line) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 75% 65% at 60% 25%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 60% 25%, #000 20%, transparent 78%);
}
:root { --geo-line: rgba(201, 162, 39, 0.05); }
html[data-theme="light"] { --geo-line: rgba(155, 124, 24, 0.08); }

/* 2. Corak heksagon teknikal (SVG data-URI) */
.geo-hex {
    position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
    background-image: url("data:image/svg+xml,%3Csvg width='56' height='98' viewBox='0 0 56 98' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 0 56 16.2v32.4L28 64.8 0 48.6V16.2z' fill='none' stroke='%23C9A227' stroke-opacity='.06' stroke-width='1'/%3E%3Cpath d='M28 64.8 56 81v32.4L28 129.6 0 113.4V81z' fill='none' stroke='%23C9A227' stroke-opacity='.06' stroke-width='1' transform='translate(0 -65)'/%3E%3C/svg%3E");
    background-size: 56px 98px;
    mask-image: linear-gradient(160deg, #000 0%, transparent 65%);
    -webkit-mask-image: linear-gradient(160deg, #000 0%, transparent 65%);
}

/* 3. Penjari sudut taktikal (corner brackets) */
.geo-brackets { position: relative; }
.geo-brackets::before, .geo-brackets::after {
    content: ""; position: absolute; width: 26px; height: 26px;
    border: 2px solid var(--gold); opacity: .55; pointer-events: none;
    transition: all .3s var(--ease);
}
.geo-brackets::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.geo-brackets::after { bottom: 10px; right: 10px; border-left: none; border-top: none; }
.geo-brackets:hover::before, .geo-brackets:hover::after { width: 34px; height: 34px; opacity: 1; }

/* 4. Jalur hazard (segitiga berulang) */
.geo-hazard {
    height: 6px;
    background: repeating-linear-gradient(
        -45deg,
        var(--gold) 0 12px,
        transparent 12px 24px
    );
    opacity: .5;
}

/* 5. Panel "console" dengan scanline halus */
.geo-console {
    position: relative; overflow: hidden;
}
.geo-console::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,.015) 0 1px, transparent 1px 3px);
}

/* 6. Titik-titik matriks */
.geo-dots {
    position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(var(--geo-line) 1px, transparent 1.6px);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse 60% 60% at 30% 70%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 30% 70%, #000 20%, transparent 75%);
}

/* 7. Nombor besar hias (section watermark) */
.geo-watermark {
    position: absolute; right: -10px; bottom: -30px;
    font-family: var(--f-head); font-weight: 700;
    font-size: clamp(120px, 22vw, 300px); line-height: 1;
    color: var(--text); opacity: .03;
    pointer-events: none; user-select: none;
}

/* ---------- Kad produk (futuristik) ---------- */
.product-card {
    position: relative; padding: 34px 28px; border-radius: var(--radius-lg);
    background: var(--card); border: 1px solid var(--line-soft);
    transition: all .4s var(--ease); overflow: hidden;
}
.product-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0; transition: opacity .4s;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.product-card:hover::before { opacity: 1; }
.product-card .product-num {
    position: absolute; top: 20px; right: 24px;
    font-family: var(--f-head); font-size: 2rem; font-weight: 700;
    color: var(--text); opacity: .07;
}
.product-icon {
    width: 58px; height: 58px; margin-bottom: 20px; color: var(--gold);
    position: relative; z-index: 1;
}
.product-card h3 { position: relative; z-index: 1; margin-bottom: 10px; }
.product-card p { font-size: .93rem; position: relative; z-index: 1; }
.product-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; position: relative; z-index: 1; }
.product-tag {
    font-family: var(--f-head); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
    border: 1px solid var(--line); border-radius: 40px; padding: 4px 11px;
    color: var(--gold-text); background: var(--quote-bg);
}

/* ---------- Media (gambar & video) ---------- */
.media-frame {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--line-soft);
    background: var(--thumb-bg);
}
.media-frame img { width: 100%; display: block; transition: transform .6s var(--ease); }
.media-frame:hover img { transform: scale(1.04); }
.media-caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 14px 18px;
    background: linear-gradient(transparent, rgba(5,8,17,.85));
    color: #F4F6FA; font-size: .85rem;
    display: flex; align-items: center; gap: 8px;
}
html[data-theme="light"] .media-caption { background: linear-gradient(transparent, rgba(26,35,56,.82)); color: #fff; }
.video-frame { position: relative; padding-top: 56.25%; }
.video-frame iframe {
    position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }

/* ---------- Solutions ---------- */
.sol-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 42px; }
.sol-tab {
    font-family: var(--f-head); text-transform: uppercase; letter-spacing: .1em;
    font-size: .92rem; font-weight: 600;
    padding: 11px 20px; border: 1px solid var(--line-soft); border-radius: var(--radius);
    color: var(--text-soft); background: transparent;
    display: inline-flex; align-items: center; gap: 9px;
    transition: all .25s var(--ease); cursor: pointer;
}
.sol-tab svg { width: 16px; height: 16px; }
.sol-tab:hover { border-color: var(--gold); color: var(--gold-text); }
.sol-tab.active { background: var(--gold); border-color: var(--gold); color: var(--bg-deep); }
.sol-panel { display: none; }
.sol-panel.active { display: block; animation: fadeIn .45s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.sol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.sol-card {
    padding: 30px 26px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
    background: var(--card); transition: all .35s var(--ease); position: relative; overflow: hidden;
}
.sol-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-1); }
.sol-card .sol-icon { width: 44px; height: 44px; color: var(--gold); margin-bottom: 16px; }
.sol-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.sol-card p { font-size: .92rem; }
.sol-card .sol-features { margin-top: 16px; display: grid; gap: 8px; }
.sol-card .sol-features li { font-size: .87rem; color: var(--text-soft); display: flex; gap: 9px; align-items: flex-start; }
.sol-card .sol-features li::before {
    content: ""; flex-shrink: 0; width: 12px; height: 12px; margin-top: 5px;
    background: var(--gold); clip-path: polygon(0 0, 50% 0, 100% 50%, 50% 100%, 0 100%);
}

/* ---------- WhatsApp float ---------- */
.wa-float {
    position: fixed; bottom: 22px; left: 22px; z-index: 90;
    width: 52px; height: 52px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .55);
    transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Reading time & post meta chip ---------- */
.read-time {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .78rem; color: var(--text-muted);
}
.read-time svg { width: 13px; height: 13px; }
/* ---------- Mobile refinements ---------- */
@media (max-width: 600px) {
    :root { --gutter: 18px; }
    body { font-size: 15.5px; }
    h1 { font-size: clamp(2.1rem, 9vw, 3rem); letter-spacing: 0; }
    h2 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
    .section { padding-block: clamp(48px, 10vw, 72px); }
    .hero { padding-top: 48px; padding-bottom: 48px; }
    .hero-cta { gap: 12px; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .hero-orbit { display: none; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat { padding: 22px 12px; }
    .stat-num { font-size: 2.2rem; }
    .stat-label { font-size: 0.8rem; }
    .svc-card { padding: 28px 22px 26px; }
    .form-card { padding: 22px 18px; }
    .team-avatar { width: 88px; height: 88px; }
    .mv-grid { gap: 14px; margin-top: 28px; }
    .mv-card { padding: 22px; }
    .footer-bottom { justify-content: center; text-align: center; }
    .to-top { bottom: 16px; right: 16px; width: 42px; height: 42px; }
    .post-body { font-size: 1rem; }
    .map-frame iframe { height: 260px; }
    /* Newsletter/marquee lebih perlahan di mobile */
    .marquee-track { animation-duration: 45s; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
