/* ==========================================================================
   LAVICON-2 — THEME TERRASY (BELMOND GRAND HOTEL / CINEMATIC EDITORIAL)
   ========================================================================== */

body.theme-terrasy {
  --bg: #F8F5F0;
  --ink: #1C1917;
  --muted: #6E6862;
  --accent: #9E5A38;
  --accent-hover: #834628;
  --accent-gold: #C88D48;
  --accent-soft: #EFE9E0;
  --accent-ink: #FAF7F2;
  --line: rgba(28, 25, 23, 0.08);
  --card: #FFFFFF;
  --card-subtle: #EFE9E0;
  --radius: 18px;
  --radius-sm: 10px;
  --radius-pill: 9999px;
  --btn-radius: 10px;
  --gap: clamp(1.25rem, 2.5vw, 2.25rem);
  --section-gap: clamp(4rem, 8vw, 7.5rem);
  --display: "Cormorant Garamond", Georgia, serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 650ms;
}

/* --- Заголовки: эдиториал Vogue / Grand Hotel --- */
body.theme-terrasy h1,
body.theme-terrasy h2 {
  font-family: var(--display);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--ink);
}

body.theme-terrasy h3 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* --- Хедер гранд-отеля --- */
body.theme-terrasy .head-tool {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg, #F7F4EE);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--line);
}

html.chrome-sticky-off body.theme-terrasy .head-tool {
  position: relative;
  top: auto;
}

body.theme-terrasy .top {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.35rem 0;
}

body.theme-terrasy .nav-sheet {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.5rem 0 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.8rem;
  border-bottom: 0; /* single rule from base sibling nav */
}

body.theme-terrasy .nav-sheet > a,
body.theme-terrasy .nav-sheet > .collect summary {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-terrasy .nav-sheet > a:hover,
body.theme-terrasy .nav-sheet > .collect summary:hover {
  color: var(--accent);
}

/* --- Cookie: влево, не конкурирует с booking bar --- */
body.theme-terrasy .cookie {
  left: max(1.25rem, env(safe-area-inset-left));
  right: auto;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  transform: none;
  width: min(22rem, calc(100% - 2.5rem));
  max-width: 380px;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.85rem;
  padding: 1.25rem 1.4rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.theme-terrasy .cookie .btn {
  margin: 0;
  padding: 0.6rem 1.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  border-radius: 0;
}

/* --- Heritage hero = lavicon-12 app-hero mechanics; colors remapped to lavicon-3 gold --- */
body.theme-terrasy .heritage-hero {
  --hh-gold: #B89768;
  --hh-gold-hover: #c4a574;
  --hh-ink: #1f1b18;
  --hh-cream: #fffcf7;
  position: relative;
  width: 100%;
  min-height: 85vh;
  min-height: 85svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #10161c;
  color: #fff;
}

@media (min-width: 1024px) {
  body.theme-terrasy .heritage-hero {
    min-height: 92vh;
    min-height: 92svh;
  }
}

body.theme-terrasy .heritage-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

body.theme-terrasy .heritage-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1000ms ease-in-out;
  pointer-events: none;
}

body.theme-terrasy .heritage-hero__slide.is-on {
  opacity: 1;
  z-index: 1;
}

body.theme-terrasy .heritage-hero__slide > picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

body.theme-terrasy .heritage-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.05);
  transition: transform 8000ms ease-out;
  will-change: transform;
}

body.theme-terrasy .heritage-hero__slide.is-on .heritage-hero__img {
  transform: scale(1);
}

body.theme-terrasy .heritage-hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Minimal global veil: only a soft bottom strip for meta/dots — photo stays bright */
body.theme-terrasy .heritage-hero__veil--y {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.48) 0%,
    rgba(0, 0, 0, 0.16) 10%,
    rgba(0, 0, 0, 0.03) 22%,
    transparent 38%
  );
}

/* Very light left edge — main text contrast comes from local copy scrim */
body.theme-terrasy .heritage-hero__veil--x {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.08) 18%,
    transparent 40%
  );
}

body.theme-terrasy .heritage-hero__inner {
  position: relative;
  z-index: 10;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 4rem max(1rem, calc((100% - 1440px) / 2 + 1rem));
  padding-inline: max(1rem, calc((100vw - 1440px) / 2 + 2rem));
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 78vh;
}

@media (min-width: 640px) {
  body.theme-terrasy .heritage-hero__inner {
    padding-inline: max(1.5rem, calc((100vw - 1440px) / 2 + 1.5rem));
  }
}

@media (min-width: 1024px) {
  body.theme-terrasy .heritage-hero__inner {
    padding-inline: max(2rem, calc((100vw - 1440px) / 2 + 2rem));
  }
}

body.theme-terrasy .heritage-hero__top {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,.7);
}

body.theme-terrasy .heritage-hero__eyebrow {
  display: inline-block;
  max-width: min(100%, 36rem);
  padding: 0.5em 0.9em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--hh-gold) 90%, #fff);
  background: rgba(10, 12, 16, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

body.theme-terrasy .heritage-hero__mid {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  padding: 2rem 0;
}

body.theme-terrasy .heritage-hero__copy-wrap {
  position: relative;
  max-width: 48rem;
  width: 100%;
  isolation: isolate;
}

/* Frosted glass behind headline, lead and buttons */
body.theme-terrasy .heritage-hero__copy-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1.6rem -2.75rem -1.75rem -3rem;
  background: radial-gradient(
    ellipse 88% 78% at 30% 42%,
    rgba(10, 12, 16, 0.38) 0%,
    rgba(10, 12, 16, 0.16) 48%,
    transparent 76%
  );
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  -webkit-mask-image: radial-gradient(ellipse 82% 76% at 30% 42%, #000 34%, transparent 78%);
  mask-image: radial-gradient(ellipse 82% 76% at 30% 42%, #000 34%, transparent 78%);
  pointer-events: none;
}

body.theme-terrasy .heritage-hero__copy {
  display: none;
}

body.theme-terrasy .heritage-hero__copy.is-on {
  display: block;
  animation: heritage-copy-in 700ms ease both;
}

@keyframes heritage-copy-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

body.theme-terrasy .heritage-hero__copy h1 {
  margin: 0 0 1.5rem;
  font-family: "Playfair Display", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 300;
  font-style: normal;
  font-size: clamp(2.25rem, 5vw, 4.5rem); /* text-4xl → lg:text-7xl */
  line-height: 1.08;
  letter-spacing: 0.025em; /* tracking-wide */
  color: var(--hh-cream);
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.55),
    0 1px 3px rgba(0, 0, 0, 0.75);
  max-width: none;
}

body.theme-terrasy .heritage-hero__copy .lead {
  margin: 0 0 2rem;
  max-width: 42rem;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.125rem, 1.5vw, 1.5rem);
  font-weight: 300;
  line-height: 1.625;
  color: rgba(255,255,255,.92);
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.5),
    0 1px 2px rgba(0, 0, 0, 0.7);
}

body.theme-terrasy .heritage-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Gold CTA: near-black ink on warm gold — high contrast on dark hero */
body.theme-terrasy .heritage-hero__cta,
body.theme-terrasy .heritage-hero__cta:link,
body.theme-terrasy .heritage-hero__cta:visited {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border: 0;
  border-radius: 0;
  background: #d4b483;
  color: #14110f !important;
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-text-fill-color: #14110f;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.25);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

body.theme-terrasy .heritage-hero__cta:hover,
body.theme-terrasy .heritage-hero__cta:focus-visible {
  background: #e0c49a;
  color: #14110f !important;
  -webkit-text-fill-color: #14110f;
  outline: none;
}

body.theme-terrasy .heritage-hero__cta-arrow {
  font-size: 0.95rem;
  line-height: 1;
}

body.theme-terrasy .heritage-hero__ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.4);
  background: transparent;
  color: #fff;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: border-color .2s ease, background .2s ease;
}

body.theme-terrasy .heritage-hero__ghost:hover,
body.theme-terrasy .heritage-hero__ghost:focus-visible {
  border-color: #fff;
  background: rgba(255,255,255,.1);
  outline: none;
}

body.theme-terrasy .heritage-hero__foot {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}

/* Frost tracks the bottom captions, full viewport width */
body.theme-terrasy .heritage-hero__foot::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0.5rem;
  bottom: -1.35rem;
  left: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(8, 10, 14, 0.38) 0%,
    rgba(8, 10, 14, 0.18) 58%,
    transparent 100%
  );
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to top, #000 0%, #000 70%, transparent 100%);
}

body.theme-terrasy .heritage-hero__dots {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Exact lavicon-12: h-1.5, w-3 inactive / w-12 active, duration-500 */
body.theme-terrasy .heritage-hero__dot {
  width: 0.75rem; /* w-3 */
  height: 0.375rem; /* h-1.5 */
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: width 500ms ease, background 500ms ease;
}

body.theme-terrasy .heritage-hero__dot:hover {
  background: rgba(255,255,255,.7);
}

body.theme-terrasy .heritage-hero__dot.is-on {
  width: 3rem; /* w-12 */
  background: var(--hh-gold); /* was amber-400 */
}

body.theme-terrasy .heritage-hero__meta {
  display: none;
  align-items: center;
  gap: 2.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.125rem;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

@media (min-width: 768px) {
  body.theme-terrasy .heritage-hero__meta {
    display: flex;
  }
}

body.theme-terrasy .heritage-hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

body.theme-terrasy .heritage-hero__meta-label {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.82);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.theme-terrasy .heritage-hero__meta-value {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
}

body.theme-terrasy .heritage-hero__meta-value--accent {
  color: var(--hh-gold); /* was amber-300 */
}

body.theme-terrasy .heritage-hero__meta-rule {
  width: 1px;
  height: 2.4rem;
  background: rgba(255,255,255,.28);
  flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  body.theme-terrasy .heritage-hero__slide,
  body.theme-terrasy .heritage-hero__img,
  body.theme-terrasy .heritage-hero__dot,
  body.theme-terrasy .heritage-hero__copy.is-on {
    transition: none !important;
    animation: none !important;
  }
  body.theme-terrasy .heritage-hero__img {
    transform: none !important;
  }
}

body.theme-terrasy .heritage-hero + .calc-bar {
  position: relative;
  z-index: 5;
  margin-top: -1.25rem;
}

/* --- Film Hero (legacy offer-film) --- */
body.theme-terrasy .offer-film .offer-slider__scrim {
  background:
    linear-gradient(90deg, rgba(42, 36, 32, 0.62) 0%, rgba(42, 36, 32, 0.18) 55%),
    linear-gradient(180deg, rgba(42, 36, 32, 0.12) 0%, transparent 42%, rgba(42, 36, 32, 0.62) 100%);
}

body.theme-terrasy .offer-film {
  margin-bottom: 0;
}

body.theme-terrasy .offer-film .offer-slider__stack {
  bottom: 1.25rem;
  background: rgba(42, 36, 32, 0.88);
  border: 1px solid rgba(248, 246, 242, 0.22);
  backdrop-filter: blur(3px) saturate(1.1);
  -webkit-backdrop-filter: blur(3px) saturate(1.1);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(42, 36, 32, 0.3);
  padding: 1.5rem 1.7rem;
}

body.theme-terrasy .offer-film .kicker {
  background: rgba(248, 246, 242, 0.14);
  color: #efe6d8;
  font-family: var(--font);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  padding: 0.25rem 0.8rem;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
}

body.theme-terrasy .offer-film h1,
body.theme-terrasy .offer-film h2 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.1rem, 3.8vw, 3.25rem);
  line-height: 1.1;
  color: #f8f6f2;
  margin: 0.55rem 0 0.6rem;
  letter-spacing: 0.05em;
  max-width: 900px;
}

body.theme-terrasy .band-booking-zen {
  margin-top: 0;
  position: relative;
  z-index: 100;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 4vw, 2.5rem) clamp(2rem, 4vw, 3rem);
}

body.theme-terrasy .band-booking-zen .calc-bar {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(42, 36, 32, 0.1);
  padding: 1.15rem 1.35rem;
}

body.theme-terrasy .offer-film .lead {
  color: #f3ece3;
  font-family: var(--font);
  font-size: 0.98rem;
  line-height: 1.6;
  font-style: normal;
}

body.theme-terrasy .offer-film__progress {
  background: rgba(42, 36, 32, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(248, 246, 242, 0.18);
}

/* --- Belmond cinematic hero — Audit Sheet Δ=0.14 M=0.78 O=0.32 T=+0.65 --- */
body.theme-terrasy {
  --hero-bg-surface: #101316;
  --hero-text-primary: #f8f6f2;
  --hero-text-secondary: rgba(248, 246, 242, 0.76);
  --hero-kicker-color: #d1c8be;
  --hero-accent-warmth: #b88a68;
  --hero-font-h1: var(--font-display, var(--display));
  --hero-font-ui: var(--font-sans, var(--font));
  --hero-crossfade-duration: 680ms;
  --hero-crossfade-timing: cubic-bezier(0.16, 1, 0.3, 1);
  --hero-autoplay-interval: 7000ms;
  --hero-radius: 2px;
  --hero-button-radius: 0px;
  --hero-kicker-tracking: 0.28em;
  --hero-h1-line-height: 1.08;
}

body.theme-terrasy .hero-belmond {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--hero-text-primary);
  background: var(--hero-bg-surface);
  overflow: hidden;
}

body.theme-terrasy .hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

body.theme-terrasy .hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity var(--hero-crossfade-duration) var(--hero-crossfade-timing),
    transform 9s linear;
  will-change: opacity, transform;
}

body.theme-terrasy .hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

body.theme-terrasy .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(16, 19, 22, 0.35),
    rgba(16, 19, 22, 0.62)
  );
  pointer-events: none;
}

body.theme-terrasy .hero-content {
  position: relative;
  z-index: 10;
  width: min(1000px, calc(100% - 2rem));
  padding: 5rem 1rem 5.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.theme-terrasy .hero-content .kicker {
  display: inline-block;
  background: transparent;
  color: var(--hero-kicker-color);
  border: 0;
  border-bottom: 1px solid rgba(209, 200, 190, 0.45);
  font-family: var(--hero-font-ui);
  font-size: 0.6875rem;
  letter-spacing: var(--hero-kicker-tracking);
  text-transform: uppercase;
  font-weight: 500;
  padding: 0 0 0.65rem;
  margin-bottom: 1.5rem;
}

body.theme-terrasy .hero-content h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-family: var(--hero-font-h1);
  font-weight: 500;
  font-style: italic;
  color: var(--hero-text-primary);
  margin: 0.4rem 0 1.2rem;
  line-height: var(--hero-h1-line-height);
  letter-spacing: -0.01em;
  max-width: 13ch;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

body.theme-terrasy .hero-sub {
  margin: 0 auto 2.75rem;
  max-width: 34ch;
  font-family: var(--hero-font-ui);
  font-size: clamp(0.95rem, 1.1vw, 1.2rem);
  line-height: 1.65;
  color: var(--hero-text-secondary);
  font-weight: 300;
}

body.theme-terrasy .hero-cta-row {
  margin: 0 0 0.25rem;
}

body.theme-terrasy .hero-slider__cta {
  display: inline-flex;
  align-items: center;
  padding: 1.1rem 2.4rem;
  border-radius: var(--hero-button-radius);
  background-color: var(--hero-text-primary);
  color: var(--hero-bg-surface);
  font-family: var(--hero-font-ui);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 300ms ease, transform 300ms ease;
}

body.theme-terrasy .hero-slider__cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Горизонтальный concierge booking bar */
body.theme-terrasy .booking-bar {
  background: #fff;
  color: var(--ink);
  padding: 0.85rem 1.1rem 0.85rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  margin: 2.2rem auto 0;
  border-radius: 0;
  text-align: left;
  max-width: 920px;
  width: 100%;
  position: relative;
  z-index: 12;
}

body.theme-terrasy .bar-field {
  flex: 1 1 8.5rem;
  min-width: 7.5rem;
  border-right: 1px solid #eee;
  padding-right: 1rem;
}

body.theme-terrasy .bar-field--guests {
  flex: 0 1 6.5rem;
  min-width: 5.5rem;
}

body.theme-terrasy .bar-field:last-of-type {
  border-right: 0;
}

body.theme-terrasy .bar-field label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

body.theme-terrasy .bar-field select,
body.theme-terrasy .bar-field input {
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  width: 100%;
  outline: none;
  padding: 0;
  min-height: 1.6rem;
}

body.theme-terrasy .booking-bar .btn-gold,
body.theme-terrasy .booking-bar .btn.btn-gold {
  flex: 0 0 auto;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  padding: 0.95rem 1.4rem;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  white-space: nowrap;
}

body.theme-terrasy .booking-bar .btn-gold:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

body.theme-terrasy .booking-bar__note,
body.theme-terrasy .booking-bar__fine {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.72rem;
  color: #888;
  text-align: center;
}

body.theme-terrasy .booking-bar__note:empty {
  display: none;
}

/* Прогресс-бар слайдера */
body.theme-terrasy .hero-progress-wrap {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(400px, 100%);
  z-index: 20;
}

body.theme-terrasy .hero-nav {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}

body.theme-terrasy .hero-nav__btn {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
  padding: 0;
  transition: border-color 0.25s ease, background 0.25s ease;
}

body.theme-terrasy .hero-nav__btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

body.theme-terrasy .hero-progress-bar {
  flex-grow: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

body.theme-terrasy .progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #fff;
}

body.theme-terrasy .hero-counter {
  font-family: var(--font);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #fff;
  flex-shrink: 0;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  body.theme-terrasy .hero-slide,
  body.theme-terrasy .hero-slide.is-active {
    transition: opacity 0.4s ease;
    transform: none;
  }
}

@media (max-width: 820px) {
  body.theme-terrasy .booking-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 1.1rem;
  }

  body.theme-terrasy .bar-field,
  body.theme-terrasy .bar-field--guests {
    border-right: 0;
    border-bottom: 1px solid #eee;
    padding: 0 0 0.75rem;
    flex: 1 1 auto;
    min-width: 0;
  }

  body.theme-terrasy .bar-field--guests {
    border-bottom: 0;
  }

  body.theme-terrasy .booking-bar .btn-gold {
    width: 100%;
  }

  body.theme-terrasy .hero-progress-wrap {
    margin-top: 1.25rem;
  }
}

/* --- Stay --- */
body.theme-terrasy .band-stay {
  padding: clamp(3.2rem, 6vw, 5.5rem) 0;
  background: var(--bg);
}

body.theme-terrasy .stay-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px -8px rgba(42, 36, 32, 0.06);
  padding: 1.4rem 1.5rem;
}

body.theme-terrasy .stay-list span {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

/* --- Картинная галерея: компактная сетка, не бесконечный рулон --- */
body.theme-terrasy .band-places {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #ebe4d8;
}

body.theme-terrasy .hotel-grid,
body.theme-terrasy .prop-list.hotel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 2.5rem 3rem;
  margin-top: 2rem;
  align-items: stretch;
}

