/* --------------------------------------------------------------------------
   Apartments Near Baku Airport — single-page styles (HTML + CSS only)
   -------------------------------------------------------------------------- */

:root {
  --bg: #f4f2ed;
  --bg-alt: #e8e4db;
  --surface: #ffffff;
  --ink: #161c2a;
  --ink-muted: #5a6278;
  --accent: #0d6e6e;
  --accent-hover: #0a5656;
  --accent-soft: rgba(13, 110, 110, 0.12);
  --gold: #c9a227;
  --border: rgba(26, 31, 46, 0.1);
  --shadow: 0 20px 56px rgba(26, 31, 46, 0.07);
  --shadow-sm: 0 8px 28px rgba(26, 31, 46, 0.06);
  --shadow-nav: 0 8px 32px rgba(15, 40, 80, 0.09);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --max: 1140px;
  --section-space: clamp(4rem, 8.5vw, 5.75rem);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  /* Hero — WhatsApp-style primary CTA */
  --hero-wa-mid: #25d366;
  --hero-wa-deep: #128c7e;
  /* Fixed header: inner row (logo + padding + border) — spacer must reserve this + safe area */
  --site-header-inner-height: clamp(4.5rem, 11vw, 5.85rem);
  --site-header-offset: calc(
    env(safe-area-inset-top, 0px) + var(--site-header-inner-height)
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--site-header-offset);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  overflow-x: clip;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header — fixed premium bar (Booking-inspired) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 31, 46, 0.08);
  transition: box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.site-header--premium.is-scrolled {
  box-shadow: var(--shadow-nav);
  border-bottom-color: rgba(26, 31, 46, 0.12);
  background: rgba(255, 255, 255, 0.985);
}

.site-header-spacer {
  display: block;
  width: 100%;
  flex-shrink: 0;
  height: var(--site-header-offset);
  min-height: var(--site-header-offset);
  pointer-events: none;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem 0.9rem;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  gap: 0.35rem;
  min-width: 0;
}

