/* HotelPacitan — tampilan publik */
:root{
  --navy:#0b2f55;--sea:#0f6fc6;--teal:#0e9aa7;--sand:#f6a823;--wa:#128c4a;
  --bg:#f4f7fb;--surface:#fff;--line:#e2e9f2;--ink:#172433;--muted:#5a6b7f;
  --radius:16px;--shadow:0 1px 2px rgba(16,36,60,.06),0 8px 24px -12px rgba(16,36,60,.18);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink);background:var(--bg);line-height:1.65}
/* footer tetap di bawah walau isi halaman pendek */
body{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
main{flex:1 0 auto}
h1,h2,h3{font-family:Poppins,Inter,system-ui,"Segoe UI",sans-serif;line-height:1.22;color:var(--navy);letter-spacing:-.015em}
h2{font-size:clamp(1.25rem,2.4vw,1.6rem);margin:1.8rem 0 .8rem}
a{color:var(--sea);text-decoration:none;text-underline-offset:3px}
a:hover{text-decoration:underline}
.content p a{text-decoration:underline;text-decoration-color:rgba(15,111,198,.35)}
.content p a:hover{text-decoration-color:currentColor}
img{max-width:100%;height:auto}
:focus-visible{outline:3px solid var(--sand);outline-offset:2px;border-radius:6px}
.small{font-size:.85rem;color:var(--muted)}
.skip{position:absolute;left:-9999px}.skip:focus{left:.5rem;top:.5rem;background:#fff;padding:.5rem 1rem;z-index:100;border-radius:8px}
.more-links{margin-top:2rem}
.center{text-align:center}

/* header */
.site-header{position:sticky;top:0;z-index:20;background:rgba(11,47,85,.97);backdrop-filter:blur(8px);box-shadow:0 2px 14px rgba(0,0,0,.16)}
.bar{max-width:1180px;margin:0 auto;padding:.7rem 1.2rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem}
.brand{color:#fff;font-weight:800;font-size:1.2rem;text-decoration:none;letter-spacing:-.02em}
.brand{display:inline-flex;align-items:center;min-width:0}
.brand img{display:block;height:28px;width:auto;max-width:100%}
@media (max-width:420px){.brand img{height:22px}}
.site-header nav{display:flex;flex-wrap:wrap;gap:.25rem;font-family:"Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",Arial,sans-serif}
.site-header nav a{display:inline-flex;align-items:center;gap:.5rem;color:#fff;text-decoration:none;padding:.55rem .95rem;border:1px solid transparent;border-radius:99px;font-size:.95rem;font-weight:500;white-space:nowrap}
.site-header nav a:hover{background:rgba(255,255,255,.1)}
.site-header nav a[aria-current="page"]{background:rgba(255,255,255,.12);border-color:#fff}
.site-header nav svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.lang{position:relative;order:3}
.lang summary{list-style:none;cursor:pointer;display:grid;place-items:center;width:40px;height:40px;border-radius:50%}
.lang summary::-webkit-details-marker{display:none}
.lang summary:hover,.lang[open] summary{background:rgba(255,255,255,.14)}
.flag{display:block;width:24px;height:24px;border-radius:50%;box-shadow:0 0 0 1px rgba(255,255,255,.6)}
.lang ul{position:absolute;right:0;top:calc(100% + .4rem);margin:0;padding:.4rem;list-style:none;background:#fff;border-radius:12px;box-shadow:0 18px 40px -12px rgba(0,0,0,.45);min-width:190px;z-index:30}
.lang li a{display:flex;align-items:center;gap:.65rem;padding:.55rem .7rem;border-radius:8px;color:var(--navy);text-decoration:none;font-weight:500;white-space:nowrap}
.lang li a:hover{background:var(--bg)}
.lang li a[aria-current="true"]{background:#e8f1fd;font-weight:700}
.lang .flag{box-shadow:0 0 0 1px rgba(0,0,0,.15)}
.nav-toggle{display:none;background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:99px;padding:.4rem 1rem;font:inherit;cursor:pointer}
@media(max-width:980px){
  .has-toggle .nav-toggle{display:inline-block;order:3}
  .lang{margin-left:auto;order:2}
  .has-toggle nav{order:4}
  .has-toggle nav{display:none;width:100%;flex-direction:column;padding-top:.4rem}
  .has-toggle.open nav{display:flex}
}

/* layout */
.wrap{max-width:1180px;margin:0 auto;padding:1.2rem 1.2rem}
.wrap.narrow{max-width:780px}
.section-head{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:.5rem}
.section-head a{font-weight:600;text-decoration:none}
.intro{color:var(--muted);max-width:72ch}
.breadcrumb{font-size:.88rem;color:var(--muted);margin-bottom:.4rem}
.breadcrumb a{text-decoration:none}

/* hero & kepala halaman */
.hero,.page-head{color:#fff;background:radial-gradient(900px 400px at 85% -10%,rgba(246,168,35,.35),transparent 60%),linear-gradient(135deg,#082540 0%,#0b4f8a 55%,#0e8f9c 100%)}
.hero{padding:4.2rem 0 4.6rem;position:relative;z-index:5;overflow-x:clip;overflow-y:visible;background:linear-gradient(180deg,rgba(6,26,48,.62),rgba(6,32,60,.55) 55%,rgba(6,30,55,.72)),#0b3c6f url(../img/hero.jpg) center 55%/cover no-repeat}
@media(max-width:900px){.hero{background-image:linear-gradient(180deg,rgba(6,26,48,.66),rgba(6,32,60,.6) 55%,rgba(6,30,55,.76)),url(../img/hero-sm.jpg)}}
.hero h1,.hero .lead{text-shadow:0 2px 12px rgba(0,0,0,.55)}
.hero .lead{color:#fff}
.hero-stats li{backdrop-filter:blur(6px)}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:clamp(16px,2.2vw,32px);background:var(--bg);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0 0Q50 38 100 0V20H0Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0 0Q50 38 100 0V20H0Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.hero .wrap{text-align:center}
.hero h1,.page-head h1{color:#fff;margin:.35rem 0 .6rem}
.hero h1{font-size:clamp(1.8rem,4.6vw,3rem);line-height:1.18;max-width:18ch;margin-inline:auto;text-wrap:balance;margin-top:0}
.page-head h1{font-size:clamp(1.6rem,3.6vw,2.3rem)}
.lead{font-size:1.06rem;color:#dbeafa;max-width:62ch;margin:0 auto}
.page-head{padding:.4rem 0 .8rem}
.page-head .lead{margin:0}
.page-head .breadcrumb,.page-head .breadcrumb a{color:#bcd6f0}
.page-head .search{margin:1.2rem 0 0;max-width:640px}
.hero-stats{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;padding:0;margin:1.3rem 0 0}
.hero-stats li{background:rgba(6,26,48,.55);border:1px solid rgba(255,255,255,.2);border-radius:99px;padding:.3rem .95rem;font-size:.92rem}

.search{display:flex;flex-wrap:wrap;gap:.5rem;max-width:900px;margin:1.6rem auto 0;background:#fff;padding:.6rem;border-radius:var(--radius);box-shadow:0 20px 40px -20px rgba(0,0,0,.45)}
.search input,.search select,.filters input,.filters select{padding:.72rem .85rem;border:1px solid var(--line);border-radius:11px;font:inherit;background:#fff;color:var(--ink);min-width:0}
.search input{flex:2 1 220px}.search select{flex:1 1 150px}
.search button,.filters button,.btn{background:var(--sand);color:#241800;border:0;padding:.72rem 1.35rem;border-radius:11px;font:inherit;font-weight:700;cursor:pointer;text-decoration:none;display:inline-block}
.search button:hover,.filters button:hover,.btn:hover{filter:brightness(1.06)}

/* ubin pencarian */
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.8rem;margin:.4rem 0}
.tile{display:flex;flex-direction:column;gap:.15rem;padding:1rem 1.15rem;border-radius:var(--radius);text-decoration:none;color:#fff;box-shadow:var(--shadow);background:linear-gradient(135deg,#0b4f8a,#0f6fc6);transition:transform .18s}
.tile:hover{transform:translateY(-3px)}
.tile span{font-size:.86rem;opacity:.9}
.tile-hotel-di-pacitan{background:linear-gradient(135deg,#20366b,#4457b5)}
.tile-hotel-dekat-pantai{background:linear-gradient(135deg,#0a6b75,#0e8f9c)}
.tile-vila-di-pacitan{background:linear-gradient(135deg,#7a4300,#a85f06)}
.tile[aria-current]{outline:3px solid var(--sand)}

.spots{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.8rem}
.spot{display:flex;flex-direction:column;gap:.1rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1rem 1.15rem;text-decoration:none;color:var(--navy)}
.spot span{font-size:.9rem;color:var(--muted)}
.spot:hover{border-color:var(--sea)}
.chips{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;padding:0;margin:.5rem 0 1.2rem}
.chips a,.chips span{display:inline-block;background:var(--surface);padding:.4rem .95rem;border-radius:99px;text-decoration:none;color:var(--navy);border:1px solid var(--line);font-size:.93rem}
.chips a:hover{border-color:var(--sea);color:var(--sea)}
.chips small{background:var(--bg);border-radius:99px;padding:0 .45rem;margin-left:.25rem;color:var(--muted)}

.filters{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0;padding:.7rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.filters input{flex:2 1 200px}.filters select{flex:1 1 140px}
.count{color:var(--muted)}.empty{padding:2rem;background:var(--surface);border:1px dashed var(--line);border-radius:var(--radius);text-align:center}

/* kartu */
.grid{display:grid;grid-template-columns:1fr;gap:1.3rem}
@media(min-width:600px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:920px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--surface);display:flex;flex-direction:column;box-shadow:var(--shadow);transition:transform .18s,box-shadow .18s}
.card:hover{transform:translateY(-3px);box-shadow:0 18px 34px -16px rgba(16,36,60,.35)}
.card-img{position:relative;display:block}
.card-img img{display:block;width:100%;aspect-ratio:20/13;object-fit:cover;background:var(--bg)}
.tag-cat{position:absolute;left:.7rem;top:.7rem;background:rgba(255,255,255,.94);color:var(--navy);font-size:.75rem;font-weight:700;border-radius:99px;padding:.15rem .7rem}
.card-body{padding:.95rem 1rem 1rem;display:flex;flex-direction:column;gap:.18rem;flex:1}
.card h3{margin:0;font-size:1.05rem}
.card h3 a{color:var(--navy);text-decoration:none}
.card h3 a:hover{color:var(--sea)}
.meta{font-size:.82rem;color:var(--muted);margin:0}
.address{font-size:.87rem;color:var(--muted);margin:.1rem 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.price{color:var(--navy);font-weight:700;margin:.25rem 0}
.price.big{font-size:1.5rem}.price.big small{font-weight:400;font-size:.85rem;color:var(--muted)}
.badge{display:inline-block;font-size:.75rem;padding:.1rem .55rem;border-radius:6px;background:#eef;margin-right:.3rem}
.badge.ok{background:#dcfce7;color:#14532d}.badge.demo{background:#fff3cd;color:#664d03}
.card-actions{display:flex;gap:.5rem;margin-top:auto;padding-top:.55rem}
.card-actions>a{flex:1;text-align:center}
.btn-wa,.wa-float,.btn-call{background:var(--wa);color:#fff!important;font-weight:700;text-decoration:none;border-radius:11px}
.btn-call{background:var(--sea)}
.btn-wa,.btn-call{display:inline-block;padding:.55rem .9rem;text-align:center}
.btn-wa:hover,.btn-call:hover,.wa-float:hover{filter:brightness(1.08)}
.btn-wa.block{display:block;margin-top:1rem}
.btn-ghost{display:inline-block;padding:.5rem .9rem;border:1px solid var(--line);border-radius:11px;text-decoration:none;font-weight:600;color:var(--navy);background:var(--surface)}
.btn-ghost:hover{border-color:var(--sea);color:var(--sea)}
.btn-book{display:block;margin-top:.6rem;padding:.55rem .9rem;text-align:center;background:var(--navy);color:#fff;font-weight:700;text-decoration:none;border-radius:11px}
.btn-book:hover{background:var(--sea)}

.pagination{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:center;margin:1.7rem 0}
.pagination a{padding:.45rem .85rem;border:1px solid var(--line);background:var(--surface);border-radius:10px;text-decoration:none}
.pagination a.active{background:var(--navy);color:#fff;border-color:var(--navy)}

/* tabel, tips, tanya jawab */
.table-wrap{overflow-x:auto;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}
.price-table{width:100%;border-collapse:collapse;font-size:.95rem}
.price-table th,.price-table td{text-align:left;padding:.65rem 1rem;border-bottom:1px solid var(--line)}
.price-table tr:last-child td{border-bottom:0}
.price-table th{background:#eaf2fb;color:var(--navy)}
.tips{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}
.tip{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:.2rem 1.1rem}
.tip h3{font-size:1rem;margin:.9rem 0 .2rem}.tip p{margin:.2rem 0 .9rem;color:var(--muted)}
.faq details{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:.75rem 1rem;margin-bottom:.55rem}
.faq summary{cursor:pointer;font-weight:600;color:var(--navy)}
.faq p{margin:.5rem 0 0}

/* detail */
.gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;margin:1rem 0}
.gallery a{display:block;cursor:zoom-in}
.gallery a img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius)}
.gallery a.cover{grid-column:1/-1}
.gallery a.cover img{aspect-ratio:16/9;max-height:460px}
.gallery img.ph{grid-column:1/-1;width:100%;max-width:560px;aspect-ratio:20/13;object-fit:cover;border-radius:var(--radius)}
.lightbox{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;background:rgba(5,15,30,.94)}
.lightbox[hidden]{display:none}
.lightbox img{max-width:92vw;max-height:84vh;border-radius:8px}
.lightbox button{position:absolute;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;font-size:1.6rem;line-height:1;cursor:pointer}
.lightbox button:hover,.lightbox button:focus-visible{background:rgba(255,255,255,.35)}
.lightbox .lb-close{top:1rem;right:1rem}
.lightbox .lb-prev{left:.8rem;top:calc(50% - 22px)}
.lightbox .lb-next{right:.8rem;top:calc(50% - 22px)}
.lightbox .lb-count{position:absolute;bottom:1rem;left:0;right:0;text-align:center;color:#fff;font-size:.9rem}
.notice{padding:.75rem 1rem;border-radius:12px;background:#eef2f7;border-left:4px solid #94a3b8}
.notice.demo{background:#fff3cd;border-color:var(--sand)}.notice.ok{background:#dcfce7;border-color:#22c55e}
.detail-cols{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:880px){.detail-cols{grid-template-columns:2fr 1fr}.detail-side{position:sticky;top:5rem}}
.detail-side{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);padding:1.2rem;border-radius:var(--radius);align-self:start}
.detail-side h2{margin-top:0}
.facts{display:grid;grid-template-columns:120px 1fr;gap:.45rem 1rem;margin:0 0 1rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1rem}
.facts dt{color:var(--muted)}.facts dd{margin:0}
.rooms{padding-left:1.1rem}
.content img{border-radius:12px}.featured{width:100%;border-radius:var(--radius)}
.content table{border-collapse:collapse;width:100%}.content td,.content th{border:1px solid var(--line);padding:.4rem}

.cta{background:linear-gradient(135deg,#0b2f55,#0b4f8a);color:#fff;text-align:center;padding:2.6rem 1.2rem;margin-top:1.6rem}
.cta h2{color:#fff;margin-top:0}

/* formulir */
.form{display:grid;gap:.9rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.3rem;box-shadow:var(--shadow)}
.form label{display:grid;gap:.25rem;font-weight:600}
.form input,.form textarea{padding:.7rem .85rem;border:1px solid #c6d2e0;border-radius:11px;font:inherit;font-weight:400}
.hp{position:absolute;left:-9999px;height:0;overflow:hidden}
.errors{background:#fee2e2;color:#7f1d1d;padding:.8rem 1.4rem;border-radius:12px}
.flash{background:#dcfce7;color:#14532d;padding:.8rem 1.2rem;text-align:center}

.wa-float{position:fixed;right:1rem;bottom:calc(5rem + env(safe-area-inset-bottom));padding:.85rem 1.2rem;box-shadow:0 8px 20px rgba(0,0,0,.28);z-index:30;border-radius:99px}
@media(min-width:880px){.wa-float{display:none}}

.site-footer{background:#071f38;color:#bcd2ea;padding:2rem 1.2rem;text-align:center;margin-top:2.4rem}
.cta+.site-footer,main:has(>.cta:last-child)+.site-footer{margin-top:0}
.site-footer a{color:#dbe8f7;text-decoration:none;transition:color .15s}
.site-footer a:hover{color:var(--sand);text-decoration:none}
.foot-links{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem 1.4rem;font-weight:600}
.site-footer .small{color:#8fabc9}

/* ulasan pengunjung */
.reviews{margin-top:2rem;scroll-margin-top:5rem}
.score{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}
.score strong{font-size:2rem;color:var(--navy)}
.stars{color:#f6a823;letter-spacing:.08em;white-space:nowrap}
.stars span{color:#d5dde8}
.btn-google{display:inline-flex;align-items:center;gap:.65rem;background:#fff;border:1px solid #c7d0dd;border-radius:11px;padding:.65rem 1.1rem;color:#1f2937;font-weight:600;text-decoration:none}
a.btn-google:hover{border-color:#4285f4;box-shadow:var(--shadow)}
.btn-google.off{opacity:.55;cursor:not-allowed}
.review-form{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1rem 1.15rem;margin:.8rem 0}
.review-form textarea{display:block;width:100%;box-sizing:border-box;padding:.7rem .85rem;border:1px solid var(--line);border-radius:11px;font:inherit}
.rate{display:flex;flex-direction:row-reverse;justify-content:flex-end;border:0;padding:0;margin:0 0 .6rem}
.rate legend{float:left;width:100%;padding:0}
.rate input{position:absolute;opacity:0}
.rate label{font-size:2rem;line-height:1.2;color:#d5dde8;cursor:pointer;padding:0 .1rem}
.rate input:checked~label,.rate label:hover,.rate label:hover~label{color:#f6a823}
.rate input:focus-visible+label{outline:3px solid var(--sea);border-radius:6px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.review-actions{display:flex;gap:.6rem;flex-wrap:wrap}
.btn-action{display:inline-flex;align-items:center;gap:.5rem;background:var(--surface);border:1px solid var(--line);border-radius:99px;padding:.55rem 1.1rem;color:var(--navy);font:inherit;font-size:.92rem;font-weight:600;cursor:pointer;box-shadow:0 1px 2px rgba(16,36,60,.06);transition:background .15s,border-color .15s,transform .15s}
.btn-action:hover{border-color:var(--sea);color:var(--sea);transform:translateY(-1px)}
.btn-action.danger{color:#b42318;border-color:#f3c7c2;background:#fff6f5}
.btn-action.danger:hover{background:#b42318;border-color:#b42318;color:#fff}
.btn-action svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.meta-tags{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;margin:0 0 .9rem}
.meta-tags a,.meta-tags span{background:var(--surface);border:1px solid var(--line);border-radius:99px;padding:.25rem .85rem;font-size:.85rem;font-weight:600;color:var(--navy);text-decoration:none}
.meta-tags a:hover{border-color:var(--sea);color:var(--sea)}
.review{border-top:1px solid var(--line);padding:.7rem 0}
.review p{margin:.2rem 0}
.review-text{overflow-wrap:anywhere}
.notice.err{background:#fee2e2;color:#7f1d1d}

/* Formulir laporan & tautan laporan di halaman penginapan */
.form select{padding:.7rem .85rem;border:1px solid #c6d2e0;border-radius:11px;font:inherit;font-weight:400;background:#fff}
.form .hint{font-weight:400;color:var(--muted);font-size:.85rem}
.form .check{display:flex;gap:.6rem;align-items:flex-start;font-weight:400}
.form .check input{margin-top:.25rem;width:18px;height:18px;flex:none}
.report-links{display:flex;flex-wrap:wrap;gap:.35rem 1rem;align-items:center;margin:.75rem 0 0;padding:.7rem 1rem;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:.9rem}
.report-links a{font-weight:600}
.guide p{line-height:1.7;margin:.6rem 0}
.guide a,.faq a{font-weight:600}

/* Pencarian instan */
form.has-suggest{position:relative}
.suggest{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:40;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 40px -12px rgba(11,47,85,.35);padding:.4rem;max-height:min(70vh,520px);overflow-y:auto;text-align:left}
.suggest.loading{opacity:.7}
.sg-h{margin:.45rem .6rem .25rem;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.sg-item{display:flex;align-items:center;gap:.75rem;padding:.5rem .6rem;border-radius:10px;text-decoration:none;color:var(--ink)}
.sg-item:hover,.sg-item.on{background:#eef5fd}
.sg-item img{width:52px;height:40px;border-radius:8px;object-fit:cover;flex:none;background:#eef2f7}
.sg-tx{display:flex;flex-direction:column;min-width:0;flex:1}
.sg-tx strong{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-tx small{color:var(--muted);font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-tx mark{background:#fff1c2;color:inherit;border-radius:3px;padding:0 1px}
.sg-price{font-size:.82rem;font-weight:700;color:var(--navy);white-space:nowrap}
.sg-badge{flex:none;min-width:5.6rem;text-align:center;font-size:.72rem;font-weight:700;padding:.25rem .5rem;border-radius:99px;background:#e7f0fb;color:var(--sea)}
.sg-empty{margin:.6rem;color:var(--muted);font-size:.92rem}
.sg-all{display:block;width:100%;margin-top:.3rem;padding:.65rem;border:0;border-top:1px solid var(--line);background:none;color:var(--sea);font:inherit;font-weight:700;cursor:pointer;border-radius:0 0 10px 10px}
.sg-all:hover{background:#f5f9fe}
@media(max-width:560px){.sg-price{display:none}.sg-badge{min-width:0}}

/* Mode admin di halaman publik (disisipkan oleh site.js hanya untuk admin yang login) */
.edit-inline{display:inline-flex;gap:.35rem;vertical-align:middle;margin-left:.6rem;font-size:0}
.edit-inline a{display:inline-flex;align-items:center;gap:.3rem;padding:.3rem .65rem;border:1px solid var(--line);border-radius:99px;background:#fff;color:var(--navy);text-decoration:none;font-size:.8rem;font-weight:700;line-height:1.2;letter-spacing:0}
.edit-inline a:hover{border-color:var(--sea);color:var(--sea)}
.edit-inline a.primary{background:var(--sand);border-color:var(--sand);color:#241800}
.edit-inline a.primary:hover{filter:brightness(1.06);color:#241800}
.edit-inline svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Kotak untuk pengelola penginapan */
.owner-box{margin-top:1.1rem;padding:1rem;border-radius:12px;background:#fff8e6;border:1px solid #f6d58a}
.owner-box h3{margin:0 0 .3rem;font-size:1rem;color:var(--navy)}
.owner-box p{margin:0 0 .75rem;font-size:.88rem;color:#5b4a1e}
.btn-owner{display:block;text-align:center;padding:.6rem .8rem;border-radius:10px;font-weight:700;font-size:.9rem;text-decoration:none;background:#fff;color:var(--navy);border:1px solid #e9c46a;margin-top:.45rem}
.btn-owner:hover{background:#fffdf5}
.btn-owner.wa{background:var(--wa);border-color:var(--wa);color:#fff}
.btn-owner.wa:hover{filter:brightness(1.08);background:var(--wa)}
.notice a{font-weight:700;white-space:nowrap}

/* Formulir laporan: wajib login Google */
.login-gate h2{margin:0;font-size:1.2rem;color:var(--navy)}
.login-gate p{margin:0}
.login-gate .btn-google{justify-self:start}
.form .who{display:flex;align-items:center;gap:.75rem;padding:.75rem .9rem;border:1px solid var(--line);border-radius:12px;background:#f6f9fd}
.form .who svg{flex:none}
.form .who span{display:flex;flex-direction:column;line-height:1.3;flex:1;min-width:0}
.form .who small{color:var(--muted);font-size:.78rem}
.form .who em{font-style:normal;color:var(--muted);font-size:.88rem;overflow:hidden;text-overflow:ellipsis}
.form .who a{font-weight:600;font-size:.88rem;white-space:nowrap}
.form .verified-mgr{margin:0;padding:.6rem .85rem;border-radius:10px;background:#ecfdf3;color:#166534;font-size:.9rem}
.form .verified-mgr a{font-weight:700;margin-left:.4rem}
.form .req{color:#c0262d;font-weight:700}
.form .locked-field{display:grid;gap:.25rem}
.form .lf-label{font-weight:600}
.form .lf-value{display:block;padding:.7rem .85rem;border:1px dashed #c6d2e0;border-radius:11px;background:#f6f9fd;color:var(--ink);font-weight:400;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.form .lf-value:hover{border-color:var(--sea);color:var(--sea)}

/* Halaman konfirmasi pengajuan */
.done-card{margin:2rem 0 3rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:2rem 1.6rem;text-align:center}
.done-ic{width:64px;height:64px;margin:0 auto 1rem;border-radius:50%;background:#dcfce7;display:grid;place-items:center}
.done-ic svg{width:34px;height:34px;fill:none;stroke:#16a34a;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.done-card h1{margin:0 0 .4rem}
.done-lead{margin:0 auto 1.4rem;color:var(--muted);max-width:52ch}
.done-sum{display:grid;grid-template-columns:auto 1fr;gap:.45rem 1.2rem;text-align:left;max-width:440px;margin:0 auto 1.2rem;padding:1rem 1.2rem;background:#f6f9fd;border:1px solid var(--line);border-radius:12px}
.done-sum dt{color:var(--muted);font-size:.9rem}
.done-sum dd{margin:0;font-weight:500;overflow-wrap:anywhere}
.done-note{max-width:440px;margin:0 auto 1.2rem;padding:.65rem .9rem;border-radius:10px;font-size:.92rem}
.done-note.ok{background:#ecfdf3;color:#166534}
.done-card h2{font-size:1.05rem;margin:1.4rem 0 .5rem}
.done-steps{text-align:left;max-width:440px;margin:0 auto 1.6rem;padding-left:1.2rem;line-height:1.6}
.done-steps li{margin:.3rem 0}
.done-act{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center}
.btn-ghost{display:inline-block;padding:.72rem 1.2rem;border:1px solid var(--line);border-radius:11px;color:var(--navy);font-weight:600;text-decoration:none;background:#fff}
.btn-ghost:hover{border-color:var(--sea);color:var(--sea)}

/* Portal pengelola */
.portal-msg{padding:.8rem 1rem;border-radius:12px;margin:0 0 1rem}
.portal-msg.ok{background:#dcfce7;color:#14532d}.portal-msg.err{background:#fee2e2;color:#7f1d1d}.portal-msg.wait{background:#fff7e0;color:#6b4e0a;border:1px solid #f6d58a}
.portal-who{display:flex;align-items:center;gap:.75rem;padding:.8rem 1rem;border:1px solid var(--line);border-radius:12px;background:var(--surface);margin-bottom:1.2rem}
.portal-who span{display:flex;flex-direction:column;flex:1;min-width:0;line-height:1.3}
.portal-who small,.portal-who em{color:var(--muted);font-size:.82rem;font-style:normal}
.portal-who form{margin:0}
.linkish{background:none;border:0;color:var(--sea);font:inherit;font-weight:600;cursor:pointer;padding:0}
.portal-h{margin:.5rem 0 .6rem}
.portal-list{list-style:none;margin:0;padding:0;display:grid;gap:.7rem}
.portal-list li{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;padding:1rem;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:var(--shadow)}
.portal-list li>div{display:flex;flex-direction:column;gap:.25rem;min-width:0}
.portal-list small{color:var(--muted)}
.portal-act{display:flex;gap:.5rem;flex-wrap:wrap}
.pstat{align-self:flex-start;font-size:.75rem;font-weight:700;padding:.15rem .6rem;border-radius:99px}
.pstat.wait{background:#fff1d6;color:#8a5300}.pstat.ok{background:#dcfce7;color:#166534}.pstat.no{background:#fee2e2;color:#991b1b}
.portal-form fieldset{border:1px solid var(--line);border-radius:12px;padding:.9rem 1rem 1rem;margin:0;display:grid;gap:.75rem}
.portal-form legend{font-weight:700;color:var(--navy);padding:0 .4rem}
.portal-form .two{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem}
.room-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:.6rem;padding-bottom:.75rem;border-bottom:1px dashed var(--line)}
.room-row .full{grid-column:1/-1}
@media(max-width:560px){.room-row{grid-template-columns:1fr 1fr}.room-row label:first-child{grid-column:1/-1}}
.fac-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:.35rem .8rem}
.fac-grid .check{font-weight:400}
.ph-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.6rem}
.ph{display:flex;flex-direction:column;gap:.3rem;font-weight:400;font-size:.85rem}
.ph img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;background:#eef2f7}
.portal-submit{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}
.owner-portal{margin:.6rem 0 0!important;font-size:.85rem!important;text-align:center}.owner-portal a{font-weight:700}
.claim-box{border-color:#a7e3bd;background:#f6fef9}
.claim-box h2{margin:0;font-size:1.15rem;color:var(--navy)}
.claim-box p{margin:0}
.claim-row{display:flex;gap:.6rem;flex-wrap:wrap}
.claim-row input{flex:1 1 160px;font-size:1.5rem;letter-spacing:.4em;text-align:center;font-weight:700;padding:.6rem;border:1px solid #c6d2e0;border-radius:11px}

/* Jumlah dilihat di halaman penginapan */
.meta-tags .views{display:inline-flex;align-items:center;gap:.35rem;background:transparent;border-color:transparent;color:var(--muted,#64748b);font-weight:500;padding-left:.3rem}
.meta-tags .views svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Tombol pemesanan per platform (warna mengikuti identitas masing-masing platform) */
.bk-tiket{--bk:#0064d2}.bk-booking{--bk:#003580}.bk-traveloka{--bk:#0194f3}.bk-agoda{--bk:#5c2d91}
.book-list{margin-top:1rem;padding-top:.9rem;border-top:1px dashed var(--line)}
.book-h{margin:0 0 .1rem;font-size:.8rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.btn-book{display:flex;align-items:center;justify-content:center;gap:.45rem;background:var(--bk,var(--navy))}
.btn-book svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.85}
.btn-book:hover{background:var(--bk,var(--sea));filter:brightness(1.12)}
.card-book{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;margin:.1rem 0 .8rem;font-size:.78rem;color:var(--muted)}
.card-book>span{margin-right:.1rem}
.bk-chip{display:inline-block;padding:.18rem .6rem;border:1px solid var(--bk);border-radius:99px;color:var(--bk);font-weight:700;text-decoration:none;line-height:1.4;background:#fff;transition:background .15s,color .15s}
.bk-chip:hover{background:var(--bk);color:#fff}

/* favorit */
.card{position:relative}
.fav{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;cursor:pointer;font:inherit;font-weight:600;color:var(--navy);background:rgba(255,255,255,.95);border:1px solid var(--line);border-radius:99px}
.fav[hidden],.fav-count[hidden]{display:none}
.fav svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.fav[aria-pressed="true"] svg{fill:#e11d48;stroke:#e11d48}
.fav:hover{border-color:#e11d48}
.card>.fav{position:absolute;top:.6rem;right:.6rem;z-index:2;width:38px;height:38px;padding:0;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.fav-wide{padding:.5rem 1rem;margin:0 0 1rem}
.fav-count{background:var(--sand);color:var(--navy);border-radius:99px;font-size:.72rem;font-weight:700;line-height:1;padding:.2rem .4rem}
@media(min-width:981px){.has-toggle .nav-fav .fav-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}

/* header satu baris di layar lebar: logo, menu, bahasa */
@media(min-width:981px){
  .bar{flex-wrap:nowrap;gap:.5rem}
  .brand{flex:0 1 auto}
  .brand img{height:26px}
  .site-header nav{flex-wrap:nowrap;flex:0 0 auto;gap:.125rem;margin-left:auto}
  .site-header nav a{gap:.35rem;padding:.5rem .6rem;font-size:.9rem}
  .site-header nav svg{width:18px;height:18px}
  .lang{flex:none}
}
/* layar agak sempit: ikon menu disembunyikan agar tetap muat */
@media(min-width:981px) and (max-width:1180px){
  .site-header nav a{padding-left:.5rem;padding-right:.5rem}
  .site-header nav svg{display:none}
}

/* bilah menu bawah */
body{padding-bottom:calc(4.2rem + env(safe-area-inset-bottom))}
.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:25;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 18px -8px rgba(16,36,60,.25);padding-bottom:env(safe-area-inset-bottom);font-family:"Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",Arial,sans-serif}
.bottom-nav a{position:relative;display:flex;flex-direction:column;align-items:center;gap:.15rem;padding:.55rem .3rem .45rem;color:#555e6b;text-decoration:none;font-size:.8rem;line-height:1.2;text-align:center}
.bottom-nav a:hover,.bottom-nav a[aria-current="page"]{color:#0a66d6}
.bottom-nav a[aria-current="page"]{font-weight:600}
.bottom-nav svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.bottom-nav .fav-count{position:absolute;top:.3rem;left:calc(50% + .45rem)}
.bottom-nav a.nav-login.is-admin::after{content:"";position:absolute;top:.4rem;left:calc(50% + .6rem);width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 2px #fff}
@media print{.bottom-nav{display:none}body{padding-bottom:0}}

/* tombol menu HP: ikon garis tiga, berubah menjadi tanda silang saat terbuka */
.has-toggle .nav-toggle{padding:0;width:42px;height:42px;border-radius:12px;place-items:center}
@media(max-width:980px){.has-toggle .nav-toggle{display:inline-grid}}
.nav-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.nav-toggle .ic-close,.nav-toggle[aria-expanded="true"] .ic-open{display:none}
.nav-toggle[aria-expanded="true"] .ic-close{display:inline}

/* tombol Cari di tengah saat turun ke baris sendiri */
.hero .search{justify-content:center}
.hero .search button{min-width:160px;text-align:center}
@media(min-width:900px){.hero .search button{min-width:0}}

/* formulir pendaftaran penginapan */
.form fieldset{display:grid;gap:.9rem;border:0;border-top:1px solid var(--line);margin:0;padding:.9rem 0 0;min-width:0}
.form legend{float:left;width:100%;padding:0;font-weight:700;font-size:1.08rem;color:var(--navy)}
.form legend+*{clear:both}
.form .cols{display:grid;gap:.9rem;align-items:end}
.form .checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.6rem}
.form input,.form select,.form textarea{min-width:0;width:100%;box-sizing:border-box}
.form .check input{width:18px}
@media(min-width:640px){.form .cols{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* baris tipe kamar di formulir pendaftaran */
.form p.hint{margin:0}
.room-list{display:grid;gap:.9rem;counter-reset:kamar}
.reg-room{display:grid;gap:.75rem;border:1px solid var(--line);border-radius:12px;padding:.9rem;background:#f6f9fd;counter-increment:kamar;min-width:0}
.room-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem;color:var(--navy)}
.room-head strong::after{content:" " counter(kamar)}
.room-del{background:none;border:0;color:#c0262d;font:inherit;font-weight:600;cursor:pointer;padding:.2rem .4rem}
.room-add{justify-self:start;background:#fff;border:1px dashed var(--sea);color:var(--sea);border-radius:11px;padding:.65rem 1.1rem;font:inherit;font-weight:700;cursor:pointer}
.room-del[hidden],.room-add[hidden]{display:none}

/* formulir pendaftaran selebar header */
.reg-page .intro{max-width:none}
.room-list,.reg-page .form,.reg-page .form fieldset{grid-template-columns:minmax(0,1fr)}
@media(min-width:900px){.reg-page .form .reg-room-cols{grid-template-columns:2fr 1.3fr 1fr 1fr}}

/* pilihan fasilitas per tipe kamar */
.room-fac{display:grid;gap:.4rem}
.chips-check{display:flex;flex-wrap:wrap;gap:.45rem}
.form label.pick{display:inline-flex;align-items:center;gap:.45rem;font-weight:500;background:#fff;border:1px solid #c6d2e0;border-radius:99px;padding:.4rem .85rem;cursor:pointer}
.form label.pick input{width:17px;height:17px;margin:0;flex:none}
.form label.pick:focus-within{border-color:var(--sea)}
.form label.pick:has(input:checked){background:#e8f1fd;border-color:var(--sea);color:var(--navy);font-weight:600}

/* foto kamar di formulir pendaftaran */
.form input[type="file"]{background:#fff;padding:.55rem}

/* unggah foto kamar dengan pratinjau */
.photo-box{display:grid;gap:.4rem;border-radius:12px}
.photo-box.drag{outline:2px dashed var(--sea);outline-offset:4px}
.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,180px));gap:.7rem}
.photo-item{position:relative;margin:0;aspect-ratio:4/3;border-radius:12px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);background:#fff}
.photo-item canvas{display:block;width:100%;height:100%}
.photo-del{position:absolute;top:.35rem;right:.35rem;width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(6,26,48,.72);color:#fff;font-size:1.25rem;line-height:1;cursor:pointer}
.photo-del:hover{background:#c0262d}
.form .photo-add{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;aspect-ratio:4/3;border:2px dashed #b7c7db;border-radius:12px;background:#fff;color:var(--sea);cursor:pointer;text-align:center}
.form .photo-add:hover,.form .photo-add:focus-within{border-color:var(--sea);background:#eef6ff}
.form .photo-add[hidden]{display:none}
.photo-plus{font-size:2rem;line-height:1;font-weight:400}
.js-photos .photo-add input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;padding:0}
/* tanpa JavaScript: tampilkan kolom pilih berkas biasa */
.room-list:not(.js-photos) .photo-grid{grid-template-columns:minmax(0,1fr)}
.form .room-list:not(.js-photos) .photo-add{aspect-ratio:auto;padding:.8rem}
.photo-status{font-size:.85rem;font-weight:600;color:#b45309}
.photo-status:empty{display:none}
