/* sapa-hotels.com — foglio di stile unico. Token dal design system "oHotel" (tela scheda hotel). */
:root{
  --surface:#f4f7f5;--raised:#fff;--line:#d6dfd9;--line-strong:#8a9690;--ink:#161c24;--muted:#5b6572;
  --brand:#0f5132;--on-brand:#fff;--action:#157347;--action-hover:#0f5132;--on-action:#fff;--sky:#e6f5ec;--sky-2:#d3ecdc;
  --star:#f2a900;--positive:#146c43;--positive-soft:#e3f5ea;--caution:#b3261e;--caution-soft:#fbeae9;--focus:#157347;
  --r-sm:4px;--r-md:8px;--r-lg:12px;--r-pill:999px;
  --shadow-card:0 1px 2px rgba(22,28,36,.08),0 1px 6px rgba(22,28,36,.06);--shadow-pop:0 8px 24px rgba(22,28,36,.16);
  --font:"Source Sans 3","Segoe UI",system-ui,-apple-system,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);font-size:16px;line-height:25px;color:var(--ink);background:var(--surface)}
:lang(ja) body,:lang(ko) body,:lang(zh-Hans) body{font-family:var(--font),"Hiragino Sans","Noto Sans CJK JP","Noto Sans CJK KR","Noto Sans CJK SC","Microsoft YaHei","Malgun Gothic",sans-serif}
h1,h2,h3,h4,p,ul,ol,figure{margin:0}
ul,ol{padding:0;list-style:none}
a{color:var(--action)}a:hover{color:var(--action-hover)}
img{max-width:100%;display:block}
button{font:inherit}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
details>summary{list-style:none;cursor:pointer}details>summary::-webkit-details-marker{display:none}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ── contenitore ── */
.wrap{width:100%;max-width:1280px;margin:0 auto;padding:0 16px}
@media(min-width:1024px){.wrap{padding:0 24px}}

