:root {
  --ink: #17212b;
  --muted: #667280;
  --line: #dce4ea;
  --soft: #f4f8fa;
  --brand: #00a9c8;
  --brand-dark: #087d94;
  --accent: #1e9bff;
  --accent-dark: #087bd8;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(18, 38, 54, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  background: var(--white);
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.site-header.is-scrolled,
.site-header.menu-active,
.site-header--solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 22px rgba(22, 31, 40, 0.09);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 41px;
  position: relative;
}

.brand-logo {
  position: absolute;
  inset: 0;
  width: 180px;
  height: 41px;
  object-fit: contain;
  object-position: left center;
  transform: none;
  transition: opacity 0.2s ease;
}

.brand-logo--black {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo--white,
.site-header.menu-active .brand-logo--white,
.site-header--solid .brand-logo--white {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo--black,
.site-header.menu-active .brand-logo--black,
.site-header--solid .brand-logo--black {
  opacity: 1;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.9;
}

.header-phone {
  font-weight: 800;
  white-space: nowrap;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.messenger-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.messenger-link {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: currentColor;
}

.messenger-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.messenger-link::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: center / contain no-repeat;
}

.messenger-link--wa::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M16.02 3.2A12.7 12.7 0 0 0 5.25 22.6L3.5 29l6.55-1.72A12.7 12.7 0 1 0 16.02 3.2Zm0 2.3a10.4 10.4 0 0 1 8.86 15.85 10.38 10.38 0 0 1-13.98 3.78l-.47-.28-3.9 1.02 1.04-3.8-.3-.49A10.4 10.4 0 0 1 16.02 5.5Zm-4.03 5.42c-.23 0-.6.08-.92.44-.32.35-1.2 1.17-1.2 2.86 0 1.68 1.23 3.31 1.4 3.54.17.23 2.38 3.8 5.86 5.18 2.9 1.15 3.5.92 4.13.86.63-.06 2.02-.82 2.3-1.62.29-.8.29-1.48.2-1.62-.08-.14-.31-.23-.65-.4-.34-.18-2.02-1-2.33-1.1-.31-.12-.54-.18-.77.17-.23.34-.88 1.1-1.08 1.33-.2.23-.4.26-.74.09-.34-.17-1.43-.53-2.72-1.68-1-.9-1.68-2.02-1.88-2.36-.2-.34-.02-.53.15-.7.16-.15.34-.4.51-.6.17-.2.23-.34.34-.57.12-.23.06-.43-.03-.6-.08-.17-.77-1.85-1.05-2.53-.28-.66-.56-.57-.77-.58h-.66Z'/%3E%3C/svg%3E");
}

.messenger-link--tg::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M28.1 5.14c.4-.16.82.18.72.6l-3.85 20.2c-.1.52-.72.73-1.13.4l-6.3-4.66-3.23 3.12c-.36.35-.97.2-1.12-.28l-2.24-7.12-6.12-1.9c-.55-.17-.6-.93-.07-1.16L28.1 5.14Zm-4.9 5.14-10.04 6.14 1.27 4.28.44-2.8c.04-.22.17-.42.35-.56l8.52-6.54c.45-.35.02-.79-.54-.52Z'/%3E%3C/svg%3E");
}

.messenger-link--max::before {
  display: none;
}

.messenger-link img {
  display: block;
  width: 19px;
  height: 19px;
}

.site-header.is-scrolled .messenger-links a,
.site-header.menu-active .messenger-links a,
.site-header--solid .messenger-links a {
  border-color: var(--line);
  background: var(--soft);
}

.mobile-nav-contact {
  display: none;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.16);
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--white);
  overflow: hidden;
  background: #142432;
}

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

