/*
 * Crotiria theme CSS (production-optimized).
 *
 * NOTE:
 * - This file is intentionally a single bundle (no @import) to avoid a CSS waterfall
 *   and improve Core Web Vitals / PageSpeed.
 * - Source CSS files remain in `assets/css/` for editing convenience.
 */

/* ===== crotiria-variables.css ===== */
:root {
  /* ===== Colors ===== */
  /* Palette (from design system) */
  --crotiria-color-bg: #f4f0ec;
  --crotiria-color-surface: #ffffff;
  --crotiria-color-primary: #28516f;
  --crotiria-color-primary-2: #213646;
  --crotiria-color-accent: #cd9a5a;
  --crotiria-color-accent-2: #d0a166;
  --crotiria-color-text: #000000;
  --crotiria-color-muted: #8f8f8f;
  --crotiria-color-border: #e7ded2;
  --crotiria-color-sky: #abb8c2;

  /* ===== Typography ===== */
  --crotiria-font-base: "TT Fors", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  --crotiria-font-heading: "Arsenica", ui-serif, Georgia, "Times New Roman", Times, serif;
  --crotiria-font-decor: "Arsenica", ui-serif, Georgia, "Times New Roman", Times, serif;
  --crotiria-font-display: "Ivy Mode", ui-serif, Georgia, "Times New Roman", Times, serif;

  /* ===== Sizes / Spacing ===== */
  --crotiria-container-max: 1320px;
  --crotiria-radius-sm: 10px;
  --crotiria-radius-md: 16px;
  --crotiria-radius-lg: 20px;
  --crotiria-radius-pill: 999px;

  --crotiria-space-1: 0.25rem;
  --crotiria-space-2: 0.5rem;
  --crotiria-space-3: 0.75rem;
  --crotiria-space-4: 1rem;
  --crotiria-space-5: 1.5rem;
  --crotiria-space-6: 2rem;
  --crotiria-space-7: 3rem;
  --crotiria-space-8: 4rem;
  --crotiria-space-9: 5rem;
  --crotiria-space-10: 6rem;
  --crotiria-space-11: 7rem;
  --crotiria-space-12: 8rem;

  /* Component sizing */
  --crotiria-footer-logo-part-height: 72px;
  --crotiria-duration-lazy-animate: 420ms;

  /* Amenities page: card background (distinct from surface, per Figma) */
  --crotiria-amenities-card-bg: #f8f6f3;
  /* Section heading: warm brown/beige and border (Figma) */
  --crotiria-amenities-heading-color: #b08b5b;

  /* ===== Effects ===== */
  --crotiria-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --crotiria-shadow-md: 0 12px 30px rgba(0, 0, 0, 0.16);

  /* ===== Gradients / overlays ===== */
  --crotiria-hero-overlay: linear-gradient(180deg, rgba(40, 81, 111, 0) 12%, rgba(40, 81, 111, 0.96) 100%);
  --crotiria-split-overlay: linear-gradient(270deg, rgba(40, 81, 111, 0) 12%, rgba(40, 81, 111, 0.92) 62%, rgba(40, 81, 111, 0.98) 100%);

  /* ===== Assets (centralized) =====
     * If you replace assets, prefer updating these variables rather than scattering paths.
     */
  --crotiria-asset-hero-bg: url("../images/content/hero-bg.jpeg");
  --crotiria-asset-split-bg: url("../images/content/split-bg.png");
  --crotiria-asset-testimonials-decor: url("../images/figma/testimonials-decor.svg");
  --crotiria-asset-phone-icon: url("../images/ui/icon-phone.png");
  --crotiria-asset-lang-arrow-icon: url("../images/ui/icon-lang-arrow.png");
  --crotiria-asset-chevron-left-icon: url("../images/ui/icon-chevron-left.png");
  --crotiria-asset-icon-calendar: url("../images/ui/icons8-calendar-100.png");
  --crotiria-asset-icon-people: url("../images/ui/icons8-group-90.png");
  --crotiria-asset-search-icon: url("../images/ui/booking-search-btn.svg");

  /* ===== Bootstrap theme variables (use Bootstrap classes; avoid custom button classes) ===== */
  --bs-body-bg: var(--crotiria-color-bg);
  --bs-body-color: var(--crotiria-color-text);
  --bs-body-color-rgb: 0, 0, 0;
  --bs-emphasis-color: var(--crotiria-color-text);
  --bs-emphasis-color-rgb: 0, 0, 0;
  --bs-secondary-color: var(--crotiria-color-muted);
  --bs-secondary-color-rgb: 143, 143, 143;
  --bs-tertiary-color: var(--crotiria-color-sky);
  --bs-tertiary-color-rgb: 171, 184, 194;
  --bs-body-font-family: var(--crotiria-font-base);

  /* Theme colors */
  --bs-primary: var(--crotiria-color-primary);
  --bs-primary-rgb: 40, 81, 111;
  --bs-secondary: var(--crotiria-color-accent);
  --bs-secondary-rgb: 205, 154, 90;
  --bs-success: var(--crotiria-color-primary-2);
  --bs-success-rgb: 33, 54, 70;
  --bs-info: var(--crotiria-color-sky);
  --bs-info-rgb: 171, 184, 194;
  --bs-warning: var(--crotiria-color-accent-2);
  --bs-warning-rgb: 208, 161, 102;
  --bs-danger: var(--crotiria-color-accent);
  --bs-danger-rgb: 205, 154, 90;
  --bs-light: var(--crotiria-color-bg);
  --bs-light-rgb: 244, 240, 236;
  --bs-dark: var(--crotiria-color-text);
  --bs-dark-rgb: 0, 0, 0;

  --bs-border-color: var(--crotiria-color-border);
  --bs-border-color-rgb: 231, 222, 210;
  --bs-border-color-translucent: rgba(231, 222, 210, 0.7);
  --bs-border-radius: 29px;
  --bs-border-radius-sm: 10px;
  --bs-border-radius-lg: 29px;

  /* Links */
  --bs-link-color: var(--crotiria-color-primary);
  --bs-link-color-rgb: 40, 81, 111;
  --bs-link-hover-color: var(--crotiria-color-primary-2);
  --bs-link-hover-color-rgb: 33, 54, 70;

  /* Buttons */
  --bs-btn-padding-x: 24px;
  --bs-btn-padding-y: 16px;
  --bs-btn-font-size: 14px;
  --bs-btn-font-weight: 600;
  --bs-btn-border-width: 3px;
  --bs-btn-border-radius: 29px;

  /* Form controls (used in booking pill) */
  --bs-form-control-padding-x: 0px;
  --bs-form-control-padding-y: 0px;
  --bs-form-control-border-width: 0px;
  --bs-form-control-bg: transparent;
  --bs-form-control-color: var(--crotiria-color-text);
  --bs-form-select-bg: transparent;
  --bs-form-select-border-width: 0px;
}

/* Dark mode (browser preference) */
@media (prefers-color-scheme: dark) {
  :root {
    --crotiria-color-bg: #0f1820;
    --crotiria-color-surface: #141f28;
    --crotiria-color-text: #f4f0ec;
    --crotiria-color-muted: rgba(244, 240, 236, 0.64);
    --crotiria-color-border: rgba(244, 240, 236, 0.18);
    --crotiria-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
    --crotiria-shadow-md: 0 18px 40px rgba(0, 0, 0, 0.45);
    --crotiria-amenities-card-bg: #1a2530;
    --crotiria-amenities-heading-color: var(--crotiria-color-accent);
  }
}

/* Dark mode (explicit override) */
[data-theme="dark"] {
  --crotiria-color-bg: #0f1820;
  --crotiria-color-surface: #141f28;
  --crotiria-color-text: #f4f0ec;
  --crotiria-color-muted: rgba(244, 240, 236, 0.64);
  --crotiria-color-border: rgba(244, 240, 236, 0.18);
  --crotiria-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --crotiria-shadow-md: 0 18px 40px rgba(0, 0, 0, 0.45);
  --crotiria-amenities-card-bg: #1a2530;
  --crotiria-amenities-heading-color: var(--crotiria-color-accent);
}

/* Fonts
   *
   * - Arsenica Trial (hero + headings)
   * - TT Fors (UI/body; incl. italic)
   * - Ivy Mode (stat numbers)
   *
   */

