/* Samaya Homestay: tema cokelat
   Palet: espresso (kopi tubruk), jati, sogan (cokelat batik), gula (gula jawa), emas, pasir. */

:root {
  --espresso: #2A1A12;
  --jati: #4A2E1E;
  --sogan: #7A4E2D;
  --gula: #B8782E;
  --emas: #D9A441;
  --bg: #E9D8BD;
  --paper: #F3E7D2;
  --paper-lt: #FAF3E6;
  --kertas: #F4E8D4;
  --ink: #2A1A12;
  --muted: #65503F;
  --link: #7A4A18;
  --rule: rgba(42, 26, 18, .26);

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --gut: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; letter-spacing: -.012em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: 0; line-height: 1.25; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: .2em; }
a:hover { color: var(--espresso); }

:focus-visible { outline: 3px solid var(--espresso); outline-offset: 3px; }
.site-header :focus-visible, .band--dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .article__aside :focus-visible { outline-color: var(--emas); }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--emas); color: var(--espresso); padding: 10px 16px; border-radius: 3px; font-weight: 700; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); font-size: .94rem; }

/* ------------------------------------------------------------- tombol dan tautan */
.btn {
  display: inline-block; padding: .85em 1.4em; border: 2px solid var(--gula); border-radius: 3px;
  background: var(--gula); color: var(--espresso); font: 700 1rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer; transition: background-color .18s, border-color .18s, color .18s;
}
.btn:hover { background: var(--emas); border-color: var(--emas); color: var(--espresso); }
.btn--dark { background: var(--espresso); border-color: var(--espresso); color: var(--kertas); }
.btn--dark:hover { background: var(--jati); border-color: var(--jati); color: var(--kertas); }
.btn--gold { background: var(--emas); border-color: var(--emas); }
.btn--gold:hover { background: #E6B655; border-color: #E6B655; }
.btn--sm { padding: .62em 1.05em; font-size: .93rem; }
.textlink { font-weight: 700; color: var(--link); text-decoration-thickness: 2px; text-decoration-color: var(--gula); }
.textlink:hover { text-decoration-color: var(--espresso); }

/* ------------------------------------------------------------------- header */
.site-header { position: relative; z-index: 30; background: var(--espresso); color: var(--kertas); }
.site-header--over { position: absolute; inset: 0 0 auto 0; background: transparent; }
.site-header__bar { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-family: var(--font-display); font-size: 1.4rem; line-height: 1; }
.brand:hover { color: inherit; }
.brand__mark { width: 32px; height: 32px; color: var(--emas); flex: none; }
.brand__logo { display: block; width: auto; height: 64px; flex: none; }
@media (max-width: 560px) { .brand__logo { height: 52px; } }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu li { position: relative; }
.menu a { display: block; padding: 10px 12px; color: inherit; text-decoration: none; font-weight: 500; font-size: .98rem; }
.menu a:hover { color: var(--emas); }
.menu > .is-active > a { box-shadow: inset 0 -2px 0 var(--emas); }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.sub { position: absolute; top: 100%; left: 0; min-width: 230px; margin: 0; padding: 8px; list-style: none; background: var(--espresso); border-top: 2px solid var(--emas); display: none; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.sub a { padding: 10px 14px; }
.sub .is-active > a { color: var(--emas); }

.nav-toggle { display: none; margin-left: auto; padding: 9px 16px; border: 1.5px solid rgba(244, 232, 212, .5); border-radius: 3px; background: transparent; color: inherit; font: 700 .95rem var(--font-body); cursor: pointer; }

@media (max-width: 940px) {
  .js .nav-toggle { display: block; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 8px var(--gut) 28px; background: var(--espresso); border-top: 1px solid rgba(244, 232, 212, .15); }
  .js .site-nav.is-open { display: flex; }
  .menu { flex-direction: column; gap: 0; }
  .menu a { padding: 13px 0; border-bottom: 1px solid rgba(244, 232, 212, .12); }
  .menu > .is-active > a { box-shadow: none; color: var(--emas); }
  .has-sub > a::after { display: none; }
  .sub { position: static; display: block; min-width: 0; padding: 0 0 0 18px; border-top: 0; }
  .sub a { font-size: .95rem; }
  .no-js .site-header__bar, .site-header__bar { flex-wrap: wrap; }
  html:not(.js) .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; margin: 0 0 16px; }
}

/* --------------------------------------------------------------------- hero */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(90vh, 820px); padding: 150px 0 128px; overflow: hidden; background: var(--espresso); color: var(--kertas); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 74% 50%; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(42, 26, 18, .84) 0%, rgba(42, 26, 18, .5) 40%, rgba(42, 26, 18, 0) 72%),
  linear-gradient(180deg, rgba(42, 26, 18, .7) 0%, rgba(42, 26, 18, 0) 28%); }