.logo-img {
  height: auto;
  max-height: 48px;
  max-width: min(200px, 52vw);
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-img.logo-img--failed {
  display: none !important;
}

.logo-text-fallback {
  display: none;
  max-width: min(14rem, 48vw);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.logo-text-fallback:not([hidden]) {
  display: block;
  line-height: 1.2;
}

.nav-check {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.nav-check:checked ~ .nav-toggle .nav-toggle-bar {
  background: transparent;
}

.nav-check:checked ~ .nav-toggle .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-check:checked ~ .nav-toggle .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-check:focus-visible ~ .nav-toggle {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.header-end {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 0.65rem;
  min-width: 0;
}

.header-end > .site-nav {
  flex: 1;
  min-width: 0;
  justify-content: flex-end;
}

/* Desktop: nav links + chat stay in one band; lang + menu sit to the right (lang always visible on mobile too). */
@media (min-width: 861px) {
  .header-end {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "site-nav lang toggle";
    align-items: center;
    gap: 0.65rem;
  }

  .header-end > .site-nav {
    grid-area: site-nav;
    flex: unset;
    width: 100%;
    min-width: 0;
  }

  .header-end > .lang-switcher {
    grid-area: lang;
  }

  .header-end > .nav-toggle {
    grid-area: toggle;
    justify-self: end;
  }

  html[dir="rtl"] .header-end {
    grid-template-columns: auto auto minmax(0, 1fr);
    grid-template-areas: "toggle lang site-nav";
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav--primary {
  flex: 1;
  min-width: 0;
  justify-content: flex-end;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-primary-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
}

.site-nav--primary .nav-primary-list > li {
  position: relative;
}

.nav-item-has-dropdown {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: var(--accent);
  background: rgba(13, 110, 110, 0.06);
}

.nav-link.is-active {
  color: var(--accent-hover);
  font-weight: 600;
  background: var(--accent-soft);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-item-has-dropdown.is-active-trail .nav-dropdown__btn {
  color: var(--accent-hover);
  background: var(--accent-soft);
}

.nav-dropdown__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.45rem 0.65rem;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-dropdown__btn:hover {
  color: var(--accent);
  background: rgba(13, 110, 110, 0.06);
}

.nav-dropdown__chev {
  display: inline-block;
  font-size: 0.65rem;
  line-height: 1;
  margin-left: 0.1rem;
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.nav-item-has-dropdown:hover .nav-dropdown__chev,
.nav-item-has-dropdown:focus-within .nav-dropdown__chev,
.nav-item-has-dropdown.is-open .nav-dropdown__chev {
  transform: rotate(-180deg);
}

.nav-dropdown__menu {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  min-width: 12.5rem;
  background: var(--surface);
  border: 1px solid rgba(26, 31, 46, 0.1);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(26, 31, 46, 0.12), 0 2px 8px rgba(0, 53, 128, 0.06);
}

.nav-dropdown__link {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown__link:hover {
  background: rgba(13, 110, 110, 0.08);
  color: var(--accent-hover);
}

.nav-dropdown__link.is-active {
  color: var(--accent-hover);
  font-weight: 600;
  background: var(--accent-soft);
}

.nav-dropdown__link--external::after {
  content: " ↗";
  font-size: 0.75rem;
  opacity: 0.6;
}

@media (min-width: 861px) {
  .nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    left: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.5rem) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.28s ease,
      transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 120;
  }

  .nav-item-has-dropdown:hover .nav-dropdown__menu,
  .nav-item-has-dropdown:focus-within .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
}

.site-nav a:not(.nav-link):not(.nav-dropdown__link):not(.btn) {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.btn-nav--header {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  box-shadow: 0 2px 10px rgba(13, 110, 110, 0.25);
}

.header-chat-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.btn-telegram {
  background: #229ed9;
  border-color: #229ed9;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(34, 158, 217, 0.3);
}

.btn-telegram:hover {
  background: #1b8ec4;
  border-color: #1b8ec4;
  color: #fff !important;
  filter: brightness(1.03);
}

.btn-telegram-outline {
  background: rgba(34, 158, 217, 0.1);
  border: 2px solid #229ed9;
  color: #0d6e96 !important;
}

.btn-telegram-outline:hover {
  background: rgba(34, 158, 217, 0.18);
  color: #094a66 !important;
}

/* Pair WhatsApp + Telegram (hero, cards, contact, etc.) */
.chat-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.chat-action-row .btn-lg {
  flex: 1 1 min(12rem, 100%);
  justify-content: center;
}

.chat-action-row--center {
  justify-content: center;
  width: 100%;
}

.apt-card-chat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.apt-card-chat-row .apt-card-book--full {
  width: 100%;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.28);
}

.apt-card-chat-row .btn-telegram-card {
  width: 100%;
  justify-content: center;
  font-weight: 700;
  min-height: 48px;
  border-radius: 12px;
  font-size: 0.82rem;
}

.apt-detail-chat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.apt-detail-chat-row .apt-detail-wa,
.apt-detail-chat-row .apt-detail-tg {
  width: 100%;
  justify-content: center;
  min-height: 48px;
}

.card-chat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.card-chat-row .btn {
  min-height: 44px;
  font-size: 0.8rem;
  justify-content: center;
}

.contact-actions-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.contact-actions-inner .btn-lg {
  flex: 1 1 min(11rem, 100%);
  justify-content: center;
}

.faq-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
}

.faq-cta-row .btn {
  min-width: min(100%, 12rem);
  justify-content: center;
}

.lang-switcher {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.18rem 0.28rem;
  border-radius: 12px;
  background: rgba(26, 31, 46, 0.04);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.lang-flag {
  font-size: 1.1rem;
  line-height: 1;
  display: block;
}

.lang-code {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  color: inherit;
}

.lang-btn {
  margin: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  padding: 0.32rem 0.45rem;
  min-width: 2.75rem;
  min-height: 44px;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  color: var(--ink-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, transform 0.18s ease;
}

.lang-btn:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(13, 110, 110, 0.12);
}

.lang-btn--flag {
  flex-direction: row;
  padding: 0.22rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
}

.lang-flag-emoji {
  font-size: 1.32rem;
  line-height: 1;
  display: block;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  font-family:
    "Segoe UI Emoji",
    "Apple Color Emoji",
    "Noto Color Emoji",
    sans-serif;
}

.lang-btn--flag:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(13, 110, 110, 0.18);
}

.lang-btn--flag:hover .lang-flag-emoji {
  transform: scale(1.08);
  opacity: 0.9;
}

.lang-btn--flag:active .lang-flag-emoji {
  transform: scale(0.96);
  opacity: 1;
}

.lang-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lang-btn-active.lang-btn--flag {
  color: var(--ink);
  background: rgba(13, 110, 110, 0.12);
  border-color: rgba(13, 110, 110, 0.4);
  box-shadow: inset 0 0 0 2px var(--accent);
}

.lang-btn-active.lang-btn--flag:hover {
  color: var(--ink);
  background: rgba(13, 110, 110, 0.16);
  border-color: rgba(13, 110, 110, 0.45);
}

/* Legacy text+column lang buttons (if any) */
.lang-btn-active:not(.lang-btn--flag) {
  color: #fff;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-hover) 100%);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(13, 110, 110, 0.28);
}

.lang-btn-active:not(.lang-btn--flag) .lang-code {
  color: #fff;
}

.lang-btn-active:not(.lang-btn--flag):hover {
  color: #fff;
  background: linear-gradient(145deg, var(--accent-hover) 0%, #084040 100%);
  border-color: transparent;
}

.lang-sep {
  color: rgba(26, 31, 46, 0.2);
  font-size: 0.7rem;
  font-weight: 300;
  user-select: none;
  pointer-events: none;
  flex-shrink: 0;
  padding: 0 0.05rem;
}

/* Arabic (RTL): keep Google Maps embed LTR for stable controls */
html[dir="rtl"] .map-embed-wrap .map-embed,
html[dir="rtl"] iframe[src*="google.com/maps"] {
  direction: ltr;
  unicode-bidi: isolate;
}

@media (min-width: 861px) {
  .header-end > .lang-switcher {
    padding: 0.2rem 0.35rem;
    border-top: none;
    justify-content: flex-end;
  }

  .header-actions .btn-nav--header {
    width: auto;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--ink-muted);
  color: var(--ink);
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  min-height: 48px;
}

@media (max-width: 640px) {
  .btn {
    min-height: 44px;
  }

  .btn-lg {
    min-height: 48px;
  }

  .contact-actions .btn-lg,
  .direct-book-inner .btn-lg {
    width: 100%;
    max-width: 20rem;
    margin-inline: auto;
    display: flex;
  }

  .airbnb-card-body {
    padding: 1.15rem 1.15rem 1.35rem;
  }
}

.btn-nav {
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .header-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
  }

  .header-end > .site-nav {
    flex: 0 0 auto;
  }

  .header-end > .lang-switcher {
    flex-shrink: 0;
    z-index: 101;
    position: relative;
  }

  .nav-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 110;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem max(1.25rem, env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 48px rgba(26, 31, 46, 0.12);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.35rem);
    transition:
      max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.32s ease,
      visibility 0.32s ease,
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .nav-check:checked ~ .site-nav {
    max-height: min(88vh, 640px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    will-change: max-height;
  }

  .nav-primary-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding-bottom: 0.5rem;
  }

  .nav-link,
  .nav-dropdown__btn {
    width: 100%;
    justify-content: flex-start;
    padding: 0.6rem 0.5rem;
  }

  .nav-dropdown__menu {
    display: none;
    margin-top: 0.25rem;
    margin-left: 0.5rem;
    border-radius: 10px;
    box-shadow: none;
    border: 1px solid var(--border);
  }

  .nav-item-has-dropdown.is-open .nav-dropdown__menu {
    display: block;
  }

  .nav-dropdown__link {
    padding: 0.5rem 0.85rem;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding-top: 0.85rem;
    margin-top: 0.35rem;
    border-top: 1px solid var(--border);
  }

  .header-actions .header-chat-btns {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a.nav-link {
    display: flex;
    padding: 0.6rem 0.5rem;
  }

  .btn-nav {
    width: 100%;
  }
}

/* Hero — luxury centered layout */
@keyframes hero-reveal {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-wa-glow {
  0%,
  100% {
    box-shadow:
      0 6px 32px rgba(37, 211, 102, 0.5),
      0 2px 12px rgba(0, 0, 0, 0.25),
      0 0 0 0 rgba(37, 211, 102, 0.35);
  }
  50% {
    box-shadow:
      0 10px 44px rgba(37, 211, 102, 0.6),
      0 4px 16px rgba(0, 0, 0, 0.3),
      0 0 40px 6px rgba(37, 211, 102, 0.28);
  }
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: clamp(32rem, 88svh, 52rem);
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(4rem, 11vw, 6.5rem);
  overflow: hidden;
}

.hero-content {
  width: 100%;
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

.hero-subhead {
  margin-left: auto;
  margin-right: auto;
}

.hero-features,
.hero-badges,
.hero-actions {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-content {
    max-width: 48rem;
  }

  .hero-features {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content .hero-feature {
    align-items: center;
    text-align: center;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg__image {
  position: absolute;
  inset: -8%;
  background-image: url("/images/placeholder.svg");
  background-size: cover;
  background-position: center 40%;
  filter: blur(14px) saturate(1.05);
  transform: scale(1.06);
}

.hero-bg__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 20%, rgba(13, 110, 110, 0.22), transparent 55%),
    radial-gradient(ellipse 80% 60% at 80% 80%, rgba(201, 162, 39, 0.12), transparent 50%),
    linear-gradient(168deg, rgba(6, 10, 18, 0.88) 0%, rgba(12, 20, 32, 0.82) 42%, rgba(4, 8, 14, 0.94) 100%);
  pointer-events: none;
}

.hero-bg__veil::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.9;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 14, 0.55) 0%,
    rgba(4, 12, 22, 0.35) 42%,
    rgba(2, 8, 18, 0.88) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-reveal {
  opacity: 0;
  animation: hero-reveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-reveal--0 {
  animation-delay: 0.02s;
}

.hero-reveal--1 {
  animation-delay: 0.08s;
}

.hero-reveal--2 {
  animation-delay: 0.18s;
}

.hero-reveal--3 {
  animation-delay: 0.3s;
}

.hero-reveal--4 {
  animation-delay: 0.4s;
}

.hero-reveal--5 {
  animation-delay: 0.5s;
}

.hero-reveal--6 {
  animation-delay: 0.62s;
}

.hero-reveal--7 {
  animation-delay: 0.78s;
}

.hero-headline {
  margin: 0 0 1rem;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.45);
  font-size: clamp(2rem, 5.5vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-subhead {
  margin: 0 auto 1.75rem;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  max-width: 38rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero-features {
  list-style: none;
  margin: 0 auto 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  max-width: 40rem;
  justify-items: stretch;
}

@media (min-width: 640px) {
  .hero-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

@media (min-width: 768px) {
  .hero-content .hero-feature {
    align-items: center;
    text-align: center;
  }
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.hero-feature:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.hero-feature__ic {
  font-size: 1.65rem;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.hero-feature__text {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

@media (min-width: 640px) {
  .hero-feature__text {
    font-size: 0.8rem;
  }
}

.hero-badges {
  list-style: none;
  margin: 0 auto 1.85rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem 0.65rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge__ic {
  font-size: 0.95rem;
  line-height: 1;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35));
}

.hero-badge__star {
  color: var(--gold);
  font-size: 0.65rem;
  line-height: 1;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

.hero-actions .btn,
.choose-us__cta .btn {
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease,
    border-color 0.22s ease, color 0.22s ease;
  min-width: min(100%, 15rem);
}

.choose-us__cta .btn {
  white-space: normal;
  line-height: 1.35;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.hero-actions .btn:hover,
.choose-us__cta .btn:hover {
  transform: translateY(-3px);
}

.hero-actions .btn:active,
.choose-us__cta .btn:active {
  transform: translateY(-1px) scale(0.99);
}

.hero-actions .btn-hero-primary.btn-primary,
.choose-us__cta .btn-hero-primary.btn-primary {
  border: none;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    #3ddf7a 0%,
    var(--hero-wa-mid) 38%,
    var(--hero-wa-deep) 100%
  );
  color: #fff;
}

.hero-actions .btn-hero-wa-glow.btn-hero-primary,
.choose-us__cta .btn-hero-wa-glow.btn-hero-primary {
  animation: hero-wa-glow 3.2s ease-in-out infinite;
}

.hero-actions .btn-hero-primary.btn-primary:hover,
.choose-us__cta .btn-hero-primary.btn-primary:hover {
  color: #fff;
  background: linear-gradient(
    135deg,
    #4ae888 0%,
    #2fdc75 40%,
    var(--hero-wa-mid) 100%
  );
}

.hero-actions .btn-hero-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.hero-actions .btn-hero-secondary:hover,
.hero-actions .btn-hero-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.95);
  color: #fff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

@media (max-width: 639px) {
  .btn-hero-primary,
  .btn-hero-secondary,
  .choose-us__cta .btn-hero-primary {
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
    justify-content: center;
  }

  .hero-headline {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .hero-subhead {
    margin-bottom: 1.5rem;
  }

  .hero-badges {
    margin-bottom: 1.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-reveal {
    opacity: 1;
    animation: none;
    transform: none;
  }

  .hero-actions .btn-hero-wa-glow.btn-hero-primary,
  .choose-us__cta .btn-hero-wa-glow.btn-hero-primary {
    animation: none;
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45), 0 0 24px rgba(37, 211, 102, 0.2);
  }

  .hero-actions .btn:hover,
  .choose-us__cta .btn:hover {
    transform: none;
  }

  .hero-feature:hover {
    transform: none;
  }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-hover);
  background: var(--surface);
  border-radius: 999px;
  border: 1px solid var(--border);
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 38rem;
  margin-bottom: 1.75rem;
}

/* Urgency strip */
.urgency-strip {
  background: linear-gradient(90deg, #1a2f2e 0%, #0d4a4a 50%, #1a2f2e 100%);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.88rem;
  padding: 0.65rem 0;
  text-align: center;
}

.urgency-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

.urgency-item-muted {
  opacity: 0.85;
  font-size: 0.82rem;
}

@media (max-width: 560px) {
  .urgency-strip-inner {
    flex-direction: column;
    gap: 0.35rem;
  }
}

/* Direct booking banner */
.direct-book-banner {
  padding-block: clamp(2rem, 5vw, 2.75rem);
}

.section--book-stay {
  padding-block: clamp(2rem, 5vw, 2.85rem);
}

.book-stay-direct {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(13, 110, 110, 0.12);
}

.book-preview-actions {
  margin-top: 0.35rem;
}

.book-stay-trust {
  list-style: none;
  margin: 0 auto 1.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.65rem;
  max-width: 52rem;
}

.book-stay-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.3;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(13, 110, 110, 0.18);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(26, 31, 46, 0.05);
}

.book-stay-trust__ic {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #0d6e6e 0%, #0a5558 100%);
  border-radius: 50%;
}

@media (min-width: 640px) {
  .apartments-grid--preview.apartments-grid--premium {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
  }
}

.direct-book-inner {
  background: linear-gradient(135deg, var(--surface) 0%, #f0faf9 100%);
  border: 1px solid rgba(13, 110, 110, 0.22);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.direct-book-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 1rem;
  line-height: 1.25;
}

.direct-book-perks {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.direct-book-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.direct-book-check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

@media (min-width: 520px) {
  .direct-book-perks {
    align-items: center;
  }
}

/* Why choose us */
.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 40rem;
}

.choose-us--seo .section-head--center {
  max-width: 46rem;
}

.choose-us__head {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.choose-us__intro {
  margin-top: 0.5rem;
}

.choose-us__intro .choose-us__lead:first-of-type {
  margin-top: 0.65rem;
}

.choose-us__lead {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.62;
  color: var(--ink-muted);
}

.choose-us__lead--2 {
  margin-top: 0.55rem;
}

.choose-us__lead strong {
  color: var(--ink);
  font-weight: 600;
}

.choose-us__more {
  margin: 0 auto clamp(1.25rem, 3vw, 1.75rem);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 36rem;
}

.choose-us__more a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.choose-us__more a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.choose-benefits {
  list-style: none;
  margin: 0 0 clamp(1.75rem, 3.5vw, 2.5rem);
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
}

@media (min-width: 560px) {
  .choose-benefits {
    gap: 1.05rem;
  }
}

.choose-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0;
  padding: 1.1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}

.choose-benefit:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 110, 110, 0.28);
  box-shadow: 0 18px 40px rgba(26, 31, 46, 0.1);
}

.choose-benefit__ic {
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-top: 0.05rem;
}

.choose-benefit__text {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}

.choose-benefit__text strong {
  font-weight: 700;
  color: var(--ink);
}

.choose-meta__heading {
  margin: clamp(0.25rem, 1vw, 0.5rem) 0 1.15rem;
  text-align: center;
  font-size: clamp(1rem, 2.1vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.choose-meta {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 680px) {
  .choose-meta {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    align-items: stretch;
  }
}

.choose-meta__card {
  margin: 0;
  padding: 1.1rem 1.2rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}

.choose-meta__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.choose-meta__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.choose-meta__text strong {
  color: var(--ink);
  font-weight: 600;
}

.choose-us__cta {
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  display: flex;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .choose-benefit:hover {
    transform: none;
  }
}

/* Sections */
.section {
  padding: var(--section-space) 0;
}

.section-premium {
  position: relative;
}

.section-lead {
  max-width: 38rem;
  margin-inline: auto;
  color: var(--ink-muted);
  line-height: 1.65;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head p {
  color: var(--ink-muted);
  margin: 0;
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 320px;
  }

  .split-reverse {
    grid-template-columns: 320px 1fr;
  }

  .split-reverse > aside {
    grid-column: 1;
    grid-row: 1;
  }

  .split-reverse > div {
    grid-column: 2;
    grid-row: 1;
  }
}

.prose:last-child {
  margin-bottom: 0;
}

.checklist {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  color: var(--ink-muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
}

.panel-accent {
  border-color: rgba(13, 110, 110, 0.25);
  background: linear-gradient(160deg, #fff 0%, #f0faf9 100%);
}

.facts {
  margin: 0;
}

.facts > div {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.facts > div:first-child {
  padding-top: 0;
}

.facts > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.facts dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}

.facts dd {
  margin: 0;
  font-weight: 500;
}

/* Amenities */
.amenity-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.amenity-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.amenity-card:hover {
  border-color: rgba(13, 110, 110, 0.35);
  box-shadow: var(--shadow);
}

.amenity-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.amenity-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* Gallery — uniform tiles, same aspect ratio (no stretching; object-fit: cover) */
.gallery-grid {
  display: grid;
  gap: clamp(0.75rem, 2vw, 1.125rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.gallery-img-link {
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 4 / 3;
  position: relative;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.gallery-img-link:hover {
  border-color: rgba(13, 110, 110, 0.35);
  box-shadow: var(--shadow);
}

.gallery-img-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Homepage #gallery — minimal preview strip (Airbnb-style); full set in GLightbox */
#gallery.section {
  padding-top: clamp(1.5rem, 3vw, 2rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

#gallery .container {
  max-width: min(100%, 52rem);
}

#gallery:has(.gallery-grid--by-apartment) .container {
  max-width: min(100%, 72rem);
}

#gallery:has(.gallery-grid--single-hero) .container {
  max-width: min(100%, 58rem);
}

/* Grouped apartment gallery — 1 col mobile, 3 col desktop */
.gallery-grid.gallery-grid--by-apartment {
  display: block;
  width: 100%;
  max-width: min(100%, 72rem);
  margin-inline: auto;
}

.gallery-grid--single-hero {
  max-width: min(100%, 58rem);
}

/* One large centered cover — full library opens in lightbox */
.gallery-single-wrap {
  width: 100%;
  max-width: min(100%, 56rem);
  margin: 0 auto;
}

.gallery-single-wrap .gallery-apt-item {
  margin: 0;
}

.gallery-single-wrap .gallery-global-hero.gallery-hero-open,
.gallery-single-wrap .gallery-apt-thumb.gallery-hero-open {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: clamp(13.5rem, 42vw, 22rem);
  max-height: min(70vh, 34rem);
  border-radius: var(--radius-lg);
  border-width: 1px;
  box-shadow:
    0 16px 48px rgba(26, 31, 46, 0.12),
    0 6px 20px rgba(13, 110, 110, 0.1);
}

.gallery-apartment-block {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.gallery-apartment-block:last-child {
  margin-bottom: 0;
}

.gallery-apartment-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  font-weight: 700;
  margin: 0 0 0.85rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  letter-spacing: -0.02em;
}

.gallery-apartment-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .gallery-apartment-grid:not(.gallery-apartment-grid--extras) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

/* Extra photos: kept in DOM for lightbox, not shown until cover fails */
.gallery-apartment-grid--extras {
  display: none !important;
}

.gallery-apartment-grid--fallback {
  display: grid !important;
  margin-top: 0.85rem;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .gallery-apartment-grid--fallback {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

.gallery-hero-count {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: rgba(22, 28, 42, 0.88);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 2;
}

.gallery-hero-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem 0.65rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.62) 100%);
  pointer-events: none;
  z-index: 1;
}

.gallery-apt-item {
  margin: 0;
  min-width: 0;
}

.gallery-apt-item.is-broken {
  display: none !important;
}

.gallery-apt-thumb {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-alt);
  aspect-ratio: 4 / 3;
  position: relative;
  transition:
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.gallery-apt-thumb:hover {
  border-color: rgba(13, 110, 110, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.gallery-apt-thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.gallery-apt-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-apt-thumb:hover .gallery-apt-img {
  transform: scale(1.02);
}

.gallery-empty {
  text-align: center;
  color: var(--ink-muted);
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

#gallery .section-head {
  margin-bottom: 0.55rem;
}

#gallery .section-head p {
  margin-bottom: 0.25rem;
  max-width: 34rem;
  margin-inline: auto;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* Single cover preview — compact hotel-style hero tile */
#gallery .gallery-grid.gallery-grid--preview {
  gap: 0;
  grid-template-columns: 1fr;
  max-width: min(100%, 48rem);
  margin-inline: auto;
}

#gallery .gallery-grid.gallery-grid--preview.gallery-grid--cover {
  max-width: min(100%, 46rem);
}

/* Mosaic preview — multiple clickable tiles */
#gallery .gallery-grid.gallery-grid--preview.gallery-grid--mosaic {
  gap: clamp(0.65rem, 1.5vw, 0.95rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: min(100%, 56rem);
  margin-inline: auto;
}

@media (min-width: 640px) {
  #gallery .gallery-grid.gallery-grid--preview.gallery-grid--mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-item--thumb {
  margin: 0;
}

.gallery-preview-btn--thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  min-height: 0;
  height: auto;
}

.gallery-preview-btn--thumb .gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.gallery-cover-overlay--compact {
  padding: 0.55rem 0.65rem 0.65rem;
  justify-content: flex-end;
}

.gallery-cover-overlay--compact .gallery-cover-badge {
  font-size: 0.62rem;
  padding: 0.28rem 0.55rem;
}

.gallery-cover-overlay--compact .gallery-cover-cta {
  font-size: 0.8rem;
}

.gallery-item--preview {
  margin: 0;
}

.gallery-item--cover {
  width: 100%;
}

.gallery-preview-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--bg-alt);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  position: relative;
  transition:
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.gallery-preview-btn--cover {
  aspect-ratio: unset;
  border-radius: var(--radius-lg);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
  min-height: 11rem;
  height: clamp(11.25rem, 32vw, 17.5rem);
}

.gallery-preview-btn--cover .gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.gallery-cover-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.85rem 1rem 1rem;
  background: linear-gradient(
    180deg,
    rgba(22, 28, 42, 0) 35%,
    rgba(22, 28, 42, 0.55) 72%,
    rgba(22, 28, 42, 0.82) 100%
  );
  pointer-events: none;
}

.gallery-cover-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  line-height: 1.2;
}

.gallery-cover-cta {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
  line-height: 1.3;
}

.gallery-preview-btn:hover {
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.gallery-preview-btn--cover:hover {
  border-color: rgba(13, 110, 110, 0.35);
  box-shadow: var(--shadow);
}

.gallery-preview-btn:hover .gallery-img,
.gallery-preview-btn:focus-visible .gallery-img {
  transform: scale(1.04);
}

.gallery-preview-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.gallery-preview-btn .gallery-img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-preview-btn {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .gallery-preview-btn:hover {
    transform: none;
  }

  .gallery-preview-btn:hover .gallery-img,
  .gallery-preview-btn:focus-visible .gallery-img {
    transform: none;
  }

  .gallery-preview-btn .gallery-img {
    transition: none;
  }
}

/* GLightbox overlay above sticky header */
.glightbox-container {
  z-index: 999999;
}

.gallery-img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.gallery-img.img-placeholder-active {
  object-fit: contain;
  padding: 1rem;
  box-sizing: border-box;
  background: var(--bg-alt);
}

.gallery-img-link:hover .gallery-img,
.gallery-img-link:focus-visible .gallery-img {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-img {
    transition: none;
  }

  .gallery-img-link:hover .gallery-img,
  .gallery-img-link:focus-visible .gallery-img {
    transform: none;
  }
}

.gallery-item figcaption {
  margin-top: 0.45rem;
  font-size: clamp(0.78rem, 2vw, 0.85rem);
  color: var(--ink-muted);
  line-height: 1.35;
}

.gallery-item figcaption a {
  font-weight: 600;
}

/* Airbnb listing cards */
.airbnb-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.airbnb-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.listing-card {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(26, 31, 46, 0.14);
  border-color: rgba(13, 110, 110, 0.28);
}

.listing-popular-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  margin: 0;
  padding: 0.3rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, #c9a227 0%, #a67c00 100%);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.airbnb-card-media {
  display: block;
  height: 16rem;
  min-height: 16rem;
  overflow: hidden;
  background: var(--bg-alt);
  text-decoration: none;
  color: inherit;
  cursor: zoom-in;
}

.airbnb-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.airbnb-card-media:hover img {
  transform: scale(1.08);
}

.listing-card-media:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.listing-card-media:focus-visible img {
  transform: scale(1.08);
}

.airbnb-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.airbnb-card-body h3 {
  margin-bottom: 0.35rem;
}

.airbnb-card-body > p:not(.listing-price-line):not(.listing-value-line):not(.listing-wa-urgency) {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  word-break: break-all;
}

.listing-price-line {
  margin: 0 0 0.85rem !important;
  font-size: 0.95rem;
  color: var(--ink-muted) !important;
  word-break: normal !important;
}

.listing-price-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin: 0 0.15rem;
}

.listing-price-cur {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
}

.listing-price-per {
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.listing-specs {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.75rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.listing-specs li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.listing-spec-ic {
  font-size: 1rem;
  line-height: 1;
}

.listing-value-line {
  margin: 0 0 0.65rem !important;
  font-size: 0.88rem !important;
  font-style: italic;
  color: var(--accent-hover) !important;
  font-weight: 500;
  word-break: normal !important;
}

.listing-highlights {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0.55rem 0.75rem;
  background: var(--accent-soft);
  border-radius: 10px;
  border: 1px solid rgba(13, 110, 110, 0.15);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-hover);
}

.listing-highlights li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.35rem;
}

.listing-highlights li:last-child {
  margin-bottom: 0;
}

.listing-highlights li::before {
  content: "✦";
  position: absolute;
  left: 0;
  font-size: 0.65rem;
  top: 0.2em;
  opacity: 0.85;
}

.btn-wa-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 1rem;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border-radius: 12px;
  background: #25d366;
  border: 1px solid #1fb855;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-wa-card:hover {
  background: #1ebe5a;
  border-color: #18a34d;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
}

.listing-wa-urgency {
  margin: 0 0 1rem !important;
  font-size: 0.78rem !important;
  color: var(--ink-muted) !important;
  text-align: center;
  font-style: italic;
}

.listing-actions {
  margin-bottom: 0.85rem;
}

.btn-view-details {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border-radius: 12px;
  background: var(--ink);
  border: 2px solid var(--ink);
  color: #fff !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-view-details:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff !important;
}

@media (prefers-reduced-motion: reduce) {
  .listing-card:hover {
    transform: none;
  }

  .airbnb-card-media:hover img,
  .listing-card-media:focus-visible img {
    transform: none;
  }

  .listing-card-media:focus-visible {
    outline-width: 2px;
  }

  .btn-wa-card:hover {
    transform: none;
  }
}

.listing-tagline {
  margin-bottom: 1rem !important;
  word-break: normal !important;
  font-style: italic;
}

.listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-ota {
  flex: 1 1 auto;
  min-width: 8.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  justify-content: center;
}

.btn-booking {
  background: #003580;
  border-color: #003580;
  color: #fff;
}

.btn-booking:hover {
  background: #00224d;
  border-color: #00224d;
  color: #fff;
}

.btn-airbnb-ota {
  background: #ff385c;
  border-color: #ff385c;
  color: #fff;
}

.btn-airbnb-ota:hover {
  background: #e31c5f;
  border-color: #e31c5f;
  color: #fff;
}

.btn-sm {
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  border-radius: 10px;
}

/* Book / apartments — shared CTA row */
.book-cta-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  justify-content: center;
  align-items: center;
  max-width: 36rem;
  margin: 0 auto 1.25rem;
}

.book-cta-panel .btn-lg {
  min-width: min(100%, 14rem);
}

.book-cta-wa {
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.book-cta-note--under-grid {
  margin-top: 1rem;
}

.book-cta-note {
  max-width: 34rem;
  margin: 0 auto;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* Apartments grid (cards + slider) */
.apartments-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 480px) {
  .apartments-grid:not(.apartments-grid--premium) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .apartments-grid:not(.apartments-grid--premium) {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Apartments — hotel-style premium cards */
.section--apartments-rich {
  background: linear-gradient(180deg, rgba(13, 110, 110, 0.045) 0%, var(--bg) 38%, var(--bg) 100%);
}

.section-head--apartments .section-lead--apartments {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.apartments-grid--premium {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 900px) {
  .apartments-grid--premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem;
  }
}

/* Book your stay / main apartments: mobile 1 col, tablet 2, desktop 3 (6 cards = 3×2) */
.section--book-stay #apartments-grid.apartments-grid--premium {
  align-items: stretch;
}

.section--book-stay #apartments-grid.apartments-grid--premium > .apt-card--booking {
  height: 100%;
  min-height: 0;
}

.section--book-stay #apartments-grid.apartments-grid--premium .apt-booking-desc {
  flex: 1 1 auto;
  min-height: 0;
}

@media (min-width: 640px) {
  .section--book-stay .apartments-grid--premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.65rem 1.35rem;
  }
}

@media (min-width: 1100px) {
  .section--book-stay .apartments-grid--premium {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem 1.5rem;
  }
}

.apt-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(26, 31, 46, 0.08), 0 2px 8px rgba(26, 31, 46, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease,
    border-color 0.22s ease;
}

.apt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(26, 31, 46, 0.14), 0 8px 20px rgba(13, 110, 110, 0.08);
  border-color: rgba(13, 110, 110, 0.2);
}

/* Apartments — booking-style homepage cards */
.apt-card.apt-card--booking {
  border-radius: calc(var(--radius-lg) + 6px);
  border-color: rgba(26, 31, 46, 0.09);
  box-shadow:
    0 20px 48px rgba(26, 31, 46, 0.1),
    0 6px 18px rgba(13, 110, 110, 0.06);
}

.apt-card.apt-card--booking:hover {
  transform: translateY(-5px);
  box-shadow:
    0 28px 64px rgba(26, 31, 46, 0.13),
    0 10px 26px rgba(13, 110, 110, 0.09);
}

/* Book Your Stay — homepage preview: Booking.com–inspired price + chat CTAs */
.apt-card.apt-card--book-preview {
  border: 1px solid rgba(0, 52, 128, 0.14);
  box-shadow:
    0 22px 50px rgba(0, 36, 77, 0.09),
    0 8px 22px rgba(13, 110, 110, 0.07);
}

.apt-card.apt-card--book-preview:hover {
  border-color: rgba(0, 52, 128, 0.22);
  box-shadow:
    0 28px 60px rgba(0, 36, 77, 0.12),
    0 10px 28px rgba(13, 110, 110, 0.1);
}

.apt-card--book-preview .apt-booking-body {
  gap: 0.65rem;
  padding: 1.35rem 1.4rem 1.5rem;
  background: linear-gradient(180deg, #fafcfd 0%, var(--surface) 55%);
}

.apt-card--book-preview .apt-booking-title {
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
}

.apt-card--book-preview .apt-booking-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.apt-booking-price--promo {
  margin: 0.35rem 0 0.2rem;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(135deg, #f4f8ff 0%, #eef6f6 100%);
  border: 1px solid rgba(0, 52, 128, 0.12);
  border-radius: 12px;
  display: block;
}

.apt-booking-price--promo .apt-booking-price-from,
.apt-booking-price--promo .apt-booking-price-cur,
.apt-booking-price--promo .apt-booking-price-per {
  font-size: 0.82rem;
  font-weight: 650;
  color: #5a6578;
}

.apt-booking-price--promo .apt-booking-price-num {
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  font-weight: 800;
  color: #003580;
  letter-spacing: -0.02em;
  margin: 0 0.15rem;
}

.apt-booking-price--promo .apt-booking-price-text {
  font-size: 1.12rem;
  font-weight: 800;
  color: #003580;
}

.apt-booking-price--promo.apt-booking-price--plain {
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  font-weight: 800;
  color: #003580;
  text-align: center;
}

.apt-book-preview-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.15rem;
}

@media (max-width: 380px) {
  .apt-book-preview-cta-row {
    grid-template-columns: 1fr;
  }
}

.apt-book-preview-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 46px;
  padding: 0.55rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.apt-book-preview-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.apt-book-preview-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.apt-book-preview-btn--wa {
  color: #fff !important;
  background: linear-gradient(165deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 4px 14px rgba(18, 140, 126, 0.35);
}

.apt-book-preview-btn--tg {
  color: #fff !important;
  background: linear-gradient(165deg, #37aee2 0%, #1c8bc9 100%);
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.35);
}

.apt-card--book-preview .apt-booking-details-btn {
  margin-top: 0.15rem;
  font-weight: 650;
  border-color: rgba(0, 52, 128, 0.2);
}

.apt-booking-media {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #1e2433 0%, #2a3142 100%);
  padding: 0.65rem;
}

.apt-booking-hero-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  background: #1a1f2e;
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.24),
    0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.apt-booking-hero-open:hover {
  transform: scale(1.01);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.28),
    0 4px 14px rgba(13, 110, 110, 0.12);
}

.apt-booking-hero-open:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.apt-booking-hero-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 12rem;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
}

.apt-booking-transfer-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  max-width: min(11.5rem, calc(100% - 3.5rem));
  padding: 0.28rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #fff;
  text-align: left;
  background: linear-gradient(145deg, #25d366 0%, #128c7e 100%);
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.apt-booking-transfer-badge__ic {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
}

.apt-booking-transfer-badge__ic svg {
  display: block;
}

.apt-booking-transfer-badge__text {
  min-width: 0;
}

.apt-booking-transfer-badge--in-stack {
  position: relative;
  top: auto;
  left: auto;
  max-width: 100%;
}

.apt-booking-hero-badges-col {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  max-width: min(13.5rem, calc(100% - 3.5rem));
  pointer-events: none;
}

.apt-booking-mini-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.48rem;
  font-size: 0.66rem;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #fff;
  text-align: left;
  background: rgba(22, 28, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
}

/* Stack under the gold “Featured” pill (same corner on the card) */
.apt-card--booking-featured .apt-booking-transfer-badge:not(.apt-booking-transfer-badge--in-stack) {
  top: 2.15rem;
}

.apt-card--booking-featured .apt-booking-hero-badges-col {
  top: 2.15rem;
}

.apt-booking-hero-count {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  min-width: 1.85rem;
  height: 1.85rem;
  padding: 0 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: rgba(22, 28, 42, 0.88);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 2;
}

.apt-booking-hero-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.75rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 650;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
  z-index: 1;
}

.apt-booking-icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.4rem;
  margin-top: 0.7rem;
  justify-content: stretch;
}

.apt-booking-icon-tile {
  flex: 1 1 calc(50% - 0.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  min-height: 3.75rem;
  min-width: 0;
  padding: 0.42rem 0.3rem 0.38rem;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

@media (min-width: 380px) {
  .apt-booking-icon-tile {
    flex: 1 1 0;
    min-height: 3.5rem;
  }
}

.apt-booking-icon-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 2px 10px rgba(0, 0, 0, 0.12);
}

.apt-booking-icon-label {
  display: block;
  max-width: 100%;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.96);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.apt-booking-icon-tile:hover:not(.apt-booking-icon-tile--disabled) {
  transform: translateY(-3px);
  filter: saturate(1.08) brightness(1.04);
}

.apt-booking-icon-tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.apt-booking-icon-tile--disabled {
  cursor: not-allowed;
  opacity: 0.42;
  filter: grayscale(0.35);
  pointer-events: none;
}

.apt-booking-icon-tile--booking {
  color: #fff;
  background: linear-gradient(165deg, #004494 0%, #00224d 48%, #001a3d 100%);
  box-shadow:
    0 6px 18px rgba(0, 34, 77, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.apt-booking-icon-tile--airbnb {
  color: #fff;
  background: linear-gradient(165deg, #ff5a7d 0%, #e31c5f 52%, #c41e5c 100%);
  box-shadow:
    0 6px 18px rgba(227, 28, 95, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.apt-booking-icon-tile--wa {
  color: #fff;
  background: linear-gradient(165deg, #34e27b 0%, #20bd5a 45%, #128c7e 100%);
  box-shadow:
    0 6px 18px rgba(18, 140, 126, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.apt-booking-icon-tile--tg {
  color: #fff;
  background: linear-gradient(165deg, #37aee2 0%, #229ed9 48%, #1c8bc9 100%);
  box-shadow:
    0 6px 18px rgba(34, 158, 217, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.apt-booking-icon-svg {
  width: 1.38rem;
  height: 1.38rem;
  display: block;
}

.apt-booking-icon-svg--booking {
  width: 1.5rem;
  height: 1.5rem;
}

.apt-booking-icon-svg text {
  user-select: none;
  pointer-events: none;
}

.apt-booking-top-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0 0 0.1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.apt-booking-top-info__line {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--ink-muted);
}

.apt-booking-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.2rem 1.35rem 1.45rem;
  flex: 1;
  min-height: 0;
}

.apt-booking-title {
  margin: 0;
  font-size: clamp(1.1rem, 2.4vw, 1.34rem);
  font-weight: 750;
  line-height: 1.28;
  color: var(--ink);
}

.apt-booking-distance-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

.apt-booking-ota-text-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.apt-booking-ota-text-row--single {
  grid-template-columns: 1fr;
}

.apt-booking-ota-text {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.5rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  color: #fff !important;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    box-shadow 0.18s ease;
}

.apt-booking-ota-text:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.apt-booking-ota-text:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.apt-booking-ota-text--booking {
  background: linear-gradient(165deg, #004494 0%, #00224d 100%);
  box-shadow: 0 6px 18px rgba(0, 34, 77, 0.32);
}

.apt-booking-ota-text--airbnb {
  background: linear-gradient(165deg, #ff5a7d 0%, #e31c5f 52%, #c41e5c 100%);
  box-shadow: 0 6px 18px rgba(227, 28, 95, 0.32);
}

@media (max-width: 480px) {
  .apt-booking-ota-text-row {
    grid-template-columns: 1fr;
  }
}

.apt-booking-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.apt-booking-guests {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--accent-hover);
}

.apt-booking-guests-ic {
  line-height: 1;
  opacity: 0.9;
}

.apt-booking-price {
  margin: 0.1rem 0 0.15rem;
  font-size: 1.02rem;
  line-height: 1.4;
}

.apt-booking-price-from,
.apt-booking-price-cur,
.apt-booking-price-per {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--ink-muted);
}

.apt-booking-price-num {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--accent-hover);
  margin: 0 0.12rem;
}

.apt-booking-price-text {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--accent-hover);
}

.apt-booking-wa {
  margin-top: 0.2rem;
  width: 100%;
  max-width: 100%;
  border-radius: 14px;
}

.apt-booking-details-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 1rem;
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
  text-align: center;
  color: var(--ink) !important;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 14px;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    transform 0.15s ease;
}

.apt-booking-details-btn:hover {
  border-color: rgba(13, 110, 110, 0.45);
  color: var(--accent-hover) !important;
  background: rgba(13, 110, 110, 0.06);
}

.apt-booking-details-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.apt-booking-details-btn--disabled {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 1rem;
  font-size: 0.94rem;
  font-weight: 650;
  text-align: center;
  color: var(--ink-muted);
  background: var(--bg-alt);
  border: 2px dashed var(--border);
  border-radius: 14px;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.72;
}

.apt-booking-price--plain {
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.4;
  color: var(--accent-hover);
}

.apt-booking-ota-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 0.45rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
}

.apt-booking-ota-link {
  width: 100%;
}

.apt-booking-ota-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.45rem 0.5rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: 10px;
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 380px) {
  .apt-booking-ota-row {
    grid-template-columns: 1fr;
  }
}

.apt-card.apt-card--listing {
  border-radius: calc(var(--radius-lg) + 4px);
  border-color: rgba(13, 110, 110, 0.12);
  box-shadow:
    0 22px 56px rgba(26, 31, 46, 0.1),
    0 10px 32px rgba(13, 110, 110, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.apt-card.apt-card--listing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(13, 110, 110, 0.55) 50%, var(--gold) 100%);
  z-index: 2;
  pointer-events: none;
}

.apt-card.apt-card--listing:hover {
  transform: translateY(-5px);
  box-shadow:
    0 32px 72px rgba(26, 31, 46, 0.14),
    0 14px 40px rgba(13, 110, 110, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-color: rgba(13, 110, 110, 0.22);
}

.apt-card.apt-card--listing-premium::before {
  background: linear-gradient(90deg, var(--gold) 0%, #a67c00 50%, var(--accent) 100%);
}

.apt-card-badge--gold {
  background: linear-gradient(135deg, #c9a227 0%, #8a6d1a 100%);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.38);
}

.apt-card-media-shell {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #222831 0%, var(--bg-alt) 100%);
  padding: 0.7rem 0.7rem 0.55rem;
}

.apartments-grid--premium .apt-card-slider .apt-slider-viewport {
  height: auto;
  min-height: 12.5rem;
  aspect-ratio: 16 / 10;
  max-height: 21rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.24),
    0 2px 12px rgba(0, 0, 0, 0.06);
}

.apartments-grid--premium .apt-card--booking .apt-booking-hero-img {
  aspect-ratio: 4 / 3;
  min-height: 12.5rem;
}

.apt-card-slider--single .apt-slider-nav {
  display: none;
}

.apt-card-thumb-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-top: 0.55rem;
  padding-bottom: 0.1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.apt-card-thumb-strip::-webkit-scrollbar {
  height: 5px;
}

.apt-card-thumb-strip::-webkit-scrollbar-thumb {
  background: rgba(13, 110, 110, 0.35);
  border-radius: 999px;
}

.apt-card-thumb {
  flex: 0 0 4.35rem;
  width: 4.35rem;
  height: 3.25rem;
  padding: 0;
  margin: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.apt-card-thumb:hover {
  transform: translateY(-2px);
}

.apt-card-thumb.is-active {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px rgba(13, 110, 110, 0.28),
    0 6px 18px rgba(13, 110, 110, 0.18);
}

.apt-card-thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.apt-card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.apt-card-body--listing {
  padding: 1.35rem 1.35rem 1.5rem;
  gap: 0.85rem;
  background: var(--surface);
}

.apt-card-title--listing {
  text-align: left;
  font-size: clamp(1.1rem, 2.5vw, 1.32rem);
  margin: 0;
  line-height: 1.28;
}

.apt-card-desc--listing {
  text-align: left;
  font-size: 0.94rem;
  line-height: 1.58;
  color: var(--ink-muted);
  margin: 0;
}

.apt-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  margin: 0.1rem 0 0.2rem;
}

.apt-card-spec {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.38rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border: 1px solid rgba(13, 110, 110, 0.14);
  border-radius: 999px;
  max-width: 100%;
}

.apt-card-spec-ic {
  flex-shrink: 0;
  line-height: 1;
  opacity: 0.92;
}

.apt-card-spec-text {
  min-width: 0;
  word-break: break-word;
}

.apt-card-spec--price .apt-card-spec-price-inner {
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--accent-hover);
}

.apt-card-spec--price .apt-price-num {
  font-size: 0.95rem;
  margin: 0 0.08rem;
}

.apt-card-spec-per {
  font-weight: 600;
  opacity: 0.9;
}

.apt-card-cta-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 0.4rem;
}

.apt-card-cta--block {
  width: 100%;
  min-height: 48px;
  font-size: 0.78rem;
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
}

.apt-card-cta--disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  color: var(--ink-muted);
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.75;
}

.apt-card-footnote {
  text-align: center;
  font-size: 0.72rem;
  font-style: italic;
  color: var(--ink-muted);
  margin: 0;
}

.apt-card-details-link--listing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 0.15rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-alt) 100%);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.apt-card-details-link--listing:hover {
  background: rgba(13, 110, 110, 0.06);
  border-color: rgba(13, 110, 110, 0.22);
  color: var(--accent-hover);
  transform: translateY(-1px);
}

.apartments-grid--premium .apt-card-view-photos {
  bottom: 0.55rem;
}

.apt-card-body--listing .apt-card-title {
  text-align: left;
}

#apartments .container {
  max-width: min(100%, 76rem);
}

.apt-card-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  right: auto;
  z-index: 5;
  padding: 0.28rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #c9a227 0%, #a68520 100%);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.apt-card-slider {
  position: relative;
  background: var(--bg-alt);
  outline: none;
}

.apt-card-slider:focus-visible {
  box-shadow: inset 0 0 0 3px var(--accent);
}

.apt-slider-viewport {
  overflow: hidden;
}

/* ~h-64 fixed media area — legacy grids only (premium uses aspect-ratio hero) */
.apartments-grid:not(.apartments-grid--premium) .apt-card-slider .apt-slider-viewport {
  height: 16rem;
  min-height: 16rem;
  aspect-ratio: unset;
}

.apt-slider-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.apt-slider-track.apt-slider-track--smooth {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.apt-slider-slide {
  flex: 0 0 100%;
  height: 100%;
  min-width: 0;
}

.apt-slider-slide .apt-slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.apt-card:hover .apt-slider-viewport .apt-slider-img:not(.img-placeholder-active) {
  transform: scale(1.07);
}

.apt-detail-slider:hover .apt-slider-viewport .apt-slider-img:not(.img-placeholder-active) {
  transform: scale(1.05);
}

.img-placeholder-active {
  object-fit: contain;
  background: var(--bg-alt);
}

.apt-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.apt-slider-nav:hover {
  background: #fff;
}

.apt-slider-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.apt-slider-prev {
  left: 0.5rem;
}

.apt-slider-next {
  right: 0.5rem;
}

.apt-slider-prev::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.15rem;
}

.apt-slider-next::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  margin-right: 0.15rem;
}

.apt-card-view-photos {
  position: absolute;
  right: 0.5rem;
  bottom: 2.35rem;
  z-index: 4;
  margin: 0;
  padding: 0.38rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-hover);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(13, 110, 110, 0.2);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(26, 31, 46, 0.12);
  cursor: pointer;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.2s ease,
    box-shadow 0.22s ease;
}

.apt-card-view-photos:hover {
  background: #fff;
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(13, 110, 110, 0.18);
}

.apt-card-view-photos:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.apt-slider-dots {
  position: absolute;
  bottom: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  max-width: calc(100% - 4rem);
}

.apt-slider-dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, background 0.2s ease;
}

.apt-slider-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

.apt-card-body {
  padding: 1.2rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.apt-card-body > * {
  margin: 0;
}

.apt-card-amenities {
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink-muted);
  font-weight: 500;
}

.apt-card-blurb--lead {
  font-style: italic;
  text-align: center;
  flex: 0 0 auto;
}

.apt-card-perks {
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  background: rgba(13, 110, 110, 0.09);
  border: 1px solid rgba(13, 110, 110, 0.14);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink);
}

.apt-card-perks .apt-card-perks-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.apt-card-perks .apt-card-perks-list li {
  position: relative;
  padding-left: 1rem;
  margin: 0.2rem 0;
}

.apt-card-perks .apt-card-perks-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--accent-hover);
}

.apt-card-wa-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: #fff !important;
  background: #25d366;
  border: 1px solid #1ebe5a;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.apt-card-wa-primary:hover {
  color: #fff !important;
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
}

.apt-card-wa-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.apt-card-wa-hint {
  margin-top: -0.2rem !important;
  text-align: center;
  font-size: 0.72rem;
  font-style: italic;
  color: var(--ink-muted);
  line-height: 1.4;
}

.apt-card-ota-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.apt-card-ota-row--single {
  grid-template-columns: 1fr;
}

.apt-card-ota-btn {
  min-height: 44px;
}

.apt-card-tg-row {
  width: 100%;
  min-height: 44px;
}

.apt-card-details-link--dark {
  margin-top: 0.1rem;
  background: #1e2433;
  color: #f4f6f9 !important;
  border: 1px solid #1e2433;
  border-radius: 12px;
  font-weight: 600;
}

.apt-card-details-link--dark:hover {
  background: #12161f;
  border-color: #12161f;
  color: #fff !important;
}

.apt-card--premium {
  border-radius: var(--radius-xl);
  border-color: rgba(26, 31, 46, 0.09);
}

.apt-card--premium:hover {
  box-shadow: 0 28px 64px rgba(26, 31, 46, 0.13), 0 8px 24px rgba(13, 110, 110, 0.07);
}

.apt-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  align-items: center;
  margin: 0 0 0.65rem;
}

