/* ============================================
   KENTARA - Modern Design System (orange / logo)
   ============================================ */

:root {
    /* Orange palette — lebih soft, tidak terlalu pekat */
    --p-50:  #fffaf5;
    --p-100: #fff1e0;
    --p-200: #ffe4cc;
    --p-300: #ffd4a8;
    --p-400: #ffc182;
    --p-500: #fb923c;
    --p-600: #f97316;
    --p-700: #ea580c;
    --p-800: #c2410c;
    --p-900: #9a3412;

    --primary:       #fb923c;
    --primary-dark:  #f97316;
    --primary-light: #fdba74;
    --accent:        #ea580c;
    --accent-soft:   #fff1e0;

    --bg-body:  #fffdfb;
    --bg-white: #ffffff;
    --bg-soft:  #fffaf5;

    --text-1: #111827;
    --text-2: #374151;
    --text-3: #6b7280;
    --text-4: #9ca3af;

    --border: #e5e7eb;
    --border-focus: #fb923c;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.03);
    --shadow:    0 4px 16px rgba(0,0,0,.07);
    --shadow-md: 0 8px 24px rgba(0,0,0,.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,.10);
    --shadow-brand: 0 8px 24px rgba(251, 146, 60, 0.16);

    --footer-bg: #0f1117;

    /* Gradien — lebih banyak peach/cream, ujung gelap tidak sepekat sebelumnya */
    --gradient-hero: linear-gradient(145deg, #ea580c 0%, #fb923c 35%, #fdba74 100%);
    --gradient-page: linear-gradient(135deg, #f97316 0%, #fb923c 42%, #fdba74 100%);
    --gradient-cta: linear-gradient(135deg, #ea580c 0%, #fb923c 45%, #f97316 100%);

    --radius-sm: 8px;
    --radius:    12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --transition: .25s cubic-bezier(.4,0,.2,1);
    --font: 'Inter', 'Poppins', system-ui, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
    font-family: var(--font);
    color: var(--text-2);
    background: var(--bg-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width:100%; display:block; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
button { cursor:pointer; font-family:inherit; }

/* ---- Container ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
@media (max-width:576px) { .container { padding:0 16px; } }

/* ============================================
   NAVBAR
   ============================================ */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229,231,235,.6);
    transition: box-shadow var(--transition);
}
.main-header.scrolled {
    box-shadow: var(--shadow);
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-img {
    height: 44px;
    width: auto;
    max-width: min(220px, 42vw);
    display: block;
    object-fit: contain;
    object-position: left center;
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.logo-text h1 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-1);
    line-height: 1.2;
}
.logo-text .tagline {
    font-size: 11px;
    color: var(--text-3);
    display: block;
}

/* Nav Links */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}
.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.main-nav .nav-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-nav .nav-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
.main-nav a:hover { color: var(--primary-dark); background: var(--p-50); }
.main-nav a.active { color: var(--primary-dark); background: var(--accent-soft); font-weight: 600; }

/* Nav CTA */
.nav-cta {
    flex-shrink: 0;
}
.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-nav:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-brand); }

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    gap: 5px;
    flex-shrink: 0;
}
.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text-2);
    border-radius: 2px;
    transition: all var(--transition);
    display: block;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
}
.nav-overlay.active { opacity: 1; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); box-shadow: var(--shadow-brand); }

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }

.btn-white {
    background: #fff;
    color: var(--primary-dark);
    border-color: #fff;
}
.btn-white:hover { background: var(--p-50); box-shadow: var(--shadow-md); }

.btn-ghost {
    background: var(--p-50);
    color: var(--primary-dark);
    border-color: var(--p-100);
}
.btn-ghost:hover { background: var(--p-100); }

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 15px 36px; font-size: 16px; }

/* ============================================
   PAGE HERO / BANNER
   ============================================ */