.hero__inner { position: relative; }
.hero h1 { max-width: 12ch; margin: 0 0 22px; font-size: clamp(2.7rem, 1.1rem + 6.8vw, 6rem); line-height: .98; letter-spacing: -.022em; }
.hero__lead { max-width: 34ch; margin: 0; font-size: clamp(1.05rem, 1rem + .4vw, 1.28rem); line-height: 1.55; color: #F0E1C8; }

.request-wrap { position: relative; z-index: 5; margin-top: -66px; }
.request { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 16px; align-items: end; padding: 22px 24px; background: var(--paper-lt); border: 1px solid var(--rule); border-radius: 6px; }
.request label { display: block; margin-bottom: 6px; font-size: .86rem; font-weight: 700; color: var(--muted); }
.request input, .request select { width: 100%; height: 52px; padding: 0 .8em; border: 1.5px solid #AD9575; border-radius: 3px; background: #FFFBF2; color: var(--ink); font: inherit; }
.request .btn { padding-block: .85em; }
.request__note { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: var(--muted); }
.request__note.is-error { color: #8A2D14; font-weight: 700; }
@media (max-width: 860px) { .request { grid-template-columns: 1fr 1fr; } .request .btn { grid-column: 1 / -1; } }
@media (max-width: 520px) { .request { grid-template-columns: 1fr; padding: 18px; } .hero { padding-bottom: 112px; } }

/* -------------------------------------------------------------------- bagian */
.band { padding: clamp(56px, 8vw, 112px) 0; }
.band--paper { background: var(--paper); }
.band--dark { background: var(--espresso); color: var(--kertas); }
.band--dark a:not(.btn) { color: var(--emas); }
.band--caramel { background: var(--gula); color: var(--espresso); }
.band__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 36px; }
.band__head h2 { margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.lead { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); line-height: 1.55; }

.home-content > .band:first-child { padding-top: clamp(72px, 9vw, 128px); }

.rules { list-style: none; margin: 0; padding: 0; }
.rules li { padding: 22px 0; border-top: 1px solid var(--rule); }
.rules li:last-child { border-bottom: 1px solid var(--rule); }
.rules h3 { margin: 0 0 6px; }
.rules p { margin: 0; color: var(--muted); max-width: 52ch; }

/* kamar di beranda */
.rooms { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 40px 36px; }
.room a { display: block; color: inherit; text-decoration: none; }
.room img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 2px; background: var(--jati); }
.room h3 { margin: 16px 0 6px; font-size: 1.4rem; }
.room p { margin: 0 0 6px; color: var(--muted); }
.room__price { color: var(--ink) !important; }
.room__price strong { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.room a:hover h3 { text-decoration: underline; text-decoration-color: var(--gula); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.room--lead { grid-row: span 2; display: flex; }
.room--lead a { display: flex; flex-direction: column; width: 100%; }
.room--lead img { flex: 1 1 auto; min-height: 340px; aspect-ratio: auto; object-position: 22% 50%; }
.room--lead h3 { font-size: 1.9rem; }
@media (max-width: 760px) {
  .rooms { grid-template-columns: 1fr; }
  .room--lead { grid-row: auto; display: block; }
  .room--lead a { display: block; }
  .room--lead img { aspect-ratio: 4 / 3; min-height: 0; object-position: 50% 50%; }
}

/* garis waktu (urutan sungguhan: jam) */
.timeline { display: grid; gap: 32px; margin: 0; padding: 0 0 0 30px; list-style: none; border-left: 2px solid var(--gula); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -40px; top: .35em; width: 18px; height: 18px; border: 3px solid var(--emas); border-radius: 50%; background: var(--espresso); }
.timeline time { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; color: var(--emas); }
.timeline h3 { margin: 10px 0 4px; font-size: 1.2rem; }
.timeline p { margin: 0; max-width: 46ch; color: #E3D0B2; }
.timeline--light time { color: var(--link); }
.timeline--light li::before { background: var(--bg); border-color: var(--gula); }
.timeline--light p { color: var(--muted); }
.day img { width: 100%; aspect-ratio: 4 / 3; margin-top: 28px; object-fit: cover; border-radius: 2px; }
.day .lead { color: #E3D0B2; max-width: 30ch; }

/* tempat terdekat */
.nearby { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 0 0 18px; }
.nearby > div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--rule); }
.nearby dt { font-weight: 700; }
.nearby dd { margin: 0; color: var(--muted); text-align: right; }
@media (max-width: 760px) { .nearby { grid-template-columns: 1fr; } }
.prose .nearby { grid-template-columns: 1fr; max-width: 780px; }
.prose .nearby > div:last-child { border-bottom: 1px solid var(--rule); }

/* tanya jawab */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { position: relative; padding: 18px 40px 18px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.faq p { max-width: 60ch; margin: 0 0 18px; color: var(--muted); }
.prose .faq { max-width: 780px; }

/* ajakan memesan */
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; max-width: 46ch; font-size: 1.1rem; }

/* ------------------------------------------------------------------ halaman */
.page-head { padding: clamp(44px, 6vw, 84px) 0 clamp(24px, 3vw, 40px); }
.page-head h1 { max-width: 20ch; margin: 14px 0 0; }
.page-head__lead { max-width: 56ch; margin: 18px 0 0; font-size: 1.22rem; line-height: 1.55; color: var(--muted); }
.page-head__meta { margin: 14px 0 0; color: var(--muted); font-size: .95rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .55; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--espresso); }

.prose { padding: 16px 0 clamp(56px, 8vw, 112px); overflow-wrap: break-word; }
.prose > :where(p, ul, ol, h2, h3, blockquote) { max-width: 68ch; }
.prose h2 { margin: 2em 0 .55em; }
.prose > h2:first-child, .prose > :first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--gula); }
.prose > img { width: 100%; max-width: 780px; aspect-ratio: 16 / 9; margin: 30px 0; object-fit: cover; border-radius: 2px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--gula); font-family: var(--font-display); font-size: 1.3rem; line-height: 1.4; }
.prose--intro { padding-bottom: 8px; }