@font-face {
  font-family: "TT Fors";
  src: url("../fonts/tt-fors-trial-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Fors";
  src: url("../fonts/tt-fors-trial-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Fors";
  src: url("../fonts/tt-fors-trial-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Fors";
  src: url("../fonts/tt-fors-trial-demibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Arsenica Trial (only the weights we actually use) */
@font-face {
  font-family: "Arsenica";
  src: url("../fonts/ArsenicaTrial-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arsenica";
  src: url("../fonts/ArsenicaTrial-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arsenica";
  src: url("../fonts/ArsenicaTrial-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ivy Mode";
  src: url("../fonts/IvyMode-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ivy Mode";
  src: url("../fonts/IvyMode-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Base styles: typography, body, links, focus, reduced motion */

html {
  height: 100%;
  overflow-x: hidden;
}

body.crotiria-body {
  min-height: 100%;
  background: var(--crotiria-color-bg);
  color: var(--crotiria-color-text);
  font-family: var(--crotiria-font-base);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* Mask icon (currentColor-driven); markup provides `--crotiria-icon-mask` via class modifiers. */
.crotiria-icon {
  display: inline-block;
  width: var(--crotiria-icon-size, 1.5rem);
  height: var(--crotiria-icon-size, 1.5rem);
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask-image: var(--crotiria-icon-mask);
  mask-image: var(--crotiria-icon-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.crotiria-icon--phone {
  --crotiria-icon-mask: var(--crotiria-asset-phone-icon);
}

.crotiria-icon--lang-arrow {
  --crotiria-icon-mask: var(--crotiria-asset-lang-arrow-icon);
}

.crotiria-icon--chevron {
  --crotiria-icon-mask: var(--crotiria-asset-chevron-left-icon);
}

.crotiria-icon--calendar {
  --crotiria-icon-mask: var(--crotiria-asset-icon-calendar);
}

.crotiria-icon--people {
  --crotiria-icon-mask: var(--crotiria-asset-icon-people);
}

.crotiria-icon--dir-down {
  transform: rotate(270deg);
  transform-origin: center;
}

.crotiria-icon--dir-left {
  transform: rotate(0deg);
  transform-origin: center;
}

.crotiria-icon--dir-right {
  transform: rotate(180deg);
  transform-origin: center;
}

.crotiria-icon--dir-up {
  transform: rotate(90deg);
  transform-origin: center;
}

/* Lazy images: IntersectionObserver-driven fade-in (CodePen approach).
   *
   * Progressive:
   * - Without JS, `.crotiria-js` is not present, so images render normally.
   * - With JS, we swap `src` -> `data-img` and load on visibility.
   */
.crotiria-js img.lazyImage {
  opacity: 0;
}

.crotiria-js img.lazyImage.visible {
  animation: crotiriaFadeIn var(--crotiria-duration-lazy-animate) ease forwards;
}

@keyframes crotiriaFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Appear animations (animate.css):
   * - Animation classes live in the HTML.
   * - JS only flips `data-appear-done="true"` when elements enter the viewport.
   */
.crotiria-js [data-crotiria-appear] {
  opacity: 0;
  visibility: hidden;
}

.crotiria-js [data-crotiria-appear]:not([data-appear-done="true"]) {
  -webkit-animation-name: none !important;
  animation-name: none !important;
}

.crotiria-js [data-crotiria-appear][data-appear-done="true"] {
  opacity: 1;
  visibility: visible;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: currentColor;
}

.crotiria-skip-link {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  z-index: 9999;
  background: var(--crotiria-color-surface);
  color: var(--crotiria-color-text);
  padding: 0.5rem 0.75rem;
  border-radius: var(--crotiria-radius-sm);
  box-shadow: var(--crotiria-shadow-sm);
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--crotiria-color-accent) 65%, white);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Components (prefixed): header, hero, booking, cards, gallery, footer */

/* ===== Header ===== */
.crotiria-header {
  background: var(--crotiria-color-surface);
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  --crotiria-header-collapse: 0;

  /* Sizing tokens */
  --crotiria-header-bar-height-expanded: 88px;
  --crotiria-header-bar-height-collapsed: 60px;
  /* Default (no JS): expanded height. JS can override to be scroll-synced. */
  --crotiria-header-bar-height: var(--crotiria-header-bar-height-expanded);
  --crotiria-logo-w-expanded: 150px;
  --crotiria-logo-w-collapsed: 125px;
  /* Default (no JS): expanded width. JS can override to be scroll-synced. */
  --crotiria-logo-w: var(--crotiria-logo-w-expanded);
  --crotiria-logo-h-expanded: 160px;
  --crotiria-logo-h-collapsed: var(--crotiria-header-bar-height);
  --crotiria-logo-pad-x: 1rem;
  --crotiria-logo-pad-y-expanded: 1.125rem;
  --crotiria-logo-pad-y-collapsed: 0.625rem;
  --crotiria-logo-part1-shift-max: 18px;
}

.crotiria-header__inner {
  height: var(--crotiria-header-bar-height);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--crotiria-space-4);
  padding-inline: 1rem;
}

.crotiria-header__left,
.crotiria-header__right {
  align-self: center;
  min-width: 0;
}

.crotiria-header__left {
  justify-content: flex-start;
}

.crotiria-header__right {
  justify-content: flex-end;
}

.crotiria-divider {
  width: 1px;
  height: 38px;
  background: color-mix(in srgb, var(--crotiria-color-text) 22%, transparent);
}

.crotiria-logo {
  border-radius: var(--crotiria-radius-lg);
  background: var(--crotiria-color-surface);
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: var(--crotiria-logo-w);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  text-decoration: none;
  color: inherit;

  --_c: var(--crotiria-header-collapse, 0);
  height: calc(var(--crotiria-logo-h-expanded) - (var(--crotiria-logo-h-expanded) - var(--crotiria-logo-h-collapsed)) * var(--_c));
  padding-inline: var(--crotiria-logo-pad-x);
  padding-block: calc(var(--crotiria-logo-pad-y-expanded) - (var(--crotiria-logo-pad-y-expanded) - var(--crotiria-logo-pad-y-collapsed)) * var(--_c));
  z-index: 2;
}

.crotiria-logo__part {
  display: block;
  height: auto;
  max-width: 100%;
  will-change: transform, opacity;
}

.crotiria-logo__part--1 {
  max-width: 45%;
  transform: translateY(calc(var(--crotiria-logo-part1-shift-max) * var(--_c)));
}

.crotiria-logo__part--3 {
  max-width: 75%;
}

.crotiria-logo__part--2,
.crotiria-logo__part--3 {
  opacity: calc(1 - var(--_c));
  transform: translateY(calc(-14px * var(--_c)));
  transform-origin: top center;
}

.crotiria-phone {
  text-decoration: none;
  transition: color 160ms ease;
}

.crotiria-header a:not(.btn):is(:hover, :focus-visible) {
  color: var(--crotiria-color-primary);
}

.crotiria-phone__icon-img {
  width: 24px;
  height: 24px;
  display: block;
}

.crotiria-phone__icon {
  width: 24px;
  height: 24px;
  display: block;
}

.crotiria-phone__text {
  font-size: 16px;
  line-height: 1.2;
}

.crotiria-lang {
  color: var(--crotiria-color-text);
  text-decoration: none;
  padding: 0;
  font-size: 16px;
}

.crotiria-header :is(.crotiria-hamburger, .crotiria-lang):is(:hover, :focus-visible) {
  color: var(--crotiria-color-primary);
}

.crotiria-lang__icon {
  width: 12px;
  height: 24px;
  display: block;
  transform: rotate(90deg);
  transition: transform 180ms ease;
  transform-origin: center;
}

.crotiria-lang.is-open .crotiria-lang__icon {
  transform: rotate(270deg);
}

/* Language dropdown: prevent hover overflow */
.dropdown-menu {
  overflow: hidden;
  border-radius: var(--crotiria-radius-md);
}

/* ===== Hamburger (animated -> X) ===== */
.crotiria-hamburger {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  background: transparent;
  padding: 0.25rem 0;
  color: var(--crotiria-color-text);
}

.crotiria-hamburger__lines {
  width: 19px;
  height: 18px;
  position: relative;
  display: inline-block;
}

.crotiria-hamburger__lines::before,
.crotiria-hamburger__lines::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: color-mix(in srgb, currentColor 65%, transparent);
  transition: transform 200ms ease, top 200ms ease, opacity 200ms ease;
}

.crotiria-hamburger__lines::before {
  top: 4px;
}

.crotiria-hamburger__lines::after {
  top: 12px;
}

.crotiria-hamburger__label {
  font-size: 16px;
  color: color-mix(in srgb, currentColor 75%, transparent);
}

.crotiria-hamburger[aria-expanded="true"] .crotiria-hamburger__lines::before {
  top: 8px;
  transform: rotate(45deg);
}

.crotiria-hamburger[aria-expanded="true"] .crotiria-hamburger__lines::after {
  top: 8px;
  transform: rotate(-45deg);
}

/* ===== Mobile nav ===== */
.crotiria-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1020;
  /* below sticky header (1030) so toggle stays clickable */
  background: transparent;
  border-top: 0;
  box-shadow: none;
  overflow: auto;
  --animate-duration: 320ms;
}

/* When menu is open, keep ONLY the toggle visible above it (not the whole header). */
body.crotiria-menu-open .crotiria-header {
  background: transparent;
  box-shadow: none;
}

body.crotiria-menu-open .crotiria-header__inner {
  pointer-events: none;
  /* prevent clicks on hidden header controls */
}

body.crotiria-menu-open .crotiria-hamburger {
  /* Match index behavior: keep the toggle in-flow to prevent horizontal jump. */
  position: relative;
  left: auto;
  top: auto;
  z-index: 2005;
  pointer-events: auto;
}

body.crotiria-menu-open .crotiria-logo,
body.crotiria-menu-open .crotiria-header__right,
body.crotiria-menu-open .crotiria-header__left .dropdown,
body.crotiria-menu-open .crotiria-header__left .crotiria-divider {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.crotiria-js .crotiria-mobile-nav {
  display: none;
}

.crotiria-js .crotiria-mobile-nav.is-open {
  display: block;
}

.crotiria-js .crotiria-mobile-nav.is-closing {
  display: block;
}

/* Lock page scroll when menu is open */
body.crotiria-menu-open {
  overflow: hidden;
  scrollbar-gutter: stable;
}

/* Figma nav layout */
.crotiria-mobile-nav__grid {
  min-height: 100%;
  display: grid;
  grid-template-columns: 1fr;
}

.crotiria-mobile-nav__panel {
  min-height: auto;
}

.crotiria-mobile-nav__panel--left {
  background: var(--crotiria-color-bg);
  color: var(--crotiria-color-text);
}

.crotiria-mobile-nav__panel--right {
  background: var(--crotiria-color-primary);
  color: #fff;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 5rem) 1.25rem;
}

/* Split reveal (CSS-driven; no JS-added animate.css classes). */
.crotiria-mobile-nav__panel--left,
.crotiria-mobile-nav__panel--right {
  transition:
    transform var(--animate-duration) ease,
    opacity var(--animate-duration) ease;
  will-change: transform, opacity;
}

.crotiria-js .crotiria-mobile-nav:not(.is-open) .crotiria-mobile-nav__panel--left {
  transform: translateX(-12%);
  opacity: 0;
}

.crotiria-js .crotiria-mobile-nav:not(.is-open) .crotiria-mobile-nav__panel--right {
  transform: translateX(12%);
  opacity: 0;
}

.crotiria-js .crotiria-mobile-nav.is-open .crotiria-mobile-nav__panel--left,
.crotiria-js .crotiria-mobile-nav.is-open .crotiria-mobile-nav__panel--right {
  transform: translateX(0);
  opacity: 1;
}

.crotiria-js .crotiria-mobile-nav.is-open.is-closing .crotiria-mobile-nav__panel--left {
  transform: translateX(-12%);
  opacity: 0;
}

.crotiria-js .crotiria-mobile-nav.is-open.is-closing .crotiria-mobile-nav__panel--right {
  transform: translateX(12%);
  opacity: 0;
}

.crotiria-mobile-nav__panel-inner {
  padding-top: calc(var(--crotiria-header-bar-height, 88px) + clamp(2.25rem, 6vw, 6.5rem));
  padding-bottom: 2.25rem;
  padding-inline: 1rem;
}

body.crotiria-menu-open .crotiria-mobile-nav__panel-inner {
  /* menu overlay starts at top; reserve space for fixed toggle */
  padding-top: calc(env(safe-area-inset-top, 0px) + 5.25rem);
}

.crotiria-mobile-nav__list {
  display: grid;
  gap: 1.25rem;
}

.crotiria-mobile-nav__link {
  font-family: var(--crotiria-font-base);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.12;
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
}

.crotiria-mobile-nav__link:hover {
  color: var(--crotiria-color-primary);
}

.crotiria-mobile-nav__gift {
  width: 28px;
  height: 28px;
  opacity: 0.85;
}

.crotiria-mobile-nav__footer {
  margin-top: clamp(2.25rem, 6vw, 5.25rem);
}

.crotiria-mobile-nav__social {
  display: inline-flex;
  align-items: center;
  gap: 2.25rem;
}

.crotiria-mobile-nav__social-link {
  font-weight: 300;
  font-size: 1.125rem;
  text-decoration: none;
  color: inherit;
  opacity: 0.55;
  transition: color 160ms ease, opacity 160ms ease;
}

.crotiria-mobile-nav__social-link:hover {
  opacity: 1;
  color: var(--crotiria-color-primary);
}

.crotiria-mobile-nav__social-link.is-active {
  opacity: 1;
  font-weight: 600;
  color: var(--crotiria-color-primary);
}

.crotiria-mobile-nav__phone {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: color 160ms ease;
}

.crotiria-mobile-nav__phone-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.crotiria-mobile-nav__phone-text {
  font-size: 1rem;
  font-weight: 400;
}

@media (max-width: 991.98px) {
  #crotiria-mobile-nav::after {
    content: none;
    opacity: 0 !important;
  }

  .crotiria-js .crotiria-mobile-nav:not(.is-open) .crotiria-mobile-nav__panel--right,
  .crotiria-js .crotiria-mobile-nav.is-open.is-closing .crotiria-mobile-nav__panel--right {
    transform: translateX(-12%);
  }

  .crotiria-mobile-nav__grid,
  .crotiria-mobile-nav__grid-container {
    min-height: auto;
    align-content: start;
  }

  .crotiria-mobile-nav__grid-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .crotiria-mobile-nav__panel {
    min-height: auto;
    min-width: 0;
    max-width: 100%;
  }

  .crotiria-mobile-nav__link {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .crotiria-mobile-nav__footer {
    gap: 1rem;
    padding-right: 0 !important;
    overflow-wrap: anywhere;
  }

  .crotiria-mobile-nav__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem 1rem;
    max-width: 100%;
  }

  .crotiria-mobile-nav__phone {
    margin-left: 0;
    flex: 1 1 100%;
    min-width: 0;
  }
}

/* Also disable the split overlay on coarse-pointer devices (phones),
   * in case layout viewport width reports larger than expected. */
@media (hover: none) and (pointer: coarse) {
  #crotiria-mobile-nav::after {
    content: none;
    opacity: 0 !important;
  }
}

.crotiria-mobile-nav__right-inner {
  text-align: center;
}

.crotiria-mobile-nav__logo {
  width: min(300px, 75vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.crotiria-mobile-nav__logo-part {
  display: block;
  height: auto;
  max-width: 100%;
}

.crotiria-mobile-nav__logo-part--1 {
  max-width: 45%;
}

.crotiria-mobile-nav__logo-part--3 {
  max-width: 75%;
}

.crotiria-mobile-nav__book {
  display: inline-block;
  margin-top: 1.75rem;
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
}

.crotiria-mobile-nav__book:hover {
  color: color-mix(in srgb, #fff 85%, var(--crotiria-color-accent));
}

@media (min-width: 992px) {

  .crotiria-mobile-nav__panel {
    min-height: 100vh;
  }

  .crotiria-mobile-nav__panel-inner {
    padding-top: calc(var(--crotiria-header-bar-height, 88px) + 5.5rem);
    padding-bottom: 5rem;
    padding-inline: 1rem;
  }

  body.crotiria-menu-open .crotiria-mobile-nav__panel-inner {
    padding-top: calc(env(safe-area-inset-top, 0px) + 6.25rem);
  }
}

/* ===== Home page overrides (index.html) ===== */
/* Keep the hamburger in-place on home; only raise stacking above the overlay. */
body:is(.crotiria-page--home, .crotiria-page--about, .crotiria-page--room-details, .crotiria-page--amenities, .crotiria-page--location, .crotiria-page--offers, .crotiria-page--booking).crotiria-menu-open .crotiria-hamburger {
  position: relative;
  left: auto;
  top: auto;
  z-index: 2005;
  pointer-events: auto;
}

/* Avoid the “new container” feel: keep header bar styling while menu is open (home only). */
body:is(.crotiria-page--home, .crotiria-page--about, .crotiria-page--room-details, .crotiria-page--amenities, .crotiria-page--location, .crotiria-page--offers, .crotiria-page--booking).crotiria-menu-open .crotiria-header {
  background: var(--crotiria-color-surface);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--crotiria-color-text) 5%, transparent);
}

body:is(.crotiria-page--home, .crotiria-page--about, .crotiria-page--room-details, .crotiria-page--amenities, .crotiria-page--location, .crotiria-page--offers, .crotiria-page--booking).crotiria-menu-open .crotiria-header__inner {
  pointer-events: auto;
}

/* Align opened menu content to the site's container rhythm. */
.crotiria-mobile-nav__grid-container {
  /* Grid should be full width (so halves center correctly), while content offsets match container padding. */
  max-width: none;
  width: 100%;
  margin-inline: 0;

  --crotiria-menu-offset-x: max(calc(1rem + env(safe-area-inset-left, 0px)),
      calc((100vw - var(--crotiria-container-max)) / 2 + 1rem));

  min-height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  padding-inline: var(--crotiria-menu-offset-x);
}

@media (min-width: 992px) {
  .crotiria-mobile-nav__grid-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* Container provides the horizontal offset; avoid double-padding inside. */
.crotiria-mobile-nav__panel-inner {
  padding-inline: 0;
}

/* Full-bleed backgrounds without breaking container offsets (animated). */
#crotiria-mobile-nav {
  background: transparent;
}

#crotiria-mobile-nav::before,
#crotiria-mobile-nav::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 260ms ease;
}

#crotiria-mobile-nav::before {
  background: var(--crotiria-color-bg);
}

@media (min-width: 992px) {
  #crotiria-mobile-nav::after {
    background: linear-gradient(90deg, transparent 0 50%, var(--crotiria-color-primary) 50% 100%);
  }
}

body.crotiria-menu-open #crotiria-mobile-nav::before,
body.crotiria-menu-open #crotiria-mobile-nav::after {
  opacity: 1;
}

#crotiria-mobile-nav .crotiria-mobile-nav__grid {
  position: relative;
  z-index: 1;
}

/* Panels stay inside container; keep their own backgrounds off on desktop so we see the full-bleed layers. */
@media (min-width: 992px) {
  #crotiria-mobile-nav .crotiria-mobile-nav__panel {
    background: transparent;
  }
}

/* Right panel "Book Now": keep contrast on hover */
.crotiria-mobile-nav__panel--right .crotiria-mobile-nav__book {
  color: var(--crotiria-color-surface);
  text-decoration: none;
  transition: opacity 160ms ease, color 160ms ease;
}

.crotiria-mobile-nav__panel--right .crotiria-mobile-nav__book:hover {
  color: var(--crotiria-color-surface);
  opacity: 0.85;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--crotiria-color-surface) 60%, transparent);
  text-underline-offset: 0.18em;
}

/* Fade header elements in/out on menu open/close (CSS transitions; no JS-added animate.css classes) */
body:is(.crotiria-page--home, .crotiria-page--about, .crotiria-page--room-details, .crotiria-page--amenities, .crotiria-page--location, .crotiria-page--offers, .crotiria-page--booking) .crotiria-menu-fade-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
}

/* Override global “hide immediately” rule while menu is open. We hide via `.crotiria-menu-fade-hidden` instead. */
body:is(.crotiria-page--home, .crotiria-page--about, .crotiria-page--room-details, .crotiria-page--amenities, .crotiria-page--location, .crotiria-page--offers, .crotiria-page--booking).crotiria-menu-open :is(.crotiria-logo, .crotiria-header__right, .crotiria-header__left .dropdown, .crotiria-header__left .crotiria-divider):not(.crotiria-menu-fade-hidden) {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

/* Language dropdown: animate items (avoid conflicts with Popper's transform on the menu container) */
body:is(.crotiria-page--home, .crotiria-page--about, .crotiria-page--room-details, .crotiria-page--amenities, .crotiria-page--location, .crotiria-page--offers, .crotiria-page--booking) .crotiria-header .dropdown-menu li {
  --animate-duration: 220ms;
}

/* Language dropdown: animate the menu container (Popper-safe: avoid `transform` on `.dropdown-menu`) */
body:is(.crotiria-page--home, .crotiria-page--about, .crotiria-page--room-details, .crotiria-page--amenities, .crotiria-page--location, .crotiria-page--offers, .crotiria-page--booking) .crotiria-header .crotiria-lang-menu:not(.show) {
  animation-name: none;
}

body:is(.crotiria-page--home, .crotiria-page--about, .crotiria-page--room-details, .crotiria-page--amenities, .crotiria-page--location, .crotiria-page--offers, .crotiria-page--booking) .crotiria-header .crotiria-lang-menu.animate__fadeInDown {
  animation-name: crotiriaLangMenuFadeInDown;
}

@keyframes crotiriaLangMenuFadeInDown {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

/* ===== Buttons (Bootstrap-driven; customize via CSS variables) ===== */
.btn-primary {
  /* Static: #28516F, Hover: #ABB8C2 */
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--crotiria-color-primary);
  --bs-btn-border-color: var(--crotiria-color-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--crotiria-color-sky);
  --bs-btn-hover-border-color: var(--crotiria-color-sky);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--crotiria-color-primary-2);
  --bs-btn-active-border-color: var(--crotiria-color-primary-2);
}

.btn-secondary {
  /* Static: #CD9A5A, Hover: #D0A166 */
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--crotiria-color-accent);
  --bs-btn-border-color: var(--crotiria-color-accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--crotiria-color-accent-2);
  --bs-btn-hover-border-color: var(--crotiria-color-accent-2);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--crotiria-color-accent-2);
  --bs-btn-active-border-color: var(--crotiria-color-accent-2);
}

