/* V3.2 — phone-first interactions, scoped to phones and short landscape screens. */
.mobile-only,.mobile-rail,.mobile-swipe-controls,.mobile-sheet-grip,.mobile-footer-toggle{display:none}
@media (max-width:560px), (max-width:900px) and (max-height:500px) and (orientation:landscape){
  :root{--mobile-rail-height:72px;--mobile-motion:cubic-bezier(.22,.8,.22,1)}
  .header:not(.scrolled):not(:has(.menu-toggle[aria-expanded=true])){border:0;background:linear-gradient(180deg,#050705e8 0%,#05070577 55%,transparent 100%);box-shadow:none}
  .header.scrolled{border:0;box-shadow:0 5px 22px #0002}
  .header .language button{min-height:44px;min-width:30px}.header #nav a{min-height:48px}
  .hero-video-toggle:not([hidden]){width:44px;height:44px;background:#1118;border:1px solid #f4efe48a;backdrop-filter:blur(6px)}
  .hero-video-toggle.video-start{width:auto;min-width:44px}
  .hero-actions .gold{box-shadow:0 4px 22px #0003}.hero-actions .button:not(.gold){background:#1116;border-color:#d7b976}
  .hero-tour{min-height:44px;display:inline-flex;align-items:center}
  .hero-bottom a{min-height:44px;display:flex;align-items:center}.hero-bottom{bottom:calc(18px + env(safe-area-inset-bottom,0px))}
  .hero .image-caption{bottom:0}
  /* An always-present, unobtrusive path to action after the cinematic intro. */
  .whatsapp{display:none!important}
  .mobile-rail{display:flex;position:fixed;z-index:45;inset:auto 0 0;background:#141510f5;border-top:1px solid #b99a6465;padding:10px max(14px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-left,0px));gap:10px;align-items:stretch;transform:translateY(110%);opacity:0;visibility:hidden;transition:transform .55s var(--mobile-motion),opacity .4s,visibility .55s;backdrop-filter:blur(15px)}
  .mobile-rail.is-visible{transform:translateY(0);opacity:1;visibility:visible}
  .mobile-rail a{display:flex;justify-content:center;align-items:center;gap:8px;min-height:48px;text-align:center;font-size:13px;font-weight:600;line-height:1.2;text-decoration:none}
  .mobile-rail .rail-primary{flex:1;color:#1c170d;background:linear-gradient(115deg,#e1c69b,#c7a16a);border:1px solid #dfc192}
  .mobile-rail .rail-whatsapp{flex:0 0 34%;color:#f1e1c3;border:1px solid #b99a64;white-space:nowrap}.rail-whatsapp svg{height:21px;width:21px;flex:none}
  .mobile-rail a:active{opacity:.8}.footer{padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))}
  #main section[id]{scroll-margin-top:92px}
  /* Native overflow scrollers, instead of a long stack of room cards. */
  #spaceGrid,#compareResult{display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:0;overscroll-behavior-inline:contain;padding-bottom:12px;scrollbar-width:thin;scrollbar-color:#ad8b52 transparent;align-items:stretch}
  #spaceGrid>.space-card{flex:0 0 88%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;transform:none!important;opacity:1!important;transition:none!important}
  #spaceGrid>.space-card .space-image{width:100%}#spaceGrid .space-desc{padding-block:15px}#spaceGrid .space-desc h3{font-size:1.8rem}#spaceGrid .space-desc p{font-size:14px;line-height:1.6}#spaceGrid .card-meta{margin-top:auto;padding-top:12px}
  #compareResult>.compare-card{flex:0 0 88%;scroll-snap-align:start;scroll-snap-stop:always;padding:16px;min-width:0}#compareResult>p{flex:1}
  .compare-controls{gap:7px}.compare-controls button{padding:10px 11px;font-size:13px;min-height:44px}.compare-limit{margin-bottom:14px}.compare-note{margin:14px 0 0}
  .mobile-swipe-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px;color:#70582f;font-size:12px;letter-spacing:.08em}.compare-section .mobile-swipe-controls{color:#dbc49a}
  .mobile-swipe-controls .swipe-buttons{display:flex;gap:8px}.mobile-swipe-controls button{width:44px;height:44px;border:1px solid currentColor;background:transparent;color:inherit;font-size:23px;line-height:1;cursor:pointer}.mobile-swipe-controls button:disabled{opacity:.4;cursor:default}
  .mobile-swipe-controls p{margin:0;line-height:1.3}.mobile-swipe-controls[hidden]{display:none}
  /* Room details use a bottom sheet with their own scroll area and accessible close button. */
  #detailDialog:has(.detail-image)[open]{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:100%;max-height:94dvh;border-radius:20px 20px 0 0;padding:24px 20px calc(24px + env(safe-area-inset-bottom,0px));overflow:auto;overscroll-behavior:contain;animation:mobileSheetIn .55s var(--mobile-motion) both;scrollbar-width:thin}
  #detailDialog:has(.detail-image) .detail-image{margin:-24px -20px 18px;aspect-ratio:1.45;border-radius:20px 20px 0 0}
  #detailDialog:has(.detail-image) .mobile-sheet-grip{position:sticky;top:0;z-index:4;display:flex;justify-content:center;align-items:center;width:64px;height:32px;margin:-23px auto -9px;padding:0;border:0;background:transparent;touch-action:none;cursor:grab}
  .mobile-sheet-grip::after{content:'';width:36px;height:4px;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0009}
  #detailDialog .dialog-close{width:44px;height:44px;top:12px;right:14px}#detailDialog h2{font-size:2.3rem}#detailDialog .layout-option{min-height:44px}#detailDialog .button[data-room-contact]{width:100%;min-height:48px;position:sticky;bottom:0;z-index:3;box-shadow:0 5px 0 8px var(--paper)}
  #detailDialog:has(.detail-image) .dialog-close{position:sticky;top:0;right:auto;float:right;margin:-12px -6px -44px 0;z-index:5}
  #detailDialog.sheet-dismissing{animation:mobileSheetOut .26s var(--mobile-motion) both!important}
  @keyframes mobileSheetIn{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes mobileSheetOut{to{transform:translateY(100%)}}
  /* Immersive photo viewer uses the whole screen; images retain aspect ratio. */
  #galleryDialog[open]{position:fixed;inset:0;margin:0;width:100%;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;background:#090909;display:grid;grid-template-rows:minmax(0,1fr) auto auto;align-items:center;padding:calc(68px + env(safe-area-inset-top,0px)) 0 calc(20px + env(safe-area-inset-bottom,0px));overflow:hidden;animation:mobileGalleryIn .36s var(--mobile-motion)}
  #galleryDialog .gallery-full{width:100%;height:100%;min-height:0;aspect-ratio:auto;background-size:contain!important;touch-action:pan-y}
  #galleryDialog .gallery-prev,#galleryDialog .gallery-next{top:50%;width:48px;height:48px;border:1px solid #bba67b90;background:#111c;transform:translateY(-50%);font-size:29px}
  #galleryDialog .dialog-close{top:calc(12px + env(safe-area-inset-top,0px));right:14px;width:48px;height:48px;border:1px solid #bba67b90;background:#141414}
  #galleryDialog #galleryCaption{font-size:14px;line-height:1.45;margin:14px 18px 0;text-align:center;color:#f4e8d4}
  #galleryDialog .mobile-gallery-hint{display:block;text-align:center;color:#b9ab94;font-size:11px;margin:8px 0 0;letter-spacing:.08em}
  #galleryDialog .gallery-full.photo-changing{animation:mobilePhoto .32s var(--mobile-motion)}
  @keyframes mobileGalleryIn{from{opacity:0}to{opacity:1}}@keyframes mobilePhoto{from{opacity:.35;transform:scale(.985)}to{opacity:1;transform:none}}
  /* Shorter, more intentional site rhythm, without deleting content. */
  .section{padding-block:52px}.section-heading{margin-bottom:25px}.section-heading p{line-height:1.65}.planner-section{padding-block:52px}
  .planner-grid{gap:24px}.planner-intro h2{margin-bottom:16px}.planner-intro .planner-photo{display:none}.planner-form{padding:20px;gap:14px}.planner-form .form-row{grid-template-columns:1fr;gap:14px}.planner-form label,.planner-form input:not([type=checkbox]),.planner-form select{font-size:16px}.planner-form .check-label{min-height:44px;font-size:14px}
  .planner-form fieldset{gap:4px 12px}.planner-form .mobile-step,.planner-result .mobile-step{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#dbc49a;margin:0 0 7px}.mobile-step::before{content:'';height:1px;width:20px;background:currentColor}
  .planner-result:not(:empty){border:1px solid #a58a59;padding:16px;background:#211f19;scroll-margin-top:96px}.planner-match .tile{aspect-ratio:1.8}.planner-match h3{font-size:1.9rem}.planner-actions .button{min-height:48px;font-size:14px}
  .contact-form input,.contact-form select,.contact-form textarea,#inquiry input,#inquiry textarea,#inquiry select{font-size:16px!important;min-height:48px}.contact-links a,.occasion-card a,.footer-grid a,.footer-language a,.legal-button,.gallery-filters button{min-height:44px;display:inline-flex;align-items:center}.contact-links a{overflow-wrap:anywhere}.footer-grid a{width:fit-content;max-width:100%;overflow-wrap:anywhere}
  .footer-top{padding-block:22px;margin-bottom:22px}.footer-grid{gap:15px}.footer-brand img{width:76px;height:76px}.footer-grid .footer-brochure{margin-top:8px}.footer-grid>div.mobile-footer-group{border-top:1px solid #6f5c3b;padding-top:6px}.mobile-footer-group h3{display:none}.mobile-footer-toggle{display:flex;justify-content:space-between;align-items:center;color:#edcf9a;background:none;border:0;width:100%;min-height:48px;text-align:left;font:400 20px var(--serif);cursor:pointer}.mobile-footer-toggle::after{content:'+';font:400 22px var(--sans)}.mobile-footer-toggle[aria-expanded=true]::after{content:'−'}.mobile-footer-group:not(.footer-expanded)>a{display:none}.mobile-footer-group.footer-expanded>a{display:flex;margin:0}.footer-language{margin-top:14px}.footer-bottom{padding-top:16px}.footer-bottom .legal-button{padding:0 6px}
  .js .reveal{transition-duration:.7s,.95s;transition-timing-function:var(--mobile-motion)}.js .reveal:not(.visible){transform:translateY(14px)}.luxury-seam{transition-duration:1.25s,.8s}.faq-list summary{min-height:44px}
}
@media(max-width:360px){.header .language button{min-width:25px}.header-actions{gap:5px}.hero-content{padding-top:78px;padding-bottom:55px}.hero h1{font-size:clamp(2.6rem,12vw,3.5rem)}.hero .eyebrow{letter-spacing:.1em}.mobile-rail .rail-whatsapp{flex-basis:38%}.mobile-rail a{font-size:12px}.mobile-rail{gap:7px}}
@media(max-width:900px) and (max-height:500px) and (orientation:landscape){.hero{height:auto;min-height:100svh;max-height:none}.hero-content{padding-top:92px;padding-bottom:80px}.hero h1{font-size:clamp(2.3rem,6.5vw,3.6rem)}.hero-content p{font-size:14px;line-height:1.5;margin-top:12px}.hero-actions{display:flex;gap:10px;margin-top:14px}.hero-actions .button{min-width:0;width:auto;min-height:44px}.hero-bottom{display:none}.hero-tour{margin-top:8px}.mobile-rail{padding-block:6px}.mobile-rail a{min-height:44px}#spaceGrid>.space-card,#compareResult>.compare-card{flex-basis:46%}#detailDialog:has(.detail-image)[open]{max-width:640px;max-height:94dvh}#galleryDialog[open]{padding-top:52px;padding-bottom:8px}}
@media(prefers-reduced-motion:reduce){.mobile-rail,#detailDialog,#galleryDialog,#galleryDialog .gallery-full,.js .reveal{animation:none!important;transition:none!important}#spaceGrid,#compareResult{scroll-behavior:auto}}
