/* ===== Variables ===== */
:root {
  --color-bg: #e7e5e3;
  --color-bg-alt: #dedbd8;
  --color-bg-dark: #302e2f;
  --color-text: #302e2f;
  --color-text-muted: #6e6c6c;
  --color-accent: #302e2f;
  --color-accent-hover: #1f1d1e;
  --color-accent-light: #6e6c6c;
  --color-accent-dark: #1f1d1e;
  --color-gold: #b8956a;
  --color-gold-light: #d4b896;
  --color-white: #ffffff;
  --color-border: #cbc9c7;
  --color-cream: #e7e5e3;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', system-ui, sans-serif;

  --moon-pearl: #faf9f6;
  --moon-silver: #e4e0d8;
  --moon-gold: #e8dcc4;
  --moon-glow: rgba(255, 252, 245, 0.45);

  --header-height: 70px;
  --btn-radius: 3px;
  --container-max: 1200px;
  --section-padding: clamp(4rem, 8vw, 7rem);
  --transition: 0.2s ease-in-out;
  --transition-reveal: 0.5s ease-in-out;
  --ui-scale: 1;
}

@media (min-width: 901px) {
  :root {
    --ui-scale: 1.5;
    --header-height: 105px;
    --btn-radius: 4.5px;
    --container-max: 1800px;
    --section-padding: clamp(4rem, 8vw, 6rem);
  }

  html {
    font-size: 150%;
  }

  .gallery-carousel__slide {
    width: clamp(20.625rem, 28vw, 30rem);
  }

  .catalog__dropdown-list {
    max-height: min(31.875rem, 52vh);
  }
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  scrollbar-width: thin;
  scrollbar-color: #6e6c6c #e1dfdd;
}

@media screen and (min-width: 961px) {
  body::-webkit-scrollbar {
    width: 4px;
  }

  body::-webkit-scrollbar-track {
    background: #e1dfdd;
  }

  body::-webkit-scrollbar-thumb {
    background-color: #6e6c6c;
    border-radius: 4px;
  }

  body::-webkit-scrollbar-thumb:hover {
    background-color: #302e2f;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity var(--transition-reveal);
}

body.is-loaded {
  opacity: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

button,
input,
select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.section + .section {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

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

.section-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 33.75rem;
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-desc {
  margin: 0 auto;
}

/* ===== Page hero (inner pages) ===== */
.page-hero {
  padding: calc(var(--header-height) + clamp(2.5rem, 6vw, 4rem)) 0 clamp(2rem, 4vw, 3rem);
  background-color: var(--color-bg-alt);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.page-hero .section-desc {
  max-width: 40rem;
}

.page-hero__note {
  max-width: 40rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.page-hero__note::before {
  content: '* ';
  color: var(--color-gold);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.5625rem 1.125rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-cream);
  border: 1px solid var(--color-accent);
}

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-cream);
  border-color: var(--color-accent-hover);
}

.btn--primary.dikidi-booking:hover,
.booking-fab.dikidi-booking:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(184, 149, 106, 0.32);
}

.btn--primary.btn--light.dikidi-booking {
  background-color: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-white);
}

.btn--primary.btn--light.dikidi-booking:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(184, 149, 106, 0.32);
}

.btn--outline {
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}

.btn--outline:hover {
  background-color: var(--color-accent);
  color: var(--color-cream);
}

.btn--header-secondary {
  min-height: 2.125rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.625rem;
  color: var(--color-text);
  border: 1px solid rgba(48, 46, 47, 0.18);
  background-color: transparent;
}

.btn--header-secondary:hover {
  background-color: rgba(255, 255, 255, 0.42);
  border-color: rgba(48, 46, 47, 0.35);
  color: var(--color-text);
}

.header__cta.btn--primary {
  min-height: 2.125rem;
  padding: 0.5rem 1rem;
  font-size: 0.625rem;
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--color-white);
}

.btn--ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.btn--light {
  background-color: var(--color-white);
  color: var(--color-text);
}

.btn--light:hover:not(.dikidi-booking) {
  background-color: var(--color-bg);
  color: var(--color-text);
}

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

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: rgba(231, 229, 227, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition:
    background-color var(--transition),
    box-shadow var(--transition);
}

.header--scrolled {
  background-color: rgba(231, 229, 227, 0.98);
  box-shadow: 0 8px 24px rgba(48, 46, 47, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  height: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  margin-left: auto;
}

.logo {
  transition: color var(--transition);
  flex-shrink: 0;
}

.logo--footer {
  color: var(--color-text);
}

/* ===== Selena logo — goddess of the white moon ===== */
.selena-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.selena-logo__text {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  text-indent: 0;
  text-transform: uppercase;
  line-height: 1;
  background: none;
  color: inherit;
  filter: none;
}

.selena-logo__letter {
  display: inline-block;
  text-transform: uppercase;
  background: linear-gradient(
    165deg,
    #ffffff 0%,
    var(--moon-pearl) 35%,
    var(--moon-silver) 68%,
    rgba(255, 255, 255, 0.92) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
  animation: selena-letter-glow 5s ease-in-out infinite;
  animation-delay: var(--glow-delay, 0s);
  will-change: filter, transform;
}

.selena-logo--compact .selena-logo__text {
  font-size: 1.2rem;
  gap: 0.2em;
}

.selena-logo--hero {
  margin-bottom: 1.5rem;
  padding: clamp(1.5rem, 5vw, 2.5rem);
}

.selena-logo--hero .selena-logo__text {
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  gap: 0.3em;
  font-weight: 500;
}

.selena-logo--hero .selena-logo__letter {
  font-weight: 500;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
}

@keyframes selena-letter-glow {
  0%, 100%, 78% {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.18));
    transform: scale(1);
  }
  6%, 16% {
    filter:
      drop-shadow(0 0 14px rgba(255, 255, 255, 0.95))
      drop-shadow(0 0 28px rgba(232, 220, 196, 0.6))
      drop-shadow(0 0 42px rgba(255, 255, 255, 0.28));
    transform: scale(1.05);
  }
}

