/* Device layouts: shared by every guest page. Loaded after the visual theme. */
:root {
  --layout-width: 1280px;
  --page-gutter: clamp(18px, 3.2vw, 64px);
  --header-height: 130px;
}
html { scroll-padding-top: calc(var(--header-height) + 20px); }
body { overflow-wrap: break-word; }
section:not(.hero), .search-widget-wrap, .footer-top, .footer-bottom {
  max-width: var(--layout-width);
}
section:not(.hero) { padding-inline: var(--page-gutter); }
.hero-inner, .hero--page .hero-inner, .header-inner {
  max-width: var(--layout-width);
}
.hero-inner, .hero--page .hero-inner { padding-inline: var(--page-gutter); }
.hero:not(.hero--page) {
  height: auto;
  min-height: min(900px, 100svh);
}
.hero:not(.hero--page) .hero-inner {
  padding-top: calc(var(--header-height) + 56px);
  padding-bottom: 150px;
}
.hero-title { font-size: clamp(2.25rem, 4.5vw, 4.5rem); text-wrap: balance; }
.hero-sub { text-wrap: pretty; }
.hero--page .hero-inner { padding-top: calc(var(--header-height) + 38px); }
.hero-cta-bar .search-widget-wrap.overlap { margin-top: -72px; }
.search-widget { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr) auto; }
.search-widget > *, .sw-field, .room-row-body, .about-body,
.footer-cols > div, .booking-grid > *, .rl-layout > * { min-width: 0; }
.sw-guests-toggle { white-space: normal; }
.room-row { display: flex; flex-direction: column; }
.room-row-body { display: flex; flex-direction: column; flex: 1; }
.room-row-foot { margin-top: auto; flex-wrap: wrap; }
.room-tags { margin-bottom: 20px; flex-wrap: wrap; }
.room-row-media { flex-shrink: 0; }
.btn, .sw-submit { min-height: 48px; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.menu-overlay { overflow-y: auto; overscroll-behavior: contain; max-height: 100dvh; }
.menu-overlay:not(.open) { pointer-events: none; }
.menu-links a { min-height: 48px; }
.lightbox { padding: max(16px, env(safe-area-inset-top)) 16px; }
.lightbox img { max-height: 82dvh; object-fit: contain; }

/* Tablet: keep dates together, give occupancy and the action their own row. */
@media (min-width: 761px) and (max-width: 1120px) {
  .search-widget { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sw-field { border-right: 0; border-bottom: 1px solid var(--line); }
  .sw-submit { grid-column: auto; margin: 4px; }
  .room-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner { display: flex; }
  .main-nav { display: none; }
  .menu-btn { display: block; }
  .site-header .btn.btn-pill { display: none; }
  .hero:not(.hero--page) .hero-inner { padding-bottom: 140px; }
  .footer-cols { gap: 28px; }
}

@media (max-width: 760px) {
  :root { --header-height: 122px; }
  body { font-size: 16px; }
  .nav-row, .site-header.solid .nav-row { padding: 10px 14px; }
  .header-inner { gap: 8px; }
  .header-right { gap: 4px; }
  .lang-switch-toggle, .theme-toggle, .menu-btn { width: 44px; height: 44px; flex-shrink: 0; }
  .menu-btn span:first-child { top: 16px; }
  .menu-btn span:last-child { bottom: 16px; }
  .logo-img, .site-header.solid .logo-img { max-width: 112px; height: 34px; }
  .promo-strip { padding: 8px 12px; min-height: 48px; gap: 4px 10px; }
  .hero:not(.hero--page) { min-height: 610px; }
  .hero:not(.hero--page) .hero-inner {
    padding: calc(var(--header-height) + 38px) var(--page-gutter) 48px;
    justify-content: center;
  }
  .hero-title { font-size: clamp(2.1rem, 8.4vw, 3.5rem); line-height: 1.1; }
  .hero:not(.hero--page) .hero-sub { display: block; font-size: 1rem; margin-top: 18px; max-width: 36ch; }
  .hero:not(.hero--page) .hero-cta { display: flex; flex-direction: row; margin-top: 24px; gap: 10px; }
  .hero-cta .btn { padding: 13px 18px; font-size: .86rem; }
  .hero-inner .trust-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; }
  .hero-inner .trust-item { font-size: .75rem; }
  .scroll-cue { display: none; }
  .hero-cta-bar { padding-top: 20px; }
  .hero-cta-bar .search-widget-wrap.overlap { margin-top: 0; }
  .search-widget-wrap { padding-inline: var(--page-gutter); }
  .search-widget { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 8px; }
  .sw-field { padding: 14px 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sw-field input[type="date"], .sw-guests-toggle { font-size: 16px; min-height: 44px; }
  .sw-field input[type="date"]::-webkit-datetime-edit { font-size: 16px; }
  .date-placeholder { left: 10px; top: 45px; pointer-events: none; }
  .sw-guests-field, .sw-submit { grid-column: 1 / -1; }
  .sw-submit { margin: 8px 0 0; min-height: 52px; }
  .guests-dropdown { width: min(320px, calc(100vw - 64px)); max-width: 100%; left: 0; right: auto; }
  [dir="rtl"] .guests-dropdown { left: auto; right: 0; }
  section:not(.hero) { padding-block: 48px; }
  .hero--page .hero-inner { padding: calc(var(--header-height) + 24px) var(--page-gutter) 32px; }
  .hero--page .hero-title { font-size: clamp(1.9rem, 7.4vw, 2.75rem); }
  .hero--page .hero-sub { font-size: 1rem; }
  .room-rows { grid-template-columns: 1fr; gap: 24px; }
  .room-row-body { padding: 22px; }
  .room-row-body h3 { font-size: 1.6rem; }
  #rooms .room-desc { display: block; font-size: .95rem; }
  .about-grid, .reviews-grid, .location-grid, .booking-grid { gap: 24px; padding: 20px; }
  .about-body p { font-size: 1rem; }
  .about-body p:nth-of-type(2) { display: block; }
  .stats-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; gap: 0; }
  .stats-row .stat { padding: 18px 10px; border: 0; text-align: center; }
  .stat p { font-size: .8rem; }
  .stats-row .stat-num { font-size: 2.4rem; }
  .booking-form, .booking-summary { padding: 20px; }
  input:not([type="checkbox"]):not([type="radio"]), select, textarea { font-size: 16px; max-width: 100%; }
  .footer-top { gap: 30px; }
  .footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; }
  .footer-cols > div:first-child { grid-column: 1 / -1; }
  .footer-cols a { display: block; padding-block: 6px; margin-bottom: 3px; }
  .footer-bottom { gap: 12px; }
  .site-footer { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
  .mobile-bar { left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); min-height: 52px; }
  .chatbot { bottom: calc(80px + env(safe-area-inset-bottom)); right: 16px; }
  .chatbot-panel { width: min(360px, calc(100vw - 32px)); max-height: calc(100dvh - 190px); }
}