.btn-dark {
  /* Static: #000000 */
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--crotiria-color-text);
  --bs-btn-border-color: var(--crotiria-color-text);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--crotiria-color-primary-2);
  --bs-btn-hover-border-color: var(--crotiria-color-primary-2);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--crotiria-color-primary);
  --bs-btn-active-border-color: var(--crotiria-color-primary);
}

.btn-outline-primary {
  /* Outline: #28516F */
  --bs-btn-color: var(--crotiria-color-primary);
  --bs-btn-border-color: var(--crotiria-color-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--crotiria-color-primary);
  --bs-btn-hover-border-color: var(--crotiria-color-primary);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--crotiria-color-primary-2);
  --bs-btn-active-border-color: var(--crotiria-color-primary-2);
}

.btn-crotiria-outline {
  --bs-btn-color: #fff;
  --bs-btn-border-color: var(--crotiria-color-accent-2);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: color-mix(in srgb, var(--crotiria-color-accent-2) 18%, transparent);
  --bs-btn-hover-border-color: var(--crotiria-color-accent-2);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: color-mix(in srgb, var(--crotiria-color-accent-2) 24%, transparent);
  --bs-btn-active-border-color: var(--crotiria-color-accent-2);
}

.btn-crotiria-outline-muted {
  --bs-btn-color: #fff;
  --bs-btn-border-color: color-mix(in srgb, var(--crotiria-color-border) 80%, transparent);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.08);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--crotiria-color-border) 80%, transparent);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: rgba(255, 255, 255, 0.12);
  --bs-btn-active-border-color: color-mix(in srgb, var(--crotiria-color-border) 80%, transparent);
}

/* ===== Hero ===== */
.crotiria-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(1.5rem, 3vw, 2.75rem);
}

.crotiria-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--crotiria-hero-overlay);
  z-index: 1;
}

.crotiria-hero__carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Owl + absolutely-positioned slide content can collapse to 1px.
     Force all inner wrappers to inherit the hero height. */
.crotiria-hero__carousel .owl-stage-outer,
.crotiria-hero__carousel .owl-stage,
.crotiria-hero__carousel .owl-item {
  height: 100%;
}

.crotiria-hero__slide,
.crotiria-hero__slide .container-xxl {
  height: 100%;
}

.crotiria-hero__slide {
  position: relative;
}

.crotiria-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}

.crotiria-hero__content {
  position: relative;
  z-index: 2;
  padding-inline: 1rem;
}

.crotiria-hero__title {
  font-family: var(--crotiria-font-decor);
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 16px rgba(40, 81, 111, 0.7);
  font-size: clamp(2.1rem, 5vw, 4.65rem);
  max-width: 18ch;
  margin: 0 0 1.25rem 0;
}

/* ===== Booking pill ===== */
.crotiria-booking {
  background: var(--crotiria-color-bg);
  --bs-border-radius: 53px;
  border-radius: var(--bs-border-radius);
  box-shadow: var(--crotiria-shadow-sm);
  /* Slightly more top room for better visual centering on mobile. */
  padding: clamp(1rem, 2.8vw, 1.6rem) clamp(0.75rem, 2vw, 1.25rem) clamp(0.75rem, 2vw, 1.25rem);
  max-width: 920px;
  position: relative;
  z-index: 1031;
}

.crotiria-booking .row {
  --bs-gutter-x: clamp(0.75rem, 1.6vw, 1rem);
  --bs-gutter-y: clamp(0.75rem, 1.6vw, 1rem);
}

.crotiria-booking__field {
  position: relative;
  padding-inline: clamp(0.75rem, 1.6vw, 1rem);
  padding-block: 0.4rem;
  border-radius: 42px;
}

.crotiria-booking__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.98rem;
  color: var(--crotiria-color-text);
  margin-bottom: 0.25rem;
}

.crotiria-booking__label-icon {
  --crotiria-icon-size: 22px;
  display: block;
  color: #D0A166;
}

.crotiria-booking__label-img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.crotiria-booking__select-icon {
  position: absolute;
  right: 0.75rem;
  top: 3.05rem;
  width: 10px;
  height: 18px;
  display: block;
  pointer-events: none;
  opacity: 0.9;
}

.crotiria-booking select.crotiria-booking__input {
  appearance: none;
  padding-right: 0;
}

.crotiria-booking__input {
  width: 100%;
  color: color-mix(in srgb, var(--crotiria-color-text) 82%, transparent);
  font-size: 1rem;
  padding: 0.55rem 1rem;
}

/* Date trigger display inputs are always white — they must stand out as interactive fields
   regardless of their container (hero booking form or booking page intro form). */
.crotiria-booking__date-visual {
  background-color: #fff !important;
}

.crotiria-booking :is(.form-control, .form-select):focus {
  box-shadow: none;
}

.crotiria-booking__submit {
  width: 64px;
  height: 64px;
  border-radius: var(--crotiria-radius-pill);
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.crotiria-booking__submit:hover {
  transform: scale(1.06);
  opacity: 0.9;
}

.crotiria-booking__submit-img {
  width: 64px;
  height: 64px;
  display: block;
  max-width: initial;
}

@media (max-width: 991.98px) {
  .crotiria-booking__submit {
    width: 56px;
    height: 56px;
  }

  .crotiria-booking__submit-img {
    width: 56px;
    height: 56px;
  }
}

/* ===== Booking pill — mobile compact layout (Figma) ===== */
@media (max-width: 767.98px) {
  .crotiria-booking {
    --bs-border-radius: 20px;
    border-radius: var(--bs-border-radius);
    padding: 1.1rem 1rem 1rem;
    max-width: 100%;
  }

  /* Switch Bootstrap row to CSS grid: 2 cols, search button spans full width */
  .crotiria-booking .row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0;
    position: relative;
  }

  /* Remove Bootstrap col padding */
  .crotiria-booking .row>[class*="col"] {
    width: 100%;
    max-width: 100%;
    min-width: 0; /* Prevent grid item overflow */
    padding: 0;
    flex: none;
  }

  /* Search button — align with siblings */
  .crotiria-booking .row>[class*="col"]:last-child {
    align-items: center;
    justify-content: center;
    padding-top: 0.6rem;
  }

  /* Vertical divider between Період and Гости */
  .crotiria-booking .row::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    height: calc(100% - 68px);
    width: 1px;
    background: color-mix(in srgb, var(--crotiria-color-text) 12%, transparent);
    z-index: 1;
    pointer-events: none;
  }

  /* No horizontal divider needed with 3-item layout */
  .crotiria-booking .row::after {
    content: none;
  }

  .crotiria-booking__field {
    padding-inline: 0.6rem;
    padding-block: 0.5rem;
    border-radius: 0;
  }

  .crotiria-booking__label {
    font-size: 0.88rem;
    gap: 0.35rem;
    margin-bottom: 0.15rem;
  }

  .crotiria-booking__label-icon {
    --crotiria-icon-size: 22px;
  }

  .crotiria-booking__input {
    font-size: 0.88rem;
    padding: 0.2rem 0.5rem;
    border: 0;
    background: transparent;
  }

  .crotiria-booking :is(.form-control, .form-select) {
    border: 0;
    background: transparent;
    box-shadow: none; 
    height: auto;
    min-height: 0;
  }

  .crotiria-booking__submit {
    width: 52px;
    height: 52px;
  }

  .crotiria-booking__submit-img {
    width: 52px;
    height: 52px;
  }
}