.selena-logo--compact .selena-logo__letter {
  animation-duration: 4.5s;
}

.selena-logo--hero .selena-logo__letter {
  animation-duration: 5.5s;
}

.selena-logo__halo {
  position: absolute;
  z-index: 0;
  width: min(88vw, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 48px rgba(255, 255, 255, 0.06),
    inset 0 0 40px rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.selena-logo__halo::before,
.selena-logo__halo::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.selena-logo__halo::before {
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.selena-logo__halo::after {
  inset: 20%;
  background: radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 55%);
}

/* Animated bokeh layer — behind hero title */
.selena-logo__bokeh-bg {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 10%, transparent 78%);
}

.selena-logo__bokeh-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(232, 220, 196, 0.35) 25%,
    rgba(255, 252, 245, 0.12) 50%,
    transparent 75%
  );
  filter: blur(5px);
  opacity: 0.15;
  will-change: transform, opacity;
  animation: selena-bokeh-drift 14s ease-in-out infinite;
}

.selena-logo__bokeh-dot:nth-child(1)  { width: 52px; height: 52px; top: 28%; left: 18%; animation-delay: 0s;    animation-duration: 13s; }
.selena-logo__bokeh-dot:nth-child(2)  { width: 28px; height: 28px; top: 42%; left: 38%; animation-delay: 1.2s;  animation-duration: 11s; }
.selena-logo__bokeh-dot:nth-child(3)  { width: 64px; height: 64px; top: 22%; right: 18%; animation-delay: 2.4s;  animation-duration: 16s; }
.selena-logo__bokeh-dot:nth-child(4)  { width: 20px; height: 20px; top: 58%; left: 28%; animation-delay: 0.6s;  animation-duration: 10s; }
.selena-logo__bokeh-dot:nth-child(5)  { width: 38px; height: 38px; top: 52%; right: 28%; animation-delay: 3.8s;  animation-duration: 12s; }
.selena-logo__bokeh-dot:nth-child(6)  { width: 72px; height: 72px; bottom: 18%; left: 32%; animation-delay: 5s;    animation-duration: 18s; filter: blur(8px); }
.selena-logo__bokeh-dot:nth-child(7)  { width: 16px; height: 16px; top: 35%; right: 38%; animation-delay: 2s;    animation-duration: 9s;  }
.selena-logo__bokeh-dot:nth-child(8)  { width: 44px; height: 44px; bottom: 28%; right: 22%; animation-delay: 4.2s;  animation-duration: 15s; }
.selena-logo__bokeh-dot:nth-child(9)  { width: 24px; height: 24px; top: 48%; left: 48%; animation-delay: 1.8s;  animation-duration: 11s; }
.selena-logo__bokeh-dot:nth-child(10) { width: 56px; height: 56px; top: 38%; left: 12%;  animation-delay: 6.2s;  animation-duration: 17s; filter: blur(7px); }
.selena-logo__bokeh-dot:nth-child(11) { width: 14px; height: 14px; bottom: 38%; right: 42%; animation-delay: 3.2s; animation-duration: 8s;  }
.selena-logo__bokeh-dot:nth-child(12) { width: 32px; height: 32px; top: 30%; left: 52%; animation-delay: 7s;    animation-duration: 13s; }

.selena-logo__bokeh-dot:nth-child(odd) {
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 252, 245, 0.2) 35%,
    transparent 70%
  );
}

.selena-logo__bokeh-dot:nth-child(3n) {
  background: radial-gradient(
    circle,
    rgba(232, 213, 168, 0.4) 0%,
    rgba(255, 255, 255, 0.15) 40%,
    transparent 72%
  );
}

@keyframes selena-bokeh-drift {
  0%, 100% {
    opacity: 0.12;
    transform: translate(0, 0) scale(0.94);
  }
  25% {
    opacity: 0.32;
    transform: translate(8px, -12px) scale(1.06);
  }
  50% {
    opacity: 0.45;
    transform: translate(-10px, 8px) scale(1.1);
  }
  75% {
    opacity: 0.26;
    transform: translate(6px, 10px) scale(1);
  }
}

.selena-logo__sparkles {
  position: absolute;
  inset: -18px;
  z-index: 2;
  pointer-events: none;
}

.selena-logo--hero .selena-logo__sparkles {
  inset: -8%;
}