.hero-slide {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide--base {
  min-height: 100vh;
  min-height: 100svh;
  opacity: 0;
}

.hero-slide--overlay {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: hero-fade 30s ease-in-out infinite;
}

.hero-slide--overlay:nth-child(2) {
  animation-delay: 0s;
}

.hero-slide--overlay:nth-child(3) {
  animation-delay: 6s;
}

.hero-slide--overlay:nth-child(4) {
  animation-delay: 12s;
}

.hero-slide--overlay:nth-child(5) {
  animation-delay: 18s;
}

.hero-slide--overlay:nth-child(6) {
  animation-delay: 24s;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 24, 34, 0.5) 0%, rgba(12, 24, 34, 0.32) 46%, rgba(12, 24, 34, 0.16) 100%),
    linear-gradient(0deg, rgba(12, 24, 34, 0.29), rgba(12, 24, 34, 0.07));
}

@keyframes hero-fade {
  0%, 4% {
    opacity: 0;
  }
  8%, 20% {
    opacity: 1;
  }
  24%, 100% {
    opacity: 0;
  }
}

.hero-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 118px 24px 92px;
  left: 50%;
  text-align: center;
  transform: translateX(-50%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1080px;
  margin-bottom: 14px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 900;
  border: 1px solid transparent;
}

