/* ==========================================================================
   PT WINATA CMS — MODERN CORPORATE DESIGN SYSTEM
   Matches exact public frontend & admin panel mockup design
   ========================================================================== */

:root {
    /* Brand Palette */
    --brand-blue: #0066FF;
    --brand-blue-dark: #0052CC;
    --brand-blue-gradient: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    --brand-cyan: #06B6D4;
    --brand-green: #00C48C;
    --brand-green-dark: #00A374;
    --brand-emerald: #10B981;
    --brand-navy-dark: #0B192C;
    --brand-navy-footer: #0C2B5E;
    --brand-navy-surface: #071933;
    --brand-coral: #EF4444;

    /* Neutrals */
    --ink-900: #0F172A;
    --ink-800: #1E293B;
    --ink-700: #334155;
    --ink-600: #475569;
    --ink-500: #64748B;
    --ink-400: #94A3B8;
    --ink-300: #CBD5E1;
    --ink-200: #E2E8F0;
    --ink-100: #F1F5F9;
    --ink-50:  #F8FAFC;
    --white:   #FFFFFF;

    /* Surfaces */
    --surface-page: #FFFFFF;
    --surface-soft: #F8FAFC;
    --surface-card: #FFFFFF;
    --surface-border: #E2E8F0;
    --surface-border-light: #F1F5F9;

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.12);
    --shadow-blue-glow: 0 4px 20px rgba(0, 102, 255, 0.35);
    --shadow-green-glow: 0 4px 20px rgba(0, 196, 140, 0.35);

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Layout */
    --content-max: 1200px;
    --sidebar-w: 260px;
}

/* Public navigation remains visible while scrolling and shows the active section. */
.topbar {
    position: fixed;
    background: rgba(15, 23, 42, 0.78);
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.topbar.is-scrolled {
    background: rgba(15, 23, 42, 0.96);
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.22);
}

.topbar .nav-link {
    position: relative;
    padding-bottom: 8px;
}

.topbar .nav-link::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    content: '';
    background: var(--brand-cyan);
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 180ms ease, transform 180ms ease;
}

.topbar .nav-link.is-active,
.topbar .nav-link:hover {
    color: #b9f8e4;
}

.topbar .nav-link.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

html {
    scroll-behavior: smooth;
}

main section[id] {
    scroll-margin-top: 92px;
}

.dynamic-card-row {
    position: relative;
    align-items: end;
    margin-bottom: 16px;
    padding: 18px;
    border: 1px solid var(--ink-200);
    border-radius: 12px;
    background: var(--ink-50);
}

.dynamic-card-row .form-input,
.dynamic-card-row .form-textarea {
    min-height: 110px;
    height: 110px;
}

.remove-setting-card {
    grid-column: 1 / -1;
    justify-self: start;
    color: var(--brand-rose);
}

.password-settings-card {
    margin-bottom: 20px;
}

.password-form .settings-inline-grid {
    align-items: end;
}

.settings-equal-grid {
    align-items: end;
}

.settings-equal-grid > .form-group > .form-input,
.settings-equal-grid > .form-group > .form-textarea {
    min-height: 110px;
    height: 110px;
}

/* ── Modern Administrator Login ───────────────────────────── */
.login-screen {
    position: relative;
    display: flex;
    min-height: 100vh;
    overflow: hidden;
    padding: 28px;
    background: #eef5f8;
}

.login-decoration {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.login-decoration-one {
    top: -190px;
    right: -100px;
    width: 520px;
    height: 520px;
    background: rgba(0, 196, 140, 0.12);
    filter: blur(3px);
}

.login-decoration-two {
    bottom: -240px;
    left: -160px;
    width: 520px;
    height: 520px;
    border: 72px solid rgba(20, 105, 160, 0.06);
}

.login-layout {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(1180px, 100%);
    min-height: min(720px, calc(100vh - 56px));
    margin: auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(9, 52, 83, 0.14);
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
}

.login-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 54px 58px 42px;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(4, 36, 69, 0.98), rgba(8, 95, 126, 0.94)),
        radial-gradient(circle at 90% 20%, rgba(0, 196, 140, 0.8), transparent 36%);
}

.login-intro::after {
    position: absolute;
    right: -180px;
    bottom: -170px;
    width: 470px;
    height: 470px;
    border: 1px solid rgba(174, 255, 231, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(174, 255, 231, 0.04), 0 0 0 140px rgba(174, 255, 231, 0.03);
    content: '';
}

.login-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 12px;
    color: #fff;
}

.login-brand-mark,
.login-mobile-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    color: #06334e;
    background: #9ff2d6;
    box-shadow: 0 10px 24px rgba(0, 196, 140, 0.2);
    font-size: 1.2rem;
    font-weight: 900;
    overflow: hidden;
}

.login-brand strong,
.login-brand small {
    display: block;
}

.login-brand strong {
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.login-brand small {
    margin-top: 1px;
    color: #b5d8df;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.login-intro-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 50px 0 36px;
}

.login-eyebrow {
    display: inline-block;
    color: #9ff2d6;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.login-intro h1 {
    max-width: 510px;
    margin: 18px 0;
    color: #fff;
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.login-intro-content > p {
    max-width: 450px;
    color: #c9e0e8;
    font-size: 0.94rem;
    line-height: 1.75;
}

.login-benefits {
    display: grid;
    gap: 20px;
    margin-top: 38px;
}

.login-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.login-benefit-icon {
    display: grid;
    flex: 0 0 36px;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(159, 242, 214, 0.25);
    border-radius: 10px;
    color: #9ff2d6;
    background: rgba(159, 242, 214, 0.1);
}

.login-benefit strong,
.login-benefit small {
    display: block;
}

.login-benefit strong {
    margin-bottom: 2px;
    color: #fff;
    font-size: 0.82rem;
}

.login-benefit small {
    color: #a9c8d2;
    font-size: 0.75rem;
}

.login-intro-footer {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #9dbdc8;
    font-size: 0.7rem;
}

.login-intro-footer a {
    color: #9ff2d6;
    font-weight: 700;
}

.login-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 54px clamp(34px, 6vw, 78px);
    background: #fff;
}

.login-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
}

.login-mobile-mark {
    display: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.95rem;
}

.login-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ink-500);
    font-size: 0.72rem;
    font-weight: 700;
}

.login-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #12b981;
    box-shadow: 0 0 0 4px rgba(18, 185, 129, 0.12);
}

.login-heading {
    margin-bottom: 32px;
}

.login-eyebrow-dark {
    color: #0b9877;
}

.login-heading h2 {
    margin: 10px 0 8px;
    color: var(--ink-900);
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.045em;
}

.login-heading p {
    color: var(--ink-500);
    font-size: 0.88rem;
}

.login-alert {
    margin-bottom: 22px;
    border-radius: 11px;
    font-size: 0.78rem;
}

.login-form {
    display: grid;
    gap: 22px;
}

.login-field {
    display: grid;
    gap: 8px;
}

.login-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.login-label-row .form-label,
.login-field .form-label {
    color: var(--ink-800);
    font-size: 0.78rem;
    font-weight: 700;
}

.login-hint {
    color: var(--ink-400);
    font-size: 0.68rem;
}

.login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input-wrap > svg {
    position: absolute;
    left: 15px;
    z-index: 1;
    color: var(--ink-400);
    pointer-events: none;
}

.login-input-wrap .form-input {
    width: 100%;
    height: 50px;
    padding: 0 44px;
    border: 1px solid #dce5eb;
    border-radius: 11px;
    background: #fbfdfe;
    box-shadow: none;
    font-size: 0.84rem;
}

.login-input-wrap .form-input:focus {
    border-color: #42b899;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(66, 184, 153, 0.12);
}

.password-toggle-btn {
    position: absolute;
    right: 13px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    color: var(--ink-400);
}

.password-toggle-btn:hover {
    color: #0b9877;
    background: #edf9f5;
}

