/* ============================================================
   Mantralayam Rooms — style.css
   Tokens are overridden at runtime from site-data.json (theme)
   ============================================================ */

:root {
  --c-primary: #063B78;
  --c-primary-light: #084D92;
  --c-primary-deep: #052E5E;
  --c-secondary: #D89B12;
  --c-secondary-light: #E7AF29;
  --c-bg: #F7F9FC;
  --c-surface: #FFFFFF;
  --c-heading: #102033;
  --c-body: #334155;
  --c-muted: #64748B;
  --c-button: #063B78;
  --c-line: #E3E9F1;
  --c-line-strong: #CBD5E1;
  --c-success: #1B8A4F;
  --c-whatsapp: #25D366;
  --c-whatsapp-dark: #128C4A;

  --radius: 14px;
  --radius-sm: 8px;
  --radius-btn: 10px;
  --shadow: 0 10px 30px -14px rgba(6, 59, 120, 0.22);
  --shadow-hover: 0 22px 40px -18px rgba(6, 59, 120, 0.32);
  --shadow-soft: 0 1px 2px rgba(16, 32, 51, 0.05), 0 6px 18px -10px rgba(16, 32, 51, 0.12);

  --font-heading: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --section-y: clamp(56px, 8vw, 104px);
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms;
  --t-med: 260ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: var(--c-primary); text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--c-heading); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.05rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.35rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--c-secondary); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--c-primary); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 2000; }
.skip-link:focus { top: 12px; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--surface { background: var(--c-surface); }
.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--c-primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--c-secondary); border-radius: 2px; }
.section-head--center .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--c-secondary); border-radius: 2px; }
.section-head p { color: var(--c-muted); margin-top: 12px; font-size: 1.05rem; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }
.section-head--row > div { max-width: 640px; }

/* ---------- Icons ---------- */
.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.6em; height: 1.6em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-btn);
  font-weight: 600; font-size: 0.97rem; line-height: 1; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  will-change: transform;
}
.btn .icon { transition: transform var(--t-fast) var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--c-button); color: #fff; box-shadow: 0 8px 18px -10px rgba(6, 59, 120, 0.55); }
.btn--primary:hover { background: var(--c-primary-light); box-shadow: 0 14px 26px -12px rgba(6, 59, 120, 0.6); }
.btn--gold { background: var(--c-secondary); color: #1a1405; box-shadow: 0 8px 18px -10px rgba(216, 155, 18, 0.6); }
.btn--gold:hover { background: var(--c-secondary-light); }
.btn--whatsapp { background: var(--c-whatsapp-dark); color: #fff; box-shadow: 0 8px 18px -10px rgba(18, 140, 74, 0.6); }
.btn--whatsapp:hover { background: #0f7a40; }
.btn--outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--outline:hover { background: rgba(6, 59, 120, 0.06); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.btn--ghost { color: var(--c-primary); padding-inline: 10px; }
.btn--ghost:hover { background: rgba(6, 59, 120, 0.06); transform: none; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Badges / chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; line-height: 1; }
.badge--navy { background: rgba(6, 59, 120, 0.08); color: var(--c-primary); }
.badge--gold { background: rgba(216, 155, 18, 0.14); color: #8a6208; }
.badge--green { background: rgba(27, 138, 79, 0.12); color: var(--c-success); }
.badge--muted { background: #eef2f7; color: var(--c-muted); }
.badge--sample { background: #fff3cd; color: #7a5200; border: 1px dashed #d9b04f; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--c-surface); border: 1px solid var(--c-line); font-size: 0.86rem; color: var(--c-body); }
.chip .icon { color: var(--c-primary); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-med), box-shadow var(--t-med), border-color var(--t-med), transform var(--t-med) var(--ease);
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.97); border-bottom-color: var(--c-line); box-shadow: 0 8px 24px -18px rgba(6, 59, 120, 0.35); }
body.has-hero .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--c-heading); flex: 0 0 auto; }
.brand__logo { width: var(--logo-w, 52px); height: auto; }
.brand__logo img { width: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-heading); }
.brand__text b { font-weight: 800; font-size: 1.05rem; letter-spacing: 0.01em; color: var(--c-primary); }
.brand__text span { font-weight: 700; font-size: 0.72rem; letter-spacing: 0.32em; color: var(--c-secondary); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; display: inline-flex; align-items: center; padding: 10px 13px; white-space: nowrap;
  font-weight: 500; font-size: 0.95rem; color: var(--c-heading); border-radius: 8px;
  transition: color var(--t-fast), background-color var(--t-fast);
}
.nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 2px;
  background: var(--c-secondary); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease);
}
.nav a:hover { color: var(--c-primary); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--c-primary); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(6, 59, 120, 0.07); border: 1.5px solid rgba(6, 59, 120, 0.14); color: var(--c-primary); transition: background var(--t-med), color var(--t-med), border-color var(--t-med), transform var(--t-fast) var(--ease); }
.header-phone::before { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; border: 1.5px solid var(--c-secondary); opacity: 0; animation: phone-ring 6s 3s ease-out infinite; pointer-events: none; }
.header-phone .icon { animation: phone-wiggle 6s 3s ease-in-out infinite; transform-origin: 50% 60%; }
.header-phone:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); transform: translateY(-2px); }
.header-phone:hover .icon { animation: phone-wiggle 600ms ease-in-out; }
@keyframes phone-ring { 0%, 80% { opacity: 0; transform: scale(1); } 84% { opacity: .9; } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes phone-wiggle { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-14deg); } 88% { transform: rotate(12deg); } 92% { transform: rotate(-9deg); } 96% { transform: rotate(6deg); } }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1.5px solid var(--c-line-strong); color: var(--c-heading); align-items: center; justify-content: center; }

/* Drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(5, 25, 52, 0.55); opacity: 0; visibility: hidden; transition: opacity var(--t-med), visibility var(--t-med); z-index: 950; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(360px, 88vw);
  background: var(--c-surface); z-index: 960; display: flex; flex-direction: column;
  transform: translateX(104%); visibility: hidden; transition: transform 320ms var(--ease), visibility 0s 320ms;
  box-shadow: -20px 0 50px -30px rgba(0, 0, 0, 0.4);
}
body.drawer-open .drawer { transform: translateX(0); visibility: visible; transition: transform 320ms var(--ease), visibility 0s; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
body.drawer-open { overflow: hidden; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--c-line); }
.drawer__close { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; color: var(--c-heading); border: 1.5px solid var(--c-line); }
.drawer__nav { padding: 12px 10px; flex: 1; overflow-y: auto; }
.drawer__nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px; border-radius: 10px; font-weight: 500; color: var(--c-heading); font-size: 1.02rem; transition: background-color var(--t-fast); }
.drawer__nav a:hover, .drawer__nav a[aria-current="page"] { background: rgba(6, 59, 120, 0.06); color: var(--c-primary); }
.drawer__nav a .icon { color: var(--c-muted); }
.drawer__foot { padding: 16px 18px 20px; border-top: 1px solid var(--c-line); display: grid; gap: 10px; }
.drawer__addr { font-size: 0.86rem; color: var(--c-muted); line-height: 1.5; display: flex; gap: 8px; }
.drawer__addr .icon { color: var(--c-secondary); margin-top: 3px; }

/* ---------- Animated logo mark ---------- */
.logo-mark { overflow: visible; }
.logo-mark .lm-pin { stroke: var(--c-primary); fill: none; stroke-width: 7.5; stroke-linecap: round; stroke-linejoin: round; }
.logo-mark .lm-building { fill: var(--c-primary); }
.logo-mark .lm-window { fill: #fff; transition: fill 400ms var(--ease); }
.logo-mark .lm-door { fill: #fff; }
.logo-mark .lm-key { fill: var(--c-secondary); transform-box: fill-box; transform-origin: center; }
.logo-mark .lm-ring { fill: none; stroke: var(--c-secondary); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
/* Intro sequence (plays once) */
.logo-mark--anim .lm-pin { stroke-dasharray: 420; stroke-dashoffset: 420; animation: lm-draw 1.1s var(--ease) forwards; }
.logo-mark--anim .lm-building-g { opacity: 0; transform: translateY(6px); animation: lm-rise 600ms 500ms var(--ease) forwards; }
.logo-mark--anim .lm-window:nth-of-type(1) { animation-delay: 700ms; } .logo-mark--anim .lm-window:nth-of-type(2) { animation-delay: 760ms; } .logo-mark--anim .lm-window:nth-of-type(3) { animation-delay: 820ms; }
.logo-mark--anim .lm-window:nth-of-type(4) { animation-delay: 880ms; } .logo-mark--anim .lm-window:nth-of-type(5) { animation-delay: 940ms; } .logo-mark--anim .lm-window:nth-of-type(6) { animation-delay: 1000ms; }
.logo-mark--anim .lm-key { animation: lm-key-in 700ms 1000ms var(--ease) both, lm-glow 7s 1.9s ease-in-out infinite; }
.logo-mark--anim .lm-ring { animation: lm-ring 7s 2.4s ease-out infinite; }
/* Idle: very slow float + one window that softly lights up now and then */
.logo-mark--anim .lm-float { animation: lm-float 7s 2.4s ease-in-out infinite; }
/* Hover: all windows light up */
.brand:hover .lm-window { fill: #F5D680; }
.brand:hover .lm-key { animation: lm-key-turn 600ms var(--ease); }
.brand__text--anim b { opacity: 0; transform: translateX(-6px); animation: lm-slide 500ms 700ms var(--ease) forwards; }
.brand__text--anim span { opacity: 0; transform: translateX(-6px); animation: lm-slide 500ms 850ms var(--ease) forwards; }
@keyframes lm-draw { to { stroke-dashoffset: 0; } }
@keyframes lm-rise { to { opacity: 1; transform: translateY(0); } }
@keyframes lm-win-in { to { opacity: 1; } }
@keyframes lm-win-lit { 0%, 88%, 100% { fill: #fff; } 92%, 96% { fill: #F5D680; } }
@keyframes lm-key-in { 0% { opacity: 0; transform: translateY(-4px) scale(.7); } 60% { transform: translateY(1px) scale(1.08); } 100% { opacity: 1; transform: none; } }
@keyframes lm-key-turn { 0% { transform: rotate(0); } 40% { transform: rotate(-18deg); } 100% { transform: rotate(0); } }
@keyframes lm-glow { 0%, 90%, 100% { filter: drop-shadow(0 0 0 rgba(231, 175, 41, 0)); } 95% { filter: drop-shadow(0 0 5px rgba(231, 175, 41, .95)); } }
@keyframes lm-ring { 0%, 84% { opacity: 0; transform: scale(.4); } 88% { opacity: .8; } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes lm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.5px); } }
@keyframes lm-slide { to { opacity: 1; transform: translateX(0); } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(36px, 6vw, 80px));
  padding-bottom: clamp(120px, 14vw, 170px);
  background: linear-gradient(180deg, #EEF3F9 0%, var(--c-bg) 100%);
  color: var(--c-heading);
}
.hero__pattern { position: absolute; inset: 0; pointer-events: none; opacity: 0.55; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--c-primary); background: rgba(6, 59, 120, 0.07); border: 1px solid rgba(6, 59, 120, 0.12); padding: 8px 14px 8px 10px; border-radius: 999px; font-size: 0.9rem; margin-bottom: 20px; }
.hero__eyebrow .icon { color: var(--c-secondary); }
.hero h1 { max-width: 12ch; }
.hero__desc { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--c-muted); max-width: 48ch; margin: 20px 0 28px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero__trust .chip { background: rgba(255, 255, 255, 0.85); }

.hero__visual { position: relative; min-height: 380px; }
.hero__illustration { position: absolute; inset: -8% -10% -6% -14%; width: 124%; height: 114%; max-width: none; pointer-events: none; }
.hero__photo {
  position: relative; z-index: 2; border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1.08;
  box-shadow: 0 30px 60px -28px rgba(6, 59, 120, 0.5); background: #dfe6ef;
  width: min(100%, 400px); margin-inline: auto;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos-x, 50%) var(--pos-y, 40%); }
.hero__photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); border-radius: inherit; }
.hero__card {
  position: absolute; z-index: 3; left: -6px; bottom: 28px;
  background: var(--c-surface); border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-hover); border: 1px solid var(--c-line);
  animation: card-in 700ms 600ms var(--ease) both;
}
.hero__card-icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(216, 155, 18, 0.14); color: #8a6208; display: grid; place-items: center; }
.hero__card b { display: block; font-size: 0.92rem; color: var(--c-heading); }
.hero__card small { color: var(--c-muted); font-size: 0.8rem; }
.hero__card--top { left: 8px; right: auto; top: 26px; bottom: auto; animation-delay: 900ms; }
.hero__card:not(.hero__card--top) { left: auto; right: 8px; }
.hero__card--top .hero__card-icon { background: rgba(6, 59, 120, 0.08); color: var(--c-primary); }
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* Hero illustration SVG animations */
.ill-line { stroke: var(--c-primary); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: 0.6; }
.ill-line--draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: ill-draw 2.4s 200ms var(--ease) forwards; }
.ill-line--draw.d1 { animation-delay: 900ms; } .ill-line--draw.d2 { animation-delay: 1400ms; }
.ill-window { fill: rgba(216, 155, 18, 0.16); }
.ill-window--glow { animation: ill-glow 5s 1.5s ease-in-out infinite; }
.ill-window--glow.d1 { animation-delay: 2.6s; } .ill-window--glow.d2 { animation-delay: 3.7s; } .ill-window--glow.d3 { animation-delay: 4.5s; }
.ill-key { transform-box: fill-box; transform-origin: center; animation: ill-key 5s 2s ease-in-out infinite; }
.ill-check { stroke: var(--c-success); stroke-width: 2.2; fill: none; stroke-dasharray: 40; stroke-dashoffset: 40; animation: ill-draw 700ms 2.2s var(--ease) forwards; }
.ill-check-bg { transform-box: fill-box; transform-origin: center; animation: ill-pop 600ms 2s var(--ease) both; }
.ill-pin-pulse { transform-box: fill-box; transform-origin: center; animation: ill-pulse 3.2s 2.2s ease-out infinite; }
.ill-pin { transform-box: fill-box; transform-origin: center bottom; animation: ill-drop 800ms 1.2s var(--ease) both; }
.ill-dot { fill: var(--c-secondary); }
.ill-route { stroke: var(--c-secondary); stroke-dasharray: 4 9; opacity: .6; animation: ill-route 40s linear infinite; }
.ill-twinkle { fill: var(--c-secondary); animation: fb-twinkle 5s ease-in-out infinite; }
.ill-twinkle.d1 { animation-delay: 1.3s; } .ill-twinkle.d2 { animation-delay: 2.6s; } .ill-twinkle.d3 { animation-delay: 3.9s; }
.ill-bubble { transform-box: fill-box; transform-origin: bottom left; animation: ill-pop 600ms 2.8s var(--ease) both; }
.ill-typing { animation: ill-typing 1.4s 3.4s ease-in-out infinite; }
.ill-typing.d1 { animation-delay: 3.6s; } .ill-typing.d2 { animation-delay: 3.8s; }
.ill-door-light { animation: ill-glow 5s 2s ease-in-out infinite; }
.hero__card { animation: card-in 700ms 600ms var(--ease) both, card-float 6s 1.4s ease-in-out infinite; }
.hero__card--top { animation-delay: 900ms, 2.2s; }
@keyframes ill-draw { to { stroke-dashoffset: 0; } }
@keyframes ill-glow { 0%, 100% { fill: rgba(216, 155, 18, 0.14); } 50% { fill: rgba(231, 175, 41, 0.6); } }
@keyframes ill-key { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-3deg); } }
@keyframes ill-pulse { 0% { transform: scale(0.6); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes ill-pop { 0% { opacity: 0; transform: scale(.5); } 70% { transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
@keyframes ill-drop { 0% { opacity: 0; transform: translateY(-24px); } 60% { transform: translateY(3px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes ill-route { to { stroke-dashoffset: -520; } }
@keyframes ill-typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes card-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* ============================================================
   QUICK BOOKING BAR
   ============================================================ */
.qbook { position: relative; z-index: 5; margin-top: clamp(-96px, -9vw, -70px); }
.qbook__card { background: var(--c-surface); border-radius: 18px; box-shadow: var(--shadow-hover); border: 1px solid var(--c-line); padding: clamp(16px, 2.5vw, 24px); }
.qbook__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.qbook__head .icon { color: var(--c-secondary); }
.qbook__head h2 { font-size: 1.15rem; }
.qbook__head p { color: var(--c-muted); font-size: 0.88rem; margin: 0; }
.qbook__grid { display: grid; grid-template-columns: 1.15fr 1.15fr 0.7fr 1.1fr 0.9fr auto; gap: 12px; align-items: end; }
.qbook__grid .btn { min-height: 50px; }

/* ---------- Form fields ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--c-heading); }
.field label .req { color: #c0392b; }
.field__control { position: relative; display: flex; align-items: center; }
.field__control > .icon { position: absolute; left: 12px; color: var(--c-muted); pointer-events: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px 10px 40px; border-radius: 10px;
  border: 1.5px solid var(--c-line-strong); background: #fff; color: var(--c-heading);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { padding-left: 12px; min-height: 110px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(6, 59, 120, 0.12); }
.field.is-invalid input, .field.is-invalid select { border-color: #c0392b; }
.field__error { font-size: 0.78rem; color: #c0392b; display: none; }
.field.is-invalid .field__error { display: block; }
.field--noicon input, .field--noicon select { padding-left: 12px; }
.seg { display: inline-flex; background: #eef2f7; border-radius: 10px; padding: 4px; gap: 4px; }
.seg label { flex: 1; position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; left: 0; top: 0; pointer-events: none; }
.seg span { display: flex; justify-content: center; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; color: var(--c-muted); cursor: pointer; transition: all var(--t-fast); }
.seg input:checked + span { background: #fff; color: var(--c-primary); box-shadow: var(--shadow-soft); }
.seg input:focus-visible + span { outline: 3px solid var(--c-secondary); }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--c-line-strong); border-radius: 10px; overflow: hidden; min-height: 48px; }
.stepper button { width: 44px; align-self: stretch; display: grid; place-items: center; color: var(--c-primary); transition: background var(--t-fast); }
.stepper button:hover { background: rgba(6, 59, 120, 0.06); }
.stepper input { flex: 1; min-width: 0; text-align: center; border: 0; padding: 0; min-height: auto; font-weight: 600; }
.stepper input:focus { box-shadow: none; }

/* ============================================================
   CARDS
   ============================================================ */
.card { background: var(--c-surface); border-radius: var(--radius); border: 1px solid var(--c-line); box-shadow: var(--shadow-soft); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med); }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(6, 59, 120, 0.18); }

/* Rooms grid */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(18px, 2.5vw, 28px); }
.room-card { overflow: hidden; display: flex; flex-direction: column; }
.room-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e8edf3; }
.room-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos-x, 50%) var(--pos-y, 50%); transition: transform 600ms var(--ease); }
.room-card:hover .room-card__media img { transform: scale(1.03); }
.room-card__badges { position: absolute; left: 14px; top: 14px; display: flex; gap: 8px; }
.room-card__badges .badge { background: rgba(255, 255, 255, 0.94); color: var(--c-primary); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); }
.room-card__body { padding: clamp(18px, 2.5vw, 24px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.room-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.room-card__cap { display: inline-flex; align-items: center; gap: 6px; color: var(--c-muted); font-size: 0.88rem; margin-top: 4px; }
.room-card__cap .icon { color: var(--c-primary); }
.room-card__price { text-align: right; }
.room-card__price small { display: block; font-size: 0.74rem; color: var(--c-muted); font-weight: 500; }
.room-card__price b { font-family: var(--font-heading); font-size: 1.35rem; color: var(--c-primary); font-weight: 700; }
.room-card__price b sub { font-size: 0.7rem; vertical-align: baseline; color: var(--c-muted); font-weight: 500; }
.tariff { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tariff__item { border: 1px solid var(--c-line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; background: var(--c-bg); }
.tariff__item span { font-size: 0.75rem; color: var(--c-muted); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.tariff__item b { font-family: var(--font-heading); color: var(--c-heading); font-size: 1.15rem; }
.tariff__item--ac { border-color: rgba(216, 155, 18, 0.5); background: rgba(216, 155, 18, 0.06); }
.amenities { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.amenities li { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--c-body); }
.amenities li .icon { color: var(--c-primary); width: 1.1em; height: 1.1em; }
.room-card__actions { display: flex; gap: 10px; margin-top: auto; padding-top: 6px; }
.room-card__actions .btn { flex: 1; }
.room-card--unavailable .room-card__media::after { content: "Currently unavailable"; position: absolute; inset: auto 0 0; background: rgba(16, 32, 51, 0.8); color: #fff; font-size: 0.8rem; padding: 6px 12px; }

/* Why choose */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.why-card { padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; }
.why-card__icon { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: rgba(6, 59, 120, 0.07); color: var(--c-primary); transition: background var(--t-med), color var(--t-med); }
.why-card:hover .why-card__icon { background: var(--c-primary); color: #fff; }
.why-card p { color: var(--c-muted); font-size: 0.95rem; }

/* Property / Featured stay */
.property { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); overflow: hidden; }
.property__media { position: relative; min-height: 320px; background: #e8edf3; }
.property__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos-x, 50%) var(--pos-y, 50%); }
.property__label { position: absolute; left: 18px; top: 18px; background: #fff; color: #8a6208; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.property__body { padding: clamp(22px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.property__meta { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--c-muted); font-size: 0.9rem; }
.property__meta li { display: inline-flex; align-items: center; gap: 7px; }
.property__meta .icon { color: var(--c-secondary); }
.property__rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.property__room { border: 1px solid var(--c-line); border-radius: 10px; padding: 12px 14px; background: var(--c-bg); }
.property__room b { display: block; font-family: var(--font-heading); color: var(--c-heading); }
.property__room span { font-size: 0.82rem; color: var(--c-muted); }
.property__thumbs { display: flex; gap: 8px; }
.property__thumbs img { width: 62px; height: 52px; object-fit: cover; border-radius: 8px; border: 1px solid var(--c-line); }

/* Facilities strip */
.facilities-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.facility { display: flex; gap: 14px; align-items: flex-start; padding: 18px; }
.facility__icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(216, 155, 18, 0.12); color: #8a6208; display: grid; place-items: center; flex: 0 0 auto; }
.facility b { display: block; color: var(--c-heading); font-family: var(--font-heading); font-size: 0.98rem; }
.facility p { font-size: 0.86rem; color: var(--c-muted); margin: 2px 0 0; }

/* Lodge illustration section */
.lodge-section { background: var(--c-surface); overflow: hidden; }
.lodge-section__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.lodge-steps { display: grid; gap: 14px; margin-top: 24px; counter-reset: step; }
.lodge-steps li { display: flex; gap: 14px; align-items: flex-start; }
.lodge-steps li::before { counter-increment: step; content: counter(step); width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; background: var(--c-primary); color: #fff; font-weight: 700; font-family: var(--font-heading); font-size: 0.9rem; }
.lodge-steps b { display: block; color: var(--c-heading); }
.lodge-steps span { color: var(--c-muted); font-size: 0.93rem; }
.lodge-svg { width: 100%; height: auto; overflow: visible; }
.ls-wall { fill: #FFFFFF; stroke: var(--c-primary); stroke-width: 1.5; }
.ls-roof { fill: var(--c-primary); }
.ls-win { fill: #E8EEF6; stroke: var(--c-primary); stroke-width: 1; }
.ls-door { fill: var(--c-primary); }
.ls-door-glow { fill: rgba(231, 175, 41, 0.35); opacity: 0; }
.ls-gold { fill: var(--c-secondary); }
.ls-ground { stroke: var(--c-line-strong); stroke-width: 1.5; stroke-linecap: round; }
.ls-check { stroke: var(--c-success); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; }
.ls-pulse { fill: var(--c-secondary); transform-origin: center; transform-box: fill-box; opacity: 0; }
.ls-route { stroke: var(--c-secondary); fill: none; stroke-width: 1.5; stroke-dasharray: 3 6; opacity: 0; }
/* Before reveal: everything hidden / un-drawn */
.lodge-svg .ls-main { stroke-dasharray: 1400; stroke-dashoffset: 1400; fill-opacity: 0; }
.lodge-svg .ls-roof, .lodge-svg .ls-sign, .lodge-svg .ls-canopy { opacity: 0; transform: translateY(-8px); }
.lodge-svg .ls-win, .lodge-svg .ls-door, .lodge-svg .ls-gold, .lodge-svg .ls-glass, .lodge-svg .ls-desk { opacity: 0; }
.lodge-svg .ls-luggage { opacity: 0; transform: translateX(-40px); }
.lodge-svg .ls-card { opacity: 0; transform: translate(30px, 10px) rotate(6deg); }
.lodge-svg .ls-confirm { opacity: 0; transform: scale(.6); }
.lodge-svg .ls-pin { opacity: 0; transform: translateY(-30px); }
.lodge-svg .ls-luggage, .lodge-svg .ls-card, .lodge-svg .ls-confirm, .lodge-svg .ls-pin, .lodge-svg .ls-roof, .lodge-svg .ls-sign, .lodge-svg .ls-canopy { transform-box: fill-box; transform-origin: center; }
/* Reveal sequence */
.lodge-svg.is-visible .ls-main { animation: ls-build 1.6s var(--ease) forwards; }
.lodge-svg.is-visible .ls-roof { animation: ls-drop 600ms 900ms var(--ease) forwards; }
.lodge-svg.is-visible .ls-canopy { animation: ls-drop 500ms 1.2s var(--ease) forwards; }
.lodge-svg.is-visible .ls-sign { animation: ls-drop 500ms 1.4s var(--ease) forwards; }
.lodge-svg.is-visible .ls-win { animation: ls-fade 400ms var(--ease) forwards; }
.lodge-svg.is-visible .ls-win:nth-of-type(1) { animation-delay: 1.1s; } .lodge-svg.is-visible .ls-win:nth-of-type(2) { animation-delay: 1.18s; } .lodge-svg.is-visible .ls-win:nth-of-type(3) { animation-delay: 1.26s; } .lodge-svg.is-visible .ls-win:nth-of-type(4) { animation-delay: 1.34s; }
.lodge-svg.is-visible .ls-win:nth-of-type(5) { animation-delay: 1.42s; } .lodge-svg.is-visible .ls-win:nth-of-type(6) { animation-delay: 1.5s; } .lodge-svg.is-visible .ls-win:nth-of-type(7) { animation-delay: 1.58s; } .lodge-svg.is-visible .ls-win:nth-of-type(8) { animation-delay: 1.66s; }
.lodge-svg.is-visible .ls-win:nth-of-type(9) { animation-delay: 1.74s; } .lodge-svg.is-visible .ls-win:nth-of-type(10) { animation-delay: 1.82s; } .lodge-svg.is-visible .ls-win:nth-of-type(11) { animation-delay: 1.9s; }
.lodge-svg.is-visible .ls-glass, .lodge-svg.is-visible .ls-desk { animation: ls-fade 500ms 1.9s var(--ease) forwards; }
.lodge-svg.is-visible .ls-door, .lodge-svg.is-visible .ls-gold { animation: ls-fade 400ms 1.7s var(--ease) forwards; }
.lodge-svg.is-visible .ls-win--lit { animation: ls-fade 400ms 1.3s var(--ease) forwards, ls-lit 6s 2.6s ease-in-out infinite; }
.lodge-svg.is-visible .ls-win--lit.d1 { animation-delay: 1.5s, 4s; } .lodge-svg.is-visible .ls-win--lit.d2 { animation-delay: 1.7s, 5.4s; }
.lodge-svg.is-visible .ls-door-glow { animation: ls-door 4s 2.4s ease-in-out infinite; }
.lodge-svg.is-visible .ls-luggage { animation: ls-slide-in 800ms 2.1s var(--ease) forwards, ls-bob 5s 3s ease-in-out infinite; }
.lodge-svg.is-visible .ls-card { animation: ls-card-in 800ms 2.4s var(--ease) forwards, ls-bob 6s 3.4s ease-in-out infinite; }
.lodge-svg.is-visible .ls-confirm { animation: ls-pop 700ms 2.7s var(--ease) forwards, ls-bob 7s 3.6s ease-in-out infinite; }
.lodge-svg.is-visible .ls-check { animation: ill-draw 600ms 3.2s var(--ease) forwards; }
.lodge-svg.is-visible .ls-pin { animation: ls-pin-drop 700ms 1.6s var(--ease) forwards; }
.lodge-svg.is-visible .ls-pulse { animation: ls-pulse 3s 2.4s ease-out infinite; }
.lodge-svg.is-visible .ls-route { animation: ls-fade 600ms 2.2s forwards, ill-route 30s 2.2s linear infinite; }
@keyframes ls-build { 0% { stroke-dashoffset: 1400; fill-opacity: 0; } 70% { fill-opacity: 0; } 100% { stroke-dashoffset: 0; fill-opacity: 1; } }
@keyframes ls-drop { to { opacity: 1; transform: translateY(0); } }
@keyframes ls-fade { to { opacity: 1; } }
@keyframes ls-lit { 0%, 100% { fill: #E8EEF6; } 50% { fill: #F5D680; } }
@keyframes ls-door { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.95; } }
@keyframes ls-slide-in { to { opacity: 1; transform: translateX(0); } }
@keyframes ls-card-in { to { opacity: 1; transform: translate(0, 0) rotate(0); } }
@keyframes ls-pop { 0% { opacity: 0; transform: scale(.6); } 70% { opacity: 1; transform: scale(1.06); } 100% { opacity: 1; transform: scale(1); } }
@keyframes ls-pin-drop { 0% { opacity: 0; transform: translateY(-30px); } 65% { transform: translateY(4px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes ls-pulse { 0% { opacity: .6; transform: scale(.5); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes ls-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.testi { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.testi .badge { align-self: flex-start; }
.testi__stars { display: flex; gap: 3px; color: var(--c-secondary); }
.testi__stars .icon { width: 1.05em; height: 1.05em; fill: currentColor; stroke: none; }
.testi p { color: var(--c-body); font-size: 0.97rem; }
.testi__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--c-primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-heading); }
.testi__who b { display: block; color: var(--c-heading); font-size: 0.95rem; }
.testi__who span { color: var(--c-muted); font-size: 0.82rem; }

/* Nearby */
.nearby-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.nearby-card { overflow: hidden; display: flex; flex-direction: column; }
.nearby-card__media { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #E8EEF6, #D8E2EE); display: grid; place-items: center; color: var(--c-primary); overflow: hidden; }
.nearby-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.nearby-card:hover .nearby-card__media img { transform: scale(1.03); }
.nearby-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nearby-card__dist { display: inline-flex; align-items: center; gap: 6px; font-size: 0.84rem; color: var(--c-muted); }
.nearby-card p { color: var(--c-muted); font-size: 0.92rem; }
.nearby-card .btn { align-self: flex-start; margin-top: auto; }

/* Offers */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.offer { padding: 26px; display: flex; flex-direction: column; gap: 12px; border-left: 4px solid var(--c-secondary); }
.offer__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.offer p { color: var(--c-muted); }
.offer .btn { align-self: flex-start; margin-top: auto; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 800px; margin-inline: auto; }
.faq__item { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.faq__item[open], .faq__item:hover { border-color: rgba(6, 59, 120, 0.25); }
.faq__item[open] { box-shadow: var(--shadow-soft); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 14px; width: 100%; padding: 18px 20px; text-align: left; font-family: var(--font-heading); font-weight: 600; color: var(--c-heading); font-size: 1.02rem; }
.faq__q .icon { color: var(--c-primary); transition: transform 260ms var(--ease); }
.faq__item.is-open .faq__q .icon { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 300ms var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 20px 20px; color: var(--c-muted); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-deep) 100%); color: #fff; border-radius: 22px; padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.78); margin-top: 8px; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, 0.05); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-deep) 100%); color: #fff; padding: clamp(44px, 6vw, 76px) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .06) 50%, transparent 70%); background-size: 250% 100%; animation: ph-sheen 14s linear infinite; pointer-events: none; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.page-hero p { color: rgba(255, 255, 255, 0.8); margin-top: 10px; max-width: 60ch; font-size: 1.05rem; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb, .page-hero h1, .page-hero p { opacity: 0; transform: translateY(14px); animation: ph-up 700ms var(--ease) forwards; }
.page-hero h1 { animation-delay: 120ms; } .page-hero p { animation-delay: 240ms; }
.page-hero__pattern { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ph-sky { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1; stroke-dasharray: 900; stroke-dashoffset: 900; animation: ill-draw 2.6s 200ms var(--ease) forwards; }
.ph-win { fill: rgba(231, 175, 41, .45); animation: fb-blink 6s ease-in-out infinite; }
.ph-win.d1 { animation-delay: 1.5s; } .ph-win.d2 { animation-delay: 3s; } .ph-win.d3 { animation-delay: 4.5s; }
.ph-route { fill: none; stroke: rgba(231, 175, 41, .6); stroke-width: 1.5; stroke-dasharray: 5 9; animation: ill-route 36s linear infinite; }
.ph-pin { fill: var(--c-secondary); transform-box: fill-box; transform-origin: center bottom; animation: ls-pin-drop 800ms 600ms var(--ease) both; }
.ph-ring { fill: none; stroke: var(--c-secondary); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ill-pulse 3.5s 1.4s ease-out infinite; }
.ph-dot { fill: rgba(231, 175, 41, .8); animation: fb-twinkle 5s ease-in-out infinite; }
.ph-dot.d1 { animation-delay: 1.2s; } .ph-dot.d2 { animation-delay: 2.4s; } .ph-dot.d3 { animation-delay: 3.6s; }
.ph-key { transform-box: fill-box; transform-origin: center; animation: ill-key 5s 1s ease-in-out infinite; fill: none; stroke: rgba(255, 255, 255, .4); stroke-width: 1.4; stroke-linecap: round; }
@keyframes ph-up { to { opacity: 1; transform: none; } }
@keyframes ph-sheen { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .icon { width: 0.9em; height: 0.9em; }

/* Content sections (about / policies) */
.content-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(30px, 4vw, 48px); }
.content-section + .content-section { border-top: 1px solid var(--c-line); }
.content-section:nth-child(even) .content-section__media { order: -1; }
.content-section--noimg { grid-template-columns: minmax(0, 760px); }
.content-section__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.content-section__media img { width: 100%; height: 100%; object-fit: cover; }
.content-section h2 { margin-bottom: 12px; }
.content-section h3 { color: var(--c-muted); font-weight: 500; margin-bottom: 10px; }
.content-section p { color: var(--c-body); white-space: pre-line; }
.content-section .btn { margin-top: 18px; }
.prose { max-width: 760px; }
.prose h2 { margin: 28px 0 10px; font-size: 1.35rem; }
.prose p { white-space: pre-line; }

/* ============================================================
   GALLERY
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 8px 9px 16px; border-radius: 999px; border: 1.5px solid var(--c-line-strong); background: var(--c-surface); font-weight: 500; font-size: 0.9rem; color: var(--c-body); transition: all var(--t-fast); min-height: 40px; }
.filters button .count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #EEF2F7; color: var(--c-muted); font-size: 0.74rem; font-weight: 600; display: inline-grid; place-items: center; transition: all var(--t-fast); }
.filters button:hover { border-color: var(--c-primary); color: var(--c-primary); transform: translateY(-1px); }
.filters button.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.filters button.is-active .count { background: var(--c-secondary); color: #1a1405; }
.gallery { columns: 3; column-gap: 16px; }
.gallery__item { break-inside: avoid; margin-bottom: 16px; position: relative; border-radius: 14px; overflow: hidden; background: #e8edf3; display: block; width: 100%; cursor: zoom-in; box-shadow: var(--shadow-soft); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.gallery__item img { width: 100%; height: auto; object-position: var(--pos-x, 50%) var(--pos-y, 50%); transition: transform 700ms var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 30, 62, 0.8) 0%, rgba(6, 30, 62, 0.15) 45%, transparent 70%); opacity: 0; transition: opacity var(--t-med); }
.gallery__zoom { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--c-primary); display: grid; place-items: center; opacity: 0; transform: translateY(-6px) scale(.8); transition: all var(--t-med) var(--ease); }
.gallery__item figcaption { position: absolute; inset: auto 0 0; padding: 14px 16px; color: #fff; font-size: 0.9rem; font-weight: 500; opacity: 0; transform: translateY(8px); transition: all var(--t-med) var(--ease); text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gallery__item figcaption .badge { background: rgba(255, 255, 255, .18); color: #fff; backdrop-filter: blur(4px); }
.gallery__item:hover::before, .gallery__item:focus-visible::before, .gallery__item:hover figcaption, .gallery__item:focus-visible figcaption, .gallery__item:hover .gallery__zoom, .gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: none; }
.gallery__item.is-hidden { display: none; }
.gallery__empty { color: var(--c-muted); text-align: center; padding: 40px; }
.gallery-intro { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.gallery-intro p { color: var(--c-muted); margin: 0; }

.lightbox { position: fixed; inset: 0; background: rgba(5, 20, 44, 0.95); z-index: 1200; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity var(--t-med), visibility var(--t-med); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; flex: 1; min-height: 0; padding: 70px 80px 12px; }
.lightbox__img { max-width: min(92vw, 1100px); max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); opacity: 1; transition: opacity 240ms var(--ease), transform 240ms var(--ease); }
.lightbox__img.is-loading { opacity: 0; transform: scale(.98); }
.lightbox__caption { color: #fff; font-size: 0.92rem; background: rgba(255, 255, 255, 0.1); padding: 8px 16px; border-radius: 999px; max-width: 90vw; text-align: center; margin-top: 6px; }
.lightbox__btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; display: grid; place-items: center; transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease); border: 1px solid rgba(255, 255, 255, .12); }
.lightbox__btn:hover { background: var(--c-secondary); color: #1a1405; border-color: var(--c-secondary); transform: scale(1.08); }
.lightbox__btn:focus-visible { outline-color: var(--c-secondary); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__close:hover { transform: rotate(90deg) scale(1.08); }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover { transform: translateY(-50%) scale(1.08) translateX(-2px); }
.lightbox__next:hover { transform: translateY(-50%) scale(1.08) translateX(2px); }
.lightbox__count { position: absolute; top: 26px; left: 24px; color: #fff; font-size: 0.85rem; font-weight: 600; background: rgba(255, 255, 255, .1); padding: 6px 12px; border-radius: 999px; }
.lightbox__thumbs { display: flex; gap: 8px; padding: 14px 16px 18px; max-width: 100vw; overflow-x: auto; scrollbar-width: none; }
.lightbox__thumbs::-webkit-scrollbar { display: none; }
.lightbox__thumbs button { flex: 0 0 auto; width: 64px; height: 48px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; opacity: 0.5; transition: all var(--t-fast); }
.lightbox__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumbs button:hover { opacity: .85; }
.lightbox__thumbs button.is-active { opacity: 1; border-color: var(--c-secondary); }

/* ============================================================
   BOOKING PAGE
   ============================================================ */
.booking-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.booking-form { padding: clamp(20px, 3vw, 32px); }
.booking-form h2 { font-size: 1.45rem; }
.booking-form > p { color: var(--c-muted); margin: 6px 0 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .field--full { grid-column: 1 / -1; }
.form-disclaimer { display: flex; gap: 10px; align-items: flex-start; background: rgba(216, 155, 18, 0.1); border: 1px solid rgba(216, 155, 18, 0.35); border-radius: 10px; padding: 12px 14px; font-size: 0.86rem; color: #6b4d05; margin-top: 18px; }
.form-disclaimer .icon { flex: 0 0 auto; margin-top: 2px; }
.form-actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.summary { position: sticky; top: calc(var(--header-h) + 16px); padding: 24px; }
.summary h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.summary h3 .icon { color: var(--c-secondary); }
.summary__rows { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--c-line); font-size: 0.93rem; }
.summary__row span { color: var(--c-muted); }
.summary__row b { color: var(--c-heading); text-align: right; font-weight: 600; }
.summary__total { margin-top: 14px; background: rgba(6, 59, 120, 0.06); border-radius: 10px; padding: 14px; }
.summary__total small { display: block; color: var(--c-muted); font-size: 0.78rem; }
.summary__total b { font-family: var(--font-heading); font-size: 1.5rem; color: var(--c-primary); }
.summary__total em { display: block; font-style: normal; font-size: 0.76rem; color: #6b4d05; margin-top: 6px; }
.summary__hint { color: var(--c-muted); font-size: 0.85rem; margin-top: 12px; }
.summary__contact { margin-top: 18px; display: grid; gap: 8px; }
.summary__contact a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--c-line); color: var(--c-heading); font-weight: 500; font-size: 0.92rem; transition: all var(--t-fast); }
.summary__contact a:hover { border-color: var(--c-primary); background: rgba(6, 59, 120, 0.05); }
.summary__contact .icon { color: var(--c-primary); }

/* Booking overlay (summary review before redirect) */
.modal { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(5, 20, 44, 0.6); opacity: 0; visibility: hidden; transition: opacity var(--t-med), visibility var(--t-med); }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__card { background: var(--c-surface); border-radius: 18px; width: min(560px, 100%); max-height: 90dvh; overflow: auto; padding: 26px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5); transform: translateY(14px); transition: transform var(--t-med) var(--ease); }
.modal.is-open .modal__card { transform: translateY(0); }
.modal__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.modal__head h3 { display: inline-flex; align-items: center; gap: 8px; }
.modal__head h3 .icon { color: var(--c-success); }
.modal__close { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1.5px solid var(--c-line); }
.modal__foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.modal__foot .btn { flex: 1; }
.modal--wide .modal__card { width: min(980px, 100%); padding: 0; }

/* Room detail (modal) */
.room-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.room-detail__gallery { background: #0f1c2e; display: flex; flex-direction: column; }
.room-detail__main { aspect-ratio: 4 / 3; overflow: hidden; }
.room-detail__main img { width: 100%; height: 100%; object-fit: cover; }
.room-detail__thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.room-detail__thumbs button { flex: 0 0 auto; width: 72px; height: 56px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; opacity: 0.65; transition: all var(--t-fast); }
.room-detail__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.room-detail__thumbs button.is-active, .room-detail__thumbs button:hover { opacity: 1; border-color: var(--c-secondary); }
.room-detail__body { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.room-detail__body p { color: var(--c-muted); }
.room-detail__close { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255, 255, 255, 0.92); }
.room-detail__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; }
.contact-card__icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(6, 59, 120, 0.07); color: var(--c-primary); display: grid; place-items: center; flex: 0 0 auto; }
.contact-card b { display: block; color: var(--c-heading); font-family: var(--font-heading); margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--c-body); font-size: 0.95rem; }
.contact-card a { font-weight: 500; }
.contact-card address { font-style: normal; white-space: pre-line; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); aspect-ratio: 16 / 9; background: #e8edf3; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder { display: grid; place-items: center; height: 100%; color: var(--c-primary); text-align: center; padding: 20px; gap: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { position: relative; background: var(--c-primary-deep); color: rgba(255, 255, 255, 0.78); overflow: hidden; padding-bottom: 20px; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 20% 0%, rgba(8, 77, 146, 0.6), transparent 70%); pointer-events: none; }
.footer-bg { position: absolute; inset: auto 0 0; width: 100%; height: auto; opacity: 0.45; pointer-events: none; }
.fb-sky { stroke: rgba(255, 255, 255, 0.28); fill: none; stroke-width: 1.2; }
.fb-win { fill: rgba(231, 175, 41, 0.25); }
.fb-win--blink { animation: fb-blink 7s ease-in-out infinite; }
.fb-win--blink.d1 { animation-delay: 2.3s; }
.fb-win--blink.d2 { animation-delay: 4.6s; }
.fb-route { stroke: rgba(231, 175, 41, 0.55); fill: none; stroke-width: 1.5; stroke-dasharray: 6 8; animation: fb-route 30s linear infinite; }
.fb-dot { fill: rgba(231, 175, 41, 0.7); animation: fb-twinkle 6s ease-in-out infinite; }
.fb-dot.d1 { animation-delay: 1.5s; } .fb-dot.d2 { animation-delay: 3s; } .fb-dot.d3 { animation-delay: 4.5s; }
.fb-pin { fill: var(--c-secondary); }
.fb-pin-ring { fill: none; stroke: var(--c-secondary); stroke-width: 1.5; transform-origin: center; transform-box: fill-box; animation: ill-pulse 4s ease-out infinite; }
@keyframes fb-blink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@keyframes fb-route { to { stroke-dashoffset: -280; } }
@keyframes fb-twinkle { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.9; } }
.site-footer.no-anim .fb-win--blink, .site-footer.no-anim .fb-route, .site-footer.no-anim .fb-dot, .site-footer.no-anim .fb-pin-ring { animation: none; }

.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 32px; padding: clamp(48px, 6vw, 80px) 0 40px; }
.footer-brand .brand__text b { color: #fff; }
.site-footer .logo-mark .lm-pin { stroke: #fff; }
.site-footer .logo-mark .lm-building { fill: #fff; }
.site-footer .logo-mark .lm-window, .site-footer .logo-mark .lm-door { fill: var(--c-primary-deep); }
.footer-brand p { margin-top: 16px; font-size: 0.93rem; max-width: 34ch; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; transition: all var(--t-fast); }
.footer-social a:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--c-secondary); transform: translateY(-2px); }
.footer-col h4 { color: #fff; font-size: 0.98rem; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { position: relative; display: inline-block; color: rgba(255, 255, 255, 0.78); font-size: 0.93rem; transition: color var(--t-fast), transform var(--t-fast) var(--ease); }
.footer-col a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px; background: var(--c-secondary); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease); }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-col a:hover::after { transform: scaleX(1); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; }
.footer-contact .icon { color: var(--c-secondary); flex: 0 0 auto; margin-top: 4px; }
.footer-contact address { font-style: normal; white-space: pre-line; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.footer-bottom a { color: rgba(255, 255, 255, 0.85); }
.footer-bottom a:hover { color: var(--c-secondary); }
.footer-accordion-toggle { display: none; }

/* ============================================================
   FLOATING ACTIONS
   ============================================================ */
.fab-stack { position: fixed; right: 20px; bottom: 24px; z-index: 800; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab { position: relative; display: inline-flex; align-items: center; gap: 0; height: 56px; padding: 0; border-radius: 999px; color: #fff; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.45); transition: gap var(--t-med) var(--ease), padding var(--t-med) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast); animation: fab-in 600ms var(--ease) both; }
.fab:nth-child(1) { animation-delay: 700ms; } .fab:nth-child(2) { animation-delay: 850ms; } .fab:nth-child(3) { animation-delay: 1000ms; }
.fab__icon { width: 56px; height: 56px; display: grid; place-items: center; flex: 0 0 auto; }
.fab__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: 0.92rem; opacity: 0; transition: max-width var(--t-med) var(--ease), opacity var(--t-med), padding var(--t-med); }
.fab:hover, .fab:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 32px -12px rgba(0, 0, 0, 0.5); }
.fab:hover .fab__label, .fab:focus-visible .fab__label { max-width: 160px; opacity: 1; padding-right: 22px; }
.fab--whatsapp { background: var(--c-whatsapp); }
.fab--whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--c-whatsapp); animation: fab-pulse 2.8s ease-out infinite; pointer-events: none; }
.fab--call { background: var(--c-primary); }
.fab--call .icon { animation: phone-wiggle 7s 4s ease-in-out infinite; transform-origin: 50% 60%; }
.fab .icon { width: 26px; height: 26px; }
.fab--whatsapp .icon { stroke: none; fill: #fff; }
.fab--top { height: 44px; width: 44px; background: var(--c-surface); color: var(--c-primary); border: 1.5px solid var(--c-line-strong); box-shadow: var(--shadow-soft); opacity: 0; visibility: hidden; transform: translateY(10px); animation: none; }
.fab--top .fab__icon { width: 42px; height: 42px; }
.fab--top .icon { width: 20px; height: 20px; }
.fab--top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.fab--top:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); transform: translateY(-3px); }
@keyframes fab-in { from { opacity: 0; transform: translateX(30px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes fab-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }
.mobile-dock { display: none; }

/* ============================================================
   REVEAL / MOTION
   ============================================================ */
.reveal-up, .reveal-left, .reveal-right { opacity: 0; transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal-up { transform: translateY(20px); }
.reveal-left { transform: translateX(-20px); }
.reveal-right { transform: translateX(20px); }
.reveal-up.is-visible, .reveal-left.is-visible, .reveal-right.is-visible { opacity: 1; transform: none; }
[data-stagger] > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: var(--c-heading); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 0.92rem; z-index: 1300; opacity: 0; visibility: hidden; transition: all var(--t-med) var(--ease); box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.5); }
.toast.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* Loading skeleton */
.skeleton { background: linear-gradient(90deg, #e9eef4 25%, #f3f6fa 50%, #e9eef4 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 10px; min-height: 120px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ============================================================
   MAINTENANCE SCREEN
   ============================================================ */
.maint { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 24px; color: #fff; overflow: hidden;
  background: radial-gradient(80% 60% at 50% 0%, #0A4C90 0%, #063B78 45%, #041F44 100%); }
.maint__svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.maint__card { position: relative; text-align: center; max-width: 560px; display: grid; justify-items: center; gap: 16px; }
.maint__card h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); margin-top: 8px; }
.maint__card p { color: rgba(255, 255, 255, 0.8); font-size: 1.05rem; max-width: 46ch; }
.maint__card small { color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; }
.maint__brand { display: grid; justify-items: center; gap: 8px; }
.maint__brand .brand__text { align-items: center; }
.maint__brand .brand__text b { color: #fff; font-size: 1.5rem; }
.maint__brand .brand__text span { font-size: 0.95rem; }
.maint__brand .logo-mark .lm-pin { stroke: #fff; }
.maint__brand .logo-mark .lm-building { fill: #fff; }
.maint__brand .logo-mark .lm-window, .maint__brand .logo-mark .lm-door { fill: var(--c-primary); }
.mt-particle { fill: var(--c-secondary); animation: mt-float 12s ease-in-out infinite; }
.mt-particle.d1 { animation-delay: -3s; } .mt-particle.d2 { animation-delay: -6s; } .mt-particle.d3 { animation-delay: -9s; }
.mt-line { stroke: rgba(255, 255, 255, 0.14); fill: none; stroke-width: 1; }
.mt-curve { stroke: rgba(231, 175, 41, 0.25); fill: none; stroke-width: 1.2; }
@keyframes mt-float { 0%, 100% { transform: translateY(0); opacity: 0.35; } 50% { transform: translateY(-30px); opacity: 0.9; } }
.maint .btn-group { justify-content: center; margin-top: 8px; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.notfound h1 { font-size: clamp(3rem, 8vw, 5rem); color: var(--c-primary); }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal-up, .reveal-left, .reveal-right { opacity: 1; transform: none; }
  .logo-mark--anim .lm-pin { stroke-dashoffset: 0; }
  .logo-mark--anim .lm-building-g, .brand__text--anim b, .brand__text--anim span { opacity: 1; transform: none; }
  .ill-line--draw, .ill-check, .ls-check { stroke-dashoffset: 0; }
  .hero__card { opacity: 1; }
  .lodge-svg .ls-main { stroke-dashoffset: 0; fill-opacity: 1; }
  .lodge-svg .ls-roof, .lodge-svg .ls-sign, .lodge-svg .ls-canopy, .lodge-svg .ls-win, .lodge-svg .ls-door, .lodge-svg .ls-gold, .lodge-svg .ls-glass, .lodge-svg .ls-desk, .lodge-svg .ls-luggage, .lodge-svg .ls-card, .lodge-svg .ls-confirm, .lodge-svg .ls-pin, .lodge-svg .ls-route { opacity: 1; transform: none; }
  .page-hero .breadcrumb, .page-hero h1, .page-hero p { opacity: 1; transform: none; }
  .ph-sky { stroke-dashoffset: 0; }
  .fab { animation: none; opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .qbook__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qbook__grid .btn { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-col--contact { grid-column: 1 / -1; }
}
@media (max-width: 992px) {
  :root { --header-h: 70px; }
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .header-actions { margin-left: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: auto; margin-top: 8px; }
  .hero__photo { margin: 0; width: 100%; aspect-ratio: 16 / 11; }
  .hero__illustration { display: none; }
  .hero h1 { max-width: 16ch; }
  .lodge-section__inner, .property, .booking-layout, .contact-layout, .content-section, .room-detail, .cta-band { grid-template-columns: 1fr; }
  .content-section:nth-child(even) .content-section__media { order: 0; }
  .summary { position: static; }
  .gallery { columns: 2; }
  .why-grid, .facilities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--contact { grid-column: auto; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .qbook__grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .hero { padding-bottom: 110px; }
  .hero__card--top { display: none; }
  .property__media { min-height: 240px; }
  .lightbox__prev, .lightbox__next { display: none; }
  .lightbox__stage { padding: 64px 12px 8px; }
  .modal--wide .modal__card { max-height: 92dvh; }
}
@media (max-width: 576px) {
  body { font-size: 15.5px; }
  .qbook__grid { grid-template-columns: 1fr; }
  .qbook__grid > * { min-width: 0; }
  .qbook__grid .btn { white-space: normal; height: auto; padding-block: 12px; }
  .gallery { columns: 1; }
  .why-grid, .facilities-grid { grid-template-columns: 1fr; }
  .btn-group .btn { flex: 1 1 auto; }
  .hero__desc { font-size: 1rem; }
  .hero__trust .chip { font-size: 0.8rem; padding: 6px 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 6px; padding-top: 44px; }
  .footer-brand { margin-bottom: 20px; }
  .footer-col { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .footer-col h4 { margin: 0; }
  .footer-accordion-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 16px 0; color: #fff; font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem; }
  .footer-accordion-toggle .icon { transition: transform 260ms var(--ease); }
  .footer-col.is-open .footer-accordion-toggle .icon { transform: rotate(180deg); }
  .footer-col ul { display: none; padding-bottom: 18px; }
  .footer-col.is-open ul { display: grid; }
  .footer-col--contact ul { display: grid; padding: 12px 0 18px; }
  .footer-col--contact .footer-accordion-toggle { pointer-events: none; }
  .footer-col--contact .footer-accordion-toggle .icon { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; padding-bottom: 76px; }

  .fab-stack { display: none; }
  .mobile-dock { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 850; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px); border-top: 1px solid var(--c-line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 10px; font-weight: 600; font-size: 0.9rem; color: var(--c-primary); border: 1.5px solid var(--c-line); }
  .mobile-dock a.is-whatsapp { background: var(--c-whatsapp-dark); color: #fff; border-color: transparent; }
  .mobile-dock a.is-whatsapp .icon { stroke: none; fill: #fff; }
  .mobile-dock a .icon { width: 20px; height: 20px; }
  body { padding-bottom: 70px; }
  .toast { bottom: 84px; width: min(92vw, 400px); text-align: center; }
  .room-card__actions { flex-direction: column; }
  .room-detail__actions .btn { flex: 1; }
  .modal__card { padding: 20px; }
}

/* ============================================================
   POLISH PASS 2 — richer, restrained motion
   ============================================================ */

/* ---- 1 & 7. Logo: initial draw, then a slow "life" loop ---- */
.logo-mark .lm-window { transition: fill 600ms ease; }
.logo-mark--anim .lm-window { animation: lm-win 9s ease-in-out infinite; animation-delay: calc(3s + var(--wd, 0s)); }
.logo-mark--anim .lm-window:nth-of-type(3) { --wd: 0s; }
.logo-mark--anim .lm-window:nth-of-type(4) { --wd: .35s; }
.logo-mark--anim .lm-window:nth-of-type(5) { --wd: .7s; }
.logo-mark--anim .lm-window:nth-of-type(6) { --wd: 1.05s; }
.logo-mark--anim .lm-window:nth-of-type(7) { --wd: 1.4s; }
.logo-mark--anim .lm-window:nth-of-type(8) { --wd: 1.75s; }
.logo-mark .lm-window { opacity: 1; }
.logo-mark--anim .lm-key { animation: lm-glow 1.6s 900ms ease-out 1, lm-key-loop 9s 5.5s ease-in-out infinite; transform-origin: 60px 80px; }
.logo-mark--anim .lm-pin { animation: lm-draw 1.1s var(--ease) forwards, lm-pin-breathe 9s 4s ease-in-out infinite; }
.brand:hover .lm-float { animation: lm-hover 700ms var(--ease); }
.brand:hover .lm-key { animation: lm-glow 900ms ease-out; }
@keyframes lm-win { 0%, 6%, 100% { fill: #fff; } 3% { fill: #F5D680; } }
@keyframes lm-key-loop { 0%, 90%, 100% { transform: translateY(0); filter: none; } 94% { transform: translateY(-1.5px); filter: drop-shadow(0 0 5px rgba(231, 175, 41, .95)); } }
@keyframes lm-pin-breathe { 0%, 100% { stroke-width: 7.5; } 50% { stroke-width: 8.2; } }
@keyframes lm-hover { 0% { transform: translateY(0); } 40% { transform: translateY(-4px) scale(1.04); } 100% { transform: translateY(0); } }

/* ---- 1. Header phone button: quiet "ringing" ---- */
.header-phone { position: relative; background: var(--c-surface); border-color: rgba(6, 59, 120, .22); overflow: visible; }
.header-phone::before { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; border: 1.5px solid var(--c-secondary); opacity: 0; animation: ring-pulse 5s 2s ease-out infinite; }
.header-phone .icon { animation: ring-shake 5s 2s ease-in-out infinite; transform-origin: 50% 60%; }
.header-phone:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); transform: translateY(-1px); }
.header-phone:hover .icon { animation: ring-shake 700ms ease-in-out infinite; }
@keyframes ring-pulse { 0%, 12%, 100% { opacity: 0; transform: scale(1); } 2% { opacity: .9; transform: scale(1); } 10% { opacity: 0; transform: scale(1.55); } }
@keyframes ring-shake { 0%, 12%, 100% { transform: rotate(0); } 2% { transform: rotate(-14deg); } 4% { transform: rotate(12deg); } 6% { transform: rotate(-10deg); } 8% { transform: rotate(8deg); } 10% { transform: rotate(-4deg); } }
.site-header.is-scrolled .header-phone { background: var(--c-surface); }

/* ---- 2. Hero illustration: continuous life ---- */
.ill-line { opacity: .72; }
.ill-route { stroke: var(--c-secondary); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 5 9; opacity: .8; animation: ill-route 26s linear infinite; }
.ill-window--glow { animation: ill-glow 6s 1.5s ease-in-out infinite; }
.ill-window--glow.d2 { animation-delay: 3.5s; }
.ill-window--glow.d3 { animation-delay: 5s; }
.ill-check { animation: ill-draw 700ms 1.9s var(--ease) forwards, ill-check-loop 8s 4s ease-in-out infinite; }
.ill-person { transform-origin: 345px 398px; animation: ill-nod 6s 3s ease-in-out infinite; }
.ill-bell { transform-origin: 380px 424px; animation: ill-bell 7s 5s ease-in-out infinite; }
.ill-spark { fill: var(--c-secondary); opacity: 0; animation: ill-spark 5s ease-in-out infinite; }
.ill-spark.d1 { animation-delay: 1.6s; } .ill-spark.d2 { animation-delay: 3.2s; }
.ill-cal-dot { fill: rgba(6, 59, 120, .2); animation: ill-caldot 8s ease-in-out infinite; }
.ill-cal-dot.d1 { animation-delay: .6s; } .ill-cal-dot.d2 { animation-delay: 1.2s; } .ill-cal-dot.d3 { animation-delay: 1.8s; }
.hero__card { animation: card-in 700ms 600ms var(--ease) both, card-float 7s 1.5s ease-in-out infinite; }
.hero__card--top { animation-delay: 900ms, 3s; }
.hero__photo img { transition: transform 900ms var(--ease); }
.hero__visual:hover .hero__photo img { transform: scale(1.03); }
@keyframes ill-route { to { stroke-dashoffset: -420; } }
@keyframes ill-check-loop { 0%, 84%, 100% { stroke-dashoffset: 0; } 86% { stroke-dashoffset: 40; } 96% { stroke-dashoffset: 0; } }
@keyframes ill-nod { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-4deg) translateY(-1px); } }
@keyframes ill-bell { 0%, 10%, 100% { transform: rotate(0); } 2% { transform: rotate(-12deg); } 4% { transform: rotate(10deg); } 6% { transform: rotate(-6deg); } 8% { transform: rotate(3deg); } }
@keyframes ill-spark { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: .9; transform: scale(1); } }
@keyframes ill-caldot { 0%, 100% { fill: rgba(6, 59, 120, .2); } 50% { fill: rgba(216, 155, 18, .8); } }
@keyframes card-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* ---- 3. Lodge illustration: entrance + continuous ---- */
.lodge-svg .ls-wall { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.lodge-svg.is-visible .ls-wall { animation: ill-draw 1.6s var(--ease) forwards; }
.lodge-svg .ls-roof, .lodge-svg .ls-win, .lodge-svg .ls-door, .lodge-svg .ls-gold, .lodge-svg .ls-sign, .lodge-svg .ls-inner { opacity: 0; }
.lodge-svg.is-visible .ls-roof, .lodge-svg.is-visible .ls-win, .lodge-svg.is-visible .ls-door, .lodge-svg.is-visible .ls-gold, .lodge-svg.is-visible .ls-sign, .lodge-svg.is-visible .ls-inner { animation: ls-fade .6s .9s var(--ease) forwards; }
.lodge-svg .ls-win--lit { animation: ls-lit 7s ease-in-out infinite; }
.lodge-svg.is-visible .ls-win--lit { animation: ls-fade .6s .9s var(--ease) forwards, ls-lit 7s 2s ease-in-out infinite; }
.lodge-svg.is-visible .ls-win--lit.d1 { animation-delay: .9s, 3.2s; }
.lodge-svg.is-visible .ls-win--lit.d2 { animation-delay: .9s, 4.6s; }
.lodge-svg.is-visible .ls-win--lit.d3 { animation-delay: .9s, 5.8s; }
.ls-luggage { opacity: 0; transform: translateX(-30px); }
.lodge-svg.is-visible .ls-luggage { animation: ls-roll 1.2s 1.4s var(--ease) forwards, ls-bob 4s 2.8s ease-in-out infinite; }
.ls-keycard { opacity: 0; transform-origin: 35px 22px; }
.lodge-svg.is-visible .ls-keycard { animation: ls-fade .6s 1.8s var(--ease) forwards, ls-tilt 6s 2.5s ease-in-out infinite; }
.ls-confirm { opacity: 0; }
.lodge-svg.is-visible .ls-confirm { animation: ls-rise .7s 1.6s var(--ease) forwards, card-float 7s 3s ease-in-out infinite; }
.ls-pin-g { transform-origin: 0 30px; }
.lodge-svg.is-visible .ls-pin-g { animation: ls-drop .8s 1.2s var(--ease) both, ls-bounce 5s 3s ease-in-out infinite; }
.ls-route { stroke: var(--c-secondary); fill: none; stroke-width: 1.5; stroke-dasharray: 3 6; animation: ill-route 20s linear infinite; }
.ls-door-glow { animation: ls-door 4s 2s ease-in-out infinite; }
.lodge-svg.is-visible .ls-check { animation: ill-draw 700ms 2.2s var(--ease) forwards, ill-check-loop 9s 4s ease-in-out infinite; }
@keyframes ls-fade { to { opacity: 1; } }
@keyframes ls-roll { to { opacity: 1; transform: translateX(0); } }
@keyframes ls-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes ls-tilt { 0%, 100% { transform: rotate(0) translateY(0); } 50% { transform: rotate(-3deg) translateY(-4px); } }
@keyframes ls-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ls-drop { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ls-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---- 4. Floating buttons: labelled pills with a soft pulse ---- */
.fab-stack { gap: 12px; align-items: flex-end; }
.fab { position: relative; width: 56px; height: 56px; box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .5); animation: fab-in 600ms var(--ease) both; }
.fab--call { animation-delay: 600ms; }
.fab--whatsapp { animation-delay: 750ms; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; opacity: 0; animation: fab-pulse 3.2s 1.5s ease-out infinite; z-index: -1; }
.fab--call::before { animation-delay: 3.1s; }
.fab__label { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%); background: var(--c-heading); color: #fff; font-size: .82rem; font-weight: 600; padding: 7px 12px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--t-fast), transform var(--t-fast) var(--ease); }
.fab__label::after { content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-left-color: var(--c-heading); }
.fab:hover .fab__label, .fab:focus-visible .fab__label { opacity: 1; transform: translate(0, -50%); }
.fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 32px -12px rgba(0, 0, 0, .55); }
.fab--whatsapp:hover { background: #1fbd5a; }
.fab--call:hover { background: var(--c-primary-light); }
.fab--top { width: 46px; height: 46px; background: var(--c-surface); color: var(--c-primary); border: 1.5px solid var(--c-line-strong); box-shadow: var(--shadow-soft); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity var(--t-med), transform var(--t-med) var(--ease), visibility var(--t-med); animation: none; }
.fab--top::before { display: none; }
.fab--top .icon { width: 20px; height: 20px; transition: transform var(--t-fast) var(--ease); }
.fab--top.is-shown { opacity: 1; visibility: visible; transform: translateY(0); }
.fab--top:hover { background: var(--c-secondary); color: #1a1405; border-color: var(--c-secondary); transform: translateY(-3px); }
.fab--top:hover .icon { transform: translateY(-2px); }
@keyframes fab-in { from { opacity: 0; transform: translateY(16px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes fab-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.75); opacity: 0; } }
.mobile-dock a { transition: background var(--t-fast), transform var(--t-fast); }
.mobile-dock a:active { transform: scale(.97); }
.mobile-dock a.is-whatsapp { position: relative; overflow: hidden; }
.mobile-dock a.is-whatsapp::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .25), transparent); animation: dock-shine 5s 2s ease-in-out infinite; }
@keyframes dock-shine { 0%, 20%, 100% { left: -60%; } 10% { left: 120%; } }

/* ---- 5. Inner page hero: animated skyline + entrance ---- */
.page-hero { background: linear-gradient(120deg, var(--c-primary) 0%, var(--c-primary-deep) 70%, #041F44 100%); padding: clamp(48px, 7vw, 84px) 0 clamp(44px, 6vw, 72px); }
.page-hero__pattern { opacity: 1; }
.ph-sky { stroke: rgba(255, 255, 255, .32); fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: ill-draw 2.4s .2s var(--ease) forwards; }
.ph-win { fill: rgba(231, 175, 41, .35); opacity: 0; animation: ph-win 8s ease-in-out infinite; }
.ph-win.d1 { animation-delay: 1.2s; } .ph-win.d2 { animation-delay: 2.4s; } .ph-win.d3 { animation-delay: 3.6s; } .ph-win.d4 { animation-delay: 4.8s; }
.ph-route { stroke: rgba(231, 175, 41, .6); fill: none; stroke-width: 1.5; stroke-dasharray: 6 9; animation: ill-route 24s linear infinite; }
.ph-pin { fill: var(--c-secondary); transform-origin: center; transform-box: fill-box; animation: ls-bounce 5s 1s ease-in-out infinite; }
.ph-ring { fill: none; stroke: var(--c-secondary); stroke-width: 1.5; transform-origin: center; transform-box: fill-box; animation: ill-pulse 3.6s 1.2s ease-out infinite; }
.ph-dot { fill: var(--c-secondary); animation: fb-twinkle 6s ease-in-out infinite; }
.ph-dot.d1 { animation-delay: 1.5s; } .ph-dot.d2 { animation-delay: 3s; } .ph-dot.d3 { animation-delay: 4.5s; }
.ph-glow { fill: url(#ph-glow); }
.page-hero .breadcrumb, .page-hero h1, .page-hero p { opacity: 0; animation: ph-up 700ms var(--ease) forwards; }
.page-hero h1 { animation-delay: 120ms; }
.page-hero p { animation-delay: 240ms; }
.page-hero h1::after { content: ""; display: block; width: 56px; height: 3px; background: var(--c-secondary); border-radius: 3px; margin-top: 14px; transform: scaleX(0); transform-origin: left; animation: ph-line 700ms 500ms var(--ease) forwards; }
@keyframes ph-win { 0%, 8%, 100% { opacity: 0; } 4% { opacity: 1; } }
@keyframes ph-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ph-line { to { transform: scaleX(1); } }

/* ---- 6. Gallery ---- */
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.gallery-toolbar .filters { margin: 0; }
.gallery-count { color: var(--c-muted); font-size: .9rem; }
.filters button { display: inline-flex; align-items: center; gap: 8px; }
.filters button small { background: rgba(6, 59, 120, .08); color: var(--c-primary); border-radius: 999px; padding: 2px 7px; font-size: .72rem; font-weight: 700; transition: background var(--t-fast), color var(--t-fast); }
.filters button.is-active small { background: rgba(255, 255, 255, .22); color: #fff; }
.gallery { column-gap: 18px; }
.gallery__item { margin-bottom: 18px; border-radius: 14px; box-shadow: var(--shadow-soft); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.gallery__item img { transition: transform 900ms var(--ease), filter 500ms; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 59, 120, .72) 0%, rgba(6, 59, 120, .05) 55%, transparent 100%); opacity: 0; transition: opacity var(--t-med); }
.gallery__item:hover::before, .gallery__item:focus-visible::before { opacity: 1; }
.gallery__zoom { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--c-primary); display: grid; place-items: center; transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: transform var(--t-med) var(--ease), opacity var(--t-med); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .4); }
.gallery__item:hover .gallery__zoom, .gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.gallery__item figcaption { padding: 40px 16px 14px; background: none; font-weight: 500; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; transform: translateY(6px); transition: opacity var(--t-med), transform var(--t-med) var(--ease); }
.gallery__item:hover figcaption, .gallery__item:focus-visible figcaption { transform: translateY(0); }
.gallery__item figcaption .badge { background: rgba(255, 255, 255, .18); color: #fff; backdrop-filter: blur(4px); }
.gallery__item.is-hidden { display: none; }
.gallery__item.is-filtered-in { animation: card-in 500ms var(--ease) both; }
.lightbox { background: rgba(4, 18, 40, .96); flex-direction: column; gap: 14px; }
.lightbox__img { max-height: 74vh; }
.lightbox__btn { border: 1px solid rgba(255, 255, 255, .18); transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease), border-color var(--t-fast); }
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: var(--c-secondary); color: #1a1405; border-color: var(--c-secondary); transform: scale(1.06); }
.lightbox__prev:hover { transform: translateY(-50%) scale(1.06) translateX(-2px); }
.lightbox__next:hover { transform: translateY(-50%) scale(1.06) translateX(2px); }
.lightbox__caption { position: static; transform: none; background: none; padding: 0; font-size: .95rem; }
.lightbox__thumbs { display: flex; gap: 8px; padding: 4px; max-width: 92vw; overflow-x: auto; scrollbar-width: none; }
.lightbox__thumbs::-webkit-scrollbar { display: none; }
.lightbox__thumbs button { flex: 0 0 auto; width: 64px; height: 48px; border-radius: 7px; overflow: hidden; opacity: .45; border: 2px solid transparent; transition: opacity var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.lightbox__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumbs button.is-active, .lightbox__thumbs button:hover { opacity: 1; border-color: var(--c-secondary); }
.lightbox__thumbs button:hover { transform: translateY(-2px); }
.lightbox__img { animation: lb-in 320ms var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } }
@media (max-width: 768px) {
  .gallery__item figcaption { opacity: 1; transform: none; padding-top: 30px; }
  .gallery__item::before { opacity: .8; }
  .lightbox__thumbs { display: none; }
}
@media (max-width: 576px) { .gallery { columns: 2; column-gap: 10px; } .gallery__item { margin-bottom: 10px; border-radius: 10px; } .gallery__item figcaption { font-size: .74rem; padding: 24px 10px 8px; } .gallery__item figcaption .badge { display: none; } }

/* ---- 7. Drawer logo re-animates on open ---- */
.drawer__head .brand__text b, .drawer__head .brand__text span { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .fab, .fab::before, .header-phone::before, .header-phone .icon, .ill-route, .ls-route, .ph-route, .page-hero .breadcrumb, .page-hero h1, .page-hero p { animation: none !important; opacity: 1; }
  .lodge-svg .ls-wall { stroke-dashoffset: 0; }
  .lodge-svg .ls-roof, .lodge-svg .ls-win, .lodge-svg .ls-door, .lodge-svg .ls-gold, .lodge-svg .ls-sign, .lodge-svg .ls-inner, .ls-luggage, .ls-keycard, .ls-confirm { opacity: 1; transform: none; }
  .page-hero h1::after { transform: scaleX(1); }
  .fab--top.is-shown { opacity: 1; }
}

/* Gallery: dense grid (portrait photos span two rows) */
.gallery { columns: auto; column-gap: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 18px; }
.gallery__item { margin: 0; height: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__item.is-portrait { grid-row: span 2; }
.gallery__item.is-wide { grid-column: span 2; }
@media (max-width: 992px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; } .gallery__item.is-wide { grid-column: span 2; } }
@media (max-width: 576px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; } .gallery__item.is-wide { grid-column: span 2; grid-row: span 1; } }

/* ============================================================
   POLISH PASS 3 — floating buttons + header phone (clean, solid)
   ============================================================ */
.fab-stack { right: 20px; bottom: 24px; gap: 10px; align-items: center; }
.fab { display: flex; align-items: center; justify-content: center; padding: 0; gap: 0; width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 10px 22px -10px rgba(16, 32, 51, .45); animation: fab-in 600ms var(--ease) both; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast), background var(--t-fast); }
.fab::before { display: none; }
.fab .icon { width: 24px; height: 24px; stroke: none; fill: #fff; }
.fab--call { background: var(--c-primary); animation-delay: 500ms; }
.fab--whatsapp { background: var(--c-whatsapp); animation: fab-in 600ms 650ms var(--ease) both, fab-breathe 4s 2s ease-in-out infinite; }
.fab--whatsapp:hover { background: #1fbd5a; animation: fab-in 600ms 650ms var(--ease) both; }
.fab--call:hover { background: var(--c-primary-light); }
.fab:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -12px rgba(16, 32, 51, .5); }
.fab--top { display: flex; align-items: center; justify-content: center; padding: 0; width: 44px; height: 44px; background: var(--c-surface); border: 1.5px solid var(--c-line-strong); box-shadow: var(--shadow-soft); opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9); transition: opacity var(--t-med), transform var(--t-med) var(--ease), visibility var(--t-med), background var(--t-fast), color var(--t-fast), border-color var(--t-fast); animation: none; }
.fab--top .icon { width: 20px; height: 20px; fill: none; stroke: var(--c-primary); stroke-width: 2.2; transition: stroke var(--t-fast), transform var(--t-fast) var(--ease); }
.fab--top.is-shown { opacity: 1; visibility: visible; transform: none; }
.fab--top:hover { background: var(--c-primary); border-color: var(--c-primary); transform: translateY(-3px); }
.fab--top:hover .icon { stroke: #fff; transform: translateY(-2px); }
.fab__label { display: none; }
@keyframes fab-breathe { 0%, 100% { transform: scale(1); box-shadow: 0 10px 22px -10px rgba(16, 32, 51, .45), 0 0 0 0 rgba(37, 211, 102, .45); } 50% { transform: scale(1.04); box-shadow: 0 10px 22px -10px rgba(16, 32, 51, .45), 0 0 0 10px rgba(37, 211, 102, 0); } }

/* Header phone: solid navy circle, thin gold ring pulse, no shaking */
.header-phone { display: inline-flex; align-items: center; justify-content: center; padding: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary); color: #fff; border: 0; box-shadow: 0 6px 14px -8px rgba(6, 59, 120, .6); transition: background var(--t-fast), transform var(--t-fast) var(--ease), box-shadow var(--t-fast); }
.header-phone .icon { width: 20px; height: 20px; stroke: none; fill: #fff; animation: none; }
.header-phone::before { inset: -3px; border: 1.5px solid var(--c-secondary); animation: ring-pulse 6s 3s ease-out infinite; }
.header-phone:hover { background: var(--c-secondary); color: #1a1405; transform: translateY(-2px); box-shadow: 0 10px 18px -8px rgba(216, 155, 18, .6); }
.header-phone:hover .icon { fill: #1a1405; animation: none; }
.header-phone:hover::before { animation: none; opacity: 0; }
.site-header.is-scrolled .header-phone { background: var(--c-primary); }
.drawer__close, .menu-toggle { border-radius: 50%; }

/* Mobile: dock covers call/WhatsApp; keep only the back-to-top pill above the dock */
@media (max-width: 576px) {
  .fab-stack { display: flex; right: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); }
  .fab--call, .fab--whatsapp { display: none; }
  .fab--top { width: 42px; height: 42px; }
}

/* ============================================================
   PAGE TRANSITIONS — no flash, no jump between pages
   ============================================================ */
.site-header { min-height: var(--header-h); }
#main { opacity: 0; transform: translateY(6px); transition: opacity 360ms var(--ease), transform 360ms var(--ease); }
body.is-loaded #main { opacity: 1; transform: none; }
body.is-leaving #main, body.is-leaving .site-footer, body.is-leaving .fab-stack { opacity: 0 !important; transform: translateY(-4px); transition: opacity 180ms ease, transform 180ms ease; }
body.is-leaving .site-header { transition: opacity 180ms ease; opacity: 0.85; }
.site-footer { transition: opacity 180ms ease; }
.page-hero { min-height: 220px; }
/* Logo: full draw only on the first page of a visit; later pages keep just the gentle loop */
body.is-return-visit .logo-mark--anim .lm-pin { animation: lm-pin-breathe 9s 4s ease-in-out infinite; stroke-dashoffset: 0; }
body.is-return-visit .logo-mark--anim .lm-building-g { animation: none; opacity: 1; transform: none; }
body.is-return-visit .logo-mark--anim .lm-key { animation: lm-key-loop 9s 5.5s ease-in-out infinite; }
body.is-return-visit .brand__text--anim b, body.is-return-visit .brand__text--anim span { animation: none; opacity: 1; transform: none; }
body.is-return-visit .fab { animation-duration: 1ms; }
body.is-return-visit .fab--whatsapp { animation: fab-breathe 4s 2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { #main { opacity: 1; transform: none; } }

/* ============================================================
   ICON CARDS — always-on idle motion, smooth hover (no keyframe swaps)
   ============================================================ */
.icon-card { position: relative; overflow: hidden; }
.icon-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--c-secondary), var(--c-secondary-light)); transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease); }
.icon-card:hover::after { transform: scaleX(1); }
/* Outer tile: only transitions on hover (background, lift). */
.icon-box { position: relative; transition: background 280ms var(--ease), color 280ms var(--ease), transform 280ms var(--ease), box-shadow 280ms var(--ease); will-change: transform; }
/* Inner icon: one continuous keyframe animation, never replaced on hover — so nothing jumps. */
.icon-box .icon { transform-origin: center; transition: none; animation: ib-breathe 4s var(--d, 0s) ease-in-out infinite; }
.icon-box[data-icon="fan"] .icon { animation: ib-spin 6s var(--d, 0s) linear infinite; }
.icon-box[data-icon="location"] .icon { animation: ib-bounce 2.8s var(--d, 0s) ease-in-out infinite; }
.icon-box[data-icon="whatsapp"] .icon { animation: ib-ring 3.6s var(--d, 0s) ease-in-out infinite; }
.icon-box[data-icon="sparkle"] .icon { animation: ib-twinkle 3s var(--d, 0s) ease-in-out infinite; }
.icon-box[data-icon="shield"] .icon { animation: ib-pulse 3.4s var(--d, 0s) ease-in-out infinite; }
.icon-box[data-icon="ac"] .icon, .icon-box[data-icon="geyser"] .icon { animation: ib-shiver 3.6s var(--d, 0s) ease-in-out infinite; }
.icon-box[data-icon="key"] .icon { animation: ib-tilt 3.4s var(--d, 0s) ease-in-out infinite; }
.icon-box[data-icon="users"] .icon, .icon-box[data-icon="user"] .icon { animation: ib-bounce 3.2s var(--d, 0s) ease-in-out infinite; }
.icon-box[data-icon="bed"] .icon, .icon-box[data-icon="linen"] .icon { animation: ib-sway 4s var(--d, 0s) ease-in-out infinite; }
.icon-box[data-icon="bathroom"] .icon, .icon-box[data-icon="parking"] .icon { animation: ib-breathe 3.6s var(--d, 0s) ease-in-out infinite; }
/* Hover: tile changes colour and lifts; icon speeds up slightly instead of restarting */
.icon-card:hover .icon-box { background: var(--c-primary); color: #fff; transform: translateY(-3px) scale(1.06); box-shadow: 0 12px 22px -10px rgba(6, 59, 120, .65); }
.icon-card:hover .icon-box .icon { animation-duration: 1.6s; }
.icon-card:hover .icon-box[data-icon="fan"] .icon { animation-duration: 1.2s; }
.icon-card:hover h3, .icon-card:hover b { color: var(--c-primary); }
.facility { transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med); }
.facility b, .why-card h3 { transition: color var(--t-fast); }
@keyframes ib-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes ib-spin { to { transform: rotate(360deg); } }
@keyframes ib-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes ib-ring { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-12deg); } 30% { transform: rotate(10deg); } 45% { transform: rotate(-7deg); } 60% { transform: rotate(4deg); } 75% { transform: rotate(0); } }
@keyframes ib-twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.18) rotate(18deg); opacity: .8; } }
@keyframes ib-pulse { 0%, 100% { transform: scale(1); filter: none; } 50% { transform: scale(1.1); filter: drop-shadow(0 0 5px rgba(216, 155, 18, .7)); } }
@keyframes ib-shiver { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-1.6px); } 40% { transform: translateX(1.6px); } 60% { transform: translateX(-1px); } 80% { transform: translateX(1px); } }
@keyframes ib-tilt { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-14deg); } }
@keyframes ib-sway { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2px) rotate(3deg); } }

/* FAQ footer block */
.faq__more { text-align: center; margin-top: 30px; padding: 26px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); max-width: 800px; margin-inline: auto; }
.faq__more p { color: var(--c-muted); margin-bottom: 14px; }
.faq__more .btn-group { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .icon-box .icon { animation: none !important; } }

/* ============================================================
   PASS 5 — sticky header, hamburger morph, hero photo, scrollbar,
   page-hero without blink, contact map button
   ============================================================ */
/* 7. Sticky header (overflow:clip keeps sticky working) + subtle shrink */
.site-header { position: sticky; top: 0; will-change: transform; }
.site-header__inner { transition: min-height 260ms var(--ease); }
.site-header.is-scrolled { min-height: 66px; }
.site-header.is-scrolled .site-header__inner { min-height: 66px; }
.site-header.is-scrolled .brand__logo { --logo-w: 44px; }
.site-header.is-scrolled .brand__logo { transition: width 260ms var(--ease); }

/* 6. Hamburger → X morph */
.menu-toggle { position: relative; border-radius: 50%; }
.menu-toggle .icon { display: none; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 300ms var(--ease), opacity 200ms, width 300ms var(--ease), top 300ms var(--ease); }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; width: 14px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-toggle:hover span:nth-child(2) { width: 20px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.menu-toggle:hover { background: rgba(6, 59, 120, .06); border-color: var(--c-primary); color: var(--c-primary); }
.drawer__close { transition: background var(--t-fast), transform var(--t-fast) var(--ease), border-color var(--t-fast); }
.drawer__close:hover { background: rgba(6, 59, 120, .06); border-color: var(--c-primary); transform: rotate(90deg); }
.drawer__nav a { opacity: 0; transform: translateX(14px); }
body.drawer-open .drawer__nav a { animation: drawer-item 380ms var(--ease) forwards; animation-delay: calc(120ms + var(--i, 0) * 45ms); }
@keyframes drawer-item { to { opacity: 1; transform: none; } }

/* 2. Hero photo: composited layer, no hover scale (removes corner flicker) */
.hero__photo { transform: translateZ(0); isolation: isolate; backface-visibility: hidden; }
.hero__photo img { transition: none; transform: none; will-change: auto; }
.hero__visual:hover .hero__photo img { transform: none; }
.hero__card { will-change: transform; backface-visibility: hidden; }
.hero__illustration { will-change: auto; }

/* 3. Scrollbar */
html { scrollbar-width: thin; scrollbar-color: var(--c-primary) #E6ECF4; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #E6ECF4; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--c-primary-light), var(--c-primary)); border-radius: 8px; border: 2px solid #E6ECF4; }
::-webkit-scrollbar-thumb:hover { background: var(--c-secondary); }

/* 1. Inner page hero: no blink — static on return visits, calm window fade */
.page-hero { min-height: 240px; contain: paint; }
.ph-win { animation: ph-win-soft 10s ease-in-out infinite; }
@keyframes ph-win-soft { 0%, 100% { opacity: .15; } 50% { opacity: .9; } }
body.is-return-visit .ph-sky { animation: none; stroke-dashoffset: 0; }
body.is-return-visit .page-hero .breadcrumb, body.is-return-visit .page-hero h1, body.is-return-visit .page-hero p { animation: none; opacity: 1; transform: none; }
body.is-return-visit .page-hero h1::after { animation: none; transform: scaleX(1); }
body.is-return-visit #main { transition-duration: 220ms; transform: none; }

/* 4. Contact: map button */
.contact-card .btn--map { margin-top: 10px; margin-left: 0; }

/* ============================================================
   MAINTENANCE — lodge/booking themed animated backdrop
   ============================================================ */
.maint { background: radial-gradient(90% 70% at 50% 0%, #0B4F95 0%, #063B78 40%, #041F44 100%); }
.maint__svg { opacity: .9; }
.maint__card { z-index: 2; padding: 28px 24px; border-radius: 24px; background: radial-gradient(60% 60% at 50% 40%, rgba(4, 31, 68, .55), rgba(4, 31, 68, 0)); }
.mt-line { stroke: rgba(255, 255, 255, .16); fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.mt-ground { stroke: rgba(255, 255, 255, .25); stroke-width: 1.5; }
.mt-curve { stroke: rgba(231, 175, 41, .22); }
.mt-wall { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .55); stroke-width: 1.5; }
.mt-draw { stroke-dasharray: 1500; stroke-dashoffset: 1500; animation: ill-draw 2.4s .3s var(--ease) forwards; }
.mt-roof { fill: rgba(255, 255, 255, .75); }
.mt-win { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .35); stroke-width: 1; animation: mt-win 12s ease-in-out infinite; }
.mt-win.d0 { animation-delay: 1s; } .mt-win.d1 { animation-delay: 2.6s; } .mt-win.d2 { animation-delay: 4.2s; } .mt-win.d3 { animation-delay: 5.8s; } .mt-win.d4 { animation-delay: 7.4s; } .mt-win.d5 { animation-delay: 9s; } .mt-win.d6 { animation-delay: 10.6s; }
.mt-door-frame { fill: rgba(231, 175, 41, .08); stroke: rgba(255, 255, 255, .6); stroke-width: 1.5; }
.mt-sign { fill: #E7AF29; opacity: .9; }
.mt-doorglow { fill: rgba(231, 175, 41, .4); animation: ls-door 4s 1s ease-in-out infinite; }
.mt-desk rect { fill: rgba(255, 255, 255, .6); }
.mt-luggage { opacity: 0; animation: mt-roll 1.4s 1.6s var(--ease) forwards, ls-bob 4s 3s ease-in-out infinite; }
.mt-card { opacity: 0; animation: ls-rise .8s 1.2s var(--ease) forwards, card-float 7s 2.4s ease-in-out infinite; }
.mt-check { stroke: #4ADE80; stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: ill-draw .7s 2s var(--ease) forwards, ill-check-loop 9s 4s ease-in-out infinite; }
.mt-keycard { opacity: 0; transform-origin: 41px 26px; animation: ls-fade .7s 1.8s var(--ease) forwards, ls-tilt 6s 2.6s ease-in-out infinite; }
.mt-key { animation: ill-key 5s 2s ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(231, 175, 41, .5)); }
.mt-route { stroke: rgba(231, 175, 41, .55); fill: none; stroke-width: 1.6; stroke-dasharray: 5 9; animation: ill-route 26s linear infinite; }
.mt-pin { filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4)); }
.mt-particle { fill: #E7AF29; animation: mt-float 12s ease-in-out infinite; }
@keyframes mt-win { 0%, 8%, 100% { fill: rgba(255, 255, 255, .06); } 3%, 5% { fill: rgba(231, 175, 41, .85); } }
@keyframes mt-roll { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: translateX(0); } }
.maint__brand .logo-mark .lm-key { fill: var(--c-secondary); }
.maint .btn--gold:hover { transform: translateY(-3px); }
@media (max-width: 768px) { .maint__svg { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .mt-draw { stroke-dashoffset: 0; } .mt-luggage, .mt-card, .mt-keycard { opacity: 1; } .mt-check { stroke-dashoffset: 0; } }

/* Maintenance layout: text left, lodge scene right (stacked on mobile) */
.mt-scene { transform: translateX(330px); }
.maint { place-items: center start; padding-left: clamp(24px, 9vw, 140px); }
.maint__card { text-align: left; justify-items: start; max-width: 520px; background: none; padding: 0; }
.maint__brand { justify-items: start; }
.maint__brand .brand__text { align-items: flex-start; }
.maint .btn-group { justify-content: flex-start; }
@media (max-width: 992px) {
  .mt-scene { transform: translateX(0) translateY(120px) scale(.9); transform-origin: 700px 700px; }
  .maint { place-items: center; padding-left: 24px; }
  .maint__card { text-align: center; justify-items: center; }
  .maint__brand { justify-items: center; } .maint__brand .brand__text { align-items: center; }
  .maint .btn-group { justify-content: center; }
  .maint__svg { opacity: .45; }
}

/* Maintenance — mobile: content on top, lodge scene anchored below (no overlap) */
@media (max-width: 992px) {
  .maint { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 40px 24px 0; }
  .maint__svg { top: auto; bottom: 0; height: 40vh; min-height: 260px; }
  .maint__card { margin: auto 0; padding-bottom: calc(40vh + 8px); gap: 12px; }
  .maint__brand .logo-mark { width: 72px; height: 84px; }
  .maint__brand .brand__text b { font-size: 1.25rem; }
  .maint__card h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .maint__card p { font-size: .98rem; }
  .maint__card small { font-size: .8rem; }
  .mt-scene { transform: scale(1.25); transform-origin: 700px 700px; }
  .maint__svg { opacity: .7; }
  .mt-particle { display: none; }
}
@media (max-width: 992px) and (max-height: 700px) {
  .maint__svg { height: 30vh; } .maint__card { padding-bottom: calc(30vh + 8px); }
}
/* Desktop: lift the scene slightly so the whole lodge sits comfortably above the fold */
@media (min-width: 993px) {
  .maint__svg { height: 100%; }
  .mt-scene { transform: translate(330px, -20px); }
}


/* Contact card: map button keeps white text (overrides .contact-card a colour) */
.contact-card a.btn--map, .contact-card a.btn--map:hover { color: #fff; }
.contact-card a.btn--map .icon { color: #fff; }

/* Field validation states */
.field.is-valid input { border-color: var(--c-success); }
.field.is-valid .field__control::after { content: ""; position: absolute; right: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--c-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center/11px no-repeat; pointer-events: none; }
.field.is-invalid input { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192, 57, 43, .1); }
.field.is-invalid .field__control::after { display: none; }
.field__error { display: none; align-items: center; gap: 5px; }
.field.is-invalid .field__error { display: flex; }
.field__error::before { content: "!"; width: 14px; height: 14px; border-radius: 50%; background: #c0392b; color: #fff; font-size: 10px; font-weight: 700; display: inline-grid; place-items: center; }

/* ============================================================
   IMAGE ZOOM (admin controlled) + HERO PHOTO SIZE/MOTION
   ============================================================ */
.room-card__media img, .property__media img, .gallery__item img { transform: scale(var(--zoom, 1)); transform-origin: var(--pos-x, 50%) var(--pos-y, 50%); }
.room-card:hover .room-card__media img { transform: scale(calc(var(--zoom, 1) * 1.03)); }
.nearby-card:hover .nearby-card__media img, .gallery__item:hover img { transform: scale(calc(var(--zoom, 1) * 1.05)); }
.hero__photo { width: min(100%, var(--photo-w, 400px)); }
.hero__photo[data-ratio="square"] { aspect-ratio: 1 / 1; }
.hero__photo[data-ratio="landscape"] { aspect-ratio: 4 / 3; }
.hero__photo[data-ratio="wide"] { aspect-ratio: 16 / 10; }
.hero__photo { animation: hero-photo-in 900ms 250ms var(--ease) both; }
.hero__photo img { transform-origin: var(--pos-x, 50%) var(--pos-y, 40%); transform: scale(var(--zoom, 1)); will-change: transform; }
.hero__photo[data-motion="kenburns"] img { animation: hero-kb 22s 1.2s ease-in-out infinite alternate; }
.hero__photo[data-motion="float"] { animation: hero-photo-in 900ms 250ms var(--ease) both, card-float 8s 1.5s ease-in-out infinite; }
.hero__photo::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, rgba(255, 255, 255, .18), transparent 40%, transparent 70%, rgba(6, 59, 120, .18)); z-index: 1; pointer-events: none; }
.hero__frame { position: absolute; z-index: 2; inset: 12px; border-radius: 16px; pointer-events: none; }
.hero__frame::before, .hero__frame::after { content: ""; position: absolute; width: 56px; height: 56px; border: 2.5px solid var(--c-secondary); opacity: 0; }
.hero__frame::before { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 14px; animation: frame-in 700ms 1s var(--ease) forwards; }
.hero__frame::after { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 14px; animation: frame-in 700ms 1.15s var(--ease) forwards; }
@keyframes hero-photo-in { from { opacity: 0; transform: translateZ(0) translateY(18px) scale(.97); clip-path: inset(6% round 22px); } to { opacity: 1; transform: translateZ(0); clip-path: inset(0 round 22px); } }
@keyframes hero-kb { from { transform: scale(var(--zoom, 1)); } to { transform: scale(calc(var(--zoom, 1) * 1.07)); } }
@keyframes frame-in { from { opacity: 0; transform: scale(.7); } to { opacity: .9; transform: none; } }
@media (max-width: 992px) { .hero__photo { width: 100%; } .hero__frame { inset: 10px; } }
@media (prefers-reduced-motion: reduce) { .hero__photo, .hero__photo img { animation: none !important; } .hero__frame::before, .hero__frame::after { opacity: .9; animation: none; } }

/* ============================================================
   HERO INFO CARDS — sit beside the photo, never over the building
   ============================================================ */
.hero__visual { overflow: visible; }
.hero__card { left: auto; right: auto; bottom: auto; top: auto; max-width: 240px; }
.hero__card--top { left: calc(50% - var(--photo-w, 400px) / 2); top: 34px; transform: translateX(-76%); }
.hero__card:not(.hero__card--top) { right: calc(50% - var(--photo-w, 400px) / 2); bottom: 40px; transform: translateX(76%); }
@keyframes card-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes card-float { 0%, 100% { margin-top: 0; } 50% { margin-top: -6px; } }
@media (max-width: 1200px) {
  .hero__card--top { transform: translateX(-60%); }
  .hero__card:not(.hero__card--top) { transform: translateX(60%); }
}
@media (max-width: 992px) {
  .hero__visual { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero__photo { grid-column: 1 / -1; }
  .hero__card, .hero__card--top, .hero__card:not(.hero__card--top) { position: static; transform: none; max-width: none; margin: 0; animation: card-in 600ms 400ms var(--ease) both; padding: 12px; }
  .hero__card--top { display: flex; }
  .hero__card-icon { width: 38px; height: 38px; flex: 0 0 auto; }
  .hero__card b { font-size: .86rem; }
  .hero__card small { font-size: .74rem; }
}
@media (max-width: 400px) {
  .hero__visual { grid-template-columns: 1fr; }
}
.hero__card { max-width: none; white-space: nowrap; }
.hero__card--top { transform: translateX(-55%); top: 30px; }
.hero__card:not(.hero__card--top) { transform: translateX(55%); bottom: 34px; }
@media (max-width: 1200px) {
  .hero__card--top { transform: translateX(-45%); }
  .hero__card:not(.hero__card--top) { transform: translateX(45%); }
}
@media (max-width: 992px) { .hero__card, .hero__card--top, .hero__card:not(.hero__card--top) { transform: none; white-space: normal; } }
.hero__card--top { transform: translateX(-42%); }
.hero__card:not(.hero__card--top) { transform: translateX(42%); }
@media (max-width: 1400px) { .hero__card--top { transform: translateX(-30%); } .hero__card:not(.hero__card--top) { transform: translateX(30%); } }
@media (max-width: 992px) { .hero__card, .hero__card--top, .hero__card:not(.hero__card--top) { transform: none; } }

/* Hero: photo left, info cards stacked beside it — zero overlap */
@media (min-width: 993px) {
  .hero__visual { display: grid; grid-template-columns: minmax(0, var(--photo-w, 400px)) minmax(170px, 1fr); gap: 18px; align-items: center; justify-content: center; }
  .hero__photo { grid-row: 1 / span 2; margin: 0; width: 100%; }
  .hero__card, .hero__card--top, .hero__card:not(.hero__card--top) { position: static; transform: none; white-space: normal; margin: 0; align-self: end; }
  .hero__card:not(.hero__card--top) { align-self: start; }
  .hero__card { animation: card-in 700ms 700ms var(--ease) both, card-float 7s 1.8s ease-in-out infinite; }
  .hero__card--top { animation-delay: 900ms, 3.5s; }
  .hero__illustration { inset: -8% -6% -6% -8%; width: 116%; height: 112%; }
}
@media (min-width: 993px) and (max-width: 1200px) {
  .hero__visual { grid-template-columns: 1fr 1fr; }
  .hero__photo { grid-column: 1 / -1; grid-row: auto; }
  .hero__card, .hero__card--top { align-self: stretch; }
}
@media (min-width: 993px) {
  .hero__visual { grid-template-columns: minmax(0, var(--photo-w, 400px)) minmax(190px, 1fr); gap: 16px; }
  .hero__card { padding: 12px 14px; gap: 10px; }
  .hero__card-icon { width: 40px; height: 40px; }
  .hero__card b { font-size: .88rem; line-height: 1.25; }
  .hero__card small { font-size: .76rem; line-height: 1.3; display: block; margin-top: 2px; }
  .hero__illustration { z-index: 0; }
}

/* ============================================================
   HERO VISUAL — photo only (cards removed), admin-sized
   ============================================================ */
.hero__card { display: none !important; }
@media (min-width: 993px) {
  .hero__visual { display: flex; justify-content: center; align-items: center; grid-template-columns: none; min-height: 420px; }
  .hero__photo { width: min(100%, var(--photo-w, 400px)); margin: 0; grid-row: auto; border-radius: 26px; box-shadow: 0 40px 70px -30px rgba(6, 59, 120, .55), 0 0 0 1px rgba(255, 255, 255, .5) inset; }
  .hero__illustration { inset: -8% -8% -6% -8%; width: 116%; height: 114%; }
}
@media (max-width: 992px) {
  .hero__visual { display: block; }
  .hero__photo { width: 100%; }
}
/* Soft gold glow halo behind the photo */
.hero__visual::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(90%, 520px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(216, 155, 18, .16), rgba(216, 155, 18, 0) 65%); pointer-events: none; z-index: 0; }

/* Logo windows: always visible; gentle sequential light-up loop (2s cycle spacing) */
.logo-mark--anim .lm-window { opacity: 1 !important; animation: lm-win 8s ease-in-out infinite; animation-delay: calc(2.5s + var(--wd, 0s)); }
@keyframes lm-win { 0%, 8%, 100% { fill: #fff; } 3%, 5% { fill: #F5D680; } }

/* ============================================================
   HERO — full screen fit + scroll-down indicator
   ============================================================ */
@media (min-width: 993px) {
  .hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 24px); padding-bottom: 130px; }
  .hero__inner { flex: 1; align-content: center; }
}
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--c-primary); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; opacity: 0; animation: ph-up 700ms 1.4s var(--ease) forwards; }
.hero__scroll-mouse { width: 26px; height: 40px; border: 2px solid var(--c-primary); border-radius: 14px; position: relative; opacity: .8; }
.hero__scroll-mouse::before { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--c-secondary); animation: scroll-wheel 1.8s ease-in-out infinite; }
.hero__scroll .icon { width: 16px; height: 16px; animation: scroll-chev 1.8s ease-in-out infinite; }
.hero__scroll:hover { color: var(--c-secondary); }
.hero__scroll:hover .hero__scroll-mouse { border-color: var(--c-secondary); opacity: 1; }
@keyframes scroll-wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes scroll-chev { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(4px); opacity: 1; } }
@media (max-width: 992px) { .hero__scroll { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero__scroll { opacity: 1; animation: none; } .hero__scroll-mouse::before, .hero__scroll .icon { animation: none; } }
@media (min-width: 993px) {
  .hero { padding-bottom: 150px; }
  .qbook { margin-top: -70px; }
  .hero__scroll { bottom: 88px; }
}
/* Hero: full viewport; booking card starts below the fold */
@media (min-width: 993px) {
  .hero { min-height: calc(100vh + 16px); min-height: calc(100svh + 16px); padding-bottom: 96px; }
  .qbook { margin-top: 28px; }
  .hero__scroll { bottom: 26px; }
}

/* Brand text: "ROOMS" centred under "MANTRALAYAM" (header, drawer, footer, maintenance) */
.brand__text { align-items: stretch; }
.brand__text b { display: block; text-align: center; }
.brand__text span { display: block; text-align: center; padding-left: 0.32em; /* offsets trailing letter-spacing */ }
.maint__brand .brand__text b, .maint__brand .brand__text span { text-align: center; }

/* ============================================================
   HERO v3 — layered, living background + composed visual
   ============================================================ */
.hero { background: linear-gradient(180deg, #EEF3F9 0%, #F5F8FC 60%, var(--c-bg) 100%); }
.hero__pattern { opacity: .35; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.hero__blob--a { width: 520px; height: 520px; left: -160px; top: -120px; background: radial-gradient(circle, rgba(8, 77, 146, .22), rgba(8, 77, 146, 0) 70%); animation: blob-a 22s ease-in-out infinite alternate; }
.hero__blob--b { width: 460px; height: 460px; right: -120px; top: 10%; background: radial-gradient(circle, rgba(216, 155, 18, .22), rgba(216, 155, 18, 0) 70%); animation: blob-b 26s ease-in-out infinite alternate; }
.hero__blob--c { width: 380px; height: 380px; left: 40%; bottom: -160px; background: radial-gradient(circle, rgba(6, 59, 120, .14), rgba(6, 59, 120, 0) 70%); animation: blob-a 30s 4s ease-in-out infinite alternate-reverse; }
@keyframes blob-a { from { translate: 0 0; } to { translate: 60px 40px; } }
@keyframes blob-b { from { translate: 0 0; } to { translate: -50px 60px; } }
.hero__route { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__route path { fill: none; stroke: var(--c-secondary); stroke-width: 1.5; stroke-dasharray: 6 12; opacity: .45; stroke-linecap: round; animation: ill-route 40s linear infinite; }
.hero__inner, .hero__scroll { position: relative; z-index: 1; }

/* Text choreography */
.hero__eyebrow { opacity: 0; animation: hero-up 600ms 100ms var(--ease) forwards; }
.hero__word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__word > span { display: inline-block; position: relative; transform: translateY(110%); animation: hero-word 700ms var(--ease) forwards; animation-delay: calc(260ms + var(--i, 0) * 90ms); }
.hero__word--hl > span { color: var(--c-primary); }
.hero__brush { position: absolute; left: -2%; right: -2%; bottom: -.04em; width: 104%; height: .32em; pointer-events: none; }
.hero__brush path { fill: none; stroke: var(--c-secondary); stroke-width: 7; stroke-linecap: round; opacity: .85; stroke-dasharray: 220; stroke-dashoffset: 220; animation: ill-draw 700ms 1100ms var(--ease) forwards; }
.hero__desc { opacity: 0; animation: hero-up 700ms 900ms var(--ease) forwards; }
.hero__content .btn-group { opacity: 0; animation: hero-up 700ms 1050ms var(--ease) forwards; }
.hero__trust .chip { opacity: 0; animation: hero-pop 500ms var(--ease) forwards; }
.hero__trust .chip:nth-child(1) { animation-delay: 1250ms; } .hero__trust .chip:nth-child(2) { animation-delay: 1350ms; } .hero__trust .chip:nth-child(3) { animation-delay: 1450ms; } .hero__trust .chip:nth-child(4) { animation-delay: 1550ms; }
.hero__trust .chip { transition: transform var(--t-fast) var(--ease), border-color var(--t-fast), box-shadow var(--t-fast); }
.hero__trust .chip:hover { transform: translateY(-2px); border-color: var(--c-secondary); box-shadow: var(--shadow-soft); }
@keyframes hero-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hero-word { to { transform: translateY(0); } }
@keyframes hero-pop { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }
body.is-return-visit .hero__eyebrow, body.is-return-visit .hero__desc, body.is-return-visit .hero__content .btn-group, body.is-return-visit .hero__trust .chip { animation-duration: 400ms; animation-delay: 0ms; }
body.is-return-visit .hero__word > span { animation-duration: 450ms; animation-delay: calc(60ms + var(--i, 0) * 40ms); }

/* Visual composition */
.hero__visual { position: relative; }
.hero__panel { position: absolute; z-index: 0; inset: 6% -3% -4% 8%; border-radius: 30px; background: linear-gradient(160deg, var(--c-primary) 0%, var(--c-primary-deep) 100%); transform: rotate(-4deg); opacity: 0; animation: panel-in 900ms 400ms var(--ease) forwards; will-change: transform; }
.hero__panel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 14px); }
@keyframes panel-in { from { opacity: 0; transform: rotate(-8deg) translateY(20px); } to { opacity: 1; transform: rotate(-4deg); } }
.hero__dots { position: absolute; z-index: 0; left: -8%; bottom: -6%; width: 150px; height: 150px; background-image: radial-gradient(var(--c-secondary) 1.6px, transparent 1.7px); background-size: 16px 16px; opacity: 0; animation: hero-up 800ms 800ms var(--ease) forwards; -webkit-mask-image: radial-gradient(circle at 30% 70%, #000 30%, transparent 75%); mask-image: radial-gradient(circle at 30% 70%, #000 30%, transparent 75%); }
.hero__photo { position: relative; z-index: 2; translate: var(--px-shift, 0) var(--py-shift, 0); }
.hero__badge { position: absolute; z-index: 3; right: -6%; top: -8%; width: 120px; height: 120px; translate: var(--bx, 0) var(--by, 0); opacity: 0; animation: hero-pop 700ms 1200ms var(--ease) forwards; filter: drop-shadow(0 12px 24px rgba(6, 59, 120, .25)); }
.hero__badge svg { width: 100%; height: 100%; overflow: visible; animation: badge-spin 24s linear infinite; }
.hero__badge-bg { fill: #fff; stroke: rgba(6, 59, 120, .12); stroke-width: 1; }
.hero__badge-text { font-family: var(--font-heading); font-size: 9.6px; font-weight: 700; letter-spacing: .12em; fill: var(--c-primary); }
.hero__badge-key { fill: var(--c-secondary); color: var(--c-secondary); }
@keyframes badge-spin { to { transform: rotate(360deg); } }
.hero__badge svg { transform-origin: 50% 50%; }
@media (max-width: 1200px) { .hero__badge { width: 100px; height: 100px; right: -2%; } }
@media (max-width: 992px) {
  .hero__panel { inset: 8% -4% -5% 6%; }
  .hero__badge { width: 88px; height: 88px; right: -4px; top: -20px; }
  .hero__dots { display: none; }
  .hero__blob { filter: blur(50px); opacity: .45; }
  .hero__route { display: none; }
  .hero__visual { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow, .hero__desc, .hero__content .btn-group, .hero__trust .chip, .hero__panel, .hero__dots, .hero__badge { opacity: 1; animation: none; }
  .hero__word > span { transform: none; animation: none; }
  .hero__brush path { stroke-dashoffset: 0; animation: none; }
  .hero__blob, .hero__route path, .hero__badge svg { animation: none; }
}

/* ============================================================
   HERO v3 — staged text entrance, gold highlight, drifting orbs,
   layered photo (back-frame, orbit ring, floating dots), parallax
   ============================================================ */
.hero { overflow: hidden; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; opacity: .7; will-change: transform; }
.hero__orb--1 { width: 520px; height: 520px; left: -140px; top: -120px; background: radial-gradient(circle, rgba(8, 77, 146, .28), rgba(8, 77, 146, 0) 70%); animation: orb-drift 18s ease-in-out infinite alternate; }
.hero__orb--2 { width: 460px; height: 460px; right: -120px; top: 10%; background: radial-gradient(circle, rgba(231, 175, 41, .26), rgba(231, 175, 41, 0) 70%); animation: orb-drift 22s -6s ease-in-out infinite alternate-reverse; }
.hero__orb--3 { width: 380px; height: 380px; left: 38%; bottom: -160px; background: radial-gradient(circle, rgba(6, 59, 120, .18), rgba(6, 59, 120, 0) 70%); animation: orb-drift 26s -12s ease-in-out infinite alternate; }
@keyframes orb-drift { from { translate: 0 0; } to { translate: 40px 30px; } }
.hero__pattern, .hero__illustration { will-change: transform; }
.hero__inner { position: relative; z-index: 1; }

/* Text: staged entrance */
.hero__content > * { opacity: 0; animation: hero-up 800ms var(--ease) forwards; }
.hero__content .hero__eyebrow { animation-delay: 120ms; }
.hero__content h1 { animation-delay: 240ms; }
.hero__content .hero__desc { animation-delay: 520ms; }
.hero__content .btn-group { animation-delay: 680ms; }
.hero__content .hero__trust { animation-delay: 840ms; }
.hero__trust .chip { opacity: 0; animation: hero-up 600ms var(--ease) forwards; animation-delay: calc(900ms + var(--i, 0) * 90ms); transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast), border-color var(--t-fast); }
.hero__trust .chip:nth-child(1) { --i: 0; } .hero__trust .chip:nth-child(2) { --i: 1; } .hero__trust .chip:nth-child(3) { --i: 2; } .hero__trust .chip:nth-child(4) { --i: 3; }
.hero__trust .chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: var(--c-secondary); }
.hero__w { display: inline-block; }
.hero__hl { position: relative; color: var(--c-primary); }
.hero__hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .28em; background: linear-gradient(90deg, rgba(231, 175, 41, .55), rgba(216, 155, 18, .35)); border-radius: 4px; z-index: -1; transform: scaleX(0); transform-origin: left; animation: hl-in 700ms 900ms var(--ease) forwards; }
@keyframes hero-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hl-in { to { transform: scaleX(1); } }
.hero .btn--primary { position: relative; overflow: hidden; }
.hero .btn--primary::after { content: ""; position: absolute; top: 0; left: -70%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); animation: dock-shine 6s 3s ease-in-out infinite; }

/* (photo back-frame/ring/dots removed — the existing panel + badge system is used) */
@media (min-width: 993px) { .hero__illustration { inset: -14% -16% -12% -18%; width: 134%; height: 126%; opacity: .9; } }
@media (max-width: 992px) {
  .hero__orb { display: none; }
  .hero__ring { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__content > *, .hero__trust .chip { opacity: 1; animation: none; transform: none; }
  .hero__hl::after { transform: scaleX(1); animation: none; }
  .hero__orb, .hero__ring, .hero__dots i, .hero .btn--primary::after { animation: none; }
}

.hero__photo { z-index: 2; transition: transform 300ms var(--ease); transform-style: preserve-3d; }

/* Scroll indicator: centred without transform (animation was overriding translateX) */
.hero__scroll { left: 0; right: 0; margin-inline: auto; width: max-content; transform: none; }
@keyframes hero-scroll-in { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
.hero__scroll { animation: hero-scroll-in 700ms 1.4s var(--ease) forwards; }
@media (min-width: 993px) { .hero__scroll { bottom: 10px; } .hero { padding-bottom: 84px; } }
@media (min-width: 993px) { .hero__scroll { bottom: 8px; } .hero { padding-bottom: 104px; } }
@media (min-width: 993px) {
  .hero__scroll { bottom: 26px; gap: 4px; }
  .hero__scroll-mouse { width: 22px; height: 34px; }
  .hero__scroll-mouse::before { top: 6px; height: 7px; }
  .hero__scroll span:last-child { font-size: .64rem; }
}
@media (min-width: 993px) and (max-height: 820px) {
  .hero__scroll span:last-child, .hero__scroll .icon { display: none; }
  .hero__scroll { bottom: 22px; }
}
.hero__scroll { position: absolute !important; }
@media (min-width: 993px) and (max-height: 820px) { .hero { padding-top: calc(var(--header-h) + 8px); padding-bottom: 72px; } .hero__scroll { bottom: 14px; } }

/* ============================================================
   GALLERY — masonry that keeps every photo's real aspect ratio
   (no fixed cell height, no cropping)
   ============================================================ */
.gallery { display: block; columns: 3; column-gap: 18px; grid-template-columns: none; grid-auto-rows: auto; }
.gallery__item { display: block; width: 100%; height: auto; margin: 0 0 18px; break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; }
.gallery__item img { width: 100%; height: auto; object-fit: contain; display: block; transform-origin: center; }
.gallery__item.is-portrait, .gallery__item.is-wide { grid-row: auto; grid-column: auto; }
.gallery__item:hover img { transform: scale(calc(var(--zoom, 1) * 1.03)); }
@media (max-width: 992px) { .gallery { columns: 2; column-gap: 14px; } .gallery__item { margin-bottom: 14px; } }
@media (max-width: 576px) { .gallery { columns: 2; column-gap: 10px; } .gallery__item { margin-bottom: 10px; } }
@media (max-width: 400px) { .gallery { columns: 1; } }

/* Footer credit: only the studio name is interactive */
.footer-credit { color: rgba(255, 255, 255, .6); }
.footer-credit__name { position: relative; color: rgba(255, 255, 255, .9); font-weight: 600; display: inline-block; transition: color var(--t-fast), transform var(--t-fast) var(--ease); }
.footer-credit__name::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px; background: var(--c-secondary); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease); }
a.footer-credit__name:hover { color: var(--c-secondary); transform: translateY(-1px); }
a.footer-credit__name:hover::after { transform: scaleX(1); }

/* Booking form: "Or call" as a real outline button; text stays visible on hover */
.btn--call { border-color: var(--c-primary); color: var(--c-primary); background: #fff; }
.btn--call:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); box-shadow: 0 10px 20px -12px rgba(6, 59, 120, .6); }
.btn--call:hover .icon { color: #fff; animation: ring-shake 700ms ease-in-out 1; transform-origin: 50% 60%; }
@media (max-width: 576px) { .form-actions .btn { width: 100%; } }

/* Booking form actions: two equal buttons side by side, centred */
.booking-form .form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; justify-items: stretch; margin-top: 22px; }
.booking-form .form-actions .btn { width: 100%; min-height: 54px; }
@media (max-width: 576px) { .booking-form .form-actions { grid-template-columns: 1fr; } }
.booking-form .form-actions > * { min-width: 0; }
.booking-form .form-actions .btn { white-space: normal; text-align: center; line-height: 1.25; padding: 10px 14px; font-size: .95rem; }
.booking-form .form-actions .btn .icon { width: 24px; height: 24px; flex: 0 0 auto; }
.booking-form .form-actions .btn--whatsapp .icon { width: 26px; height: 26px; }

/* Inner page hero: fully static entrance (no draw/fade/blink), only slow ambient motion */
.page-hero { contain: none; }
.page-hero .breadcrumb, .page-hero h1, .page-hero p { opacity: 1 !important; animation: none !important; transform: none !important; }
.page-hero h1::after { animation: none !important; transform: scaleX(1) !important; }
.ph-sky { animation: none !important; stroke-dashoffset: 0 !important; }
.ph-win { animation: ph-win-soft 14s ease-in-out infinite; }
.ph-ring { animation-duration: 5s; }
.ph-glow { opacity: 1; }
#main { opacity: 1; transform: none; transition: none; }
body.is-leaving #main, body.is-leaving .site-footer, body.is-leaving .fab-stack { opacity: 0 !important; transition: opacity 160ms ease; }

/* Header: constant height (no shrink), no backdrop-filter repaint at the edge — stable while scrolling */
.site-header, .site-header.is-scrolled { min-height: var(--header-h); will-change: auto; backdrop-filter: none; -webkit-backdrop-filter: none; transform: translateZ(0); }
.site-header__inner, .site-header.is-scrolled .site-header__inner { min-height: var(--header-h); transition: none; }
.site-header.is-scrolled .brand__logo { --logo-w: 52px; }
.site-header { background: rgba(255, 255, 255, .96); border-bottom: 1px solid transparent; transition: background-color 200ms, box-shadow 200ms, border-color 200ms; }
body.has-hero .site-header:not(.is-scrolled) { background: rgba(255, 255, 255, 0); }
.site-header.is-scrolled { background: #fff; border-bottom-color: var(--c-line); box-shadow: 0 6px 20px -16px rgba(6, 59, 120, .35); }

/* "How booking works": interactive 3D lodge (lodge-3d-booking.html) */
.lodge-3d { position: relative; border-radius: 18px; overflow: hidden; background: #FAF7F0; box-shadow: var(--shadow); border: 1px solid var(--c-line); }
.lodge-3d__frame { display: block; width: 100%; height: 560px; border: 0; background: #FAF7F0; }
@media (max-width: 992px) { .lodge-3d__frame { height: 460px; } }
@media (max-width: 576px) { .lodge-3d__frame { height: 380px; } .lodge-3d { border-radius: 14px; } }
.btn--faq { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 2px solid var(--c-primary); border-radius: var(--radius-btn); background: transparent; color: var(--c-primary); font-weight: 700; transition: all .25s ease; }
.btn--faq:hover { background: var(--c-primary); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(6, 59, 120, .45); }
.lodge-3d__frame { height: 560px !important; }
@media (max-width: 992px) { .lodge-3d__frame { height: 460px !important; } }
@media (max-width: 576px) { .lodge-3d__frame { height: 380px !important; } }
.lodge-section__inner { align-items: center; }

/* ============================================================
   INSTALL APP BANNER (PWA) — appears 5s after load
   ============================================================ */
.install-banner { position: fixed; left: 18px; bottom: 22px; z-index: 890; width: min(380px, calc(100vw - 36px)); background: #fff; border: 1px solid var(--c-line); border-left: 5px solid var(--c-primary); border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(6, 59, 120, .45); padding: 12px 14px; display: flex; align-items: center; gap: 12px; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 320ms var(--ease), transform 320ms var(--ease), visibility 320ms; }
.install-banner.is-open { opacity: 1; visibility: visible; transform: none; }
.install-banner__icon { width: 44px; height: 44px; border-radius: 10px; background: #F1F5F9; display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; }
.install-banner__icon img { width: 34px; height: auto; }
.install-banner__text { flex: 1; min-width: 0; }
.install-banner__text b { display: block; font-family: var(--font-heading); color: var(--c-heading); font-size: .95rem; }
.install-banner__text small { display: block; color: var(--c-muted); font-size: .78rem; margin-top: 2px; }
.install-banner .btn { min-height: 40px; padding: 0 16px; font-size: .88rem; flex: 0 0 auto; }
.install-banner__close { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--c-muted); }
.install-banner__close:hover { background: #F1F5F9; color: var(--c-heading); }
.install-banner__ios { display: none; font-size: .78rem; color: var(--c-body); margin-top: 6px; line-height: 1.4; }
.install-banner.is-ios .install-banner__ios { display: block; }
.install-banner.is-ios .btn { display: none; }
@media (max-width: 576px) { .install-banner { left: 12px; right: 12px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .install-banner { transition: none; } }
.install-banner__text > b { display: block; padding-right: 18px; }
.install-banner__ios b { display: inline; color: var(--c-primary); }

/* Install banner: position + mobile placement (above the bottom dock, above floating buttons) */
.install-banner { z-index: 1000; left: auto; right: 18px; }
.install-banner--left { left: 18px; right: auto; }
.install-banner--right { right: 18px; left: auto; }
@media (min-width: 577px) { .install-banner--right { right: 90px; } }
@media (max-width: 576px) {
  .install-banner, .install-banner--left, .install-banner--right { left: 12px; right: 12px; width: auto; bottom: calc(82px + env(safe-area-inset-bottom)); }
}

/* ============================================================
   CONTACT — "Connect with us" social buttons
   ============================================================ */
.contact-layout { align-items: stretch; }
.contact-cards { align-content: start; }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-btn { --sb: var(--c-primary); position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px 8px 8px; border-radius: 12px; border: 1.5px solid var(--c-line); background: #fff; color: var(--c-heading); font-weight: 600; font-size: .9rem; overflow: hidden; opacity: 0; animation: hero-up 500ms var(--ease) forwards; animation-delay: calc(150ms + var(--i, 0) * 80ms); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med), border-color var(--t-med), color var(--t-med); }
.social-btn__icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--sb) 12%, #fff); color: var(--sb); flex: 0 0 auto; transition: background var(--t-med), color var(--t-med), transform var(--t-med) var(--ease); }
.social-btn__icon .icon { width: 18px; height: 18px; }
.social-btn__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-btn__arrow { width: 16px; height: 16px; color: var(--c-muted); opacity: 0; transform: translateX(-6px); transition: transform var(--t-med) var(--ease), opacity var(--t-med); }
.social-btn::before { content: ""; position: absolute; inset: 0; background: var(--sb); opacity: 0; transition: opacity var(--t-med); z-index: 0; }
.social-btn > * { position: relative; z-index: 1; }
.social-btn:hover { transform: translateY(-3px); border-color: var(--sb); box-shadow: 0 14px 26px -14px var(--sb); color: #fff; }
.social-btn:hover::before { opacity: 1; }
.social-btn:hover .social-btn__icon { background: rgba(255, 255, 255, .2); color: #fff; transform: rotate(-8deg) scale(1.08); }
.social-btn:hover .social-btn__arrow { opacity: 1; transform: translateX(0); color: #fff; }
.social-btn--instagram { --sb: #E1306C; }
.social-btn--facebook { --sb: #1877F2; }
.social-btn--youtube { --sb: #FF0000; }
.social-btn--whatsapp { --sb: #128C4A; }
.social-btn--call { --sb: var(--c-primary); }
.social-btn--x { --sb: #111; }
.social-btn--linkedin { --sb: #0A66C2; }
.social-btn--whatsapp .social-btn__icon .icon, .social-btn--whatsapp:hover .social-btn__icon .icon { stroke: none; fill: currentColor; }
.social-btn--call .social-btn__icon .icon { stroke: none; fill: currentColor; }
@media (max-width: 400px) { .social-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .social-btn { opacity: 1; animation: none; } }