.button.primary {
  color: var(--white);
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.reserve-outline {
  color: #1e9bff;
  border-color: #1e9bff;
  background: var(--white);
}

.button.reserve-outline:hover {
  color: var(--white);
  background: #1e9bff;
}

.booking-shell {
  width: min(980px, 100%);
  margin-top: -4px;
  margin-right: auto;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.homereserve-slot,
.homereserve-list-slot {
  min-height: 86px;
}

.hr-widget-pending .widget-fallback {
  visibility: hidden;
}

.homereserve-list-slot .hotel-card.is-hidden-on-home {
  display: none !important;
}

.widget-fallback {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 10px;
}

.fallback-row {
  min-height: 62px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.fallback-row span,
.contact-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.fallback-row strong {
  display: block;
  margin-top: 6px;
}

.widget-fallback button {
  min-width: 126px;
  border: 0;
  border-radius: 8px;
  background: #1e9bff;
  color: var(--white);
  font-weight: 900;
}

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

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  max-width: none;
}

.section-head h2,
.contacts h2,
.gallery-copy h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow) {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.benefit-grid,
.steps-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.benefit-grid article,
.steps-grid article,
.review-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.benefit-grid article,
.steps-grid article {
  padding: 24px;
}

.benefit-grid h3,
.steps-grid h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.benefit-grid p,
.steps-grid p,
.gallery-copy p,
.faq-list p {
  color: var(--muted);
  line-height: 1.65;
}

.apartments {
  width: 100%;
  max-width: none;
  padding: 88px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--soft);
}

.list-fallback {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.list-fallback article {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.list-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list-fallback div {
  padding: 24px;
}

.list-fallback h3 {
  margin-bottom: 10px;
}

.list-fallback p {
  color: var(--muted);
  line-height: 1.6;
}

.list-fallback a,
.text-link {
  color: var(--brand-dark);
  font-weight: 900;
}

.apartments-more {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.apartments-more .button {
  min-width: 220px;
}

.steps {
  padding-top: 96px;
}

.steps-grid article span {
  display: block;
  margin-bottom: 22px;
  color: var(--brand);
  font-weight: 900;
}

.gallery {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 42px;
}

.gallery-copy p:last-child {
  margin: 22px 0 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 14px;
  align-items: stretch;
}

.gallery-grid img {
  width: 100%;
  min-height: 420px;
  border-radius: 8px;
  object-fit: cover;
}

.gallery-grid img:last-child {
  min-height: 320px;
  align-self: end;
}

.reviews {
  width: 100%;
  max-width: none;
  padding: 88px max(24px, calc((100vw - var(--max)) / 2));
  background: #142432;
  color: var(--white);
}

.reviews .section-head p:not(.eyebrow),
.reviews blockquote {
  color: rgba(255, 255, 255, 0.78);
}

.review-grid {
  grid-template-columns: repeat(3, 1fr);
}

.review-grid article {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.review-card-head span {
  color: #1e9bff;
  font-size: 14px;
  letter-spacing: 0;
  white-space: nowrap;
}

.review-card-head strong {
  color: var(--white);
  font-size: 13px;
  text-align: right;
}

.review-grid blockquote {
  flex: 1;
  margin: 0;
  line-height: 1.65;
}

.review-grid article > p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.address-section {
  padding-top: 40px;
}

.address-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.address-grid article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.address-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.address-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.address-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.map-placeholder {
  display: grid;
  min-height: 320px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  border: 1px dashed #b8c7d3;
  border-radius: 8px;
  background: #f8fbfc;
  text-align: center;
}

.address-map {
  width: 100%;
}

.map-placeholder span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.map-placeholder strong {
  font-size: 17px;
}

.contacts {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
  padding: 80px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--soft);
}

.contacts-head {
  grid-column: 1;
  grid-row: 1;
}

.contacts-copy {
  grid-column: 1;
  grid-row: 2;
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 14px;
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-form.is-submitting {
  pointer-events: none;
}

.contact-form.is-submitting::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(2px);
  content: "";
}

.contact-form.is-submitting::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  min-width: 220px;
  padding: 16px 18px 16px 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-weight: 900;
  transform: translate(-50%, -50%);
  content: "Отправляем заявку...";
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.45;
  outline: none;
  appearance: none;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 169, 200, 0.14);
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #d53f3f;
}

.file-field small,
.form-status {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.file-field {
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.file-field > span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.file-field-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-field-control {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}

.file-field-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--white);
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.file-field-button:hover {
  background: var(--brand);
  color: var(--white);
  transform: translateY(-1px);
}

.file-field-button.is-selected {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(0, 169, 200, 0.18);
  animation: file-selected 0.34s ease;
}

.file-field-name {
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.file-field.has-file .file-field-name {
  color: var(--ink);
  font-weight: 800;
}

.file-field.is-invalid {
  border-color: #d53f3f;
  background: #fff8f8;
}

.file-field-error {
  display: none;
  margin: 0;
  color: #d53f3f;
  font-size: 13px;
  line-height: 1.35;
}

.file-field.is-invalid .file-field-error {
  display: block;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.captcha-placeholder {
  display: grid;
  min-height: 72px;
  align-content: center;
  gap: 6px;
  padding: 14px;
  border: 1px dashed #b8c7d3;
  border-radius: 8px;
  background: #f8fbfc;
}

.captcha-placeholder span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.captcha-placeholder strong {
  font-size: 15px;
}

.turnstile-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.form-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 169, 200, 0.18);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.form-actions button:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.form-actions button.is-loading {
  background: var(--brand-dark);
}

.form-actions button.is-loading::after {
  width: 14px;
  height: 14px;
  margin-left: 10px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: var(--white);
  border-radius: 50%;
  content: "";
  animation: spin 0.8s linear infinite;
}

.form-success {
  display: none;
  min-height: 320px;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 30px;
  text-align: center;
}

.form-success-icon {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 14px 28px rgba(0, 169, 200, 0.2);
}

.form-success-icon::after {
  position: absolute;
  top: 17px;
  left: 15px;
  width: 25px;
  height: 13px;
  border-bottom: 4px solid var(--white);
  border-left: 4px solid var(--white);
  transform: rotate(-45deg);
  content: "";
}

.form-success strong {
  font-size: 24px;
}

.form-success p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-form.is-success > :not(.form-success) {
  display: none;
}

.contact-form.is-success .form-success {
  display: grid;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes file-selected {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.035);
  }
  100% {
    transform: scale(1);
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-grid a,
.contact-grid div {
  min-height: 100px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-grid strong {
  display: block;
  margin-top: 10px;
  line-height: 1.35;
}

.legal-page {
  padding: 132px max(24px, calc((100vw - var(--max)) / 2)) 84px;
  background: var(--white);
}

.legal-layout {
  max-width: 900px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--brand-dark);
  font-weight: 900;
}

.legal-layout h1 {
  margin-bottom: 34px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
}

.legal-layout h2 {
  margin: 34px 0 14px;
  font-size: 24px;
}

.legal-layout p {
  margin: 0 0 12px;
  color: #344352;
  line-height: 1.72;
}

.legal-contacts {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 24px max(24px, calc((100vw - var(--max)) / 2)) 34px;
  border-top: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a,
.footer-developer {
  color: var(--ink);
  font-weight: 800;
}

.mobile-actions {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 45;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(18, 38, 54, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-actions.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-actions a,
.mobile-actions button {
  display: grid;
  place-items: center;
  min-height: 44px;
  border: 1px solid #1e9bff;
  border-radius: 8px;
  background: var(--white);
  color: #1e9bff;
  font-weight: 900;
}

.mobile-actions a:first-child {
  background: #1e9bff;
  color: var(--white);
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 46;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(620px, calc(100% - 40px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--brand-dark);
  font-weight: 900;
}

.cookie-banner button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
  font-weight: 900;
}

.b24-widget-button-position-bottom-right {
  right: 20px !important;
  bottom: 90px !important;
}

@keyframes hero-content-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero-copy,
  .booking-shell {
    opacity: 0;
    animation: hero-content-in 0.78s ease forwards;
  }

  .hero h1 {
    animation-delay: 0.18s;
  }

  .hero-copy {
    animation-delay: 0.34s;
  }

  .booking-shell {
    animation-delay: 0.52s;
  }

  .benefit-grid article,
  .steps-grid article,
  .list-fallback article,
  .review-grid article,
  .gallery-grid img {
    animation: rise 0.55s ease both;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    height: 68px;
    padding: 0 16px;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 12px;
    border-radius: 8px;
  }

  .main-nav a:hover {
    background: var(--soft);
  }

  .header-contact {
    display: none;
  }

  .mobile-nav-contact {
    display: grid;
    gap: 10px;
    margin-top: 8px;
    padding: 12px;
    border-top: 1px solid var(--line);
  }

  .mobile-nav-contact > a {
    padding: 8px 0;
    font-weight: 900;
  }

  .mobile-nav-contact .messenger-links a {
    border-color: var(--line);
    background: var(--soft);
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-slide--base {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-inner {
    width: 100%;
    padding: 92px 16px 118px;
    justify-content: center;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(12, 24, 34, 0.82), rgba(12, 24, 34, 0.54));
  }

  h1 {
    font-size: 40px;
    max-width: 640px;
    margin-bottom: 12px;
  }

  .hero-copy {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .section-head.split,
  .contacts,
  .gallery {
    display: block;
  }

  .section-head p:not(.eyebrow) {
    margin-top: 8px;
  }

  .widget-fallback,
  .benefit-grid,
  .steps-grid,
  .review-grid,
  .list-fallback,
  .address-grid,
  .form-row,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    margin-top: 0;
  }

  .contacts-copy {
    max-width: 680px;
    margin-bottom: 16px;
  }

  .contacts-head {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-form {
    padding: 16px;
  }

  .form-actions {
    display: grid;
  }

  .form-actions button {
    width: 100%;
  }

  .map-placeholder {
    min-height: 260px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 62px 0;
  }

  .apartments,
  .reviews,
  .contacts {
    padding-right: 16px;
    padding-left: 16px;
  }

  .list-fallback article {
    grid-template-columns: 1fr;
  }

  .list-fallback img {
    height: 220px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .gallery-grid img,
  .gallery-grid img:last-child {
    min-height: 260px;
  }

  .mobile-actions {
    display: grid;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .cookie-banner {
    right: 12px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    left: 12px;
    grid-template-columns: 1fr;
    width: auto;
    padding: 14px;
  }

  .cookie-banner button {
    width: 100%;
  }

  .contacts {
    padding-bottom: 96px;
  }

  .legal-page {
    padding: 108px 16px 72px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 16px 104px;
  }

  .footer-legal,
  .footer-links {
    display: grid;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .brand {
    width: 145px;
    height: 33px;
  }

  .brand-logo {
    width: 145px;
    height: 33px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.05;
  }

  .button {
    width: 100%;
  }
}