.login-remember {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ink-600);
    font-size: 0.76rem;
    cursor: pointer;
}

.login-remember input {
    width: 16px;
    height: 16px;
    accent-color: #079b78;
}

.login-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    margin-top: 3px;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, #078c78, #07527b);
    box-shadow: 0 11px 22px rgba(7, 118, 117, 0.2);
    font-size: 0.84rem;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-submit:hover {
    box-shadow: 0 15px 28px rgba(7, 118, 117, 0.28);
    transform: translateY(-2px);
}

.login-security {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 30px;
    color: var(--ink-400);
    font-size: 0.69rem;
    line-height: 1.55;
}

.login-security svg {
    flex: 0 0 auto;
    margin-top: 1px;
    color: #0b9877;
}

.login-copyright {
    margin-top: 28px;
    color: #c0cad1;
    font-size: 0.66rem;
    text-align: center;
}

@media (max-width: 860px) {
    .login-screen {
        padding: 16px;
    }

    .login-layout {
        min-height: calc(100vh - 32px);
        grid-template-columns: 1fr;
    }

    .login-intro {
        min-height: 340px;
        padding: 30px 32px;
    }

    .login-intro-content {
        margin: 34px 0 14px;
    }

    .login-intro h1 {
        max-width: 560px;
        font-size: 2rem;
    }

    .login-benefits {
        display: none;
    }

    .login-form-panel {
        padding: 34px 32px 38px;
    }

    .login-form-header {
        margin-bottom: 30px;
    }

    .login-mobile-mark {
        display: grid;
    }
}

@media (max-width: 480px) {
    .login-screen {
        padding: 0;
    }

    .login-layout {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
    }

    .login-intro {
        min-height: 300px;
        padding: 25px 22px 28px;
    }

    .login-intro h1 {
        font-size: 1.8rem;
    }

    .login-intro-content > p {
        font-size: 0.82rem;
    }

    .login-intro-footer {
        font-size: 0.65rem;
    }

    .login-form-panel {
        padding: 28px 22px 32px;
    }
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--ink-800);
    background-color: var(--surface-page);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

/* ── Container ────────────────────────────────────────────── */
.container {
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}
.btn-sm { padding: 6px 14px; font-size: 0.8rem; border-radius: var(--radius-sm); }
.btn-md { padding: 10px 20px; font-size: 0.875rem; border-radius: var(--radius-md); }
.btn-lg { padding: 14px 30px; font-size: 0.98rem; font-weight: 700; }

.btn-blue {
    background: #0066FF;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.35);
}
.btn-blue:hover {
    background: #0052CC;
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
    transform: translateY(-2px);
    color: #FFFFFF;
}

.btn-green {
    background: #00C48C;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 196, 140, 0.35);
}
.btn-green:hover {
    background: #00A876;
    box-shadow: 0 6px 20px rgba(0, 196, 140, 0.5);
    transform: translateY(-2px);
    color: #FFFFFF;
}

.btn-cyan {
    background: #06B6D4;
    color: #FFFFFF;
}
.btn-cyan:hover {
    background: #0891B2;
    transform: translateY(-2px);
}

.btn-danger {
    background: #EF4444;
    color: #FFFFFF;
}
.btn-danger:hover {
    background: #DC2626;
}

.btn-outline-white {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FFFFFF;
}

.btn-outline-dark {
    background: transparent;
    color: var(--ink-700);
    border: 1px solid var(--ink-200);
}
.btn-outline-dark:hover {
    background: var(--ink-50);
    border-color: var(--ink-400);
    color: var(--ink-900);
}

/* ==========================================================================
   PUBLIC FRONTEND STYLES (MATCHING MOCKUP LEFT SCREEN)
   ========================================================================== */

/* ── Topbar / Navbar ───────────────────────────────────────── */
.public-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #FFFFFF;
    border-bottom: 1px solid #F1F5F9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 24px;
}
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.02em;
}
.logo-icon-svg {
    width: 32px;
    height: 32px;
}
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
}
.nav-item-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: #475569;
    transition: color 0.15s ease;
}
.nav-item-link:hover,
.nav-item-link.active {
    color: #0066FF;
}

.nav-cta-btn {
    background: #0066FF;
    color: #FFFFFF;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.35);
    transition: all 0.2s ease;
}
.nav-cta-btn:hover {
    background: #0052CC;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 102, 255, 0.45);
    color: #FFFFFF;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    color: var(--ink-800);
}

/* ── Hero Banner ───────────────────────────────────────────── */
.hero-wrapper {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    background-color: #0F172A;
    background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(11, 25, 44, 0.88) 100%), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #FFFFFF;
    padding: 80px 0;
}
.hero-content {
    max-width: 680px;
}
.hero-main-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.hero-desc-text {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #E2E8F0;
    margin-bottom: 32px;
}
.hero-buttons-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Section Structure ─────────────────────────────────────── */
.page-section {
    padding: 70px 0;
}
.page-section-soft {
    background-color: #F8FAFC;
}
.section-heading-centered {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px auto;
}
.section-main-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.section-sub-desc {
    font-size: 0.95rem;
    color: #64748B;
    line-height: 1.7;
}

/* ── Tentang Kami (3 Feature Badges) ───────────────────────── */
.about-features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    text-align: center;
}
.about-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.feature-circle-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00C48C 0%, #06B6D4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 196, 140, 0.28);
    transition: transform 0.2s ease;
}
.about-feature-item:hover .feature-circle-icon {
    transform: translateY(-4px) scale(1.05);
}
.feature-item-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 10px;
}
.feature-item-desc {
    font-size: 0.88rem;
    color: #64748B;
    line-height: 1.6;
}

/* ── Layanan (4 Service Cards) ─────────────────────────────── */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.service-item-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.service-item-card:hover {
    border-color: #CBD5E1;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
.service-icon-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    margin-bottom: 20px;
}
.service-icon-blue {
    background: #0066FF;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}
.service-icon-teal {
    background: #00C48C;
    box-shadow: 0 4px 12px rgba(0, 196, 140, 0.3);
}
.service-icon-cyan {
    background: #06B6D4;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}
.service-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 12px;
}
.service-card-desc {
    font-size: 0.86rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}
.service-learn-more {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0066FF;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}
.service-learn-more:hover {
    gap: 8px;
}

/* ── Klien & Portofolio Carousel ───────────────────────────── */
.client-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
}
.slider-arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.slider-arrow-btn:hover {
    background: #F8FAFC;
    color: #0F172A;
    border-color: #CBD5E1;
}
.client-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    flex-grow: 1;
    max-width: 900px;
}
.client-logo-item {
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    border-radius: var(--radius-md);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    min-height: 54px;
    transition: all 0.2s ease;
}
.client-logo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    border-color: #E2E8F0;
}
.slider-dots-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
}
.slider-dot {
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background: #E2E8F0;
    cursor: pointer;
}
.slider-dot.active {
    background: #00C48C;
    width: 32px;
}

/* ── Corporate Navy Footer ─────────────────────────────────── */
.public-footer-wrap {
    background: #0C2B5E;
    color: #FFFFFF;
    padding-top: 60px;
    padding-bottom: 24px;
}
.footer-3col-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-column-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 20px;
}

/* Footer Contact Form */
.footer-form-group {
    margin-bottom: 12px;
}
.footer-form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: #FFFFFF;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}
.footer-form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.footer-form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.18);
    border-color: #06B6D4;
}
.footer-form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: #FFFFFF;
    font-size: 0.88rem;
    min-height: 70px;
    resize: vertical;
    transition: all 0.2s ease;
}
.footer-form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.footer-form-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.18);
    border-color: #06B6D4;
}
.footer-submit-btn {
    background: #00C48C;
    color: #FFFFFF;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 196, 140, 0.3);
    transition: all 0.2s ease;
}
.footer-submit-btn:hover {
    background: #00A876;
    transform: translateY(-1px);
}