.page-hero {
    background: var(--gradient-page);
    color: #fff;
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    opacity: .75;
    margin-bottom: 14px;
}
.page-hero-breadcrumb a { color: inherit; }
.page-hero-breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.page-hero-breadcrumb span { opacity: .5; }
.page-hero h1 {
    font-size: clamp(26px, 5vw, 40px);
    font-weight: 800;
    letter-spacing: -.5px;
    margin-bottom: 10px;
}
.page-hero p {
    font-size: 16px;
    opacity: .85;
    max-width: 520px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-white); }
.section-green { background: var(--p-50); }

.section-head {
    text-align: center;
    margin-bottom: 48px;
}
.section-head .label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: var(--accent-soft);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}
.section-head h2 {
    font-size: clamp(22px, 4vw, 34px);
    font-weight: 800;
    color: var(--text-1);
    letter-spacing: -.5px;
    margin-bottom: 10px;
}
.section-head p {
    font-size: 16px;
    color: var(--text-3);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   CARDS
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.card-grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--p-200);
}
.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.card-img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--p-100), var(--p-200));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}
.card-body { padding: 22px; }
.card-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 8px;
    line-height: 1.4;
}
.card-body p {
    font-size: 14px;
    color: var(--text-3);
    line-height: 1.65;
}
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    border-top: 1px solid var(--border);
    gap: 12px;
}
.card-date {
    font-size: 12px;
    color: var(--text-4);
    display: flex;
    align-items: center;
    gap: 5px;
}
.card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition);
}
.card-link:hover { gap: 8px; }

/* Program Card */
.program-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.program-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}
.program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--p-200);
}
.program-card:hover::before { transform: scaleX(1); }
.program-icon-wrap {
    width: 60px;
    height: 60px;
    background: var(--p-50);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 18px;
    transition: background var(--transition);
}
.program-card:hover .program-icon-wrap { background: var(--accent-soft); }
.program-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 8px;
}
.program-card p {
    font-size: 14px;
    color: var(--text-3);
    line-height: 1.65;
}

/* ============================================
   HERO (Homepage)
   ============================================ */
.hero {
    background: var(--gradient-hero);
    color: #fff;
    padding: 96px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 560px;
    display: flex;
    align-items: center;
}
.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .3;
    pointer-events: none;
}
.hero-shape-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; right: -100px; }
.hero-shape-2 { width: 400px; height: 400px; background: var(--p-400); bottom: -150px; left: -100px; }
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 640px; }
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}
.hero h1 {
    font-size: clamp(32px, 6vw, 54px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.8px;
    margin-bottom: 18px;
}
.hero:not(.hero-kentara) h1 span { color: var(--p-300); }
.hero p {
    font-size: 17px;
    opacity: .85;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Stats Bar */
.stats-bar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-item h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -.5px;
    line-height: 1;
    margin-bottom: 4px;
}
.stat-item p {
    font-size: 13px;
    color: var(--text-3);
    font-weight: 500;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    columns: 4;
    column-gap: 16px;
}
.gallery-item {
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.gallery-item img {
    width: 100%;
    display: block;
    transition: transform .4s ease;
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption { color: #fff; }
.gallery-caption h4 { font-size: 13px; font-weight: 600; }
.gallery-caption p { font-size: 12px; opacity: .8; margin-top: 2px; }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 40px; height: 40px;
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    font-size: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ============================================
   CONTACT
   ============================================ */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}
.contact-info-wrap h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 8px;
}
.contact-info-wrap > p {
    font-size: 14px;
    color: var(--text-3);
    margin-bottom: 28px;
    line-height: 1.65;
}
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    transition: box-shadow var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-sm); }
.contact-card-icon {
    width: 42px; height: 42px;
    background: var(--accent-soft);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    flex-shrink: 0;
}
.contact-card-text strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 2px;
}
.contact-card-text span {
    font-size: 14px;
    color: var(--text-3);
}
.social-row {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}
.social-btn {
    width: 40px; height: 40px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-3);
    transition: all var(--transition);
}
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }

/* Contact Form */
.contact-form-wrap {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-1);
    background: var(--bg-body);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.18);
    background: var(--bg-white);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
    width: 100%;
    padding: 13px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: background var(--transition);
}
.form-submit:hover { background: var(--primary-dark); }

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
}
.alert-success { background: var(--p-50); color: var(--p-800); border-color: var(--p-200); }
.alert-error   { background:#fef2f2; color:#b91c1c; border-color:#fecaca; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gradient-cta);
    color: #fff;
    padding: 72px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 800; margin-bottom: 12px; letter-spacing: -.5px; }
.cta-section p { font-size: 16px; opacity: .85; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: var(--footer-bg);
    color: rgba(255,255,255,.78);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-text h1 { color: #fff; font-size: 18px; }
.footer-brand .logo-text .tagline { color: rgba(255,255,255,.5); }
.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin: 16px 0 20px;
    color: rgba(255,255,255,.6);
}
.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.9);
    margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.footer-col ul a:hover { color: var(--p-300); }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: rgba(255,255,255,.6);
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--p-400); }
.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    color: rgba(255,255,255,.4);
    flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--p-300); }

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px; height: 44px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--transition);
    box-shadow: var(--shadow-brand);
    z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    border: 1.5px solid var(--border);
    color: var(--text-2);
    background: var(--bg-white);
    transition: all var(--transition);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary-dark); }
.pagination span.current { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.pagination .pg-prev, .pagination .pg-next { width: auto; padding: 0 16px; gap: 6px; font-size: 13px; }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-3);
}
.empty-state svg { width: 72px; height: 72px; margin: 0 auto 16px; opacity: .25; }
.empty-state h3 { font-size: 18px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.empty-state p { font-size: 14px; }

/* ============================================
   BADGE
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}
.badge-green   { background: var(--p-100); color: var(--p-800); }
.badge-yellow  { background: #fef9c3; color: #854d0e; }
.badge-red     { background: #fee2e2; color: #991b1b; }
.badge-blue    { background: #dbeafe; color: #1e40af; }
.badge-success { background: var(--p-100); color: var(--p-800); }
.badge-warning { background: #fef9c3; color: #854d0e; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-info    { background: #dbeafe; color: #1e40af; }

/* ============================================
   TABS
   ============================================ */
.tabs {
    display: flex;
    gap: 4px;
    background: var(--p-50);
    padding: 5px;
    border-radius: var(--radius);
    margin-bottom: 36px;
    overflow-x: auto;
    flex-wrap: wrap;
}
.tab-btn {
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-3);
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
}
.tab-btn:hover { color: var(--primary-dark); }
.tab-btn.active { background: var(--bg-white); color: var(--primary-dark); box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    position: relative;
    padding-left: 40px;
    max-width: 700px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--p-200);
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: -33px;
    top: 6px;
    width: 16px; height: 16px;
    background: var(--primary);
    border: 3px solid var(--bg-white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--p-300);
}
.timeline-year {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-dark);
    background: var(--accent-soft);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 8px;
}
.timeline-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 4px;
}
.timeline-item p {
    font-size: 14px;
    color: var(--text-3);
    line-height: 1.65;
}

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #f3f4f6;
}

/* Sidebar */
.admin-sidebar {
    width: 240px;
    background: var(--p-900);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}
