/* TipoHome — 1:1 design tokens */
:root {
  --bg: #0c0c0c;
  --bg-elevated: #141414;
  --gold: #c5a059;
  --gold-hover: #d4b06a;
  --text: #ffffff;
  --text-muted: #9a9a9a;
  --text-soft: #b8b8b8;
  --border-gold: rgba(197, 160, 89, 0.55);
  --container: 1320px;
  --radius: 10px;
  --radius-lg: 12px;
  --header-h: 64px;
  --hero-h: 500px;
  --font: "Noto Sans Georgian", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
select {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn--gold {
  background: var(--gold);
  color: #0c0c0c;
}

.btn--gold:hover {
  background: var(--gold-hover);
}

/* Header */
.header {
  position: relative;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo__word {
  color: var(--text);
}

.logo__o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 20px;
  margin: 0 1px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.logo__house {
  display: block;
  width: 9px;
  height: 9px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 22px;
  flex-wrap: nowrap;
}

.nav__link {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  transition: color 0.2s;
}

.nav__link:hover,
.nav__link--active {
  color: var(--text);
}

.header__cta {
  flex-shrink: 0;
  padding: 10px 18px;
  font-size: 12px;
}

/* Hero — fixed 500px */
.hero {
  position: relative;
  height: var(--hero-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 12, 0.35) 0%,
    rgba(12, 12, 12, 0.15) 40%,
    rgba(12, 12, 12, 0.55) 75%,
    rgba(12, 12, 12, 0.92) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0;
  padding-bottom: 0;
}

.hero__stack {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.hero__text {
  max-width: 520px;
  flex-shrink: 0;
}

.hero__title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
}

.hero__subtitle {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
}

.hero__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 900px;
  flex-shrink: 0;
}

.hero__panel {
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

/* Search bar — ერთიანი pill ზოლი, ფოტოს მიხედვით */
.search-bar {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 900px;
  min-height: 52px;
  padding: 5px 6px 5px 2px;
  gap: 0;
  background: rgba(16, 16, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.search-bar__field {
  position: relative;
  flex: 1;
  min-width: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.search-bar__select {
  width: 100%;
  appearance: none;
  background: transparent;
  border: none;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 400;
  padding: 12px 30px 12px 18px;
  outline: none;
  transition: color 0.2s;
  cursor: pointer;
}

.search-bar__select:hover,
.search-bar__select:focus {
  color: var(--text);
}

.search-bar__select option {
  background: #1a1a1a;
  color: var(--text);
}

.search-bar__chevron {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-bar__divider {
  display: block;
  width: 1px;
  height: 26px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
}

.search-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  margin-left: 4px;
  border: none;
  box-shadow: none;
}

.search-bar__btn svg {
  flex-shrink: 0;
}

/* Quick categories */
.quick-cats {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 36px;
  width: 100%;
  max-width: 900px;
  margin-top: 16px;
  padding-top: 0;
  border-top: none;
}

.quick-cats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  transition: transform 0.2s, opacity 0.2s;
}

.quick-cats__item:hover {
  opacity: 0.9;
}

.quick-cats__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: var(--gold);
  background: transparent;
  transition: border-color 0.2s, background 0.2s;
}

.quick-cats__label {
  font-size: 11px;
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* Main sections */
.main {
  padding-bottom: 24px;
}

.section {
  padding-top: 36px;
}

.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.section__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  transition: opacity 0.2s;
}

.section__link:hover {
  opacity: 0.85;
}

.section__link svg {
  color: var(--gold);
}

/* REELS */
.reels-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.reel-card {
  min-width: 0;
}

.reel-card__trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
}

.reel-card__media {
  position: relative;
  aspect-ratio: 9 / 14;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
}

.reel-card__poster,
.reel-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-card__poster {
  z-index: 1;
  transition: opacity 0.3s ease;
}

.reel-card__video {
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #000;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.reel-card--playing .reel-card__video {
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

.reel-card--playing .reel-card__poster {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.reel-card__play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.reel-card--playing .reel-card__play {
  opacity: 0;
  visibility: hidden;
}

.reel-card__play svg {
  opacity: 0.95;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.reel-card__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.reel-card--playing .reel-card__progress {
  opacity: 1;
}

.reel-card__progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.1s linear;
}

.reel-card__views {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.reel-card__body {
  padding: 10px 2px 0;
}

.reel-card__location {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}

.reel-card__price {
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  max-height: 90vh;
  background: linear-gradient(165deg, #1a1a1a 0%, #0c0c0c 100%);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(197, 160, 89, 0.1);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-modal__main {
  position: relative;
  background: #000;
  overflow: hidden;
}

.vm-reel-hint {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.vm-reel-hint__cur { color: var(--gold); }

@keyframes vm-out-up   { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-8%); opacity: 0; } }
@keyframes vm-out-down { from { transform: translateY(0); opacity: 1; } to { transform: translateY(8%);  opacity: 0; } }
@keyframes vm-in-up    { from { transform: translateY(8%);  opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes vm-in-down  { from { transform: translateY(-8%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.vm-anim-out-up   { animation: vm-out-up   180ms cubic-bezier(0.4, 0, 0.6, 1) forwards; }
.vm-anim-out-down { animation: vm-out-down 180ms cubic-bezier(0.4, 0, 0.6, 1) forwards; }
.vm-anim-in-up    { animation: vm-in-up    260ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.vm-anim-in-down  { animation: vm-in-down  260ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }

.video-modal__overlay-info {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
  border-radius: 10px;
  pointer-events: none;
}

.video-modal__side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #0f0f0f;
  border-left: 1px solid rgba(197, 160, 89, 0.18);
  max-height: 90vh;
}

.vm-side__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vm-side__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.vm-side__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-gold);
  flex-shrink: 0;
}

.vm-side__author-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vm-side__name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.vm-side__verified { flex-shrink: 0; }

.vm-side__handle {
  font-size: 12px;
  color: var(--text-muted);
}

.vm-side__follow {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #0c0c0c;
  background: var(--gold);
  border: none;
  border-radius: 999px;
  transition: background 0.2s;
}

.vm-side__follow:hover { background: var(--gold-hover); }

.vm-side__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vm-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.15s;
}

.vm-action:hover {
  color: var(--text);
  border-color: var(--border-gold);
}

.vm-action:active { transform: scale(0.96); }

.vm-action.is-active {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(197, 160, 89, 0.1);
}

.vm-action[data-action="like"].is-active svg {
  fill: var(--gold);
}

.vm-drawer {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.vm-drawer__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 0;
}

.vm-drawer__head .vm-side__heading {
  flex: 1;
  margin-bottom: 0;
}

.vm-drawer__handle { display: none; }

.vm-drawer__close {
  display: none;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-radius: 50%;
  transition: background 0.2s;
}

.vm-drawer__close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0c0c0c;
}

.vm-side__comments {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 18px 14px;
}

.vm-side__comments::-webkit-scrollbar { width: 6px; }
.vm-side__comments::-webkit-scrollbar-thumb { background: rgba(197, 160, 89, 0.3); border-radius: 3px; }

.vm-side__heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.vm-comments {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vm-comment {
  display: flex;
  gap: 10px;
}

.vm-comment__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.vm-comment__body { min-width: 0; flex: 1; }

.vm-comment__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.vm-comment__user {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.vm-comment__time {
  font-size: 11px;
  color: var(--text-muted);
}

.vm-comment__text {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.45;
  margin-top: 2px;
  word-break: break-word;
}

.vm-comment__reply {
  margin-top: 4px;
  padding: 0;
  font-size: 11px;
  color: var(--text-muted);
  background: none;
  border: none;
  font-weight: 600;
}

.vm-comment__reply:hover { color: var(--gold); }

.vm-compose {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #0c0c0c;
}

.vm-compose__input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.vm-compose__input:focus { border-color: var(--border-gold); }

.vm-compose__send {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #0c0c0c;
  border: none;
  border-radius: 50%;
  transition: background 0.2s;
}

.vm-compose__send:hover { background: var(--gold-hover); }

.video-modal.is-open .video-modal__dialog {
  transform: scale(1) translateY(0);
}

.video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.video-modal__close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0c0c0c;
}

.video-modal__player-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 90vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal__player {
  width: 100%;
  height: 100%;
  max-height: 90vh;
  object-fit: contain;
  background: #000;
  display: block;
}

.video-modal__title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.video-modal__price {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

/* Apartment card carousel */
.apt-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-elevated);
}

.apt-card__slides {
  position: absolute;
  inset: 0;
}

.apt-card__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
}

.apt-card__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.apt-card__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.apt-card:hover .apt-card__slide.is-active img {
  transform: scale(1.04);
}

.apt-card__lock {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
}

.apt-card__lock-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

.apt-card__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s;
}

.apt-card:hover .apt-card__nav { opacity: 1; }

.apt-card__nav:hover {
  background: var(--gold);
  color: #0c0c0c;
  border-color: var(--gold);
}

.apt-card__nav--prev { left: 8px; }
.apt-card__nav--next { right: 8px; }

.apt-card__counter {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.apt-card__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.apt-card__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}

.apt-card__dot.is-active {
  background: var(--gold);
  transform: scale(1.4);
}

/* Auth modal */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.auth-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.auth-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 32px 28px 28px;
  background: linear-gradient(165deg, #1a1a1a 0%, #0c0c0c 100%);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(197, 160, 89, 0.1);
  transform: scale(0.94) translateY(10px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-modal.is-open .auth-modal__dialog {
  transform: scale(1) translateY(0);
}

.auth-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s;
}

.auth-modal__close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0c0c0c;
}

.auth__header { margin-bottom: 20px; text-align: center; }

.auth__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.auth__subtitle {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.auth__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  margin-bottom: 20px;
}

.auth__tab {
  padding: 9px 12px;
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.auth__tab.is-active {
  background: var(--gold);
  color: #0c0c0c;
}

.auth__pane {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.auth__pane.is-active { display: flex; }

.auth__field { display: flex; flex-direction: column; gap: 6px; }

.auth__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.auth__input {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
}

.auth__input:focus {
  border-color: var(--border-gold);
  background: rgba(255, 255, 255, 0.06);
}

.auth__submit {
  margin-top: 4px;
  padding: 13px;
  border-radius: 10px;
  font-size: 14px;
}

.auth__divider {
  position: relative;
  text-align: center;
  margin: 4px 0;
}

.auth__divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.auth__divider span {
  position: relative;
  display: inline-block;
  padding: 0 10px;
  background: #0f0f0f;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth__socials { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.auth__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}

.auth__social:hover {
  border-color: var(--border-gold);
  background: rgba(197, 160, 89, 0.06);
}

/* Mobile modal layout */
@media (max-width: 860px) {
  .video-modal { padding: 0; }

  .video-modal__dialog {
    display: block;
    grid-template-columns: none;
    grid-template-rows: none;
    max-width: 100%;
    width: 100%;
    max-height: 100vh;
    height: 100dvh;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: #000;
    overflow: hidden;
  }

  .video-modal__close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.18);
    z-index: 8;
  }

  .video-modal__main {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1;
  }

  .video-modal__player-wrap {
    width: 100%;
    height: 100%;
    max-height: none;
  }

  .video-modal__player {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
  }

  .vm-reel-hint {
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.5);
  }

  /* gradient overlay for legibility */
  .video-modal__main::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
    z-index: 2;
  }

  .video-modal__overlay-info {
    left: 14px;
    right: 80px;
    bottom: 16px;
    padding: 0;
    background: none;
    border-radius: 0;
    z-index: 5;
  }

  .video-modal__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.85);
  }

  .video-modal__price {
    font-size: 14px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.85);
  }

  /* Side becomes an overlay layer over the video */
  .video-modal__side {
    position: absolute;
    inset: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-top: 0;
    border-radius: 0;
    max-height: none;
    min-height: 0;
    pointer-events: none;
    z-index: 6;
    display: block;
  }

  .video-modal__side::before { display: none; }

  /* Author floats above title at bottom-left over video */
  .vm-side__author {
    pointer-events: auto;
    position: absolute;
    left: 14px;
    right: 80px;
    bottom: 72px;
    padding: 0;
    border: none;
    background: none;
    gap: 10px;
    z-index: 7;
  }

  .vm-side__avatar {
    width: 38px;
    height: 38px;
    border: 1.5px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
  }

  .vm-side__name {
    color: #fff;
    font-size: 13px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  }

  .vm-side__handle {
    color: rgba(255,255,255,0.9);
    font-size: 11px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  }

  .vm-side__follow {
    padding: 6px 12px;
    font-size: 11px;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .vm-side__follow:hover {
    background: rgba(255,255,255,0.15);
  }

  /* Vertical action column on right side over video */
  .vm-side__actions {
    pointer-events: auto;
    position: absolute;
    right: 10px;
    bottom: 70px;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    border: none;
    overflow: visible;
    z-index: 7;
  }

  .vm-action {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    gap: 0;
    border-radius: 50%;
    background: rgba(0,0,0,0.42);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    position: relative;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  }

  .vm-action__icon svg {
    width: 22px;
    height: 22px;
    display: block;
  }

  .vm-action:hover {
    background: rgba(0,0,0,0.6);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
  }

  .vm-action.is-active {
    background: rgba(197,160,89,0.2);
    border-color: var(--gold);
    color: var(--gold);
  }

  .vm-action__icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .vm-action__count {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.85);
    white-space: nowrap;
  }

  .vm-action[data-action="share"] .vm-action__count,
  .vm-action[data-action="save"] .vm-action__count {
    font-size: 9px;
  }

  /* Drawer (slide-up bottom sheet) */
  .vm-drawer {
    pointer-events: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 78vh;
    height: 78vh;
    background: #141414;
    border-radius: 20px 20px 0 0;
    transform: translateY(105%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 12;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -12px 40px rgba(0,0,0,0.55);
    border-top: 1px solid rgba(197, 160, 89, 0.18);
  }

  .video-modal.is-comments-open .vm-drawer {
    transform: translateY(0);
  }

  /* Backdrop when drawer is open */
  .video-modal.is-comments-open .video-modal__main::after {
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.8) 100%), rgba(0,0,0,0.5);
  }

  .vm-drawer__head {
    position: relative;
    padding: 16px 18px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .vm-drawer__handle {
    display: block;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.2);
  }

  .vm-drawer__close {
    display: inline-flex;
  }

  .vm-drawer__head .vm-side__heading {
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text);
    margin-top: 4px;
  }

  .vm-side__comments {
    padding: 12px 16px 12px;
  }

  .vm-comments { gap: 14px; }

  .vm-compose {
    padding: 10px 14px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .vm-compose__input {
    padding: 11px 14px;
    font-size: 14px;
  }
}

