/* =========================================================
   Badjuber Kost — Website publik (promosi)
   ========================================================= */
:root {
  --brand: #0f766e; --brand-600: #0d9488; --brand-700: #115e59; --brand-50: #f0fdfa; --brand-100: #ccfbf1;
  --accent: #f59e0b; --accent-50: #fffbeb;
  --ink: #0b1324; --text: #1e293b; --muted: #64748b; --line: #e2e8f0; --bg: #ffffff; --bg-alt: #f6f8f7;
  --wa: #25d366;
  --radius: 18px; --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18); --shadow-sm: 0 2px 8px rgba(15,23,42,.06);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6rem; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); } .small { font-size: .88rem; } .pre { white-space: pre-line; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.icon.sm { width: 16px; height: 16px; } .icon.xl { width: 56px; height: 56px; stroke-width: 1.4; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.wrap.narrow { max-width: 780px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.85); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; padding-top: env(safe-area-inset-top, 0px); }
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.1rem; }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); color: #fff; display: grid; place-items: center; font-weight: 900; box-shadow: 0 6px 16px -6px rgba(13,148,136,.7); }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:hover { color: var(--brand); }
.btn-cta { background: var(--ink); color: #fff !important; padding: .6rem 1rem; border-radius: 999px; }
.btn-cta:hover { background: var(--brand-700); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem; display: none; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn-cta { text-align: center; margin-top: .75rem; border: 0; padding: .9rem; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.3rem; border-radius: 999px; font: 700 .98rem/1.1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 54px; padding: .9rem 1.6rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(15,118,110,.8); }
.btn-primary:hover { background: var(--brand-700); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand-700); }
.btn-wa { background: var(--wa); color: #053d20; box-shadow: 0 10px 24px -10px rgba(37,211,102,.9); }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 3rem 0 3.5rem; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(600px 400px at 85% 10%, rgba(45,212,191,.28), transparent 60%),
  radial-gradient(500px 380px at 0% 90%, rgba(245,158,11,.18), transparent 60%),
  linear-gradient(180deg, #f0fdfa 0%, #fff 70%); z-index: -1; }
.hero-inner { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero { padding: 5rem 0 5.5rem; } .hero-inner { grid-template-columns: 1.1fr .9fr; } }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); background: var(--brand-50); border: 1px solid var(--brand-100); padding: .35rem .75rem; border-radius: 999px; margin-bottom: 1rem; }
.lead { font-size: clamp(1.02rem, 2.5vw, 1.2rem); color: #475569; max-width: 36rem; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.hero-stats { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.5rem; color: var(--ink); font-weight: 800; }
.hero-stats span { font-size: .82rem; color: var(--muted); }
.hero-photos { position: relative; height: 380px; }
.hero-photos img { position: absolute; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); border: 5px solid #fff; }
.hp-0 { width: 72%; height: 78%; right: 0; top: 0; }
.hp-1 { width: 48%; height: 50%; left: 0; bottom: 0; }
.hp-2 { width: 34%; height: 36%; right: 6%; bottom: -4%; }
.hero-illu { height: 320px; border-radius: 28px; display: grid; place-items: center; color: var(--brand); background: linear-gradient(135deg, var(--brand-100), #fff); box-shadow: var(--shadow); }
.hero-illu .icon.xl { width: 120px; height: 120px; }
@media (max-width: 899px) { .hero-photos { height: 260px; } }

/* Sections */
.section { padding: 4rem 0; }
.section-tight { padding: 2rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 2rem; max-width: 640px; }
.empty-note { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; color: var(--muted); }

.tag { display: inline-flex; align-items: center; gap: .25rem; font-size: .74rem; font-weight: 800; padding: .25rem .6rem; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); }
.tag-green { background: #dcfce7; color: #166534; } .tag-gray { background: #e2e8f0; color: #334155; } .tag-amber { background: #fef3c7; color: #92400e; }
.tag-accent { background: var(--accent); color: #3b2500; }

/* Promo */
.promo-strip { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .promo-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .promo-strip { grid-template-columns: repeat(3, 1fr); } }
.promo-card { display: flex; flex-direction: column; background: linear-gradient(135deg, #fffbeb, #fff); border: 1px solid #fde68a; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.promo-card img { aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }
.promo-body { padding: 1.1rem 1.2rem 1.3rem; }
.promo-body h3 { margin-top: .5rem; }

/* Property cards */
.cards-3 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.prop-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.prop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.prop-cover { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--brand-50), #fff); display: grid; place-items: center; color: var(--brand); }
.prop-cover img { width: 100%; height: 100%; object-fit: cover; }
.prop-cover .tag { position: absolute; left: .8rem; top: .8rem; }
.prop-body { padding: 1rem 1.1rem 1.2rem; }
.prop-meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .92rem; }

/* Room cards */
.filter-chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1.25rem; scrollbar-width: none; }
.filter-chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; border: 1px solid var(--line); background: #fff; color: var(--text); font: 700 .88rem var(--font); padding: .55rem 1rem; border-radius: 999px; cursor: pointer; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.room-list { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .room-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .room-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .room-list { grid-template-columns: repeat(4, 1fr); } }
.room { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.room:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.room.hide { display: none; }
.room-cover { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--brand-50), #fff); display: grid; place-items: center; color: var(--brand); }
.room-cover img { width: 100%; height: 100%; object-fit: cover; }
.room-cover .tag { position: absolute; left: .7rem; top: .7rem; }
.room-body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.room-top { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.room-top h3 { margin: 0; font-size: 1.05rem; }
.room-body p { margin: .2rem 0 .6rem; }
.mini-fac { display: flex; flex-wrap: wrap; gap: .35rem .75rem; font-size: .8rem; color: #475569; margin-bottom: .75rem; }
.mini-fac span { display: inline-flex; align-items: center; gap: .25rem; }
.room-price { margin-top: auto; display: flex; align-items: baseline; gap: .25rem; }
.room-price strong { font-size: 1.2rem; color: var(--brand-700); }
.room-price span { color: var(--muted); font-size: .85rem; }

/* Facilities */
.fac-group + .fac-group { margin-top: 2rem; }
.fac-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; margin-bottom: .9rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.fac-group-head h3 { margin: 0; font-size: 1.05rem; color: var(--ink); }
.fac-group-head span { color: var(--muted); font-size: .85rem; }
.fac-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .fac-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .fac-grid { grid-template-columns: repeat(3, 1fr); } }
.fac-grid.compact { grid-template-columns: 1fr; }
@media (min-width: 560px) and (max-width: 899px) { .fac-grid.compact { grid-template-columns: repeat(2, 1fr); } }
.fac-item { display: flex; align-items: center; gap: .9rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .95rem 1.05rem; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transition: border-color .2s, box-shadow .2s, transform .2s; }
.fac-item:hover { border-color: var(--brand-100); box-shadow: 0 10px 24px -14px rgba(15, 118, 110, .45); transform: translateY(-1px); }
.fac-icon { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--brand-50), var(--brand-100)); color: var(--brand-700); display: grid; place-items: center; flex: 0 0 auto; }
.fac-text { display: flex; flex-direction: column; min-width: 0; }
.fac-name { font-weight: 700; font-size: .96rem; color: var(--ink); line-height: 1.3; }
.fac-desc { font-size: .83rem; color: var(--muted); line-height: 1.4; margin-top: .15rem; }
.section-head p { color: var(--muted); margin: .5rem 0 0; }
@media (prefers-reduced-motion: reduce) { .fac-item, .fac-item:hover { transition: none; transform: none; } }

/* Gallery */
.gallery { display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; cursor: zoom-in; transition: transform .2s; }
.gallery img:hover { transform: scale(1.02); }

/* About & location */
.about-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.loc-list { display: grid; gap: .75rem; }
.loc-item { display: flex; gap: .9rem; background: var(--bg-alt); border-radius: 16px; padding: 1rem 1.1rem; }
.loc-item p { margin: .2rem 0 .4rem; }
.rules { padding-left: 1.2rem; } .rules li { margin-bottom: .3rem; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 1.1rem; margin-bottom: .6rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: #475569; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-inner p { opacity: .9; margin: 0; }

/* Page head & room detail */
.page-head { padding: 2rem 0 1rem; background: linear-gradient(180deg, #f0fdfa, #fff); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.room-detail { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 960px) { .room-detail { grid-template-columns: 1.5fr 1fr; align-items: start; } .room-info { position: sticky; top: 90px; } }
.room-gallery .main-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); cursor: zoom-in; }
.room-gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: .5rem; }
.room-gallery .thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 12px; cursor: zoom-in; }
.photo-placeholder { aspect-ratio: 4 / 3; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand-50), #fff); display: grid; place-items: center; align-content: center; color: var(--brand); text-align: center; }
.room-info { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .6rem; }
.room-info h1 { font-size: 1.8rem; margin: .3rem 0 0; }
.price-big { display: flex; align-items: baseline; gap: .3rem; }
.price-big strong { font-size: 2rem; color: var(--brand-700); font-weight: 800; }
.spec { list-style: none; padding: 0; margin: .25rem 0 .5rem; border-top: 1px solid var(--line); }
.spec li { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec span { color: var(--muted); }

/* Footer */
.site-footer { background: #0b1324; color: #cbd5e1; padding: 3rem 0 calc(1.5rem + var(--safe-b)); }
.site-footer .logo { color: #fff; }
.site-footer h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: #e2e8f0; }
.site-footer .muted { color: #94a3b8; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.copyright { border-top: 1px solid #1e293b; margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; color: #94a3b8; }
.copyright a { color: #94a3b8; }

.wa-float { position: fixed; right: 1rem; bottom: calc(1rem + var(--safe-b)); z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37,211,102,.8); animation: pop .4s ease-out; }
.wa-float svg { width: 32px; height: 32px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

.lightbox { position: fixed; inset: 0; background: rgba(2,6,23,.94); z-index: 100; display: none; align-items: center; justify-content: center; padding: 1rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 10px; object-fit: contain; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-close { top: calc(1rem + env(safe-area-inset-top, 0px)); right: 1rem; }
.lb-prev { left: .75rem; top: 50%; } .lb-next { right: .75rem; top: 50%; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Cek keaslian & keamanan (v1.1) */
.pt-0 { padding-top: 0 !important; }
.verify-card { display: grid; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-sm); }
.verify-card label { font-weight: 700; font-size: .9rem; margin-top: .35rem; }
.verify-card input { font: inherit; font-size: 16px; padding: .75rem .9rem; border: 1px solid #cbd5e1; border-radius: 12px; width: 100%; }
.verify-card input:focus { outline: 2px solid var(--brand-100); border-color: var(--brand); }
.verify-card .btn { margin-top: .5rem; justify-content: center; }
.verify-result { margin-top: 1rem; border-radius: var(--radius); padding: 1rem 1.1rem; border: 1px solid; }
.verify-result.ok { background: #f0fdf4; border-color: #86efac; color: #14532d; }
.verify-result.bad { background: #fef2f2; border-color: #fca5a5; color: #7f1d1d; }
.verify-result.warn { background: #fffbeb; border-color: #fcd34d; color: #78350f; }
.verify-result dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; margin: .75rem 0 0; }
.verify-result dt { font-weight: 600; opacity: .8; } .verify-result dd { margin: 0; font-weight: 700; }
.safety-box { margin-top: 1.5rem; background: var(--bg-alt); border-radius: var(--radius); padding: 1.25rem; }
.safety-box h2 { font-size: 1.1rem; margin-top: 0; }
.safety-box li { margin-bottom: .35rem; }
.footer-safety { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .75rem; margin-top: .5rem; }
