:root {
    --primary: #f59e0b;
    /* Amber/Gold */
    --primary-hover: #d97706;
    --secondary: #0f172a;
    /* Slate 900 */
    --bg-color: #f8fafc;
    /* Slate 50 */
    --surface: #ffffff;
    --text-main: #1e293b;
    /* Slate 800 */
    --text-muted: #64748b;
    /* Slate 500 */
    --border-color: #e2e8f0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* ============================================================
   REFERENCE-MATCHED HERO — PENERBIT TERA
   ============================================================ */
:root {
    --ink: #003f42;
    --teal: #005457;
    --gold: #d09a43;
    --paper: #fbfaf6;
}

body {
    background: var(--paper);
    font-family: 'DM Sans', sans-serif;
    color: var(--ink);
}

.container {
    max-width: 1380px;
}

.site-nav {
    top: 0;
    padding: 0 5.5vw;
    background: rgba(251, 250, 246, .92);
    backdrop-filter: blur(10px);
}

.nav-pill,
.site-nav.is-scrolled .nav-pill {
    max-width: 1510px;
    height: 126px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    gap: 48px;
}

.nav-logo {
    margin-right: auto;
}

.nav-logo img,
.site-nav.is-scrolled .nav-logo img {
    width: 184px;
    height: auto;
}

.nav-links {
    flex: 0 1 auto;
    justify-content: center;
    gap: 36px;
}

.nav-item>span,
a.nav-item {
    padding: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
}

.nav-item span:not(.chev) {
    padding-bottom: 13px;
}

.nav-item span:not(.chev)::after {
    height: 3px;
    background: var(--gold);
}

.nav-links .nav-item:first-child span::after {
    transform: scaleX(1);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    min-width: 265px;
    padding: 18px 25px;
    border-radius: 12px;
    background: linear-gradient(135deg, #075b5d, #003f42);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(0, 63, 66, .12);
}

.nav-cta span {
    font-size: 27px;
    font-weight: 400;
    line-height: 1;
}

.hero {
    min-height: 940px;
    padding: 126px 0 0;
    overflow: hidden;
    background: radial-gradient(circle at 48% 55%, #fff 0, #fbfaf6 53%, #f7f5ef 100%);
    align-items: stretch;
}

.hero-content {
    width: 100%;
    max-width: 1600px;
    min-height: 814px;
    margin: 0 auto;
    padding: 56px 5.5vw 0;
    display: grid;
    grid-template-columns: 46% 54%;
    gap: 0;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 4;
    padding-bottom: 42px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 38px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.hero-eyebrow span {
    width: 34px;
    height: 2px;
    background: var(--gold);
}

.hero-text h1 {
    margin: 0 0 28px;
    color: var(--ink);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(58px, 5.25vw, 84px);
    line-height: 1.12;
    letter-spacing: -.035em;
    font-weight: 500;
}

.hero-text h1 .title-dot {
    color: var(--gold);
}

.hero-description {
    max-width: 620px !important;
    margin: 0 0 36px !important;
    color: #57738a !important;
    font-size: 19px !important;
    line-height: 1.65 !important;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0 0 30px;
}

.btn {
    border-radius: 10px;
}

.btn-large {
    padding: 17px 30px;
}

.btn-primary {
    gap: 31px;
    background: linear-gradient(135deg, #075b5d, #003f42);
    box-shadow: 0 12px 28px rgba(0, 63, 66, .12);
}

.btn-primary:hover {
    background: #003f42;
}

.btn-primary span {
    font-size: 24px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
}

.text-link span {
    font-size: 28px;
    transition: transform .25s;
}

.text-link:hover span {
    transform: translateX(5px)
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 !important;
    color: #627c91 !important;
    font-size: 14px !important;
}

.hero-note span {
    width: 34px;
    height: 1px;
    background: #668196;
}

.hero-visual {
    position: relative;
    align-self: stretch;
    min-width: 0;
}

.hero-oval {
    position: absolute;
    width: 75%;
    height: 89%;
    left: 12%;
    top: 0;
    border-radius: 50%;
    background: linear-gradient(145deg, #e8e6d9, #dfe3d5);
}

.hero-person {
    position: absolute;
    z-index: 2;
    width: 93%;
    height: auto;
    left: -9%;
    bottom: -12%;
    object-fit: contain;
    filter: drop-shadow(0 15px 18px rgba(45, 54, 42, .1));
}

.trust-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 306px;
    min-height: 128px;
    padding: 19px 20px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 17px;
    background: rgba(255, 255, 255, .91);
    box-shadow: 0 13px 36px rgba(34, 55, 56, .08);
    backdrop-filter: blur(9px);
}

.trust-card strong {
    display: block;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.35;
}

.trust-card p {
    margin: 8px 0 0;
    color: #5d7890;
    font-size: 15px;
    line-height: 1.45;
}

.trust-icon {
    position: relative;
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #d8a34d, #b77a25);
    font-size: 38px;
    box-shadow: 0 7px 14px rgba(113, 80, 30, .18);
}

.trust-icon small {
    position: absolute;
    right: -3px;
    bottom: 11px;
    padding: 3px 4px;
    border-radius: 3px;
    background: #005457;
    font-size: 8px;
}

.trust-icon.books {
    color: #005457;
    font-size: 36px;
    background: #e6d4ad;
    transform: rotate(-5deg);
}

.trust-icon.building {
    font-size: 42px;
}

.trust-icon.building::after {
    content: '✓';
    position: absolute;
    right: -3px;
    bottom: 0;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #005457;
    font-size: 15px;
}

.card-isbn {
    top: 86px;
    right: -3%;
}

.card-fast {
    top: 300px;
    right: -7%;
}

.card-verified {
    top: 492px;
    right: -6%;
}

.confetti {
    position: absolute;
    z-index: 1;
    display: block;
    border-radius: 80% 20% 70% 30%;
    transform: rotate(40deg);
}

.confetti-one {
    width: 34px;
    height: 64px;
    left: 9%;
    top: 51px;
    background: #ce9840;
}

.confetti-two {
    width: 24px;
    height: 44px;
    right: -5%;
    top: 250px;
    background: #cc9641;
}

.confetti-three {
    width: 18px;
    height: 18px;
    right: 1%;
    top: 464px;
    background: #005457;
    border-radius: 50%;
}

.confetti-four {
    width: 32px;
    height: 54px;
    right: 13%;
    bottom: 54px;
    background: #005457;
}

@media(max-width:1100px) {
    .nav-links {
        gap: 22px
    }

    .nav-cta {
        min-width: auto
    }

    .hero {
        min-height: auto
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding-top: 80px
    }

    .hero-text {
        text-align: center
    }

    .hero-eyebrow,
    .hero-actions,
    .hero-note {
        justify-content: center
    }

    .hero-description {
        margin-left: auto !important;
        margin-right: auto !important
    }

    .hero-visual {
        min-height: 720px;
        max-width: 760px;
        width: 100%;
        margin: auto
    }

    .hero-person {
        left: 0;
        width: 88%
    }

    .card-isbn {
        right: 0
    }

    .card-fast {
        right: 0
    }

    .card-verified {
        right: 0
    }
}

@media(max-width:800px) {
    .site-nav {
        padding: 12px 18px
    }

    .nav-pill,
    .site-nav.is-scrolled .nav-pill {
        height: 66px;
        padding: 4px 8px 4px 12px;
        background: #fff;
        border-radius: 999px;
        box-shadow: 0 8px 24px rgba(15, 71, 73, .1)
    }

    .nav-logo img,
    .site-nav.is-scrolled .nav-logo img {
        width: 132px
    }

    .nav-links,
    .nav-cta {
        display: none
    }

    .nav-burger {
        display: flex
    }

    .hero {
        padding-top: 90px
    }

    .hero-content {
        padding: 38px 20px 0
    }

    .hero-text h1 {
        font-size: clamp(44px, 12vw, 62px)
    }

    .hero-eyebrow {
        font-size: 11px;
        letter-spacing: .16em
    }

    .hero-description {
        font-size: 17px !important
    }

    .hero-actions {
        flex-direction: column
    }

    .hero-note {
        font-size: 12px !important
    }

    .hero-visual {
        min-height: 630px;
        margin-top: 15px
    }

    .hero-oval {
        width: 90%;
        height: 76%;
        left: 5%;
        top: 45px
    }

    .hero-person {
        width: 108%;
        left: -18%;
        bottom: -2%
    }

    .trust-card {
        width: 220px;
        min-height: 90px;
        padding: 12px;
        gap: 10px
    }

    .trust-card strong {
        font-size: 13px
    }

    .trust-card p {
        font-size: 11px;
        margin-top: 4px
    }

    .trust-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        font-size: 26px
    }

    .card-isbn {
        top: 70px;
        right: -10px
    }

    .card-fast {
        top: 195px;
        right: -10px
    }

    .card-verified {
        top: 320px;
        right: -10px
    }

    .mobile-cta {
        margin-top: 16px;
        padding: 16px 20px !important;
        border: 0 !important;
        border-radius: 10px;
        background: var(--teal);
        color: #fff !important
    }
}

@media(max-width:480px) {
    .hero-visual {
        min-height: 520px
    }

    .hero-person {
        width: 125%;
        left: -34%
    }

    .trust-card {
        right: -14px
    }

    .card-isbn {
        top: 55px
    }

    .card-fast {
        top: 165px
    }

    .card-verified {
        top: 275px
    }

    .confetti {
        display: none
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--secondary);
    line-height: 1.2;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--secondary);
}

.btn-outline:hover {
    border-color: var(--secondary);
    background-color: var(--secondary);
    color: white;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(to bottom, #ffffff, var(--bg-color));
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: 56px;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-text h1 span {
    color: var(--primary);
}

.hero-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.stats {
    display: flex;
    gap: 48px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.stat-item h3 {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* Hero Image & Mockup */
.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-effect {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.book-mockup {
    width: 280px;
    height: 400px;
    background: #fff;
    border-radius: 8px 16px 16px 8px;
    box-shadow:
        -5px 0 15px rgba(0, 0, 0, 0.05),
        20px 20px 40px rgba(0, 0, 0, 0.15),
        inset 4px 0 10px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
    transform: perspective(1000px) rotateY(-15deg);
    transition: var(--transition);
    display: flex;
    overflow: hidden;
}

.book-mockup::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 15px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
    z-index: 2;
}

.book-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
    box-shadow:
        -2px 0 10px rgba(0, 0, 0, 0.05),
        25px 25px 50px rgba(0, 0, 0, 0.2),
        inset 4px 0 10px rgba(255, 255, 255, 0.5);
}

.book-cover {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
    color: white;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.book-cover h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 16px;
    font-weight: 300;
    letter-spacing: 2px;
}

.book-cover p {
    color: var(--primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
}

/* Book Grid */
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 32px;
}

.book-card {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.book-cover-placeholder {
    height: 320px;
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.book-cover-placeholder span {
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
}

.book-info {
    padding: 24px;
}

.book-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.book-info .author {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.book-info .price {
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
}

/* Services */
.services {
    background-color: var(--surface);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.service-card {
    padding: 32px;
    border-radius: 24px;
    background: var(--bg-color);
    transition: var(--transition);
}

.service-card:hover {
    background: var(--secondary);
    color: white;
}

.service-card:hover h3,
.service-card:hover p {
    color: white;
}

.service-card .icon {
    font-size: 40px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    transition: var(--transition);
}

/* CTA Section */
.cta-section {
    padding: 100px 5.5vw;
    background: #fbfaf6;
}

.cta-container {
    position: relative;
    display: grid;
    grid-template-columns: minmax(420px, 0.88fr) minmax(500px, 1.12fr);
    align-items: center;
    max-width: 1440px;
    min-height: 610px;
    padding: 72px 0 72px 64px;
    border: 1px solid rgba(15, 71, 73, 0.14);
    border-radius: 28px;
    background: linear-gradient(110deg, #fffdf9 0%, #f7f5ef 44%, #e8eee5 100%);
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(58, 65, 51, 0.07);
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -35%;
    left: -8%;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: rgba(217, 162, 71, 0.08);
    filter: blur(20px);
}

.cta-container::after {
    content: '';
    position: absolute;
    top: -110px;
    right: 18%;
    width: 430px;
    height: 280px;
    border-radius: 50%;
    background: rgba(174, 196, 174, 0.16);
    filter: blur(12px);
}

.cta-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    padding-right: 20px;
}

.cta-content h2 {
    margin: 0 0 26px;
    color: #111917;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(44px, 4.5vw, 68px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.cta-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    padding: 0 25px;
    border-radius: 999px;
    background: #075e54;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 9px 22px rgba(7, 94, 84, 0.18);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.cta-whatsapp svg {
    width: 27px;
    height: 27px;
}

.cta-whatsapp:hover {
    background: #064e46;
    color: #fff;
    transform: translateY(-2px);
}

.cta-visual {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55%;
    overflow: hidden;
}

.cta-visual::before {
    content: '';
    position: absolute;
    z-index: 2;
    inset: 0 auto 0 0;
    width: 32%;
    background: linear-gradient(90deg, #f8f6f0 5%, rgba(248, 246, 240, 0));
    pointer-events: none;
}

.cta-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 54% center;
}

.cta-seal {
    position: absolute;
    z-index: 3;
    top: 58px;
    right: 52px;
    display: grid;
    place-items: center;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: rgba(219, 186, 126, 0.92);
    color: #2d2a22;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    line-height: 1.35;
    text-align: center;
    box-shadow: 0 8px 30px rgba(91, 67, 28, 0.12);
}

@media (max-width: 1120px) {
    .cta-container {
        grid-template-columns: 1fr;
        padding: 64px 48px 0;
    }

    .cta-content {
        max-width: 760px;
        padding: 0;
    }

    .cta-visual {
        position: relative;
        width: calc(100% + 96px);
        height: 520px;
        margin: 42px -48px 0;
    }

    .cta-visual::before {
        inset: 0 0 auto;
        width: 100%;
        height: 25%;
        background: linear-gradient(180deg, #f8f6f0, rgba(248, 246, 240, 0));
    }
}

@media (max-width: 650px) {
    .cta-section {
        padding: 64px 18px;
    }

    .cta-container {
        min-height: 0;
        padding: 42px 24px 0;
        border-radius: 22px;
    }

    .cta-content h2 {
        font-size: clamp(40px, 12vw, 55px);
    }

    .cta-content h2 br {
        display: none;
    }

    .cta-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 13px;
    }

    .cta-visual {
        width: calc(100% + 48px);
        height: 335px;
        margin: 30px -24px 0;
    }

    .cta-visual img {
        object-position: 50% center;
    }

    .cta-seal {
        top: 28px;
        right: 20px;
        width: 88px;
        height: 88px;
        font-size: 12px;
    }
}

/* Footer */
footer {
    background: var(--surface);
    padding: 80px 0 24px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 24px 0;
    max-width: 300px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
}

.footer-logo img {
    display: block;
    width: auto;
    height: 64px;
    max-width: 220px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.link-group h4 {
    font-size: 16px;
    margin-bottom: 24px;
}

.link-group a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .stats {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   BEYOND THE EDGE — NAVBAR
   Token warna & tipografi diambil langsung dari Brand Guideline
   v1.0 (Juli 2026). Heading Now sengaja TIDAK dipakai sebagai
   font sistem — lihat catatan lisensi Bagian 8 dokumen brand.
   ============================================================ */

:root {
    /* --- Brand palette --- */
    --teal: #17686B;
    --teal-deep: #0F4749;
    --gold: #D9A247;
    --gold-deep: #BE8836;
    --terracotta: #C06C52;
    --taupe: #A89A8A;
    --cream: #F3F0EE;
    --white: #FFFFFF;

    /* --- Type --- */
    --font-ui: 'Poppins', system-ui, sans-serif;
    --font-body: 'Lora', Georgia, serif;

    /* --- Nav geometry --- */
    --nav-height: 68px;
    --nav-max-width: 1180px;
    --nav-radius: 999px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    font-family: var(--font-body);
    color: var(--teal-deep);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--terracotta);
    outline-offset: 3px;
    border-radius: 6px;
}

/* =========================================================================
   [SECTION 1] STYLING NAVBAR & MOBILE MENU (FINAL - JANGAN DIUBAH LAGI)
   ========================================================================= */
.site-nav {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    background: transparent;
    backdrop-filter: none;
    pointer-events: none;
    /* re-enabled on the pill itself */
}

.nav-pill {
    pointer-events: auto;
    width: 100%;
    max-width: var(--nav-max-width);
    height: var(--nav-height);
    background: var(--white);
    border-radius: var(--nav-radius);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px 4px 20px;
    box-shadow: 0 8px 24px rgba(15, 71, 73, 0.10), 0 1px 2px rgba(15, 71, 73, 0.06);
    transition: box-shadow 0.35s ease, height 0.35s ease, background 0.35s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
    margin-right: 16px;
}

.nav-logo img {
    height: 48px;
    width: auto;
    display: block;
    transition: height 0.35s ease;
}

/* --- links, didorong ke kanan (jauh dari logo) --- */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: flex-end;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-item>span,
.nav-item-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    padding: 0 16px;
    font-family: var(--font-ui);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--taupe);
    white-space: nowrap;
    position: relative;
}

a.nav-item {
    font-family: var(--font-ui);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--taupe);
}

.nav-item-btn {
    color: var(--taupe);
}

.chev {
    color: var(--taupe);
    transition: transform 0.25s ease, color 0.2s ease;
}

/* Garis underline dilekatkan ke SPAN teks label saja
   (bukan ke seluruh kotak nav item), supaya posisinya
   selalu pas di bawah kata itu sendiri dan tidak pernah
   menabrak huruf berekor turun (g, p, y). */
.nav-item span:not(.chev),
.nav-item-btn>span:first-child {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

/* --- signature element: the "horizon line" ---
   A thin gradient rule (teal -> terracotta -> gold) that
   extends under a nav item's label on hover/focus/active,
   echoing the brand's horizon-line philosophy: a line that
   keeps moving forward the closer you get to it. */
.nav-item span:not(.chev)::after,
.nav-item-btn>span:first-child::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--teal), var(--terracotta), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);
}

a.nav-item:hover,
a.nav-item:focus-visible,
.nav-item-btn:hover,
.nav-item-btn:focus-visible,
.nav-dropdown.is-open .nav-item-btn {
    color: var(--teal-deep);
}

a.nav-item:hover span::after,
a.nav-item:focus-visible span::after,
.nav-item-btn:hover>span:first-child::after,
.nav-item-btn:focus-visible>span:first-child::after,
.nav-dropdown.is-open .nav-item-btn>span:first-child::after {
    transform: scaleX(1);
}

.nav-dropdown.is-open .chev {
    transform: rotate(180deg);
    color: var(--teal-deep);
}

/* --- dropdown panels --- */
.dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 320px;
    max-width: 360px;
    background: var(--cream);
    border-top: 2px solid var(--terracotta);
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 16px 34px rgba(15, 71, 73, 0.16);
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.dropdown-panel--right {
    left: auto;
    right: 0;
    min-width: 200px;
    max-width: 240px;
}

.nav-dropdown.is-open .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 12px;
    transition: background 0.18s ease;
}

.dropdown-link:hover,
.dropdown-link:focus-visible {
    background: rgba(23, 104, 107, 0.08);
}

.dd-title {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    color: var(--teal-deep);
}

.dd-desc {
    font-family: var(--font-ui);
    font-size: 12px;
    line-height: 1.45;
    color: var(--taupe);
}

/* ============================================================
   Mobile burger + panel
   ============================================================ */
.nav-burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    margin-left: 4px;
}

.nav-burger span {
    width: 20px;
    height: 2px;
    background: var(--teal-deep);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--cream);
    padding: calc(var(--nav-height) + 56px) 28px 40px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    overflow-y: auto;
}

.mobile-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.mobile-link,
.mobile-group-toggle {
    font-family: var(--font-ui);
    font-size: 20px;
    font-weight: 500;
    color: var(--teal-deep);
    padding: 16px 4px;
    border-bottom: 1px solid rgba(168, 154, 138, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
}

.mobile-group-toggle svg {
    transition: transform 0.25s ease;
    color: var(--taupe);
}

.mobile-group-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-submenu.is-open {
    max-height: 420px;
}

.mobile-submenu a {
    font-family: var(--font-ui);
    font-size: 16px;
    color: var(--taupe);
    padding: 12px 4px 12px 16px;
}

.mobile-submenu a:hover {
    color: var(--teal-deep);
}

/* ============================================================
   Floating WhatsApp contact button
   ============================================================ */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 19px 0 15px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(13, 92, 48, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    background: #1fbd59;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(13, 92, 48, 0.38);
}

.whatsapp-float:focus-visible {
    outline: 3px solid #0f4749;
    outline-offset: 3px;
}

.whatsapp-float__icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
}

@media (max-width: 620px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 56px;
        min-height: 56px;
        padding: 0;
        justify-content: center;
    }

    .whatsapp-float__label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        transition: none;
    }
}

/* ============================================================
   Lightweight scroll reveals
   ============================================================ */
.scroll-reveal,
.scroll-reveal-item {
    opacity: 0;
    will-change: opacity, transform;
}

.scroll-reveal {
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.22, 1, .36, 1);
}

.scroll-reveal-item {
    transform: translateY(18px) scale(.992);
    transition: opacity 0.55s ease var(--reveal-delay, 0ms),
        transform 0.55s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms);
}

.scroll-reveal.is-visible,
.scroll-reveal-item.is-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