/* TOP listings */
.top-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.top-card {
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  transition: border-color 0.2s;
}

.top-card:hover {
  border-color: var(--gold);
}

.top-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.top-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge--platinum {
  background: linear-gradient(135deg, #5b7a9d, #8fa8c4);
  color: #fff;
}

.badge--gold {
  background: linear-gradient(135deg, #a8843a, var(--gold));
  color: #1a1408;
}

.badge--silver {
  background: linear-gradient(135deg, #6b6b6b, #9a9a9a);
  color: #fff;
}

.top-card__body {
  padding: 14px 14px 16px;
  background: #111111;
}

.top-card__price {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 4px;
}

.top-card__city {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.top-card__location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}

.top-card__location svg {
  color: var(--gold);
  flex-shrink: 0;
}

.top-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.top-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
}

.top-card__meta-item svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Apartments grid — 6 per row, 12 total */
.section--apartments {
  padding-bottom: 48px;
}

.apartments-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.apt-card {
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111;
  transition: border-color 0.2s, transform 0.2s;
}

.apt-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.apt-card__link {
  display: block;
}

.apt-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-elevated);
}

.apt-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.apt-card:hover .apt-card__media img {
  transform: scale(1.04);
}

.apt-card__body {
  padding: 10px 11px 12px;
}

