/* ==========================================================================
   Theme Nabila - Cahaya Ilahi Umroh / PT Nabila Cahaya Ilahi
   ========================================================================== */

:root {
    --green: #125042;
    --green-dark: #0d3d32;
    --green-soft: #e8f0ed;
    --gold: #e6b35a;
    --gold-btn: #c9962f;
    --white: #ffffff;
    --text-dark: #125042;
    --text: #33423e;
    --muted: #6b7c77;
    --line: #e3e9e6;
    --bg-inner: #f4f7f5;
    --radius-lg: 28px;
    --radius-md: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { min-height: 100%; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    background: #dfe6ec;
    position: relative;
    overflow-x: hidden;
}

/* Blurred page background (desktop, beranda). URL gambar di-set di layout. */
body.is-home::before {
    content: "";
    position: fixed;
    inset: -40px;
    background-position: center 20%;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(28px) brightness(1.15) saturate(.8);
    opacity: .55;
    z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============ WRAPPER ============ */
.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
}

.hero {
    position: relative;
    width: 100%;
    max-width: 1380px;
    min-height: 860px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--green);
    box-shadow: 0 30px 60px -20px rgba(13, 61, 50, .35);
    padding: 46px 60px 72px;
    display: flex;
    flex-direction: column;
    isolation: isolate;
}

/* Right side image */
.hero-visual {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 50%;
    z-index: -2;
}
.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transform: scale(1.04);
}

/* Green S-curve panel (desktop) */
.wave-desktop {
    position: absolute;
    top: 0; left: 0;
    width: 66%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
.wave-mobile { display: none; }

/* ============ TOP BAR ============ */
.topbar {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px;
}
.brand-logo { height: 66px; width: auto; flex-shrink: 0; }
.brand-divider { width: 1px; align-self: stretch; margin: 6px 0; background: rgba(255, 255, 255, .28); }
.brand-name {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: .5px;
    line-height: 1.05;
}
.brand-sub {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--gold);
    line-height: 1.3;
}

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 8px 8px 30px;
    background: rgba(13, 61, 50, .72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45);
}
.nav a { position: relative; padding: 6px 0; transition: color .2s; }
.nav a:hover { color: var(--gold); }
.nav a.active { color: var(--gold); }
.nav a.active::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: var(--gold);
}
.nav .btn-contact {
    padding: 11px 22px;
    color: var(--white);
    background: linear-gradient(180deg, #d4a23d, var(--gold-btn));
    border-radius: 10px;
    transition: filter .2s;
}
.nav .btn-contact:hover {
    color: var(--white);
    filter: brightness(1.08);
}

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    place-items: center;
    color: var(--gold);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ============ HERO CONTENT ============ */
.hero-content {
    max-width: 46%;
    margin-top: 72px;
}
.tagline {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 2.5px;
    color: var(--gold);
    text-transform: uppercase;
}
.title {
    margin-top: 18px;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.12;
}
.title span { color: var(--gold); display: block; }
.desc {
    margin-top: 22px;
    max-width: 430px;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 500;
}

/* ============ PAKET POPULER ============ */
.populer {
    max-width: 46%;
    margin-top: 40px;
}
.populer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.populer-head h2 { font-size: 20px; font-weight: 700; }
.btn-circle {
    width: 32px; height: 32px;
    display: grid;
    place-items: center;
    border: 2px solid var(--white);
    border-radius: 50%;
    transition: background .2s, color .2s;
}
.btn-circle:hover { background: var(--white); color: var(--green); }
.btn-circle svg { width: 16px; height: 16px; }

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.card {
    background: #f7f9f8;
    border-radius: var(--radius-md) var(--radius-md) 6px 6px;
    padding: 7px 7px 14px;
    color: var(--text-dark);
    box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .35);
    transition: transform .25s, box-shadow .25s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px -12px rgba(0, 0, 0, .45);
}
.card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
}
.card-body {
    display: flex;
    gap: 10px;
    padding: 14px 8px 0;
}
.card-body .ico { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold); margin-top: 1px; }
.card-title { font-size: 15px; font-weight: 700; line-height: 1.35; }
.card-meta { margin-top: 4px; font-size: 12px; font-weight: 500; }