.apt-card-meta-pill {
  margin: 0;
}

.apt-card-guests {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-hover);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  background: rgba(13, 110, 110, 0.07);
  border-radius: 999px;
  border: 1px solid rgba(13, 110, 110, 0.12);
}

.apt-card-distance {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.55rem;
  background: rgba(26, 31, 46, 0.04);
  border-radius: 999px;
  border: 1px solid var(--border);
}

.apt-distance-pill {
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.85;
}

.apt-guest-pill {
  font-size: 1rem;
  line-height: 1;
}

.apt-card-blurb {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-muted);
  flex: 1;
}

.apt-card-actions-wa {
  margin-bottom: 0.6rem;
}

.apt-card-book--full {
  width: 100%;
  justify-content: center;
  font-weight: 700;
  min-height: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.28);
}

.apt-card-details-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent-hover);
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.apt-card-details-link:hover {
  background: rgba(13, 110, 110, 0.06);
  border-color: rgba(13, 110, 110, 0.15);
  color: var(--accent);
}

.apt-card-body h3,
.apt-card-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 2.2vw, 1.08rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.apt-card-price {
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.apt-card-price--on-request {
  color: var(--accent-hover);
  font-size: 0.9rem;
}

.apt-card-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 0 0 0.65rem;
}

.apt-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 46px;
  padding: 0.45rem 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease,
    filter 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.apt-card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26, 31, 46, 0.12);
}