.apt-card__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 3px;
}

.apt-card__city {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.apt-card__location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.apt-card__location svg {
  color: var(--gold);
  flex-shrink: 0;
}

.apt-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.apt-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.apt-card__meta-item svg {
  flex-shrink: 0;
  color: var(--text-muted);
}

/* Footer */
.footer {
  margin-top: 20px;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
}

.footer__top {
  padding: 52px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer__tagline {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 280px;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  transition: background 0.2s, color 0.2s;
}

.footer__social-link:hover {
  background: var(--gold);
  color: #0c0c0c;
}

.footer__heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
}

.footer__links li + li {
  margin-top: 10px;
}

.footer__links a {
  font-size: 13px;
  color: var(--text-soft);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__contact {
  list-style: none;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.footer__contact svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: var(--gold);
}

/* Responsive — horizontal scroll on smaller screens */
@media (max-width: 1200px) {
  .nav {
    gap: 14px;
  }

  .nav__link {
    font-size: 12px;
  }
}

@media (max-width: 1280px) {
  .apartments-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .apartments-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .reels-row,
  .top-row {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .reel-card {
    flex: 0 0 160px;
    scroll-snap-align: start;
  }

  .top-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
  }

  .quick-cats {
    gap: 24px;
    overflow-x: auto;
    justify-content: flex-start;
    max-width: 100%;
    padding: 0 2px 6px;
    scrollbar-width: thin;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }

  .header__inner {
    height: 56px;
    gap: 10px;
  }

  .logo {
    font-size: 18px;
  }

  .hero {
    height: auto;
    min-height: 0;
  }

  .hero__content {
    align-items: stretch;
    padding-top: 28px;
    padding-bottom: 32px;
  }

  .hero__stack {
    gap: 20px;
  }

  .hero__text {
    max-width: 100%;
  }

  .apartments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero__title {
    font-size: 32px;
    line-height: 1.15;
    margin-bottom: 8px;
  }

  .hero__subtitle {
    font-size: 12px;
    line-height: 1.55;
  }

  .search-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: linear-gradient(165deg, rgba(22, 22, 22, 0.92) 0%, rgba(10, 10, 10, 0.92) 100%);
    border: 1px solid rgba(197, 160, 89, 0.28);
    border-radius: 18px;
    padding: 10px;
    min-height: auto;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .search-bar__field--full {
    grid-column: 1 / -1;
  }

  .search-bar__divider {
    display: none;
  }

  .search-bar__field {
    min-height: 60px;
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    padding: 16px 12px 6px 38px;
    transition: border-color 0.2s, background 0.2s;
  }

  .search-bar__field:focus-within {
    border-color: var(--gold);
    background: rgba(197, 160, 89, 0.06);
  }

  .search-bar__field::before {
    content: attr(data-label);
    position: absolute;
    left: 38px;
    top: 7px;
    font-size: 9px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .search-bar__field::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.85;
  }

  .search-bar__field[data-label="ქალაქი"]::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M12 21s-7-4.5-7-10a7 7 0 0114 0c0 5.5-7 10-7 10z' stroke='%23c5a059' stroke-width='1.6'/><circle cx='12' cy='11' r='2.5' stroke='%23c5a059' stroke-width='1.6'/></svg>");
  }

  .search-bar__field[data-label="უბანი"]::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M3 10.5L12 3l9 7.5V21H3V10.5z' stroke='%23c5a059' stroke-width='1.6'/><path d='M9 21V12h6v9' stroke='%23c5a059' stroke-width='1.6'/></svg>");
  }

  .search-bar__field[data-label="ფასი"]::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M12 2v20M17 6H9.5a3.5 3.5 0 000 7h5a3.5 3.5 0 010 7H6' stroke='%23c5a059' stroke-width='1.6' stroke-linecap='round'/></svg>");
  }

  .search-bar__field[data-label="ოთახები"]::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M3 18v-3a4 4 0 014-4h10a4 4 0 014 4v3M4 12V9a8 8 0 0116 0v3' stroke='%23c5a059' stroke-width='1.6'/><path d='M7 18h10' stroke='%23c5a059' stroke-width='1.6'/></svg>");
  }

  .search-bar__chevron {
    right: 12px;
    color: var(--gold);
    opacity: 0.7;
  }

  .search-bar__btn {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 50px;
    margin: 4px 0 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #d4b06a 0%, var(--gold) 50%, #a8843a 100%);
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .search-bar__select {
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
  }

  .quick-cats {
    gap: 12px;
    margin-top: 12px;
    padding-bottom: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .quick-cats__item {
    min-width: 64px;
    gap: 6px;
  }

  .quick-cats__icon {
    width: 42px;
    height: 42px;
    border-radius: 9px;
  }

  .quick-cats__label {
    font-size: 10px;
  }

  .header__cta {
    font-size: 11px;
    padding: 8px 10px;
  }
}

@media (max-width: 560px) {
  .hero {
    height: auto;
  }

  .hero__content {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero__subtitle {
    max-width: 95%;
  }

  .search-bar {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    padding: 9px;
    border-radius: 16px;
  }

  .search-bar__field {
    min-height: 56px;
    padding: 14px 10px 4px 34px;
    border-radius: 11px;
  }

  .search-bar__field::before {
    left: 34px;
  }

  .search-bar__field::after {
    left: 10px;
    width: 16px;
    height: 16px;
  }

  .search-bar__select {
    font-size: 13px;
  }

  .search-bar__btn {
    min-height: 46px;
    font-size: 13px;
  }

  .header__cta {
    display: none;
  }

  .section {
    padding-top: 30px;
  }
}

/* Custom luxury cursor */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: none !important;
  }

  .cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000001;
    pointer-events: none;
    mix-blend-mode: normal;
  }

  .cursor__dot,
  .cursor__ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
  }

  .cursor__dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.65);
    transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, opacity 0.25s ease;
  }

  .cursor__ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(197, 160, 89, 0.75);
    background: rgba(197, 160, 89, 0.06);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.25s ease,
      background 0.25s ease,
      opacity 0.25s ease;
  }

  .cursor--hover .cursor__dot {
    width: 4px;
    height: 4px;
    background: #fff;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
  }

  .cursor--hover .cursor__ring {
    width: 52px;
    height: 52px;
    border-color: var(--gold);
    background: rgba(197, 160, 89, 0.12);
  }

  .cursor--click .cursor__ring {
    width: 28px;
    height: 28px;
    border-color: #fff;
    background: rgba(197, 160, 89, 0.25);
  }

  .cursor--click .cursor__dot {
    width: 3px;
    height: 3px;
  }

  .cursor--hidden {
    opacity: 0;
  }

  .cursor--hidden .cursor__dot,
  .cursor--hidden .cursor__ring {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: auto !important;
  }

  .cursor {
    display: none !important;
  }
}

/* Fallback: elegant static cursor when custom cursor is off */
@media (hover: hover) and (pointer: fine) {
  body:not(.has-custom-cursor) {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3' fill='%23c5a059'/%3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='%23c5a059' stroke-width='1.2' opacity='0.7'/%3E%3C/svg%3E") 12 12, auto;
  }

  body:not(.has-custom-cursor) a,
  body:not(.has-custom-cursor) button,
  body:not(.has-custom-cursor) select,
  body:not(.has-custom-cursor) [role='button'] {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4' fill='%23c5a059'/%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E") 12 12, pointer;
  }
}
