:root {
    --ink: #101828;
    --muted: #667085;
    --line: #e4e7ec;
    --brand: #0f766e;
    --brand-2: #1d4ed8;
    --accent: #f59e0b;
    --soft: #f8fafc;
}

body {
    color: var(--ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
}

.navbar {
    backdrop-filter: blur(14px);
}

.site-logo {
    height: 38px;
    object-fit: contain;
    width: 38px;
}

.footer-logo {
    height: 54px;
    object-fit: contain;
    width: 54px;
}

.current-brand-preview {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    gap: 14px;
    min-height: 82px;
    padding: 14px;
}

.hero {
    min-height: 680px;
    padding-bottom: 96px;
    padding-top: 112px;
    background:
        linear-gradient(90deg, rgba(16, 24, 40, .9), rgba(16, 24, 40, .58)),
        url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=85") center/cover;
    color: #fff;
}

.hero h1 {
    max-width: 820px;
    font-size: clamp(2.5rem, 5vw, 5.7rem);
    line-height: .95;
}

.hero p {
    max-width: 720px;
    color: rgba(255, 255, 255, .82);
}

.hero-visual {
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .45);
    overflow: hidden;
}

.hero-visual img {
    aspect-ratio: 4 / 5;
    display: block;
    object-fit: cover;
    width: 100%;
}

.section-pad {
    padding: 50px 0;
    scroll-margin-top: 96px;
}

.hero + .section-pad {
    padding-top: 50px;
}

.section-pad + .section-pad {
    border-top: 1px solid rgba(16, 24, 40, .06);
}

#layanan {
    padding-bottom: 60px;
}

#mengapa-kami {
    padding-bottom: 60px;
    padding-top: 60px;
}

#mitra {
    padding-bottom: 60px;
}

#konsultasi {
    padding-top: 60px;
}

.eyebrow {
    color: var(--brand);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.service-card,
.portfolio-card,
.admin-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.service-icon {
    align-items: center;
    background: #ecfeff;
    border-radius: 8px;
    color: var(--brand);
    display: inline-flex;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.process-step {
    border-left: 3px solid var(--brand);
    padding-left: 24px;
    position: relative;
}

.process-step::before {
    background: var(--accent);
    border-radius: 50%;
    content: "";
    height: 14px;
    left: -8px;
    position: absolute;
    top: 6px;
    width: 14px;
}

.partner-logo {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #344054;
    display: flex;
    font-weight: 700;
    min-height: 84px;
    justify-content: center;
    text-align: center;
}

.cta-band {
    background: #0f172a;
    color: #fff;
}

.footer {
    background: #07111f;
    color: rgba(255, 255, 255, .75);
}

.whatsapp-float {
    align-items: center;
    bottom: 24px;
    display: flex;
    gap: 12px;
    position: fixed;
    right: 24px;
    text-decoration: none;
    z-index: 1080;
}

.wa-message {
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(16, 24, 40, .08);
    border-radius: 2px;
    box-shadow: 0 12px 40px rgba(16, 24, 40, .18);
    color: #101828;
    font-size: .9rem;
    line-height: 1.25;
    padding: 12px 16px;
}

.wa-button {
    align-items: center;
    background: #25d366;
    border: 4px solid rgba(255, 255, 255, .82);
    border-radius: 50%;
    box-shadow: 0 12px 32px rgba(37, 211, 102, .35);
    color: #fff;
    display: inline-flex;
    font-size: 1.75rem;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.whatsapp-float:hover .wa-button {
    background: #1ebe5d;
}

.admin-shell {
    background: var(--soft);
    min-height: 100vh;
}

.admin-sidebar {
    background: #0f172a;
    min-height: 100vh;
}

.admin-sidebar a {
    border-radius: 8px;
    color: rgba(255, 255, 255, .78);
    display: block;
    padding: .75rem 1rem;
    text-decoration: none;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.table td,
.table th {
    vertical-align: middle;
}

.media-tile {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.media-thumb {
    aspect-ratio: 4 / 3;
    background: #eef2f7;
    object-fit: cover;
    width: 100%;
}

.media-picker-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    max-height: 58vh;
    overflow-y: auto;
}

.media-picker-button {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 0;
    text-align: left;
}

.media-picker-button:hover,
.media-picker-button:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .12);
}

.seo-google-preview {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
}

.seo-google-preview .seo-url {
    color: #188038;
    font-size: .85rem;
    overflow-wrap: anywhere;
}

.seo-google-preview .seo-title {
    color: #1a0dab;
    font-size: 1.25rem;
    line-height: 1.25;
    margin: 6px 0;
}

.seo-google-preview .seo-desc {
    color: #4d5156;
    font-size: .95rem;
    line-height: 1.45;
}

.seo-share-preview {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.seo-share-preview img {
    aspect-ratio: 1200 / 630;
    background: #eef2f7;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 991.98px) {
    .hero {
        min-height: auto;
        padding-bottom: 88px;
    }

    .hero-visual img {
        aspect-ratio: 16 / 9;
    }

    .admin-sidebar {
        min-height: auto;
    }

    .whatsapp-float {
        bottom: 18px;
        right: 18px;
    }

    .wa-message {
        display: none;
    }

    .section-pad,
    .hero + .section-pad,
    #layanan,
    #mengapa-kami,
    #mitra,
    #konsultasi {
        padding-bottom: 20px;
        padding-top: 20px;
    }
}

@media (max-width: 575.98px) {
    .navbar .container,
    .hero .container,
    .section-pad .container,
    .footer .container {
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero {
        width: 100%;
    }

    .hero .badge {
        line-height: 1.35;
        max-width: 100%;
        text-align: left;
        white-space: normal;
    }

    .hero h1 {
        font-size: clamp(2rem, 11vw, 3rem);
        line-height: 1.04;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .hero p {
        max-width: 100%;
    }

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

    .hero-visual {
        max-width: 100%;
        width: 100%;
    }

    .whatsapp-float {
        bottom: 14px;
        right: 14px;
    }

    .wa-button {
        font-size: 1.5rem;
        height: 52px;
        width: 52px;
    }
}