/* ── cabecera ── */
.site-header{background:var(--brand);color:var(--on-brand)}
.site-header .wrap{display:flex;align-items:center;gap:16px;min-height:64px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}
.brand{font-size:24px;font-weight:700;letter-spacing:-.02em;color:#fff;text-decoration:none;white-space:nowrap}
.search{display:flex;gap:8px;flex:1 1 260px;max-width:560px}
.search input{flex:1;height:40px;border-radius:var(--r-md);border:1px solid #fff;padding:0 14px;font:inherit;font-size:16px;background:#fff;color:var(--ink);min-width:0}
.search button{height:40px;padding:0 18px;border-radius:var(--r-md);border:0;background:var(--action);color:#fff;font-weight:600;font-size:14px;cursor:pointer}
.search button:hover{background:var(--action-hover)}
.site-nav{margin-left:auto;display:flex;gap:20px;font-size:14px;font-weight:600;align-items:center}
.site-nav a{color:#fff;text-decoration:none}
.lang{position:relative}
.lang summary{color:#fff;font-weight:600;font-size:14px;display:inline-flex;align-items:center;gap:6px;padding:8px 0}
.lang summary::after{content:"";width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid #fff}
.lang ul{position:absolute;right:0;top:100%;z-index:30;background:var(--raised);color:var(--ink);border:1px solid var(--line);border-radius:var(--r-md);box-shadow:var(--shadow-pop);min-width:180px;padding:6px 0;max-height:70vh;overflow:auto}
.lang li a{display:block;padding:8px 14px;color:var(--ink);text-decoration:none;font-weight:400}
.lang li a:hover,.lang li a[aria-current]{background:var(--sky);color:var(--action)}
@media(max-width:767px){.site-nav{gap:14px}.site-nav .hide-sm{display:none}}

/* ── pie ── */
.site-footer{background:var(--brand);color:#fff;padding:32px 0;margin-top:48px;font-size:14px;line-height:20px}
.site-footer .cols{display:flex;flex-wrap:wrap;justify-content:space-between;gap:24px 40px}
.site-footer .about{max-width:420px;display:flex;flex-direction:column;gap:8px}
.site-footer .about strong{font-size:22px;font-weight:700}
.site-footer .about span{opacity:.85}
.site-footer .col{display:flex;flex-direction:column;gap:6px;min-width:140px}
.site-footer a{color:#fff;text-decoration:none}
.site-footer .fine{opacity:.7;font-size:12px;margin-top:16px;display:block}

/* ── migas ── */
.crumbs{font-size:14px;display:flex;gap:8px;align-items:center;color:var(--muted);flex-wrap:wrap;padding:16px 0 0}
.crumbs a{text-decoration:none}
.crumbs span[aria-current]{color:var(--ink)}

/* ── componentes ── */
.btn{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 24px;background:var(--action);color:var(--on-action);border-radius:var(--r-md);font-size:16px;font-weight:600;text-decoration:none;border:0;cursor:pointer;white-space:nowrap}
.btn:hover{background:var(--action-hover);color:#fff}
.btn-ghost{background:#fff;color:var(--action);border:1px solid var(--action);height:40px;padding:0 16px;font-size:14px}
.btn-ghost:hover{background:var(--sky);color:var(--action)}
.score{display:inline-flex;align-items:center;justify-content:center;min-width:48px;height:40px;padding:0 8px;background:var(--brand);color:#fff;border-radius:4px 4px 4px 0;font-size:20px;font-weight:700;line-height:1}
.score.lg{min-width:56px;height:48px;font-size:24px}
.score.sm{min-width:40px;height:32px;font-size:16px}
.stars{display:inline-flex;gap:3px;vertical-align:middle}
.chip{display:inline-block;padding:4px 12px;border:1px solid var(--line);border-radius:var(--r-pill);font-size:14px;line-height:20px;background:#fff}
.chip.on{border-color:var(--action);color:var(--action);background:var(--sky)}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.card{background:var(--raised);border:1px solid var(--line);border-radius:var(--r-md)}
.card-lg{border-radius:var(--r-lg)}
.muted{color:var(--muted)}
.small{font-size:14px;line-height:20px}
.caption{font-size:12px;line-height:16px}
.sec{display:flex;flex-direction:column;gap:16px}
.sec-h{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding-bottom:8px;border-bottom:2px solid var(--brand)}
.sec-h h2{font-size:22px;line-height:28px;font-weight:600;color:var(--brand)}
.prose{display:flex;flex-direction:column;gap:14px;max-width:720px}
.prose p{margin:0}

/* ── scheda hotel ── */
.hotel-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;padding-top:20px}
.hotel-head .id{display:flex;flex-direction:column;gap:8px;min-width:0}
.hotel-head .meta{display:flex;align-items:center;gap:12px;font-size:14px;color:var(--muted);flex-wrap:wrap}
.hotel-head h1{font-size:36px;line-height:40px;font-weight:700;letter-spacing:-.01em}
.hotel-head .addr{font-size:14px;color:var(--muted);display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.hotel-head .addr a{text-decoration:none}
.hotel-head .cta{display:flex;align-items:center;gap:24px}
.rating-box{display:flex;align-items:center;gap:12px}
.rating-box .lbl{display:flex;flex-direction:column;align-items:flex-end;line-height:20px}
.rating-box .lbl b{font-size:14px;font-weight:600}
.rating-box .lbl span{font-size:12px;color:var(--muted)}
@media(max-width:767px){.hotel-head h1{font-size:28px;line-height:34px}.hotel-head .cta{display:none}}

.gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:220px 220px;gap:8px;border-radius:var(--r-lg);overflow:hidden;margin-top:24px}
.gallery a,.gallery div{position:relative;background:var(--sky-2);display:block;overflow:hidden}
.gallery img{width:100%;height:100%;object-fit:cover}
.gallery .main{grid-column:span 2;grid-row:span 2}
.gallery .more{position:absolute;right:12px;bottom:12px}
@media(max-width:767px){.gallery{display:block;grid-template-rows:none;margin:16px -16px 0;border-radius:0}.gallery .main{aspect-ratio:16/10}.gallery a:not(.main),.gallery div:not(.main){display:none}.gallery .main .more{display:inline-flex}}

.hero-sub{font-size:20px;line-height:28px;max-width:960px;margin-top:24px}
@media(max-width:767px){.hero-sub{font-size:17px;line-height:25px;margin-top:16px}}
.facts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;padding:16px 20px;background:var(--sky);border-radius:var(--r-lg);margin-top:24px}
.facts div{display:flex;flex-direction:column;gap:2px;min-width:0}
.facts .k{font-size:12px;line-height:16px;color:var(--muted)}
.facts .v{font-size:14px;line-height:20px;font-weight:600}
.facts .yes{color:var(--positive)}.facts .no{color:var(--caution)}
@media(max-width:1023px){.facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.facts{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 16px;gap:12px;margin-top:16px}}

.toc{position:sticky;top:0;z-index:20;background:var(--surface);display:flex;gap:8px;border-bottom:1px solid var(--line);padding:12px 0;margin-top:24px;overflow-x:auto;scrollbar-width:none}
.toc::-webkit-scrollbar{display:none}
.toc a{padding:8px 14px;border-radius:var(--r-pill);color:var(--ink);font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap}
.toc a:hover,.toc a.on{background:var(--sky);color:var(--action)}
@media(max-width:767px){.toc{margin:16px -16px 0;padding:10px 16px}}

.cols2{display:grid;grid-template-columns:minmax(0,1fr) 408px;gap:32px;align-items:start;margin-top:24px}
.main-col{display:flex;flex-direction:column;gap:40px;min-width:0}
.side-col{display:flex;flex-direction:column;gap:16px;position:sticky;top:64px}
@media(max-width:1023px){.cols2{grid-template-columns:1fr}.side-col{position:static}}
@media(max-width:767px){.main-col{gap:32px}.sec-forme{order:-1}}

.room{display:grid;grid-template-columns:240px minmax(0,1fr);gap:16px;padding:16px}
.room .pic{display:block;height:170px;border-radius:var(--r-md);overflow:hidden;background:var(--sky)}
.room .pic img{width:100%;height:100%;object-fit:cover}
.room .body{display:flex;flex-direction:column;gap:8px;min-width:0}
.room h3{font-size:18px;line-height:24px;font-weight:600}
.room h3 a{color:var(--ink);text-decoration:none}.room h3 a:hover{color:var(--action);text-decoration:underline}
.room-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.btn-sm{height:36px;padding:0 14px;font-size:14px;flex:none}
.room .specs{display:flex;gap:16px;font-size:14px;color:var(--muted);flex-wrap:wrap}
.room p{font-size:14px;line-height:20px}
.rooms{display:flex;flex-direction:column;gap:12px}
@media(max-width:767px){.room{grid-template-columns:1fr;padding:12px}.room .pic{height:auto;aspect-ratio:4/3}.room-head{flex-direction:column}.pois.pois-2{grid-template-columns:1fr}.map-wide{height:240px}}

.fac-top{display:flex;flex-direction:column;gap:10px;padding:14px 16px;background:var(--sky);border-radius:var(--r-lg)}
.fac-top-h{font-size:12px;line-height:16px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--brand)}
.top-facs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.top-fac{display:flex;align-items:center;gap:10px;padding:12px 14px;font-size:14px;line-height:19px;font-weight:600;min-height:56px}
.top-fac svg{color:var(--brand);flex:none}
.top-fac{font-weight:500}
.fac-cols{columns:4;column-gap:24px}
.fac-group{break-inside:avoid;margin-bottom:14px}
.fac-group h3{font-size:14px;line-height:20px;font-weight:700;color:var(--ink);margin-bottom:2px}
.fac-group li{font-size:13px;line-height:19px;color:var(--ink);padding-left:12px;position:relative}
.fac-group li::before{content:"";position:absolute;left:0;top:8px;width:4px;height:4px;border-radius:50%;background:var(--muted)}
.fac-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.fac-grid .card{padding:16px;display:flex;flex-direction:column;gap:10px}
.fac-grid h3{font-size:16px;font-weight:600;line-height:24px}
.info3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;font-size:14px;line-height:20px}
.info3 .card{padding:12px 16px}
@media(max-width:1023px){.fac-cols{columns:3}.top-facs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.fac-grid,.info3{grid-template-columns:1fr}.fac-cols{columns:2}.top-facs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.top-fac{padding:10px 12px;font-size:13px;min-height:48px}.map-wide{height:320px}}

.loc{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}
.pois.pois-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.map-wide{height:440px}
.map{height:220px;border-radius:var(--r-lg);overflow:hidden;background:var(--sky-2)}
.map iframe{width:100%;height:100%;border:0;display:block}
.pois{display:flex;flex-direction:column;gap:8px;font-size:14px;line-height:20px}
.pois li{display:flex;justify-content:space-between;gap:12px;padding:8px 12px}
.pois li>span:first-child{min-width:0}
.pois li>span:last-child{color:var(--muted);white-space:nowrap;flex:none}
.pois .d{color:var(--muted)}
@media(max-width:1023px){.loc{grid-template-columns:1fr}}

.forme{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;font-size:14px;line-height:20px}
.forme>div{padding:16px 20px;border-radius:var(--r-lg);display:flex;flex-direction:column;gap:10px}
.forme h3{font-size:18px;font-weight:600;line-height:24px}
.forme .yes{background:var(--positive-soft)}.forme .yes h3,.forme .yes b{color:var(--positive)}
.forme .no{background:var(--caution-soft)}.forme .no h3,.forme .no b{color:var(--caution)}
.forme ul{display:flex;flex-direction:column;gap:8px}
.forme li{display:flex;gap:8px}
.forme li b{font-weight:700;flex:none}
@media(max-width:767px){.forme{grid-template-columns:1fr}}

.reviews{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}
.reviews .sum{display:flex;gap:16px;align-items:flex-start}
.bars{display:flex;flex-direction:column;gap:8px;font-size:14px}
.bars div{display:grid;grid-template-columns:130px 1fr 36px;gap:10px;align-items:center}
.bars .bar{height:8px;background:var(--sky);border-radius:var(--r-pill);overflow:hidden;display:block}
.bars .bar i{display:block;height:8px;background:var(--action)}
@media(max-width:1023px){.reviews{grid-template-columns:1fr}}

.faqs{display:flex;flex-direction:column;gap:8px}
.faqs details{background:var(--raised);border:1px solid var(--line);border-radius:var(--r-md)}
.faqs summary{padding:12px 16px;display:flex;justify-content:space-between;gap:16px;font-size:18px;line-height:24px;font-weight:600}
.faqs summary::after{content:"+";color:var(--action);flex:none}
.faqs details[open] summary::after{content:"–"}
.faqs .a{padding:0 16px 16px}
@media(max-width:767px){.faqs summary{font-size:16px;line-height:22px}}

.dsa{padding:16px 20px;font-size:12px;line-height:16px;color:var(--muted);display:flex;flex-direction:column;gap:8px}
.dsa h3{font-size:14px;font-weight:600;color:var(--ink)}

.side-cta{padding:20px;display:flex;flex-direction:column;gap:16px;box-shadow:var(--shadow-card)}
.side-cta .top{display:flex;align-items:center;gap:12px}
.side-cta .top div{display:flex;flex-direction:column;line-height:20px}
.side-cta .top b{font-size:18px;font-weight:600;line-height:24px}
.side-cta ul{display:flex;flex-direction:column;gap:8px;font-size:14px;line-height:20px}
.side-cta li{display:flex;gap:8px}
.side-cta li::before{content:"•";color:var(--action);font-weight:700}
.side-box{padding:16px 20px;display:flex;flex-direction:column;gap:10px;font-size:14px;line-height:20px}
.side-box h3{font-size:16px;font-weight:600;line-height:24px}
.kv{display:grid;grid-template-columns:110px 1fr;gap:6px 12px}
.kv span:nth-child(odd){color:var(--muted)}
.near a{display:flex;justify-content:space-between;gap:8px;text-decoration:none;color:var(--ink)}
.near a b{color:var(--action);font-weight:600}

.mobile-bar{display:none}
@media(max-width:767px){
  body.has-bar{padding-bottom:80px}
  .mobile-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;height:72px;padding:12px 16px;background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 16px rgba(22,28,36,.10);align-items:center;justify-content:space-between;gap:12px}
  .mobile-bar .lbl{display:flex;flex-direction:column;font-size:12px;line-height:16px}
  .mobile-bar .lbl b{font-size:14px}
  .mobile-bar .btn{height:44px;padding:0 20px}
}

/* ── galería completa (dialog) ── */
.photodlg{border:0;padding:0;max-width:min(1100px,96vw);width:100%;background:transparent}
.photodlg::backdrop{background:rgba(22,28,36,.85)}
.photodlg .inner{background:var(--raised);border-radius:var(--r-lg);padding:16px;max-height:92vh;overflow:auto}
.photodlg .bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.photodlg .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}
.photodlg .grid button{padding:0;border:0;background:none;cursor:zoom-in;border-radius:var(--r-md);overflow:hidden}
.photodlg .grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r-md);display:block}
.photodlg .viewer{position:relative;display:flex;align-items:center;justify-content:center;min-height:60vh}
.photodlg .viewer[hidden]{display:none}
.photodlg .viewer figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:8px;max-width:100%}
.photodlg .viewer img{max-width:min(1100px,96vw);max-height:84vh;width:auto;height:auto;border-radius:var(--r-md);background:#000}
.photodlg .viewer figcaption{color:#fff;font-size:14px}
.vbtn{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:var(--ink);font-size:30px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-pop)}
.vbtn:hover{background:#fff}
.vprev{left:8px}.vnext{right:8px}
.vclose{top:12px;right:8px;transform:none;font-size:18px;width:40px;height:40px}
@media(max-width:767px){.vbtn{width:40px;height:40px;font-size:24px}.photodlg .viewer img{max-height:78vh}}

/* ── hub / liste ── */
.hub-hero{padding:32px 0 8px}
.hub-hero h1{font-size:28px;line-height:34px;font-weight:700}
.hub-hero p{color:var(--muted);margin-top:8px;max-width:720px}
@media(min-width:768px){.hub-hero h1{font-size:36px;line-height:40px}}
.pill-list{display:flex;gap:8px;flex-wrap:wrap}
.pill-list a{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border:1px solid var(--line);border-radius:var(--r-pill);background:#fff;color:var(--ink);text-decoration:none;font-size:14px;font-weight:600}
.pill-list a:hover,.pill-list a[aria-current]{border-color:var(--action);color:var(--action);background:var(--sky)}
.pill-list a small{color:var(--muted);font-weight:400}
.grid-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.hcard{display:flex;flex-direction:column;overflow:hidden;text-decoration:none;color:var(--ink);box-shadow:var(--shadow-card)}
.hcard:hover{box-shadow:var(--shadow-pop);color:var(--ink)}
.hcard .pic{aspect-ratio:4/3;background:var(--sky-2);overflow:hidden}
.hcard .pic img{width:100%;height:100%;object-fit:cover}
.hcard .body{padding:12px 16px 16px;display:flex;flex-direction:column;gap:6px;flex:1}
.hcard h3{font-size:18px;line-height:24px;font-weight:600}
.hcard .meta{font-size:14px;color:var(--muted);display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.hcard .ex{font-size:14px;line-height:20px;color:var(--ink)}
.hcard .row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:6px}
.hcard .row .lbl{display:flex;flex-direction:column;align-items:flex-end;font-size:12px;line-height:16px;color:var(--muted)}
.hcard .row .lbl b{font-size:14px;color:var(--ink)}
.list-head{display:flex;flex-direction:column;gap:16px;padding:24px 0 16px}
.zone-text{max-width:760px;display:flex;flex-direction:column;gap:14px}
.sidebar-hub{display:flex;flex-direction:column;gap:24px}
.hub-cols{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px;align-items:start;margin-top:24px}
@media(max-width:1023px){.hub-cols{grid-template-columns:1fr}}
.h2{font-size:22px;line-height:28px;font-weight:600;color:var(--brand)}