/* ============ SEARCH BAR ============ */
.search {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 28px 12px 14px;
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    position: relative;
    top: 32px;
}
.search-fields {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
    background: var(--white);
    border-radius: 10px;
    color: var(--text-dark);
}
.field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 26px 18px 26px;
}
.field + .field { border-left: 2px solid #eef1f0; }
.field .ico { width: 28px; height: 28px; flex-shrink: 0; color: var(--green); }
.field-text { flex: 1; min-width: 0; }
.field label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 4px;
}
.field select,
.field input {
    width: 100%;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    border: 0;
    outline: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.field input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.field .chev { width: 16px; height: 16px; color: #8a9a95; flex-shrink: 0; pointer-events: none; }

.btn-search {
    flex-shrink: 0;
    width: 210px;
    padding: 18px 20px;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(180deg, #d4a23d, var(--gold-btn));
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 6px 14px -6px rgba(150, 105, 20, .7);
    transition: filter .2s, transform .2s;
}
.btn-search:hover { filter: brightness(1.07); transform: translateY(-1px); }

/* Varian search di halaman dalam */
.search.search-inline {
    margin-top: 0;
    top: 0;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px -24px rgba(13, 61, 50, .45);
}
.search.search-inline .search-fields { background: var(--bg-inner); }

/* ============ BOTTOM NAV (mobile) ============ */
.bottom-nav { display: none; }

/* ==========================================================================
   HALAMAN DALAM
   ========================================================================== */
body.is-inner {
    background: var(--bg-inner);
    color: var(--text);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---- Page hero ---- */
.page-hero {
    background: var(--green);
    color: var(--white);
    padding: 34px 0 30px;
}
.page-hero-body { padding: 56px 0 10px; max-width: 720px; }
.page-title {
    margin-top: 14px;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.15;
}
.page-title span { color: var(--gold); }
.page-hero .desc { max-width: 560px; }
.page-hero-wave {
    display: block;
    width: 100%;
    height: clamp(50px, 8vw, 110px);
    margin-top: -1px;
}

/* ---- Section ---- */
.section { padding: 56px 0; }
.section-search { padding: 0; margin-top: -40px; position: relative; z-index: 5; }
.section-search + .section { padding-top: 48px; }
.section-alt { background: var(--white); }
.section-green { background: var(--green); color: var(--white); }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}
.section-head-center { justify-content: center; text-align: center; }
.section-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--green);
}
.section-sub { margin-top: 6px; color: var(--muted); font-size: 14px; font-weight: 500; }
.eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-btn);
    margin-bottom: 8px;
}
.muted { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: filter .2s, transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
    color: var(--white);
    background: linear-gradient(180deg, #d4a23d, var(--gold-btn));
    box-shadow: 0 6px 14px -6px rgba(150, 105, 20, .7);
}
.btn-gold:hover { filter: brightness(1.07); }
.btn-outline { color: var(--green); border-color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-light { color: var(--green); background: var(--white); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Paket grid ---- */
.paket-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.paket-item {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 30px -22px rgba(13, 61, 50, .55);
    transition: transform .25s, box-shadow .25s;
}
.paket-item:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(13, 61, 50, .6); }
.paket-item-img { position: relative; display: block; }
.paket-item-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.badge {
    position: absolute;
    top: 14px; left: 14px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    background: var(--green);
    border-radius: 20px;
}
.badge-alert { left: auto; right: 14px; background: #c0392b; }
.paket-item-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.paket-item-body h3 { font-size: 18px; font-weight: 700; color: var(--green); }
.meta-list { list-style: none; margin: 14px 0 18px; display: grid; gap: 8px; }
.meta-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--muted); }
.meta-list svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--gold-btn); }
.paket-item-foot {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
}
.price small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.price strong { font-size: 19px; color: var(--green); }

.empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* ---- Detail paket ---- */
.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    align-items: start;
}
.detail-cover img {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    border-radius: 20px;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0;
}
.info {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
}
.info small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.info strong { font-size: 14px; color: var(--green); line-height: 1.4; }

.box {
    background: var(--white);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 14px 30px -24px rgba(13, 61, 50, .5);
}
.box + .box { margin-top: 24px; }
.box-title { font-size: 20px; font-weight: 700; color: var(--green); margin-bottom: 18px; }