.apt-card-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.apt-card-cta--airbnb {
  background: #ff385c;
  border-color: #ff385c;
  color: #fff;
}

.apt-card-cta--airbnb:hover {
  background: #e31c5f;
  border-color: #e31c5f;
  color: #fff;
  filter: brightness(1.02);
}

.apt-card-cta--booking {
  background: #003580;
  border-color: #003580;
  color: #fff;
}

.apt-card-cta--booking:hover {
  background: #00224d;
  border-color: #00224d;
  color: #fff;
}

.apt-card-cta--whatsapp {
  background: #25d366;
  border-color: #1ebe5a;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.apt-card-cta--whatsapp:hover {
  background: #1fc056;
  border-color: #1aa34a;
  color: #fff;
}

.apt-card-cta--telegram {
  background: #229ed9;
  border-color: #1f8bc2;
  color: #fff;
}

.apt-card-cta--telegram:hover {
  background: #1b8ec4;
  border-color: #1679a8;
  color: #fff;
}

.apt-price-num {
  font-family: var(--font-display);
  font-size: 1.72rem;
  font-weight: 700;
  color: var(--accent-hover);
  letter-spacing: -0.03em;
  margin: 0 0.12rem;
}

.apt-price-cur {
  font-weight: 700;
  color: var(--ink);
}