/* ===== Booking page (single-step reservation) ===== */
.crotiria-booking-page {
  background: var(--crotiria-color-bg);
}

.crotiria-booking-page__section {
  padding-top: clamp(7rem, 11vw, 11rem);
  padding-bottom: clamp(5rem, 9vw, 8.5rem);
  min-height: clamp(40rem, 58vh, 56rem);
  position: relative;
  z-index: 1031;
}

.crotiria-booking-page__title {
  margin: 0;
  color: var(--crotiria-color-text);
  font-family: var(--crotiria-font-heading);
  font-size: clamp(2.6rem, 5vw, 4.95rem);
  font-weight: 400;
  line-height: 1.12;
}

.crotiria-booking-page__form {
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  margin-top: clamp(3rem, 7vw, 7.75rem);
  display: grid;
  gap: 2rem;
}

.crotiria-booking-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 1.3rem;
}

.crotiria-booking-page__field {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.crotiria-booking-page__label {
  margin: 0;
  color: var(--crotiria-color-primary-2);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
}

.crotiria-booking-page__control {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 52px;
  padding-inline: 1.5rem;
  border: 1px solid var(--crotiria-color-sky);
  border-radius: 12px;
  background: var(--crotiria-color-surface);
}

.crotiria-booking-page__control .form-control,
.crotiria-booking-page__control .form-select {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--crotiria-color-text);
  font-size: 1.125rem;
  line-height: 1.2;
}

/* Date trigger inputs on the booking page must stay white (readable against the field wrapper bg) */
.crotiria-booking-page__control .crotiria-booking__date-visual {
  background: #fff;
}

.crotiria-booking-page__control .crotiria-icon {
  --crotiria-icon-size: 1.6875rem;
  color: var(--crotiria-color-accent);
}

.crotiria-booking-page__control .form-control:focus,
.crotiria-booking-page__control .form-select:focus {
  box-shadow: none;
  outline: none;
}

.additional-children .child-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.additional-children .child-container .crotiria-booking-page__control {
  flex: 1;
  min-width: 0;
}

.crotiria-booking-page__helper {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--crotiria-color-muted);
  font-size: 1rem;
  line-height: 1.35;
}

.crotiria-booking-page__divider {
  margin: 0;
  border-color: color-mix(in srgb, var(--crotiria-color-text) 14%, transparent);
  opacity: 1;
}

@media (max-width: 767.98px) {
  .crotiria-booking-page .container-xxl {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  .crotiria-booking-page__section {
    padding-top: clamp(5rem, 12vw, 7rem);
    padding-bottom: clamp(4rem, 9vw, 5.5rem);
  }

  .crotiria-booking-page__form {
    margin-top: clamp(2.25rem, 7vw, 3.5rem);
    gap: 1.6rem;
  }

  .crotiria-booking-page__grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
}

/* ===== Sections ===== */
.crotiria-section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.crotiria-section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.crotiria-section__line {
  width: 66px;
  height: 2px;
  background: color-mix(in srgb, var(--crotiria-color-primary) 30%, transparent);
}

.crotiria-section__label {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--crotiria-color-accent);
}

/* ===== About ===== */
.crotiria-about {
  position: relative;
  overflow: hidden;
}

.crotiria-about__decor {
  position: absolute;
  right: -240px;
  top: -40px;
  width: 860px;
  height: auto;
  opacity: 0.6;
  pointer-events: none;
}

.crotiria-about__headline {
  font-size: clamp(1.6rem, 3vw, 2.85rem);
  font-weight: 500;
  color: var(--crotiria-color-primary);
  text-align: center;
  max-width: 54ch;
  margin: 0 auto 2.5rem auto;
}

.crotiria-stat {
  text-align: center;
}

.crotiria-stat__value {
  font-family: var(--crotiria-font-display);
  font-size: clamp(2.4rem, 4vw, 4.1rem);
  color: var(--crotiria-color-accent);
  line-height: 1;
}

.crotiria-stat__value.is-animating {
  font-variant-numeric: tabular-nums;
}

.crotiria-stat__label {
  color: var(--crotiria-color-primary);
  font-weight: 300;
  margin-top: 0.75rem;
  font-size: 1rem;
}

/* ===== Accommodation (index) ===== */
.crotiria-accommodation {
  padding-top: var(--crotiria-space-8);
  padding-bottom: var(--crotiria-space-8);
}

.crotiria-accommodation-block {
  margin-bottom: var(--crotiria-space-8);
}

.crotiria-accommodation-block:last-child {
  margin-bottom: 0;
}

.crotiria-accommodation-block__num {
  display: block;
  font-family: var(--crotiria-font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  color: var(--crotiria-color-accent);
  line-height: 1;
  margin-bottom: var(--crotiria-space-3);
}

.crotiria-accommodation-block__title {
  font-family: var(--crotiria-font-decor);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  color: var(--crotiria-color-text);
  margin: 0 0 var(--crotiria-space-4) 0;
  font-weight: 500;
}

.crotiria-accommodation-block__text {
  color: var(--crotiria-color-text);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 var(--crotiria-space-5) 0;
  max-width: 50ch;
}

.crotiria-accommodation-block__features {
  margin: 0 0 var(--crotiria-space-5) 0;
  font-size: 0.95rem;
  color: var(--crotiria-color-primary);
  font-weight: 500;
}

.crotiria-accommodation-block__feature-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--crotiria-color-primary);
}

.crotiria-accommodation-block__cta {
  margin-top: var(--crotiria-space-3);
}

.crotiria-accommodation-block__media {
  border-radius: var(--crotiria-radius-md);
  overflow: hidden;
  box-shadow: var(--crotiria-shadow-sm);
  background: var(--crotiria-color-surface);
}

.crotiria-accommodation-block__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* CTA section (accommodation page) */
.crotiria-accommodation-cta {
  position: relative;
  padding: var(--crotiria-space-12) var(--crotiria-space-4);
  background: var(--crotiria-color-bg);
  overflow: visible;
}

.crotiria-accommodation-cta .container-xxl {
  text-align: center;
}

.crotiria-accommodation-cta__text {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--crotiria-color-text);
  margin: 0 0 var(--crotiria-space-6) 0;
  max-width: 35ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.crotiria-accommodation-cta__highlight {
  color: var(--crotiria-color-accent);
  font-weight: 600;
}

.crotiria-accommodation-cta__btn {
  margin-top: var(--crotiria-space-2);
}

/* Same leaf decor as ЗА НАС section; positioned under CTA content */
.crotiria-accommodation-cta__decor {
  position: absolute;
  bottom: -80px;
  transform: rotate(180deg);
  width: min(860px, 90vw);
  height: auto;
  opacity: 0.6;
  pointer-events: none;
}

/* ===== Rooms ===== */
.crotiria-rooms__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.crotiria-rooms__kicker {
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--crotiria-color-accent);
  font-size: 1rem;
}

.crotiria-rooms__title {
  font-family: var(--crotiria-font-decor);
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  color: var(--crotiria-color-text);
  margin: 0;
}

.crotiria-rooms__header .crotiria-rooms__kicker {
  margin-top: 0.5rem;
}

.crotiria-rooms__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.crotiria-icon-btn {
  width: 62px;
  height: 62px;
  border-radius: var(--crotiria-radius-pill);
  border: 1px solid color-mix(in srgb, var(--crotiria-color-border) 85%, transparent);
  background: var(--crotiria-color-surface);
  box-shadow: var(--crotiria-shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.crotiria-icon-btn:disabled {
  opacity: 0.5;
}

.crotiria-icon-btn__img {
  width: 62px;
  height: 62px;
  display: block;
}

.crotiria-icon-btn__img--next {
  transform: rotate(180deg);
}

.crotiria-rooms__carousel .owl-stage-outer {
  overflow: hidden;
}

.crotiria-rooms__carousel .owl-item {
  padding-inline: 0.25rem;
}

.crotiria-room-card {
  background: transparent;
}

.crotiria-room-card__img {
  width: 100%;
  aspect-ratio: 378 / 409;
  object-fit: cover;
  border-radius: var(--crotiria-radius-sm);
  box-shadow: var(--crotiria-shadow-sm);
  background: var(--crotiria-color-surface);
}

.crotiria-room-card__meta {
  position: relative;
  padding-top: 0.75rem;
}

.crotiria-room-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.crotiria-room-card__title {
  font-weight: 300;
  font-size: 1.5rem;
  margin: 0;
  color: var(--crotiria-color-text);
}

.crotiria-room-card__rule {
  display: block;
  width: 70%;
  max-width: 270px;
  height: 2px;
  background: color-mix(in srgb, var(--crotiria-color-text) 20%, transparent);
}

.crotiria-room-card__cap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--crotiria-color-text);
  font-weight: 600;
  font-size: 1rem;
}

.crotiria-room-card__people-img {
  width: 28px !important;
  height: 28px;
  display: block;
  /* Tint the people PNG icon to match .crotiria-icon--people (#D0A166).
     Filter chain: drop to black first, then recolor to #D0A166. */
  filter: brightness(0) saturate(100%) invert(68%) sepia(25%) saturate(600%) hue-rotate(1deg) brightness(95%) contrast(90%);
}

/* ===== Split section ===== */
.crotiria-split {
  position: relative;
  overflow: hidden;
  background: var(--crotiria-color-primary);
}

.crotiria-split__media {
  position: absolute;
  inset: 0;
  background: var(--crotiria-asset-split-bg) center / cover no-repeat;
}

/* Split: anchor visible part of the bg to the right (matches Figma) */
.crotiria-split__media>img {
  object-position: right center;
}

.crotiria-split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--crotiria-split-overlay);
}

.crotiria-split__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  padding-inline: 1rem;
}

.crotiria-split__content {
  max-width: 580px;
  color: #fff;
}

.crotiria-split__title {
  font-family: var(--crotiria-font-decor);
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  font-weight: 300;
  margin: 0 0 1.25rem 0;
}

.crotiria-split__text {
  color: var(--crotiria-color-sky);
  max-width: 52ch;
  margin: 0 0 1.25rem 0;
}

.crotiria-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.crotiria-checklist__item {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 1.25rem;
}

.crotiria-checklist__icon {
  width: 32px;
  height: 32px;
  display: block;
}

.crotiria-checklist__badge {
  width: 58px;
  height: 58px;
  position: relative;
  display: inline-block;
}

.crotiria-checklist__badge-bg {
  width: 58px;
  height: 58px;
  display: block;
}

.crotiria-checklist__badge-ic {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  display: block;
}

/* Split section icons: ensure white glyphs on colored background */
.crotiria-split .crotiria-checklist__badge-ic {
  filter: brightness(0) invert(1);
}

/* Reusable: icon with circular background (Figma-style; use on any page) */
.crotiria-icon-badge {
  position: relative;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.crotiria-icon-badge__circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: block;
}

.crotiria-icon-badge__icon {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
}

/* On dark sections (e.g. philosophy, footer): beige circular background (theme accent) */
.crotiria-icon-badge--on-dark .crotiria-icon-badge__circle {
  background: color-mix(in srgb, var(--crotiria-color-accent) 35%, white);
}

.crotiria-icon-badge--on-dark .crotiria-icon-badge__icon {
  filter: none;
  color: var(--crotiria-color-primary);
}

/* On light sections: muted circular background */
.crotiria-icon-badge--on-light .crotiria-icon-badge__circle {
  background: color-mix(in srgb, var(--crotiria-color-primary) 12%, transparent);
}

.crotiria-icon-badge--on-light .crotiria-icon-badge__icon {
  color: var(--crotiria-color-primary);
}

