/*
 * Clay 2 -- beranda (LEX-277).
 *
 * Dimuat lewat blok `merek_css` di `clay2/pages/home.html`, jadi SESUDAH
 * style.css, phase1..4, home.css, beranda-artikel.css, dan merek.css; SEBELUM
 * `_appearance_css.html`. Selektornya diawali id seksi (`#featured`, ...) atau
 * `.c2-hero` supaya menang atas home.css/style.css tanpa `!important`.
 *
 * Mobile-first: dasar untuk HP, lalu `min-width: 641px` dan `min-width: 861px`.
 * Aturan merek: teks tanpa efek clay, kuning hanya latar dengan teks gelap,
 * bayangan berwarna (navy / cokelat-oranye), cahaya dari kiri-atas.
 */

/* ================= Hero: panel clay diorama ================= */
.c2-hero.section-pad { padding: 6px 0 34px; }
.c2-hero-panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: 34px;
  background: linear-gradient(180deg, #d4ecf8 0, #eef6fc 46%, #fff 100%);
  box-shadow: 20px 28px 56px -22px rgba(4, 23, 128, .38);
}
/* Lekuk clay di atas latar: terang kiri-atas, gelap kanan-bawah. */
.c2-hero-panel::after {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  box-shadow: inset 10px 12px 22px rgba(255, 255, 255, .6), inset -12px -14px 26px rgba(4, 23, 128, .2);
}
.c2-hero-latar { position: relative; order: 0; overflow: hidden; }
.c2-hero-diorama { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 40% 70%; }
.c2-hero-surya {
  position: absolute; top: 14px; right: 18px; width: 64px; height: 64px; pointer-events: none;
  background: var(--c2-sinar-svg) center / contain no-repeat;
}
.c2-hero-maskot { position: absolute; right: 12px; bottom: -6px; width: 96px; }
.c2-hero-maskot .c2-maskot { width: 100%; }