.apt-price-per {
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.apt-card-actions--ota {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.apt-card-actions--ota--single {
  grid-template-columns: 1fr;
}

.apt-card-actions--ota .btn-ota {
  min-width: 0;
  min-height: 46px;
  font-weight: 600;
  transition: transform 0.15s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.apt-card-actions--ota .btn-booking:hover,
.apt-card-actions--ota .btn-airbnb-ota:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .apt-slider-track,
  .apt-slider-track.apt-slider-track--smooth {
    transition: none;
  }

  .apt-card:hover {
    transform: none;
  }

  .apt-card:hover .apt-slider-viewport .apt-slider-img,
  .apt-detail-slider:hover .apt-slider-viewport .apt-slider-img {
    transform: none;
  }

  .apt-slider-slide .apt-slider-img {
    transition: none;
  }
}

/* Apartment detail page */
.apt-detail-page {
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(3rem, 6vw, 4rem);
}

.apt-detail-inner {
  max-width: min(56rem, 100%);
  margin-inline: auto;
}

.apt-detail-slider-host {
  margin-bottom: 1.75rem;
}

.apt-detail-gallery-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.apt-detail-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.25rem, 1fr));
  gap: 0.65rem;
  margin-bottom: 2rem;
  max-width: 100%;
}

@media (min-width: 480px) {
  .apt-detail-thumb-grid {
    grid-template-columns: repeat(auto-fill, minmax(6.25rem, 1fr));
    gap: 0.75rem;
  }
}

@media (min-width: 768px) {
  .apt-detail-thumb-grid {
    grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
    gap: 0.85rem;
  }
}

.apt-detail-thumb {
  display: block;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  box-shadow: 0 4px 18px rgba(26, 31, 46, 0.08);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.22s ease;
}

.apt-detail-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26, 31, 46, 0.12);
}

.apt-detail-thumb.is-active {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px rgba(13, 110, 110, 0.12),
    0 12px 32px rgba(13, 110, 110, 0.18);
}

.apt-detail-thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.apt-detail-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  vertical-align: middle;
}

.apt-detail-back-wrap {
  margin: 0 0 1.25rem;
}

.apt-detail-slider .apt-slider-viewport {
  height: min(24rem, 52vw);
  min-height: 16rem;
  aspect-ratio: unset;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.apt-detail-slider--hero .apt-slider-viewport {
  height: min(32rem, 72vw);
  min-height: 18rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(26, 31, 46, 0.08);
  box-shadow:
    0 20px 50px rgba(26, 31, 46, 0.12),
    0 4px 14px rgba(13, 110, 110, 0.06);
}

.apt-detail-slider--hero .apt-slider-nav {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
}

.apt-detail-slider--hero .apt-slider-dots {
  bottom: 0.65rem;
  gap: 0.4rem;
}

.apt-detail-slider--hero .apt-slider-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: rgba(255, 255, 255, 0.5);
}

.apt-detail-slider--hero .apt-slider-dot.is-active {
  background: #fff;
  transform: scale(1.35);
}

.apt-detail-header {
  margin: 1.5rem 0 1rem;
}

.apt-detail-header h1 {
  font-size: clamp(1.35rem, 3.6vw, 1.85rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.apt-detail-price {
  margin: 0;
  font-size: 1rem;
  color: var(--ink-muted);
}

.apt-detail-prose {
  margin-bottom: 1.5rem;
}

.apt-detail-prose p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.65;
}

.apt-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.apt-detail-ota {
  margin-bottom: 0;
}

.apt-detail-wa {
  width: 100%;
  justify-content: center;
}

.apt-detail-error {
  padding: 1.5rem;
}

.apt-detail-error-wrap {
  padding: clamp(2rem, 5vw, 3rem) 0;
}

/* Payment methods */
.payment-methods-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  align-items: stretch;
}

