/* Structural CSS shared by all demos. Each hotel sets tokens in theme.css:
   --bg --surface --ink --muted --line --accent --accent-ink --dark --dark-ink --radius --f-display --f-body --gutter */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--f-body, system-ui, sans-serif); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display, inherit); line-height: 1.08; margin: 0 0 .4em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter, clamp(16px, 4vw, 48px)); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.eyebrow { font: 700 12.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.h2 { font-size: clamp(32px, 5vw, 60px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 60ch; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 999; background: #fff; color: #000; padding: 8px 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; background: var(--accent); color: var(--accent-ink); font: 700 16px/1 var(--f-body); padding: 16px 26px; border-radius: var(--btn-radius, 999px); transition: transform .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--sm { padding: 11px 18px; font-size: 15px; }

/* header */
.head { position: sticky; top: 0; z-index: 800; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(12px); transition: box-shadow .3s; }
.head__in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.head.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.brand { font: 800 21px/1 var(--f-display); text-decoration: none; margin-right: auto; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; opacity: .9; } .nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.lng { display: flex; gap: 2px; border: 1px solid currentColor; border-radius: 999px; padding: 2px; opacity: .9; }
.lng button { background: none; border: 0; color: inherit; font: 700 12.5px var(--f-body); padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.lng button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.burger { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; height: 2px; width: 24px; background: currentColor; margin: auto; position: relative; transition: .2s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; } .burger span::before { top: -7px; } .burger span::after { top: 7px; }
@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); color: var(--ink); padding: 8px var(--gutter, 20px) 22px; box-shadow: 0 20px 40px rgba(0,0,0,.18); transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .head__book { display: none; }
}

/* rooms */
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 22px; }
.rm { background: var(--surface); border-radius: var(--radius); overflow: hidden; cursor: pointer; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.rm:hover, .rm:focus-visible { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.rm__img { aspect-ratio: 4/3; overflow: hidden; background: var(--line); } .rm__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; } .rm:hover .rm__img img { transform: scale(1.05); }
.rm__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; } .rm__body h3 { font-size: 24px; } .rm__body p { color: var(--muted); font-size: 15px; flex: 1; }
.rm__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px dashed var(--line); padding-top: 12px; font-size: 14px; color: var(--muted); } .rm__price b { color: var(--ink); font-size: 20px; }
dialog.rd { border: 0; padding: 0; border-radius: var(--radius); width: min(960px, 94vw); max-height: 92dvh; background: var(--bg); color: var(--ink); overflow: auto; }
dialog.rd::backdrop { background: rgba(10,10,15,.65); backdrop-filter: blur(4px); }
dialog.rd[open] { display: grid; grid-template-columns: 1.15fr 1fr; }
.rd__x { position: absolute; top: 10px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #000; font-size: 26px; cursor: pointer; }
.rd__gal > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; } .rd__thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; }
.rd__thumbs button { flex: none; width: 74px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; } .rd__thumbs button[aria-current="true"] { border-color: var(--accent); } .rd__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.rd__body { padding: 28px; display: flex; flex-direction: column; } .rd__body h3 { font-size: 34px; } .rd__f { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; } .rd__f li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
.rd__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; } .rd__p b { font-size: 24px; }
@media (max-width: 760px) { dialog.rd[open] { display: block; } .rd__body { padding: 20px; } }