/* Footer Office Info */
.footer-office-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.88rem;
    color: #CBD5E1;
    line-height: 1.6;
}
.office-company-name {
    font-size: 1rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 2px;
}
.office-detail-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #E2E8F0;
}
.footer-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #00C48C;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.88rem;
    margin-top: 14px;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(0, 196, 140, 0.3);
    transition: all 0.2s ease;
}
.footer-wa-btn:hover {
    background: #00A876;
    transform: translateY(-2px);
    color: #FFFFFF;
}

/* Footer Map Card */
.footer-map-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 190px;
    position: relative;
}
.footer-map-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #94A3B8;
}

/* ==========================================================================
   ACTIVE PUBLIC LANDING PAGE
   ========================================================================== */

:root {
    --brand-accent: #00c48c;
    --brand-accent-dark: #009f75;
    --brand-indigo: #1267b1;
    --surface-dark: #06284b;
}

body {
    overflow-x: hidden;
}

@media (min-width: 1101px) {
    html {
        font-size: 90%;
    }
}

.topbar {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 0 max(24px, calc((100vw - var(--content-max)) / 2));
    color: #fff;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.topbar .brand-title,
.topbar .nav-link {
    color: #fff;
}

.topbar .brand-subtitle {
    color: rgba(255, 255, 255, 0.72);
}

.topbar .nav-link:hover {
    color: #b9f8e4;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-indigo), #0a3d76);
    font-size: 1.1rem;
    font-weight: 900;
}

.brand-logo-wrap {
    overflow: hidden;
    padding: 0;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-icon.brand-logo-wrap--plain,
.login-brand-mark.brand-logo-wrap--plain,
.login-mobile-mark.brand-logo-wrap--plain,
.admin-sidebar .brand-icon.brand-logo-wrap--plain {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.brand-icon.brand-logo-wrap--plain {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
}

.admin-sidebar .brand-icon.brand-logo-wrap--plain {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
}

.login-brand-mark.brand-logo-wrap--plain {
    width: 64px;
    height: 64px;
}

.login-mobile-mark.brand-logo-wrap--plain {
    width: 46px;
    height: 46px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    color: var(--ink-900);
    font-size: 0.98rem;
    font-weight: 800;
}

.brand-subtitle {
    margin-top: 3px;
    color: var(--ink-500);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
}

.nav-links {
    gap: 22px;
    margin-left: auto;
    list-style: none;
}

.nav-link {
    color: var(--ink-600);
    font-size: 0.82rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--brand-indigo);
}

.nav-actions {
    gap: 10px;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-indigo), #0a4f8c);
    box-shadow: 0 8px 18px rgba(18, 103, 177, 0.22);
}

.btn-primary:hover {
    color: #fff;
    background: linear-gradient(135deg, #0e5799, #073864);
    transform: translateY(-2px);
}

.btn-outline {
    color: var(--ink-700);
    background: #fff;
    border: 1px solid var(--ink-300);
}

.btn-outline:hover {
    color: var(--brand-indigo);
    border-color: var(--brand-indigo);
    background: #f4f9fd;
}

.btn-glass {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
}

.btn-glass:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.mobile-toggle,
.nav-drawer {
    display: none;
}

.hero-section {
    position: relative;
    display: flex;
    min-height: 650px;
    align-items: center;
    overflow: hidden;
    padding: 150px max(24px, calc((100vw - var(--content-max)) / 2)) 82px;
    color: #fff;
    background:
        linear-gradient(110deg, rgba(8, 15, 25, 0.3), rgba(8, 15, 25, 0.16)),
        url('https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=2000&q=80') center / cover;
}

.hero-section::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(110deg, rgba(8, 15, 25, 0.3), rgba(8, 15, 25, 0.16)), var(--hero-image);
    background-position: center;
    background-size: cover;
    content: "";
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slides::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(8, 15, 25, 0.3), rgba(8, 15, 25, 0.16));
    content: "";
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.8s ease, transform 6s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-has-video::before {
    z-index: 1;
    background: linear-gradient(110deg, rgba(8, 15, 25, 0.55), rgba(8, 15, 25, 0.32));
}

.hero-has-video .hero-container {
    z-index: 2;
}

.hero-section::after {
    position: absolute;
    right: -120px;
    bottom: -200px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.04), 0 0 0 140px rgba(255, 255, 255, 0.03);
    content: '';
}

.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Paling Kiri / Left */
.hero-align-left {
    justify-content: flex-start;
}

.hero-align-left .hero-container {
    text-align: left;
    align-items: flex-start;
}

.hero-align-left .badge-pill {
    margin: 0;
    align-self: flex-start;
}

.hero-align-left .hero-title {
    margin: 22px 0 18px 0;
    text-align: left;
    max-width: 860px;
}

.hero-align-left .hero-subtitle {
    margin: 0 0 0 0;
    text-align: left;
    max-width: 700px;
}

.hero-align-left .hero-cta {
    justify-content: flex-start;
}

/* Tengah / Center */
.hero-align-center {
    justify-content: center;
}

.hero-align-center .hero-container {
    text-align: center;
    align-items: center;
}

.hero-align-center .badge-pill {
    margin: 0 auto;
    align-self: center;
}

.hero-align-center .hero-title {
    margin: 22px auto 18px;
    text-align: center;
    max-width: 860px;
}

.hero-align-center .hero-subtitle {
    margin: 0 auto;
    text-align: center;
    max-width: 700px;
}

.hero-align-center .hero-cta {
    justify-content: center;
}

/* Paling Kanan / Right */
.hero-align-right {
    justify-content: flex-end;
}

.hero-align-right .hero-container {
    text-align: right;
    align-items: flex-end;
}

.hero-align-right .badge-pill {
    margin: 0 0 0 auto;
    align-self: flex-end;
}

.hero-align-right .hero-title {
    margin: 22px 0 18px auto;
    text-align: right;
    max-width: 860px;
}

.hero-align-right .hero-subtitle {
    margin: 0 0 0 auto;
    text-align: right;
    max-width: 700px;
}

.hero-align-right .hero-cta {
    justify-content: flex-end;
}

.badge-pill,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.badge-pill {
    padding: 8px 14px;
    color: #b9f8e4;
    border: 1px solid rgba(185, 248, 228, 0.32);
    background: rgba(0, 196, 140, 0.14);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #54e2b2;
    box-shadow: 0 0 0 5px rgba(84, 226, 178, 0.14);
}

