/* =========================================
   VARIABEL WARNA & BAYANGAN
========================================= */
:root {
    --bg: #f7f5ef;
    --ink: #17231e;
    --muted: #65716b;
    --green: #163d31;
    --green2: #225b48;
    --gold: #b89155;
    --cream: #eee9de;
    --white: #fff;
    --line: #e4dfd5;
    --shadow: 0 20px 50px rgba(20, 38, 30, .10);
}

/* =========================================
   PENGATURAN DASAR (BASE)
========================================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    background: var(--bg);
    color: var(--ink);
}

a {
    text-decoration: none;
    color: inherit;
}

.root {
    min-height: 100vh;
    background: var(--bg);
}

/* =========================================
   NAVIGASI (HEADER)
========================================= */
nav {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(251, 250, 247, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(228, 223, 213, .75);
}

.navin {
    max-width: 1180px;
    margin: auto;
    height: 76px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 24px;
    letter-spacing: 0;
    font-weight: 700;
    color: var(--green);
    flex-shrink: 0;
}

.brand small {
    display: block;
    font-family: inherit;
    font-size: 8px;
    letter-spacing: 0;
    color: var(--gold);
    margin-top: 2px;
}

.links {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: #45534d;
    align-items: center;
}

.links a:hover {
    color: var(--green);
}

.navcta {
    padding: 12px 18px;
    background: var(--green);
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.burger {
    display: none;
    width: 42px;
    height: 42px;
    padding: 12px 9px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: transparent;
    color: var(--green);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.burger span { height: 2px; width: 100%; background: currentColor; transition: transform .2s; }
.burger.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* =========================================
   BAGIAN HERO (BERANDA ATAS)
========================================= */
.hero {
    padding: 150px 24px 90px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 25%, #e9efe9 0, transparent 32%), linear-gradient(135deg, #fbfaf7, #eef3ed);
}

.hero:before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(201, 166, 107, .3);
    border-radius: 50%;
    right: -180px;
    top: 70px;
}

.hero:after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(201, 166, 107, .22);
    border-radius: 50%;
    right: -70px;
    top: 170px;
}

.heroin {
    max-width: 1180px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 800;
}

.hero h1 {
    font: 600 68px/1.02 "Playfair Display", Georgia, serif;
    margin: 18px 0 22px;
    color: var(--green);
}

.hero p {
    font-size: 18px;
    line-height: 1.75;
    color: var(--muted);
    max-width: 600px;
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 22px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
}

.primary {
    background: var(--green);
    color: #fff;
}

.secondary {
    border: 1px solid var(--line);
    background: #fff;
}

/* Ilustrasi di Hero */
.heroart {
    min-height: 500px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    background: var(--green);
    box-shadow: var(--shadow);
    isolation: isolate;
}

.heroart:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(13, 37, 30, .42));
    z-index: -1;
}

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

.badge {
    position: absolute;
    left: 26px;
    bottom: 25px;
    padding: 15px 18px;
    background: rgba(255, 255, 255, .92);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    font-size: 12px;
    font-weight: 800;
    z-index: 1;
}

.badge strong {
    display: block;
    font: 600 24px "Playfair Display", Georgia, serif;
    color: var(--green);
}

/* =========================================
   PENGATURAN SECTION UMUM
========================================= */
.section { padding: 95px 24px; }
.container { max-width: 1180px; margin: auto; }
.sectionhead { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.sectionhead .eyebrow { display: block; }

.sectionhead h2 {
    font: 600 45px/1.08 "Playfair Display", Georgia, serif;
    color: var(--green);
    margin: 12px 0;
}

.sectionhead p { color: var(--muted); line-height: 1.7; }

/* =========================================
   BAGIAN LAYANAN
========================================= */
.services { background: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    transition: .25s;
    box-shadow: 0 8px 30px rgba(30, 45, 38, .04);
    cursor: pointer;
}

.card:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

/* Pengaturan Foto Produk / Layanan */
.gambar-layanan {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
    background-color: var(--cream);
}

.card h3 {
    font: 600 23px "Playfair Display", Georgia, serif;
    margin: 0 0 10px;
    color: var(--green);
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.price {
    margin-top: 20px;
    font-weight: 900;
    color: var(--green);
}

/* =========================================
   HALAMAN DETAIL LAYANAN
========================================= */
.detail-main {
    min-height: calc(100vh - 120px);
    padding: 135px 24px 95px;
    background: linear-gradient(135deg, #fbfaf7, #eef3ed);
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--green2);
    font-size: 14px;
    font-weight: 700;
}

.back-link:hover { color: var(--gold); }

.detail-layout {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 70px;
    align-items: center;
}

.detail-visual {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 6px;
    background: var(--cream);
    box-shadow: var(--shadow);
}

.detail-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-content h1 {
    margin: 14px 0 20px;
    color: var(--green);
    font: 600 54px/1.08 "Playfair Display", Georgia, serif;
}

.detail-lead {
    max-width: 570px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.detail-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.detail-meta span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.detail-meta strong {
    color: var(--green);
    font-size: 16px;
}

.detail-info {
    margin: 0 0 28px;
    color: var(--muted);
    line-height: 1.75;
}

.detail-extra {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.detail-extra > div {
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.detail-extra h2 {
    margin: 0 0 12px;
    color: var(--green);
    font: 600 20px "Playfair Display", Georgia, serif;
}

.detail-extra p,
.detail-extra li {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.detail-extra ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding-left: 18px;
}

.detail-button { display: inline-block; }

/* (Opsional) Pengaturan Ikon Lama */
.icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: var(--cream);
    display: grid;
    place-items: center;
    font-size: 25px;
    margin-bottom: 22px;
}

/* =========================================
   BAGIAN TENTANG KAMI
========================================= */
.about { background: var(--cream); }
.aboutgrid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }

.visual {
    min-height: 430px;
    border-radius: 6px;
    background: var(--green);
    position: relative;
    overflow: hidden;
}

.visual:before {
    content: "";
    position: absolute;
    inset: 30px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 4px;
    z-index: 1;
}

.visual:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(13, 37, 30, .72));
}

.about-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.visual .quote {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    color: white;
    font: 500 26px/1.3 "Playfair Display", Georgia, serif;
    z-index: 1;
}

.about h2 {
    font: 700 48px Georgia, serif;
    color: var(--green);
    margin: 10px 0 20px;
}

.about p { color: var(--muted); line-height: 1.85; }

.ticks { display: grid; gap: 12px; margin-top: 25px; }
.tick { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 14px; }

.tick span {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--green);
    color: white;
    font-size: 12px;
}