.selena-logo__spark {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 4px 1px rgba(255, 255, 255, 0.25);
  opacity: 0;
  animation: selena-spark-twinkle 5s ease-in-out infinite;
}

.selena-logo__spark:nth-child(1) { top: 8%; left: 12%; animation-delay: 0s; }
.selena-logo__spark:nth-child(2) { top: 22%; right: 6%; animation-delay: 0.8s; }
.selena-logo__spark:nth-child(3) { bottom: 18%; left: 4%; animation-delay: 1.6s; }
.selena-logo__spark:nth-child(4) { bottom: 8%; right: 14%; animation-delay: 2.4s; }
.selena-logo__spark:nth-child(5) { top: 48%; left: -2%; animation-delay: 3.2s; }
.selena-logo__spark:nth-child(6) { top: 12%; right: 22%; animation-delay: 1.1s; }
.selena-logo__spark:nth-child(7) { bottom: 28%; right: 4%; animation-delay: 2.8s; }
.selena-logo__spark:nth-child(8) { top: 38%; left: 8%; animation-delay: 3.6s; }
.selena-logo__spark:nth-child(9) { bottom: 42%; right: 18%; animation-delay: 0.4s; }
.selena-logo__spark:nth-child(10) { top: 58%; right: 10%; animation-delay: 4.2s; }

.selena-logo--compact .selena-logo__spark {
  width: 1.5px;
  height: 1.5px;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.2);
}

.selena-logo--compact .selena-logo__spark:nth-child(1) { top: 0; left: -4px; }
.selena-logo--compact .selena-logo__spark:nth-child(2) { top: 50%; right: -6px; }
.selena-logo--compact .selena-logo__spark:nth-child(3) { bottom: 0; left: 20%; }
.selena-logo--compact .selena-logo__spark:nth-child(4) { top: 10%; right: 8%; }
.selena-logo--compact .selena-logo__spark:nth-child(5) { bottom: 20%; right: -2px; }

.selena-logo__bokeh {
  position: absolute;
  inset: -28px;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.selena-logo--hero .selena-logo__bokeh {
  inset: -12%;
}

.selena-logo__orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 40%, transparent 70%);
  filter: blur(1px);
  opacity: 0;
  animation: selena-bokeh-glow 8s ease-in-out infinite;
}

.selena-logo__orb:nth-child(1) { width: 18px; height: 18px; top: 5%; left: 8%; animation-delay: 0s; }
.selena-logo__orb:nth-child(2) { width: 12px; height: 12px; top: 30%; right: 2%; animation-delay: 2s; }
.selena-logo__orb:nth-child(3) { width: 22px; height: 22px; bottom: 10%; left: 0; animation-delay: 4s; }
.selena-logo__orb:nth-child(4) { width: 10px; height: 10px; bottom: 35%; right: 12%; animation-delay: 1.5s; }
.selena-logo__orb:nth-child(5) { width: 14px; height: 14px; top: 55%; left: 15%; animation-delay: 3.5s; }
.selena-logo__orb:nth-child(6) { width: 8px; height: 8px; top: 15%; right: 28%; animation-delay: 5.5s; }

.selena-logo--compact .selena-logo__orb {
  filter: blur(0.5px);
}

.selena-logo--compact .selena-logo__orb:nth-child(1) { width: 10px; height: 10px; top: -4px; left: -8px; }
.selena-logo--compact .selena-logo__orb:nth-child(2) { width: 8px; height: 8px; bottom: -2px; right: -10px; }
.selena-logo--compact .selena-logo__orb:nth-child(3) { display: none; }

@keyframes selena-bokeh-glow {
  0%, 100% { opacity: 0; transform: scale(0.85); }
  40%, 60% { opacity: 0.18; transform: scale(1); }
  50% { opacity: 0.28; transform: scale(1.05); }
}

.header .selena-logo--compact .selena-logo__text,
.footer .selena-logo--compact .selena-logo__text {
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  gap: 0.22em;
}

