/* /hotel — key fob hero, nightstand QR, baggage belt of guests and a phone that changes language.
   Builds on kvikqr.css tokens (--sky/--on-sky surfaces, --fjord text, --lyn accent, --paper, --raised, --line). */
.hotel-hero{padding:64px 0 72px;overflow:hidden}
.hotel-hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:48px;align-items:center}
.hotel-hero-text{display:flex;flex-direction:column;gap:18px}
.hotel-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}

/* Hotel key: brass ring + a fob that says "welcome" in many languages */
.hotel-key{position:relative;height:340px;display:flex;flex-direction:column;align-items:center;transform-origin:50% 0;animation:hk-swing 6s ease-in-out infinite}
.hotel-key-ring{width:64px;height:64px;border-radius:50%;border:7px solid #C9A227;box-shadow:inset 0 0 0 2px rgba(0,0,0,.12)}
.hotel-key-fob{margin-top:-6px;width:150px;height:250px;border-radius:75px 75px 40px 40px;background:linear-gradient(160deg,#0369A1,#0B2A44);box-shadow:var(--shadow),inset 0 2px 0 rgba(255,255,255,.18);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:#FFFFFF;position:relative}
.hotel-key-fob::before{content:"";position:absolute;top:16px;width:22px;height:22px;border-radius:50%;background:var(--paper);box-shadow:inset 0 2px 3px rgba(0,0,0,.35)}
.hotel-key-fob b{font-family:var(--display);font-size:3.2rem;line-height:1;color:var(--lyn);letter-spacing:.02em}
.hotel-key-words{height:1.6em;overflow:hidden;width:130px;text-align:center;font-weight:600;font-size:.95rem;line-height:1.6em}
.hotel-key-words i{display:block;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;animation:hk-words 16s infinite}
@keyframes hk-swing{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}
@keyframes hk-words{0%,9%{transform:translateY(0)}12.5%,21.5%{transform:translateY(-100%)}25%,34%{transform:translateY(-200%)}37.5%,46.5%{transform:translateY(-300%)}50%,59%{transform:translateY(-400%)}62.5%,71.5%{transform:translateY(-500%)}75%,84%{transform:translateY(-600%)}87.5%,96.5%{transform:translateY(-700%)}100%{transform:translateY(-800%)}}

/* The room: always night, whatever the site theme, so the lamp glow and the phone read the same */
.hd{display:flex;flex-direction:column;gap:20px}
.hd-room{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;padding:48px clamp(20px,5vw,64px);border-radius:var(--r-xl);color:#ECF1EF;background:radial-gradient(circle at 22% 30%,rgba(255,201,60,.32),transparent 42%),linear-gradient(180deg,#0E3354 0%,#0A1520 78%);overflow:hidden;min-height:520px}
.hd-room::after{content:"";position:absolute;left:0;right:0;bottom:0;height:22%;background:linear-gradient(180deg,#3B2A1C,#2A1D13);border-top:3px solid #4E3826;z-index:0}
.hd-tent{position:relative;z-index:1;margin:0;justify-self:center;display:flex;flex-direction:column;align-items:center;gap:14px;transform:translateY(46px)}
.hd-qr{width:min(180px,40vw);height:auto;background:#FFFFFF;border-radius:10px;box-shadow:0 18px 40px rgba(0,0,0,.45);transform:perspective(600px) rotateX(8deg)}
.hd-tent figcaption{font-size:.85rem;font-weight:600;color:#0F1B1E;background:var(--lyn);padding:4px 12px;border-radius:999px}
.hd-beam{position:relative;z-index:1;width:clamp(40px,10vw,120px);height:4px;border-radius:2px;background:repeating-linear-gradient(90deg,var(--lyn) 0 10px,transparent 10px 18px);opacity:.35}
.hd.is-scan .hd-beam{animation:hd-beam .7s linear;opacity:1}
@keyframes hd-beam{from{background-position:0 0}to{background-position:72px 0}}
[dir="rtl"] .hd.is-scan .hd-beam{animation-direction:reverse}

/* Phone */
.hd-phone{position:relative;z-index:1;justify-self:center;width:250px;max-width:100%;aspect-ratio:9/18.5;padding:12px;border-radius:40px;background:#0F1B1E;box-shadow:0 30px 60px rgba(0,0,0,.5),inset 0 0 0 2px #2B3A3D;perspective:900px}
.hd-phone::before{content:"";position:absolute;top:18px;left:50%;width:70px;height:18px;margin-left:-35px;border-radius:12px;background:#0F1B1E;z-index:2}
.hd-screen{height:100%;border-radius:30px;background:#F7F6F2;color:#0F1B1E;overflow:hidden;transform-origin:50% 50%}
.hd.is-flip .hd-screen{animation:hd-flip .45s cubic-bezier(.2,.8,.2,1)}
@keyframes hd-flip{0%{transform:rotateY(80deg);opacity:.3}100%{transform:none;opacity:1}}
.hd-panel{display:flex;height:100%;padding:44px 16px 16px;flex-direction:column;gap:6px;font-size:.82rem;line-height:1.35}
.hd-bar{display:flex;justify-content:space-between;gap:6px;font-family:var(--mono);font-size:.62rem;color:#586468;margin:0 0 6px}
.hd-bar em{font-style:normal;font-family:var(--sans);font-weight:700;background:#FCF0D4;color:#8A5A00;padding:0 6px;border-radius:999px}
.hd-hotel{margin:0;font-family:var(--mono);font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:#0369A1}
.hd-hi{margin:0;font-family:var(--display);font-weight:700;font-size:1.55rem;line-height:1.15;overflow-wrap:anywhere}
.hd-no{margin:0;color:#586468}
.hd-panel ul{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column}
.hd-panel li{display:flex;justify-content:space-between;gap:8px;padding:9px 0;border-top:1px solid #DEDDD5}
.hd-panel li b{white-space:nowrap}
.hd-near{margin:auto 0 0;padding:10px 12px;border-radius:12px;background:#0369A1;color:#FFFFFF;font-weight:600;display:flex;justify-content:space-between;gap:8px}
.hd-near::after{content:"→"}
.hd-panel[dir="rtl"] .hd-near::after{content:"←"}

/* Baggage belt: one luggage tag per guest language, built by hotel.js (native radio group = arrow keys for free) */
.hd-belt{border:0;margin:0;padding:0;min-width:0}
.hd-belt legend{font-weight:600;margin-bottom:10px;padding:0}
.hd-tags{display:flex;gap:12px;overflow-x:auto;padding:18px 16px 22px;scroll-snap-type:x proximity;border-radius:var(--r-lg);background:repeating-linear-gradient(90deg,var(--line) 0 2px,transparent 2px 64px),linear-gradient(180deg,var(--raised),var(--paper));border:1px solid var(--line);scrollbar-width:thin}
.hd-tag{position:relative;flex:0 0 auto;scroll-snap-align:center;display:flex;flex-direction:column;justify-content:center;min-width:128px;min-height:64px;padding:8px 14px;padding-inline-start:30px;border-radius:6px 14px 14px 6px;background:var(--raised);border:1px solid var(--line);box-shadow:0 2px 0 var(--line);cursor:pointer;transition:transform .2s,background-color .2s}
[dir="rtl"] .hd-tag{border-radius:14px 6px 6px 14px}
.hd-tag::before{content:"";position:absolute;inset-inline-start:10px;top:50%;width:10px;height:10px;margin-top:-5px;border-radius:50%;border:2px solid var(--muted);background:var(--paper)}
.hd-tag input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.hd-tag span{font-weight:700;white-space:nowrap}
.hd-tag small{color:var(--muted);white-space:nowrap}
.hd-tag:hover{transform:translateY(-3px)}
.hd-tag:has(:checked){background:var(--lyn);border-color:var(--lyn);color:var(--on-lyn);transform:translateY(-6px) rotate(-2deg);box-shadow:0 8px 16px rgba(15,27,30,.18)}
.hd-tag:has(:checked) small{color:var(--on-lyn)}
.hd-tag:has(:focus-visible){outline:3px solid var(--fjord);outline-offset:3px}
.hd-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.hotel-where{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.hotel-where .ico{flex:none}
.hotel-end{margin-bottom:88px}


@media (max-width:1000px){ .hotel-where{grid-template-columns:repeat(2,1fr)} }
@media (max-width:860px){
  .hotel-hero-grid,.hotel-where{grid-template-columns:1fr}
  .hotel-key{height:220px;transform:scale(.7);margin:-30px auto -40px}
  .hd-room{grid-template-columns:1fr;justify-items:center;padding:32px 16px 0;min-height:0}
  .hd-room::after{display:none}
  .hd-tent{transform:none}
  .hd-beam{width:4px;height:40px;background:repeating-linear-gradient(180deg,var(--lyn) 0 10px,transparent 10px 18px)}
  .hd-phone{width:230px;margin-bottom:-60px}
  .hd-section .hd-belt{margin-top:60px}
}
@media (prefers-reduced-motion:reduce){
  .hotel-key,.hotel-key-words i,.hd.is-scan .hd-beam,.hd.is-flip .hd-screen{animation:none}
  .hd-tag{transition:none}
  .hd-tag:has(:checked),.hd-tag:hover{transform:none}
}
@media (forced-colors:active){
  .hd-tag:has(:checked){outline:3px solid Highlight}
}