/* =========================================
   BAGIAN CARA BOOKING (STEPS)
========================================= */
.steps { background: #fff; }
.stepgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { text-align: center; padding: 25px; }

.num {
    margin: 0 auto 18px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #fff;
    font-weight: 900;
}

.step h3 { font: 600 20px "Playfair Display", Georgia, serif; color: var(--green); }
.step p { font-size: 13px; line-height: 1.6; color: var(--muted); }

/* =========================================
   BAGIAN KONTAK (CALL TO ACTION) & FOOTER
========================================= */
.cta { padding: 85px 24px; background: var(--green); color: #fff; text-align: center; }
.cta h2 { font: 600 48px/1.1 "Playfair Display", Georgia, serif; margin: 0 0 15px; }
.cta p { opacity: .78; max-width: 620px; margin: 0 auto 28px; line-height: 1.7; }
.cta .primary { background: #fff; color: var(--green); }

footer { padding: 35px 24px; background: #0d251e; color: #b7c4bd; }
.footerin { max-width: 1180px; margin: auto; display: flex; justify-content: space-between; gap: 30px; font-size: 12px; }

/* =========================================
   TOMBOL MELAYANG & ANIMASI
========================================= */
.float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 30;
    background: #1aa866;
    color: #fff;
    border-radius: 4px;
    padding: 15px 20px;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: .7s;
}

.reveal.show {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* =========================================
   RESPONSIVE LAYOUT (TABLET & HP)
========================================= */
@media (max-width: 800px) {
    .links, .navcta { display: none; }
    .burger { display: block; }
    .heroin, .aboutgrid { grid-template-columns: 1fr; }
    .hero { padding-top: 120px; }
    .heroart { min-height: 390px; }
    .grid { grid-template-columns: 1fr; }
    .stepgrid { grid-template-columns: 1fr 1fr; }
    .detail-main { padding: 115px 20px 70px; }
    .detail-layout { grid-template-columns: 1fr; gap: 38px; }
    .detail-visual { max-width: 620px; width: 100%; margin: auto; aspect-ratio: 16 / 11; }
    .detail-content h1 { font-size: 44px; }
    .detail-extra { grid-template-columns: 1fr; gap: 18px; }
    .section { padding: 70px 20px; }
    .hero h1 { font-size: 56px; }
    .sectionhead h2, .about h2, .cta h2 { font-size: 38px; }
    .footerin { flex-direction: column; }
    .brand { font-size: 20px; }

    /* Menu HP */
    .links.mobile-open {
        display: flex;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        padding: 18px 24px;
        background: rgba(247, 245, 239, .98);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 15px 30px rgba(20, 38, 30, .08);
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .links.mobile-open a { width: 100%; padding: 4px 0; }
    .hero p { font-size: 16px; }
    .actions { margin-top: 24px; }
    .btn { padding: 14px 18px; }
}

@media (max-width: 500px) {
    .navin { height: 68px; padding: 0 16px; }
    .links.mobile-open { top: 68px; padding: 16px; }
    .stepgrid { grid-template-columns: 1fr; }
    .hero { padding: 105px 16px 60px; }
    .hero h1 { font-size: 44px; }
    .hero p { line-height: 1.65; }
    .heroart { min-height: 320px; }
    .detail-main { padding: 100px 16px 60px; }
    .detail-content h1 { font-size: 36px; }
    .detail-lead { font-size: 16px; }
    .badge { left: 16px; bottom: 16px; }
    .badge strong { font-size: 20px; }
    .section { padding: 60px 16px; }
    .sectionhead { margin-bottom: 35px; }
    .sectionhead h2, .about h2, .cta h2 { font-size: 34px; }
    .card { padding: 20px; }
    .aboutgrid { gap: 35px; }
    .visual { min-height: 330px; }
    .cta { padding: 65px 16px; }
    .float { right: 14px; bottom: 14px; padding: 13px 17px; }
    .footerin { gap: 10px; }
}