/* ===== Testimonials ===== */
.crotiria-testimonials {
  padding-block: clamp(2.5rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.crotiria-testimonials::before {
  content: "";
  position: absolute;
  right: -40px;
  top: 180px;
  width: 530px;
  aspect-ratio: 707.647 / 706.874;
  background-image: var(--crotiria-asset-testimonials-decor);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  display: none;
}

@media (min-width: 992px) {
  .crotiria-testimonials::before {
    display: block;
  }
}

.crotiria-testimonials__title {
  font-family: var(--crotiria-font-decor);
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  color: var(--crotiria-color-primary);
  max-width: 22ch;
  margin: 0;
}

.crotiria-testimonials>.container-xxl {
  position: relative;
  z-index: 1;
}

.crotiria-quote {
  margin: 0;
  max-width: 64ch;
}

.crotiria-quote__icon {
  display: block;
  width: 50px;
  height: 50px;
  opacity: 0.12;
  pointer-events: none;
  margin-top: 1.25rem;
  margin-bottom: 1rem;
}

.crotiria-quote__text {
  font-style: italic;
  color: var(--crotiria-color-primary);
  font-size: 1.25rem;
  position: relative;
  z-index: 1;
  margin: 0;
}

.crotiria-quote__meta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  color: color-mix(in srgb, var(--crotiria-color-accent) 85%, white);
  position: relative;
  z-index: 1;
}

.crotiria-quote__stars-img {
  width: 135px;
  height: 27px;
  display: block;
}

/* Owl forces slide images to width: 100%; keep rating stars at intrinsic size. */
.crotiria-reviews__carousel .owl-item .crotiria-quote__stars-img {
  width: 135px;
  height: 27px;
}

/* ===== Location ===== */
.crotiria-location {
  background: var(--crotiria-color-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5rem);
  --crotiria-location-cluster-shift-x: -10%;
  --crotiria-location-burgas-down: 7%;
  --crotiria-location-burgas-right: 2%;
  --crotiria-location-pomorie-down: 11%;
  --crotiria-location-pomorie-left: 13%;
  --crotiria-location-overlay-up: 7%;
}

/* Location: full background image layer (map) */
.crotiria-location__map-bg {
  pointer-events: none;
  z-index: 0;
}

.crotiria-location__content-wrap {
  z-index: 1;
  top: calc(-1 * var(--crotiria-location-overlay-up));
}

.crotiria-location__edge-pills {
  top: calc(-1 * var(--crotiria-location-overlay-up));
}

.crotiria-location__stage {
  position: relative;
  min-height: clamp(320px, 42vw, 540px);
}

.crotiria-location__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(210, 224, 233, 0.95);
  color: var(--crotiria-color-primary);
  font-weight: 600;
  line-height: 1;
}

.crotiria-location__pill--burgas-edge {
  left: var(--crotiria-location-burgas-right);
  top: calc(50% + var(--crotiria-location-burgas-down));
  z-index: 1;
}

.crotiria-location__pill--pomorie-edge {
  right: var(--crotiria-location-pomorie-left);
  top: var(--crotiria-location-pomorie-down);
  z-index: 1;
}

.crotiria-location__pill-ic {
  --crotiria-icon-size: 12px;
  display: block;
  color: var(--crotiria-color-primary);
}

.crotiria-location__pin {
  position: absolute;
  left: calc(58% + var(--crotiria-location-cluster-shift-x));
  top: 44%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.crotiria-location__pin-marker-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 96px;
  height: 96px;
}

.crotiria-location__pin-marker {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.crotiria-location__pin-icon {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: contain;
  border-radius: 50%;
  pointer-events: none;
}

.crotiria-location__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  line-height: 1;
}

.crotiria-location__brand-img {
  display: block;
  width: auto;
  height: 18px;
  max-width: 156px;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .crotiria-location {
    --crotiria-location-cluster-shift-x: -6%;
    --crotiria-location-burgas-down: 8%;
    --crotiria-location-burgas-right: 1.5%;
    --crotiria-location-pomorie-down: 4%;
    --crotiria-location-pomorie-left: 5%;
    --crotiria-location-overlay-up: 5%;
  }

  .crotiria-location__pin {
    left: calc(56% + var(--crotiria-location-cluster-shift-x));
    top: 58%;
  }
}

@media (max-width: 575.98px) {
  .crotiria-location {
    --crotiria-location-burgas-down: 6%;
    --crotiria-location-burgas-right: 1%;
    --crotiria-location-pomorie-down: 3%;
    --crotiria-location-pomorie-left: -9%;
    --crotiria-location-overlay-up: 3.5%;
  }

  .crotiria-location__pin {
    top: 0%;
  }
}

.crotiria-location__bg {
  position: absolute;
  left: 50%;
  top: -20px;
  width: min(1648px, 140%);
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
}

.crotiria-location__inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding-inline: 1rem;
  position: relative;
  z-index: 1;
}

.crotiria-location__title {
  font-family: var(--crotiria-font-decor);
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  margin: 0 0 1rem 0;
}

.crotiria-location__text {
  margin: 0 0 1.25rem 0;
  max-width: 46ch;
}

.crotiria-location__visual {
  position: relative;
  min-height: 520px;
}

.crotiria-location__shape {
  position: absolute;
  right: -40px;
  top: 80px;
  width: min(520px, 72%);
  height: auto;
  opacity: 0.95;
  pointer-events: none;
}

.crotiria-location__marker {
  position: absolute;
  left: 55%;
  top: 45%;
  width: 96px;
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.crotiria-location__google {
  position: absolute;
  left: 55%;
  top: 62%;
  transform: translate(-50%, 0);
  background: #fff;
  border-radius: 12px;
  padding: 6px 12px;
}

.crotiria-location__google img {
  display: block;
  width: 140px;
  height: auto;
}

.crotiria-location__city {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(210, 224, 233, 0.95);
  color: var(--crotiria-color-primary);
  font-weight: 600;
  line-height: 1;
}

.crotiria-location__city-arrow {
  width: 12px;
  height: 12px;
  display: block;
}

.crotiria-location__city--burgas {
  left: 12px;
  top: 58%;
}

.crotiria-location__city--pomorie {
  right: 12px;
  top: 10px;
}

@media (max-width: 991.98px) {
  .crotiria-location__inner {
    grid-template-columns: 1fr;
  }

  .crotiria-location__visual {
    min-height: 420px;
  }

  .crotiria-location__marker {
    top: calc(45% - 20px);
  }
}

/* ===== Gallery ===== */
.crotiria-gallery__grid {
  --gallery-row-h: 176px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: var(--gallery-row-h);
}

.crotiria-gallery__grid>a {
  display: block;
  height: 100%;
  border-radius: var(--crotiria-radius-sm);
  outline-offset: 6px;
}

.crotiria-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--crotiria-radius-sm);
  box-shadow: var(--crotiria-shadow-sm);
  background: var(--crotiria-color-surface);
}

/* Default 7-image layout (a–g, 3 rows × 2 each = 6 grid rows) */
.crotiria-gallery__img--a {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
}

.crotiria-gallery__img--c {
  grid-column: 8 / span 5;
  grid-row: 1 / span 2;
}

.crotiria-gallery__img--e {
  grid-column: 1 / span 5;
  grid-row: 3 / span 2;
}

.crotiria-gallery__img--f {
  grid-column: 6 / span 5;
  grid-row: 3 / span 2;
}

.crotiria-gallery__img--g {
  grid-column: 11 / span 2;
  grid-row: 3 / span 2;
}

.crotiria-gallery__img--d {
  grid-column: 1 / span 5;
  grid-row: 5 / span 2;
}

.crotiria-gallery__img--b {
  grid-column: 6 / span 7;
  grid-row: 5 / span 2;
}

/* --- Fewer-image layouts (desktop) --- */

/* 1 image: full-width single row */
.crotiria-gallery__grid[data-gallery-count="1"] {
  grid-template-rows: repeat(2, var(--gallery-row-h));
}
.crotiria-gallery__grid[data-gallery-count="1"] .crotiria-gallery__img--a {
  grid-column: 1 / -1;
  grid-row: 1 / span 2;
}

/* 2 images: side by side, single row-pair */
.crotiria-gallery__grid[data-gallery-count="2"] {
  grid-template-rows: repeat(2, var(--gallery-row-h));
}
.crotiria-gallery__grid[data-gallery-count="2"] .crotiria-gallery__img--a {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
}
.crotiria-gallery__grid[data-gallery-count="2"] .crotiria-gallery__img--b {
  grid-column: 8 / span 5;
  grid-row: 1 / span 2;
}

/* 3 images: first large left, two stacked right */
.crotiria-gallery__grid[data-gallery-count="3"] {
  grid-template-rows: repeat(2, var(--gallery-row-h));
}
.crotiria-gallery__grid[data-gallery-count="3"] .crotiria-gallery__img--a {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
}
.crotiria-gallery__grid[data-gallery-count="3"] .crotiria-gallery__img--b {
  grid-column: 8 / span 5;
  grid-row: 1 / span 1;
}
.crotiria-gallery__grid[data-gallery-count="3"] .crotiria-gallery__img--c {
  grid-column: 8 / span 5;
  grid-row: 2 / span 1;
}

/* 4 images: 2 top + 2 bottom */
.crotiria-gallery__grid[data-gallery-count="4"] {
  grid-template-rows: repeat(4, var(--gallery-row-h));
}
.crotiria-gallery__grid[data-gallery-count="4"] .crotiria-gallery__img--a {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
}
.crotiria-gallery__grid[data-gallery-count="4"] .crotiria-gallery__img--b {
  grid-column: 8 / span 5;
  grid-row: 1 / span 2;
}
.crotiria-gallery__grid[data-gallery-count="4"] .crotiria-gallery__img--c {
  grid-column: 1 / span 5;
  grid-row: 3 / span 2;
}
.crotiria-gallery__grid[data-gallery-count="4"] .crotiria-gallery__img--d {
  grid-column: 6 / span 7;
  grid-row: 3 / span 2;
}

/* 5 images: 2 top + 3 bottom */
.crotiria-gallery__grid[data-gallery-count="5"] {
  grid-template-rows: repeat(4, var(--gallery-row-h));
}
.crotiria-gallery__grid[data-gallery-count="5"] .crotiria-gallery__img--a {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
}
.crotiria-gallery__grid[data-gallery-count="5"] .crotiria-gallery__img--b {
  grid-column: 8 / span 5;
  grid-row: 1 / span 2;
}
.crotiria-gallery__grid[data-gallery-count="5"] .crotiria-gallery__img--c {
  grid-column: 1 / span 5;
  grid-row: 3 / span 2;
}
.crotiria-gallery__grid[data-gallery-count="5"] .crotiria-gallery__img--d {
  grid-column: 6 / span 5;
  grid-row: 3 / span 2;
}
.crotiria-gallery__grid[data-gallery-count="5"] .crotiria-gallery__img--e {
  grid-column: 11 / span 2;
  grid-row: 3 / span 2;
}

/* 6 images: 2 top + 3 middle + 1 bottom full or 2 top + 2 mid + 2 bottom */
.crotiria-gallery__grid[data-gallery-count="6"] {
  grid-template-rows: repeat(4, var(--gallery-row-h));
}
.crotiria-gallery__grid[data-gallery-count="6"] .crotiria-gallery__img--a {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
}
.crotiria-gallery__grid[data-gallery-count="6"] .crotiria-gallery__img--b {
  grid-column: 8 / span 5;
  grid-row: 1 / span 2;
}
.crotiria-gallery__grid[data-gallery-count="6"] .crotiria-gallery__img--c {
  grid-column: 1 / span 4;
  grid-row: 3 / span 2;
}
.crotiria-gallery__grid[data-gallery-count="6"] .crotiria-gallery__img--d {
  grid-column: 5 / span 4;
  grid-row: 3 / span 2;
}
.crotiria-gallery__grid[data-gallery-count="6"] .crotiria-gallery__img--e {
  grid-column: 9 / span 4;
  grid-row: 3 / span 2;
}
.crotiria-gallery__grid[data-gallery-count="6"] .crotiria-gallery__img--f {
  display: none;
}

/* --- Mobile: flatten to 2-column grid regardless of count --- */
@media (max-width: 991.98px) {
  .crotiria-gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    --gallery-row-h: 180px;
    grid-auto-rows: var(--gallery-row-h);
  }

  .crotiria-gallery__grid .crotiria-gallery__img--a,
  .crotiria-gallery__grid .crotiria-gallery__img--b,
  .crotiria-gallery__grid .crotiria-gallery__img--c,
  .crotiria-gallery__grid .crotiria-gallery__img--d,
  .crotiria-gallery__grid .crotiria-gallery__img--e,
  .crotiria-gallery__grid .crotiria-gallery__img--f,
  .crotiria-gallery__grid .crotiria-gallery__img--g {
    grid-column: auto;
    grid-row: auto;
  }

  /* On mobile with 1 image, span full width */
  .crotiria-gallery__grid[data-gallery-count="1"] .crotiria-gallery__img--a {
    grid-column: 1 / -1;
  }

  /* On mobile with odd count, last image spans full width */
  .crotiria-gallery__grid[data-gallery-count="3"] .crotiria-gallery__img--c,
  .crotiria-gallery__grid[data-gallery-count="5"] .crotiria-gallery__img--e,
  .crotiria-gallery__grid[data-gallery-count="7"] .crotiria-gallery__img--g {
    grid-column: 1 / -1;
  }

  /* Unhide the 6th image on mobile (hidden only on desktop for 6-count) */
  .crotiria-gallery__grid[data-gallery-count="6"] .crotiria-gallery__img--f {
    display: block;
  }
}