.hero-title {
    color: #fff;
    font-size: clamp(2.25rem, 5vw, 4.25rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.gradient-text {
    color: #fff;
}

.hero-subtitle {
    color: #d9e9f7;
    font-size: 1rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    width: 100%;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-cta-align-left {
    justify-content: flex-start !important;
}

.hero-cta-align-center {
    justify-content: center !important;
}

.hero-cta-align-right {
    justify-content: flex-end !important;
}

.metrics-section {
    padding: 34px 24px 10px;
    background: var(--surface-page);
}

.metrics-banner {
    display: grid;
    max-width: var(--content-max);
    margin: 0 auto;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
}

.metric-item {
    padding: 12px 18px;
    text-align: center;
    background: transparent;
}

.metric-number {
    color: var(--ink-900);
    font-size: 1.75rem;
    font-weight: 800;
}

.metric-label {
    margin-top: 5px;
    color: var(--ink-500);
    font-size: 0.72rem;
}

.section {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 86px 24px;
}

.section-wide {
    max-width: 1440px;
}

.section-soft {
    max-width: none;
    padding-right: max(24px, calc((100vw - var(--content-max)) / 2));
    padding-left: max(24px, calc((100vw - var(--content-max)) / 2));
    background: var(--surface-soft);
}

.section-header {
    max-width: 760px;
    margin: 0 auto 42px;
}

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

.eyebrow {
    color: var(--brand-accent-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-title {
    margin-top: 10px;
    color: var(--ink-900);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.section-desc {
    margin-top: 14px;
    color: var(--ink-500);
    font-size: 0.94rem;
    line-height: 1.75;
}

.cards-grid {
    display: grid;
    gap: 20px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card,
.contact-card,
.contact-form-card,
.workflow-step {
    border: 1px solid var(--ink-200);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.card {
    padding: 26px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.workflow-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.09);
}

.card-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 14px;
    color: #0a6c65;
    background: #dff8ef;
}

.card-title {
    color: var(--ink-900);
    font-size: 1.08rem;
    font-weight: 800;
}

.card-desc {
    margin-top: 9px;
    color: var(--ink-500);
    font-size: 0.86rem;
    line-height: 1.7;
}

.badge {
    padding: 5px 9px;
}

.badge-indigo { color: #145a9e; background: #e7f1fb; }
.badge-cyan { color: #0c7492; background: #e0f7fb; }
.badge-emerald { color: #087b5a; background: #dcf9ed; }

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.workflow-step {
    padding: 24px;
}

.step-number {
    margin-bottom: 18px;
    color: var(--brand-accent-dark);
    font-size: 1.8rem;
    font-weight: 900;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.client-item {
    display: grid;
    min-height: 64px;
    place-items: center;
    color: var(--ink-700);
    border: 1px solid var(--ink-200);
    border-radius: 12px;
    background: #fff;
    font-size: 0.95rem;
    font-weight: 800;
}

.content-image {
    width: 100%;
    height: 150px;
    margin: -2px 0 18px;
    object-fit: cover;
    border-radius: 10px;
}

.content-image-photo {
    height: 190px;
    object-fit: cover;
}

.service-cards-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.service-cards-slider > .card {
    scroll-snap-align: start;
}

.content-image-icon {
    width: 54px;
    height: 54px;
    margin: 0 0 18px;
    object-fit: contain;
}

.service-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.service-catalog-empty {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
}

.service-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--surface-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
}

.service-card-media {
    position: relative;
    height: 210px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.service-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #94a3b8;
}

.service-card-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 7px 14px;
    color: var(--ink-900);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.service-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
}

.service-card-title {
    color: var(--ink-900);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.service-card-desc {
    color: var(--ink-500);
    font-size: 0.92rem;
    line-height: 1.6;
}

.service-card-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink-700);
    font-size: 0.88rem;
    line-height: 1.45;
}

.service-card-features svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--brand-accent);
}

.service-card-cta {
    margin-top: auto;
    padding: 13px 18px;
    color: var(--brand-indigo);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    background: var(--ink-50);
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.service-card-cta:hover {
    color: #fff;
    border-color: var(--brand-indigo);
    background: var(--brand-indigo);
}

.client-logo-image {
    width: min(190px, 100%);
    height: 70px;
    object-fit: contain;
}

.admin-image-preview {
    display: block;
    width: min(360px, 100%);
    max-height: 160px;
    margin-top: 12px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--ink-200);
}

.admin-hero-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.admin-hero-preview-grid .admin-image-preview {
    width: 100%;
    height: 92px;
    margin-top: 0;
}

.admin-hero-preview-item {
    position: relative;
    min-width: 0;
}

.admin-hero-delete {
    position: absolute;
    top: 8px;
    right: 8px;
    min-height: 30px;
    padding: 5px 10px;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.28);
}

.admin-logo-preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    padding: 0;
    background: transparent;
}

.admin-form-grid,
.admin-media-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.admin-media-upload {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--ink-200);
    border-radius: 12px;
    background: var(--ink-50);
}

.admin-media-upload-title {
    color: var(--ink-900);
    font-size: 0.9rem;
    font-weight: 800;
}

.admin-media-preview {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--surface-dark);
}

.admin-media-empty {
    display: grid;
    height: 150px;
    place-items: center;
    color: var(--ink-400);
    border: 1px dashed var(--ink-300);
    border-radius: 8px;
    font-size: 0.82rem;
}

.admin-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.admin-media-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.focal-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
    margin-top: 12px;
}

.focal-col-label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink-500);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.focal-editor {
    position: relative;
    width: 100%;
    aspect-ratio: 34 / 18;
    overflow: hidden;
    border: 2px solid var(--ink-200);
    border-radius: 10px;
    background: var(--surface-dark);
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.focal-editor.is-dragging {
    cursor: grabbing;
    border-color: var(--brand-accent);
}

.focal-editor img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.focal-editor-hint {
    position: absolute;
    left: 50%;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    color: #fff;
    background: rgba(15, 23, 42, 0.72);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
    transform: translateX(-50%);
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.focal-preview-card {
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

.focal-preview-media {
    width: 100%;
    aspect-ratio: 34 / 18;
    overflow: hidden;
    background: #d9e1eb;
}

.focal-preview-media--service {
    aspect-ratio: 32 / 21;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.focal-editor-empty {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    padding: 24px;
    color: var(--ink-500);
    font-size: 0.85rem;
    text-align: center;
}

.focal-preview-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: object-position 0.1s linear;
}

.focal-preview-caption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    text-align: left;
}

.focal-preview-caption strong {
    color: var(--ink-900);
    font-size: 0.92rem;
}

.focal-preview-caption span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--ink-500);
    font-size: 0.78rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 760px) {
    .focal-layout {
        grid-template-columns: 1fr;
    }
}

.media-gallery {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 56px 36px;
}

.media-gallery-viewport {
    overflow: hidden;
}

.media-gallery-track {
    display: flex;
    margin: 0 -10px;
    transition: transform 0.55s ease;
}

.media-gallery-item {
    position: relative;
    min-width: calc(33.333333% - 20px);
    height: 180px;
    margin: 0 10px;
    overflow: hidden;
    border-radius: 4px;
    background: #d9e1eb;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

.media-gallery-caption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    background: #fff;
    text-align: left;
}

.media-gallery-caption strong {
    color: var(--ink-900);
    font-size: 0.92rem;
}

.media-gallery-caption span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--ink-500);
    font-size: 0.78rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.media-gallery-heading {
    margin: 30px auto 18px;
    text-align: center;
}

.documentation-heading {
    margin-bottom: 28px;
    text-align: center;
}

.documentation-heading h2 {
    color: var(--ink-900);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.media-gallery-heading h3 {
    color: #1234df;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    font-weight: 800;
    text-transform: uppercase;
}

.media-gallery-item > img,
.media-gallery-item > video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-gallery-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: rgba(255, 255, 255, 0.88);
    background: linear-gradient(135deg, #0b3e6d, #087f83);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.media-gallery-control {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #6b78a0;
    border: 0;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    font-size: 1.8rem;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.media-gallery-control:hover {
    color: #fff;
    background: var(--brand-indigo);
}

.media-gallery-control-prev {
    left: 0;
}

.media-gallery-control-next {
    right: 0;
}

.media-gallery-dots {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.media-gallery-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #a9bce3;
    cursor: pointer;
}

.media-gallery-dot.is-active {
    width: 9px;
    height: 9px;
    background: #123fa7;
}

.video-gallery-heading {
    margin-top: 72px;
}

.video-gallery .media-gallery-item {
    height: 210px;
    border-radius: 4px;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    padding-left: 4px;
    color: #fff;
    border: 0;
    border-radius: 999px;
    background: #09a9e5;
    font-size: 1.3rem;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.video-play-button:hover {
    background: #078bc0;
}

.video-play-button.is-playing {
    display: none;
}

.media-gallery-item[data-media-trigger] {
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.media-gallery-item[data-media-trigger]:hover,
.media-gallery-item[data-media-trigger]:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.2);
    outline: none;
}

.media-gallery-item[data-media-trigger]:focus-visible {
    box-shadow: 0 0 0 3px rgba(18, 63, 167, 0.45);
}

.media-gallery-zoom {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.media-gallery-item[data-media-trigger]:hover .media-gallery-zoom,
.media-gallery-item[data-media-trigger]:focus-visible .media-gallery-zoom {
    opacity: 1;
    transform: scale(1);
}

.media-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 24px;
}

.media-modal[hidden] {
    display: none;
}

.media-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 15, 32, 0.78);
    backdrop-filter: blur(4px);
}