@media (min-width: 640px) {
  .payment-methods-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .payment-methods-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.payment-method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.875rem;
  min-height: 8.75rem;
  padding: 1.35rem 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(26, 31, 46, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.payment-method-card:hover {
  border-color: rgba(13, 110, 110, 0.25);
  box-shadow: 0 10px 32px rgba(26, 31, 46, 0.08);
  transform: translateY(-2px);
}

.payment-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 100%;
  min-height: 2.5rem;
}

.payment-method-icon svg,
.payment-icon-svg {
  display: block;
  border-radius: 6px;
  flex-shrink: 0;
}

.payment-method-icon--cards-duo {
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  min-height: 2.75rem;
}

.payment-brand-svg {
  display: block;
  flex-shrink: 0;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(26, 31, 46, 0.08);
}

.payment-brand-svg--visa {
  max-width: min(3.5rem, 28vw);
  height: auto;
}

.payment-brand-svg--mastercard {
  max-width: min(3.5rem, 28vw);
  height: auto;
}

.payment-method-icon--cur {
  min-height: 2.75rem;
  width: 3.35rem;
  height: 3.35rem;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(13, 110, 110, 0.18);
  box-sizing: border-box;
}

.payment-cur {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.payment-method-name {
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1.35;
  max-width: 12rem;
  margin: 0 auto;
}

.payment-fee-note {
  max-width: 40rem;
  margin: 1.5rem auto 0;
  padding: 0 0.5rem;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.payment-page-crumb {
  margin-top: 1.75rem;
  margin-bottom: 0;
  text-align: center;
}

/* City tours */
.tours-grid--route {
  max-width: min(100%, 56rem);
  margin-inline: auto;
}

.tour-card--route-package {
  border-radius: calc(var(--radius-lg) + 4px);
}

.tour-card--route-package::before {
  background: linear-gradient(90deg, var(--accent) 0%, rgba(13, 110, 110, 0.55) 55%, rgba(201, 162, 39, 0.75) 100%);
}

.tour-route-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (min-width: 960px) {
  .tour-route-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .tour-route-layout .tour-card-media--baku-route-tour {
    border-radius: 0;
    border-right: 1px solid var(--border);
  }

  .tour-route-layout__body {
    padding: 1.35rem 1.5rem 1.5rem;
    justify-content: flex-start;
  }
}

.tour-route-layout__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem 1.25rem 1.35rem;
}

.tour-card-meta--route {
  margin-bottom: 0.15rem;
}

.tour-card-title--route {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  letter-spacing: -0.02em;
  margin: 0;
}

.tour-card-desc--route {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.tour-route-highlights-heading {
  margin: 0.35rem 0 0.25rem;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.tour-route-stops {
  margin: 0;
  padding: 0.35rem 0 0.35rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink);
}

.tour-route-stops li::marker {
  color: var(--accent);
  font-weight: 700;
}

.tour-route-footnote {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.tour-route-price-teaser {
  margin: 0.15rem 0 0.35rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink);
  background: linear-gradient(145deg, rgba(13, 110, 110, 0.08) 0%, rgba(26, 31, 46, 0.04) 100%);
  border: 1px solid rgba(13, 110, 110, 0.18);
  border-radius: var(--radius);
}

.tour-hero-gallery__thumbs--route {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* City tours — premium private Baku experience */
.section-tours-premium {
  padding-block: clamp(2.75rem, 6vw, 4rem);
  background: linear-gradient(180deg, rgba(13, 110, 110, 0.07) 0%, var(--bg) 45%, var(--bg) 100%);
}

.section-head--tours-premium {
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75rem;
}

.section-head--tours-premium .tours-premium-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

.section-head--tours-premium h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 3.6vw, 2.05rem);
  font-weight: 750;
  line-height: 1.18;
  color: var(--ink);
}

.tours-premium-lead {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.62;
  color: var(--ink-muted);
}

.tours-premium-panel {
  max-width: 58rem;
  margin: 0 auto 2rem;
  padding: clamp(1.35rem, 3.2vw, 1.9rem);
  background: var(--surface);
  border: 1px solid rgba(13, 110, 110, 0.16);
  border-radius: calc(var(--radius-lg) + 6px);
  box-shadow:
    0 24px 56px rgba(26, 31, 46, 0.09),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.tours-premium-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .tours-premium-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .tours-premium-features {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }
}

.tours-premium-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.38;
  color: var(--ink);
  background: linear-gradient(145deg, rgba(13, 110, 110, 0.07) 0%, rgba(26, 31, 46, 0.03) 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(13, 110, 110, 0.11);
}

.tours-premium-feature__ic {
  flex-shrink: 0;
  font-size: 1.12rem;
  line-height: 1;
}

.tours-premium-route__title {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

.tours-premium-stops {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.48rem 1rem;
}

@media (min-width: 520px) {
  .tours-premium-stops {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 820px) {
  .tours-premium-stops {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tours-premium-stops li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.42;
  color: var(--ink);
  font-weight: 550;
}

.tours-premium-stops li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.35);
}

.tours-vehicles-label {
  margin: 0 0 1.1rem;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 750;
  color: var(--ink);
}

.tours-grid--premium-offer {
  gap: 1.5rem;
}

/* City tours — unified premium cards (Sedan / Vito / BMW X5) */
.tour-card--unified-premium {
  border-radius: calc(var(--radius-lg) + 4px);
  border-color: rgba(26, 31, 46, 0.1);
  box-shadow:
    0 20px 48px rgba(26, 31, 46, 0.1),
    0 6px 18px rgba(13, 110, 110, 0.06);
}

.tour-card--unified-premium::before {
  background: linear-gradient(90deg, var(--accent) 0%, rgba(13, 110, 110, 0.45) 100%);
}

.tour-card--unified-premium:hover {
  transform: translateY(-4px);
  box-shadow:
    0 26px 56px rgba(26, 31, 46, 0.12),
    0 8px 22px rgba(13, 110, 110, 0.08);
  border-color: rgba(13, 110, 110, 0.22);
}

.tour-card-body--unified {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.05rem 1.2rem 1.35rem;
  flex: 1;
  min-height: 0;
}

.tour-service-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
}

.tour-service-pill {
  margin: 0;
  padding: 0.32rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: linear-gradient(180deg, #f0f7f7 0%, #e8f3f3 100%);
  border: 1px solid rgba(13, 110, 110, 0.2);
  border-radius: 999px;
}

.tour-card-meta-line {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--accent-hover);
  letter-spacing: 0.02em;
}

.tour-card-body--unified .tour-card-title {
  margin: 0.15rem 0 0;
}

.tour-card-body--unified .tour-card-desc {
  margin: 0;
  flex: 1;
  min-height: 0;
}

.tour-card-seo-footer {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-muted);
  font-weight: 500;
}

.tour-1p-price {
  margin: 0.35rem 0 0.15rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.tour-1p-price__prefix {
  font-weight: 650;
  color: var(--ink-muted);
  margin-right: 0.15rem;
}

.tour-1p-price strong {
  font-weight: 800;
  color: var(--accent-hover);
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
}

.tour-price-subheading {
  margin: 0.75rem 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.tour-price-tiers--secondary .tour-price-tier-qty {
  font-size: 0.84rem;
}

.tour-price-tiers--secondary .tour-price-tier-amt {
  font-size: 0.9rem;
}

.tour-cta-icon-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.tour-cta-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.tour-cta-icon-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.tour-cta-icon-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.tour-cta-icon-btn__svg {
  width: 1.55rem;
  height: 1.55rem;
  display: block;
}

.tour-cta-icon-btn--wa {
  color: #fff !important;
  background: linear-gradient(165deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 4px 16px rgba(18, 140, 126, 0.32);
}

.tour-cta-icon-btn--tg {
  color: #fff !important;
  background: linear-gradient(165deg, #37aee2 0%, #1c8bc9 100%);
  box-shadow: 0 4px 16px rgba(34, 158, 217, 0.3);
}

.tour-cta-icon-btn--email {
  color: var(--ink) !important;
  background: linear-gradient(180deg, #fff 0%, #f3f5f8 100%);
  border-color: rgba(26, 31, 46, 0.14);
  box-shadow: 0 4px 14px rgba(26, 31, 46, 0.08);
}

.tour-card-phone {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 750;
}

.tour-card-phone__link {
  color: var(--accent-hover);
  text-decoration: none;
}

.tour-card-phone__link:hover {
  text-decoration: underline;
}

.section-tours-premium .tour-card-body--unified .tour-price-block--premium {
  margin-top: 0.15rem;
}

@media (max-width: 380px) {
  .tour-cta-icon-row {
    gap: 0.4rem;
  }

  .tour-cta-icon-btn {
    min-height: 46px;
  }
}

.section-tours-premium .tour-card-body {
  padding-top: 1rem;
}

.section-tours-premium .tour-price-block--premium .tour-price-heading {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.92;
}

.card-chat-row--tour-premium {
  margin-top: 0.4rem;
}

.card-chat-row--tour-premium .tour-wa-btn--premium {
  min-height: 48px;
  font-weight: 750;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(18, 140, 126, 0.28);
}

.card-chat-row--tour-premium .tour-tg-btn--premium {
  min-height: 48px;
  font-weight: 700;
  border-radius: 12px;
  border-width: 2px;
}

.tours-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .tours-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
}

@media (min-width: 768px) {
  .tours-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tour-card-wrap {
  display: flex;
  min-width: 0;
}

.tour-card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.22s ease;
}

.tour-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(13, 110, 110, 0.45) 100%);
  z-index: 2;
  pointer-events: none;
}

.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(26, 31, 46, 0.12);
  border-color: rgba(13, 110, 110, 0.28);
}

.tour-card--featured::before {
  background: linear-gradient(90deg, var(--gold) 0%, #a67c00 100%);
}

.tour-card--popular::before {
  background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 55%, var(--accent-hover) 100%);
}

/* Mercedes Vito City Tour — slightly richer shadow + spacing */
.tour-card--vito-city {
  box-shadow:
    0 22px 56px rgba(26, 31, 46, 0.11),
    0 10px 32px rgba(13, 110, 110, 0.07),
    0 0 0 1px rgba(13, 110, 110, 0.1);
}

.tour-card--vito-city:hover {
  box-shadow:
    0 28px 68px rgba(26, 31, 46, 0.14),
    0 14px 36px rgba(13, 110, 110, 0.1),
    0 0 0 1px rgba(13, 110, 110, 0.2);
}

.tour-card-body--vito-city {
  padding-bottom: 1.35rem;
}

.tour-card-meta--vito-city {
  gap: 0.45rem 0.55rem;
}

.card-chat-row--tour {
  gap: 0.65rem;
  flex-wrap: wrap;
}

.card-chat-row--tour .btn {
  flex: 1 1 auto;
  min-width: min(100%, 12rem);
}

.tour-card--luxury::before {
  background: linear-gradient(90deg, #1a1f2e 0%, var(--accent) 55%, #c9a227 100%);
}

.tour-card--luxury {
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow: 0 18px 48px rgba(26, 31, 46, 0.1), 0 0 0 1px rgba(201, 162, 39, 0.12);
}

.tour-card--luxury.tour-card--x5:hover {
  box-shadow:
    0 28px 64px rgba(26, 31, 46, 0.14),
    0 0 0 1px rgba(201, 162, 39, 0.42),
    0 0 52px rgba(201, 162, 39, 0.28),
    0 0 80px rgba(13, 110, 110, 0.08);
  border-color: rgba(201, 162, 39, 0.55);
}

/* BMW X5 — luxury tier above standard city tour cards */
.tour-card--x5-elite {
  border-radius: calc(var(--radius-lg) + 4px);
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow:
    0 28px 72px rgba(26, 31, 46, 0.14),
    0 14px 40px rgba(201, 162, 39, 0.12),
    0 0 0 1px rgba(201, 162, 39, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.tour-card--x5-elite:hover {
  transform: translateY(-5px);
  box-shadow:
    0 34px 80px rgba(26, 31, 46, 0.16),
    0 18px 48px rgba(201, 162, 39, 0.16),
    0 0 0 1px rgba(201, 162, 39, 0.5),
    0 0 64px rgba(201, 162, 39, 0.22),
    0 0 96px rgba(13, 110, 110, 0.06);
  border-color: rgba(201, 162, 39, 0.62);
}

.tour-card--luxury.tour-card--x5.tour-card--x5-elite:hover {
  box-shadow:
    0 34px 80px rgba(26, 31, 46, 0.16),
    0 18px 48px rgba(201, 162, 39, 0.16),
    0 0 0 1px rgba(201, 162, 39, 0.5),
    0 0 64px rgba(201, 162, 39, 0.22),
    0 0 96px rgba(13, 110, 110, 0.06);
  border-color: rgba(201, 162, 39, 0.62);
}

.tour-card-media--x5-elite.tour-card-media--hero-gallery {
  background: linear-gradient(180deg, #1a1510 0%, #252a35 42%, var(--bg-alt) 100%);
  padding: 0.75rem 0.75rem 0.95rem;
}

.tour-card-media--x5-elite .tour-hero-gallery__main {
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(201, 162, 39, 0.38);
}

.tour-card-media--x5-elite .tour-hero-gallery__main:hover {
  box-shadow:
    0 26px 64px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(201, 162, 39, 0.5),
    0 12px 40px rgba(201, 162, 39, 0.12);
}

.tour-card-body--x5-lux {
  padding: 0.2rem 1.15rem 1.5rem;
}

.tour-card-meta--x5-lux {
  gap: 0.48rem 0.55rem;
  margin-bottom: 1.05rem;
}

.tour-meta-pill--lux {
  color: #3d3428;
  background: linear-gradient(145deg, rgba(255, 252, 245, 0.98) 0%, rgba(201, 162, 39, 0.2) 100%);
  border-color: rgba(201, 162, 39, 0.38);
  font-weight: 650;
}

.tour-card-title--x5-elite {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.tour-highlights--x5-elite {
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.1) 0%, rgba(13, 110, 110, 0.07) 100%);
  border-color: rgba(201, 162, 39, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.tour-price-block--x5-elite {
  border-color: rgba(201, 162, 39, 0.28);
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.11) 0%, rgba(26, 31, 46, 0.05) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

@media (max-width: 479.98px) {
  .tour-card-wrap--x5-luxury .tour-hero-gallery__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tour-card-badge--vip-suv {
  background: linear-gradient(135deg, #2a2418 0%, #4a3f2a 45%, #1a1f2e 100%);
  color: #f5e6c8;
  letter-spacing: 0.1em;
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow: 0 4px 18px rgba(201, 162, 39, 0.35);
}

.tour-card-badge--popular {
  background: linear-gradient(135deg, #0d5a5a 0%, #127a7a 45%, #c9a227 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 16px rgba(13, 110, 110, 0.35);
}

.tour-card-badge--groups {
  background: linear-gradient(135deg, #c9a227 0%, #9a7b1a 50%, #6b5a1e 100%);
  color: #1a1f2e;
  border: 1px solid rgba(255, 252, 245, 0.35);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.4);
}

.tour-card-badge--vip-choice {
  background: linear-gradient(135deg, #1a1510 0%, #3d3428 40%, #1a1f2e 100%);
  color: #f5e6c8;
  letter-spacing: 0.09em;
  border: 1px solid rgba(201, 162, 39, 0.5);
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.38);
}

.tour-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  margin: 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(13, 110, 110, 0.35);
}

.tour-card-badge--lux {
  background: linear-gradient(135deg, #1a1f2e 0%, #2d3548 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.tour-card-media {
  position: relative;
  height: 14rem;
  min-height: 14rem;
  overflow: hidden;
  background: var(--bg-alt);
}

/* City tour cards (Sedan, Vito, BMW X5) — legacy swipe slider (unused on index; kept for reference) */
.tour-card-media--vito-slider {
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #222831 0%, var(--bg-alt) 100%);
}

/* City tours — large hero + thumbnail strip, GLightbox on tap */
.tour-card-media--hero-gallery {
  height: auto;
  min-height: 0;
  padding: 0.65rem 0.65rem 0.85rem;
  overflow: visible;
  background: linear-gradient(180deg, #222831 0%, var(--bg-alt) 100%);
}

.tour-hero-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  max-width: 100%;
}

.tour-hero-gallery__main {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-alt);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.tour-hero-gallery__main:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.24),
    0 8px 20px rgba(13, 110, 110, 0.1);
}

.tour-hero-gallery__main:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.tour-hero-gallery__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  vertical-align: middle;
}

.tour-hero-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5.25rem, 1fr));
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tour-hero-gallery__thumb {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.2s ease;
}

.tour-hero-gallery__thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.tour-hero-gallery__thumb.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(13, 110, 110, 0.25), 0 8px 22px rgba(13, 110, 110, 0.2);
}

.tour-hero-gallery__thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.tour-hero-gallery__thumb img {
  width: 100%;
  height: 100%;
  min-height: 3.5rem;
  object-fit: cover;
  object-position: center;
  display: block;
  aspect-ratio: 4 / 3;
}

.tour-lb-anchors {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tour-lb-src__img {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 479.98px) {
  .tour-hero-gallery__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tour-vito-slider {
  width: 100%;
  max-width: 100%;
}

.tour-vito-slider__viewport {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  touch-action: pan-x;
  box-sizing: border-box;
}

.tour-vito-slider__viewport::-webkit-scrollbar {
  display: none;
}

.tour-vito-slider__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

.tour-vito-slider__slide--vehicle .tour-vito-slider__link:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(201, 162, 39, 0.45);
}

.tour-vito-slider__link {
  display: block;
  position: absolute;
  inset: 0;
  outline: none;
  cursor: zoom-in;
}

.tour-vito-slider__link:focus-visible {
  box-shadow: inset 0 0 0 3px var(--accent);
}

.tour-vito-slider__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.06) 0%, transparent 65%);
}

.tour-vito-slider__dots {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 0.65rem 0.7rem;
  margin: 0;
}

.tour-vito-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.tour-vito-slider__dot:hover {
  background: rgba(255, 255, 255, 0.55);
}

.tour-vito-slider__dot.is-active {
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
  transform: scale(1.12);
}

.tour-vito-slider__dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.tour-lang-line {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.8rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--ink-muted);
  background: rgba(13, 110, 110, 0.07);
  border-radius: 10px;
  border: 1px solid rgba(13, 110, 110, 0.12);
}

.tour-lang-line__ic {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.25;
  opacity: 0.88;
}

.tour-card--x5 .tour-lang-line {
  background: rgba(201, 162, 39, 0.08);
  border-color: rgba(201, 162, 39, 0.22);
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .tour-vito-slider__viewport {
    scroll-behavior: auto;
  }
}

.tour-card-media:not(.tour-card-media--hero-gallery) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tour-card:hover .tour-card-media:not(.tour-card-media--vito-slider):not(.tour-card-media--hero-gallery) img {
  transform: scale(1.06);
}

.tour-card:hover .tour-card-media--hero-gallery .tour-hero-gallery__main {
  transform: translateY(-3px);
}

.tour-card--x5 .tour-card-media--vito-slider,
.tour-card--x5 .tour-card-media--hero-gallery.tour-card-media--x5-tour {
  background: linear-gradient(180deg, #1a1f2e 0%, var(--bg-alt) 55%, rgba(232, 228, 219, 0.5) 100%);
}

.tour-highlights--x5 {
  background: linear-gradient(145deg, rgba(26, 31, 46, 0.06) 0%, rgba(201, 162, 39, 0.08) 100%);
  border-color: rgba(201, 162, 39, 0.18);
}

.tour-price-block--luxury {
  background: linear-gradient(145deg, rgba(26, 31, 46, 0.07) 0%, rgba(201, 162, 39, 0.12) 100%);
  border-color: rgba(201, 162, 39, 0.28);
}

.tour-price-block--luxury .tour-price-heading {
  color: #8a7030;
}

.tour-price-block--luxury .tour-price-tier-amt {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--gold);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.tour-price-block--luxury .tour-price-note {
  color: #6b5a28;
  font-weight: 700;
}

.tour-card-body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.tour-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  margin-bottom: 0.85rem;
}

.tour-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border: 1px solid rgba(13, 110, 110, 0.15);
  border-radius: 999px;
  line-height: 1.2;
}