.c2-hero-grid { display: contents; }
.c2-hero .hero-copy { order: 1; display: flex; flex-direction: column; align-items: flex-start; max-width: none; padding: 20px 18px 0; }
.c2-hero .hero-copy > * { max-width: 100%; }
.c2-hero .hero-eyebrow {
  gap: 8px; padding: 6px 14px; border: 0; border-radius: 999px;
  background: var(--c2-kuning); color: var(--c2-tinta);
  font-family: var(--c2-mono); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  backdrop-filter: none;
  box-shadow: 6px 9px 18px -8px rgba(194, 122, 0, .55), inset 3px 4px 6px rgba(255, 250, 215, .85), inset -4px -5px 8px rgba(194, 122, 0, .3);
}
.c2-hero-papan { display: block; margin-top: 16px; padding: 18px 20px 20px; }
.c2-hero-papan.c2-sinar::after { top: -22px; right: -10px; width: 44px; height: 44px; }
.c2-hero h1 { margin: 0; color: var(--c2-navy); line-height: 1.04; letter-spacing: -.02em; }
.c2-hero .hero-accent {
  color: var(--c2-navy); padding: 0 0 .16em;
  background: var(--c2-gelombang-svg) left bottom / min(100%, 7em) .3em no-repeat;
}
.c2-hero .hero-lead { max-width: 34rem; margin: 16px 0 0; color: #2a3168; font-size: .95rem; line-height: 1.6; }
.c2-hero .hero-actions { margin-top: 18px; }
.c2-hero .hero-cta { min-height: 54px; border-radius: 999px; padding: 6px 6px 6px 22px; box-shadow: 12px 16px 30px -12px rgba(4, 23, 128, .55), inset 6px 8px 14px rgba(120, 140, 255, .38), inset -7px -9px 16px rgba(0, 3, 40, .5); }
.c2-hero .hero-cta-chip { border-radius: 999px; background: var(--c2-kuning); color: var(--c2-tinta); box-shadow: inset 3px 4px 6px rgba(255, 250, 215, .85), inset -4px -5px 8px rgba(194, 122, 0, .35); }
.c2-hero .hero-story { color: var(--c2-navy); }
.c2-hero .hero-story-chip { background: #fff; color: var(--c2-navy); }
.c2-hero .trust-row { border: 0; background: #fff; box-shadow: 8px 12px 24px -12px rgba(4, 23, 128, .35), inset 4px 5px 8px rgba(255, 255, 255, .9), inset -5px -6px 10px rgba(4, 23, 128, .08); }
.c2-hero .trust-row__angka { color: #3a4070; }

/* Kotak cari besar */
.c2-hero-cari { order: 2; padding: 18px 14px 0; }
.c2-hero .quick-search {
  gap: 10px; padding: 12px; border: 0; border-radius: 28px; background: #fff; backdrop-filter: none;
  box-shadow: 14px 20px 40px -16px rgba(4, 23, 128, .4), inset 6px 8px 12px rgba(255, 255, 255, .95), inset -7px -9px 14px rgba(4, 23, 128, .08);
}
.c2-hero .search-field small { color: #4a4f78; font-family: var(--c2-mono); font-size: .62rem; letter-spacing: .12em; }
.c2-hero .search-field select { color: var(--c2-navy); }
.c2-hero .search-divider { background: rgba(4, 23, 128, .1); }
.c2-hero .search-button { border-radius: 999px; }
.c2-hero .search-message { min-height: 0; margin: 0; }
.c2-hero .search-message:not(:empty) { margin-top: 10px; padding: 8px 14px; border-radius: 16px; background: #fff; color: var(--c2-navy); font-weight: 600; }

/* Chip kategori */
.c2-hero-chip {
  order: 3; display: flex; gap: 10px; padding: 16px 14px 18px; overflow-x: auto; scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.c2-hero-chip::-webkit-scrollbar { display: none; }
.c2-hero-chip .c2-chip { flex: 0 0 auto; white-space: nowrap; text-decoration: none; }
.c2-hero-chip .c2-chip--utama { background: var(--c2-kuning); color: var(--c2-tinta); box-shadow: 8px 11px 22px -12px rgba(194, 122, 0, .6), inset 4px 5px 8px rgba(255, 250, 215, .85), inset -5px -6px 10px rgba(194, 122, 0, .35); }
.c2-hero-chip .c2-chip .c2-ikon { width: 26px; height: 26px; flex: 0 0 26px; }

/* Kartu unggulan (data asli) */
.c2-hero .hero-visual { order: 4; display: block; min-height: 0; padding: 4px 14px 22px; }
.c2-hero .visual-frame { width: 100%; }
.c2-hero .visual-card--main { padding: 10px; border: 0; border-radius: 30px; background: #fff; transform: none; box-shadow: var(--shadow-surface); }
.c2-hero .visual-media > img { aspect-ratio: 16 / 10; border-radius: 22px; }
.c2-hero .visual-tag.c2-label { border: 0; text-shadow: none; background: var(--c2-kuning); color: var(--c2-tinta); backdrop-filter: none; box-shadow: inset 2px 3px 5px rgba(255, 250, 215, .85), inset -3px -4px 6px rgba(194, 122, 0, .3); }
.c2-hero .visual-place { color: #4a4f78; font-family: var(--c2-mono); font-size: .62rem; }
.c2-hero .visual-title { color: var(--c2-navy); font-size: 1.05rem; }
.c2-hero .price-bubble { background: var(--c2-kuning); transform: rotate(-3deg); }
.c2-hero .price-bubble small { color: #4d3700; font-family: var(--c2-mono); text-transform: uppercase; letter-spacing: .08em; }
.c2-hero .price-bubble strong { color: var(--c2-tinta); font-family: var(--clay-body-font); font-weight: 800; }
.c2-hero .hero-dots { margin-top: 14px; }
.c2-hero .hero-dots button[aria-current="true"] { background: var(--c2-navy); }

/* HP/tablet: isi .hero-copy dilebur ke panel supaya urutannya diorama -> judul ->
   cari -> chip -> tombol & baris ulasan -> kartu unggulan. */
@media (max-width: 860px) {
  .c2-hero .hero-copy { display: contents; }
  .c2-hero .hero-copy > * { order: 1; margin-inline: 18px; }
  .c2-hero .hero-eyebrow { align-self: flex-start; margin-top: 20px; }
  .c2-hero .hero-actions { order: 4; margin-top: 2px; }
  .c2-hero .trust-row { order: 5; align-self: flex-start; max-width: calc(100% - 36px); margin-top: 14px; }
  .c2-hero .hero-visual { order: 6; padding-top: 22px; }
}
@media (min-width: 641px) and (max-width: 860px) {
  .c2-hero .hero-copy > * { margin-inline: 28px; }
}

@media (min-width: 641px) {
  .c2-hero-panel { border-radius: 40px; }
  .c2-hero .hero-copy { padding: 26px 28px 0; }
  .c2-hero-papan { max-width: 36rem; padding: 22px 30px 24px; }
  .c2-hero-cari { padding: 20px 28px 0; }
  .c2-hero .quick-search { grid-template-columns: 1fr auto 1fr auto; border-radius: 999px; padding: 10px 10px 10px 18px; }
  .c2-hero .search-divider { width: 1px; height: 40px; }
  .c2-hero .search-button { width: auto; }
  .c2-hero-chip { flex-wrap: wrap; overflow: visible; padding: 18px 28px 22px; }
  .c2-hero .hero-visual { padding: 4px 28px 26px; }
  .c2-hero .visual-frame { width: min(100%, 420px); }
  .c2-hero-maskot { width: 130px; right: 24px; }
  .c2-hero-diorama { aspect-ratio: 16 / 8; }
}

/* Desktop: diorama mengisi seluruh panel; salinan + cari + chip di kiri,
   kartu unggulan kanan-atas, maskot berdiri di pojok kanan-bawah di bawah kartu. */
@media (min-width: 861px) {
  .c2-hero.section-pad { padding: 10px 0 56px; }
  .c2-hero-panel {
    display: grid; min-height: 640px;
    grid-template-columns: minmax(0, 1fr) 330px;
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "salin kartu" "cari cari" "chip chip";
    column-gap: 44px; padding: 46px 52px 40px;
    border-radius: 44px; background: #bfe3f5;
  }
  .c2-hero-latar { position: absolute; inset: 0; z-index: -1; }
  .c2-hero-diorama { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 100%; }
  .c2-hero-surya { display: none; }
  /* Latar kiri ditenangkan supaya pohon/layar diorama tidak bertabrakan dengan teks. */
  .c2-hero-latar::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(214, 236, 249, .78) 0, rgba(214, 236, 249, .5) 38%, rgba(214, 236, 249, 0) 62%); }
  .c2-hero-maskot { right: 40px; bottom: -4px; width: 168px; }
  .c2-hero .hero-copy { grid-area: salin; padding: 0; }
  .c2-hero-papan { margin-top: 18px; }
  .c2-hero .hero-lead { font-size: 1.02rem; }
  .c2-hero .hero-actions { margin-top: 22px; }
  .c2-hero .trust-row { margin-top: 18px; }
  /* Cari + chip melebar ke dua kolom, tapi berhenti sebelum maskot. */
  .c2-hero-cari { grid-area: cari; padding: 26px 200px 0 0; }
  .c2-hero .quick-search { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: 12px; }
  .c2-hero .search-field { gap: 12px; padding: 0 4px; }
  .c2-hero .search-button { padding-inline: 22px; }
  .c2-hero .search-message:not(:empty) { display: inline-block; }
  .c2-hero-chip { grid-area: chip; align-self: start; padding: 18px 200px 0 0; }
  .c2-hero .hero-visual { grid-area: kartu; align-self: start; padding: 0; }
  .c2-hero .visual-frame { width: 100%; }
  .c2-hero .visual-card--main { padding: 12px; border-radius: 32px; transform: rotate(1.5deg); }
  .c2-hero .visual-media > img { aspect-ratio: 4 / 3; border-radius: 24px; }
  .c2-hero .visual-title { font-size: 1.1rem; }
  .c2-hero .hero-dots button { background: rgba(255, 255, 255, .7); }
  .c2-hero .hero-dots button[aria-current="true"] { background: var(--c2-navy); }
}

/* ================= Judul seksi ================= */
.c2-hero ~ section .section-heading h2,
.c2-hero ~ section .destination-copy h2,
.c2-hero ~ section .review-summary h2 { color: var(--c2-navy); }
.c2-hero ~ section .section-kicker::after { display: none; }
.c2-hero ~ section .section-heading > p,
.c2-hero ~ section .section-heading p { color: #3f4572; }

/* ================= Kategori: kartu putih clay + ikon clay ================= */
#experiences .category-card { border: 0; background: #fff; color: var(--c2-navy); box-shadow: var(--shadow-surface); }
#experiences .category-card h3 { color: var(--c2-navy); }
#experiences .category-card p { color: #4a4f78; }
#experiences .category-icon {
  display: grid; place-items: center; background: var(--c2-kabut);
  box-shadow: inset 4px 5px 9px rgba(255, 255, 255, .9), inset -5px -6px 10px rgba(4, 23, 128, .1);
}
#experiences .category-icon .c2-ikon { width: 48px; height: 48px; }
#experiences .category-link { color: var(--c2-navy); }
#experiences .category-link b { background: var(--c2-kuning); color: var(--c2-tinta); box-shadow: inset 2px 3px 5px rgba(255, 250, 215, .85), inset -3px -4px 6px rgba(194, 122, 0, .35); }
@media (min-width: 641px) {
  #experiences .category-icon { width: 84px; height: 84px; border-radius: 26px; }
  #experiences .category-icon .c2-ikon { width: 68px; height: 68px; }
}

/* ================= Populer: kartu trip ala guideline ================= */
#featured .filter-tabs { gap: 10px; padding: 4px 6px 14px; background: none; box-shadow: none; border-radius: 0; overflow-x: auto; scrollbar-width: none; }
#featured .filter-tab {
  min-height: 42px; padding: 8px 18px; border-radius: 999px; background: #fff; color: var(--c2-navy);
  box-shadow: 8px 11px 22px -12px rgba(4, 23, 128, .35), inset 4px 5px 8px rgba(255, 255, 255, .9), inset -5px -6px 10px rgba(4, 23, 128, .08);
}
#featured .filter-tab.is-active { background: var(--c2-kuning); color: var(--c2-tinta); box-shadow: 8px 11px 22px -12px rgba(194, 122, 0, .6), inset 4px 5px 8px rgba(255, 250, 215, .85), inset -5px -6px 10px rgba(194, 122, 0, .35); }
#featured .experience-card { border: 0; background: #fff; box-shadow: var(--shadow-surface); }
#featured .experience-image { margin: 12px 12px 0; border-radius: 24px; overflow: hidden; }
#featured .experience-image .card-badge.c2-label {
  top: 12px; left: 12px; padding: 5px 11px; border: 0; border-radius: 999px; text-shadow: none;
  background: var(--c2-kuning); color: var(--c2-tinta); backdrop-filter: none;
  box-shadow: 4px 6px 12px -4px rgba(194, 122, 0, .55), inset 2px 3px 5px rgba(255, 250, 215, .85), inset -3px -4px 6px rgba(194, 122, 0, .3);
}
#featured .experience-body { padding-top: 14px; }
#featured .experience-body h3 { margin: 0 0 6px; color: var(--c2-navy); font-weight: 800; }
#featured .meta-row { gap: 6px; justify-content: flex-start; color: #4a4f78; font-size: .78rem; letter-spacing: 0; text-transform: none; }
#featured .meta-row span + span::before { content: "·"; margin-right: 6px; }
#featured .experience-body p { color: #4a4f78; }
#featured .card-footer { border-top-color: rgba(4, 23, 128, .08); }
#featured .card-footer small { color: #4a4f78; font-family: var(--c2-mono); text-transform: uppercase; letter-spacing: .08em; }
#featured .card-footer strong.c2-harga { color: var(--c2-navy); font-size: 1.12rem; white-space: nowrap; }
.c2-harga-coret { display: block; color: #5b6088; font-size: .78rem; font-weight: 600; white-space: nowrap; }
#featured .card-footer a { border-radius: 999px; background: var(--c2-kabut); color: var(--c2-navy); }
#featured .card-footer a:hover { background: #e4e0f7; }
#featured .empty-state { border: 0; background: #fff; }

/* ================= Destinasi ================= */
#destinations .feature-list .feature-check { background: var(--c2-kuning); color: var(--c2-tinta); box-shadow: inset 2px 3px 5px rgba(255, 250, 215, .85), inset -3px -4px 6px rgba(194, 122, 0, .35); }
#destinations .feature-list .feature-text { color: var(--c2-navy); font-weight: 600; }
#destinations .destination-card { border: 8px solid #fff; background: #fff; box-shadow: var(--c2-bayang); }
#destinations .destination-card img { border-radius: 22px; }
#destinations .destination-card::after { border-radius: 22px; }
/* Label di atas foto tetap kaca gelap (kaca.css); hanya hurufnya yang ikut merek. */
#destinations .destination-card small { font-family: var(--c2-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }

/* ================= Artikel ================= */
#articles .artikel-utama,
#articles .artikel-kecil { border: 0; background: #fff; box-shadow: var(--shadow-surface); }
#articles .artikel-chip.c2-label { padding: 5px 11px; background: var(--c2-kuning); color: var(--c2-tinta); font-size: .62rem; }
#articles .artikel-judul { color: var(--c2-navy); }
#articles .artikel-meta { color: #4a4f78; }

/* ================= Langkah ================= */
#how-it-works .step-card { border: 0; background: #fff; box-shadow: var(--shadow-surface); }
#how-it-works .step-icon,
#how-it-works .step-icon--peach,
#how-it-works .step-icon--mint {
  display: grid; place-items: center; background: var(--c2-kabut);
  box-shadow: inset 4px 5px 9px rgba(255, 255, 255, .9), inset -5px -6px 10px rgba(4, 23, 128, .1);
}
#how-it-works .step-icon .c2-ikon { width: 84%; height: 84%; }
#how-it-works .step-card h3 { color: var(--c2-navy); }
#how-it-works .step-card p { color: #4a4f78; }
#how-it-works .step-number { width: auto; height: auto; background: none; color: rgba(4, 23, 128, .2); font-family: var(--c2-mono); font-weight: 700; }
@media (min-width: 861px) {
  #how-it-works .step-icon { width: 84px; height: 84px; border-radius: 26px; }
}

/* ================= Ulasan ================= */
#reviews .review-summary.c2-krem { border: 0; }
#reviews .quote-mark { color: rgba(4, 23, 128, .12); }
#reviews .review-score > strong { color: var(--c2-navy); }
#reviews .testimonial { border: 0; background: #fff; box-shadow: var(--shadow-surface); }
#reviews .testimonial blockquote { color: var(--c2-navy); }
#reviews .testimonial-user > span { background: var(--c2-kuning); color: var(--c2-tinta); box-shadow: var(--shadow-clay-yellow); }
#reviews .testimonial-dots button.is-active { background: var(--c2-navy); }

/* ================= Ajakan akhir: panel navy clay + maskot ================= */
#booking .booking-cta.c2-navy {
  position: relative; border: 0; color: #fff;
  background: radial-gradient(120% 90% at 0% 0%, rgba(120, 140, 255, .28), transparent 55%), var(--c2-navy);
}
#booking .booking-cta.c2-navy h2 { color: #fff; }
#booking .booking-cta.c2-navy p { color: rgba(255, 255, 255, .86); }
#booking .booking-art { position: relative; }
#booking .booking-photo { border-color: #fff; box-shadow: 14px 20px 36px -12px rgba(0, 3, 40, .6); }
.c2-ajakan-maskot { position: absolute; left: -6px; bottom: -14px; z-index: 2; width: 104px; }
.c2-ajakan-maskot .c2-maskot { width: 100%; filter: drop-shadow(8px 14px 14px rgba(0, 3, 40, .45)); }
@media (min-width: 861px) {
  .c2-ajakan-maskot { left: -40px; bottom: -30px; width: 150px; }
}