/* Philosophy — Collection of Moments */
body.theme-terrasy .band-philosophy {
  background: var(--bg);
  padding: clamp(4rem, 8vw, 7rem) 0;
  text-align: center;
}

body.theme-terrasy .band-philosophy .band-in {
  max-width: 42rem;
}

body.theme-terrasy .band-philosophy .lead--wide {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 auto;
}

body.theme-terrasy .band-philosophy h2 {
  margin-bottom: 1.4rem;
}

/* Gastronomy — «Лютый» */
body.theme-terrasy .band-gastro {
  background: #ebe4d8;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

body.theme-terrasy .gastro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

body.theme-terrasy .gastro__shot img,
body.theme-terrasy .gastro__shot .shot {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: sepia(0.08) contrast(1.04);
  box-shadow: 0 16px 40px -18px rgba(42, 36, 32, 0.25);
}

body.theme-terrasy .infra-grid--3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

body.theme-terrasy .band-infra .infra-card {
  background: #fff;
  padding: 12px;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: visible;
  height: auto;
  min-height: 0;
}

body.theme-terrasy .band-infra .infra-card > picture,
body.theme-terrasy .band-infra .infra-card > img {
  display: block;
  width: 100%;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 120px 120px calc(var(--radius) - 4px) calc(var(--radius) - 4px);
}

body.theme-terrasy .band-infra .infra-card img,
body.theme-terrasy .band-infra .infra-card .shot {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 0;
  border-radius: 120px 120px calc(var(--radius) - 4px) calc(var(--radius) - 4px);
  display: block;
}

body.theme-terrasy .band-infra .infra-card > div {
  overflow: visible;
  padding: 1.25rem 0.5rem 0.35rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

body.theme-terrasy .band-infra .infra-card .btn.ghost {
  margin-top: auto;
  align-self: flex-start;
  border-radius: var(--radius-pill);
  overflow: visible;
}

body.theme-terrasy .band-loyal .tier-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

@media (max-width: 900px) {
  body.theme-terrasy .gastro {
    grid-template-columns: 1fr;
  }

  body.theme-terrasy .infra-grid--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.theme-terrasy .hotel-grid,
  body.theme-terrasy .prop-list.hotel-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Паспарту без раздувания бокс-модели */
body.theme-terrasy .hotel-card,
body.theme-terrasy .prop.hotel-card {
  background: #fff;
  padding: 12px;
  border: none;
  border-radius: var(--radius);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-terrasy .hotel-card:hover,
body.theme-terrasy .prop.hotel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -12px rgba(140, 109, 70, 0.18);
}

body.theme-terrasy .prop.prop-sochi {
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  background: #fffcf8;
}

body.theme-terrasy .prop.prop-sochi .prop-copy {
  padding: 0 4px;
}

body.theme-terrasy .prop.prop-sochi h3 a {
  font-size: 1.4rem;
  font-style: italic;
}

/* Фиксированный кадр 4:3 */
body.theme-terrasy .hotel-card .card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: #e8e0d4;
}

body.theme-terrasy .hotel-card .card-image picture,
body.theme-terrasy .hotel-card .card-image .shot {
  display: block;
  width: 100%;
  height: 100%;
}

body.theme-terrasy .hotel-card .card-image img,
body.theme-terrasy .hotel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(0.1) contrast(1.05);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

body.theme-terrasy .hotel-card:hover .card-image img,
body.theme-terrasy .hotel-card:hover img {
  transform: scale(1.04);
  filter: sepia(0.06) contrast(1.06);
}

/* Музейная экспликация под кадром */
body.theme-terrasy .hotel-card .prop-copy {
  padding: 0 4px 4px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

body.theme-terrasy .hotel-card .stay-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

body.theme-terrasy .hotel-card h3,
body.theme-terrasy .hotel-card .stay-card h3 a {
  font-family: var(--display);
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.2;
}

body.theme-terrasy .hotel-card .stay-card > p:not(.place-city):not(.prop-addr):not(.btn-row):not(.stars):not(.hotel-stars):not(.hotel-format) {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  min-height: 4.05em;
}

body.theme-terrasy .hotel-card .place-city {
  background: transparent;
  color: var(--accent);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0 0 0.35rem;
  margin-bottom: 0.75rem;
  display: inline-block;
  align-self: flex-start;
}

body.theme-terrasy .hotel-card .prop-addr,
body.theme-terrasy .hotel-card .prop-map,
body.theme-terrasy .hotel-card .reach-block,
body.theme-terrasy .hotel-card .stay-card__reach,
body.theme-terrasy .hotel-card .how-to-get,
body.theme-terrasy .hotel-card .reach,
body.theme-terrasy .hotel-card details {
  display: none !important; /* галерея: без «расписания электричек» */
}

body.theme-terrasy .hotel-card .stay-card__cta,
body.theme-terrasy .hotel-card .card-links {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

body.theme-terrasy .hotel-card .btn {
  padding: 0.8rem 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

/* --- Кнопки Belmond: контур, трекинг --- */
body.theme-terrasy .btn {
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 0;
  padding: 1.2rem 2.5rem;
  border: 1px solid var(--accent);
  transition: background 0.45s cubic-bezier(0.16, 1, 0.3, 1), color 0.45s ease, box-shadow 0.45s ease;
}

body.theme-terrasy .btn:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(140, 109, 70, 0.28);
  transform: none;
  filter: none;
}

body.theme-terrasy .btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

body.theme-terrasy .btn.ghost:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
  filter: none;
  box-shadow: none;
}

body.theme-terrasy .head-cta {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

body.theme-terrasy .head-cta:hover {
  background: var(--accent);
  color: #fff;
}

/* --- Акции: кофейный салон --- */
body.theme-terrasy .band-offer {
  background: #231b15;
  color: #f7f2ea;
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

body.theme-terrasy .band-offer .kicker {
  color: #e4aa58;
  letter-spacing: 0.16em;
}

body.theme-terrasy .band-offer h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-style: italic;
}

body.theme-terrasy .band-offer .btn {
  background: #f7f2ea;
  color: #231b15;
  border-color: #f7f2ea;
}

body.theme-terrasy .band-offer .btn:hover {
  background: #ffffff;
  color: var(--accent);
  border-color: #ffffff;
}

body.theme-terrasy .band-offer .offer-card {
  background: #ffffff;
  color: #2a2420;
  border-radius: var(--radius);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Контакты и футер */
body.theme-terrasy .band-direct {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

body.theme-terrasy .site-footer {
  background: #ebe4d8;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  /* Keep section CTAs large — never inflate the sticky header chip. */
  body.theme-terrasy .btn:not(.head-cta) {
    padding: 1rem 1.6rem;
    letter-spacing: 0.14em;
  }
}

/* ==========================================================================
   LAVICON-3 ESTATE POLISH v241 — MASTER_NICHE hospitality
   ========================================================================== */

body.theme-terrasy {
  --bg: #F7F4EE;
  --surface: #FAF8F5;
  --surface-glass: rgba(250, 248, 245, 0.85);
  --surface-elevated: #FFFFFF;
  --ink: #1F1B18;
  --ink-soft: #4A443E;
  --muted: #877E75;
  --line: rgba(74, 68, 62, 0.12);
  --accent: #B89768;
  --accent-gold: #B89768;
  --accent-gold-hover: #9E7D4E;
  --accent-hover: #9E7D4E;
  --accent-ink: #FAF7F2;
  --card: #FFFFFF;
  --card-subtle: #FAF8F5;
  --radius-sm: 8px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  /* Cards/maps use --btn-radius in base.css — keep rectangular, pills only via --radius-pill */
  --btn-radius: 18px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-ambient: 0 4px 20px -2px rgba(44, 38, 30, 0.05), 0 12px 32px -4px rgba(44, 38, 30, 0.08);
  --shadow-float: 0 20px 48px -8px rgba(44, 38, 30, 0.12);
  --ease-estate: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-estate: 750ms;
  --ease: var(--ease-estate);
  --duration: var(--dur-estate);
  background-color: var(--bg);
  color: var(--ink);
}

body.theme-terrasy h1,
body.theme-terrasy h2,
body.theme-terrasy h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.12;
  font-style: normal;
  color: var(--ink);
}

body.theme-terrasy .kicker,
body.theme-terrasy .specs,
body.theme-terrasy .place-city {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

/* --- Calc optical lens --- */
body.theme-terrasy #calc.calc-bar,
body.theme-terrasy .band-booking-zen #calc.calc-bar {
  background: var(--surface-glass);
  backdrop-filter: blur(24px) saturate(1.15);
  -webkit-backdrop-filter: blur(24px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-float);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
  margin-top: -3.5rem;
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr 1.3fr;
  align-items: center;
  gap: 0;
  width: min(1200px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}

body.theme-terrasy #calc.calc-bar > label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-height: 3.4rem;
  padding: 0.35rem 1.15rem;
  border-right: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

body.theme-terrasy #calc.calc-bar > label:last-of-type {
  border-right: 0;
}

body.theme-terrasy #calc.calc-bar select,
body.theme-terrasy #calc.calc-bar input,
body.theme-terrasy #calc.calc-bar .date-face {
  margin: 0;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
}

body.theme-terrasy #calc.calc-bar input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.35;
  cursor: pointer;
  filter: sepia(0.4);
}

body.theme-terrasy #calc.calc-bar .btn {
  margin-left: 1rem;
  height: 46px;
  min-height: 46px;
  padding: 0 1.35rem;
  background: var(--accent-gold);
  color: #fff;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease-estate), transform 0.3s var(--ease-estate), box-shadow 0.3s var(--ease-estate);
  align-self: center;
}

body.theme-terrasy #calc.calc-bar .btn:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(184, 151, 104, 0.35);
  color: #fff;
}

body.theme-terrasy #calc.calc-bar p.fine,
body.theme-terrasy #calc.calc-bar > p {
  grid-column: 1 / -1;
  border: 0;
  padding: 0.65rem 1.15rem 0;
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

@media (max-width: 900px) {
  body.theme-terrasy #calc.calc-bar,
  body.theme-terrasy .band-booking-zen #calc.calc-bar {
    margin-top: 1rem;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
    padding: 1rem;
    border-radius: 16px;
  }
  body.theme-terrasy #calc.calc-bar > label {
    border-right: 0;
    padding: 0.25rem 0;
  }
  body.theme-terrasy #calc.calc-bar > label:first-child,
  body.theme-terrasy #calc.calc-bar .btn {
    grid-column: 1 / -1;
    margin-left: 0;
  }
}

/* --- Hotel cards --- */
body.theme-terrasy .hotel-card .card-image {
  aspect-ratio: 16 / 10 !important;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  margin: 12px 12px 0;
  width: auto;
}

body.theme-terrasy .hotel-card {
  padding: 0 0 1.15rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-ambient);
  background: var(--surface-elevated);
}

body.theme-terrasy .hotel-card .card-image img {
  transition: transform var(--dur-estate) var(--ease-estate);
  filter: none;
}

body.theme-terrasy .hotel-card:hover .card-image img {
  transform: scale(1.035);
  filter: none;
}

body.theme-terrasy .hotel-card .prop-copy {
  padding: 1rem 1.25rem 0.25rem;
}

body.theme-terrasy .hotel-card h3,
body.theme-terrasy .hotel-card .stay-card h3 a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: normal;
  color: var(--ink);
  letter-spacing: -0.015em;
}

/* Jewel stars — text, no marketplace SVG fill */
body.theme-terrasy .hotel-card .stars,
body.theme-terrasy .hotel-card .hotel-stars,
body.theme-terrasy .hotel-card .stay-card > p.stars,
body.theme-terrasy .hotel-card .stay-card > p.hotel-stars {
  display: block !important;
  margin: 0 0 0.45rem;
  color: #B89768 !important;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  line-height: 1;
  min-height: 1em;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
  flex-grow: 0;
}

body.theme-terrasy .hotel-card .stars svg,
body.theme-terrasy .hotel-card .star {
  display: none !important;
}

body.theme-terrasy .hotel-card .hotel-format {
  display: inline-block;
  margin: 0 0 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  min-height: 1em;
}

body.theme-terrasy .hotel-card .specs,
body.theme-terrasy .hotel-card .stay-card__title-row .specs {
  display: block !important;
  margin: 0.15rem 0 0.55rem;
  padding: 0;
  gap: 0;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  background: transparent;
  border: 0;
}

body.theme-terrasy .hotel-card .specs span {
  display: inline;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit;
  font: inherit;
}

body.theme-terrasy .hotel-card .specs span + span::before {
  content: " · ";
  color: var(--muted);
}

body.theme-terrasy .hotel-card .stay-card__cta .btn,
body.theme-terrasy .hotel-card .btn.ghost {
  border: 0;
  background: transparent;
  color: var(--accent-gold);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  box-shadow: none;
}

body.theme-terrasy .hotel-card .stay-card__cta .btn::after,
body.theme-terrasy .hotel-card .btn.ghost::after {
  content: " →";
  display: inline-block;
  transition: transform 0.35s var(--ease-estate);
}

body.theme-terrasy .hotel-card .stay-card__cta .btn:hover,
body.theme-terrasy .hotel-card .btn.ghost:hover {
  background: transparent;
  color: var(--accent-gold-hover);
  box-shadow: none;
}

body.theme-terrasy .hotel-card .stay-card__cta .btn:hover::after,
body.theme-terrasy .hotel-card .btn.ghost:hover::after {
  transform: translateX(4px);
}

/* --- HERO pager quieter --- */
body.theme-terrasy .offer-film .offer-slider__pager,
body.theme-terrasy .offer-film__progress .offer-slider__pager {
  opacity: 0.72;
  right: 1rem;
  bottom: 1.25rem;
}

/* --- Loyalty metals --- */
body.theme-terrasy .band-loyal .offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