.media-modal-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(880px, 100%);
    max-height: 90vh;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(8, 15, 32, 0.55);
    animation: media-modal-in 0.25s ease;
}

@keyframes media-modal-in {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.media-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #fff;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.6);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.media-modal-close:hover {
    background: var(--brand-indigo);
}

.media-modal-stage {
    display: grid;
    place-items: center;
    width: 100%;
    max-height: 68vh;
    overflow: hidden;
    background: #0b1220;
}

.media-modal-media {
    display: block;
    width: 100%;
    max-height: 68vh;
    object-fit: contain;
}

.media-modal-body {
    padding: 18px 24px 22px;
}

.media-modal-title {
    margin: 0 0 8px;
    color: var(--ink-900);
    font-size: 1.2rem;
    font-weight: 800;
}

.media-modal-description {
    margin: 0;
    color: var(--ink-500);
    font-size: 0.92rem;
    line-height: 1.6;
    white-space: pre-line;
}

body.is-modal-open {
    overflow: hidden;
}

.message-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 24px;
}

.message-modal[hidden] {
    display: none;
}

.message-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 15, 32, 0.72);
    backdrop-filter: blur(4px);
}

.message-modal-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(540px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    padding: 28px 28px 22px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(8, 15, 32, 0.5);
    animation: media-modal-in 0.25s ease;
}

.message-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--ink-500);
    border: 0;
    border-radius: 999px;
    background: var(--ink-100);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.message-modal-close:hover {
    color: #fff;
    background: var(--brand-indigo);
}

.message-modal-header {
    margin-bottom: 18px;
    padding-right: 36px;
}

.message-modal-title {
    margin: 6px 0 6px;
    color: var(--ink-900);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.message-modal-subtitle {
    margin: 0;
    color: var(--ink-500);
    font-size: 0.9rem;
    line-height: 1.5;
}

.message-modal-form .form-group {
    margin-bottom: 14px;
}

.message-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
}

.message-modal-wa {
    color: #0f766e !important;
    border-color: #86efac !important;
    background: #ecfdf5 !important;
}

.message-modal-wa:hover {
    color: #fff !important;
    background: #16a34a !important;
    border-color: #16a34a !important;
}

.message-modal-note {
    margin: 14px 0 0;
    color: var(--ink-500);
    font-size: 0.78rem;
    line-height: 1.5;
    text-align: center;
}

.service-card-cta {
    cursor: pointer;
    font: inherit;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

@media (max-width: 540px) {
    .message-modal-actions {
        grid-template-columns: 1fr;
    }
}

.portfolio-showcase {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--ink-200);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.portfolio-track {
    display: flex;
    transition: transform 0.6s ease;
}

.portfolio-slide {
    display: grid;
    min-width: 100%;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    min-height: 390px;
}

.portfolio-media {
    min-height: 390px;
    background: var(--surface-dark);
}

.portfolio-media-element,
.portfolio-media-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
}

.portfolio-media-placeholder {
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.portfolio-slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
}

.portfolio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.portfolio-date {
    color: var(--ink-400);
    font-size: 0.78rem;
}

.portfolio-slide-content .card-title {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.portfolio-slide-content .card-desc {
    font-size: 0.9rem;
}

.portfolio-client {
    margin-top: 24px;
    padding-top: 16px;
    color: var(--ink-500);
    border-top: 1px solid var(--ink-200);
    font-size: 0.8rem;
}

.portfolio-client strong {
    color: var(--ink-900);
}

.portfolio-control {
    position: absolute;
    top: 42%;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--ink-900);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
    cursor: pointer;
}

.portfolio-control:hover {
    color: #fff;
    background: var(--brand-indigo);
}

.portfolio-control-prev {
    left: 16px;
}

.portfolio-control-next {
    right: 16px;
}

.portfolio-dots {
    position: absolute;
    right: 38px;
    bottom: 22px;
    left: 38px;
    display: flex;
    justify-content: center;
    gap: 7px;
}

.portfolio-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--ink-300);
    cursor: pointer;
}

.portfolio-dot.is-active {
    width: 22px;
    background: var(--brand-accent-dark);
}

.portfolio-empty {
    padding: 56px 24px;
    color: var(--ink-500);
    text-align: center;
}

.settings-subtitle {
    margin: 24px 0 14px;
    color: var(--ink-900);
    font-size: 0.95rem;
    font-weight: 800;
}

.settings-inline-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.contact-wrap {
    display: grid;
    gap: 38px;
}

.contact-section-header {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.contact-section-header .section-title {
    margin-top: 10px;
}

.contact-section-header .section-desc {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
}

.contact-section-header .contact-note {
    justify-content: center;
}

.contact-content {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 56px;
    align-items: stretch;
}

.contact-info {
    display: grid;
    gap: 14px;
}

.contact-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    color: var(--ink-700);
    font-size: 0.78rem;
    font-weight: 700;
}

.contact-note-mark {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 999px;
    background: var(--brand-accent-dark);
    box-shadow: 0 0 0 5px rgba(0, 196, 140, 0.12);
}

.contact-card,
.contact-form-card {
    padding: 24px;
}

.contact-card {
    display: flex;
    gap: 14px;
    min-height: 132px;
    padding: 28px;
    align-items: flex-start;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    border-color: #c9d9e7;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
}

.contact-card-icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border-radius: 12px;
    color: var(--brand-indigo);
    background: #e9f3fc;
}

.contact-card-icon-location {
    background: #e9f3fc;
}

.contact-card-icon-whatsapp {
    color: #10b981;
    background: #ecfdf5;
}

.contact-card-icon-email {
    color: var(--brand-indigo);
    background: var(--badge-indigo-bg);
}

.contact-card-content {
    min-width: 0;
}

.contact-card-label {
    display: block;
    margin-bottom: 5px;
    color: var(--ink-900);
    font-size: 1rem;
    font-weight: 800;
}

.contact-card-text {
    color: var(--ink-500);
    font-size: 0.98rem;
    line-height: 1.65;
}

.contact-card-text-spaced {
    margin-bottom: 11px;
}

.contact-form-card {
    position: relative;
    overflow: hidden;
    order: -1;
    padding: 32px;
    border-color: #d8e4ee;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.contact-form-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    content: "";
    background: linear-gradient(90deg, var(--brand-indigo), var(--brand-accent-dark));
}

.contact-form-header {
    margin-bottom: 26px;
}