.header .selena-logo__letter,
.header--scrolled .selena-logo__letter,
.footer .selena-logo__letter {
  font-weight: 600;
  background: linear-gradient(
    160deg,
    var(--color-text) 0%,
    #4a433c 38%,
    var(--color-gold) 72%,
    var(--color-gold-light) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter:
    drop-shadow(0 1px 1px rgba(48, 46, 47, 0.22))
    drop-shadow(0 3px 10px rgba(184, 149, 106, 0.28));
}

.header .selena-logo__letter,
.header--scrolled .selena-logo__letter {
  animation: none;
}

.header .selena-logo:hover .selena-logo__letter,
.footer .selena-logo:hover .selena-logo__letter {
  background: linear-gradient(
    160deg,
    var(--color-text) 0%,
    var(--color-gold) 55%,
    #c9a97a 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  filter:
    drop-shadow(0 1px 2px rgba(48, 46, 47, 0.26))
    drop-shadow(0 4px 14px rgba(184, 149, 106, 0.38));
}

.header .selena-logo__spark,
.header--scrolled .selena-logo__spark,
.footer .selena-logo__spark {
  background: rgba(184, 149, 106, 0.85);
  box-shadow: 0 0 4px rgba(184, 149, 106, 0.45);
}

.header .selena-logo__orb,
.footer .selena-logo__orb {
  background: radial-gradient(circle, rgba(184, 149, 106, 0.35) 0%, transparent 72%);
  opacity: 0.55;
}

@keyframes selena-spark-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  45%, 55% { opacity: 0.22; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .selena-logo__spark,
  .selena-logo__orb,
  .selena-logo__bokeh-dot,
  .selena-logo__letter {
    animation: none;
  }

  .selena-logo__bokeh-dot {
    opacity: 0.14;
  }
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav__actions {
  display: none;
}

.nav__list {
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.nav__link {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-text);
  transition: width var(--transition);
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--active {
  color: var(--color-text);
}

.nav__link--active::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.3125rem;
  width: 1.75rem;
  height: 1.75rem;
  cursor: pointer;
  z-index: 1001;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: all var(--transition);
}

.burger--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger--active span:nth-child(2) {
  opacity: 0;
}

.burger--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    linear-gradient(135deg, rgba(26, 22, 20, 0.75) 0%, rgba(44, 40, 37, 0.55) 50%, rgba(184, 149, 106, 0.25) 100%),
    url('https://images.unsplash.com/photo-1560066984-138dadb4c035?w=1920&q=80') center / cover no-repeat;
  text-align: center;
  color: var(--color-white);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(26, 22, 20, 0.3) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: var(--header-height);
}

.hero__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--moon-gold);
  margin-bottom: 1.25rem;
  text-shadow: 0 0 12px rgba(232, 220, 196, 0.25);
}

.hero__title {
  margin: 0;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 32.5rem;
  margin: 0 auto 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero__actions .btn {
  min-height: 2.5rem;
  padding: 0.6875rem 1.375rem;
  font-size: 0.6875rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero__scroll-line {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, var(--color-accent-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== About ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about__image {
  position: relative;
  width: min(100%, 28rem);
  aspect-ratio: 1 / 1;
  justify-self: start;
  border-radius: 2px;
  overflow: hidden;
}

.about__image-frame {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0a0a0a;
}

.about__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.about__image::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid var(--color-gold);
  z-index: -1;
}

.about__desc {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.about__stats {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.about__stats li {
  display: flex;
  flex-direction: column;
}

.about__stats strong {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  color: var(--color-accent);
  line-height: 1;
}

.about__stats span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* ===== Catalog ===== */
.catalog__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.catalog__search {
  flex: 1 1 17.5rem;
  width: 100%;
  min-height: 0;
  box-sizing: border-box;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.catalog__search:focus {
  border-color: var(--color-accent);
}

.catalog__filter {
  flex: 0 1 20rem;
  width: 100%;
  min-width: 13.75rem;
}

.catalog__filter-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.catalog__dropdown {
  position: relative;
}

.catalog__dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.catalog__dropdown-trigger:hover,
.catalog__dropdown--open .catalog__dropdown-trigger {
  border-color: rgba(184, 149, 106, 0.55);
}

.catalog__dropdown-trigger:focus-visible {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.12);
}

.catalog__dropdown-value {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog__dropdown-chevron {
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid var(--color-gold);
  border-bottom: 1.5px solid var(--color-gold);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.35s ease;
}

.catalog__dropdown--open .catalog__dropdown-chevron {
  transform: rotate(-135deg) translateY(1px);
}

.catalog__dropdown-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  z-index: 200;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.4s;
  pointer-events: none;
}

.catalog__dropdown--open .catalog__dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.catalog__dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  max-height: min(21.25rem, 52vh);
  overflow-y: auto;
  background-color: var(--color-white);
  border: 1px solid rgba(184, 149, 106, 0.28);
  border-radius: 2px;
  box-shadow:
    0 16px 40px rgba(44, 40, 37, 0.1),
    0 4px 16px rgba(44, 40, 37, 0.06);
}

.catalog__dropdown-list::-webkit-scrollbar {
  width: 6px;
}

.catalog__dropdown-list::-webkit-scrollbar-thumb {
  background-color: rgba(44, 40, 37, 0.14);
  border-radius: 3px;
}

.catalog__dropdown-option {
  display: block;
  width: 100%;
  padding: 0.8125rem 1.125rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--color-text);
  background: transparent;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.25s ease,
    color 0.25s ease;
}

.catalog__dropdown--open .catalog__dropdown-option {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--option-delay, 0s);
}

.catalog__dropdown-option:hover,
.catalog__dropdown-option:focus-visible {
  background-color: var(--color-bg-alt);
  color: var(--color-accent-dark);
  outline: none;
}

.catalog__dropdown-option--active {
  color: var(--color-accent-dark);
  background-color: var(--color-bg-alt);
}

.catalog__dropdown-option--active:hover,
.catalog__dropdown-option--active:focus-visible {
  color: var(--color-accent-dark);
  background-color: #ebe5dc;
}

@media (prefers-reduced-motion: reduce) {
  .catalog__dropdown-panel,
  .catalog__dropdown-chevron,
  .catalog__dropdown-option {
    transition: none;
  }

  .catalog__dropdown-option {
    opacity: 1;
    transform: none;
  }
}

.catalog__content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.catalog-category {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.catalog-category__header {
  padding: 1.25rem 1.5rem 0.75rem;
  background-color: var(--color-bg);
  border-bottom: none;
}

.catalog-category__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
}

.catalog-category__info {
  padding: 0 1.5rem 1.25rem;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.catalog-category__info p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.catalog-category__body {
  padding: 0.5rem 0 0;
}

.catalog-group + .catalog-group {
  border-top: 1px solid var(--color-border);
}

.catalog-group__toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.5rem;
  cursor: pointer;
  text-align: left;
  background-color: var(--color-white);
  transition: background-color var(--transition);
}

.catalog-group__toggle:hover {
  background-color: rgba(184, 149, 106, 0.05);
}

.catalog-group__toggle--open {
  background-color: rgba(184, 149, 106, 0.04);
}

.catalog-group__title {
  flex: 1;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.catalog-group__chevron {
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid var(--color-gold);
  border-bottom: 1.5px solid var(--color-gold);
  transform: rotate(45deg);
  transition: transform 0.5s ease;
}

.catalog-group__toggle--open .catalog-group__chevron {
  transform: rotate(-135deg);
  margin-top: 0.2rem;
}

.catalog-group__list {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s ease;
  background-color: var(--color-white);
}

.catalog-group__list--open {
  grid-template-rows: 1fr;
}

.catalog-group__list-inner {
  overflow: hidden;
  min-height: 0;
  border-top: 1px solid transparent;
  transition: border-color 0.5s ease;
}

.catalog-group__list--open .catalog-group__list-inner {
  border-top-color: var(--color-border);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--transition);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row:hover {
  background-color: rgba(184, 149, 106, 0.04);
}

.price-row__name {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text);
}

.price-row__price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gold);
  white-space: nowrap;
}