.admin-sidebar-logo {
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-sidebar-logo .logo-icon { width: 34px; height: 34px; font-size: 17px; border-radius: var(--radius-sm); }
.admin-sidebar-logo span {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
.admin-nav { padding: 14px 12px; flex: 1; }
.admin-nav-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
    padding: 12px 8px 6px;
}
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: rgba(255,255,255,.6);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    margin-bottom: 2px;
}
.admin-nav a svg { flex-shrink: 0; opacity: .7; }
.admin-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-nav a:hover svg { opacity: 1; }
.admin-nav a.active { background: var(--primary); color: #fff; }
.admin-nav a.active svg { opacity: 1; }
.admin-nav-divider {
    height: 1px;
    background: rgba(255,255,255,.06);
    margin: 12px 0;
}

/* Admin Content */
.admin-content {
    margin-left: 240px;
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Admin Top Bar */
.admin-topbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 0 28px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}
.admin-topbar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-1);
}
.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.admin-user-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--p-50);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
}
.admin-logout-btn {
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.admin-logout-btn:hover { background: #fee2e2; }

/* Admin Main */
.admin-main { padding: 24px 28px; flex: 1; }

/* Admin Stats */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}
.admin-stat-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: box-shadow var(--transition);
}
.admin-stat-card:hover { box-shadow: var(--shadow-sm); }
.admin-stat-card .stat-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}
.admin-stat-card h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-1);
    letter-spacing: -.5px;
    line-height: 1;
    margin-bottom: 4px;
}
.admin-stat-card p {
    font-size: 12px;
    color: var(--text-3);
    font-weight: 500;
}

/* Admin Table */
.admin-table-wrap {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}
.admin-table-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.admin-table-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-1);
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-3);
    background: #f9fafb;
    border-bottom: 1px solid var(--border);
}
.admin-table td {
    padding: 14px 16px;
    font-size: 14px;
    color: var(--text-2);
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--p-50); }
.admin-table img {
    width: 72px; height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.table-actions { display: flex; gap: 6px; }
.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-2);
    font-size: 14px;
    transition: all var(--transition);
    text-decoration: none;
    cursor: pointer;
}
.btn-action:hover { border-color: transparent; }
.btn-view:hover   { background: var(--p-100); color: var(--primary-dark); border-color: var(--p-200); }
.btn-edit:hover   { background: #fef9c3; color: #854d0e; border-color: #fde68a; }
.btn-delete:hover { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }

/* Admin Form Card */
.admin-form-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    max-width: 800px;
}
.admin-form-card h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

/* Admin Login */
.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--p-900), var(--p-700));
    padding: 20px;
}
.admin-login-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}
.admin-login-card .login-logo {
    text-align: center;
    margin-bottom: 28px;
}
.admin-login-card .login-logo .logo-icon {
    width: 56px; height: 56px;
    font-size: 26px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.admin-login-card .login-logo h1 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-1);
    margin-bottom: 4px;
}
.admin-login-card .login-logo p {
    font-size: 14px;
    color: var(--text-3);
}

/* ============================================
   HELPERS
   ============================================ */
.text-center { text-align: center; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-3 { gap: 12px; }
.divider { height: 1px; background: var(--border); margin: 32px 0; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .gallery-grid { columns: 3; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-split { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
    .gallery-grid { columns: 3; }
    .admin-sidebar { transform: translateX(-100%); transition: transform var(--transition); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-content { margin-left: 0; }
    .admin-topbar { padding: 0 16px; }
    .admin-main { padding: 16px; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 0; right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--bg-white);
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        z-index: 999;
        padding: 20px;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    .main-nav.active { right: 0; }
    .main-nav ul {
        flex-direction: column;
        gap: 4px;
        margin-top: 60px;
    }
    .main-nav a { padding: 12px 16px; font-size: 15px; }
    .nav-cta { display: none; }
    .hero { padding: 64px 0 56px; min-height: unset; }
    .hero h1 { font-size: 30px; }
    .hero p { font-size: 15px; }
    .section { padding: 52px 0; }
    .section-head { margin-bottom: 36px; }
    .gallery-grid { columns: 2; }
    .card-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    .tabs { gap: 2px; }
    .tab-btn { padding: 8px 14px; font-size: 13px; }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 26px; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { columns: 1; }
    .admin-stats { grid-template-columns: 1fr 1fr; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; max-width: 280px; }
    .page-hero { padding: 48px 0 40px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}