.contact-form-kicker {
    color: var(--brand-accent-dark);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.contact-form-title {
    margin-top: 8px;
    color: var(--ink-900);
    font-size: 1.38rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.contact-form-desc {
    max-width: 460px;
    margin-top: 7px;
    color: var(--ink-500);
    font-size: 0.86rem;
    line-height: 1.65;
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form .form-input,
.contact-form .form-textarea {
    padding: 12px 14px;
    border-color: #d5e0ea;
    background: #fbfdff;
}

.contact-submit {
    width: 100%;
    justify-content: center;
    padding: 14px;
    margin-top: 2px;
}

.form-group {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
}

.form-label {
    color: var(--ink-700);
    font-size: 0.8rem;
    font-weight: 700;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 11px 13px;
    color: var(--ink-900);
    border: 1px solid var(--ink-300);
    border-radius: 9px;
    outline: none;
    background: #fff;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--brand-indigo);
    box-shadow: 0 0 0 3px rgba(18, 103, 177, 0.12);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.footer {
    padding: 48px max(24px, calc((100vw - var(--content-max)) / 2)) 22px;
    color: #d6e5f2;
    background: var(--surface-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.85fr 0.85fr 1.7fr;
    gap: 36px;
    align-items: start;
}

.footer-brand {
    color: #fff;
    font-weight: 800;
}

.footer-socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.social-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    transition: all 0.22s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #0066FF;
    border-color: #0066FF;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.45);
}

.social-tooltip {
    position: absolute;
    bottom: calc(100% + 9px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #ffffff;
    color: #0F172A;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
}

.social-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0 5px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

.social-link:hover .social-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.footer-links {
    display: grid;
    gap: 7px;
}

.footer-links-title {
    margin-bottom: 8px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
}

.footer-link {
    color: #b5cbe0;
    font-size: 0.82rem;
    transition: color 0.15s ease;
}

.footer-link:hover {
    color: #fff;
}

.footer-map-wrap {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.footer-map-address {
    margin-bottom: 8px;
    color: #b5cbe0;
    font-size: 0.78rem;
    line-height: 1.45;
}

.footer-map {
    position: relative;
    display: block;
    width: 100%;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    overflow: hidden;
    background: #0b192c;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
    z-index: 1;
}

/* Custom styling for Leaflet controls inside footer minimap */
.footer-map .leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
    margin: 8px !important;
}

.footer-map .leaflet-control-zoom a {
    width: 24px !important;
    height: 24px !important;
    line-height: 22px !important;
    font-size: 14px !important;
    background: rgba(15, 23, 42, 0.9) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: background 0.2s, color 0.2s;
}

.footer-map .leaflet-control-zoom a:hover {
    background: #0066ff !important;
    color: #ffffff !important;
}

.footer-map .leaflet-popup-content-wrapper {
    background: #0f172a;
    color: #e2e8f0;
    font-size: 11px;
    border-radius: 6px;
    padding: 2px 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.footer-map .leaflet-popup-tip {
    background: #0f172a;
}

.footer-map-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    color: #7de4c4;
    font-size: 0.76rem;
    font-weight: 700;
    transition: color 0.15s ease;
}

.footer-map-link:hover {
    color: #a8f5dc;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding-top: 16px;
    color: #91abc1;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.75rem;
}

.alert {
    position: fixed;
    right: 24px;
    top: 88px;
    z-index: 1100;
    padding: 14px 18px;
    border-radius: 10px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
}

.alert-success {
    color: #075e46;
    background: #dff8ef;
    border: 1px solid #9de8cf;
}

.whatsapp-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.whatsapp-fab:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
    color: #ffffff;
}

.whatsapp-fab svg {
    width: 26px;
    height: 26px;
}

.whatsapp-fab .fab-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    opacity: 0;
    pointer-events: none;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}

.whatsapp-fab .fab-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #0f172a;
}

.whatsapp-fab:hover .fab-tooltip {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

@media (max-width: 900px) {
    .nav-links,
    .nav-actions > .btn {
        display: none;
    }

    .mobile-toggle {
        display: grid;
        place-items: center;
        color: var(--ink-700);
    }

    .nav-drawer {
        position: fixed;
        top: 72px;
        right: 16px;
        left: 16px;
        z-index: 999;
        padding: 20px;
        border: 1px solid var(--ink-200);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
    }

    .nav-drawer.open {
        display: grid;
        gap: 14px;
    }

    .grid-4,
    .workflow-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .topbar {
        padding: 0 16px;
    }

    .hero-section {
        padding: 78px 18px 44px;
    }

    .hero-title {
        font-size: 2.35rem;
    }

    .metrics-banner,
    .grid-2,
    .grid-3,
    .grid-4,
    .workflow-grid,
    .clients-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section,
    .section-soft {
        padding: 60px 18px;
    }

    .portfolio-slide {
        display: block;
        min-height: 0;
    }

    .media-gallery {
        padding-right: 22px;
        padding-left: 22px;
    }

    .admin-form-grid,
    .admin-media-upload-grid {
        grid-template-columns: 1fr;
    }

    .media-gallery-item {
        min-width: calc(100% - 20px);
        height: 210px;
    }

    .video-gallery .media-gallery-item {
        height: 230px;
    }

    .media-gallery-control {
        width: 34px;
        height: 34px;
    }

    .portfolio-media,
    .portfolio-media-element,
    .portfolio-media-placeholder {
        min-height: 230px;
    }

    .portfolio-slide-content {
        min-height: 260px;
        padding: 26px 22px 34px;
    }

    .portfolio-control {
        top: 26%;
    }

    .contact-form-card {
        padding: 24px 20px;
    }

    .contact-card {
        padding: 20px;
    }

    .footer {
        padding-right: 18px;
        padding-left: 18px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 16px;
}
.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 14px;
}
.social-icon-link {
    color: #CBD5E1;
    transition: color 0.15s ease;
    display: flex;
    align-items: center;
}
.social-icon-link:hover {
    color: #00C48C;
}

/* ==========================================================================
   ADMIN PANEL STYLES (MATCHING MOCKUP RIGHT SCREEN)
   ========================================================================== */

.admin-layout-root {
    display: flex;
    min-height: 100vh;
    background-color: #F8FAFC;
}

/* ── Admin Sidebar ─────────────────────────────────────────── */
.admin-sidebar-nav {
    width: var(--sidebar-w);
    background: #FFFFFF;
    border-right: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    min-height: 100vh;
}
.admin-sidebar-header {
    height: 68px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #F1F5F9;
}
.admin-brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0F172A;
}
.admin-menu-list {
    list-style: none;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}
.admin-menu-item {
    position: relative;
}
.admin-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    transition: all 0.15s ease;
}
.admin-menu-link:hover {
    background: #F1F5F9;
    color: #0F172A;
}
.admin-menu-link.active {
    background: #EFF6FF;
    color: #0066FF;
    font-weight: 700;
}
.admin-menu-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0F172A;
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.admin-sub-menu {
    list-style: none;
    padding-left: 28px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 2px;
    margin-bottom: 6px;
}
.admin-sub-menu .admin-menu-link {
    padding: 7px 12px;
    font-size: 0.84rem;
}

.admin-sidebar-bottom {
    padding: 16px;
    border-top: 1px solid #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.admin-user-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-avatar-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #0066FF;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.admin-user-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.2;
}
.admin-user-role {
    font-size: 0.72rem;
    color: #64748B;
}

/* ── Admin Main Content ────────────────────────────────────── */
.admin-main-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.admin-top-navbar {
    height: 68px;
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
}
.admin-page-breadcrumb {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0F172A;
}
.admin-top-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.admin-notif-btn {
    position: relative;
    padding: 8px;
    color: #64748B;
    border-radius: 50%;
    transition: background 0.15s ease;
}
.admin-notif-btn:hover {
    background: #F1F5F9;
    color: #0F172A;
}
.notif-badge-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EF4444;
}

.admin-body-container {
    padding: 28px 32px;
    flex-grow: 1;
    max-width: 1200px;
}