/* cards, reviews, faq */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.cd { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; } .cd__big { display: block; font: 800 clamp(34px, 4vw, 48px)/1 var(--f-display); color: var(--accent); margin-bottom: 12px; } .cd h3 { font-size: 21px; } .cd p { color: var(--muted); font-size: 15.5px; } .cd__a { font-weight: 700; text-decoration: none; color: var(--accent); }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.rv { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); } .rv blockquote { margin: 0 0 14px; font-size: 17px; line-height: 1.5; } .rv figcaption { font-size: 14px; color: var(--muted); } .rv figcaption b { color: var(--ink); }
.fq { border-bottom: 1px solid var(--line); } .fq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font: 700 18px/1.3 var(--f-body); position: relative; } .fq summary::-webkit-details-marker { display: none; }
.fq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 28px; font-weight: 400; color: var(--accent); transition: transform .25s; } .fq[open] summary::after { transform: rotate(45deg); } .fq div { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* booking */
.bk { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); max-width: 880px; margin-inline: auto; box-shadow: 0 30px 70px rgba(0,0,0,.25); }
.bk__steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; font-size: 14px; font-weight: 700; } .bk__steps li { flex: 1; display: flex; gap: 8px; align-items: center; opacity: .45; padding-bottom: 10px; border-bottom: 3px solid var(--line); } .bk__steps li.is-on { opacity: 1; border-color: var(--accent); }
.bk__steps span { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 12px; flex: none; }
.bk__fields { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 20px; } .bk__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; } .fld > span { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fld input:not([type=checkbox]) { padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: 16px var(--f-body); min-width: 0; } .fld input:focus { border-color: var(--accent); outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.fld--chk { flex-direction: row; align-items: center; grid-column: 1 / -1; margin: 0; } .fld--chk span { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); font-weight: 500; } .fld--chk input { width: 20px; height: 20px; accent-color: var(--accent); }
.stp { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--line); border-radius: 12px; padding: 5px; background: var(--bg); } .stp button { width: 42px; height: 42px; border-radius: 9px; border: 0; background: var(--surface); color: var(--ink); font-size: 22px; cursor: pointer; } .stp output { font-weight: 800; font-size: 18px; }
.bk__rooms { display: grid; gap: 10px; } .bk__room { display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; align-items: center; text-align: left; padding: 8px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); cursor: pointer; font: inherit; } .bk__room:hover:not(:disabled) { border-color: var(--accent); }
.bk__room img { width: 88px; height: 66px; object-fit: cover; border-radius: 9px; } .bk__room small { display: block; color: var(--muted); font-size: 13px; } .bk__tot { text-align: right; padding-right: 8px; font-weight: 800; font-size: 18px; } .bk__room.is-off { opacity: .45; cursor: not-allowed; }
.bk__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; } .bk__sum { padding: 14px 16px; border-radius: 12px; background: var(--bg); margin-bottom: 18px; border: 1px dashed var(--line); } .bk__demo { margin: 12px 0 0; font-size: 13px; color: var(--muted); } .bk__done { text-align: center; padding: 30px 10px; }
@media (max-width: 640px) { .bk__fields, .bk__row { grid-template-columns: 1fr; } .bk__room { grid-template-columns: 64px 1fr; } .bk__room img { width: 64px; height: 52px; } .bk__tot { grid-column: 1 / -1; text-align: left; } .bk__steps li { font-size: 12px; } }

/* misc */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.1,1), transform .8s cubic-bezier(.2,.7,.1,1); } .reveal.in { opacity: 1; transform: none; }
.grid2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px, 5vw, 72px); align-items: center; } @media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; } }
.photo { border-radius: var(--radius); overflow: hidden; } .photo img { width: 100%; height: 100%; object-fit: cover; }
.map { border: 0; width: 100%; height: 100%; min-height: 360px; border-radius: var(--radius); background: var(--line); }
.foot { background: var(--dark); color: var(--dark-ink); padding-block: 56px 90px; } .foot a { color: inherit; } .foot small { opacity: .7; }
.flag { display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.demo-banner { background: #111; color: #fff; font: 600 13px/1.4 system-ui; text-align: center; padding: 7px 12px; position: relative; z-index: 900; }
.demo-banner a { color: #ffd166; }

.pt { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; font-size: 16px; } .pt caption { text-align: left; font: 800 20px var(--f-display); padding: 0 0 12px; }
.pt th, .pt td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); } .pt thead th { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); } .pt td { font-weight: 700; font-variant-numeric: tabular-nums; } .pt tr:last-child > * { border-bottom: 0; } .pt__n { color: var(--muted); font-size: 14px; margin-top: 12px; }