.check-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
}
.check-list li { position: relative; padding-left: 30px; font-size: 14px; line-height: 1.5; }
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 1px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23125042' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.timeline { list-style: none; position: relative; padding-left: 26px; }
.timeline::before {
    content: "";
    position: absolute;
    left: 6px; top: 6px; bottom: 6px;
    width: 2px;
    background: var(--line);
}
.timeline li { position: relative; padding-bottom: 22px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
    content: "";
    position: absolute;
    left: -26px; top: 4px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--gold);
}
.timeline-day { font-size: 12px; font-weight: 700; color: var(--gold-btn); text-transform: uppercase; letter-spacing: 1px; }
.timeline h3 { font-size: 16px; color: var(--green); margin: 2px 0 4px; }
.timeline p { font-size: 14px; line-height: 1.6; color: var(--muted); }

.detail-side { position: sticky; top: 24px; }
.price-box {
    background: var(--green);
    color: var(--white);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.price-box small { font-size: 13px; opacity: .85; }
.price-big { font-size: 30px; font-weight: 800; color: var(--gold); }
.seat { margin: 16px 0 12px; }
.seat-bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.seat-bar span { display: block; height: 100%; background: var(--gold); border-radius: 8px; }
.seat p { margin-top: 8px; font-size: 13px; }
.price-box .btn + .btn { margin-top: 6px; }
.price-box .btn-outline { color: var(--white); border-color: rgba(255, 255, 255, .5); }
.price-box .btn-outline:hover { background: var(--white); color: var(--green); }

/* ---- Tentang kami ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.about-img { position: relative; }
.about-img > img:first-child {
    width: 100%;
    aspect-ratio: 4 / 4.2;
    object-fit: cover;
    object-position: center 60%;
    border-radius: 24px;
}
.about-logo {
    position: absolute;
    right: -20px; bottom: -20px;
    width: 150px;
    padding: 16px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 18px 40px -20px rgba(13, 61, 50, .5);
}
.about-text p { margin-top: 16px; font-size: 15px; line-height: 1.75; }
.visi-misi {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 26px;
}
.visi-misi > div {
    padding: 18px 20px;
    border-left: 4px solid var(--gold);
    background: var(--white);
    border-radius: 0 14px 14px 0;
}
.visi-misi h3 { font-size: 16px; color: var(--green); }
.visi-misi p { margin-top: 6px; font-size: 14px; line-height: 1.6; }

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat strong { display: block; font-size: 38px; font-weight: 800; color: var(--gold); }
.stat span { font-size: 14px; font-weight: 500; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.feature {
    background: var(--white);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 14px 30px -26px rgba(13, 61, 50, .6);
}
.feature-ico {
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(180deg, #d4a23d, var(--gold-btn));
    margin-bottom: 16px;
}
.feature-ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 17px; color: var(--green); }
.feature p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---- CTA ---- */
.cta {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 40px 48px;
    border-radius: 24px;
    color: var(--white);
    background: var(--green);
}
.cta::after {
    content: "";
    position: absolute;
    right: -60px; top: -60px;
    width: 220px; height: 220px;
    border-radius: 50%;
    border: 14px solid var(--gold);
    opacity: .35;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: 26px; }
.cta p { margin-top: 8px; font-size: 15px; opacity: .9; }

/* ---- Testimoni ---- */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.testi {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--white);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 14px 30px -26px rgba(13, 61, 50, .6);
}
.stars { display: flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; color: #d8dfdc; }
.stars svg.on { color: var(--gold); }
.testi blockquote { font-size: 15px; line-height: 1.7; }
.testi figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.avatar {
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    font-weight: 700;
    color: var(--gold);
    background: var(--green);
}
.testi strong { display: block; font-size: 15px; color: var(--green); }
.testi small { font-size: 12px; color: var(--muted); }

/* ---- Kontak ---- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 32px;
    align-items: start;
}
.contact-info { display: grid; gap: 16px; }
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    background: var(--white);
    border-radius: 16px;
}
.contact-ico {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    color: var(--gold);
    background: var(--green);
}
.contact-ico svg { width: 22px; height: 22px; }
.contact-item small { font-size: 12px; color: var(--muted); font-weight: 500; }
.contact-item p { margin-top: 2px; font-size: 15px; font-weight: 600; color: var(--green); line-height: 1.5; }
.contact-form .muted { margin: -8px 0 20px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--green); }
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 13px 16px;
    font: inherit;
    font-size: 14px;
    color: var(--text);
    background: var(--bg-inner);
    border: 1px solid var(--line);
    border-radius: 10px;
    outline: 0;
    transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 179, 90, .2); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; border-radius: 20px; }
.section-map { padding-top: 0; }

/* ---- Footer ---- */
.footer {
    margin-top: 24px;
    color: rgba(255, 255, 255, .85);
    background: var(--green-dark);
    border-top: 6px solid var(--gold);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding-top: 56px;
    padding-bottom: 40px;
}
.footer-logo { width: 130px; margin-bottom: 16px; }
.footer p { font-size: 14px; line-height: 1.7; }
.footer h4 { font-size: 16px; color: var(--gold); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; font-size: 14px; }
.footer ul a:hover { color: var(--gold); }
.footer-contact li { line-height: 1.6; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
    display: grid;
    place-items: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .3);
    transition: background .2s, color .2s;
}
.socials a:hover { background: var(--gold); color: var(--green-dark); border-color: var(--gold); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
    padding: 18px 0;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* ============ TABLET ============ */
@media (max-width: 1200px) {
    .hero { padding: 40px 44px 64px; min-height: 780px; }
    .nav { gap: 26px; font-size: 13px; }
    .brand-name { font-size: 24px; }
    .brand-sub { font-size: 15px; }
    .title { font-size: 42px; }
    .desc { font-size: 15px; }
    .cards { gap: 12px; }
    .card-title { font-size: 13px; }
    .card-meta { font-size: 11px; }
    .field { padding: 16px 18px; gap: 12px; }
    .btn-search { width: 170px; }

    .paket-grid, .testi-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .detail-grid { grid-template-columns: minmax(0, 1fr) 320px; }
    .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============ DESKTOP FULLSCREEN (beranda) ============
   Hero mengikuti tinggi layar, ukuran elemen menyesuaikan tinggi viewport
   supaya tidak perlu scroll atas-bawah. */
@media (min-width: 961px) {
    .page {
        min-height: 100vh;
        min-height: 100dvh;
        padding: clamp(10px, 2.6vh, 48px) clamp(20px, 2.8vw, 40px);
    }
    .hero {
        min-height: calc(100vh - 2 * clamp(10px, 2.6vh, 48px));
        min-height: calc(100dvh - 2 * clamp(10px, 2.6vh, 48px));
        padding-top: clamp(18px, 3.8vh, 46px);
        padding-bottom: clamp(30px, 5.4vh, 72px);
    }
    .brand-logo { height: clamp(48px, 7vh, 72px); }
    .hero-content { margin-top: clamp(12px, 5vh, 72px); }
    .tagline { font-size: clamp(12px, 1.5vh, 15px); }
    .title { margin-top: clamp(8px, 1.7vh, 18px); font-size: clamp(32px, 5.2vh, 52px); }
    .desc { margin-top: clamp(10px, 2vh, 22px); font-size: clamp(13px, 1.7vh, 17px); }
    .populer { margin-top: clamp(10px, 3vh, 40px); }
    .populer-head { margin-bottom: clamp(8px, 1.4vh, 14px); }
    .card-img { aspect-ratio: auto; height: clamp(64px, 12.5vh, 150px); }
    .card-body { padding-top: clamp(8px, 1.4vh, 14px); }
    .card-title { font-size: clamp(12px, 1.85vh, 15px); }
    .card-meta { font-size: clamp(10.5px, 1.5vh, 12px); white-space: nowrap; }
    .search { top: clamp(12px, 2.6vh, 32px); padding-top: clamp(8px, 1.2vh, 12px); padding-bottom: clamp(8px, 1.2vh, 12px); }
    .field { padding-top: clamp(10px, 1.8vh, 18px); padding-bottom: clamp(10px, 1.8vh, 18px); }
    .btn-search { padding-top: clamp(12px, 1.8vh, 18px); padding-bottom: clamp(12px, 1.8vh, 18px); }
}

/* ============ MOBILE ============ */
@media (max-width: 960px) {
    body.is-home::before { display: none; }
    body { padding-bottom: 92px; }
    body.is-home { background: #cfd8de; }

    .page { padding: 0; display: block; }

    .hero {
        max-width: none;
        min-height: 0;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
        background: transparent;
    }

    .wave-desktop { display: none; }

    /* mobile stacking order */
    .topbar       { order: 1; }
    .hero-content { order: 2; }
    .hero-visual  { order: 3; }
    .populer      { order: 4; }
    .search       { order: 5; }

    .hero .topbar, .hero-content {
        background: var(--green);
        padding-left: 28px;
        padding-right: 28px;
    }
    .hero .topbar { padding-top: 32px; }

    /* menu: tombol hamburger + dropdown */
    .nav-toggle { display: grid; }
    .nav { display: none; }
    .nav.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        position: absolute;
        top: calc(100% + 12px);
        left: 16px; right: 16px;
        padding: 10px;
        background: rgba(13, 61, 50, .97);
        font-size: 15px;
    }
    .nav.open a { padding: 12px 14px; border-radius: 10px; }
    .nav.open a.active { background: rgba(255, 255, 255, .06); }
    .nav.open a.active::after { display: none; }
    .nav.open .btn-contact { margin-top: 6px; text-align: center; }

    .brand { gap: 12px; }
    .brand-logo { height: 50px; }
    .brand-name { font-size: 22px; }
    .brand-sub { font-size: 14px; letter-spacing: 2px; }

    .hero-content {
        max-width: none;
        margin-top: 0;
        padding-top: 18px;
        padding-bottom: 20px;
    }
    .tagline { font-size: 11px; letter-spacing: 1.8px; }
    .title { margin-top: 8px; font-size: clamp(28px, 8vw, 44px); line-height: 1.15; }
    .desc { max-width: 520px; margin-top: 18px; font-size: 14px; }

    /* image moves into the flow, under the green header */
    .hero-visual {
        position: relative;
        width: 100%;
        height: clamp(420px, 105vw, 620px);
        z-index: 0;
        border-radius: 0 0 20px 20px;
        overflow: hidden;
    }
    .hero-visual img { transform: none; object-position: center 55%; }

    .wave-mobile {
        display: block;
        position: absolute;
        top: -1px; left: 0;
        width: 100%;
        height: clamp(70px, 18vw, 120px);
        z-index: 1;
    }

    .populer {
        position: relative;
        z-index: 2;
        max-width: none;
        margin-top: calc(-1 * clamp(250px, 58vw, 360px));
        padding: 0 20px;
    }
    .populer-head { padding: 0 4px; }
    .populer-head h2 { font-size: 16px; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }

    .cards {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: calc(50% - 8px);
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 6px;
        scrollbar-width: none;
    }
    .cards::-webkit-scrollbar { display: none; }
    .card { scroll-snap-align: start; padding: 7px 7px 16px; }
    .card-title { font-size: clamp(13px, 3.6vw, 18px); }
    .card-meta { font-size: clamp(11px, 3vw, 14px); }

    .search {
        top: 0;
        margin: 16px 20px 0;
        padding: 6px 10px 6px 10px;
        gap: 8px;
        border-radius: 4px;
        background: rgba(255, 255, 255, .6);
    }
    .search-fields { border-radius: 4px; }
    .field { padding: 10px 8px; gap: 6px; }
    .field + .field { border-left: 0; }
    .field .ico { width: 20px; height: 20px; }
    .field label { font-size: 9px; margin-bottom: 1px; }
    .field select, .field input { font-size: 10.5px; }
    .field .chev { width: 10px; height: 10px; }
    .btn-search {
        width: auto;
        padding: 10px 16px;
        font-size: 11px;
        border-radius: 6px;
    }

    /* Bottom navigation */
    .bottom-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 50;
        color: var(--white);
        background: var(--green);
        padding: 12px 8px calc(10px + env(safe-area-inset-bottom));
    }
    .bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        font-size: 15px;
        font-weight: 500;
    }
    .bottom-nav svg { width: 34px; height: 34px; }
    .bottom-nav a.active { color: var(--gold); font-weight: 700; }

    /* halaman dalam */
    .container { padding-left: 20px; padding-right: 20px; }
    .page-hero { padding-top: 28px; padding-bottom: 16px; }
    .page-hero-body { padding-top: 28px; }
    .page-title { font-size: clamp(28px, 8vw, 40px); }
    .section { padding: 40px 0; }
    .section-search { margin-top: -20px; }
    .section-search + .section { padding-top: 32px; }
    .section-title { font-size: 24px; }

    /* form Cari Paket (halaman dalam): ukuran normal, tombol di bawah */
    .search.search-inline {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin: 0;
        padding: 10px;
        border-radius: 14px;
        background: var(--white);
    }
    .search.search-inline .search-fields { border-radius: 10px; }
    .search.search-inline .field { padding: 12px 16px; gap: 12px; }
    .search.search-inline .field .ico { width: 22px; height: 22px; }
    .search.search-inline .field label { font-size: 11px; margin-bottom: 2px; }
    .search.search-inline .field select,
    .search.search-inline .field input { font-size: 14px; }
    .search.search-inline .field .chev { display: block; width: 14px; height: 14px; }
    .search.search-inline .btn-search { width: 100%; padding: 14px; font-size: 15px; border-radius: 10px; }

    /* detail paket: urutan jadi foto > info > harga > fasilitas > itinerary */
    .detail-grid { grid-template-columns: 1fr; gap: 20px; }
    .detail-main { display: contents; }
    .detail-cover { order: 1; }
    .info-grid { order: 2; margin: 0; }
    .detail-side { order: 3; position: static; }
    .detail-main .box { order: 4; }
    .box + .box { margin-top: 0; }
    .detail-cover img { aspect-ratio: 16 / 9; }

    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-grid { gap: 40px; }
    .about-img > img:first-child { aspect-ratio: 16 / 10; }
    .about-logo { right: 12px; bottom: -16px; width: 110px; }
    .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
    .stat strong { font-size: 32px; }
    .cta { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
    .cta::after { width: 140px; height: 140px; right: -60px; top: -60px; border-width: 10px; }
    .cta h2 { font-size: 22px; }
    .footer { margin-top: 0; }
    .footer-grid { padding-top: 44px; padding-bottom: 32px; gap: 28px; }
}

@media (min-width: 641px) and (max-width: 960px) {
    .search.search-inline .search-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
}

@media (max-width: 640px) {
    .paket-grid, .testi-grid, .feature-grid, .check-list, .visi-misi { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .info { padding: 12px 14px; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .section-head-center { align-items: center; }
    .box { padding: 22px; }
    .price-box { padding: 24px; }
    .price-big { font-size: 26px; }

    /* form Cari Paket: kolom ditumpuk */
    .search.search-inline .search-fields { grid-template-columns: 1fr; }
    .search.search-inline .field + .field { border-left: 0; border-top: 1px solid var(--line); }

    /* keunggulan: ikon di kiri supaya kartu lebih ringkas */
    .feature-grid { gap: 14px; }
    .feature { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 20px; }
    .feature-ico { grid-row: span 2; margin-bottom: 0; }
    .feature p { margin-top: 4px; }

    .testi { padding: 22px; }
    .contact-item { padding: 14px 16px; }

    /* footer: menu & paket populer berdampingan */
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about, .footer-grid > div:last-child { grid-column: 1 / -1; }
    .footer-bottom { padding-bottom: 20px; }
}

@media (max-width: 420px) {
    .brand-logo { height: 38px; }
    .brand { gap: 8px; }
    .brand-name { font-size: clamp(14px, 4.3vw, 18px); letter-spacing: 0; white-space: nowrap; }
    .brand-sub { font-size: clamp(9px, 2.75vw, 11.5px); letter-spacing: 1px; white-space: nowrap; }
    .field .chev { display: none; }
    .field .ico { width: 16px; height: 16px; }
    .btn-search { padding: 10px 10px; }
    .bottom-nav a { font-size: 13px; }
    .bottom-nav svg { width: 28px; height: 28px; }
}
.empty-logo { width: 140px; }
img.avatar { object-fit: cover; }

/* ============ LAPTOP KECIL / TABLET LANDSCAPE (961-1200px) ============ */
@media (min-width: 961px) and (max-width: 1200px) {
    .topbar { gap: 16px; }
    .brand { gap: 12px; }
    .brand-logo { height: 52px; }
    .brand-name { font-size: 21px; }
    .brand-sub { font-size: 12.5px; letter-spacing: 2px; white-space: nowrap; }
    .nav { gap: 20px; padding-left: 20px; font-size: 13px; }
    .nav a { white-space: nowrap; }
    .nav .btn-contact { padding: 10px 16px; }
    .container { padding-left: 24px; padding-right: 24px; }
}

/* ponsel sangat kecil (<= 340px) */
@media (max-width: 340px) {
    .hero .topbar { padding-left: 20px; padding-right: 20px; }
    .brand-divider { display: none; }
    .brand-logo { height: 32px; }
    .brand-name { font-size: 13px; }
    .brand-sub { font-size: 8.5px; letter-spacing: .5px; }
}
