/* =========================================================
   LOCAL FONT — MANROPE
   ========================================================= */

@font-face {
  font-family: "Manrope";

  src: url("../fonts/Manrope-Regular.woff2") format("woff2");

  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "Manrope";

  src: url("../fonts/Manrope-Medium.woff2") format("woff2");

  font-weight: 500;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "Manrope";

  src: url("../fonts/Manrope-SemiBold.woff2") format("woff2");

  font-weight: 600;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "Manrope";

  src: url("../fonts/Manrope-Bold.woff2") format("woff2");

  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --text: #202020;
  --muted: #6f6f6f;
  --surface: #fff;
  --soft: #f5f5f3;
  --line: #e8e8e5;

  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #777;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;

  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);

  backdrop-filter: blur(12px);

  transition:
    background-color 0.25s ease,
}

.header-inner {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 78px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* =========================================================
   LOGO
   ========================================================= */

.logo {

  display: inline-block;
  justify-self: start;

  color: var(--text);

  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.04em;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

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

.logo-apart {
  color: var(--muted);
}

.logo:hover {
  opacity: 0.72;
}

/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 30px;
}

.mobile-menu {
  display: none;

}

.main-nav a {
  position: relative;

  padding: 5px 0;

  color: #444;

  font-size: 15px;
  font-weight: 600;

  white-space: nowrap;

  transition:
    color 0.2s ease;
}

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

.main-nav a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -3px;

  width: 100%;
  height: 1px;

  background: currentColor;

  transform: scaleX(0);
  transform-origin: center;

  transition:
    transform 0.25s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav a.active {
  color: var(--text);
}

.main-nav a.active::after {
  transform: scaleX(1);
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.header-actions {
  justify-self: end;

  display: flex;
  align-items: center;

  gap: 6px;
}


/* =========================================================
   HEADER DROPDOWN
   Универсальный dropdown для языка и валюты
   ========================================================= */

.header-dropdown {
  position: relative;
}

.header-dropdown-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 38px;
  height: 38px;

  padding: 0 7px;

  border: 0;
  background: transparent;

  color: #3f3f3f;

  font-family: inherit;
  font-size: 14px;
  font-weight: 600;

  cursor: pointer;

  transition: color .18s ease;
}

.header-dropdown-button:hover {
  color: var(--text);
}

.header-dropdown-menu {
  position: absolute;

  top: calc(100% + 4px);
  right: 0;

  min-width: 64px;

  padding: 6px;

  background: #fff;

  border: 1px solid var(--line);
  border-radius: 10px;

  box-shadow: 0 12px 35px rgba(0, 0, 0, .08);

  opacity: 0;
  visibility: hidden;

  transform: translateY(-4px);

  transition:
    opacity .18s ease,
    transform .18s ease,
    visibility .18s ease;
}

.header-dropdown:hover .header-dropdown-menu,
.header-dropdown:focus-within .header-dropdown-menu {
  opacity: 1;
  visibility: visible;

  transform: translateY(0);
}

.header-dropdown-menu button {
  display: block;

  width: 100%;

  padding: 8px 10px;

  border: 0;
  border-radius: 7px;

  background: transparent;

  color: #333;

  font-family: inherit;
  font-size: 14px;
  font-weight: 500;

  text-align: center;

  cursor: pointer;

  transition: background-color .18s ease;
}

.header-dropdown-menu button:hover {
  background: var(--soft);
}

/* =========================================================
   BOOKING BUTTON
   ========================================================= */

.booking-button-wrapper {
  margin-left: 14px;
}

/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-button {
  display: none;

  margin-left: auto;

  width: 42px;
  height: 42px;

  padding: 10px;

  border: 0;

  background: transparent;

  cursor: pointer;
}

.mobile-menu-button span {
  display: block;

  height: 2px;

  margin: 5px 0;

  background: var(--text);

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.mobile-menu-button.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .main-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .header-actions {
    justify-self: end;
  }

  .mobile-menu-button {
    display: block;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;

    max-height: 0;
    overflow: hidden;

    border-top: 1px solid transparent;

    background: var(--surface);

    transition:
      max-height 0.3s ease,
      border-color 0.3s ease;
  }

  .mobile-menu.is-open {
    max-height: 320px;

    border-top-color: var(--line);
  }

  .mobile-menu a {
    display: block;

    padding: 16px 24px;

    color: var(--text);

    font-size: 15px;
    font-weight: 600;

    border-bottom: 1px solid var(--line);

    transition:
      background-color 0.2s ease,
      color 0.2s ease;
  }

  .mobile-menu a:hover {
    background: var(--soft);
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

  .header-inner {
    width: min(calc(100% - 32px), var(--max-width));

    min-height: 68px;
  }


  .logo {
    font-size: 22px;
  }

  .header-actions {
    gap: 0;
  }

  .booking-button-wrapper {
    display: none;
  }

}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  color: #fff;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  opacity: 1;

  clip-path: polygon(0 0,
      0 0,
      0 0,
      0 0);

  transition: clip-path 1.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.hero-slide.active {
  clip-path: polygon(0 0,
      100% 0,
      100% 100%,
      0 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(to top,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.38) 30%,
      rgba(0, 0, 0, 0.08) 60%,
      rgba(0, 0, 0, 0.02) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;

  min-height: 90vh;

  display: flex;
  align-items: flex-end;
}

.hero-content {
  width: 100%;
  padding-bottom: clamp(60px, 8vh, 100px);
}

.hero-content h1 {
  margin: 0 0 16px;

  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.hero-content p {
  margin: 0 0 28px;

  max-width: 900px;

  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
}

.hero-booking {
  width: 100%;
  max-width: 900px;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 850px) {

  .hero {
    min-height: 620px;
  }

  .hero-container {
    min-height: 620px;
  }

  .hero-content {
    padding-bottom: 28px;
  }

  .hero-content h1 {
    max-width: 330px;
    margin-bottom: 12px;
    font-size: 36px;
    line-height: 1.08;
  }

  .hero-content p {
    max-width: 340px;
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.4;
  }

  .hero-booking {
    max-width: 100%;
  }
}

/* =========================================================
   FEATURES PREVIEW
   ========================================================= */

.features-preview {
  padding: 110px 0;

  background: #fff;
}


.features-preview-inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.features-preview-header {
  max-width: 650px;

  margin-bottom: 60px;
}

.features-preview-header-secondary {
  margin-top: 60px;
}

.features-preview-header h2 {
  margin: 0;

  color: var(--text);

  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.08;

  letter-spacing: -0.045em;

  font-weight: 600;
}

/* =========================================================
   FEATURES GRID
   ========================================================= */

.features-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 60px;
}

/* =========================================================
   FEATURE ITEM
   ========================================================= */

.feature-item {
  max-width: 360px;
}

.feature-item h3 {
  margin: 0;

  color: var(--text);

  font-size: 18px;
  line-height: 1.3;

  font-weight: 600;

  letter-spacing: -0.02em;
}

.feature-item p {
  margin: 14px 0 0;

  color: #666;

  font-size: 15px;
  line-height: 1.65;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

  .features-preview {
    padding: 80px 0;
  }

  .features-preview-header {
    margin-bottom: 40px;
  }

  .features-preview-header-secondary {
    margin-top: 40px;
  }


  .features-grid {
    grid-template-columns: 1fr 1fr;

    gap: 40px 30px;
  }

  .feature-item {
    max-width: none;
  }
}

@media (max-width: 560px) {

  .features-grid {
    grid-template-columns: 1fr;

    gap: 32px;
  }
}

/* =========================================================
   STAY TERMS
   ========================================================= */

.stay-terms {
  padding: 110px 0;
}

.stay-terms-inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

/* =========================================================
   SECTION HEADER
   ========================================================= */

.stay-terms-header {
  max-width: 650px;

  margin-bottom: 60px;
}

.stay-terms-header h2 {
  margin: 0;

  color: var(--text);

  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.08;

  letter-spacing: -0.045em;

  font-weight: 600;
}

/* =========================================================
   TERMS GRID
   ========================================================= */

.stay-terms-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 55px 60px;
}

/* =========================================================
   TERM
   ========================================================= */

.stay-term {
  max-width: 360px;
}

.stay-term h3 {
  margin: 0;

  color: var(--text);

  font-size: 17px;
  line-height: 1.3;

  font-weight: 600;

  letter-spacing: -0.015em;
}

.stay-term p {
  margin: 12px 0 0;

  color: #666;

  font-size: 16px;
  line-height: 1.65;
}

.stay-term-link {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.stay-term-link::after {
  content: "";
  position: absolute;
  inset: -20px;

  border: 1px solid transparent;
  pointer-events: none;

  transition: border-color 0.25s ease;
}

.stay-term-link:hover::after {
  border-color: rgba(0, 0, 0, 0.18);
}

.stay-term-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.stay-term-action {
  display: flex;
  align-items: center;
  gap: 10px;

  color: #1C274C;
  flex-shrink: 0;
}

.stay-term-arrow {
  width: 28px;
  height: 28px;

  transition: transform 0.25s ease;
}

.stay-term-document {
  width: 24px;
  height: 24px;

  transition: color 0.25s ease;
}

.stay-term-link:hover .stay-term-action {
  color: #242742;
}

.stay-term-link:hover .stay-term-arrow {
  transform: translateX(5px);
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

  .stay-terms {
    padding: 80px 0;
  }


  .stay-terms-header {
    margin-bottom: 40px;
  }


  .stay-terms-grid {
    grid-template-columns: 1fr 1fr;

    gap: 40px 30px;
  }


  .stay-term {
    max-width: none;
  }
}

@media (max-width: 560px) {

  .stay-terms-grid {
    grid-template-columns: 1fr;

    gap: 32px;
  }
}

/* =========================================================
   ROOMS PREVIEW
   ========================================================= */

.rooms-preview {
  padding: 110px 0;
  background: var(--soft);
}

.rooms-preview-inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.rooms-preview-header {
  margin-bottom: 32px;
}

.rooms-preview-header h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.rooms-table-wrapper {
  width: 100%;
  max-width: 900px;
}

.rooms-table {
  width: 100%;
  border-collapse: collapse;
}

.rooms-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.rooms-table tr:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.rooms-table td {
  padding: 14px 0;
  font-size: 15px;
  line-height: 1.4;
}

.rooms-table td:first-child {
  width: 50%;
  font-weight: 600;
}

.rooms-table td:nth-child(2) {
  width: 25%;
  color: var(--muted);
}

.rooms-table td:nth-child(3) {
  width: 25%;
  color: var(--muted);
}

.rooms-note {
  max-width: 760px;
  margin: 24px 0 40px;
  font-size: 15px;
  line-height: 1.5;
}

.rooms-booking {
  width: 100%;
  max-width: 900px;
}

.rooms-booking-widget {
  width: 100%;
}

.rooms-booking-mobile {
  display: none;
}

/* =========================================================
   WIDGETS MOBILE / DESKTOP
   ========================================================= */

@media (max-width: 832px) {
  .rooms-booking-desktop {
    display: none;
  }

  .rooms-booking-mobile {
    display: block;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 850px) {

  .rooms-preview {
    padding: 72px 0;
  }

  .rooms-preview-inner {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .rooms-preview-header {
    margin-bottom: 28px;
  }

  .rooms-table-wrapper {
    max-width: 100%;
  }

  .rooms-table td {
    padding: 12px 0;
    font-size: 14px;
  }

  .rooms-table td:first-child {
    width: 46%;
  }

  .rooms-table td:nth-child(2) {
    width: 29%;
  }

  .rooms-table td:nth-child(3) {
    width: 25%;
  }

  .rooms-note {
    max-width: 100%;
    margin: 24px 0 36px;
    font-size: 15px;
  }

  .rooms-booking {
    max-width: 100%;
  }
}

/* =========================================================
   CONTACTS PREVIEW
   ========================================================= */

.contacts-preview {
  padding: 110px 0;

  background: var(--soft);
}


.contacts-preview-inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

/* =========================================================
   SECTION HEADER
   ========================================================= */

.contacts-preview-header {
  max-width: 700px;

  margin-bottom: 60px;
}

.contacts-preview-header h2 {
  margin: 0;

  color: var(--text);

  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.08;

  letter-spacing: -0.045em;

  font-weight: 600;
}

/* =========================================================
   CONTACTS LAYOUT
   ========================================================= */

.contacts-layout {
  display: grid;

  grid-template-columns: 0.75fr 1.25fr;

  gap: 70px;

  align-items: stretch;
}

/* =========================================================
   CONTACT INFORMATION
   ========================================================= */

.contacts-info {
  display: flex;

  flex-direction: column;

  justify-content: center;

  gap: 38px;
}

.contact-item h3 {
  margin: 0;

  color: var(--text);

  font-size: 16px;
  line-height: 1.3;

  font-weight: 600;
}

.contact-item p {
  margin: 9px 0 0;

  color: #666;

  font-size: 16px;
  line-height: 1.65;
}

.contact-item a {
  color: inherit;

  transition: color 0.2s ease;
}

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

/* =========================================================
   MAP
   ========================================================= */

.contacts-map {
  width: 100%;

  min-height: 400px;

  overflow: hidden;

  border-radius: 14px;

  background: var(--soft);
}

.contacts-map iframe {
  display: block;

  width: 100%;
  height: 100%;

  min-height: 400px;

  border: 0;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

  .contacts-preview {
    padding: 80px 0;
  }

  .contacts-preview-header {
    margin-bottom: 40px;
  }

  .contacts-layout {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .contacts-info {
    gap: 30px;
  }

  .contacts-map,
  .contacts-map iframe {
    min-height: 350px;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 80px 0 28px;
  background: var(--text);
  color: #fff;
}

.footer-inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

/* =========================================================
   FOOTER MAIN
   ========================================================= */

.footer-main {
  display: grid;

  grid-template-columns: 1.5fr 1fr 1.2fr;

  gap: 60px;

  padding-bottom: 55px;
}

/* =========================================================
   BRAND
   ========================================================= */

.footer-logo {
  display: inline-block;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.footer-brand p {
  max-width: 220px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .65);
  font-size: 15px;
  line-height: 1.6;
}

/* =========================================================
   FOOTER COLUMNS
   ========================================================= */

.footer-nav,
.footer-contacts {
  display: flex;

  flex-direction: column;

  align-items: flex-start;
}

.footer-nav h3,
.footer-contacts h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-nav a,
.footer-contacts a {
  margin-bottom: 9px;
  color: rgba(255, 255, 255, .65);
  font-size: 15px;
  line-height: 1.5;
  transition: color .2s ease;
}

.footer-nav a:hover,
.footer-contacts a:hover {
  color: #fff;
}

.footer-contacts p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .65);
  font-size: 15px;
  line-height: 1.6;
}

/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}


.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, .45);
  font-size: 13px;
}


.footer-legal {
  display: flex;

  align-items: center;

  gap: 24px;
}


.footer-legal a {
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  transition: color .2s ease;
}


.footer-legal a:hover {
  color: #fff;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

  .site-footer {
    padding: 60px 0 22px;
  }


  .footer-main {
    grid-template-columns: 1fr 1fr;

    gap: 45px 30px;
  }


  .footer-brand {
    grid-column: 1 / -1;
  }

}


@media (max-width: 560px) {

  .footer-main {
    grid-template-columns: 1fr;

    gap: 35px;
  }


  .footer-brand {
    grid-column: auto;
  }


  .footer-bottom {
    flex-direction: column;

    align-items: flex-start;

    gap: 16px;
  }


  .footer-legal {
    flex-direction: column;

    align-items: flex-start;

    gap: 8px;
  }

}