.tour-meta-ic {
  font-size: 0.85rem;
  line-height: 1;
  opacity: 0.95;
}

.tour-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.25;
  color: var(--ink);
}

.tour-card-desc {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.tour-feature-checklist {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tour-feature-checklist li {
  position: relative;
  padding-left: 1.65rem;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.tour-feature-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1.12rem;
  height: 1.12rem;
  border-radius: 50%;
  background-color: rgba(13, 110, 110, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d6e6e' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 65% 65%;
  flex-shrink: 0;
}

.tour-feature-checklist--lux li::before {
  background-color: rgba(201, 162, 39, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a7030' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.tour-highlights {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0.65rem 0.75rem;
  background: linear-gradient(145deg, rgba(13, 110, 110, 0.06) 0%, rgba(201, 162, 39, 0.06) 100%);
  border-radius: 12px;
  border: 1px solid rgba(13, 110, 110, 0.12);
}

.tour-highlights li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.tour-highlights li:last-child {
  margin-bottom: 0;
}

.tour-hl-ic {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.65rem;
  margin-top: 0.2em;
}

.tour-price-block {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(145deg, rgba(13, 110, 110, 0.07) 0%, rgba(201, 162, 39, 0.06) 100%);
  border-radius: 12px;
  border: 1px solid rgba(13, 110, 110, 0.14);
}

.tour-price-block--premium {
  margin-top: 0.15rem;
  padding: 1.05rem 1.15rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(13, 110, 110, 0.22);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.65) 0%, rgba(13, 110, 110, 0.09) 42%, rgba(201, 162, 39, 0.08) 100%);
  box-shadow:
    0 10px 28px rgba(26, 31, 46, 0.08),
    0 2px 8px rgba(13, 110, 110, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.tour-price-block--luxury.tour-price-block--premium {
  border-color: rgba(201, 162, 39, 0.35);
  background: linear-gradient(155deg, rgba(255, 252, 245, 0.9) 0%, rgba(201, 162, 39, 0.12) 45%, rgba(26, 31, 46, 0.06) 100%);
  box-shadow:
    0 12px 32px rgba(26, 31, 46, 0.1),
    0 0 0 1px rgba(201, 162, 39, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.tour-price-tiers--premium li {
  padding: 0.52rem 0;
  font-size: 0.9rem;
  font-weight: 650;
}

.tour-price-tiers--premium .tour-price-tier-amt {
  font-size: 1.12rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.tour-price-block--luxury .tour-price-tiers--premium .tour-price-tier-amt {
  font-size: 1.28rem;
  color: var(--gold);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.tour-price-block--premium .tour-price-heading {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.65rem;
}

.tour-price-block--premium .tour-price-note {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  font-weight: 650;
}

.tour-price-heading {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

.tour-price-body :first-child {
  margin-top: 0;
}

.tour-price-body :last-child {
  margin-bottom: 0;
}

.tour-price-tiers {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tour-price-tiers li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid rgba(26, 31, 46, 0.08);
}

.tour-price-tiers li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tour-price-tiers--flat li {
  padding-top: 0;
}

.tour-price-tier-qty,
.tour-price-flat-label {
  color: var(--ink-muted);
  font-weight: 600;
}

.tour-price-tier-amt {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.tour-price-note {
  margin: 0.65rem 0 0;
  padding: 0.55rem 0 0;
  border-top: 1px dashed rgba(26, 31, 46, 0.12);
  font-size: 0.8rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--accent-hover);
}

.tour-price-line {
  margin: 0 0 0.85rem !important;
  font-size: 0.95rem;
  color: var(--ink-muted) !important;
}

.tour-price-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin: 0 0.12rem;
}

.tour-price-cur {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.02rem;
}

.tour-price-unit {
  font-size: 0.86rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.tour-wa-btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .tour-card:hover {
    transform: none;
  }

  .tour-card:hover .tour-card-media:not(.tour-card-media--hero-gallery) img,
  .tour-card:hover .tour-card-media--hero-gallery .tour-hero-gallery__main {
    transform: none;
  }

  .tour-card--luxury.tour-card--x5:hover {
    box-shadow: 0 18px 48px rgba(26, 31, 46, 0.1), 0 0 0 1px rgba(201, 162, 39, 0.12);
  }
}

/* Services (rent a car, souvenirs) */
.services-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  max-width: 52rem;
  margin-inline: auto;
}

@media (min-width: 480px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.services-grid-item {
  display: flex;
  min-width: 0;
}

.service-card {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(26, 31, 46, 0.11);
  border-color: rgba(13, 110, 110, 0.22);
}

.service-card--accent {
  background: linear-gradient(165deg, #fff 0%, #f4faf9 100%);
  border-color: rgba(13, 110, 110, 0.2);
}

.service-card-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--accent-soft) 0%, rgba(201, 162, 39, 0.1) 100%);
  border: 1px solid rgba(13, 110, 110, 0.12);
}

.service-card-icon {
  font-size: 1.65rem;
  line-height: 1;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.25;
  color: var(--ink);
}

.service-card-desc {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-muted);
  flex: 1;
}

.service-card-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

@media (prefers-reduced-motion: reduce) {
  .service-card:hover {
    transform: none;
  }
}

.services-grid--premium {
  max-width: min(72rem, 100%);
  gap: 1.15rem;
}

@media (min-width: 480px) {
  .services-grid--premium {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .services-grid--premium {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card--premium {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 1.55rem 1.45rem 1.5rem;
  border-color: rgba(26, 31, 46, 0.08);
  min-height: 100%;
}

.service-card--premium .service-card-icon-wrap {
  border-radius: 16px;
}

.text-link {
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* Contact */
.contact-actions {
  margin: 1.5rem 0 1rem;
}

.contact-info-box {
  margin: 1.25rem 0 1rem;
  padding: 1rem 1.15rem 1.05rem;
  background: rgba(13, 110, 110, 0.07);
  border: 1px solid rgba(13, 110, 110, 0.14);
  border-radius: var(--radius);
  max-width: 36rem;
}

.contact-info-box__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--ink);
}

.contact-info-brand {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--ink);
}

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-info-list li {
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--ink);
}

.contact-info-list a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.contact-info-list a:hover {
  text-decoration: underline;
}

.footer-contact-details-inner {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.footer-contact-details-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-contact-details-inner a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.footer-contact-details-inner a:hover {
  text-decoration: underline;
}

.fine-print {
  font-size: 0.8rem;
  color: var(--ink-muted);
  max-width: 36rem;
}

.fine-print code {
  font-size: 0.78em;
  padding: 0.1rem 0.35rem;
  background: var(--bg-alt);
  border-radius: 4px;
}

.numbered {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-muted);
}

.numbered li {
  margin-bottom: 0.5rem;
}

.numbered li:last-child {
  margin-bottom: 0;
}

.contact-wa-urgency {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-style: italic;
}

/* Reviews & social proof */
.reviews-trust-line {
  font-weight: 600;
  color: var(--accent-hover);
  margin-top: -0.5rem;
}

.reviews-trust-chips {
  list-style: none;
  margin: 0 auto 1.85rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.65rem;
  max-width: 48rem;
}

.reviews-trust-chip {
  margin: 0;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(26, 31, 46, 0.05);
}

.reviews-trust-chip strong {
  color: var(--accent-hover);
  font-weight: 700;
}

.reviews-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
}

.satisfaction-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.satisfaction-badge-score {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.satisfaction-badge-text {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.partner-logo {
  margin: 0;
  padding: 0.4rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-muted);
}

.partner-booking {
  color: #003580;
  border-color: rgba(0, 53, 128, 0.25);
}

.partner-airbnb {
  color: #ff385c;
  border-color: rgba(255, 56, 92, 0.25);
}

.partner-google {
  color: #4285f4;
  border-color: rgba(66, 133, 244, 0.25);
}

.reviews-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.review-card {
  background: linear-gradient(165deg, #fff 0%, #fafbfa 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.45rem 1.55rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  border-color: rgba(13, 110, 110, 0.25);
  box-shadow: 0 20px 44px rgba(26, 31, 46, 0.1);
}

.review-stars {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.review-stars--svg {
  display: flex;
  gap: 0.08rem;
  letter-spacing: 0;
}

.review-star {
  color: #c9a227;
  font-size: 1.05rem;
  line-height: 1;
}

.review-quote {
  margin: 0 0 0.75rem;
  padding: 0;
  border: 0;
}

.review-quote p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
}

.review-meta {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

/* FAQ & subpage SEO */
.faq-list {
  max-width: 42rem;
  margin: 0 auto;
}

.faq-item {
  margin: 0 0 1.35rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
  line-height: 1.35;
}

.faq-a {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--ink-muted);
}

.faq-a a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.faq-a a:hover {
  text-decoration: underline;
}

.faq-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.breadcrumb {
  padding: 0.5rem 0 0;
  margin-bottom: 0.25rem;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.35rem;
  opacity: 0.45;
  font-weight: 600;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.subpage-intro {
  max-width: 40rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
}

.subpage-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 2rem;
}

.subpage-back {
  margin: 0 0 1rem;
  font-size: 0.92rem;
}

.subpage-back a {
  font-weight: 600;
}

/* Location */
.location-lead {
  font-size: 1.05rem;
  color: var(--ink-muted);
  margin: 0;
}

.location-benefits {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
}

.location-benefits li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.location-benefit-ic {
  color: var(--accent);
  font-weight: 700;
}

.map-embed-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-alt);
  aspect-ratio: 16 / 9;
  min-height: 280px;
}

.map-embed {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}

.map-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  max-width: 42rem;
}

/* Floating WhatsApp + Telegram */
.float-chat-bar {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 115;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  max-width: calc(100vw - 2rem);
}

.float-chat-bar .wa-float {
  position: static;
  right: auto;
  bottom: auto;
}

.wa-float {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem 0.65rem 0.65rem;
  min-height: 56px;
  max-width: min(calc(100vw - 2rem), 17rem);
  background: #25d366;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover {
  color: #fff !important;
  transform: scale(1.03);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.5), 0 2px 10px rgba(0, 0, 0, 0.15);
}

.tg-float {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1rem 0.65rem 0.65rem;
  min-height: 56px;
  max-width: min(calc(100vw - 2rem), 14rem);
  background: #229ed9;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(34, 158, 217, 0.42), 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tg-float:hover {
  color: #fff !important;
  transform: scale(1.03);
  box-shadow: 0 10px 34px rgba(34, 158, 217, 0.48), 0 2px 10px rgba(0, 0, 0, 0.12);
}

.tg-float-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.tg-float-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.2;
  text-align: left;
}

.tg-float-label {
  font-weight: 700;
  font-size: 0.9rem;
}

.tg-float-sub {
  font-size: 0.68rem;
  opacity: 0.95;
}

.wa-float-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.wa-float-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.2;
  text-align: left;
}