/* ── Admin Card / Section ──────────────────────────────────── */
.admin-section-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.admin-section-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Admin Form Elements */
.admin-input-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.admin-text-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: #0F172A;
    background: #FFFFFF;
    transition: border-color 0.15s ease;
}
.admin-text-input:focus {
    outline: none;
    border-color: #0066FF;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

/* WYSIWYG Editor Toolbar */
.wysiwyg-wrapper {
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #FFFFFF;
}
.wysiwyg-toolbar {
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.editor-btn {
    padding: 6px 8px;
    border-radius: 4px;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease;
}
.editor-btn:hover {
    background: #E2E8F0;
    color: #0F172A;
}
.toolbar-divider {
    width: 1px;
    height: 18px;
    background: #CBD5E1;
    margin: 0 4px;
}
.wysiwyg-editor-area {
    padding: 14px;
    min-height: 120px;
    width: 100%;
    border: none;
    resize: vertical;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #0F172A;
}
.wysiwyg-editor-area:focus {
    outline: none;
}

/* Client Chips in Admin */
.admin-clients-chips-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.client-logo-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.chip-delete-btn {
    color: #94A3B8;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 2px;
}
.chip-delete-btn:hover {
    color: #EF4444;
}
.btn-add-client-chip {
    background: #EF4444;
    color: #FFFFFF;
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
}
.btn-add-client-chip:hover {
    background: #DC2626;
}

/* Admin Data Table */
.admin-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}
.admin-data-table th {
    background: #F8FAFC;
    color: #475569;
    font-weight: 700;
    padding: 10px 14px;
    border-bottom: 1px solid #E2E8F0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.admin-data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #F1F5F9;
    color: #334155;
}
.admin-data-table tr:hover td {
    background: #F8FAFC;
}

/* ── Responsive Queries ────────────────────────────────────── */
@media (max-width: 1024px) {
    .about-features-row { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .services-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .footer-3col-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-main-title { font-size: 1.85rem; }
    .about-features-row { grid-template-columns: 1fr; }
    .services-cards-grid { grid-template-columns: 1fr; }
    .admin-sidebar-nav { display: none; }
    .admin-sidebar-nav.open { display: flex; position: fixed; z-index: 1000; height: 100vh; }
    .footer-bottom-bar { flex-direction: column; gap: 12px; text-align: center; }
}

/* ==========================================================================
   ACTIVE ADMIN PANEL
   ========================================================================== */

:root {
    --brand-rose: #e0526d;
    --brand-amber: #d89428;
    --badge-rose-bg: #fff0f2;
    --badge-amber-bg: #fff7e6;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
    color: var(--ink-800);
    background: #f5f8fc;
}

.admin-sidebar {
    position: fixed;
    z-index: 20;
    display: flex;
    width: 264px;
    height: 100vh;
    flex-direction: column;
    color: #c5d8ea;
    background: #06284b;
    box-shadow: 8px 0 24px rgba(4, 31, 59, 0.1);
}

.sidebar-header {
    display: flex;
    min-height: 78px;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar .brand {
    color: #fff;
}

.admin-sidebar .brand-title {
    color: #fff;
}

.admin-sidebar .brand-subtitle {
    color: #8eafca;
}

.admin-sidebar .brand-icon {
    color: #fff;
    background: linear-gradient(135deg, #18b89a, #147db1);
}

.sidebar-nav {
    display: grid;
    gap: 5px;
    padding: 24px 14px;
    overflow-y: auto;
}

.nav-section-title {
    margin: 8px 10px 7px;
    color: #7899b4;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 12px;
    color: #b5cde0;
    border-radius: 9px;
    font-size: 0.83rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.sidebar-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-item svg {
    color: #83a9c3;
}

.sidebar-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
}

.sidebar-item.active {
    color: #fff;
    background: linear-gradient(90deg, #087ca3, #0a658f);
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.12);
}

.sidebar-item.active svg {
    color: #7af0cf;
}

.sidebar-badge {
    display: grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    color: #fff;
    border-radius: 999px;
    background: #e0526d;
    font-size: 0.7rem;
    font-weight: 800;
}

.sidebar-footer {
    display: grid;
    gap: 16px;
    margin-top: auto;
    padding: 18px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-profile {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: #1388a6;
    font-weight: 800;
}

.user-info {
    min-width: 0;
}

.user-name,
.user-role {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-name {
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
}

.user-role {
    margin-top: 2px;
    color: #8eafca;
    font-size: 0.68rem;
}

.btn-logout {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    color: #b5cde0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
}

.btn-logout:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

.admin-main {
    display: flex;
    width: calc(100% - 264px);
    min-width: 0;
    min-height: 100vh;
    margin-left: 264px;
    flex-direction: column;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 34px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--ink-200);
    backdrop-filter: blur(12px);
}

.topbar-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-400);
    font-size: 0.78rem;
    font-weight: 600;
}

.breadcrumb-active {
    color: var(--ink-900);
    font-weight: 800;
}

.admin-topbar .mobile-toggle {
    display: none;
}

.admin-body {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 34px;
}

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.page-title {
    color: var(--ink-900);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page-subtitle {
    max-width: 680px;
    margin-top: 8px;
    color: var(--ink-500);
    font-size: 0.87rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.stat-card {
    display: flex;
    min-height: 150px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--ink-200);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.04);
}

.stat-label {
    color: var(--ink-500);
    font-size: 0.75rem;
    font-weight: 700;
}

.stat-value {
    margin-top: 10px;
    color: var(--ink-900);
    font-size: 2rem;
    font-weight: 850;
    line-height: 1;
}

.stat-icon-wrap {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 12px;
}

.admin-card {
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid var(--ink-200);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.04);
}

.admin-card-header {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 22px;
    border-bottom: 1px solid var(--ink-200);
}

.admin-card-title {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ink-900);
    font-size: 0.98rem;
    font-weight: 800;
}

.admin-card-body {
    padding: 22px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.82rem;
}

.admin-table th {
    padding: 13px 18px;
    color: var(--ink-500);
    background: #f8fafc;
    border-bottom: 1px solid var(--ink-200);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-table td {
    padding: 15px 18px;
    color: var(--ink-700);
    border-bottom: 1px solid var(--ink-100);
    vertical-align: middle;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-table tbody tr:hover td {
    background: #fbfdff;
}

.table-title {
    color: var(--ink-900);
    font-weight: 750;
}

.empty-state {
    display: grid;
    padding: 46px 20px;
    place-items: center;
    color: var(--ink-500);
    text-align: center;
}

.empty-state-icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
    place-items: center;
    color: var(--brand-indigo);
    border-radius: 50%;
    background: #eaf3fb;
}

.admin-body .alert {
    position: relative;
    top: auto;
    right: auto;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
}

.admin-body .btn-primary {
    color: #fff;
}

.admin-body .btn-outline {
    background: #fff;
}

.tabs-nav {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    padding: 5px;
    overflow-x: auto;
    border: 1px solid var(--ink-200);
    border-radius: 10px;
    background: #f8fafc;
}

.tab-btn {
    padding: 9px 15px;
    color: var(--ink-500);
    border-radius: 7px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.tab-btn.active,
.tab-btn:hover {
    color: var(--brand-indigo);
    background: #fff;
    box-shadow: 0 2px 7px rgba(15, 23, 42, 0.08);
}

.setting-tab-pane {
    margin-bottom: 20px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    color: var(--ink-900);
    border: 1px solid var(--ink-300);
    border-radius: 8px;
    background: #fff;
}

.form-input,
.form-select {
    min-height: 42px;
    padding: 9px 12px;
}

.form-textarea {
    min-height: 110px;
    padding: 11px 12px;
    resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--brand-indigo);
    outline: none;
    box-shadow: 0 0 0 3px rgba(18, 103, 177, 0.12);
}

.form-label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink-700);
    font-size: 0.78rem;
    font-weight: 750;
}

.form-helper {
    margin-top: 5px;
    color: var(--ink-500);
    font-size: 0.72rem;
}

.form-group {
    margin-bottom: 18px;
}

.badge-rose {
    color: #b42343;
    background: var(--badge-rose-bg);
}

.sidebar-overlay {
    display: none;
}