.prose table { width: 100%; max-width: 780px; margin: 22px 0 30px; border-collapse: collapse; font-size: .98rem; }
.prose th, .prose td { padding: 12px 12px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose thead th { border-bottom: 2px solid var(--ink); }
.prose td + td, .prose th + th { text-align: right; font-variant-numeric: tabular-nums; }
.prose tbody tr:last-child th, .prose tbody tr:last-child td { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 700; }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; } }

.answer { padding: 18px 22px; border-left: 4px solid var(--gula); background: var(--paper); font-size: 1.12rem; line-height: 1.55; }
.prose > .answer { max-width: 68ch; margin-bottom: 34px; }

/* blok fitur: gambar dan teks bergantian */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; margin: 0 0 clamp(48px, 7vw, 96px); }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.feature--flip img { order: 2; }
.feature h2 { margin-top: 0; }
.feature > div > p { max-width: 52ch; }
.facts { display: grid; margin: 18px 0; padding: 0; list-style: none; }
.facts li { margin: 0; padding: 9px 0; border-top: 1px solid var(--rule); }
.facts li:last-child { border-bottom: 1px solid var(--rule); }
.prose .facts { max-width: 52ch; padding-left: 0; }
.prose .facts--wide { max-width: 780px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.facts--wide li:nth-last-child(2) { border-bottom: 1px solid var(--rule); }
.price { margin: 18px 0 20px; }
.price strong { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; }
@media (max-width: 800px) { .feature { grid-template-columns: 1fr; } .feature--flip img { order: 0; } .prose .facts--wide { grid-template-columns: 1fr; } }

/* galeri */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-wide img { aspect-ratio: auto; height: 100%; min-height: 0; }
.gallery figcaption { padding-top: 8px; font-size: .92rem; color: var(--muted); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .g-wide { grid-column: 1 / -1; } .gallery .g-wide img { aspect-ratio: 16 / 9; } }

/* daftar halaman anak */
.entries { margin: 36px 0 0; padding: 0; list-style: none; }
.entry:last-child { border-bottom: 1px solid var(--rule); }
.entry a { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(20px, 4vw, 40px); align-items: center; padding: 28px 0; border-top: 1px solid var(--rule); color: inherit; text-decoration: none; }
.entry img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.entry h2 { margin: 0 0 10px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); max-width: 26ch; }
.entry p { max-width: 56ch; margin: 0 0 8px; color: var(--muted); }
.entry .entry__meta { font-size: .9rem; }
.entry a:hover h2 { text-decoration: underline; text-decoration-color: var(--gula); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.listing-end { height: clamp(48px, 7vw, 96px); }
.empty { padding: 32px 0; color: var(--muted); }
@media (max-width: 640px) { .entry a { grid-template-columns: 1fr; } }

/* artikel */
.article__cover { width: 100%; aspect-ratio: 21 / 8; margin-bottom: clamp(32px, 5vw, 56px); object-fit: cover; border-radius: 2px; }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose--article > :where(p, ul, ol, h2, h3, blockquote) { max-width: 66ch; }
.prose--article > img { max-width: 100%; }
.article__aside { position: sticky; top: 24px; padding: 28px; background: var(--espresso); color: var(--kertas); border-radius: 4px; }
.article__aside h2 { font-size: 1.45rem; margin-bottom: 10px; }
.article__aside p { color: #E3D0B2; font-size: .98rem; }
.article__aside .btn { width: 100%; text-align: center; margin: 4px 0 14px; }
.article__aside .textlink { color: var(--emas); text-decoration-color: var(--emas); }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } .article__aside { position: static; order: 2; } }