/* ===== PhotoSwipe (gallery lightbox) ===== */
.pswp__custom-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  background: color-mix(in srgb, var(--crotiria-color-primary-2) 72%, transparent);
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.35;
}

.pswp__custom-caption.is-empty {
  display: none;
}

/* ===== Footer ===== */
.crotiria-footer {
  background: var(--crotiria-color-primary-2);
  color: #fff;
}

.crotiria-footer__title {
  font-size: 1.5rem;
  margin: 0 0 0.75rem 0;
  font-weight: 500;
}

.crotiria-footer__links a {
  color: color-mix(in srgb, #fff 78%, transparent);
  text-decoration: none;
  display: inline-block;
  padding-block: 0.25rem;
  font-size: 1.125rem;
  font-weight: 300;
}

.crotiria-footer__links a:hover {
  color: #fff;
}

.crotiria-newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  max-width: 420px;
}

.crotiria-newsletter__input {
  border: var(--bs-border-width) solid color-mix(in srgb, var(--bs-border-color) 80%, transparent);
  background: transparent;
  color: #fff;
  padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
  height: 54px;
}

.crotiria-newsletter__input::placeholder {
  color: color-mix(in srgb, #fff 70%, transparent);
}

.crotiria-newsletter__btn {
  width: 54px;
  height: 54px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.crotiria-newsletter__btn-img {
  width: 54px;
  height: 54px;
  display: block;
}

.crotiria-footer__divider {
  height: 2px;
  background: rgba(202, 202, 202, 0.25);
}

.crotiria-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

.crotiria-footer__meta a {
  color: inherit;
  text-decoration: none;
}

.crotiria-footer__meta a:hover {
  color: #fff;
}

.crotiria-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.crotiria-social {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  text-decoration: none;
}

.crotiria-social img {
  display: block;
  filter: brightness(0) invert(1);
}

.crotiria-social:hover {
  opacity: 1;
}

.crotiria-footer__credit {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  font-size: 1rem;
}

.crotiria-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.crotiria-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  max-width: min(820px, 100%);
}

.crotiria-footer__logo-part {
  display: block;
  height: var(--crotiria-footer-logo-part-height);
  width: auto;
  max-width: 100%;
}

.crotiria-footer__brand-stack {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
}

.crotiria-footer__brand-mark {
  width: 181px;
  height: auto;
  display: block;
}

.crotiria-footer__brand-text {
  display: grid;
  gap: 0.5rem;
}

.crotiria-footer__brand-top,
.crotiria-footer__brand-bottom {
  display: block;
  max-width: 520px;
  height: auto;
}

/* ===== Offers ===== */
.crotiria-offer-card {
  background: var(--crotiria-color-surface);
  border-radius: var(--crotiria-radius-md);
  box-shadow: var(--crotiria-shadow-sm);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.crotiria-offer-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--crotiria-color-bg);
}

.crotiria-offer-card__body {
  padding: 1.25rem;
  display: grid;
  gap: 0.75rem;
  flex: 1 1 auto;
}

.crotiria-offer-card__title {
  margin: 0;
  font-weight: 500;
  color: var(--crotiria-color-primary);
  font-size: 1.25rem;
}

.crotiria-offer-card__text {
  margin: 0;
  color: var(--crotiria-color-muted);
  max-width: 60ch;
}

.crotiria-offer-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.crotiria-offer-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--crotiria-radius-pill);
  border: 1px solid color-mix(in srgb, var(--crotiria-color-border) 85%, transparent);
  color: var(--crotiria-color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  background: color-mix(in srgb, var(--crotiria-color-bg) 70%, white);
}

.crotiria-offers {
  padding-top: clamp(2.75rem, 6vw, 5.75rem);
  padding-bottom: clamp(3.25rem, 8vw, 7rem);
}

.crotiria-offers__title-main {
  margin: 0;
  max-width: 13ch;
}