.catalog__empty {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--color-text-muted);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
}

.catalog__meta {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
}

.catalog__notice {
  margin: 0 0 1.25rem;
  padding: 0.875rem 1.125rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  border-radius: 2px;
}

/* ===== Gallery carousel ===== */
.gallery-carousel {
  position: relative;
  margin-top: 0.5rem;
  padding: 0 clamp(2.5rem, 5vw, 3.5rem);
}

.gallery-carousel__viewport {
  overflow: hidden;
  border-radius: 2px;
}

.gallery-carousel__track {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  width: max-content;
  will-change: transform;
}

.gallery-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.94);
  color: var(--color-text);
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 4px 18px rgba(26, 22, 20, 0.08);
  transition: border-color var(--transition), color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.gallery-carousel__nav svg {
  width: 1.125rem;
  height: 1.125rem;
}

.gallery-carousel__nav:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background-color: var(--color-white);
  box-shadow: 0 6px 20px rgba(184, 149, 106, 0.18);
}

.gallery-carousel__nav--prev {
  left: 0;
}

.gallery-carousel__nav--next {
  right: 0;
}

.gallery-carousel__slide {
  flex: 0 0 auto;
  width: clamp(13.75rem, 28vw, 20rem);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  background-color: var(--color-bg-alt);
  box-shadow: 0 8px 24px rgba(26, 22, 20, 0.08);
}

.gallery-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-carousel__slide:hover img {
  transform: scale(1.04);
}

.gallery-carousel__empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: 2rem 0;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-carousel__track {
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    transform: none !important;
  }

  .gallery-carousel__nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .gallery-carousel {
    padding: 0 2.75rem;
  }

  .gallery-carousel__nav {
    width: 2.375rem;
    height: 2.375rem;
  }

  .gallery-carousel__nav svg {
    width: 1rem;
    height: 1rem;
  }
}

/* ===== Reviews widget ===== */
#reviews .section-desc {
  max-width: none;
}

@media (min-width: 901px) {
  #reviews .section-desc {
    white-space: nowrap;
  }
}

.reviews-widget {
  position: relative;
  width: min(100%, 560px);
  max-width: 560px;
  height: clamp(32.5rem, 75vh, 50rem);
  margin: 0 auto;
  overflow: hidden;
}

.reviews-widget--smart {
  width: 100%;
  max-width: var(--container-max);
  height: auto;
  min-height: 22rem;
  overflow: visible;
}

.reviews-widget__smart,
.reviews-widget__yandex {
  width: 100%;
  height: 100%;
}

.reviews-widget--smart .reviews-widget__smart {
  height: auto;
  min-height: inherit;
}

.reviews-widget__yandex {
  position: relative;
}

.reviews-widget__smart:not([hidden]) {
  overflow: visible;
}

.reviews-widget__smart--loading {
  min-height: 22rem;
}

.reviews-widget--smart .reviews-widget__link {
  display: none;
}

/* SmartWidgets — только CSS-переменные и цвета, без правок вёрстки слайдера */
#sw-app-33c4327d82fc9334c29be0d9da52cf1a {
  --sw-body-bg-color: #ffffff;
  --sw-body-text-color: #302e2f;
  --sw-review-bg-color: #ffffff;
  --sw-review-text-color: #302e2f;
  --sw-review-border-color: #cbc9c7;
  --sw-star-color: #b8956a;
  --sw-star-empty-color: #dedbd8;
  --sw-button-color: #302e2f;
  --sw-button-bg-color: #ffffff;
  --sw-button-border-color: #cbc9c7;
  --sw-link-color: #b8956a;
  font-family: 'Montserrat', system-ui, sans-serif;
  color: #302e2f;
  width: 100%;
  max-width: 100%;
}