/* Short landscape displays must scroll naturally, without clipped hero copy. */
@media (max-height: 600px) and (orientation: landscape) {
  .hero:not(.hero--page) { min-height: 600px; }
  .hero:not(.hero--page) .hero-inner { padding-top: calc(var(--header-height) + 32px); padding-bottom: 120px; }
  .menu-overlay { padding-top: 85px; }
}

/* Wide desktops and televisions: increase the whole reading scale, with a cap. */
@media (min-width: 1600px) {
  :root { --layout-width: 1480px; }
  html { font-size: 18px; }
  section:not(.hero) { padding-block: 96px; }
  .hero:not(.hero--page) { min-height: min(1050px, 94svh); }
  .hero-title { max-width: 900px; }
  .hero-sub { max-width: 620px; }
  .room-rows { gap: 28px; }
}
/* TV layout uses the screen's width and viewing distance, rather than a narrow desktop column. */
@media (min-width: 2400px) {
  :root {
    --layout-width: min(88vw, 3400px);
    --page-gutter: clamp(64px, 3vw, 128px);
    --header-height: 240px;
  }
  html { font-size: clamp(26px, .84vw, 36px); }
  .header-inner { max-width: var(--layout-width); gap: 40px; }
  .nav-row, .site-header.solid .nav-row { padding: 30px 64px; }
  .promo-strip { min-height: 76px; gap: 30px; font-size: .8rem; }
  .logo-img, .site-header.solid .logo-img { height: 88px; }
  .main-nav { gap: 12px; font-size: .78rem; }
  .main-nav a { padding: 20px 24px; }
  .header-right { gap: 20px; }
  .lang-switch-toggle, .theme-toggle { min-width: 80px; min-height: 80px; }
  .btn-pill { padding: 24px 36px; }
  .hero:not(.hero--page) { min-height: 92svh; }
  .hero:not(.hero--page) .hero-inner {
    padding-top: calc(var(--header-height) + 90px);
    padding-bottom: 260px;
  }
  .hero-title { font-size: clamp(112px, 4.2vw, 176px); max-width: 2100px; line-height: 1.08; }
  .hero-sub { max-width: 1300px; font-size: 1.1rem; margin-top: 40px; }
  .hero-eyebrow { margin-bottom: 28px; }
  .hero-cta { margin-top: 48px; gap: 24px; }
  .btn { min-height: 88px; padding: 26px 40px; }
  .hero-inner .trust-row { margin-top: 44px; gap: 40px; }
  .hero--page .hero-title { font-size: 3rem; }
  .hero--page .hero-sub { max-width: 1400px; }
  .hero--page .hero-inner { padding-bottom: 70px; }
  .hero-cta-bar .search-widget-wrap.overlap { margin-top: -130px; }
  .search-widget-wrap { padding-bottom: 88px; }
  .search-widget { padding: 16px; border-radius: 16px; }
  .sw-field { padding: 30px 36px; }
  .sw-submit { padding-inline: 48px; }
  .sw-field label { margin-bottom: 14px; }
  section:not(.hero) { padding-block: 130px; }
  .section-head { margin-bottom: 40px; gap: 20px; }
  .room-rows { gap: 44px; }
  .room-row-body { padding: 40px; }
  .room-row-foot { gap: 28px; padding-top: 30px; }
  .about-grid, .reviews-grid, .location-grid, .booking-grid { gap: 80px; padding: 56px; }
  .amenities-home-grid { gap: 80px; }
  .footer-top { gap: 80px; }
  .footer-cols { gap: 90px; }
  .footer-brand { max-width: 580px; }
  .footer-tagline { max-width: 580px; }
  .footer-top .logo-img { height: 88px; }
  .chatbot { right: 48px; bottom: 48px; }
  .chatbot-toggle { width: 100px; height: 100px; }
  .chatbot-panel { width: 650px; height: min(900px, 72svh); bottom: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .load-in { opacity: 1; transform: none; }
}

/* Allow review tracks to shrink inside their grid, and contain the off-canvas drawer. */
html { overflow-x: clip; }
.reviews-grid > *, .testimonial-slider, .testimonial-viewport { min-width: 0; }
.hero:not(.hero--page) .hero-title em { color: #ffb7ad; }
.hero:not(.hero--page) .hero-scrim {
  background: linear-gradient(90deg, rgba(12,16,20,.82), rgba(12,16,20,.48) 54%, rgba(12,16,20,.12));
}
@media (max-width: 760px) {
  .hero:not(.hero--page) .hero-scrim {
    background: linear-gradient(90deg, rgba(12,16,20,.8), rgba(12,16,20,.45));
  }
}

/* Homepage booking bar: visible promo entry with the same secure handoff. */
#heroSearchWidget{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr) auto}
.sw-promo-field input{width:100%;min-width:0;min-height:36px;border:0;background:transparent;color:var(--ink);font:inherit;font-size:1rem;padding:0}
.sw-promo-field input::placeholder{color:var(--ink-soft);font-size:.82rem;opacity:1}
.sw-promo-field .sw-optional{font-size:.6rem;font-weight:400;letter-spacing:0;text-transform:none}
@media(max-width:1120px){#heroSearchWidget{grid-template-columns:repeat(2,minmax(0,1fr))}#heroSearchWidget .sw-guests-field{grid-column:1/-1}#heroSearchWidget .sw-submit{grid-column:auto;margin:4px;min-height:52px}}
@media(max-width:760px){.sw-promo-field input{font-size:16px;min-height:44px}#heroSearchWidget .sw-promo-field{grid-column:1/-1}#heroSearchWidget .sw-submit{grid-column:1/-1;margin:8px 0 0}}
/* Preserve the original full-height photo and anchor booking at its bottom. */
.home-promo-controls{display:flex;gap:6px;align-items:center;min-width:0}
.home-promo-controls input{min-width:0;flex:1}
.home-promo-controls select{font:inherit;font-size:.7rem;width:80px;min-height:40px;padding:5px;background:var(--paper-2);color:var(--ink);border:1px solid var(--line);border-radius:5px}
#heroSearchWidget .date-placeholder{display:none}
.hero:not(.hero--page){min-height:100svh}
.hero:not(.hero--page) .hero-inner{padding-bottom:240px}
.hero-cta-bar{position:relative;padding-top:0;background:transparent;z-index:20}
.hero-cta-bar .search-widget-wrap.overlap{margin-top:-150px;padding-bottom:30px}
@media(max-width:1120px){.hero:not(.hero--page) .hero-inner{padding-bottom:360px}.hero-cta-bar .search-widget-wrap.overlap{margin-top:-310px}}
@media(max-width:760px){
.hero:not(.hero--page){min-height:max(100svh,850px)}
.hero:not(.hero--page) .hero-inner{padding-bottom:350px}
.hero:not(.hero--page) .hero-sub,.hero:not(.hero--page) .hero-cta,.hero:not(.hero--page) .trust-row{display:none}
.hero-cta-bar .search-widget-wrap.overlap{margin-top:-330px;padding-bottom:24px}
#heroSearchWidget .sw-field{padding:8px 10px;min-height:0}
.home-promo-controls select{width:100px;font-size:.75rem}
}
@media(min-width:2400px){.hero:not(.hero--page) .hero-inner{padding-bottom:350px}.hero-cta-bar .search-widget-wrap.overlap{margin-top:-240px}.home-promo-controls select{width:170px;min-height:70px}}
@media(min-width:1121px) and (max-width:2399px){.hero:not(.hero--page) .hero-inner{padding-bottom:140px}}
/* First-screen composition: photo above, trust and booking anchored at the bottom. */
@media(min-width:1121px){
.hero:not(.hero--page){height:100svh;min-height:0;overflow:hidden}
.hero:not(.hero--page) .hero-inner{padding-top:calc(var(--header-height) + 22px);padding-bottom:190px;justify-content:center}
.hero:not(.hero--page) .hero-title{font-size:clamp(2.2rem,3.5vw,3.4rem);max-width:1100px}
.hero:not(.hero--page) .hero-title .line{display:inline}
.hero:not(.hero--page) .hero-title .line+.line::before{content:' '}
.hero:not(.hero--page) .hero-sub{margin-top:18px}
.hero:not(.hero--page) .hero-cta{margin-top:20px}
.hero:not(.hero--page) .trust-row{position:absolute;bottom:155px;inset-inline:var(--page-gutter);margin:0}
.hero-cta-bar .search-widget-wrap.overlap{margin-top:-135px;padding-bottom:24px}
}
@media(max-width:1120px){
.hero:not(.hero--page){height:100svh;min-height:640px;overflow:hidden}
.hero:not(.hero--page) .hero-inner{padding-top:calc(var(--header-height) + 16px);padding-bottom:370px;justify-content:center}
.hero:not(.hero--page) .hero-title{font-size:clamp(1.65rem,3.5vw,2.4rem);line-height:1.12}
.hero:not(.hero--page) .hero-title .line{display:inline}
.hero:not(.hero--page) .hero-title .line+.line::before{content:' '}
.hero:not(.hero--page) .hero-sub,.hero:not(.hero--page) .hero-cta{display:none}
.hero:not(.hero--page) .trust-row{display:flex;position:absolute;bottom:330px;inset-inline:var(--page-gutter);margin:0;gap:6px 16px;flex-wrap:wrap}
.hero:not(.hero--page) .trust-item{font-size:.65rem}
.hero-cta-bar .search-widget-wrap.overlap{margin-top:-315px;padding-bottom:20px}
}
@media(max-width:760px){
.hero:not(.hero--page){min-height:640px}
.hero:not(.hero--page) .hero-inner{padding-bottom:390px}
.hero:not(.hero--page) .hero-title{font-size:1.65rem}
.hero:not(.hero--page) .trust-row{bottom:340px}
.hero-cta-bar .search-widget-wrap.overlap{margin-top:-325px}
}
@media(min-width:2400px){
.hero:not(.hero--page) .hero-inner{padding-bottom:350px}
.hero:not(.hero--page) .hero-title{font-size:3.6rem;max-width:2300px}
.hero:not(.hero--page) .trust-row{bottom:270px}
.hero-cta-bar .search-widget-wrap.overlap{margin-top:-245px}
}
@media(max-width:760px){.hero-cta-bar .search-widget-wrap.overlap{margin-top:-350px}.hero:not(.hero--page) .trust-row{bottom:365px}}
.home-booking-visible .mobile-bar,.home-booking-visible .chatbot{display:none!important}
/* Promo controls share the booking bar's typography and restrained borders. */
#heroSearchWidget .sw-promo-field{padding-block:10px}
.home-promo-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}
.home-promo-heading label{margin:0}
.home-promo-heading details{position:relative;font-family:var(--ff-body);font-size:.72rem;color:var(--ink-soft);text-transform:none;letter-spacing:0;font-weight:500}
.home-promo-heading summary{cursor:pointer;list-style:none;text-decoration:underline;text-underline-offset:3px}
.home-promo-heading summary::-webkit-details-marker{display:none}
.home-promo-controls{gap:8px}
#heroSearchWidget .home-promo-controls input{font-family:var(--ff-body);font-size:1rem;font-weight:600;min-height:34px}
.home-promo-controls>button{font-family:var(--ff-body);font-size:.75rem;font-weight:600;line-height:1.3;padding:8px 12px;min-height:36px;border:1px solid var(--line);border-radius:var(--radius);color:var(--ink);background:var(--surface);cursor:pointer}
.home-promo-controls>button:hover{border-color:var(--accent);color:var(--accent)}
.home-promo-status{display:block;min-height:16px;font-family:var(--ff-body);font-size:.58rem;line-height:1.4;color:var(--ink-soft);margin-top:3px}
.home-promo-status.is-added{color:var(--ink);font-weight:600}
.home-offer-menu{position:absolute;bottom:calc(100% + 12px);inset-inline-end:0;width:230px;max-width:75vw;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px rgba(var(--shadow-rgb),.14);z-index:50}
.home-offer-menu button{display:block;width:100%;text-align:start;border:0;padding:12px;background:var(--paper);color:var(--ink);font-family:var(--ff-body);cursor:pointer;border-radius:5px}
.home-offer-menu b{font-size:.82rem}.home-offer-menu span{display:block;font-size:.72rem;margin-top:4px;color:var(--ink-soft)}
#heroSearchWidget .sw-submit{font-family:var(--ff-body);font-weight:600;letter-spacing:0}
@media(max-width:760px){#heroSearchWidget .home-promo-controls input{font-size:16px}.home-promo-controls>button{min-height:40px}.home-promo-status{font-size:.65rem}.home-promo-heading details{font-size:.75rem}}
/* Obvious actions, using the site's existing red button language. */
.home-promo-heading{margin-bottom:6px;align-items:center}
.home-promo-heading details{font-size:.7rem;color:var(--ink)}
.home-promo-heading summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:32px;padding:5px 10px;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper-2);font-weight:600;text-decoration:none;transition:background .15s ease,border-color .15s ease}
.home-promo-heading summary:hover,.home-promo-heading details[open] summary{border-color:var(--accent);color:var(--accent)}
.home-promo-controls>button{background:var(--accent);border-color:var(--accent);color:#fff;min-height:38px;padding:9px 14px;border-radius:var(--radius);transition:background .15s ease}
.home-promo-controls>button:hover{background:var(--accent-dark);border-color:var(--accent-dark);color:#fff}
.home-promo-controls>button:active{transform:translateY(1px)}
.home-promo-status{min-height:14px;margin-top:3px}
.home-promo-status.is-added{font-weight:500;font-size:.64rem}
.home-offer-menu{padding:6px}
.home-offer-menu button{border:1px solid var(--line);transition:background .15s ease,border-color .15s ease}
.home-offer-menu button:hover{border-color:var(--accent);background:var(--paper-2)}
#heroSearchWidget .sw-promo-field{padding-block:5px}
@media(max-width:760px){.home-promo-heading summary{min-height:36px}.home-promo-controls>button{min-height:44px}.home-promo-status.is-added{font-size:.65rem}}
@media(max-width:760px){.hero-cta-bar .search-widget-wrap.overlap{margin-top:-380px}.hero:not(.hero--page) .trust-row{bottom:395px}}

.home-rate-notice{font-family:var(--ff-body);font-size:.68rem;line-height:1.5;margin:8px 0 0;color:var(--ink);background:var(--surface);padding:8px 12px;border-radius:5px}.home-rate-notice a{text-decoration:underline;text-underline-offset:3px}