.crotiria-offers__filters {
  margin-top: clamp(1.25rem, 3.2vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.crotiria-offers__filter {
  border: 1px solid color-mix(in srgb, var(--crotiria-color-text) 38%, transparent);
  border-radius: 6px;
  background: transparent;
  color: var(--crotiria-color-text);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.2;
  padding: 0.45rem 0.75rem;
}

.crotiria-offers__filter.is-active {
  background: var(--crotiria-color-primary);
  color: #fff;
  border-color: var(--crotiria-color-primary);
}

.crotiria-offers__grid {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.25rem);
}

.crotiria-offers__item {
  min-width: 0;
}

.crotiria-offers__img {
  aspect-ratio: 455 / 493;
  border-radius: 0;
  box-shadow: none;
}

.crotiria-offers__meta {
  margin-top: 0.7rem;
}

.crotiria-offers__meta .crotiria-room-card__rule {
  width: 72%;
  max-width: 320px;
  margin-bottom: 0.55rem;
}

.crotiria-offers__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.crotiria-offers__heading {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  color: var(--crotiria-color-text);
  min-width: 0;
}

.crotiria-offers__index {
  font-family: var(--crotiria-font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.crotiria-offers__name {
  font-weight: 300;
  font-size: clamp(1.2rem, 2.1vw, 1.8rem);
  line-height: 1.2;
}

.crotiria-offers__cta {
  width: 67px;
  height: 67px;
  border: 0;
  box-shadow: none;
  background: transparent;
  flex: 0 0 auto;
}

.crotiria-offers__cta .crotiria-icon-btn__img {
  width: 67px;
  height: 67px;
}

@media (min-width: 992px) {
  .crotiria-offers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .crotiria-offers__name {
    font-size: 1.15rem;
  }

  .crotiria-offers__cta {
    width: 58px;
    height: 58px;
  }

  .crotiria-offers__cta .crotiria-icon-btn__img {
    width: 58px;
    height: 58px;
  }
}

/* ===== Offer details ===== */
.crotiria-offer-details {
  --crotiria-offer-discount-color: #ae1515;
  padding-top: clamp(2.6rem, 6vw, 4.6rem);
  padding-bottom: clamp(3rem, 6vw, 5.2rem);
}

.crotiria-offer-details-hero {
  margin-top: var(--crotiria-header-bar-height, 88px);
}

.crotiria-offer-details-hero__img {
  display: block;
  width: 100%;
  height: clamp(260px, 34vw, 500px);
  object-fit: cover;
  object-position: center;
}

.crotiria-offer-details__title {
  margin: 0;
  font-family: var(--crotiria-font-display);
  font-size: clamp(2.05rem, 4.4vw, 3.74rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--crotiria-color-text);
  text-wrap: balance;
}

.crotiria-offer-details__subtitle {
  margin-top: clamp(0.8rem, 2vw, 1.2rem);
  margin-bottom: 0;
  color: var(--crotiria-color-primary);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
}

.crotiria-offer-pricing {
  margin-top: clamp(2rem, 4.8vw, 3rem);
  overflow-x: auto;
  padding-bottom: 0.35rem;
}

.crotiria-offer-pricing__row {
  min-width: 980px;
  display: grid;
  grid-template-columns: minmax(240px, 1.7fr) repeat(3, minmax(210px, 1fr));
  border-bottom: 1px solid color-mix(in srgb, var(--crotiria-color-border) 92%, transparent);
}

.crotiria-offer-pricing__row--head {
  border-top: 1px solid color-mix(in srgb, var(--crotiria-color-border) 92%, transparent);
}

.crotiria-offer-pricing__cell {
  padding: 1.2rem 0.95rem;
  border-right: 1px solid color-mix(in srgb, var(--crotiria-color-border) 92%, transparent);
  margin: 0;
  color: var(--crotiria-color-primary);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.3;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.crotiria-offer-pricing__cell:last-child {
  border-right: 0;
}

.crotiria-offer-pricing__cell--label {
  justify-content: flex-start;
  text-align: left;
}

.crotiria-offer-pricing__price {
  gap: 0.48rem;
  flex-wrap: wrap;
  white-space: nowrap;
}

.crotiria-offer-pricing__old {
  text-decoration: line-through;
  color: var(--crotiria-color-text);
  opacity: 0.9;
}

.crotiria-offer-pricing__new {
  color: var(--crotiria-offer-discount-color);
}

.crotiria-offer-details__copy {
  margin-top: clamp(2rem, 4vw, 2.9rem);
  max-width: 1200px;
  color: var(--crotiria-color-primary);
  font-size: clamp(0.96rem, 1.16vw, 1.08rem);
  line-height: 1.45;
}

.crotiria-offer-details__copy p {
  margin: 0;
}

.crotiria-offer-details__copy ul {
  margin: 0.95rem 0 0;
  padding-left: 1.2rem;
}

.crotiria-offer-details__copy li+li {
  margin-top: 0.3rem;
}

@media (max-width: 767.98px) {
  .crotiria-offer-details__title {
    text-wrap: pretty;
  }

  .crotiria-offer-pricing__cell {
    padding: 0.95rem 0.72rem;
    font-size: 0.92rem;
  }
}

/* ===== Booking (multi-step) ===== */
.crotiria-booking-flow {
  background: var(--crotiria-color-bg);
  --crotiria-step-swap-duration: 420ms;
}

.crotiria-booking-flow__top {
  display: grid;
  gap: 0.75rem;
}

.crotiria-booking-flow__progress {
  height: 10px;
  border-radius: var(--crotiria-radius-pill);
  background: color-mix(in srgb, var(--crotiria-color-border) 70%, transparent);
  overflow: hidden;
}

.crotiria-booking-flow__progress-bar {
  height: 100%;
  width: 0%;
  border-radius: var(--crotiria-radius-pill);
  background: linear-gradient(90deg, var(--crotiria-color-accent), var(--crotiria-color-accent-2));
  transition: width 260ms ease;
}

/* Step swap animation (CSS-driven; no JS-added animate.css classes). */
.crotiria-booking-flow [data-step] {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity var(--crotiria-step-swap-duration) ease,
    transform var(--crotiria-step-swap-duration) ease;
  will-change: opacity, transform;
}

.crotiria-booking-flow [data-step].crotiria-step--entering {
  opacity: 0;
  transform: translateY(12px);
}

.crotiria-booking-flow [data-step].crotiria-step--entering.crotiria-step--enter {
  opacity: 1;
  transform: translateY(0);
}

.crotiria-booking-flow [data-step].crotiria-step--exiting {
  opacity: 0;
  transform: translateY(-12px);
}

/* Booking_2 alignment (scoped to booking pages) */
body.crotiria-page--booking {
  --crotiria-booking-progress-bg: #bfbdbb;
  --crotiria-booking-progress-fill: var(--crotiria-color-primary);
  --crotiria-booking-pill-height: 52px;
  --crotiria-booking-pill-radius: 8px;
  --crotiria-booking-control-radius: 8px;
  --crotiria-booking-control-border: var(--crotiria-color-sky);
  --crotiria-booking-control-placeholder: #989898;
  --crotiria-booking-datepicker-z: 3000;
  --crotiria-booking-text-dark: var(--crotiria-color-primary-2);
  --crotiria-booking-chip-bg: transparent;
  --crotiria-booking-chip-border: var(--crotiria-color-border);
  --crotiria-booking-chip-icon: var(--crotiria-color-accent);
  --crotiria-booking-modal-amenities-bg: color-mix(in srgb, var(--crotiria-color-bg) 88%, white);
}

body.crotiria-page--booking .datepicker {
  z-index: var(--crotiria-booking-datepicker-z) !important;
  top: 100% !important;
  bottom: auto !important;
  margin-top: 0.5rem !important;
}

body.crotiria-page--booking .crotiria-booking-page__control,
body.crotiria-page--booking .crotiria-booking-pill {
  position: relative;
}

body.crotiria-page--booking .crotiria-booking-page__control:focus-within,
body.crotiria-page--booking .crotiria-booking-pill:focus-within {
  z-index: var(--crotiria-booking-datepicker-z);
}

body.crotiria-page--booking .crotiria-booking-flow__progress {
  height: 7px;
  background: var(--crotiria-booking-progress-bg);
  border-radius: var(--crotiria-radius-pill);
}

body.crotiria-page--booking .crotiria-booking-flow__progress-bar {
  background: var(--crotiria-booking-progress-fill);
}

body.crotiria-page--booking .crotiria-booking-pill {
  min-height: var(--crotiria-booking-pill-height);
  border-radius: var(--crotiria-booking-pill-radius);
}

body.crotiria-page--booking .crotiria-booking-control {
  border: 1.5px solid var(--crotiria-booking-control-border);
  border-radius: var(--crotiria-booking-control-radius);
  padding: 0.85rem 1rem;
  background: var(--crotiria-color-surface);
  color: var(--crotiria-color-primary-2);
}

body.crotiria-page--booking .crotiria-booking-control::placeholder {
  color: var(--crotiria-booking-control-placeholder);
}

body.crotiria-page--booking .crotiria-amenity-chip {
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  background: var(--crotiria-booking-chip-bg);
  border: 1px solid var(--crotiria-booking-chip-border);
  color: var(--crotiria-booking-text-dark);
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.2;
}

body.crotiria-page--booking .crotiria-amenity-chip img {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(73%) sepia(21%) saturate(752%) hue-rotate(352deg) brightness(94%) contrast(86%);
}

body.crotiria-page--booking .crotiria-room-gallery .owl-dots {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

body.crotiria-page--booking .crotiria-room-gallery .owl-dots .owl-dot span {
  width: 28px;
  height: 4px;
  display: block;
  border-radius: var(--crotiria-radius-pill);
  background: color-mix(in srgb, var(--crotiria-color-primary) 22%, var(--crotiria-color-border));
}

body.crotiria-page--booking .crotiria-room-gallery .owl-dots .owl-dot.active span {
  background: var(--crotiria-color-primary);
}

body.crotiria-page--booking .crotiria-booking-success {
  border: 1px solid color-mix(in srgb, var(--crotiria-color-border) 70%, transparent);
}

body.crotiria-page--booking .crotiria-cancel-policy {
  justify-content: flex-start;
  text-align: left;
}

body.crotiria-page--booking .crotiria-room-modal-main-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body.crotiria-page--booking .crotiria-room-thumb {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid transparent !important;
  transition: border-color 180ms ease, transform 180ms ease;
}

body.crotiria-page--booking .crotiria-room-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body.crotiria-page--booking .crotiria-room-thumb:hover,
body.crotiria-page--booking .crotiria-room-thumb:focus-visible,
body.crotiria-page--booking .crotiria-room-thumb.is-active {
  border-color: var(--crotiria-color-accent) !important;
  transform: translateY(-1px);
}

body.crotiria-page--booking .crotiria-room-modal-amenities {
  background: var(--crotiria-booking-modal-amenities-bg);
}

@media (max-width: 575.98px) {
  body.crotiria-page--booking .crotiria-room-modal-main-image img {
    aspect-ratio: 16 / 10;
  }
}

/* Global check/radio controls */
.form-check-input {
  background-color: transparent;
  border: 1px solid var(--crotiria-color-border);
}

.form-check-input:focus {
  border-color: var(--crotiria-color-sky);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--crotiria-color-sky) 30%, transparent);
}

.form-check-input:checked {
  border-color: var(--crotiria-color-primary);
  background-color: var(--crotiria-color-primary);
}

.crotiria-room-choice {
  border: 1px solid color-mix(in srgb, var(--crotiria-color-border) 85%, transparent);
  border-radius: var(--crotiria-radius-md);
  background: var(--crotiria-color-surface);
  box-shadow: var(--crotiria-shadow-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.crotiria-room-choice:hover {
  transform: translateY(-2px);
  box-shadow: var(--crotiria-shadow-md);
  border-color: color-mix(in srgb, var(--crotiria-color-primary) 24%, var(--crotiria-color-border));
}

.crotiria-room-choice.is-selected {
  border-color: color-mix(in srgb, var(--crotiria-color-accent) 75%, var(--crotiria-color-border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--crotiria-color-accent) 22%, transparent), var(--crotiria-shadow-sm);
}

.crotiria-room-choice__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.crotiria-room-choice__body {
  padding: 1rem 1.25rem 1.25rem;
  display: grid;
  gap: 0.5rem;
}

.crotiria-room-choice__title {
  margin: 0;
  font-weight: 500;
  color: var(--crotiria-color-primary);
  font-size: 1.2rem;
}

.crotiria-room-choice__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--crotiria-color-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 991.98px) {
  .crotiria-header {
    --crotiria-header-bar-height-expanded: 78px;
    --crotiria-header-bar-height-collapsed: 70px;
    --crotiria-logo-h-expanded: 148px;
    --crotiria-logo-w-expanded: 140px;
    --crotiria-logo-w-collapsed: 125px;
    --crotiria-logo-w: var(--crotiria-logo-w-expanded);
  }

  .crotiria-logo {
    transform: translateX(-50%);
  }

  .crotiria-header__inner {
    height: var(--crotiria-header-bar-height);
    padding-block: 0;
  }
}

/* Small helpers */

.crotiria-text-muted {
  color: var(--crotiria-color-muted) !important;
}

/* Owl Carousel animate.css v4 compatibility (Owl uses `.animated` + `fadeIn/fadeOut`) */
.animated {
  animation-duration: var(--animate-duration, 1s);
  animation-fill-mode: both;
}

.fadeIn {
  animation-name: fadeIn;
}

.fadeOut {
  animation-name: fadeOut;
}

.crotiria-max-64ch {
  max-width: 64ch;
}

.crotiria-max-68ch {
  max-width: 68ch;
}

.crotiria-media-cover {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.crotiria-media-4x3 {
  aspect-ratio: 4 / 3;
}

.crotiria-sticky-card {
  position: sticky;
  top: 1.25rem;
}

/* ===== Page hero (internal pages) ===== */
.crotiria-page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--crotiria-asset-hero-bg) center / cover no-repeat;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

/* Page hero with explicit media (allows per-page hero images without hardcoded CSS urls). */
.crotiria-page-hero--media {
  background: none;
}

.crotiria-page-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  z-index: 0;
}

.crotiria-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--crotiria-hero-overlay);
}

.crotiria-page-hero__inner {
  position: relative;
  z-index: 1;
  padding-inline: 1rem;
}

.crotiria-page-hero__title {
  font-family: var(--crotiria-font-decor);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  max-width: 22ch;
  text-shadow: 0 4px 16px rgba(40, 81, 111, 0.7);
}

.crotiria-breadcrumbs {
  margin: 0 0 0.75rem 0;
  color: color-mix(in srgb, #fff 78%, transparent);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.crotiria-breadcrumbs a {
  text-decoration: none;
  color: inherit;
}

.crotiria-breadcrumbs a:hover {
  color: #fff;
}

/* ===== Room details (Figma 2351:2506) — split hero + gallery ===== */
.crotiria-room-hero {
  display: grid;
  grid-template-columns: 1fr;
  min-height: clamp(520px, 55vw, 883px);
  background: var(--crotiria-color-primary);
}

@media (min-width: 992px) {
  .crotiria-room-hero {
    grid-template-columns: minmax(0, 733px) 1fr;
  }
}

.crotiria-room-hero__left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.crotiria-room-hero__image-wrap {
  position: relative;
  width: 100%;
  max-width: 490px;
  aspect-ratio: 490 / 636;
  border-radius: var(--crotiria-radius-sm);
  overflow: hidden;
  box-shadow: var(--crotiria-shadow-md);
}

.crotiria-room-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.crotiria-room-hero__right {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--crotiria-color-bg);
}

.crotiria-room-hero__title {
  margin: 0 0 0.75rem 0;
  color: var(--crotiria-color-text);
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.crotiria-room-hero__text {
  margin: 0 0 1.5rem 0;
  color: var(--crotiria-color-primary);
  font-size: clamp(0.95rem, 1.4vw, 1.07rem);
  line-height: 1.5;
  max-width: 42ch;
}

.crotiria-room-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.crotiria-room-hero__fact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.crotiria-room-hero__fact-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: block;
}

.crotiria-room-hero__fact-label {
  font-size: 1rem;
  font-weight: 300;
  color: var(--crotiria-color-muted);
}

.crotiria-room-hero__cta {
  align-self: flex-start;
}

/* Room details gallery grid: left large (span 2 rows), right column 2 images */
.crotiria-room-gallery__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(200px, auto);
}

@media (min-width: 768px) {
  .crotiria-room-gallery__grid {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    min-height: 400px;
  }
}

.crotiria-room-gallery__main {
  position: relative;
  grid-row: span 2;
  min-height: 280px;
}

@media (max-width: 767.98px) {
  .crotiria-room-gallery__main {
    grid-row: span 1;
    min-height: 240px;
  }
}

.crotiria-room-gallery__link {
  display: block;
  height: 100%;
  border-radius: var(--crotiria-radius-sm);
  overflow: hidden;
  box-shadow: var(--crotiria-shadow-sm);
}

.crotiria-room-gallery__main .crotiria-room-gallery__link {
  position: absolute;
  inset: 0;
}

.crotiria-room-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.crotiria-room-gallery__main .crotiria-room-gallery__img {
  min-height: 100%;
}

.crotiria-room-gallery__badge {
  position: absolute;
  left: clamp(0.5rem, 2vw, 1.5rem);
  top: clamp(0.5rem, 2vw, 1.5rem);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(80px, 18vw, 140px);
  height: clamp(80px, 18vw, 140px);
  border-radius: 50%;
  background: color-mix(in srgb, var(--crotiria-color-bg) 92%, white);
  color: var(--crotiria-color-muted);
  font-size: clamp(0.9rem, 1.4vw, 1.25rem);
  font-weight: 500;
  box-shadow: var(--crotiria-shadow-sm);
  pointer-events: none;
}

/* ===== About (Figma 2351:2823) ===== */
.crotiria-about-hero {
  min-height: 760px;
}

.crotiria-about-hero .crotiria-hero__img {
  object-position: 50% 38%;
}

.crotiria-about-hero__subtitle {
  margin: 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  line-height: 1.45;
  text-shadow: 0 3px 12px rgba(40, 81, 111, 0.55);
}