#sw-app-33c4327d82fc9334c29be0d9da52cf1a .sw-review-item-stars,
#sw-app-33c4327d82fc9334c29be0d9da52cf1a .sw-reviews-rating-stars {
  color: #b8956a;
}

#sw-app-33c4327d82fc9334c29be0d9da52cf1a .sw-review-truncate-text,
#sw-app-33c4327d82fc9334c29be0d9da52cf1a .sw-review-item-text {
  color: #6e6c6c;
}

#sw-app-33c4327d82fc9334c29be0d9da52cf1a .swiper-button-prev,
#sw-app-33c4327d82fc9334c29be0d9da52cf1a .swiper-button-next {
  color: #302e2f;
}

#sw-app-33c4327d82fc9334c29be0d9da52cf1a .swiper-pagination-bullet-active {
  background: #b8956a !important;
}

.reviews-widget__frame {
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  box-sizing: border-box;
  background-color: var(--color-white);
}

.reviews-widget__link {
  box-sizing: border-box;
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  max-height: 14px;
  padding: 0 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.625rem;
  font-family: 'Montserrat', system-ui, sans-serif;
  color: #b3b3b3;
  text-align: center;
  text-decoration: none;
  transition: color var(--transition);
}

.reviews-widget__link:hover {
  color: var(--color-accent);
}

/* ===== Advantages ===== */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.advantage {
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
}

.advantage__num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--color-gold-light);
  line-height: 1;
  margin-bottom: 1rem;
}

.advantage__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.advantage__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background:
    linear-gradient(135deg, rgba(26, 22, 20, 0.9) 0%, rgba(44, 40, 37, 0.85) 100%),
    url('https://images.unsplash.com/photo-1516975080664-ed2fc6a13737?w=1920&q=80') center / cover no-repeat;
  padding: clamp(4rem, 8vw, 6rem) 0;
  text-align: center;
  color: var(--color-white);
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin-bottom: 1rem;
}

.cta-banner__text {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  max-width: 30rem;
  margin: 0 auto 2rem;
}

.cta-banner .btn.dikidi-booking {
  color: var(--color-text);
  background-color: var(--color-white);
  border-color: var(--color-white);
}

.cta-banner .btn.dikidi-booking:hover {
  color: var(--color-white);
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  box-shadow: 0 6px 18px rgba(184, 149, 106, 0.32);
}