/* ------------------------------------------------------------------- footer */
.site-footer { background: var(--espresso); color: #E3D0B2; }
.batik-strip { height: 20px; background: #3A2417 url("../img/batik-kawung.svg") repeat-x left center / auto 20px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 48px; padding: 64px 0 40px; }
.footer__brand { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.7rem; color: var(--kertas); }
.footer__address { color: #CDB898; }
.footer__title { margin: 0 0 14px; font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--kertas); }
.footer__links { margin: 0; padding: 0; list-style: none; }
.footer__links li { margin: 0 0 8px; }
.site-footer a { color: #E3D0B2; text-decoration-color: rgba(217, 164, 65, .6); }
.site-footer a:hover { color: var(--emas); }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { margin: 0 0 12px; }
.contact-list a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover span { text-decoration: underline; text-decoration-color: rgba(217, 164, 65, .6); }
.contact-list__icon { flex: none; width: 22px; height: 22px; color: var(--emas); }
a.contact-address, span.contact-address { display: inline-flex; align-items: flex-start; gap: 12px; }
.contact-address .contact-list__icon { margin-top: 2px; }
.footer__address .contact-address { color: #CDB898; }
.contact-card { margin: 8px 0 24px; }
.prose .contact-list { padding: 0; margin: 0 0 16px; list-style: none; }
.prose .contact-list li { margin: 0 0 12px; padding: 0; }
.prose .contact-list li::marker { content: none; }
.contact-card__addr { margin: 0 0 16px; }
.contact-card .contact-list__icon { color: var(--sogan); }
.contact-card .contact-list a { color: var(--link); }
.map-embed { position: relative; aspect-ratio: 16 / 9; margin: 20px 0 8px; border: 2px solid var(--espresso); border-radius: 4px; overflow: hidden; background: var(--paper); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 560px) { .map-embed { aspect-ratio: 4 / 3; } }
.footer__hours { margin-top: 16px; font-size: .94rem; color: #CDB898; }
.footer__legal { padding: 20px 0 32px; border-top: 1px solid rgba(244, 232, 212, .14); font-size: .9rem; color: #B8A283; }
.footer__legal p { margin: 0; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; } }

.edit-pill { position: fixed; left: 16px; bottom: 16px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--espresso); color: var(--kertas); font: 700 .9rem var(--font-body); text-decoration: none; border: 2px solid var(--emas); }
.edit-pill:hover { background: var(--emas); color: var(--espresso); }

/* ------------------------------------------------------------- tombol WhatsApp melayang */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 45;
  display: flex; align-items: center; justify-content: center; width: 60px; height: 60px;
  border-radius: 50%; background: #25D366; color: #fff; text-decoration: none;
  box-shadow: 0 6px 18px rgba(42, 26, 18, .35);
  transition: background-color .18s, transform .18s;
}
.wa-float:hover { background: #1EBE5A; color: #fff; transform: translateY(-2px); }
.wa-float:focus-visible { outline: 3px solid var(--espresso); outline-offset: 3px; }
@media (max-width: 420px) {
  .wa-float { right: 12px; bottom: 12px; }
  .edit-pill { left: 12px; bottom: 12px; }
}
body:has(.promo[open]) .wa-float { display: none; }

/* ------------------------------------------------------------- pop up promo */
.promo {
  width: min(92vw, 440px); max-height: min(90vh, 680px); margin: auto; padding: 0; overflow: auto;
  border: 0; border-radius: 4px; background: var(--paper-lt); color: var(--ink);
  box-shadow: 0 24px 60px rgba(42, 26, 18, .45), 0 0 0 2px var(--emas);
}
.promo::backdrop { background: rgba(42, 26, 18, .64); }
.promo[open] { animation: promo-in .28s ease-out; }
@keyframes promo-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
body:has(.promo[open]) { overflow: hidden; }
.promo__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--jati); }
.promo__body { padding: 24px 26px 26px; }
.promo__badge { display: inline-block; margin: 0 0 12px; padding: 3px 11px; border-radius: 99px; background: var(--espresso); color: var(--emas); font: 700 .78rem/1.5 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.promo__title { font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2rem); margin-bottom: .4em; }
.promo__text { margin-bottom: 1.3em; }
.promo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.promo__later { padding: .5em .2em; border: 0; background: none; color: var(--link); font: 700 .95rem var(--font-body); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--gula); text-underline-offset: .2em; cursor: pointer; }
.promo__later:hover { color: var(--espresso); text-decoration-color: var(--espresso); }
.promo__close { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 2px solid var(--emas); border-radius: 50%; background: var(--espresso); color: var(--kertas); cursor: pointer; }
.promo__close:hover { background: var(--emas); color: var(--espresso); }
.promo__close:focus-visible { outline: 3px solid var(--emas); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