.crotiria-about-hero__scroll {
  position: absolute;
  right: clamp(1rem, 3.5vw, 3.8rem);
  bottom: clamp(1.25rem, 4vw, 3rem);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.crotiria-about-hero__scroll:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.crotiria-about-hero__scroll-img {
  width: 62px;
  height: 62px;
  display: block;
  transform: rotate(-90deg);
}

/* ===== Amenities page (Figma 2470:1132) ===== */
.crotiria-amenities-hero {
  min-height: var(--crotiria-amenities-hero-min-height, 760px);
}

.crotiria-amenities-hero .crotiria-hero__img {
  object-position: 50% 38%;
}

.crotiria-amenities-hero__subtitle {
  margin: 0.5rem 0 0 0;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  line-height: 1.45;
  text-shadow: 0 3px 12px rgba(40, 81, 111, 0.55);
}

.crotiria-amenities-hero__scroll {
  position: absolute;
  right: clamp(1rem, 3.5vw, 3.8rem);
  bottom: clamp(1.25rem, 4vw, 3rem);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.crotiria-amenities-hero__scroll:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.crotiria-amenities-hero__scroll-img {
  width: 62px;
  height: 62px;
  display: block;
  transform: rotate(-90deg);
}

/* ===== Location page (Figma 2351:3388) ===== */
.crotiria-location-top {
  padding-top: clamp(2.5rem, 7vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.crotiria-location-top__title {
  font-family: var(--crotiria-font-decor);
  font-weight: 300;
  font-size: clamp(2.25rem, 5vw, 3.8rem);
  line-height: 1.1;
  color: var(--crotiria-color-text);
  margin: 0;
}

.crotiria-location-top__kicker {
  margin: 0.8rem 0 0;
  font-size: clamp(0.85rem, 1.6vw, 1.08rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crotiria-color-accent);
  font-weight: 500;
}

.crotiria-location-top__media {
  margin-top: clamp(1.6rem, 3.6vw, 2.4rem);
  border-radius: 12px;
  overflow: hidden;
}

.crotiria-location-top__media-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.crotiria-location-intro {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.crotiria-location-intro__text {
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.5rem);
  line-height: 1.55;
  color: var(--crotiria-color-primary);
}

.crotiria-location-intro .crotiria-stats {
  margin-top: clamp(2rem, 4vw, 3.2rem) !important;
}

.crotiria-location-intro .crotiria-stat__value {
  color: var(--crotiria-color-text);
}

.crotiria-location-map__embed-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 85%;
  height: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--crotiria-color-muted, #e9ecef);
}

.crotiria-location-map__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.crotiria-location-map__title {
  margin: 0;
  font-family: var(--crotiria-font-decor);
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 300;
  line-height: 1.06;
}

.crotiria-location-map__kicker {
  margin: 0.95rem 0 0;
  color: var(--crotiria-color-accent);
  font-size: clamp(0.82rem, 1.3vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.crotiria-location-perks__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.05rem;
}

.crotiria-location-perks__item:last-child {
  margin-bottom: 0;
}

.crotiria-location-perks__badge {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--crotiria-color-bg) 80%, #fff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
}

.crotiria-location-perks__icon {
  width: 18px;
  height: 18px;
  display: block;
}

.crotiria-location-perks__copy {
  min-width: 0;
}

.crotiria-location-perks__title {
  display: block;
  font-size: clamp(1rem, 1.6vw, 1.65rem);
  line-height: 1.2;
  color: var(--crotiria-color-text);
}

.crotiria-location-attractions__title {
  margin: 0;
  font-family: var(--crotiria-font-decor);
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--crotiria-color-text);
}

.crotiria-location-attractions__kicker {
  margin: 0.8rem 0 0;
  color: var(--crotiria-color-accent);
  font-size: clamp(0.82rem, 1.3vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.crotiria-location-attractions__list {
  width: 100%;
  max-width: 100%;
  border-top: 1px solid color-mix(in srgb, var(--crotiria-color-muted) 45%, transparent);
}

.crotiria-location-attractions__item {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding-block: clamp(0.95rem, 2.2vw, 1.65rem);
  border-bottom: 1px solid color-mix(in srgb, var(--crotiria-color-muted) 45%, transparent);
}

.crotiria-location-attractions__name {
  flex: 1 1 auto;
  min-width: 0;
  max-inline-size: 22ch;
  font-family: var(--crotiria-font-decor);
  font-size: clamp(1.22rem, 2.2vw, 2rem);
  font-weight: 300;
  color: var(--crotiria-color-text);
}

.crotiria-location-attractions__dist {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: clamp(0.95rem, 1.35vw, 1.25rem);
  color: var(--crotiria-color-accent);
  font-weight: 500;
}

.crotiria-amenities-section {
  padding-block: var(--crotiria-space-7);
}

/* Single section title — typography and container-wide border per Figma */
.crotiria-amenities-section__title {
  font-family: var(--crotiria-font-decor);
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  font-weight: 400;
  color: var(--crotiria-amenities-heading-color);
  margin: 0 0 var(--crotiria-space-6) 0;
}

.crotiria-amenities-section__title::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 0.35em;
  background: var(--crotiria-color-muted);
}

.crotiria-amenities-section__grid {
  --crotiria-amenities-card-gap: var(--crotiria-space-5);
}

.crotiria-amenities-card {
  background: transparent;
  border: none;
  border-radius: var(--crotiria-radius-sm);
  box-shadow: none;
  overflow: hidden;
}

.crotiria-amenities-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: var(--crotiria-radius-sm);
}

.crotiria-amenities-card__body {
  padding: var(--crotiria-space-4) 0 0;
}

.crotiria-amenities-card__title {
  font-family: var(--crotiria-font-base);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--crotiria-color-text);
  margin: 0 0 0.25rem 0;
}

.crotiria-amenities-card__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--crotiria-color-muted);
}

.crotiria-about-intro {
  position: relative;
  overflow: hidden;
}

.crotiria-about-intro__overlay {
  position: absolute;
  right: -120px;
  top: -72px;
  width: min(56vw, 798px);
  height: auto;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.crotiria-about-intro .container-xxl {
  position: relative;
  z-index: 1;
}

.crotiria-about-intro__media {
  margin-top: clamp(2rem, 5vw, 4.25rem);
}

.crotiria-about-intro__media-img {
  width: 100%;
  max-width: 1264px;
  margin-inline: auto;
  display: block;
  border-radius: 0;
  object-fit: cover;
  aspect-ratio: 1264 / 392;
}

.crotiria-about-philosophy {
  position: relative;
  overflow: hidden;
  background: var(--crotiria-color-primary);
  color: #e4e4e4;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.crotiria-about-philosophy__mark {
  position: absolute;
  right: -180px;
  bottom: -280px;
  width: min(65vw, 945px);
  height: auto;
  opacity: 0.2;
  pointer-events: none;
}

.crotiria-about-philosophy .container-xxl {
  position: relative;
  z-index: 1;
}

.crotiria-about-philosophy .crotiria-section__kicker {
  margin-bottom: 1.75rem;
}

.crotiria-about-philosophy .crotiria-section__line {
  background: color-mix(in srgb, var(--crotiria-color-border) 82%, transparent);
}

.crotiria-about-philosophy .crotiria-section__label {
  color: var(--crotiria-color-accent);
}

.crotiria-about-philosophy__title {
  margin: 0;
  font-family: var(--crotiria-font-decor);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  color: #fff;
}

.crotiria-about-philosophy__text {
  margin: 1.25rem 0 0 0;
  max-width: 36ch;
  color: #e4e4e4;
  font-size: clamp(1rem, 1.6vw, 1.08rem);
}

.crotiria-about-philosophy__perks {
  margin-top: clamp(2.75rem, 5vw, 4rem);
  display: grid;
  gap: 2rem;
  max-width: 42ch;
}

.crotiria-about-philosophy__perk {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.crotiria-about-philosophy__perk-copy {
  display: grid;
  gap: 0.2rem;
  padding-top: 0.2rem;
}

.crotiria-about-philosophy__perk-title {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 400;
  color: #e4e4e4;
}

.crotiria-about-philosophy__perk-text {
  font-size: 0.95rem;
  color: #e4e4e4;
  font-weight: 300;
}

.crotiria-about-why__media {
  max-width: 566px;
}

.crotiria-about-why__img {
  width: 100%;
  aspect-ratio: 566 / 699;
  display: block;
  object-fit: cover;
}

.crotiria-about-why__title {
  margin: 0;
  font-family: var(--crotiria-font-decor);
  font-size: clamp(2rem, 4.2vw, 3.75rem);
  color: var(--crotiria-color-text);
  line-height: 1.04;
}

.crotiria-about-why__title span {
  display: block;
}

.crotiria-about-why .crotiria-rooms__kicker {
  margin-top: 1rem;
}

.crotiria-about-why__text {
  margin: 1.25rem 0 0 0;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.58;
  color: #7c7c7c;
  max-width: 40ch;
}

@media (max-width: 991.98px) {
  .crotiria-about-hero__subtitle {
    max-width: min(28ch, calc(100% - 5.5rem));
  }

  .crotiria-about-hero__scroll {
    right: 1rem;
    bottom: 1.25rem;
  }

  .crotiria-about-intro__overlay {
    right: -220px;
    top: -40px;
    width: min(86vw, 798px);
    opacity: 0.4;
  }

  .crotiria-about-philosophy__mark {
    right: -200px;
    bottom: -240px;
    width: min(95vw, 945px);
    opacity: 0.16;
  }
}

/* Global mobile overrides moved from page-local styles */
@media (max-width: 991.98px) {
  body.crotiria-page--home .crotiria-header {
    top: var(--crotiria-header-top, 0px);
  }

  .crotiria-header {
    --crotiria-header-collapse: 1 !important;
    --crotiria-header-bar-height-expanded: 70px;
    --crotiria-header-bar-height-collapsed: 70px;
    --crotiria-header-bar-height: 70px !important;
    --crotiria-logo-w-expanded: 118px;
    --crotiria-logo-w-collapsed: 118px;
    --crotiria-logo-w: 118px !important;
    --crotiria-logo-h-expanded: 70px;
    --crotiria-logo-h-collapsed: 70px;
    --crotiria-logo-pad-y-expanded: 0.5rem;
    --crotiria-logo-pad-y-collapsed: 0.5rem;
    --crotiria-logo-part1-shift-max: 0;
  }

  .crotiria-logo {
    height: var(--crotiria-logo-h-collapsed) !important;
    padding-block: var(--crotiria-logo-pad-y-collapsed) !important;
    border-radius: 0 0 var(--crotiria-radius-lg) var(--crotiria-radius-lg);
  }

  .crotiria-logo__part--1 {
    max-width: 50%;
    transform: none !important;
  }

  .crotiria-logo__part--2,
  .crotiria-logo__part--3 {
    display: none;
  }

  .crotiria-booking {
    width: min(100%, 680px);
    margin-inline: auto !important;
    padding-inline: 0.75rem !important;
  }

  .crotiria-booking__grid {
    row-gap: 0.75rem !important;
    column-gap: 0.75rem !important;
    padding-inline: 0.35rem;
  }

  .crotiria-booking__field {
    padding-inline: 0.75rem !important;
  }

  .crotiria-booking__submit {
    width: min(100%, 220px) !important;
    max-width: 220px;
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    margin-inline: auto;
    display: grid;
    place-items: center;
    align-items: center;
    justify-content: center;
  }

  .crotiria-booking__submit-img {
    display: block;
    width: 52px;
    height: 52px;
    margin-inline: auto;
  }

  .crotiria-split {
    min-height: 100vh !important;
  }

  .crotiria-split__inner {
    min-height: 100vh !important;
    display: flex;
    align-items: center;
  }

  .crotiria-split__content {
    min-height: 0 !important;
  }

  .crotiria-testimonials__title {
    font-size: clamp(1.65rem, 7.2vw, 2.05rem);
    line-height: 1.2;
  }

  .crotiria-location__pill--pomorie-edge {
    top: calc(var(--crotiria-location-pomorie-down) + 40%) !important;
    transform: none !important;
  }

  .crotiria-location__pill--burgas-edge {
    top: calc(50% + var(--crotiria-location-burgas-down) - 5%) !important;
    transform: none !important;
  }

  .crotiria-footer__meta {
    justify-content: center;
  }

  .crotiria-footer__social {
    justify-content: center;
  }

  .crotiria-footer__credit {
    text-align: center;
  }

  .crotiria-footer__logo {
    width: min(100%, 300px) !important;
    max-width: 100%;
    gap: 0.5rem;
    justify-content: center;
    margin-inline: auto;
    overflow: hidden;
  }

  .crotiria-footer__logo-part {
    height: auto !important;
    max-width: 100%;
  }

  .crotiria-footer__logo-part--1 {
    width: min(24%, 50px);
    height: auto !important;
  }

  .crotiria-footer__logo-part--2,
  .crotiria-footer__logo-part--3 {
    width: auto;
    height: 20px !important;
  }
}

/* Bootstrap growl: fixed on screen regardless of scroll */
.bootstrap-growl.alert {
  position: fixed !important;
  z-index: 9999;
  display: flex !important;
  align-items: center;
  gap: var(--crotiria-space-4, 1rem);
}

.bootstrap-growl.alert .bootstrap-growl__message {
  order: 1;
  flex: 1;
  min-width: 0;
}

.bootstrap-growl.alert .close {
  order: 2;
  margin-left: auto;
  flex-shrink: 0;
  opacity: 1;
  text-decoration: none;
}

/* ===== Fix #19: Enhanced hover effects for nav and footer links ===== */
.crotiria-footer__links a {
  transition: color 180ms ease, padding-left 180ms ease;
}

.crotiria-footer__links a:hover {
  color: var(--crotiria-color-accent);
  padding-left: 0.25rem;
}

.crotiria-footer__meta a {
  transition: color 180ms ease;
}

.crotiria-footer__meta a:hover {
  color: var(--crotiria-color-accent);
}

.crotiria-social {
  transition: transform 180ms ease, opacity 180ms ease;
}

.crotiria-social:hover {
  transform: scale(1.15);
  opacity: 0.85;
}

/* ===== Fix #15: Booking flow button consistency ===== */
body.crotiria-page--booking .btn-outline-secondary {
  --bs-btn-border-color: var(--crotiria-color-sky);
  --bs-btn-color: var(--crotiria-color-primary);
  --bs-btn-hover-bg: color-mix(in srgb, var(--crotiria-color-sky) 18%, transparent);
  --bs-btn-hover-border-color: var(--crotiria-color-primary);
  --bs-btn-hover-color: var(--crotiria-color-primary);
}

body.crotiria-page--booking [data-action="next"]:disabled,
body.crotiria-page--booking [data-action="next"][disabled],
body.crotiria-page--booking .js-floating-btn:disabled,
body.crotiria-page--booking [data-sidebar-step] .btn:disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  filter: grayscale(0.3);
}

/* ===== Fix #20: Larger tap targets for add/remove room on mobile ===== */
@media (max-width: 767.98px) {
  .booking-room-request__actions .btn {
    min-height: 48px;
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
  }
}