.wa-float-label {
  font-weight: 700;
  font-size: 0.95rem;
}

.wa-float-sub {
  font-size: 0.72rem;
  opacity: 0.95;
}

@media (max-width: 400px) {
  .wa-float-text,
  .tg-float-text {
    display: none;
  }

  .wa-float,
  .tg-float {
    padding: 0.65rem;
    border-radius: 50%;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float:hover,
  .tg-float:hover {
    transform: none;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: var(--surface);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.15fr 0.85fr 1fr 0.95fr;
    align-items: start;
  }
}

.footer-col--brand {
  max-width: 22rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.footer-tagline {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

.footer-links,
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.footer-contact-link:hover {
  color: var(--accent-hover);
}

.footer-contact-text {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.footer-lang-note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.footer-social-row {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--ink-muted);
  background: var(--bg);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-link:hover {
  color: var(--ink);
  border-color: var(--ink-muted);
  background: var(--surface);
}

.social-facebook:hover {
  color: #1877f2;
}

.social-instagram:hover {
  color: #c13584;
}

.social-google:hover {
  color: #ea4335;
}

.social-yandex:hover {
  color: #fc3f1d;
}

.social-linkedin:hover {
  color: #0a66c2;
}

.footer-copy {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  flex: 1;
  min-width: 12rem;
}

.footer-top {
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
}

.footer-top:hover {
  color: var(--accent-hover);
}

.site-footer--premium {
  background: linear-gradient(180deg, var(--surface) 0%, #faf9f7 100%);
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =============================================================================
   Mobile & touch — 320px → 768px+ (iOS Safari, Android Chrome)
   ============================================================================= */

button,
[role="button"],
[role="tab"],
.btn,
.lang-btn,
.nav-toggle,
.apt-slider-nav,
.apt-slider-dot,
.social-link,
.footer-top {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@supports not (overflow: clip) {
  body {
    overflow-x: hidden;
  }
}

@supports selector(:has(*)) {
  html:has(#nav-toggle:checked) {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav {
    transition: opacity 0.2s ease, visibility 0.2s ease;
    transform: none !important;
  }

  .nav-check:checked ~ .site-nav {
    will-change: auto;
  }

  .lang-btn--flag:hover .lang-flag-emoji,
  .lang-btn--flag:active .lang-flag-emoji {
    transform: none;
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-space: clamp(2.15rem, 5.2vw, 3.6rem);
  }

  #main {
    overflow-x: clip;
    min-width: 0;
  }

  .container {
    width: min(100% - clamp(0.875rem, 4.2vw, 1.65rem), var(--max));
  }

  .header-inner {
    gap: 0.65rem;
    padding-inline: 0;
  }

  .site-header {
    padding-inline: env(safe-area-inset-left, 0) env(safe-area-inset-right, 0);
  }

  body {
    font-size: 1.0625rem;
    line-height: 1.58;
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
  }

  h1 {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem);
    line-height: 1.18;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }

  h2 {
    font-size: clamp(1.38rem, 5.2vw, 1.92rem);
    overflow-wrap: break-word;
    word-break: break-word;
  }

  h3,
  .tour-card-title,
  .service-card-title,
  .apt-card-body h3,
  .apt-card-title {
    font-size: clamp(1.05rem, 3.8vw, 1.18rem);
    overflow-wrap: break-word;
    word-break: break-word;
  }

  p,
  .prose,
  .section-lead,
  .section-head p {
    overflow-wrap: break-word;
  }

  .section-head {
    margin-bottom: clamp(1.35rem, 4vw, 2rem);
  }

  .split {
    gap: clamp(1.35rem, 4vw, 2rem);
  }

  .panel {
    padding: clamp(1.1rem, 3.5vw, 1.5rem);
  }

  .hero {
    min-height: clamp(24rem, 76svh, 42rem);
    padding: clamp(2.25rem, 7vw, 3.75rem) 0 clamp(2.5rem, 8vw, 4.5rem);
  }

  .hero-headline {
    font-size: clamp(1.58rem, 7.2vw, 2.35rem);
    line-height: 1.1;
  }

  .hero-subhead {
    font-size: clamp(1rem, 3.9vw, 1.22rem);
    margin-bottom: clamp(1.25rem, 4vw, 1.65rem);
  }

  .hero-features {
    gap: 0.65rem;
  }

  .hero-feature {
    padding: 0.85rem 0.75rem;
  }

  .btn {
    min-height: 48px;
    padding: 0.7rem 1.2rem;
    font-size: 0.98rem;
  }

  .btn-lg {
    min-height: 52px;
    padding: 0.88rem 1.35rem;
    font-size: 1.02rem;
    width: 100%;
    max-width: 100%;
  }

  .btn-nav--header {
    min-height: 48px;
    font-size: 0.9rem;
  }

  .chat-action-row .btn-lg {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .nav-link,
  .nav-dropdown__btn {
    min-height: 48px;
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
  }

  .nav-dropdown__link {
    min-height: 46px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
  }

  .apt-card-actions--ota {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .apt-card-actions--ota .btn-ota {
    min-height: 48px;
    width: 100%;
  }

  .apt-card-chat-row,
  .apt-detail-chat-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .apt-card-chat-row .btn-telegram-card,
  .apt-card-book--full {
    min-height: 50px;
  }

  .apt-card-cta {
    min-height: 48px;
    font-size: 0.74rem;
    padding: 0.5rem 0.45rem;
  }

  .apt-card-ota-row {
    gap: 0.45rem;
  }

  .card-chat-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .card-chat-row .btn {
    min-height: 48px;
    width: 100%;
  }

  .apt-slider-nav {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 44px;
    min-height: 44px;
  }

  .apt-slider-dot {
    min-width: 10px;
    min-height: 10px;
    padding: 0.35rem;
  }

  .apartments-grid:not(.apartments-grid--premium) .apt-card-slider .apt-slider-viewport {
    height: clamp(13.5rem, 42vw, 16rem);
    min-height: 13.5rem;
  }

  .tour-card-media:not(.tour-card-media--vito-slider):not(.tour-card-media--hero-gallery) {
    height: clamp(12rem, 38vw, 14rem);
    min-height: 12rem;
  }

  .tour-card-body {
    padding: 1.05rem 1.1rem 1.2rem;
  }

  .float-chat-bar {
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    left: auto;
    max-width: calc(100vw - 1.5rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
  }

  .wa-float,
  .tg-float {
    min-height: 52px;
    flex-shrink: 1;
  }

  .site-footer,
  .site-footer--premium {
    padding-inline: env(safe-area-inset-left, 0) env(safe-area-inset-right, 0);
    padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
  }

  .footer-inner {
    gap: clamp(1.35rem, 4vw, 2rem);
  }

  .footer-grid {
    gap: clamp(1.35rem, 4vw, 2rem);
  }

  .footer-brand {
    font-size: 1.08rem;
  }

  .footer-links a,
  .footer-contact-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding-block: 0.15rem;
  }

  .faq-cta-row .btn {
    min-height: 48px;
    flex: 1 1 100%;
    max-width: 100%;
  }

  .contact-actions-inner .btn-lg {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .map-embed-wrap {
    min-height: 220px;
  }

  .apt-detail-slider .apt-slider-viewport {
    min-height: 14rem;
    height: min(22rem, 58vw);
  }

  .apt-detail-slider--hero .apt-slider-viewport {
    min-height: 15rem;
    height: min(26rem, 68vw);
  }

  .subpage-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .subpage-cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  input,
  select,
  textarea {
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (min-width: 390px) and (max-width: 767.98px) {
  .apt-card-chat-row,
  .apt-detail-chat-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .card-chat-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 480px) and (max-width: 767.98px) {
  .apt-card-actions--ota {
    grid-template-columns: 1fr 1fr;
  }
}

/* GLightbox — counter + refined chrome (Comfort Residence + apartment/tour galleries) */
.glightbox-container .gbtn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #1a1f2e !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18) !important;
  border: 1px solid rgba(26, 31, 46, 0.08) !important;
  transition:
    background 0.2s ease,
    transform 0.18s ease,
    box-shadow 0.2s ease !important;
}

.glightbox-container .gbtn:hover {
  background: #fff !important;
  transform: scale(1.06);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22) !important;
}

.glightbox-container .gbtn path {
  fill: currentColor !important;
}

.glightbox-container .gclose {
  width: 3rem;
  height: 3rem;
  opacity: 1 !important;
  top: max(0.75rem, env(safe-area-inset-top)) !important;
  right: max(0.75rem, env(safe-area-inset-right)) !important;
}

.glightbox-counter {
  position: fixed;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(26, 31, 46, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  backdrop-filter: blur(8px);
}

@media (prefers-reduced-motion: reduce) {
  .glightbox-container .gbtn:hover {
    transform: none;
  }

  .apt-card-view-photos:hover {
    transform: none;
  }
}