@media (max-width: 1100px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .admin-sidebar {
        display: none;
    }

    .admin-sidebar.open {
        display: flex;
        width: min(290px, 86vw);
    }

    .sidebar-overlay.open {
        position: fixed;
        z-index: 15;
        inset: 0;
        display: block;
        background: rgba(2, 20, 38, 0.52);
    }

    .admin-main {
        width: 100%;
        margin-left: 0;
    }

    .admin-topbar {
        padding: 0 18px;
    }

    .admin-topbar .mobile-toggle {
        display: grid;
        place-items: center;
    }

    .topbar-right span:last-child {
        display: none;
    }

    .admin-body {
        padding: 24px 18px;
    }

    .page-header {
        flex-direction: column;
    }

    .page-header > div:last-child {
        width: 100%;
    }

    .page-header > div:last-child .btn {
        flex: 1;
    }

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

    .admin-card-header {
        padding: 0 16px;
    }

    .admin-card-body {
        padding: 16px;
    }

    .settings-inline-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ── Final responsive alignment for public and admin screens ── */
@media (max-width: 1180px) and (min-width: 761px) {
    .topbar {
        padding-right: 24px;
        padding-left: 24px;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    .admin-sidebar {
        width: 232px;
    }

    .admin-main {
        width: calc(100% - 232px);
        margin-left: 232px;
    }

    .admin-body {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 760px) {
    html {
        font-size: 100%;
    }

    .topbar {
        min-height: 64px;
        padding: 0 16px;
    }

    .topbar .brand-title {
        font-size: 0.88rem;
    }

    .topbar .brand-subtitle {
        font-size: 0.58rem;
    }

    .topbar .brand-icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    .topbar .brand-icon.brand-logo-wrap--plain {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .nav-drawer {
        top: 72px;
        max-height: calc(100vh - 88px);
        overflow-y: auto;
    }

    .hero-container {
        width: 100%;
    }

    .hero-title {
        overflow-wrap: anywhere;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .admin-topbar {
        min-height: 64px;
        padding: 0 16px;
    }

    .breadcrumb {
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
    }

    .breadcrumb-active {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .admin-body {
        padding: 22px 14px 36px;
    }

    .page-title {
        font-size: 1.35rem;
    }

    .page-subtitle {
        font-size: 0.78rem;
    }

    .page-header > div:last-child {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .page-header > div:last-child .btn {
        flex: 1 1 140px;
    }

    .admin-card-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px;
    }

    .admin-card-header .btn {
        width: 100%;
    }

    .admin-card-body {
        padding: 16px;
    }

    .admin-card-body > div[style*="grid-template-columns"],
    .admin-card-body form > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .admin-table {
        min-width: 680px;
    }

    .table-responsive {
        margin-right: -16px;
        margin-left: -16px;
        width: calc(100% + 32px);
    }

    .settings-inline-grid {
        grid-template-columns: 1fr !important;
    }

    .tabs-nav {
        margin-right: -2px;
        margin-left: -2px;
        scrollbar-width: thin;
    }

    .admin-body .alert {
        align-items: flex-start;
        font-size: 0.78rem;
    }
}

@media (min-width: 1101px) {
    .admin-sidebar {
        width: 264px;
    }

    .sidebar-header {
        min-height: 70px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .sidebar-nav {
        gap: 2px;
        padding: 15px 12px;
    }

    .nav-section-title {
        margin-top: 6px;
        margin-bottom: 4px;
    }

    .sidebar-item {
        min-height: 39px;
        padding-right: 10px;
        padding-left: 10px;
        font-size: 0.78rem;
    }

    .sidebar-item-left {
        gap: 10px;
    }

    .sidebar-footer {
        gap: 10px;
        padding: 14px 14px;
    }

    .admin-topbar {
        min-height: 68px;
        padding-right: 30px;
        padding-left: 30px;
    }

    .admin-body {
        max-width: 1320px;
        padding: 28px 30px 42px;
    }

    .page-header {
        margin-bottom: 22px;
    }

    .stats-grid {
        gap: 14px;
        margin-bottom: 20px;
    }

    .stat-card {
        min-height: 132px;
        padding: 18px;
    }

    .admin-card {
        margin-bottom: 20px;
    }

    .admin-card-header {
        min-height: 54px;
        padding-right: 18px;
        padding-left: 18px;
    }

    .admin-card-body {
        padding: 18px;
    }

    .admin-table th,
    .admin-table td {
        padding-right: 14px;
        padding-left: 14px;
    }

    .topbar {
        min-height: 68px;
    }

    .section,
    .section-soft {
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .hero-section {
        min-height: 620px;
        padding-top: 120px;
        padding-bottom: 52px;
    }

    .metrics-banner {
        gap: 16px;
    }
}

/* Final public navigation and settings editor overrides. */
.topbar {
    position: fixed;
    background: rgba(15, 23, 42, 0.78);
}

.topbar.is-scrolled {
    background: rgba(15, 23, 42, 0.96);
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.22);
}

.topbar .nav-link {
    position: relative;
    padding-bottom: 8px;
}

.topbar .nav-link::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    content: '';
    background: var(--brand-cyan);
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 180ms ease, transform 180ms ease;
}

.topbar .nav-link.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.dynamic-card-row {
    position: relative;
    align-items: end;
    margin-bottom: 16px;
    padding: 18px;
    border: 1px solid var(--ink-200);
    border-radius: 12px;
    background: var(--ink-50);
}

.dynamic-card-row .form-input,
.dynamic-card-row .form-textarea {
    min-height: 110px;
    height: 110px;
}

.remove-setting-card {
    grid-column: 1 / -1;
    justify-self: start;
    color: var(--brand-rose);
}

.password-settings-card {
    margin-bottom: 20px;
}

.password-form .settings-inline-grid {
    align-items: end;
}

/* ============================================================
   PREMIUM MOTION LAYER — PT Winata
   Reusable animation system (transform + opacity only, GPU-friendly).
   Progressive enhancement: every rule that hides content is gated
   behind `html.js`, so the page renders fully visible when
   JavaScript is unavailable or fails. Honors prefers-reduced-motion.
   ============================================================ */

:root {
    --motion-fast: 160ms;
    --motion-base: 240ms;
    --motion-slow: 400ms;
    --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

/* --- Hero content entrance (CSS-only, staggered on first load) --- */
@keyframes winataHeroRise {
    from { opacity: 0; transform: translate3d(0, 15px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

html.js .hero-container > .badge-pill,
html.js .hero-container > .hero-title,
html.js .hero-container > .hero-subtitle,
html.js .hero-container > .hero-cta {
    opacity: 0;
    animation: winataHeroRise 520ms var(--ease-out) both;
}

html.js .hero-container > .badge-pill   { animation-delay: 60ms; }
html.js .hero-container > .hero-title    { animation-delay: 150ms; }
html.js .hero-container > .hero-subtitle { animation-delay: 250ms; }
html.js .hero-container > .hero-cta      { animation-delay: 340ms; }

/* --- Scroll reveal (JS-driven via IntersectionObserver) --- */
html.js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 13px, 0);
    transition:
        opacity var(--motion-slow) var(--ease-out),
        transform var(--motion-slow) var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

html.js [data-reveal="fade"]  { transform: none; }
html.js [data-reveal="scale"] { transform: scale(0.99); }

html.js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

/* --- Button micro-interaction (augments existing styles) --- */
.btn {
    transition:
        transform var(--motion-fast) var(--ease-out),
        box-shadow var(--motion-base) var(--ease-out),
        background-color var(--motion-base) var(--ease-out),
        border-color var(--motion-base) var(--ease-out),
        color var(--motion-base) var(--ease-out);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* --- Gentle lift for cards that did not already define one --- */
.workflow-step,
.contact-card,
.client-item,
.contact-form-card {
    transition:
        transform var(--motion-base) var(--ease-out),
        box-shadow var(--motion-base) var(--ease-out),
        border-color var(--motion-base) var(--ease-out);
}

.workflow-step:hover,
.contact-card:hover,
.client-item:hover {
    transform: translateY(-4px);
}

/* --- Message modal entrance, matching the media modal --- */
html.js .message-modal:not([hidden]) .message-modal-backdrop {
    animation: winataModalFade var(--motion-base) var(--ease-out) both;
}

html.js .message-modal:not([hidden]) .message-modal-dialog {
    animation: winataModalPop var(--motion-base) var(--ease-out) both;
}

@keyframes winataModalFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes winataModalPop {
    from { opacity: 0; transform: translateY(8px) scale(0.985); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Respect reduced-motion: disable all non-essential motion --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    html.js [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }

    html.js .hero-container > * {
        opacity: 1 !important;
        animation: none !important;
    }
}