/* ===== Contact ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}

.contact__info {
  display: flex;
  flex-direction: column;
}

.contact__list {
  margin-top: 2rem;
}

.contact__list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.contact__list li:first-child {
  border-top: 1px solid var(--color-border);
}

.contact__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.375rem;
}

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

.contact__requisites {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.contact__requisites p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.contact__requisites p + p {
  margin-top: 0.25rem;
}

.contact__form {
  background-color: var(--color-white);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--color-border);
  border-radius: 2px;
}

.contact__form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  color: var(--color-text);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  transition: border-color var(--transition);
}

.form-group .catalog__dropdown {
  width: 100%;
}

.catalog__dropdown-trigger--form {
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  background-color: var(--color-bg);
}

.catalog__dropdown-value--placeholder {
  color: #b0a89e;
}

.form-group input:focus {
  border-color: var(--color-accent);
}

.form-group input::placeholder {
  color: #b0a89e;
}

.contact__consent {
  margin-top: 1rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.contact__consent a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact__consent a:hover {
  color: var(--color-gold);
}

.contact__map-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--color-white);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--color-border);
  border-radius: 2px;
}

.contact__map-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 2px;
}

.contact__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact__map-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1rem;
}

.contact__map-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.contact__map-link:hover {
  color: var(--color-gold);
}

/* ===== Footer ===== */
.footer {
  background-color: var(--color-bg);
  color: var(--color-text-muted);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem;
  border-top: 1px solid var(--color-border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.footer__brand {
  justify-self: start;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__nav {
  justify-self: center;
  text-align: left;
}

.footer__contacts {
  justify-self: end;
  text-align: right;
}

.footer__contacts .footer__social,
.footer__contacts .footer__legal {
  justify-content: flex-end;
}

.footer__tagline {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.footer .selena-logo {
  align-self: flex-start;
}

.footer .selena-logo__letter {
  animation: footer-logo-glow 6s ease-in-out infinite;
  animation-delay: var(--glow-delay, 0s);
}

@keyframes footer-logo-glow {
  0%, 100%, 80% {
    filter:
      drop-shadow(0 1px 1px rgba(48, 46, 47, 0.22))
      drop-shadow(0 3px 10px rgba(184, 149, 106, 0.28));
    transform: scale(1);
  }
  8%, 18% {
    filter:
      drop-shadow(0 1px 2px rgba(48, 46, 47, 0.28))
      drop-shadow(0 5px 16px rgba(184, 149, 106, 0.42));
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer .selena-logo__letter {
    animation: none;
  }
}

.footer__col-title {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
}

.footer__nav-list a {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer__nav-list a:hover {
  color: var(--color-text);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.875rem;
  margin-top: clamp(2rem, 4vw, 2.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.footer__requisites {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.375rem 0;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: rgba(48, 46, 47, 0.55);
}

.footer__bottom .footer__legal {
  justify-content: center;
  margin-top: 0;
  gap: 0.375rem 0;
}

.footer__bottom .footer__legal a + a::before,
.footer__bottom .footer__requisites span + span::before {
  content: '·';
  margin: 0 0.625rem;
  color: rgba(48, 46, 47, 0.28);
  pointer-events: none;
}

.footer__contacts .footer__legal {
  flex-direction: column;
  align-items: flex-end;
  gap: 0.625rem;
  margin-top: 0;
}

.footer__contacts .footer__legal a + a::before {
  content: none;
}

.footer__social {
  display: flex;
  gap: 0.625rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  border: 1px solid rgba(48, 46, 47, 0.16);
  border-radius: var(--btn-radius);
  color: var(--color-text-muted);
  transition:
    border-color var(--transition),
    color var(--transition),
    background-color var(--transition),
    transform var(--transition);
}

.footer__social a:hover {
  border-color: var(--color-text);
  color: var(--color-text);
  background-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-1px);
}

.footer__social svg {
  width: 0.9375rem;
  height: 0.9375rem;
}

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity var(--transition-reveal),
    transform var(--transition-reveal);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  body {
    opacity: 1;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* ===== Responsive: Tablet ===== */
@media (max-width: 1024px) {
  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav__list {
    gap: 1.5rem;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .footer__nav {
    justify-self: start;
    text-align: left;
  }

  .footer__nav-list {
    align-items: flex-start;
  }

  .footer__contacts {
    justify-self: end;
  }
}

@media (max-width: 900px) {
  .header__actions {
    display: none;
  }

  .nav {
    justify-content: flex-start;
  }

  .burger {
    display: flex;
    margin-left: auto;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background-color: var(--color-bg);
    padding: calc(var(--header-height) + 1.5rem) 2rem 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
    flex-direction: column;
    overflow-y: auto;
  }

  .nav--open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav__link {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__link:hover,
  .nav__link--active {
    color: var(--color-text);
  }

  .nav__actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
  }

  .nav__actions .btn {
    width: 100%;
  }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .contact__map-panel {
    height: auto;
  }

  .contact__map-wrap {
    flex: none;
    min-height: clamp(280px, 55vw, 420px);
  }

  .contact__map {
    position: static;
    display: block;
    height: clamp(280px, 55vw, 420px);
  }

  .about__image {
    max-width: 30rem;
    margin: 0 auto;
  }

  .about__stats {
    justify-content: space-between;
  }
}

/* ===== Responsive: Mobile ===== */
@media (max-width: 600px) {
  :root {
    --header-height: 64px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer__brand,
  .footer__nav,
  .footer__contacts {
    justify-self: stretch;
    text-align: left;
  }

  .footer__nav-list {
    align-items: flex-start;
  }

  .footer__contacts .footer__social,
  .footer__contacts .footer__legal {
    justify-content: flex-start;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__scroll {
    display: none;
  }

  .selena-logo--hero .selena-logo__text {
    font-size: clamp(2.25rem, 12vw, 3rem);
    gap: 0.22em;
  }

  .selena-logo--hero {
    padding: 1.25rem;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
  }

  .catalog__toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .catalog__search {
    flex: none;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .catalog__filter {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 0.375rem;
  }

  .reviews-widget--yandex {
    height: clamp(480px, 65vh, 720px);
  }

  .about__stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__social {
    order: -1;
  }

  .footer__requisites {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .footer {
    padding-bottom: 1.25rem;
  }

  .footer__bottom {
    align-items: stretch;
    text-align: left;
    gap: 1rem;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .footer__copy {
    text-align: center;
    font-size: 0.6875rem;
    line-height: 1.5;
  }

  .footer__bottom .footer__legal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem 0.875rem;
    padding: 0.875rem 1rem;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 2px;
  }

  .footer__bottom .footer__legal a {
    font-size: 0.625rem;
    line-height: 1.45;
    text-align: left;
  }

  .footer__bottom .footer__requisites {
    align-items: flex-start;
    text-align: left;
    gap: 0.375rem;
    padding: 0 0.25rem;
    font-size: 0.625rem;
    line-height: 1.55;
  }

  .footer__bottom .footer__requisites span + span::before {
    content: none;
  }

  .footer__bottom .footer__legal a + a::before {
    content: none;
  }
}

/* ===== DIKIDI booking FAB ===== */
.booking-fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.5rem);
  bottom: clamp(1rem, 3vw, 1.5rem);
  z-index: 1500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-white);
  background-color: var(--color-text);
  border: 1px solid var(--color-text);
  border-radius: var(--btn-radius);
  box-shadow:
    0 8px 24px rgba(48, 46, 47, 0.22),
    0 2px 8px rgba(48, 46, 47, 0.12);
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    opacity var(--transition),
    visibility var(--transition);
}

.booking-fab--hidden,
.booking-fab--hidden:hover {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.75rem);
  box-shadow: none;
}

.booking-fab:hover {
  color: var(--color-white);
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(184, 149, 106, 0.38);
}

.booking-fab__text {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .booking-fab {
    min-height: 2.75rem;
    padding: 0.625rem 1rem;
    font-size: 0.625rem;
  }
}

/* ===== Scroll to top ===== */
.scroll-top {
  position: fixed;
  right: clamp(1rem, 3vw, 1.5rem);
  bottom: clamp(1rem, 3vw, 1.5rem);
  z-index: 1490;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.94);
  color: var(--color-text);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(48, 46, 47, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition:
    opacity var(--transition),
    visibility var(--transition),
    transform var(--transition),
    border-color var(--transition),
    color var(--transition),
    background-color var(--transition),
    box-shadow var(--transition);
}

body:has(.booking-fab) .scroll-top {
  bottom: calc(clamp(1rem, 3vw, 1.5rem) + 3.85rem);
}

body.booking-fab-hidden .scroll-top {
  bottom: clamp(1rem, 3vw, 1.5rem);
}

.scroll-top svg {
  width: 1.125rem;
  height: 1.125rem;
}

.scroll-top--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  color: var(--color-white);
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  box-shadow: 0 8px 22px rgba(184, 149, 106, 0.28);
}

.scroll-top:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  body:has(.booking-fab) .scroll-top {
    bottom: calc(clamp(1rem, 3vw, 1.5rem) + 3.45rem);
  }

  .scroll-top {
    width: 2.5rem;
    height: 2.5rem;
  }

  .scroll-top svg {
    width: 1rem;
    height: 1rem;
  }
}

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

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 2000;
  padding: 0 clamp(1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.5rem);
  pointer-events: none;
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.cookie-banner--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner--hidden {
  opacity: 0;
  transform: translateY(1.25rem);
  pointer-events: none;
}

.cookie-banner__panel {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--btn-radius);
  box-shadow: 0 16px 48px rgba(48, 46, 47, 0.14);
}

.cookie-banner__text {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.cookie-banner__text a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: color var(--transition);
}

.cookie-banner__text a:hover {
  color: var(--color-gold);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.cookie-banner__back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition);
}

.cookie-banner__back:hover {
  color: var(--color-text);
}

.cookie-banner__settings-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.cookie-banner__settings-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.cookie-banner__categories {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cookie-banner__category {
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
}

.cookie-banner__category:last-child {
  border-bottom: 1px solid var(--color-border);
}

.cookie-banner__category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.cookie-banner__category-head strong {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-banner__category p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.cookie-banner__badge {
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.cookie-banner__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.cookie-banner__toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-banner__toggle-ui {
  width: 2.625rem;
  height: 1.375rem;
  border-radius: 999px;
  background-color: var(--color-border);
  transition: background-color var(--transition);
  position: relative;
}

.cookie-banner__toggle-ui::after {
  content: '';
  position: absolute;
  top: 0.1875rem;
  left: 0.1875rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--color-white);
  transition: transform var(--transition);
  box-shadow: 0 1px 3px rgba(48, 46, 47, 0.18);
}

.cookie-banner__toggle input:checked + .cookie-banner__toggle-ui {
  background-color: var(--color-accent);
}

.cookie-banner__toggle input:checked + .cookie-banner__toggle-ui::after {
  transform: translateX(1.25rem);
}

.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;
}

/* ===== Legal pages ===== */
.legal-page {
  padding-top: calc(var(--header-height) + clamp(2rem, 5vw, 3rem));
}

.legal-page__inner {
  max-width: 52rem;
}

.legal-page__meta {
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--btn-radius);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.legal-page__meta strong {
  display: block;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}

.legal-page__content {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text);
}

.legal-page__content h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 500;
  margin: 2rem 0 0.75rem;
}

.legal-page__content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.legal-page__content p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.legal-page__content ul,
.legal-page__content ol {
  margin: 0 0 1rem 1.25rem;
  color: var(--color-text-muted);
}

.legal-page__content li + li {
  margin-top: 0.375rem;
}

.legal-page__content a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-page__content a:hover {
  color: var(--color-gold);
}

.legal-page__table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
}

.legal-page__content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.legal-page__content th,
.legal-page__content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.legal-page__content th {
  background-color: var(--color-bg-alt);
  color: var(--color-text);
  font-weight: 600;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1rem;
}

.footer__legal a {
  font-size: 0.6875rem;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: var(--color-text);
}

.legal-consent-form {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--btn-radius);
}

.legal-consent-form__fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.legal-consent-form__legend {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.legal-consent-form__option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
}

.legal-consent-form__option:last-of-type {
  border-bottom: 0;
}

.legal-consent-form__option input {
  flex-shrink: 0;
  margin-top: 0.25rem;
  accent-color: var(--color-gold);
}

.legal-consent-form__label {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.legal-consent-form__note {
  margin: 1.25rem 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.legal-consent-form__status {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--color-text);
}

@media (max-width: 600px) {
  .cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions .btn {
    width: 100%;
  }
}