body.theme-terrasy .band-loyal .tier-card {
  position: relative;
  overflow: hidden;
  min-height: 11.5rem;
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.theme-terrasy .band-loyal .tier-card::after {
  content: "LAVICON";
  position: absolute;
  right: 0.85rem;
  bottom: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 0.12em;
  opacity: 0.08;
  pointer-events: none;
}

body.theme-terrasy .band-loyal .tier-card h3 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

body.theme-terrasy .band-loyal .tier-card--white {
  background: linear-gradient(145deg, #FFFFFF, #F5F3EF);
  border: 1px solid rgba(220, 215, 205, 0.6);
}

body.theme-terrasy .band-loyal .tier-card--silver {
  background: linear-gradient(145deg, #F8F9FA, #E9ECEF);
  border: 1px solid rgba(180, 186, 194, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body.theme-terrasy .band-loyal .tier-card--gold {
  background: linear-gradient(145deg, #FAF6F0, #F3EBDD);
  border: 1px solid rgba(184, 151, 104, 0.4);
}

body.theme-terrasy .band-loyal .tier-card--gold h3 {
  color: var(--accent-gold);
}

@media (max-width: 768px) {
  body.theme-terrasy .band-loyal .offer-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Map: rectangular (not pill/circle from --btn-radius) --- */
body.theme-terrasy .coast-map-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

body.theme-terrasy .coast-map {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius, 18px) !important;
  overflow: hidden;
  clip-path: none !important;
  aspect-ratio: auto !important;
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
}

body.theme-terrasy .coast-map__canvas,
body.theme-terrasy .coast-map__frame {
  --coast-h: 380px;
  width: 100%;
  height: var(--coast-h, 380px);
  min-height: var(--coast-h, 380px);
  border-radius: 0;
  overflow: hidden;
  clip-path: none !important;
  aspect-ratio: auto !important;
}

@media (max-width: 768px) {
  body.theme-terrasy .coast-map-duo {
    grid-template-columns: 1fr;
  }
}

body.theme-terrasy .btn,
body.theme-terrasy a.btn {
  border-radius: var(--radius-pill);
}

body.theme-terrasy .leaflet-tile-pane {
  filter: sepia(0.22) saturate(0.78) contrast(1.04) brightness(1.02);
}

/* Compact antique-gold map pins */
body.theme-terrasy .lavicon-callout__dot {
  width: 14px !important;
  height: 14px !important;
  margin: -7px 0 0 -7px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 40% 35%, #fff 0 28%, #B89768 32% 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 8px rgba(44, 38, 30, 0.28) !important;
}

body.theme-terrasy .lavicon-callout.is-hot:not(.lavicon-callout--city-only) .lavicon-callout__dot {
  width: 16px !important;
  height: 16px !important;
  margin: -8px 0 0 -8px !important;
  box-shadow: 0 4px 14px rgba(74, 53, 24, 0.45) !important;
}

body.theme-terrasy .lavicon-callout__label {
  min-width: 7.5rem !important;
  max-width: 14.5rem !important;
  padding: 0.55rem 0.9rem !important;
  border-radius: 14px !important;
  align-items: stretch !important;
  text-align: left !important;
  gap: 0.18rem !important;
  background: rgba(250, 248, 245, 0.97) !important;
  border: 1px solid rgba(184, 151, 104, 0.35) !important;
  box-shadow: 0 4px 16px rgba(44, 38, 30, 0.12) !important;
  color: var(--ink) !important;
  font-size: 0.7rem !important;
  outline: 14px solid transparent !important;
}

/* Gold Pulse hover (theme override) */
body.theme-terrasy {
  --map-hot: #5c3d1a;
  --map-hot-mid: #7a5428;
  --map-hot-ring: rgba(92, 61, 26, 0.28);
}
body.theme-terrasy .lavicon-callout__dot::after {
  border-color: var(--map-hot) !important;
}
body.theme-terrasy .lavicon-callout.is-hot .lavicon-callout__label,
body.theme-terrasy .lavicon-callout__label:focus-visible {
  border: 1.5px solid var(--map-hot) !important;
  box-shadow:
    0 0 0 3px rgba(92, 61, 26, 0.18),
    0 10px 28px rgba(44, 38, 30, 0.18) !important;
  z-index: 6;
}
body.theme-terrasy .lavicon-callout__line {
  stroke: rgba(122, 84, 40, 0.75);
  stroke-width: 1.6;
}
body.theme-terrasy .lavicon-callout.is-hot .lavicon-callout__line {
  stroke: var(--map-hot);
  stroke-width: 2.4;
  filter: drop-shadow(0 0 3px rgba(184, 151, 104, 0.55));
}
body.theme-terrasy .lavicon-callout.is-hot:not(.lavicon-callout--city-only) .lavicon-callout__dot {
  background: radial-gradient(circle at 40% 35%, #fff 0 26%, var(--map-hot-mid) 30% 100%) !important;
  border-color: #fff !important;
  box-shadow:
    0 0 0 3px var(--map-hot-ring),
    0 0 0 1px rgba(44, 38, 30, 0.28),
    0 4px 14px rgba(74, 53, 24, 0.45) !important;
}
body.theme-terrasy .lavicon-callout--city-only.is-city-hot .lavicon-callout__dot {
  /* Linked city pin: color only, no ring / size throb (avoids double blink with Фрегат/Клубная) */
  background: radial-gradient(circle at 40% 35%, #fff 0 26%, var(--map-hot-mid) 30% 100%) !important;
  border-color: #fff !important;
  box-shadow: 0 2px 8px rgba(44, 38, 30, 0.28) !important;
}
body.theme-terrasy .lavicon-callout.is-hot .lavicon-callout__city,
body.theme-terrasy .lavicon-callout__city.is-city-hot {
  color: var(--map-hot);
  animation: lavicon-map-soft-pulse 1.1s ease-in-out infinite;
  text-shadow:
    0 0 4px #fff,
    0 0 10px #fff,
    0 0 16px rgba(255, 255, 255, 0.98),
    2px 0 0 #fff,
    -2px 0 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    0 0 14px rgba(92, 61, 26, 0.4);
}
body.theme-terrasy .lavicon-callout__kind {
  display: block !important;
  width: 100% !important;
  background: transparent !important;
  color: var(--accent-gold) !important;
  border: 0 !important;
  padding: 0 !important;
  letter-spacing: 0.12em;
  font-size: 0.58rem !important;
  text-transform: uppercase;
  text-align: left !important;
}

body.theme-terrasy .lavicon-callout__stars,
body.theme-terrasy .lavicon-callout__stars--glyphs {
  color: #B89768 !important;
  letter-spacing: 0.12em;
}

/* Do NOT style .leaflet-marker-icon — 200×200 wraps become white circles */
body.theme-terrasy .lavicon-map-pin-wrap,
body.theme-terrasy .leaflet-marker-icon.lavicon-map-pin-wrap {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

body.theme-terrasy .leaflet-tooltip,
body.theme-terrasy .lavicon-pin,
body.theme-terrasy .map-pin-label {
  font-size: 0.7rem !important;
  border-radius: 12px !important;
  padding: 0.2rem 0.55rem !important;
  background: rgba(250, 248, 245, 0.92) !important;
  border: 1px solid rgba(184, 151, 104, 0.35) !important;
  box-shadow: var(--shadow-ambient) !important;
  color: var(--ink) !important;
  white-space: nowrap;
}

/* --- Mascot + cookie --- */
body.theme-terrasy .mascot-dock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

body.theme-terrasy .mascot-dock.pm-rail--fab {
  z-index: 1100;
  width: auto;
}

/* Keep FAB pinned to the right while the panel expands leftward */
body.theme-terrasy .mascot-dock:not(.pm-rail--fab) .mascot {
  display: none !important;
}

body.theme-terrasy .mascot {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px;
  min-height: 56px;
  border-radius: 9999px;
  background: var(--accent-gold, #B89768) !important;
  color: #fff !important;
  /* Dual halo: light rim for dark scenes, dark rim for light scenes */
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.92),
    0 0 0 3px rgba(31, 27, 24, 0.55),
    0 10px 28px rgba(26, 23, 20, 0.38);
  overflow: visible;
  display: inline-grid !important;
  place-items: center;
  flex: 0 0 auto;
  align-self: flex-end;
  isolation: isolate;
}

/* Static dual-tone track — always readable under the spinner */
body.theme-terrasy .mascot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.55),
    0 0 0 1.5px rgba(31, 27, 24, 0.4);
  background: transparent;
}

/* Spinning arc: alternating light + dark dashes → visible on any backdrop */
body.theme-terrasy .mascot::before {
  content: "";
  display: block !important;
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    transparent 0 6%,
    #ffffff 6% 16%,
    transparent 16% 22%,
    #1f1b18 22% 32%,
    transparent 32% 48%,
    #ffffff 48% 58%,
    transparent 58% 64%,
    #1f1b18 64% 74%,
    transparent 74% 100%
  );
  animation: mascot-spin 9s linear infinite;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.75px), #000 calc(100% - 0.75px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.75px), #000 calc(100% - 0.75px));
}

body.theme-terrasy .mascot-face {
  position: relative;
  z-index: 2;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px;
  min-height: 56px;
  border-radius: 9999px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  display: grid;
  place-items: center;
}

body.theme-terrasy .mascot-svg {
  width: 26px !important;
  height: 24px !important;
  color: #fff !important;
  fill: currentColor;
  /* Soft dual outline so the mark holds on gold over light or dark page */
  filter:
    drop-shadow(0 0 0.75px rgba(31, 27, 24, 0.95))
    drop-shadow(0 0 0.75px rgba(255, 255, 255, 0.55));
  animation: mascot-float 4.6s ease-in-out infinite !important;
}

@media (prefers-reduced-motion: reduce) {
  body.theme-terrasy .mascot::before,
  body.theme-terrasy .mascot-svg {
  animation: none !important;
  }
}

body.theme-terrasy .cookie {
  left: 1.5rem;
  right: auto;
  bottom: 1.5rem;
  max-width: 380px;
  width: min(380px, calc(100% - 3rem));
  background: rgba(31, 27, 24, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #E8E4DF;
  border-radius: 12px;
  border: 0;
  font-size: 12px;
  padding: 12px 18px;
  box-shadow: var(--shadow-float);
  gap: 0.75rem;
}

body.theme-terrasy .cookie a {
  color: #E8E4DF;
  text-decoration: underline;
}

body.theme-terrasy .cookie .btn,
body.theme-terrasy .cookie #cookie-ok {
  padding: 6px 14px;
  font-size: 11px;
  border-radius: var(--radius-pill);
  background: var(--accent-gold);
  color: #fff;
  border: 0;
  letter-spacing: 0.08em;
}

body.theme-terrasy .band-direct {
  background: var(--surface);
  border-radius: var(--radius);
  margin-inline: auto;
  width: min(1200px, calc(100% - 2rem));
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-ambient);
}

body.theme-terrasy .head-tool {
  background: var(--bg, #F7F4EE);
}

/* ==========================================================================
   LAVICON-3 OTELI CATALOG v247 — editorial duo grid + filters
   ========================================================================== */

body.theme-terrasy .hero.catalog-hero,
body.theme-terrasy section.hero {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4rem, 8vw, 6.5rem);
}

body.theme-terrasy .hero .wrap {
  max-width: 1180px;
}

body.theme-terrasy .hero > .wrap > h1 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink, #1F1B18);
  margin: 0.35rem 0 0.85rem;
}

body.theme-terrasy .hero > .wrap > .lead {
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft, #4A443E);
  margin: 0;
}

body.theme-terrasy .stay-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

body.theme-terrasy .stay-filter {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill, 9999px);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  background: var(--surface-elevated, #fff);
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft, #4A443E);
  cursor: pointer;
  transition: background 0.3s var(--ease-estate, ease), color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

body.theme-terrasy .stay-filter:hover,
body.theme-terrasy .stay-filter.is-active {
  background: var(--ink, #1F1B18);
  color: #fff;
  border-color: var(--ink, #1F1B18);
}

body.theme-terrasy .hero .terrace {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem 2rem;
  margin-top: 3rem;
  width: 100%;
  max-width: none;
}

@media (max-width: 900px) {
  body.theme-terrasy .hero .terrace {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

body.theme-terrasy .hero .card {
  background: var(--surface-elevated, #fff);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: var(--radius, 18px);
  overflow: hidden;
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.4s var(--ease-estate, ease), box-shadow 0.4s var(--ease-estate, ease);
}

body.theme-terrasy .hero .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float, 0 20px 48px -8px rgba(44, 38, 30, 0.12));
}

body.theme-terrasy .hero .card.is-hidden {
  display: none !important;
}

body.theme-terrasy .hero .card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e2d8;
}

body.theme-terrasy .hero .card-media__link,
body.theme-terrasy .hero .card-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

body.theme-terrasy .hero .card .shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-estate, ease);
}

body.theme-terrasy .hero .card:hover .shot {
  transform: scale(1.04);
}

body.theme-terrasy .hero .card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(31, 27, 24, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FAF7F2;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

body.theme-terrasy .hero .card .pad {
  padding: 1.75rem 2rem 1.85rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

body.theme-terrasy .hero .card .place-city {
  margin: 0 0 0.45rem;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold, #B89768);
}

body.theme-terrasy .hero .card .hotel-stars {
  display: block;
  margin: 0 0 0.4rem;
  color: #B89768 !important;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  line-height: 1;
}

body.theme-terrasy .hero .card .hotel-format {
  display: inline-block;
  margin: 0 0 0.4rem;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted, #877E75);
}

body.theme-terrasy .hero .card .stars,
body.theme-terrasy .hero .card .star {
  display: none !important;
}

body.theme-terrasy .hero .card h3 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 1.75rem;
  font-weight: 400;
  font-style: normal;
  color: var(--ink, #1F1B18);
  margin: 0.15rem 0 0.45rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

body.theme-terrasy .hero .card h3 a {
  color: inherit;
  text-decoration: none;
}

body.theme-terrasy .hero .card .specs {
  display: block !important;
  margin: 0 0 0.75rem;
  padding: 0;
  gap: 0;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted, #877E75);
  background: transparent;
  border: 0;
}

body.theme-terrasy .hero .card .specs span {
  display: inline;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit;
  font: inherit;
  min-height: 0;
}

body.theme-terrasy .hero .card .specs span + span::before {
  content: " · ";
  color: var(--muted, #877E75);
}

body.theme-terrasy .hero .card .card-lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft, #4A443E);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

body.theme-terrasy .hero .card .prop-addr,
body.theme-terrasy .hero .card .prop-map {
  display: none !important;
}

body.theme-terrasy .hero .card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: auto;
}

body.theme-terrasy .hero .btn-link {
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold, #B89768);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.25s ease;
}

body.theme-terrasy .hero .btn-link span {
  display: inline-block;
  transition: transform 0.3s var(--ease-estate, ease);
}

body.theme-terrasy .hero .btn-link:hover {
  color: var(--accent-gold-hover, #9E7D4E);
}

body.theme-terrasy .hero .btn-link:hover span {
  transform: translateX(4px);
}

body.theme-terrasy .hero .btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill, 9999px);
  background: var(--accent-gold, #B89768);
  color: #fff;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

body.theme-terrasy .hero .btn-book:hover {
  background: var(--accent-gold-hover, #9E7D4E);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(184, 151, 104, 0.35);
  color: #fff;
}

/* ==========================================================================
   LAVICON-3 HOTEL PAGE TEMPLATE v249 — Fregat editorial
   ========================================================================== */

body.theme-terrasy .hotel-nav-sticky {
  position: sticky;
  top: var(--chrome-h, 7.5rem); /* под logo + главное меню */
  z-index: 40;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  padding: 0.75rem 0;
  margin-bottom: 2rem;
}

body.theme-terrasy .hotel-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

body.theme-terrasy .hotel-nav-links {
  display: flex;
  gap: 1.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.theme-terrasy .hotel-nav-links::-webkit-scrollbar { display: none; }

body.theme-terrasy .hotel-nav-links a {
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted, #877E75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

body.theme-terrasy .hotel-nav-links a:hover,
body.theme-terrasy .hotel-nav-links a.is-active {
  color: var(--ink, #1F1B18);
  border-bottom-color: var(--accent-gold, #B89768);
}

body.theme-terrasy .btn-subnav-book {
  background: var(--accent-gold, #B89768);
  color: #fff;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-pill, 9999px);
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

body.theme-terrasy .btn-subnav-book:hover {
  background: var(--accent-gold-hover, #9E7D4E);
  color: #fff;
}

body.theme-terrasy .hotel-page {
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

body.theme-terrasy .hotel-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (max-width: 960px) {
  body.theme-terrasy .hotel-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  body.theme-terrasy .hotel-nav-inner {
    flex-direction: column;
    align-items: stretch;
  }
  body.theme-terrasy .btn-subnav-book {
    align-self: flex-start;
  }
}

body.theme-terrasy .hotel-hero-badge {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

body.theme-terrasy .hotel-hero-badge .hotel-stars {
  color: #B89768;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
}

body.theme-terrasy .hotel-hero-badge .badge-dot {
  color: var(--muted, #877E75);
}

body.theme-terrasy .hotel-hero-badge .badge-tag {
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold, #B89768);
}

body.theme-terrasy .hotel-hero-title {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink, #1F1B18);
  margin: 0.6rem 0 1.2rem;
}

body.theme-terrasy .hotel-hero-lead {
  color: var(--ink-soft, #4A443E);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 1.75rem;
  max-width: 34rem;
}

body.theme-terrasy .hotel-key-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-bottom: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  margin-bottom: 2rem;
}

body.theme-terrasy .fact-val {
  display: block;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 1.6rem;
  color: var(--ink, #1F1B18);
  line-height: 1.1;
}

body.theme-terrasy .fact-lbl {
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted, #877E75);
}

body.theme-terrasy .hotel-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

body.theme-terrasy .btn-primary-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill, 9999px);
  background: var(--accent-gold, #B89768);
  color: #fff;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

body.theme-terrasy .btn-primary-gold:hover {
  background: var(--accent-gold-hover, #9E7D4E);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(184, 151, 104, 0.35);
}

body.theme-terrasy .btn-secondary-link {
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold, #B89768);
  text-decoration: none;
}

body.theme-terrasy .btn-secondary-link:hover {
  color: var(--accent-gold-hover, #9E7D4E);
}

body.theme-terrasy .hotel-badge--quiet {
  margin: 0;
}

body.theme-terrasy .hotel-badge--quiet img {
  display: block;
  width: auto;
  height: 44px;
  filter: grayscale(1) opacity(0.45);
  transition: filter 0.3s ease;
}

body.theme-terrasy .hotel-badge--quiet a:hover img {
  filter: grayscale(0) opacity(0.9);
}

body.theme-terrasy .hotel-hero-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.85rem;
  min-height: 420px;
  height: clamp(380px, 48vw, 480px);
}

body.theme-terrasy .mosaic-main,
body.theme-terrasy .mosaic-sub > img,
body.theme-terrasy .mosaic-more {
  border-radius: var(--radius, 18px);
  overflow: hidden;
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
}

body.theme-terrasy .mosaic-main {
  height: 100%;
}

body.theme-terrasy .mosaic-main img,
body.theme-terrasy .mosaic-sub > img,
body.theme-terrasy .mosaic-more img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.theme-terrasy .mosaic-sub {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 0;
}

body.theme-terrasy .mosaic-sub > img,
body.theme-terrasy .mosaic-more {
  flex: 1 1 0;
  min-height: 0;
}

body.theme-terrasy .mosaic-more {
  position: relative;
  display: block;
}

body.theme-terrasy .mosaic-more__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(31, 27, 24, 0.72));
  color: #FAF7F2;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  body.theme-terrasy .hotel-hero-mosaic {
    grid-template-columns: 1fr;
    height: auto;
  }
  body.theme-terrasy .mosaic-main {
    aspect-ratio: 16 / 10;
    height: auto;
  }
  body.theme-terrasy .mosaic-sub {
    flex-direction: row;
  }
  body.theme-terrasy .mosaic-sub > img,
  body.theme-terrasy .mosaic-more {
    aspect-ratio: 1 / 1;
    flex: 1 1 50%;
  }
}

/* Amenities */
body.theme-terrasy .hotel-amenities-band {
  margin: 0 0 4rem;
  padding: 2.5rem 0 0;
}

body.theme-terrasy .hotel-amenities-band > h2 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0.35rem 0 1.75rem;
}

body.theme-terrasy .amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  body.theme-terrasy .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body.theme-terrasy .amenities-grid { grid-template-columns: 1fr; }
}

body.theme-terrasy .amenity-item {
  background: var(--surface-elevated, #fff);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: var(--radius, 18px);
  padding: 1.35rem 1.25rem 1.45rem;
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
}

body.theme-terrasy .amenity-mark {
  margin: 0 0 0.75rem;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold, #B89768);
}

body.theme-terrasy .amenity-item h3 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
}

body.theme-terrasy .amenity-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft, #4A443E);
}

/* Rooms */
body.theme-terrasy .hotel-rooms-section {
  margin-bottom: 4rem;
}

body.theme-terrasy .hotel-rooms-section .section-head h2 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0.35rem 0 0.75rem;
}

body.theme-terrasy .hotel-rooms-section .section-head .lead {
  max-width: 40rem;
  margin: 0;
  color: var(--ink-soft, #4A443E);
}

body.theme-terrasy .rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (max-width: 1024px) {
  body.theme-terrasy .rooms-grid { grid-template-columns: 1fr; }
}

body.theme-terrasy .room-card {
  background: var(--surface-elevated, #fff);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: var(--radius, 18px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
  transition: transform 0.3s var(--ease-estate, ease), box-shadow 0.3s ease;
}

body.theme-terrasy .room-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float, 0 20px 48px -8px rgba(44, 38, 30, 0.12));
}

body.theme-terrasy .room-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e2d8;
}

body.theme-terrasy .room-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.theme-terrasy .room-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(31, 27, 24, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FAF7F2;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
}

body.theme-terrasy .room-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}

body.theme-terrasy .room-header h3 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 0.25rem;
}

body.theme-terrasy .room-specs {
  font-size: 0.8rem;
  color: var(--accent-gold, #B89768);
  font-weight: 600;
  margin: 0 0 0.8rem;
}

body.theme-terrasy .room-desc {
  font-size: 0.9rem;
  color: var(--ink-soft, #4A443E);
  line-height: 1.5;
  margin: 0 0 1rem;
}

body.theme-terrasy .room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

body.theme-terrasy .room-features li {
  background: var(--bg, #F7F4EE);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--ink-soft, #4A443E);
}

body.theme-terrasy .room-footer {
  margin-top: auto;
}

body.theme-terrasy .btn-book-room {
  display: block;
  text-align: center;
  background: var(--ink, #1F1B18);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-pill, 9999px);
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease;
}

body.theme-terrasy .btn-book-room:hover {
  background: var(--accent-gold, #B89768);
  color: #fff;
}

body.theme-terrasy .rooms-more {
  margin: 1.75rem 0 0;
  text-align: center;
}

/* Video */
body.theme-terrasy .hotel-video-section {
  margin-bottom: 4rem;
}

body.theme-terrasy .hotel-video-section > h2 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0.35rem 0 1.25rem;
}

body.theme-terrasy .video-frame {
  margin-top: 0;
  border-radius: var(--radius, 18px);
  overflow: hidden;
  box-shadow: var(--shadow-float, 0 20px 48px -8px rgba(44, 38, 30, 0.12));
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  background: #1a1714;
  position: relative;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

body.theme-terrasy .video-frame video {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
  vertical-align: top;
  background: #1a1714;
}

body.theme-terrasy .video-frame__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 23, 20, 0.32);
  cursor: pointer;
  transition: background 0.25s ease, opacity 0.2s ease;
}

body.theme-terrasy .video-frame__play:hover,
body.theme-terrasy .video-frame__play:focus-visible {
  background: rgba(26, 23, 20, 0.42);
  outline: none;
}

body.theme-terrasy .video-frame__play:focus-visible .video-frame__play-icon {
  box-shadow: 0 0 0 3px rgba(184, 151, 104, 0.55);
}

body.theme-terrasy .video-frame__play-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--gold, #B89768);
  box-shadow: 0 10px 28px rgba(26, 23, 20, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease;
}

body.theme-terrasy .video-frame__play-icon::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 0.2rem;
  border-style: solid;
  border-width: 0.7rem 0 0.7rem 1.15rem;
  border-color: transparent transparent transparent #fff;
}

body.theme-terrasy .video-frame__play:hover .video-frame__play-icon,
body.theme-terrasy .video-frame__play:focus-visible .video-frame__play-icon {
  transform: scale(1.06);
  background: #c4a574;
}

body.theme-terrasy .video-frame.is-playing .video-frame__play {
  opacity: 0;
  pointer-events: none;
}

body.theme-terrasy .video-frame.is-loading .video-frame__play-icon {
  animation: video-frame-pulse 0.9s ease infinite alternate;
}

@keyframes video-frame-pulse {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(0.94); opacity: 0.75; }
}

body.theme-terrasy .video-note {
  margin: 0.75rem 0 0;
  color: var(--muted, #877E75);
}

/* Reach */
body.theme-terrasy .hotel-reach-band {
  background: var(--surface-elevated, #fff);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: var(--radius, 18px);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
}

body.theme-terrasy .hotel-reach-band h2 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0.35rem 0 0.75rem;
}

body.theme-terrasy .hotel-reach-band .lead {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  color: var(--ink-soft, #4A443E);
}

body.theme-terrasy .reach-elegant {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

body.theme-terrasy .reach-elegant li {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line, rgba(74, 68, 62, 0.12));
}

@media (max-width: 600px) {
  body.theme-terrasy .reach-elegant li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

body.theme-terrasy .reach-elegant__k {
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold, #B89768);
}

body.theme-terrasy .reach-elegant__v {
  font-size: 0.95rem;
  color: var(--ink, #1F1B18);
  line-height: 1.45;
}

body.theme-terrasy .reach-addr {
  margin: 0 0 0.5rem;
  color: var(--ink-soft, #4A443E);
  font-size: 0.92rem;
}

body.theme-terrasy .reach-phones {
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-weight: 600;
}

body.theme-terrasy .reach-phones a {
  color: var(--ink, #1F1B18);
  text-decoration: none;
}

body.theme-terrasy .reach-phones a:hover {
  color: var(--accent-gold, #B89768);
}

/* ==========================================================================
   LAVICON-3 HOTEL CHILD PAGES v250 — Fregat sections
   ========================================================================== */

body.theme-terrasy .page-head {
  margin-block: 0 2.5rem;
  margin-inline: auto;
  max-width: 42rem;
}

/* Unified hotel tabs: page-head was centered (old child-page layout) —
   against full-width room/service cards it looked “shifted”. Left-align. */
body.theme-terrasy.has-hotel-capsule-top .hotel-page > .page-head {
  margin-inline: 0;
  max-width: min(42rem, 100%);
}

body.theme-terrasy .page-head h1,
body.theme-terrasy .page-head h2 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 3.4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.9rem;
}

body.theme-terrasy .page-head .lead {
  margin: 0;
  color: var(--ink-soft, #4A443E);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Room detail cards */
body.theme-terrasy .room-detail-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  background: var(--surface-elevated, #FFF);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: var(--radius, 18px);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
  align-items: stretch;
  padding: 0;
}

@media (max-width: 900px) {
  body.theme-terrasy .room-detail-card {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

body.theme-terrasy .room-detail-media {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 0;
  background: #e8e2d8;
}

body.theme-terrasy .room-detail-media > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

body.theme-terrasy .room-detail-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding: 0 0.65rem 0.65rem;
}

body.theme-terrasy .room-detail-thumbs img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

body.theme-terrasy .room-detail-body {
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
}

body.theme-terrasy .room-detail-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold, #B89768);
}

body.theme-terrasy .room-detail-body h2 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  margin: 0 0 0.4rem;
}

body.theme-terrasy .room-detail-meta {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-gold, #B89768);
}

body.theme-terrasy .room-detail-desc {
  margin: 0;
  color: var(--ink-soft, #4A443E);
  line-height: 1.55;
  font-size: 0.95rem;
}

body.theme-terrasy .room-detail-card .room-specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--ink-soft, #4A443E);
}

body.theme-terrasy .room-detail-card .room-specs-list li {
  position: relative;
  padding-left: 0.9rem;
}

body.theme-terrasy .room-detail-card .room-specs-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-gold, #B89768);
}

body.theme-terrasy .room-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: auto;
}

body.theme-terrasy .hotel-note-card {
  background: var(--surface-elevated, #FFF);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: var(--radius, 18px);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
}

body.theme-terrasy .hotel-note-card h2 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: 1.7rem;
  margin: 0.3rem 0 1rem;
}

body.theme-terrasy .note-lines {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

body.theme-terrasy .note-lines li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  color: var(--ink-soft, #4A443E);
  line-height: 1.5;
}

/* Specials */
body.theme-terrasy .specials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  body.theme-terrasy .specials-grid { grid-template-columns: 1fr; }
}

body.theme-terrasy .special-card {
  background: var(--surface-elevated, #FFF);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: var(--radius, 18px);
  overflow: hidden;
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
  display: flex;
  flex-direction: column;
}

body.theme-terrasy .special-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8e2d8;
}

body.theme-terrasy .special-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

body.theme-terrasy .special-card:hover .special-photo img {
  transform: scale(1.04);
}

body.theme-terrasy .special-badge {
  /* legacy hook — glass island defined in v256 specials block */
  position: absolute;
}

body.theme-terrasy .special-body {
  padding: 1.35rem 1.4rem 1.55rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

body.theme-terrasy .special-body h2 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

body.theme-terrasy .special-dates {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold, #B89768);
  border: 1px solid rgba(184, 151, 104, 0.35);
  border-radius: 9999px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 0.85rem;
}

body.theme-terrasy .special-lead {
  margin: 0 0 1rem;
  color: var(--ink-soft, #4A443E);
  font-size: 0.92rem;
  line-height: 1.5;
}

body.theme-terrasy .special-terms {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
}

body.theme-terrasy .special-terms li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  font-size: 0.85rem;
  color: var(--ink-soft, #4A443E);
}

body.theme-terrasy .special-body .btn-book-room {
  margin-top: auto;
}

/* Contacts */
body.theme-terrasy .contact-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  body.theme-terrasy .contact-split { grid-template-columns: 1fr; }
}

body.theme-terrasy .contact-card {
  background: var(--surface-elevated, #FFF);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: var(--radius, 18px);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
}

body.theme-terrasy .contact-card h2 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: 1.8rem;
  margin: 0.25rem 0 1rem;
}

body.theme-terrasy .contact-addr {
  margin: 0 0 1.35rem;
  color: var(--ink-soft, #4A443E);
  line-height: 1.5;
}

body.theme-terrasy .contact-block {
  margin-bottom: 1.15rem;
}

body.theme-terrasy .contact-label {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted, #877E75);
}

body.theme-terrasy .contact-phones {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  font-weight: 600;
}

body.theme-terrasy .contact-phones a {
  color: var(--ink, #1F1B18);
  text-decoration: none;
}

body.theme-terrasy .contact-phones a:hover {
  color: var(--accent-gold, #B89768);
}

body.theme-terrasy .contact-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

body.theme-terrasy .contact-hours {
  display: flex;
  gap: 2rem;
  padding: 1rem 0 1.35rem;
  border-top: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-bottom: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  margin-bottom: 1.35rem;
}

body.theme-terrasy .contact-map-wrap .coast-map--single {
  margin: 0;
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius, 18px);
  overflow: hidden;
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
  background: #e8e2d8;
}

body.theme-terrasy .contact-map-wrap .coast-map__canvas {
  height: 100%;
  min-height: 420px;
  border-radius: 0;
}

/* Booking center */
body.theme-terrasy .booking-center {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  body.theme-terrasy .booking-center { grid-template-columns: 1fr; }
}

body.theme-terrasy .hotel-booking-form {
  background: var(--surface-elevated, #FFF);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: var(--radius, 18px);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
}

body.theme-terrasy .hbf-row {
  margin-bottom: 1rem;
}

body.theme-terrasy .hbf-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 560px) {
  body.theme-terrasy .hbf-row--2 { grid-template-columns: 1fr; }
}

body.theme-terrasy .hbf-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted, #877E75);
}

body.theme-terrasy .hbf-field input,
body.theme-terrasy .hbf-field select {
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink, #1F1B18);
  background: var(--bg, #F7F4EE);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  min-height: 48px;
}

body.theme-terrasy .hbf-field--locked input[readonly] {
  color: var(--ink-soft, #4A443E);
  cursor: default;
}

body.theme-terrasy .hbf-submit {
  width: 100%;
  margin-top: 0.5rem;
  border: 0;
  cursor: pointer;
}

body.theme-terrasy .booking-aside {
  border-radius: var(--radius, 18px);
  overflow: hidden;
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  background: var(--surface-elevated, #FFF);
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
  display: flex;
  flex-direction: column;
}

body.theme-terrasy .booking-aside img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

body.theme-terrasy .booking-aside p {
  margin: 0;
  padding: 1.25rem 1.4rem 1.5rem;
  color: var(--ink-soft, #4A443E);
  line-height: 1.5;
  font-size: 0.92rem;
}

body.theme-terrasy .booking-guarantees h2 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  margin: 0.3rem 0 1.5rem;
}

body.theme-terrasy .guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

@media (max-width: 1024px) {
  body.theme-terrasy .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body.theme-terrasy .guarantees-grid { grid-template-columns: 1fr; }
}

body.theme-terrasy .guarantee-card {
  background: var(--surface-elevated, #FFF);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: var(--radius, 18px);
  padding: 1.25rem;
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
}

body.theme-terrasy .guarantee-card h3 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: 1.3rem;
  margin: 0 0 0.45rem;
}

body.theme-terrasy .guarantee-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft, #4A443E);
  line-height: 1.5;
}

/* Legal */
body.theme-terrasy .legal-docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 768px) {
  body.theme-terrasy .legal-docs-grid { grid-template-columns: 1fr; }
}

body.theme-terrasy .legal-doc-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  background: var(--surface-elevated, #FFF);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: var(--radius, 18px);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
  align-items: start;
}

body.theme-terrasy .legal-doc-card--note {
  grid-template-columns: 1fr;
  background: rgba(184, 151, 104, 0.08);
}

body.theme-terrasy .legal-doc-icon {
  width: 3rem;
  height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ink, #1F1B18);
  color: #FAF7F2;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

body.theme-terrasy .legal-doc-body h2 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: 1.35rem;
  margin: 0 0 0.45rem;
}

body.theme-terrasy .legal-doc-body p {
  margin: 0 0 0.65rem;
  color: var(--ink-soft, #4A443E);
  font-size: 0.9rem;
  line-height: 1.5;
}

body.theme-terrasy .legal-meta {
  font-size: 0.72rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #877E75) !important;
}

body.theme-terrasy .hotel-hero-mosaic--page {
  margin-bottom: 2.5rem;
}

body.theme-terrasy .amenities-grid--services {
  margin-top: 0;
}

/* ==========================================================================
   Service photo grid v251
   ========================================================================== */
body.theme-terrasy .services-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}
@media (max-width: 1100px) {
  body.theme-terrasy .services-photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body.theme-terrasy .services-photo-grid { grid-template-columns: 1fr; }
}
body.theme-terrasy .service-photo-card {
  background: var(--surface-elevated, #FFF);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: var(--radius, 18px);
  overflow: hidden;
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
  display: flex;
  flex-direction: column;
}
body.theme-terrasy .service-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e2d8;
}
body.theme-terrasy .service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.theme-terrasy .service-photo-body {
  padding: 1.1rem 1.15rem 1.25rem;
}
body.theme-terrasy .service-photo-body h3 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
}
body.theme-terrasy .service-photo-body p:last-child {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft, #4A443E);
  line-height: 1.45;
}

/* ==========================================================================
   LAVICON-3 HOTEL CAPSULE NAV + HEADER Z-FIX v252
   ========================================================================== */

/* Network chrome: logo row + main menu stick together (v292)
   Nav is a sibling after <header>, so it sticks just under the logo row.
   Toggle: html.chrome-sticky-on | html.chrome-sticky-off (desktop/tablet only). */
body.theme-terrasy {
  --chrome-logo-h: 4.5rem;
  --chrome-nav-h: 3rem;
  --chrome-h: calc(var(--chrome-logo-h) + var(--chrome-nav-h));
  scroll-padding-top: calc(var(--chrome-h) + 12px);
}

body.theme-terrasy .site-header.head-tool,
body.theme-terrasy .site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg, #F7F4EE);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  isolation: isolate;
}

/* Sticky chrome mascot — fixed widget opposite header (tablet/desktop only) */
body.theme-terrasy .chrome-sticky-toggle,
body.theme-terrasy .chrome-sticky-mascot {
  position: fixed;
  top: 1.05rem;
  right: max(0.85rem, env(safe-area-inset-right));
  z-index: 1250;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: var(--accent-gold, #B89768);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  isolation: isolate;
  overflow: visible;
  /* Dual halo: light for dark hero, dark for cream page */
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.92),
    0 0 0 3px rgba(31, 27, 24, 0.55),
    0 10px 28px rgba(26, 23, 20, 0.35);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

body.theme-terrasy .chrome-sticky-toggle__face {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

body.theme-terrasy .chrome-sticky-toggle__svg {
  width: 28px;
  height: 28px;
  display: block;
  overflow: visible;
  transform-origin: 40% 70%;
}

body.theme-terrasy .chrome-sticky-toggle .pin-sticky__mascot {
  transform-origin: 9px 16px;
  transform-box: fill-box;
}

/* Dual outline — original SVG Repo pin geometry */
body.theme-terrasy .chrome-sticky-toggle .pin-sticky__needle-dark {
  fill: rgba(31, 27, 24, 0.95);
  stroke: rgba(31, 27, 24, 0.95);
  stroke-width: 2.4;
  stroke-linejoin: round;
}

body.theme-terrasy .chrome-sticky-toggle .pin-sticky__needle-light {
  fill: rgba(255, 255, 255, 0.95);
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 1.15;
  stroke-linejoin: round;
}

body.theme-terrasy .chrome-sticky-toggle .pin-sticky__needle {
  fill: #fff;
  stroke: none;
}

body.theme-terrasy .chrome-sticky-toggle .pin-sticky__head-dark {
  fill: none;
  stroke: rgba(31, 27, 24, 0.95);
  stroke-width: 3.6;
}

body.theme-terrasy .chrome-sticky-toggle .pin-sticky__head-light {
  fill: none;
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 2.55;
}

body.theme-terrasy .chrome-sticky-toggle .pin-sticky__head {
  fill: none;
  stroke: #fff;
  stroke-width: 1.75;
}

/* ON — gold disc + solid white pin (pinned) */
body.theme-terrasy .chrome-sticky-toggle.is-on {
  background: var(--accent-gold, #B89768);
}

/* Pinned header: stationery pin stands upright (needle down). Unpinned stays diagonal. */
body.theme-terrasy .chrome-sticky-toggle.is-on .pin-sticky__mascot,
body.theme-terrasy .chrome-sticky-toggle.is-lifting .pin-sticky__mascot {
  transform-box: fill-box;
  transform-origin: center;
}

body.theme-terrasy .chrome-sticky-toggle.is-on .pin-sticky__mascot {
  transform: rotate(-45deg);
  animation: chrome-sticky-pinned 2.8s ease-in-out infinite;
}

body.theme-terrasy .chrome-sticky-toggle.is-on .pin-sticky__needle-dark {
  fill: rgba(31, 27, 24, 0.95);
  stroke: rgba(31, 27, 24, 0.95);
}

body.theme-terrasy .chrome-sticky-toggle.is-on .pin-sticky__needle-light,
body.theme-terrasy .chrome-sticky-toggle.is-on .pin-sticky__needle {
  fill: #fff;
  stroke: #fff;
}

body.theme-terrasy .chrome-sticky-toggle.is-on .pin-sticky__head-dark {
  stroke: rgba(31, 27, 24, 0.95);
}

body.theme-terrasy .chrome-sticky-toggle.is-on .pin-sticky__head-light {
  stroke: rgba(255, 255, 255, 0.95);
}

body.theme-terrasy .chrome-sticky-toggle.is-on .pin-sticky__head {
  stroke: #fff;
}

/*
 * OFF — no slash (it ran along the pin axis and looked like part of the icon).
 * Cream disc + hollow bronze outline = “pin not stuck / inactive”.
 */
body.theme-terrasy .chrome-sticky-toggle.is-off {
  background: #f0ebe3;
  box-shadow:
    0 0 0 1.5px rgba(31, 27, 24, 0.55),
    0 0 0 3px rgba(255, 255, 255, 0.9),
    0 10px 28px rgba(26, 23, 20, 0.28);
}

body.theme-terrasy .chrome-sticky-toggle.is-off .pin-sticky__mascot {
  animation: chrome-sticky-float 2.4s ease-in-out infinite;
}

body.theme-terrasy .chrome-sticky-toggle.is-off .pin-sticky__needle-dark {
  fill: none;
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 2.8;
}

body.theme-terrasy .chrome-sticky-toggle.is-off .pin-sticky__needle-light {
  fill: none;
  stroke: rgba(31, 27, 24, 0.35);
  stroke-width: 1.6;
}

body.theme-terrasy .chrome-sticky-toggle.is-off .pin-sticky__needle {
  fill: none;
  stroke: #7a6548;
  stroke-width: 1.15;
  stroke-linejoin: round;
}

body.theme-terrasy .chrome-sticky-toggle.is-off .pin-sticky__head-dark {
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 3.8;
}

body.theme-terrasy .chrome-sticky-toggle.is-off .pin-sticky__head-light {
  stroke: rgba(31, 27, 24, 0.28);
  stroke-width: 2.7;
}

body.theme-terrasy .chrome-sticky-toggle.is-off .pin-sticky__head {
  stroke: #7a6548;
  stroke-width: 1.85;
}

body.theme-terrasy .chrome-sticky-toggle.is-off:hover,
body.theme-terrasy .chrome-sticky-toggle.is-off:focus-visible {
  background: #e8e1d6;
  box-shadow:
    0 0 0 1.5px rgba(31, 27, 24, 0.6),
    0 0 0 3.5px rgba(255, 255, 255, 0.95),
    0 12px 30px rgba(26, 23, 20, 0.35);
}

/* One-shot click motions */
body.theme-terrasy .chrome-sticky-toggle.is-pressing .pin-sticky__mascot {
  animation: chrome-sticky-press 0.55s cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

body.theme-terrasy .chrome-sticky-toggle.is-lifting .pin-sticky__mascot {
  animation: chrome-sticky-lift 0.5s cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

body.theme-terrasy .chrome-sticky-toggle:hover,
body.theme-terrasy .chrome-sticky-toggle:focus-visible {
  outline: none;
  transform: translateY(-1px) scale(1.04);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.95),
    0 0 0 3.5px rgba(31, 27, 24, 0.6),
    0 12px 30px rgba(26, 23, 20, 0.4);
}

/* Upright pin: small settle along the vertical needle */
@keyframes chrome-sticky-pinned {
  0%, 100% { transform: translate(0, 0) rotate(-45deg); }
  45% { transform: translate(0, 0.7px) rotate(-45deg); }
  70% { transform: translate(0, -0.2px) rotate(-45deg); }
}

@keyframes chrome-sticky-float {
  0%, 100% { transform: translate(0.4px, -0.8px) rotate(4deg); }
  50% { transform: translate(-0.3px, -1.6px) rotate(7deg); }
}

@keyframes chrome-sticky-press {
  0% { transform: translate(1.2px, -1.8px) rotate(6deg) scale(1.06); }
  55% { transform: translate(0, 1.1px) rotate(-48deg) scale(0.94); }
  100% { transform: translate(0, 0) rotate(-45deg) scale(1); }
}

@keyframes chrome-sticky-lift {
  0% { transform: translate(0, 0.4px) rotate(-45deg) scale(0.98); }
  55% { transform: translate(1px, -2px) rotate(-8deg) scale(1.05); }
  100% { transform: translate(0.4px, -0.8px) rotate(4deg) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  body.theme-terrasy .chrome-sticky-toggle.is-on .pin-sticky__mascot,
  body.theme-terrasy .chrome-sticky-toggle.is-off .pin-sticky__mascot,
  body.theme-terrasy .chrome-sticky-toggle.is-pressing .pin-sticky__mascot,
  body.theme-terrasy .chrome-sticky-toggle.is-lifting .pin-sticky__mascot {
    animation: none;
  }
}

body.theme-terrasy .chrome-sticky-toggle__tip {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 1260;
  width: max-content;
  max-width: min(15.5rem, 70vw);
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  background: rgba(31, 27, 24, 0.94);
  color: #fff;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-align: left;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 10px 28px rgba(31, 27, 24, 0.22);
}

body.theme-terrasy .chrome-sticky-toggle__tip::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 16px;
  border: 5px solid transparent;
  border-bottom-color: rgba(31, 27, 24, 0.94);
  border-top-width: 0;
}

body.theme-terrasy .chrome-sticky-toggle:hover .chrome-sticky-toggle__tip,
body.theme-terrasy .chrome-sticky-toggle:focus-visible .chrome-sticky-toggle__tip {
  opacity: 1;
  transform: none;
}

/* Messenger icons: one-word hover tip from aria-label */
body.theme-terrasy .chan {
  position: relative;
  overflow: visible;
}

body.theme-terrasy .chan::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.4rem);
  z-index: 320;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  background: rgba(31, 27, 24, 0.94);
  color: #fff;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(3px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  box-shadow: 0 8px 20px rgba(31, 27, 24, 0.2);
}

body.theme-terrasy .chan::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.15rem);
  z-index: 321;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-top-color: rgba(31, 27, 24, 0.94);
  border-bottom-width: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(3px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

/* Header / drawer: tip below so it clears the top edge */
body.theme-terrasy .site-header .chan::after,
body.theme-terrasy .acts .chan::after,
body.theme-terrasy .nav-extra .chan::after {
  bottom: auto;
  top: calc(100% + 0.4rem);
  transform: translateX(-50%) translateY(-3px);
}

body.theme-terrasy .site-header .chan::before,
body.theme-terrasy .acts .chan::before,
body.theme-terrasy .nav-extra .chan::before {
  bottom: auto;
  top: calc(100% + 0.15rem);
  border-top-color: transparent;
  border-top-width: 0;
  border-bottom-width: 5px;
  border-bottom-color: rgba(31, 27, 24, 0.94);
  transform: translateX(-50%) translateY(-3px);
}

body.theme-terrasy .chan:focus-visible::after,
body.theme-terrasy .chan:focus-visible::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (hover: hover) {
  body.theme-terrasy .chan:hover::after,
  body.theme-terrasy .chan:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (min-width: 768px) {
  body.theme-terrasy .chrome-sticky-toggle:not([hidden]),
  body.theme-terrasy .chrome-sticky-mascot:not([hidden]) {
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  body.theme-terrasy .chrome-sticky-toggle,
  body.theme-terrasy .chrome-sticky-mascot {
    display: none !important;
  }

  html.chrome-sticky-off body.theme-terrasy,
  html body.theme-terrasy {
    --chrome-h: 0px;
    scroll-padding-top: 12px;
  }

  body.theme-terrasy .site-header.head-tool,
  body.theme-terrasy .site-header {
    position: relative;
    top: auto;
  }

  body.theme-terrasy .hotel-nav-sticky {
    top: 0;
  }
}

/* User disabled sticky (desktop/tablet) */
html.chrome-sticky-off body.theme-terrasy {
  --chrome-h: 0px;
  scroll-padding-top: 12px;
}

html.chrome-sticky-off body.theme-terrasy .site-header.head-tool,
html.chrome-sticky-off body.theme-terrasy .site-header {
  position: relative;
  top: auto;
}

html.chrome-sticky-off body.theme-terrasy .site-header.head-tool::before,
html.chrome-sticky-off body.theme-terrasy .site-header.head-tool::after {
  display: none;
}

html.chrome-sticky-off body.theme-terrasy .site-header.head-tool + nav.nav.nav-drawer,
html.chrome-sticky-off body.theme-terrasy .site-header.head-tool + nav.nav.nav-sheet,
html.chrome-sticky-off body.theme-terrasy .site-header + nav#nav.nav-drawer {
  position: relative !important;
  top: auto !important;
}

html.chrome-sticky-off body.theme-terrasy .site-header.head-tool + nav.nav.nav-drawer::before,
html.chrome-sticky-off body.theme-terrasy .site-header.head-tool + nav.nav.nav-sheet::before,
html.chrome-sticky-off body.theme-terrasy .site-header + nav#nav.nav-drawer::before {
  display: none;
}

html.chrome-sticky-off body.theme-terrasy .hotel-nav-sticky {
  top: 0;
}

/* Seal any 1px gap / overscroll above the sticky bar */
body.theme-terrasy .site-header.head-tool::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 24px;
  background: var(--bg, #F7F4EE);
  pointer-events: none;
}

/* Seal downward so content cannot show between logo row and sticky menu */
body.theme-terrasy .site-header.head-tool::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 4px;
  background: var(--bg, #F7F4EE);
  pointer-events: none;
  z-index: 1;
}

body.theme-terrasy nav.nav.nav-sheet,
body.theme-terrasy #nav.nav {
  position: relative;
  z-index: 150;
}

@media (min-width: 861px) {
  body.theme-terrasy .site-header.head-tool,
  body.theme-terrasy .site-header.head-tool.head-tool {
    border-bottom: 0;
    margin-bottom: 0;
  }

  /* Full-bleed sticky strip so page content never shows through the sides */
  body.theme-terrasy .site-header.head-tool + nav.nav.nav-drawer,
  body.theme-terrasy .site-header.head-tool + nav.nav.nav-sheet,
  body.theme-terrasy .site-header + nav#nav.nav-drawer {
    position: sticky;
    top: var(--chrome-logo-h);
    z-index: 199;
    width: 100%;
    max-width: none;
    margin: 0;
    margin-inline: 0;
    box-sizing: border-box;
    padding-top: 0.5rem;
    padding-bottom: 0.85rem;
    padding-inline: max(1rem, calc(50% - 600px));
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.8rem;
    background: var(--bg, #F7F4EE);
    border-bottom: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  }

  /* Overlap seal under the logo row — kills subpixel sticky gap */
  body.theme-terrasy .site-header.head-tool + nav.nav.nav-drawer::before,
  body.theme-terrasy .site-header.head-tool + nav.nav.nav-sheet::before,
  body.theme-terrasy .site-header + nav#nav.nav-drawer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -6px;
    height: 8px;
    background: var(--bg, #F7F4EE);
    pointer-events: none;
    z-index: 0;
  }

  body.theme-terrasy .hotel-nav-sticky {
    top: var(--chrome-h);
  }
}

@media (max-width: 860px) {
  body.theme-terrasy {
    --chrome-h: var(--chrome-logo-h);
    scroll-padding-top: calc(var(--chrome-logo-h) + 12px);
  }

  body.theme-terrasy .hotel-nav-sticky {
    top: var(--chrome-logo-h);
  }
}

body.theme-terrasy .nav .collect {
  position: relative;
}

body.theme-terrasy .nav .collect-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  z-index: 130;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: 16px;
  box-shadow:
    0 16px 40px -8px rgba(31, 27, 24, 0.16),
    0 4px 12px rgba(31, 27, 24, 0.06);
  padding: 0.5rem;
  min-width: 280px;
  width: min(20rem, 92vw);
}

body.theme-terrasy .nav .collect-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}

body.theme-terrasy .nav .collect-menu a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft, #4A443E);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

body.theme-terrasy .nav .collect-menu a:hover {
  background: var(--bg, #F7F4EE);
  color: var(--ink, #1F1B18);
}

/* --- Hotels collect-menu: service hub + locations (v254) --- */
body.theme-terrasy .nav .collect-menu {
  min-width: 280px;
  width: min(20rem, 92vw);
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
}

body.theme-terrasy .nav .collect-menu__group--service {
  background: rgba(184, 151, 104, 0.08);
  border-radius: 10px;
  padding: 0.35rem;
  margin-top: 0.45rem;
  box-shadow: 0 -1px 0 var(--line, rgba(74, 68, 62, 0.12));
  padding-top: 0.55rem;
  margin-top: 0.55rem;
}

body.theme-terrasy .nav .collect-menu__link {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem !important;
  border-radius: 8px;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink, #1F1B18) !important;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

body.theme-terrasy .nav .collect-menu__link:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--accent-gold, #B89768) !important;
}

body.theme-terrasy .nav .collect-menu__link--lead {
  color: var(--accent-gold, #B89768) !important;
}

body.theme-terrasy .nav .collect-menu__link--lead::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent-gold, #B89768);
  flex-shrink: 0;
  opacity: 0.85;
}

body.theme-terrasy .nav .collect-menu__link:not(.collect-menu__link--lead)::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border: 1.5px solid var(--accent-gold, #B89768);
  border-radius: 2px;
  flex-shrink: 0;
  opacity: 0.65;
  box-sizing: border-box;
}

body.theme-terrasy .nav .collect-menu__arrow {
  margin-left: auto;
  font-size: 0.85rem;
  opacity: 0.45;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.theme-terrasy .nav .collect-menu__link:hover .collect-menu__arrow {
  transform: translateX(3px);
  opacity: 1;
}

body.theme-terrasy .nav .collect-menu__divider {
  display: flex;
  align-items: center;
  padding: 0.25rem 0.75rem 0.45rem;
  border-bottom: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  margin: 0 0 0.25rem;
}

body.theme-terrasy .nav .collect-menu__divider span {
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted, #877E75);
}

body.theme-terrasy .nav .collect-menu__group--hotels {
  display: grid;
  gap: 0.05rem;
}

body.theme-terrasy .nav .collect-menu__item {
  display: flex !important;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.45rem 0.75rem !important;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}

body.theme-terrasy .nav .collect-menu__item:hover {
  background: var(--bg, #F7F4EE);
}

body.theme-terrasy .nav .collect-menu__item .item-name {
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink, #1F1B18);
  line-height: 1.3;
}

body.theme-terrasy .nav .collect-menu__item:hover .item-name {
  color: var(--accent-gold, #B89768);
  font-weight: 600;
}

body.theme-terrasy .nav .collect-menu__item .item-sub {
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.7rem;
  color: var(--muted, #877E75);
  white-space: nowrap;
  flex-shrink: 0;
}

body.theme-terrasy .nav .collect-menu a[aria-current="page"] {
  background: color-mix(in srgb, var(--accent-gold, #B89768) 12%, transparent);
}

body.theme-terrasy .nav .collect-menu a[aria-current="page"] .item-name,
body.theme-terrasy .nav .collect-menu a[aria-current="page"].collect-menu__link {
  color: var(--accent-gold, #B89768) !important;
  font-weight: 650;
}

/* Hotel capsule under breadcrumbs — white + gold, no bounce (v322) */
body.theme-terrasy .hotel-nav-sticky {
  display: none;
}

body.theme-terrasy.has-hotel-capsule-top .hotel-nav-sticky--under-crumbs {
  display: block !important;
  position: sticky !important;
  top: var(--chrome-h, 7.5rem) !important;
  z-index: 45;
  padding: 0.55rem 0 0.85rem;
  margin: 0 0 0.35rem;
  background: transparent !important;
  border: 0 !important;
  pointer-events: none;
}

body.theme-terrasy.has-hotel-capsule-top .hotel-nav-sticky--under-crumbs .hotel-nav-wrapper {
  display: flex;
  justify-content: flex-start;
  width: var(--wrap, min(1120px, calc(100% - 2rem)));
  max-width: 100%;
  margin-inline: auto;
  padding: 0;
  pointer-events: none;
  box-sizing: border-box;
}

body.theme-terrasy.has-hotel-capsule-top .hotel-tab-panel.is-tab-hidden {
  display: none !important;
}

/* Unified hotel tabs: page-head left-align (kept) */
body.theme-terrasy.has-hotel-capsule-top .hotel-page > .page-head {
  margin-inline: 0;
  max-width: min(42rem, 100%);
}

body.theme-terrasy.has-hotel-capsule-top .hotel-nav-sticky--under-crumbs .hotel-capsule-bar {
  pointer-events: auto;
  background: #fff;
  border: 1.5px solid var(--accent-gold, #B89768);
  box-shadow: 0 10px 28px -8px rgba(31, 27, 24, 0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0.4rem 0.45rem;
  animation: none;
}

body.theme-terrasy.has-hotel-capsule-top .hotel-nav-sticky--under-crumbs .hotel-capsule-tabs .tab-item {
  color: #6B645C;
  font-weight: 550;
}

body.theme-terrasy.has-hotel-capsule-top .hotel-nav-sticky--under-crumbs .hotel-capsule-tabs .tab-item:hover {
  color: #1F1B18;
  background: rgba(184, 151, 104, 0.12);
}

body.theme-terrasy.has-hotel-capsule-top .hotel-nav-sticky--under-crumbs .hotel-capsule-tabs .tab-item.is-active {
  background: rgba(184, 151, 104, 0.18);
  color: #1F1B18;
  font-weight: 700;
  box-shadow: none;
  border: 0;
}

body.theme-terrasy.has-hotel-capsule-top .hotel-nav-sticky--under-crumbs .hotel-capsule-cta {
  background: var(--accent-gold, #B89768);
  color: #fff;
  box-shadow: 0 2px 8px rgba(184, 151, 104, 0.35);
}

body.theme-terrasy.has-hotel-capsule-top .hotel-nav-sticky--under-crumbs .hotel-capsule-cta:hover {
  background: var(--accent-gold-hover, #9E7D4E);
  color: #fff;
}

@media (max-width: 768px) {
  body.theme-terrasy.has-hotel-capsule-top .hotel-nav-sticky--under-crumbs .hotel-capsule-bar {
    border-radius: 16px;
    width: 100%;
  }
  body.theme-terrasy.has-hotel-capsule-top .hotel-nav-sticky--under-crumbs .hotel-nav-wrapper {
    width: calc(100% - 2rem);
  }
}

/* Floating capsule island (legacy — unused when under-crumbs is on) */
body.theme-terrasy .hotel-nav-sticky:not(.hotel-nav-sticky--dock):not(.hotel-nav-sticky--under-crumbs) {
  position: sticky;
  top: var(--chrome-h, 7.5rem);
  z-index: 40;
  padding: 0.75rem 0 0.35rem;
  margin-bottom: 1.25rem;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: none;
}

body.theme-terrasy .hotel-nav-wrapper {
  display: flex;
  justify-content: center;
}

body.theme-terrasy .hotel-capsule-bar {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 241, 235, 0.92);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 8px 24px -4px rgba(31, 27, 24, 0.1),
    0 2px 6px rgba(31, 27, 24, 0.04);
  border-radius: var(--radius-pill, 9999px);
  padding: 0.35rem 0.5rem 0.35rem 0.5rem;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.theme-terrasy .hotel-capsule-bar::-webkit-scrollbar { display: none; }

/* Hotel name badge removed — redundant with crumbs + H1 */
body.theme-terrasy .hotel-capsule-badge {
  display: none !important;
}

body.theme-terrasy .hotel-capsule-tabs {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

body.theme-terrasy .hotel-capsule-tabs .tab-item {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill, 9999px);
  border-bottom: 0;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted, #877E75);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

body.theme-terrasy .hotel-capsule-tabs .tab-item:hover {
  color: var(--ink, #1F1B18);
  background: rgba(255, 255, 255, 0.5);
}

body.theme-terrasy .hotel-capsule-tabs .tab-item.is-active {
  background: #fff;
  color: var(--ink, #1F1B18);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(31, 27, 24, 0.08);
  border-bottom-color: transparent;
}

body.theme-terrasy .hotel-capsule-cta {
  background: var(--accent-gold, #B89768);
  color: #fff;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill, 9999px);
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

body.theme-terrasy .hotel-capsule-cta:hover {
  background: var(--accent-gold-hover, #9E7D4E);
  color: #fff;
  transform: translateY(-1px);
}

body.theme-terrasy .hotel-page {
  padding-top: 1.5rem;
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

@media (max-width: 768px) {
  body.theme-terrasy .hotel-capsule-bar {
    border-radius: 14px;
    padding: 0.4rem 0.6rem;
    width: 100%;
  }
  body.theme-terrasy .hotel-capsule-badge { display: none; }
}

/* Legacy hooks no longer used as full-bleed bar */
body.theme-terrasy .hotel-nav-inner,
body.theme-terrasy .hotel-nav-links,
body.theme-terrasy .btn-subnav-book {
  /* kept for safety if old markup remains */
}
/* --- Specials page editorial grid (v257) --- */
body.theme-terrasy .specials-page {
  padding: 0.5rem 0 clamp(3rem, 7vw, 5rem);
}

body.theme-terrasy .specials-head-wrap {
  width: var(--wrap, min(1120px, calc(100% - 2rem)));
  max-width: 100%;
  margin-inline: auto;
  padding-top: 1.25rem;
  padding-bottom: 0;
  box-sizing: border-box;
}

body.theme-terrasy .specials-header-split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: end;
}

@media (max-width: 900px) {
  body.theme-terrasy .specials-header-split {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
  }
}

body.theme-terrasy .specials-header-main .kicker {
  margin: 0;
}

body.theme-terrasy .specials-title {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink, #1F1B18);
  margin: 0.45rem 0 1rem;
}

body.theme-terrasy .specials-header-main .lead {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-soft, #4A443E);
  font-size: 1.05rem;
  line-height: 1.6;
}

body.theme-terrasy .specials-header-note .note-card--specials {
  background: var(--surface-elevated, #FFF);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
}

body.theme-terrasy .note-card--specials .note-card__mark {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--accent-gold, #B89768);
  flex-shrink: 0;
}

body.theme-terrasy .note-card--specials p {
  margin: 0;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.85rem;
  color: var(--ink-soft, #4A443E);
  line-height: 1.55;
}

body.theme-terrasy .specials-filter-bar {
  margin-top: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line, rgba(74, 68, 62, 0.12));
}

body.theme-terrasy .specials-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0;
}

body.theme-terrasy .specials-filter__btn {
  padding: 0.5rem 1.35rem;
  border-radius: var(--radius-pill, 9999px);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  background: var(--surface-elevated, #FFF);
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft, #4A443E);
  cursor: pointer;
  transition: background 0.25s var(--ease-estate, ease), color 0.25s ease, border-color 0.25s ease;
}

body.theme-terrasy .specials-filter__btn:hover {
  border-color: var(--ink, #1F1B18);
  color: var(--ink, #1F1B18);
}

body.theme-terrasy .specials-filter__btn.is-active {
  background: var(--ink, #1F1B18) !important;
  color: #FFFFFF !important;
  border-color: var(--ink, #1F1B18) !important;
}

body.theme-terrasy .specials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  body.theme-terrasy .specials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

body.theme-terrasy .specials-page .special-card {
  background: var(--surface-elevated, #FFFFFF);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: var(--radius, 18px);
  overflow: hidden;
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
  display: flex;
  flex-direction: column;
  height: 100%;
  opacity: 1;
  transform: translateY(0);
  transition:
    transform 0.35s var(--ease-estate, ease),
    box-shadow 0.35s var(--ease-estate, ease),
    opacity 0.3s ease;
}

body.theme-terrasy .specials-page .special-card.is-hiding {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

body.theme-terrasy .specials-page .special-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float, 0 20px 48px -8px rgba(44, 38, 30, 0.12));
}

body.theme-terrasy .special-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg, #F7F4EE);
}

body.theme-terrasy .special-card__media::before,
body.theme-terrasy .special-card__media::after {
  content: none !important;
  display: none !important;
}

body.theme-terrasy .special-card__media picture,
body.theme-terrasy .special-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.theme-terrasy .special-card__media img {
  transition: transform 0.75s var(--ease-estate, ease);
}

body.theme-terrasy .specials-page .special-card:hover .special-card__media img {
  transform: scale(1.035);
}

body.theme-terrasy .specials-page .special-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: auto;
  z-index: 2;
  max-width: calc(100% - 2rem);
  background: rgba(31, 27, 24, 0.72) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #FAF7F2 !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  line-height: 1.2;
  white-space: nowrap;
}

body.theme-terrasy .specials-page .special-badge--gold {
  background: rgba(184, 151, 104, 0.88) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.35);
}

body.theme-terrasy .special-card__body {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

body.theme-terrasy .special-dates {
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold, #B89768);
  margin-bottom: 0.5rem;
}

body.theme-terrasy .special-card__body h2 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.85rem;
  color: var(--ink, #1F1B18);
}

body.theme-terrasy .special-desc {
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft, #4A443E);
  margin: 0 0 1.25rem;
  flex: 1 1 auto;
}

body.theme-terrasy .special-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  margin-bottom: 1.25rem;
  min-height: 2rem;
}

body.theme-terrasy .special-tags span {
  background: var(--bg, #F7F4EE);
  color: var(--ink-soft, #4A443E);
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.76rem;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
}

body.theme-terrasy .special-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line, rgba(74, 68, 62, 0.12));
}

@media (max-width: 520px) {
  body.theme-terrasy .special-card__body {
    padding: 1.35rem 1.25rem 1.5rem;
  }
  body.theme-terrasy .special-actions {
    flex-direction: column;
    align-items: stretch;
  }
  body.theme-terrasy .special-actions .btn-primary-gold {
    width: 100%;
  }
}
/* --- Booking portal terminal (v259) --- */
body.theme-terrasy .booking-portal {
  padding-top: 1.5rem;
  padding-bottom: clamp(3.5rem, 8vw, 5.5rem);
}

body.theme-terrasy .booking-portal__head {
  max-width: 46rem;
  margin-bottom: 2.25rem;
}

body.theme-terrasy .booking-portal__head .kicker {
  margin: 0;
}

body.theme-terrasy .booking-portal__head h1 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink, #1F1B18);
  margin: 0.45rem 0 1rem;
}

body.theme-terrasy .booking-portal__head .lead {
  margin: 0;
  color: var(--ink-soft, #4A443E);
  font-size: 1.05rem;
  line-height: 1.65;
}

body.theme-terrasy .booking-portal__lens {
  position: relative;
  z-index: 8;
  overflow: visible;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: var(--radius, 18px);
  box-shadow: 0 12px 36px -4px rgba(31, 27, 24, 0.08);
  padding: 1.35rem 1.75rem;
  margin-bottom: 3.5rem;
}

body.theme-terrasy .booking-engine-bar {
  display: grid;
  grid-template-columns: minmax(16.5rem, 2.2fr) 1fr 1fr 0.8fr minmax(11.5rem, 1.35fr);
  gap: 1rem 1.2rem;
  align-items: end; /* controls + submit share one baseline under labels */
}

body.theme-terrasy .booking-field--submit {
  justify-content: flex-end;
}

@media (max-width: 990px) {
  body.theme-terrasy .booking-engine-bar {
    grid-template-columns: 1fr 1fr;
  }
  body.theme-terrasy .booking-field--hotel,
  body.theme-terrasy .booking-field--submit {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  body.theme-terrasy .booking-engine-bar {
    grid-template-columns: 1fr;
  }
}

body.theme-terrasy .booking-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

body.theme-terrasy .booking-field label,
body.theme-terrasy .booking-field__label {
  display: block;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted, #877E75);
  line-height: 1.2;
  margin: 0;
}

body.theme-terrasy .booking-field__label--spacer {
  display: none; /* end-aligned grid replaces spacer */
}

/* Custom hotel menu — same language as guests */
body.theme-terrasy .booking-field--hotel {
  z-index: 7;
  min-width: 0;
}

body.theme-terrasy .booking-field--hotel:has(.booking-hotel.is-open) {
  z-index: 32;
}

body.theme-terrasy .booking-hotel {
  position: relative;
  z-index: 5;
}

body.theme-terrasy .booking-hotel__btn {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  text-align: left;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink, #1F1B18);
  background: rgba(255, 255, 255, 0.95)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%878775' d='M7 10l5 5 5-5H7z'/></svg>")
    right 0.7rem center / 14px no-repeat;
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: 8px;
  cursor: pointer;
  box-sizing: border-box;
}

body.theme-terrasy .booking-hotel__value {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

body.theme-terrasy .booking-hotel.is-open .booking-hotel__btn,
body.theme-terrasy .booking-hotel__btn:focus {
  border-color: var(--accent-gold, #B89768);
  box-shadow: 0 0 0 3px rgba(184, 151, 104, 0.15);
  outline: none;
}

body.theme-terrasy .booking-hotel__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 100%;
  width: max(100%, 26rem);
  max-width: min(34rem, calc(100vw - 2rem));
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: #FFFCFA;
  border: 1px solid rgba(184, 151, 104, 0.28);
  border-radius: 10px;
  box-shadow: 0 18px 40px -10px rgba(31, 27, 24, 0.18);
  z-index: 40;
}

body.theme-terrasy .booking-hotel__menu[hidden] {
  display: none !important;
}

body.theme-terrasy .booking-hotel__menu li {
  padding: 0.7rem 0.9rem;
  border-radius: 7px;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink, #1F1B18);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

body.theme-terrasy .booking-hotel__menu li:hover,
body.theme-terrasy .booking-hotel__menu li:focus {
  background: rgba(184, 151, 104, 0.12);
  outline: none;
}

body.theme-terrasy .booking-hotel__menu li[aria-selected="true"] {
  background: rgba(184, 151, 104, 0.2);
  color: var(--ink, #1F1B18);
  font-weight: 650;
  box-shadow: inset 2px 0 0 var(--accent-gold, #B89768);
}

/* Reliable date shell: visible face; native input visually hidden, opened via showPicker */
body.theme-terrasy .booking-date {
  position: relative;
  display: block;
  min-height: 2.75rem;
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-sizing: border-box;
  cursor: pointer;
}

body.theme-terrasy .booking-date:focus-within {
  border-color: var(--accent-gold, #B89768);
  box-shadow: 0 0 0 3px rgba(184, 151, 104, 0.15);
}

body.theme-terrasy .booking-date__face {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.55rem 2.4rem 0.55rem 0.75rem;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted, #877E75);
  pointer-events: none;
  user-select: none;
  box-sizing: border-box;
}

body.theme-terrasy .booking-date.is-filled .booking-date__face {
  color: var(--ink, #1F1B18);
}

body.theme-terrasy .booking-date__face::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  opacity: 0.45;
  background: var(--muted, #877E75);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M7 2h2v2h6V2h2v2h3v18H4V4h3V2zm12 8H5v10h14V10zM6 6v2h12V6H6z'/></svg>") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M7 2h2v2h6V2h2v2h3v18H4V4h3V2zm12 8H5v10h14V10zM6 6v2h12V6H6z'/></svg>") center / contain no-repeat;
}

body.theme-terrasy .booking-date__input {
  /* Same reliable hit-target pattern as global .date-shell */
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  opacity: 0 !important;
  cursor: pointer !important;
  background: transparent !important;
  box-shadow: none !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  font-size: 16px !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  pointer-events: auto !important;
}

body.theme-terrasy .booking-date__input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  opacity: 0;
  cursor: pointer;
}

body.theme-terrasy .booking-date__input::-webkit-datetime-edit,
body.theme-terrasy .booking-date__input::-webkit-datetime-edit-fields-wrapper,
body.theme-terrasy .booking-date__input::-webkit-datetime-edit-text,
body.theme-terrasy .booking-date__input::-webkit-datetime-edit-month-field,
body.theme-terrasy .booking-date__input::-webkit-datetime-edit-day-field,
body.theme-terrasy .booking-date__input::-webkit-datetime-edit-year-field {
  display: none !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  visibility: hidden !important;
}

/* Custom guests menu — no native OS popup */
body.theme-terrasy .booking-field--guests {
  z-index: 6;
}

body.theme-terrasy .booking-field--guests:has(.booking-guests.is-open) {
  z-index: 30;
}

body.theme-terrasy .booking-guests {
  position: relative;
  z-index: 5;
}

body.theme-terrasy .booking-guests__btn {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  text-align: left;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink, #1F1B18);
  background: rgba(255, 255, 255, 0.95)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%878775' d='M7 10l5 5 5-5H7z'/></svg>")
    right 0.7rem center / 14px no-repeat;
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: 8px;
  cursor: pointer;
  box-sizing: border-box;
}

body.theme-terrasy .booking-guests.is-open .booking-guests__btn,
body.theme-terrasy .booking-guests__btn:focus {
  border-color: var(--accent-gold, #B89768);
  box-shadow: 0 0 0 3px rgba(184, 151, 104, 0.15);
  outline: none;
}

body.theme-terrasy .booking-guests__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  min-width: 100%;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: #FFFCFA;
  border: 1px solid rgba(184, 151, 104, 0.28);
  border-radius: 10px;
  box-shadow: 0 18px 40px -10px rgba(31, 27, 24, 0.18);
  z-index: 40;
}

body.theme-terrasy .booking-guests__menu[hidden] {
  display: none !important;
}

body.theme-terrasy .booking-guests__menu li {
  padding: 0.7rem 0.9rem;
  border-radius: 7px;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink, #1F1B18);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

body.theme-terrasy .booking-guests__menu li:hover,
body.theme-terrasy .booking-guests__menu li:focus {
  background: rgba(184, 151, 104, 0.12);
  outline: none;
}

body.theme-terrasy .booking-guests__menu li[aria-selected="true"] {
  background: rgba(184, 151, 104, 0.2);
  color: var(--ink, #1F1B18);
  font-weight: 650;
  box-shadow: inset 2px 0 0 var(--accent-gold, #B89768);
}

body.theme-terrasy .btn-book-submit {
  background: var(--accent-gold, #B89768);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill, 9999px);
  padding: 0 1rem;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0.4rem;
  cursor: pointer;
  transition: background 0.3s var(--ease-estate, ease), transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(184, 151, 104, 0.3);
  width: 100%;
  height: 2.75rem; /* same row as hotel / date / guests */
  min-height: 2.75rem;
  box-sizing: border-box;
}

body.theme-terrasy .btn-book-submit:hover {
  background: var(--accent-gold-hover, #9E7D4E);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 151, 104, 0.45);
  color: #fff;
}

body.theme-terrasy .booking-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
  body.theme-terrasy .booking-content-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

body.theme-terrasy .booking-guarantees .sub-title,
body.theme-terrasy .booking-locations .sub-title {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.5vw, 2rem);
  margin: 0 0 1.75rem;
  color: var(--ink, #1F1B18);
}

body.theme-terrasy .guarantees-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 1.5rem;
}

@media (max-width: 600px) {
  body.theme-terrasy .guarantees-grid {
    grid-template-columns: 1fr;
  }
}

body.theme-terrasy .guarantee-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

body.theme-terrasy .guarantee-mark {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--accent-gold, #B89768);
  flex-shrink: 0;
}

body.theme-terrasy .guarantee-item h3 {
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--ink, #1F1B18);
}

body.theme-terrasy .guarantee-item p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-soft, #4A443E);
  margin: 0;
}

body.theme-terrasy .booking-concierge-card {
  background: var(--surface-elevated, #FFFFFF);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: var(--radius, 18px);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
}

body.theme-terrasy .booking-concierge-card .kicker {
  margin: 0;
}

body.theme-terrasy .booking-concierge-card h2 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: 1.8rem;
  margin: 0.3rem 0 0.8rem;
  color: var(--ink, #1F1B18);
}

body.theme-terrasy .concierge-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-soft, #4A443E);
  margin: 0 0 1.5rem;
}

body.theme-terrasy .concierge-phones {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}

body.theme-terrasy .concierge-phone {
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink, #1F1B18);
  text-decoration: none;
  transition: color 0.2s ease;
}

body.theme-terrasy .concierge-phone:hover {
  color: var(--accent-gold, #B89768);
}

body.theme-terrasy .concierge-hours {
  font-size: 0.75rem;
  color: var(--muted, #877E75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 1.5rem;
}

body.theme-terrasy .concierge-chat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

body.theme-terrasy .chat-btn {
  flex: 1 1 8rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-pill, 9999px);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: var(--ink, #1F1B18);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

body.theme-terrasy .chat-btn:hover {
  background: var(--ink, #1F1B18);
  color: #FFF;
  border-color: var(--ink, #1F1B18);
}

body.theme-terrasy .booking-locations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  body.theme-terrasy .booking-locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  body.theme-terrasy .booking-locations-grid {
    grid-template-columns: 1fr;
  }
}

body.theme-terrasy .booking-loc {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-elevated, #FFF);
  padding: 0;
  cursor: pointer;
  transition: transform 0.3s var(--ease-estate, ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

body.theme-terrasy .booking-loc:hover,
body.theme-terrasy .booking-loc.is-active {
  transform: translateY(-3px);
  box-shadow: var(--shadow-float, 0 20px 48px -8px rgba(44, 38, 30, 0.12));
  border-color: color-mix(in srgb, var(--accent-gold, #B89768) 45%, var(--line, rgba(74, 68, 62, 0.12)));
}

body.theme-terrasy .booking-loc img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body.theme-terrasy .booking-loc__name {
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--ink, #1F1B18);
  padding: 0.75rem 0.85rem 0.15rem;
}

body.theme-terrasy .booking-loc__sub {
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.72rem;
  color: var(--muted, #877E75);
  padding: 0 0.85rem 0.9rem;
}

/* —— Compare rooms gallery (/sravnenie/) —— */
body.theme-terrasy .compare-portal {
  padding-bottom: 2rem;
}

body.theme-terrasy .compare-portal .page-head {
  padding-top: 0.5rem;
  margin-bottom: 0;
}

body.theme-terrasy .compare-portal .page-head h1 {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.02em;
  color: var(--ink, #1F1B18);
  margin: 0.35rem 0 0.75rem;
}

body.theme-terrasy .compare-portal .page-head .lead {
  max-width: 42rem;
  color: var(--ink-soft, #4A443E);
  font-size: 1.05rem;
  line-height: 1.65;
}


body.theme-terrasy .compare-filter__btn {
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-pill, 9999px);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  background: var(--surface-elevated, #FFF);
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft, #4A443E);
  cursor: pointer;
  transition: background 0.25s var(--ease-estate, ease), color 0.25s ease, border-color 0.25s ease;
}

body.theme-terrasy .compare-filter__btn:hover {
  border-color: var(--ink, #1F1B18);
  color: var(--ink, #1F1B18);
}

body.theme-terrasy .compare-filter__btn.is-active {
  background: var(--ink, #1F1B18) !important;
  color: #FFFFFF !important;
  border-color: var(--ink, #1F1B18) !important;
}

body.theme-terrasy .compare-filters {
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line, rgba(74, 68, 62, 0.12));
}

body.theme-terrasy .compare-filter-group__label {
  margin: 0 0 0.7rem;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted, #877E75);
}

body.theme-terrasy .compare-filter--locations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

body.theme-terrasy .compare-filter__count::before {
  content: "(";
}

body.theme-terrasy .compare-filter__count::after {
  content: ")";
}

body.theme-terrasy .compare-filter--categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  gap: 0.65rem;
}

body.theme-terrasy .compare-cat-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.55rem;
  min-height: 4.25rem;
  padding: 0.85rem 1rem;
  text-align: left;
  border-radius: 12px;
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  background: var(--surface-elevated, #FFF);
  font-family: var(--font-sans, Manrope, sans-serif);
  color: var(--ink-soft, #4A443E);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

body.theme-terrasy .compare-cat-tile:hover {
  border-color: rgba(184, 151, 104, 0.55);
  color: var(--ink, #1F1B18);
}

body.theme-terrasy .compare-cat-tile.is-active {
  background: rgba(184, 151, 104, 0.14);
  border-color: var(--accent-gold, #B89768);
  color: var(--ink, #1F1B18);
  box-shadow: inset 0 0 0 1px rgba(184, 151, 104, 0.25);
}

body.theme-terrasy .compare-cat-tile__name {
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.25;
}

body.theme-terrasy .compare-cat-tile__count {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted, #877E75);
}

body.theme-terrasy .compare-cat-tile.is-active .compare-cat-tile__count {
  color: var(--accent-gold-hover, #9E7D4E);
}

@media (max-width: 560px) {
  body.theme-terrasy .compare-filter--categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.theme-terrasy .compare-table-wrap {
  background: var(--surface-elevated, #FFFFFF);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: var(--radius, 18px);
  overflow-x: auto;
  box-shadow: 0 12px 36px -4px rgba(31, 27, 24, 0.08);
  margin-bottom: 5rem;
  -webkit-overflow-scrolling: touch;
}

body.theme-terrasy .compare-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  text-align: left;
  font-family: var(--font-sans, Manrope, sans-serif);
}

body.theme-terrasy .compare-table th {
  background: var(--bg, #F7F4EE);
  padding: 1.1rem 1.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted, #877E75);
  border-bottom: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 1;
}

body.theme-terrasy .compare-table td {
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  vertical-align: middle;
  font-size: 0.9rem;
  color: var(--ink-soft, #4A443E);
}

body.theme-terrasy .compare-table tbody tr:last-child td {
  border-bottom: none;
}

body.theme-terrasy .compare-table tbody tr:hover {
  background: rgba(247, 244, 238, 0.55);
}

body.theme-terrasy .room-cell {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  min-width: 16rem;
}

body.theme-terrasy .room-thumb-wrap {
  flex-shrink: 0;
  display: block;
  width: 90px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(31, 27, 24, 0.1);
}

body.theme-terrasy .room-thumb {
  width: 90px;
  height: 60px;
  object-fit: cover;
  display: block;
}

body.theme-terrasy .room-name {
  display: block;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink, #1F1B18);
  margin-bottom: 0.2rem;
  line-height: 1.25;
}

body.theme-terrasy .room-link {
  font-size: 0.75rem;
  color: var(--accent-gold, #B89768);
  text-decoration: none;
  font-weight: 600;
}

body.theme-terrasy .room-link:hover {
  text-decoration: underline;
}

body.theme-terrasy .hotel-pill {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--bg, #F7F4EE);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink, #1F1B18);
  white-space: nowrap;
}

body.theme-terrasy .hotel-pill--gold {
  background: rgba(184, 151, 104, 0.12);
  border-color: rgba(184, 151, 104, 0.35);
  color: var(--accent-gold-hover, #9E7D4E);
}

body.theme-terrasy .spec-number {
  font-weight: 700;
  color: var(--ink, #1F1B18);
  white-space: nowrap;
}

body.theme-terrasy .td-features {
  max-width: 18rem;
  line-height: 1.5;
}

body.theme-terrasy .btn-compare-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.2rem;
  min-height: 2.4rem;
  background: var(--accent-gold, #B89768);
  color: #FFF !important;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

body.theme-terrasy .btn-compare-book:hover {
  background: var(--accent-gold-hover, #9E7D4E);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(184, 151, 104, 0.35);
  color: #FFF !important;
}

@media (max-width: 720px) {
  body.theme-terrasy .compare-table {
    min-width: 720px;
  }
  body.theme-terrasy .room-name {
    font-size: 1.05rem;
  }
}

/* --- Loyalty page (/loyalnost/): physical club cards + privilege matrix --- */
body.theme-terrasy .loyalty-page {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

body.theme-terrasy .loyalty-head {
  max-width: 800px;
  margin-bottom: 3.5rem;
}

body.theme-terrasy .loyalty-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  line-height: 1.1;
  color: var(--ink);
  margin: 0.5rem 0 1rem;
}

body.theme-terrasy .loyalty-head .lead {
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

body.theme-terrasy .loyalty-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4.5rem;
}

@media (max-width: 960px) {
  body.theme-terrasy .loyalty-cards-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }
}

/* Physical loyalty cards — scoped to page so homepage .band-loyal stays intact */
body.theme-terrasy .loyalty-page .tier-card {
  aspect-ratio: 1.58 / 1;
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 0;
  box-shadow: 0 16px 32px -8px rgba(31, 27, 24, 0.12);
  transition: transform 0.4s var(--ease-estate), box-shadow 0.4s var(--ease-estate);
}

body.theme-terrasy .loyalty-page .tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -10px rgba(31, 27, 24, 0.2);
}

body.theme-terrasy .loyalty-page .tier-card::after {
  content: "LAVICON";
  position: absolute;
  right: 0.9rem;
  bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  opacity: 0.07;
  pointer-events: none;
  z-index: 1;
}

body.theme-terrasy .loyalty-page .tier-card__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  z-index: 2;
}

body.theme-terrasy .loyalty-page .tier-card--white {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 242, 235, 0.88) 55%, rgba(236, 230, 220, 0.95) 100%),
    linear-gradient(135deg, #FFFFFF 0%, #F5F2EB 100%);
  border: 1px solid rgba(220, 215, 205, 0.85);
  color: var(--ink);
  box-shadow:
    0 16px 32px -8px rgba(31, 27, 24, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

body.theme-terrasy .loyalty-page .tier-card--silver {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.55) 0%, transparent 42%, rgba(255, 255, 255, 0.2) 100%),
    linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 50%, #DEE2E6 100%);
  border: 1px solid rgba(173, 181, 189, 0.55);
  color: #212529;
  box-shadow:
    0 16px 32px -8px rgba(31, 27, 24, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

body.theme-terrasy .loyalty-page .tier-card--gold {
  background: linear-gradient(135deg, #2A241E 0%, #1A1613 100%);
  border: 1px solid rgba(184, 151, 104, 0.5);
  color: #FAF6F0;
}

body.theme-terrasy .loyalty-page .tier-card--gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(184, 151, 104, 0.28), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

body.theme-terrasy .loyalty-page .tier-card--gold::after {
  opacity: 0.12;
  color: #B89768;
}

body.theme-terrasy .loyalty-page .tier-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.theme-terrasy .loyalty-page .tier-chip {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

body.theme-terrasy .loyalty-page .tier-chip--gold {
  color: var(--accent-gold);
  opacity: 1;
}

body.theme-terrasy .loyalty-page .tier-logo-monogram {
  font-size: 1.1rem;
  color: var(--accent-gold);
}

body.theme-terrasy .loyalty-page .tier-card__center {
  margin: auto 0;
}

body.theme-terrasy .loyalty-page .tier-discount {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  line-height: 0.95;
  font-weight: 400;
}

body.theme-terrasy .loyalty-page .tier-card--gold .tier-discount {
  color: #F3EBDD;
}

body.theme-terrasy .loyalty-page .tier-level {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
}

body.theme-terrasy .loyalty-page .tier-card__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

body.theme-terrasy .loyalty-page .tier-req {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

body.theme-terrasy .loyalty-page .tier-amount {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
}

body.theme-terrasy .loyalty-table-section {
  margin-bottom: 4rem;
}

body.theme-terrasy .loyalty-table-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  margin: 0 0 1.5rem;
  color: var(--ink);
  font-weight: 400;
}

body.theme-terrasy .loyalty-table-wrap {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius, 18px);
  overflow: auto;
  box-shadow: var(--shadow-ambient);
}

body.theme-terrasy .loyalty-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  text-align: left;
}

body.theme-terrasy .loyalty-table th {
  background: var(--bg);
  padding: 1.25rem 1.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

body.theme-terrasy .loyalty-table th.th-tier--gold {
  color: var(--accent-gold-hover);
}

body.theme-terrasy .loyalty-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
  vertical-align: top;
}

body.theme-terrasy .loyalty-table tbody tr:last-child td {
  border-bottom: none;
}

body.theme-terrasy .loyalty-table .gold-text {
  color: var(--accent-gold-hover);
  font-weight: 600;
}

body.theme-terrasy .loyalty-table .check-mark {
  color: var(--accent-gold-hover);
  font-weight: 600;
}

body.theme-terrasy .loyalty-table .dash {
  color: var(--muted);
  opacity: 0.5;
}

body.theme-terrasy .loyalty-rules-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

@media (max-width: 800px) {
  body.theme-terrasy .loyalty-rules-grid {
    grid-template-columns: 1fr;
  }
}

body.theme-terrasy .loyalty-rules-card,
body.theme-terrasy .loyalty-cta-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius, 18px);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-ambient);
}

body.theme-terrasy .loyalty-rules-card h3,
body.theme-terrasy .loyalty-cta-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin: 0 0 1rem;
  color: var(--ink);
}

body.theme-terrasy .loyalty-rules-card ul {
  padding-left: 1.25rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

body.theme-terrasy .loyalty-rules-card li {
  margin-bottom: 0.6rem;
}

body.theme-terrasy .loyalty-rules-card li:last-child {
  margin-bottom: 0;
}

body.theme-terrasy .loyalty-cta-card > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

body.theme-terrasy .loyalty-phone {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 1rem 0 1.25rem !important;
}

body.theme-terrasy .loyalty-phone a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.25s ease;
}

body.theme-terrasy .loyalty-phone a:hover {
  color: var(--accent-gold);
}

body.theme-terrasy .loyalty-page .btn-primary-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent-gold, #B89768);
  color: #FFF !important;
  border: 0;
  border-radius: var(--radius-pill, 9999px);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s var(--ease-estate), transform 0.3s var(--ease-estate), box-shadow 0.3s var(--ease-estate);
}

body.theme-terrasy .loyalty-page .btn-primary-gold:hover {
  background: var(--accent-gold-hover, #9E7D4E);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(184, 151, 104, 0.35);
  color: #FFF !important;
}

/* --- News page (/novosti/): magazine chronicle grid --- */
body.theme-terrasy .news-page {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

body.theme-terrasy .news-page .page-head {
  max-width: 48rem;
  margin-bottom: 0;
}

body.theme-terrasy .news-page .page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  font-weight: 400;
  color: var(--ink);
  margin: 0.5rem 0 1rem;
}

body.theme-terrasy .news-page .page-head .lead {
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

body.theme-terrasy .news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  max-width: none;
}

body.theme-terrasy .news-filter__btn {
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-pill, 9999px);
  border: 1px solid var(--line);
  background: var(--surface-elevated, #FFF);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.25s var(--ease-estate), color 0.25s var(--ease-estate), background 0.25s var(--ease-estate);
}

body.theme-terrasy .news-filter__btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

body.theme-terrasy .news-filter__btn.is-active {
  background: var(--ink) !important;
  color: #FFFFFF !important;
  border-color: var(--ink) !important;
}

body.theme-terrasy .news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
}

@media (max-width: 860px) {
  body.theme-terrasy .news-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

body.theme-terrasy .news-card {
  background: var(--surface-elevated, #FFFFFF);
  border: 1px solid var(--line);
  border-radius: var(--radius, 18px);
  overflow: hidden;
  box-shadow: var(--shadow-ambient);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-estate), box-shadow 0.35s var(--ease-estate), opacity 0.28s ease;
}

body.theme-terrasy .news-card.is-hiding {
  opacity: 0;
  transform: translateY(6px);
}

body.theme-terrasy .news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

body.theme-terrasy .news-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: stretch;
}

@media (max-width: 900px) {
  body.theme-terrasy .news-card--featured {
    grid-template-columns: 1fr;
  }
}

body.theme-terrasy .news-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #E8E2D8;
}

body.theme-terrasy .news-card--featured .news-card__media {
  aspect-ratio: auto;
  min-height: 16rem;
  height: 100%;
}

body.theme-terrasy .news-card__media picture,
body.theme-terrasy .news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.theme-terrasy .news-card__media img {
  transition: transform 0.75s var(--ease-estate);
}

body.theme-terrasy .news-card:hover .news-card__media img {
  transform: scale(1.035);
}

body.theme-terrasy .news-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(31, 27, 24, 0.72);
  backdrop-filter: blur(10px);
  color: #FAF7F2;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill, 9999px);
  z-index: 2;
}

body.theme-terrasy .news-badge--gold {
  background: rgba(184, 151, 104, 0.9);
  color: #FFFFFF;
}

body.theme-terrasy .news-card__body {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

body.theme-terrasy .news-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

body.theme-terrasy .news-meta .meta-dot {
  color: var(--accent-gold);
}

body.theme-terrasy .news-card__body h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.8rem;
  color: var(--ink);
}

body.theme-terrasy .news-card--featured .news-card__body h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
}

body.theme-terrasy .news-text {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

body.theme-terrasy .news-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

/* --- Contacts page (/kontakty/): concierge hub + location cards --- */
body.theme-terrasy .contacts-portal {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

body.theme-terrasy .contacts-portal .page-head {
  max-width: 48rem;
  margin-bottom: 3rem;
}

body.theme-terrasy .contacts-portal .page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  font-weight: 400;
  color: var(--ink);
  margin: 0.5rem 0 1rem;
}

body.theme-terrasy .contacts-portal .page-head .lead {
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

body.theme-terrasy .contacts-hub-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.25fr;
  gap: 3rem;
  align-items: stretch;
  margin-bottom: 5rem;
}

@media (max-width: 960px) {
  body.theme-terrasy .contacts-hub-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

body.theme-terrasy .contacts-main-card {
  background: var(--surface-elevated, #FFFFFF);
  border: 1px solid var(--line);
  border-radius: var(--radius, 18px);
  padding: 2.5rem;
  box-shadow: var(--shadow-ambient);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.theme-terrasy .hub-kicker {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 0.5rem;
}

body.theme-terrasy .hub-phones {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

body.theme-terrasy .hub-phone-primary {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.1;
}

body.theme-terrasy .hub-phone-secondary {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}

body.theme-terrasy .hub-phone-primary:hover,
body.theme-terrasy .hub-phone-secondary:hover {
  color: var(--accent-gold);
}

body.theme-terrasy .hub-desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  line-height: 1.5;
}

body.theme-terrasy .hub-messengers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

body.theme-terrasy .hub-btn-chat {
  flex: 1 1 6rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-pill, 9999px);
  border: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

body.theme-terrasy .hub-btn-chat:hover {
  background: var(--ink);
  color: #FFF;
  border-color: var(--ink);
}

body.theme-terrasy .hub-btn-chat--tg {
  background: rgba(36, 161, 222, 0.08);
  border-color: rgba(36, 161, 222, 0.25);
  color: #179cde;
}

body.theme-terrasy .hub-btn-chat--wa {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.25);
  color: #128c7e;
}

body.theme-terrasy .hub-dept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}

@media (max-width: 520px) {
  body.theme-terrasy .hub-dept-grid {
    grid-template-columns: 1fr;
  }
}

body.theme-terrasy .dept-title {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

body.theme-terrasy .dept-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  word-break: break-word;
}

body.theme-terrasy .dept-link:hover {
  color: var(--accent-gold);
}

body.theme-terrasy .hub-legal p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}

body.theme-terrasy .contacts-map-panel {
  background: var(--surface-elevated, #FFF);
  border: 1px solid var(--line);
  border-radius: var(--radius, 18px);
  overflow: hidden;
  box-shadow: var(--shadow-ambient);
  display: flex;
  min-height: 460px;
}

body.theme-terrasy .coast-map--hub {
  width: 100%;
  margin: 0;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.theme-terrasy .coast-map--hub .coast-map__frame,
body.theme-terrasy .coast-map--hub .coast-map__canvas {
  --coast-h: 460px;
  height: 100%;
  min-height: 460px;
  border-radius: 0;
}

body.theme-terrasy .contacts-locations-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 400;
  margin: 0 0 2.5rem;
  color: var(--ink);
}

body.theme-terrasy .contacts-locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

@media (max-width: 1100px) {
  body.theme-terrasy .contacts-locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  body.theme-terrasy .contacts-locations-grid {
    grid-template-columns: 1fr;
  }
}

body.theme-terrasy .loc-card {
  background: var(--surface-elevated, #FFF);
  border: 1px solid var(--line);
  border-radius: var(--radius, 18px);
  overflow: hidden;
  box-shadow: var(--shadow-ambient);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-estate), box-shadow 0.3s var(--ease-estate);
}

body.theme-terrasy .loc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

body.theme-terrasy .loc-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #E8E2D8;
}

body.theme-terrasy .loc-card__media picture,
body.theme-terrasy .loc-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.theme-terrasy .loc-card__media img {
  transition: transform 0.6s var(--ease-estate);
}

body.theme-terrasy .loc-card:hover .loc-card__media img {
  transform: scale(1.04);
}

body.theme-terrasy .loc-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(31, 27, 24, 0.75);
  backdrop-filter: blur(8px);
  color: #FAF7F2;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  z-index: 2;
}

body.theme-terrasy .loc-badge--gold {
  background: rgba(184, 151, 104, 0.9);
  color: #FFF;
}

body.theme-terrasy .loc-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

body.theme-terrasy .loc-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 0.35rem;
  color: var(--ink);
}

body.theme-terrasy .loc-addr {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0 0 0.75rem;
  min-height: 2.4em;
}

body.theme-terrasy .loc-phone {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 1.25rem;
  display: inline-block;
}

body.theme-terrasy .loc-phone:hover {
  color: var(--accent-gold);
}

body.theme-terrasy .loc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

body.theme-terrasy .btn-loc-map {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

body.theme-terrasy .btn-loc-map:hover {
  color: var(--ink);
}

body.theme-terrasy .btn-loc-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-decoration: none;
}

body.theme-terrasy .btn-loc-link:hover {
  color: var(--accent-gold-hover);
  text-decoration: underline;
}

/* Fregat object card — hero is the largest frame on the page */
body.theme-terrasy .hotel-page--fregat [id] {
  scroll-margin-top: 9.5rem;
}

body.theme-terrasy .hotel-page--fregat .hotel-hero-copy {
  max-width: 46rem;
}

body.theme-terrasy .hotel-page--fregat .hotel-hero-copy--after {
  max-width: none;
  margin: 1.25rem 0 1.5rem;
}

body.theme-terrasy .hotel-hero-frame {
  position: relative;
  margin: 0 0 0.85rem;
  border-radius: var(--radius, 18px);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  box-shadow:
    0 28px 64px -24px rgba(44, 38, 30, 0.38),
    0 10px 24px -12px rgba(44, 38, 30, 0.16);
}

body.theme-terrasy .hotel-hero-frame img,
body.theme-terrasy .hotel-hero-sides img,
body.theme-terrasy .fregat-split img,
body.theme-terrasy .hotel-page--fregat .room-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.63s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-terrasy .hotel-hero-frame:hover img,
body.theme-terrasy .hotel-hero-sides figure:hover img,
body.theme-terrasy .fregat-split figure:hover img,
body.theme-terrasy .hotel-page--fregat .room-card:hover .room-photo img {
  transform: scale(1.035);
}

body.theme-terrasy .hotel-hero-frame__cap {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.5rem 0.9rem;
  max-width: min(32rem, calc(100% - 2rem));
  color: #f7f1e8;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  background: rgba(31, 27, 24, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

body.theme-terrasy .hotel-hero-sides {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.85rem;
  margin-bottom: 4rem;
}

body.theme-terrasy .hotel-hero-sides figure,
body.theme-terrasy .fregat-split figure {
  margin: 0;
  border-radius: var(--radius, 18px);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
}

body.theme-terrasy .hotel-page--fregat .hotel-video-section .video-frame {
  max-width: min(40rem, 72%);
  max-height: 22rem;
}

body.theme-terrasy .hotel-page--fregat .hotel-hero-sides figure,
body.theme-terrasy .hotel-page--fregat .fregat-split figure {
  max-height: 20rem;
}

body.theme-terrasy .hotel-page--fregat .room-photo {
  max-height: 15rem;
}

body.theme-terrasy .fregat-split--flip {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

body.theme-terrasy .fregat-split--flip figure {
  order: 2;
}

body.theme-terrasy .fregat-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin: 0 0 4rem;
}

body.theme-terrasy .fregat-split h2,
body.theme-terrasy .fregat-block > h2,
body.theme-terrasy .fregat-block .section-head h2 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0.35rem 0 0.85rem;
}

body.theme-terrasy .fregat-prose {
  margin: 0 0 0.9rem;
  color: var(--ink-soft, #4A443E);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 38rem;
}

body.theme-terrasy .hotel-page--fregat .amenities-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.theme-terrasy .fregat-block {
  margin-bottom: 4rem;
}

body.theme-terrasy .fregat-kit {
  margin: 1.25rem 0 0;
  max-width: 46rem;
  color: var(--muted, #877E75);
  line-height: 1.55;
}

body.theme-terrasy .room-photo--mark {
  display: flex;
  align-items: flex-end;
  padding: 1.2rem 1.25rem;
  background:
    linear-gradient(165deg, rgba(184, 151, 104, 0.2), transparent 58%),
    #f3eee6;
}

body.theme-terrasy .room-photo__num {
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 2.6rem;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink, #1F1B18);
}

body.theme-terrasy .room-photo__num span {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold, #B89768);
}

body.theme-terrasy .fregat-offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

body.theme-terrasy .fregat-offer {
  background: var(--surface-elevated, #fff);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: var(--radius, 18px);
  padding: 1.2rem 1.15rem 1.3rem;
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
}

body.theme-terrasy .fregat-offer h3 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 0.4rem;
}

body.theme-terrasy .fregat-offer p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft, #4A443E);
}

body.theme-terrasy .fregat-voice {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.15rem;
}

body.theme-terrasy .fregat-voice article {
  background: var(--surface-elevated, #fff);
  border: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  border-radius: var(--radius, 18px);
  padding: 1.4rem 1.3rem 1.5rem;
  box-shadow: var(--shadow-ambient, 0 4px 20px -2px rgba(44, 38, 30, 0.05));
}

body.theme-terrasy .fregat-voice h3 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 1.55rem;
  font-weight: 400;
  margin: 0.2rem 0 1rem;
}

body.theme-terrasy .fregat-voice ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

body.theme-terrasy .fregat-voice li {
  padding-left: 0.85rem;
  border-left: 2px solid rgba(184, 151, 104, 0.75);
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft, #4A443E);
}

body.theme-terrasy .faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: var(--gap);
}
body.theme-terrasy .faq-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
body.theme-terrasy .fregat-faq details {
  border-bottom: 1px solid var(--line, rgba(74, 68, 62, 0.12));
  padding: 0.85rem 0;
}
@media (max-width: 767px) {
  body.theme-terrasy .faq-grid {
    grid-template-columns: 1fr;
  }
}

body.theme-terrasy .fregat-faq summary {
  cursor: pointer;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-weight: 600;
  color: var(--ink, #1F1B18);
}

body.theme-terrasy .fregat-faq details p {
  margin: 0.55rem 0 0.15rem;
  max-width: 42rem;
  color: var(--ink-soft, #4A443E);
  line-height: 1.55;
}

body.theme-terrasy .fregat-nearby {
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  body.theme-terrasy .hotel-hero-sides,
  body.theme-terrasy .fregat-split,
  body.theme-terrasy .fregat-voice,
  body.theme-terrasy .fregat-offers,
  body.theme-terrasy .hotel-page--fregat .amenities-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  body.theme-terrasy .hotel-page--fregat .hotel-hero-frame {
    aspect-ratio: 4 / 5;
  }

  body.theme-terrasy .hotel-page--fregat .hotel-hero-sides figure,
  body.theme-terrasy .hotel-page--fregat .fregat-split figure,
  body.theme-terrasy .hotel-page--fregat .room-photo,
  body.theme-terrasy .hotel-page--fregat .hotel-video-section .video-frame {
    max-height: 13.5rem;
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }

  body.theme-terrasy .fregat-split--flip figure {
    order: 0;
  }
}

/* Gordon villa — estate zones, not a hotel room grid */
body.theme-terrasy .hotel-page--gordon .mosaic-main img {
  object-position: center 58%;
}

body.theme-terrasy .hotel-page--gordon .villa-anchors {
  margin: 0 0 4rem;
}

body.theme-terrasy .hotel-page--gordon .villa-anchors__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.theme-terrasy .interiors-estate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  margin-top: 2.5rem;
}

body.theme-terrasy .estate-zone-card {
  background: var(--surface-elevated, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius, 18px);
  overflow: hidden;
  box-shadow: var(--shadow-ambient);
  display: flex;
  flex-direction: column;
  transition: transform 0.63s var(--ease-estate), box-shadow 0.63s var(--ease-estate);
}

body.theme-terrasy .estate-zone-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

body.theme-terrasy .estate-zone-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

body.theme-terrasy .estate-zone-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.63s var(--ease-estate);
}

body.theme-terrasy .estate-zone-card:hover .estate-zone-card__media img {
  transform: scale(1.035);
}

body.theme-terrasy .estate-zone-card__body {
  padding: 1.75rem 2rem 1.9rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

body.theme-terrasy .zone-tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  margin-bottom: 0.4rem;
  display: block;
}

body.theme-terrasy .estate-zone-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

body.theme-terrasy .estate-zone-card__body p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}

body.theme-terrasy .zone-specs {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

body.theme-terrasy .zone-specs li {
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  border: 1px solid var(--line);
}

body.theme-terrasy .estate-scenarios-band {
  padding: 4.5rem 0;
  background: var(--surface, #FAF8F5);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

body.theme-terrasy .estate-scenarios-band h2,
body.theme-terrasy .estate-history-copy h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0.35rem 0 0.75rem;
}

body.theme-terrasy .estate-scenarios-band .lead,
body.theme-terrasy .estate-history-copy .lead,
body.theme-terrasy .estate-history-copy p {
  max-width: 40rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

body.theme-terrasy .scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

body.theme-terrasy .scenario-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: var(--shadow-ambient);
}

body.theme-terrasy .scenario-icon {
  color: var(--accent-gold);
  font-size: 1.2rem;
}

body.theme-terrasy .scenario-item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0.6rem 0;
  color: var(--ink);
}

body.theme-terrasy .scenario-item p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

body.theme-terrasy .estate-history-band {
  padding: 4rem 0;
}

body.theme-terrasy .estate-history-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}

body.theme-terrasy .estate-history-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--accent-gold-hover);
  border-left: 2px solid var(--accent-gold);
  padding-left: 1.5rem;
  margin: 0;
}

body.theme-terrasy .hotel-page--gordon .hotel-video-section .video-frame {
  max-width: min(40rem, 100%);
  margin-inline: auto;
}

body.theme-terrasy .hotel-page--gordon .villa-faq {
  margin-top: 1rem;
}

body.theme-terrasy #interiors,
body.theme-terrasy #scenarios,
body.theme-terrasy #history,
body.theme-terrasy #film,
body.theme-terrasy #reach,
body.theme-terrasy #faq {
  scroll-margin-top: 9.5rem;
}

@media (max-width: 1024px) {
  body.theme-terrasy .hotel-page--gordon .villa-anchors__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.theme-terrasy .hotel-page--gordon .villa-anchors__grid,
  body.theme-terrasy .scenarios-grid,
  body.theme-terrasy .estate-history-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 860px) {
  body.theme-terrasy .interiors-estate-grid {
    grid-template-columns: 1fr;
  }
}

body.theme-terrasy #about,
body.theme-terrasy #rooms,
body.theme-terrasy #services,
body.theme-terrasy #offers,
body.theme-terrasy #location,
body.theme-terrasy #reach {
  scroll-margin-top: 9.5rem;
}

/* Gordon — «Золотой квадрат» rings */
body.theme-terrasy .gordon-location-band {
  padding: 4.5rem 0;
  background: var(--surface, #FAF8F5);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

body.theme-terrasy .gordon-location-band h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0.35rem 0 0.75rem;
  color: var(--ink);
}

body.theme-terrasy .gordon-location-band .lead {
  max-width: 42rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

body.theme-terrasy .location-rings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  body.theme-terrasy .location-rings-grid {
    grid-template-columns: 1fr;
  }
}

body.theme-terrasy .loc-ring-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius, 18px);
  padding: 2rem;
  box-shadow: var(--shadow-ambient);
  display: flex;
  flex-direction: column;
}

body.theme-terrasy .ring-time {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  line-height: 1;
}

body.theme-terrasy .loc-ring-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 1rem;
  color: var(--ink);
}

body.theme-terrasy .ring-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

body.theme-terrasy .ring-list li {
  position: relative;
  padding-left: 1.2rem;
}

body.theme-terrasy .ring-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  font-weight: 900;
  color: var(--accent-gold);
}

body.theme-terrasy .villa-times {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  margin: 1.1rem 0 0.85rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

body.theme-terrasy .villa-times .fact-val {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--ink);
  line-height: 1;
}

body.theme-terrasy .villa-times .fact-lbl {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-right: 0.6rem;
}

body.theme-terrasy .villa-guarantee {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}

body.theme-terrasy .villa-concierge-grid {
  margin-top: 1.5rem;
}


/* Fregat rebuild v311 */
body.theme-terrasy .hotel-page--fregat .villa-anchors {
  margin: 0 0 3.5rem;
}
body.theme-terrasy .hotel-page--fregat .villa-anchors__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1024px) {
  body.theme-terrasy .hotel-page--fregat .villa-anchors__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  body.theme-terrasy .hotel-page--fregat .villa-anchors__grid {
    grid-template-columns: 1fr;
  }
}
body.theme-terrasy .hotel-trust-badge {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  width: fit-content;
}
body.theme-terrasy a.hotel-trust-badge:hover .fine {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
body.theme-terrasy .hotel-trust-badge img {
  opacity: 0.9;
  height: 40px;
  width: auto;
}
body.theme-terrasy .hotel-trust-badge .fine {
  color: var(--ink-soft, #7a7670);
  font-size: 0.82rem;
  line-height: 1.35;
}
body.theme-terrasy .fregat-concierge-tips .fregat-voice__tips {
  background: var(--surface, #FAF8F5);
  border-color: rgba(184, 151, 104, 0.35);
}
body.theme-terrasy .fregat-tip-quote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--accent-gold-hover, #9a7a4a);
  border-left: 2px solid var(--accent-gold);
  padding-left: 1rem;
  margin: 0 0 1.1rem;
}

body.theme-terrasy .special-card--wide {
  grid-column: 1 / -1;
}

@media (min-width: 901px) {
  body.theme-terrasy .special-card--wide {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
  }

  body.theme-terrasy .special-card--wide .special-photo {
    aspect-ratio: auto;
    height: 100%;
    min-height: 18rem;
  }

  body.theme-terrasy .special-card--wide .special-body {
    justify-content: center;
  }
}

/* Hotel template lightbox — one overlay for every hotel object page. */
body.theme-terrasy .hotel-page img {
  cursor: zoom-in;
}

body.theme-terrasy .hotel-trust-badge img {
  cursor: pointer;
}

body.hotel-lightbox-open {
  overflow: hidden;
}

body.hotel-lightbox-open .cookie,
body.hotel-lightbox-open .mascot-dock,
body.hotel-lightbox-open .chrome-sticky-toggle {
  visibility: hidden;
}

body.theme-terrasy .hotel-lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 4.5rem 4.75rem 3.5rem;
  background: rgba(22, 18, 14, 0.94);
  color: #f7f1e8;
}

body.theme-terrasy .hotel-lightbox[hidden] {
  display: none;
}

body.theme-terrasy .hotel-lightbox__stage {
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

body.theme-terrasy .hotel-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  cursor: default;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

body.theme-terrasy .hotel-lightbox__cap,
body.theme-terrasy .hotel-lightbox__count {
  margin: 0;
  max-width: 42rem;
  text-align: center;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.82rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

body.theme-terrasy .hotel-lightbox__cap[hidden] {
  display: none;
}

body.theme-terrasy .hotel-lightbox__close,
body.theme-terrasy .hotel-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 241, 232, 0.35);
  background: rgba(31, 27, 24, 0.55);
  color: #f7f1e8;
  cursor: pointer;
  line-height: 1;
}

body.theme-terrasy .hotel-lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  font-size: 1.7rem;
}

body.theme-terrasy .hotel-lightbox__nav {
  top: 50%;
  width: 3rem;
  height: 3.5rem;
  margin-top: -1.75rem;
  border-radius: 999px;
  font-size: 2.2rem;
}

body.theme-terrasy .hotel-lightbox__nav[hidden] {
  display: none;
}

body.theme-terrasy .hotel-lightbox__nav--prev {
  left: 0.85rem;
}

body.theme-terrasy .hotel-lightbox__nav--next {
  right: 0.85rem;
}

body.theme-terrasy .hotel-lightbox__close:hover,
body.theme-terrasy .hotel-lightbox__nav:hover,
body.theme-terrasy .hotel-lightbox__close:focus-visible,
body.theme-terrasy .hotel-lightbox__nav:focus-visible {
  background: rgba(184, 151, 104, 0.85);
  color: #1f1b18;
  outline: none;
}

@media (max-width: 700px) {
  body.theme-terrasy .hotel-lightbox {
    padding: 4.25rem 0.75rem 4.5rem;
  }

  body.theme-terrasy .hotel-lightbox__nav--prev {
    left: 0.4rem;
  }

  body.theme-terrasy .hotel-lightbox__nav--next {
    right: 0.4rem;
  }

  body.theme-terrasy .hotel-lightbox__img {
    max-height: calc(100vh - 10rem);
  }
}

/* Hotels mega menu — lavicon-3 estate palette */
body.theme-terrasy .nav .collect-menu.collect-menu--mega {
  width: min(640px, calc(100vw - 2rem));
  min-width: 0;
  max-width: min(640px, calc(100vw - 2rem));
  max-height: min(80vh, 36rem);
  padding: 1.15rem 1.15rem 1rem;
  background: var(--card);
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line));
  border-radius: 16px;
  box-shadow: var(--shadow-float);
  display: none;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

body.theme-terrasy .nav .collect[open] > .collect-menu.collect-menu--mega,
body.theme-terrasy .nav .collect:hover > .collect-menu.collect-menu--mega,
body.theme-terrasy .nav .collect:focus-within > .collect-menu.collect-menu--mega {
  display: grid;
}

body.theme-terrasy .nav .collect-menu--mega .mega-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

body.theme-terrasy .nav .collect-menu--mega a.mega-catalog {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  border-radius: 0;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

body.theme-terrasy .nav .collect-menu--mega a.mega-catalog:hover {
  background: transparent;
  color: var(--ink);
}

body.theme-terrasy .nav .collect-menu--mega .mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

body.theme-terrasy .nav .collect-menu--mega a.mega-card {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.45rem;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--ink);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  line-height: 1.25;
}

body.theme-terrasy .nav .collect-menu--mega a.mega-card:hover,
body.theme-terrasy .nav .collect-menu--mega a.mega-card[aria-current="page"] {
  background: color-mix(in srgb, var(--accent) 12%, var(--card));
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--ink);
}

body.theme-terrasy .nav .collect-menu--mega a.mega-card img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  flex: none;
}

body.theme-terrasy .nav .collect-menu--mega .mega-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  text-align: left;
}

body.theme-terrasy .nav .collect-menu--mega .mega-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

body.theme-terrasy .nav .collect-menu--mega .mega-card__name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.theme-terrasy .nav .collect-menu--mega a.mega-card:hover .mega-card__name,
body.theme-terrasy .nav .collect-menu--mega a.mega-card[aria-current="page"] .mega-card__name {
  color: var(--accent-hover);
}

body.theme-terrasy .nav .collect-menu--mega .mega-card__stars {
  flex: none;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

body.theme-terrasy .nav .collect-menu--mega .mega-card__city,
body.theme-terrasy .nav .collect-menu--mega .mega-card__badge {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.theme-terrasy .nav .collect-menu--mega .mega-card__city {
  margin-top: 0.1rem;
  font-size: 0.7rem;
  color: var(--muted);
}

body.theme-terrasy .nav .collect-menu--mega .mega-card__badge {
  margin-top: 0.15rem;
  font-size: 0.65rem;
  color: var(--accent);
}

@media (max-width: 860px) {
  html body.theme-terrasy nav.nav-drawer .collect-menu.collect-menu--mega {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    background: var(--card) !important;
    box-shadow: none;
    padding: 0.75rem !important;
    max-height: none;
  }

  html body.theme-terrasy nav.nav-drawer .collect-menu--mega .mega-grid {
    grid-template-columns: 1fr;
  }

  html body.theme-terrasy nav.nav-drawer .collect-menu--mega .mega-head {
    flex-wrap: wrap;
  }

  html body.theme-terrasy nav.nav-drawer .collect-menu--mega a.mega-card,
  html body.theme-terrasy nav.nav-drawer .collect-menu--mega a.mega-catalog {
    width: auto !important;
    min-height: 0 !important;
    border-bottom: 0 !important;
    color: var(--ink) !important;
    padding: 0.4rem !important;
  }

  html body.theme-terrasy nav.nav-drawer .collect-menu--mega a.mega-catalog {
    padding: 0 !important;
    color: var(--accent) !important;
  }
}
