﻿:root {
  --accent: #2d5162;
  --accent-2: #23424f;
  --text: #0f1720;
  --muted: #52616d;
  --bg: #f5f7f9;
  --white: #ffffff;
  --line: #d9e0e5;
  --shadow-soft: 0 14px 40px rgba(21, 31, 38, 0.08);
  --shadow-card: 0 8px 24px rgba(20, 32, 45, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  display: grid;
  place-items: center;
  opacity: 1;
  transition: opacity 0.42s ease;
}

.site-preloader.is-hiding {
  opacity: 0;
}

.site-preloader-scene {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.site-preloader-logo {
  width: 176px;
  height: 176px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(26, 49, 62, 0.16));
  animation: none;
}

.site-preloader-dots {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: -8px;
}

.site-preloader-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2d5162;
  opacity: 0.28;
  animation: preloader-dot 1.2s ease-in-out infinite;
}

.site-preloader-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.site-preloader-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes preloader-dot {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.28;
  }
  40% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader-logo,
  .site-preloader-dots span {
    animation: none;
  }
}

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

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 64px 0;
}

.surface {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 14px;
  background: #eaf0f3;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.26s ease, box-shadow 0.26s ease, background 0.26s ease, color 0.26s ease, border-color 0.26s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(45, 81, 98, 0.26);
}

.btn-primary:hover {
  background: var(--accent-2);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-card);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1600;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #d9e0e5;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 10px 22px rgba(19, 32, 46, 0.12);
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, #4d6e7d 100%);
  box-shadow: 0 6px 18px rgba(45, 81, 98, 0.26);
}

.logo-image {
  width: 136px;
  height: 78px;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  filter: none;
  clip-path: none;
}

.site-header .logo span {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  width: auto;
}

.nav-mobile-toggle,
.nav-mobile-drawer,
.nav-mobile-close,
.nav-mobile-title,
.nav-mobile-body,
.nav-mobile-content,
.nav-mobile-panel {
  display: none;
}

.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 20, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1590;
}

.nav-link {
  color: var(--accent);
  font-weight: 600;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: color 0.22s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.nav-link[aria-current="page"] {
  color: var(--accent-2);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link:hover {
  color: var(--accent-2);
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 32, 45, 0.12);
}

.icon {
  width: 20px;
  height: 20px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 600;
}

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 13px 14px;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232d5162' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

.field select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232d5162' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(45, 81, 98, 0.13);
}

.field.full {
  grid-column: 1 / -1;
}

.check {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}

.check input {
  margin-top: 0;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}

.check label {
  margin: 0;
  display: inline;
  font-weight: 500;
  line-height: 1.35;
}

.field.check,
.field.full.check,
.hero-form-grid .field.check {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
}

.field.check input[type="checkbox"] {
  margin: 0 !important;
  position: static !important;
}

.field.check label {
  margin: 0 !important;
}

.form-grid + .btn,
form .field.full.check + .btn {
  margin-top: 18px;
}

.form-alert {
  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid;
  padding: 12px 14px;
  font-size: 14px;
}

.form-alert.success {
  border-color: #8cc2a7;
  background: #eef9f3;
  color: #174f32;
}

.form-alert.error {
  border-color: #e3aaa5;
  background: #fff1f0;
  color: #7a2019;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.site-footer {
  margin-top: 88px;
  background: #2d5162;
  color: #eef4f7;
}

.footer-accent {
  height: 8px;
  background: #23424f;
}

.footer-main {
  padding: 28px 0 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.site-footer .logo {
  color: #ffffff;
  gap: 0;
}

.site-footer .logo .logo-image {
  filter: brightness(0) invert(1);
}

.site-footer .logo span {
  display: none;
}

.site-footer p {
  margin: 0;
  color: #d9e6ee;
}

.footer-brand-text {
  margin-top: 10px;
  max-width: 420px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-links a {
  display: block;
  color: #f2f7fa;
  margin-bottom: 8px;
  text-decoration: none;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f2f7fa;
  margin-bottom: 0;
  text-decoration: none;
}

.footer-icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.footer-phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.logo-image-footer {
  width: 148px;
  height: 148px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 2px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.footer-social-icon {
  width: 32px;
  height: 32px;
}

.footer-socials a[aria-label="TikTok"] .footer-social-icon {
  border-radius: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(217, 230, 238, 0.3);
  margin-top: 14px;
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #d3e2eb;
}

@media (max-width: 980px) {
  .nav {
    height: 74px;
    gap: 10px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }
  .site-header .logo-image {
    width: 86px;
    height: 52px;
  }
  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-main {
    padding: 22px 0 14px;
  }
  .footer-bottom {
    text-align: left;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    gap: 12px;
    font-size: 14px;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .section {
    padding: 70px 0;
  }
}

@media (max-width: 860px) {
  .site-header .nav {
    grid-template-columns: 72px minmax(0, 1fr) 56px !important;
    min-height: 76px !important;
    padding: 4px 6px !important;
    gap: 4px !important;
  }

  .site-header .logo,
  .nav-auth {
    width: 56px !important;
    height: 56px !important;
  }

  .site-header .logo {
    justify-self: start !important;
    margin-left: 2px !important;
  }

  .site-header .logo-image {
    width: 58px !important;
    height: 58px !important;
  }

  .nav-user-trigger.has-avatar {
    width: 34px !important;
    height: 34px !important;
  }

  .nav-user-trigger:not(.has-avatar) {
    width: 34px !important;
    height: 34px !important;
  }

  .nav-user-trigger:not(.has-avatar) svg {
    width: 20px !important;
    height: 20px !important;
  }

  .nav-links {
    width: 100% !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 12px !important;
    padding: 0 14px 0 8px !important;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .section {
    padding: 56px 0;
  }

  .section-tight {
    padding: 44px 0;
  }

  .site-header .nav {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 64px 64px;
    align-items: center;
    gap: 6px;
    height: auto;
    min-height: 76px;
    padding: 6px 8px;
  }

  .site-header .logo {
    grid-column: 1;
    justify-self: start;
    margin-left: 2px;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: none;
  }

  .site-header .logo-image {
    width: 62px;
    height: 62px;
    object-fit: contain;
    image-rendering: auto;
  }

  .nav-auth {
    grid-column: 4;
    margin-left: 0;
    justify-self: center;
    position: relative;
    z-index: 4;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-user-trigger.has-avatar {
    width: 34px;
    height: 34px;
  }

  .nav-user-trigger:not(.has-avatar) {
    width: 34px;
    height: 34px;
  }

  .nav-user-trigger:not(.has-avatar) svg {
    width: 20px;
    height: 20px;
  }

  .nav-mobile-toggle {
    grid-column: 3;
    display: inline-flex;
    width: 28px;
    height: 24px;
    align-items: center;
    justify-content: center;
    justify-self: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    position: relative;
    z-index: 1602;
    transition: opacity 0.22s ease, transform 0.22s ease;
    padding: 0;
  }

  .nav-mobile-toggle > span {
    position: absolute;
    width: 24px;
    height: 2.5px;
    border-radius: 999px;
    background: var(--accent);
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  .nav-mobile-toggle > span:nth-child(1) {
    transform: translateY(-6px);
  }

  .nav-mobile-toggle > span:nth-child(3) {
    transform: translateY(6px);
  }

  body.mobile-menu-open .nav-mobile-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .nav-links {
    display: none !important;
  }

  .nav-mobile-drawer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 2500;
    pointer-events: none;
    isolation: isolate;
  }

  .nav-mobile-overlay {
    z-index: 0;
  }

  .nav-mobile-drawer.open {
    pointer-events: auto;
  }

  .nav-mobile-panel {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50vw;
    min-width: 220px;
    max-width: 360px;
    background: #fff;
    border-left: 1px solid rgba(217, 226, 232, 0.9);
    box-shadow: -18px 0 36px rgba(14, 25, 35, 0.08);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1;
  }

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

  .nav-mobile-content {
    display: block;
    padding: 72px 24px 28px;
  }

  .nav-mobile-close,
  .nav-mobile-title,
  .nav-mobile-body {
    display: block;
  }

  .nav-mobile-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
  }

  .nav-mobile-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 3px;
    border-radius: 999px;
    background: #234456;
  }

  .nav-mobile-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .nav-mobile-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .nav-mobile-title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.45rem;
    color: #1b2d36;
    padding-bottom: 10px;
    margin: 30px 0 14px;
    border-bottom: 1px solid #d9e2e8;
    width: 100%;
    text-align: left;
  }

  .nav-mobile-body {
    display: grid;
    gap: 16px;
    margin-bottom: 0;
    width: 100%;
    text-align: left;
  }

  .nav-mobile-link {
    display: block;
    color: #19303b;
    font-size: 1.34rem;
    font-weight: 700;
    padding: 10px 0;
    line-height: 1.25;
    text-align: left;
    justify-self: stretch;
    width: 100%;
  }

  .nav-link {
    flex: 0 0 auto;
    min-width: 0;
    font-size: inherit;
    line-height: 1.2;
    padding: 4px 2px;
    position: relative;
    z-index: 6;
  }

  .nav-link::after {
    bottom: -6px;
  }

  .site-preloader-logo {
    width: 132px;
    height: 132px;
  }

  .site-preloader-dots {
    gap: 8px;
  }

  .auth-popup-overlay {
    padding: 8px;
    align-items: center;
  }

  .auth-popup-modal {
    width: min(500px, calc(100vw - 16px));
    min-height: auto;
    max-height: calc(100vh - 16px);
    padding: 18px 16px 16px;
    border-radius: 18px;
  }

  .auth-popup-modal h3 {
    margin-bottom: 14px;
    font-size: 26px;
  }

  .auth-popup-tabs {
    width: calc(100% - 48px);
    margin-bottom: 12px;
  }

  .auth-popup-tab {
    min-width: 0;
    width: 100%;
    padding: 9px 10px;
    font-size: 14px;
  }

  .auth-verify-brand img,
  .auth-verify-brand-large img {
    width: 220px;
    height: 98px;
  }

  .auth-login-hero h4 {
    font-size: 28px;
  }

  .auth-login-lottie dotlottie-wc {
    width: 300px !important;
    height: 152px !important;
  }

  .auth-code-grid {
    grid-template-columns: repeat(6, minmax(40px, 46px));
    gap: 8px;
  }

  .auth-code-input {
    height: 50px;
    font-size: 24px;
  }

  .profile-popup {
    width: min(410px, calc(100vw - 16px));
    padding: 14px 12px 12px;
    transform: none;
  }

  .profile-popup-head h3 {
    font-size: 24px;
  }

  .profile-avatar-preview-large {
    width: 114px;
    height: 114px;
  }

  .profile-avatar-edit-btn {
    bottom: -11px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .profile-save-btn {
    width: 168px;
    margin-top: 10px;
  }

  .property-popup {
    width: min(980px, calc(100vw - 12px));
    max-height: calc(100vh - 16px);
    overflow: auto;
    padding: 14px 12px 14px;
  }

  .amenities-modal,
  .maps-modal {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
  }

  .cookie-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    padding: 12px;
    border-radius: 14px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1 1 auto;
    min-width: 110px;
  }
}


.nav-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
}

.nav-auth-link {
  padding: 10px 16px;
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav-auth {
    width: auto;
    justify-content: flex-end;
    margin-top: 0;
    margin-left: 6px;
    flex-shrink: 0;
  }
}

.auth-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 24, 35, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.auth-popup-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.auth-popup-modal {
  width: min(500px, 100%);
  min-height: 560px;
  max-height: 94vh;
  overflow: auto;
  border-radius: 24px;
  border: 1px solid #dce5eb;
  box-shadow: 0 20px 60px rgba(15, 30, 42, 0.24);
  background: #fff;
  padding: 26px 26px 24px;
  position: relative;
  font-family: "SF Pro Display", "SF Pro Text", "Avenir Next", "Inter", "Helvetica Neue", Arial, sans-serif;
  overscroll-behavior: contain;
  background-image:
    radial-gradient(120% 70% at 50% -10%, rgba(45, 81, 98, 0.08) 0%, rgba(45, 81, 98, 0) 60%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  transform: translateY(10px) scale(0.985);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
  will-change: transform, opacity;
}

.auth-popup-overlay.open .auth-popup-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .auth-popup-overlay,
  .auth-popup-modal {
    transition: none !important;
  }
}

body.modal-open {
  overflow: hidden;
}

.auth-popup-close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: #4d6070;
}

.auth-popup-modal h3 {
  margin: 4px 0 22px;
  font-size: 28px;
  text-align: center;
}

.auth-popup-tabs {
  display: flex;
  gap: 8px;
  background: #ecf2f5;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 18px;
  width: min(300px, calc(100% - 76px));
  margin-right: auto;
}

.auth-popup-modal.auth-verification-mode .auth-popup-tabs {
  display: none;
}

.auth-popup-modal.auth-forgot-mode {
  min-height: auto;
  padding-bottom: 16px;
}

.auth-popup-tab {
  border: 0;
  background: transparent;
  border-radius: 10px;
  min-width: 132px;
  padding: 10px 12px;
  font-weight: 700;
  color: #4e6271;
  cursor: pointer;
}

.auth-popup-tab.active {
  background: #fff;
  color: var(--accent);
  box-shadow: none;
}

.auth-popup-pane {
  display: none;
}

.auth-popup-pane.active {
  display: block;
}

.auth-popup-pane .field {
  margin-bottom: 12px;
}

.auth-forgot-link {
  border: 0;
  background: transparent;
  color: #2d5162;
  font-weight: 600;
  font-size: 14px;
  display: block;
  width: fit-content;
  padding: 0;
  margin-top: -4px;
  margin-bottom: 12px;
  text-align: left;
  cursor: pointer;
}

.auth-forgot-link:hover {
  text-decoration: underline;
}

#authLoginStepCredentials #authLoginSubmit {
  display: flex;
  margin: 8px auto 0;
  padding-inline: 26px;
}

.auth-login-step {
  display: none;
}

.auth-login-step.active {
  display: block;
}

.auth-verify-brand {
  display: flex;
  justify-content: center;
  margin: 2px 0 12px;
}

.auth-verify-brand img {
  width: 240px;
  height: 110px;
  border-radius: 0;
  object-fit: contain;
  border: 0;
}

.auth-verify-brand-large img {
  width: 280px;
  height: 126px;
}

.auth-login-hero {
  text-align: center;
  margin-bottom: 16px;
  padding: 6px 0 2px;
  border: 0;
  border-radius: 16px;
  background: transparent;
}

.auth-login-hero h4 {
  margin: 0 0 6px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.auth-login-lottie {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -16px 0 -6px;
}

.auth-login-lottie dotlottie-wc {
  width: 360px !important;
  height: 180px !important;
  filter: brightness(1.16) saturate(0.82);
}

.auth-login-step-2fa h4 {
  margin: 0;
  font-size: 30px;
  text-align: center;
  color: #122637;
}

.auth-verify-subtitle {
  margin: 10px auto 0;
  max-width: 360px;
  text-align: center;
  color: #556b79;
  font-size: 16px;
}

.auth-code-grid {
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(44px, 52px));
  gap: 10px;
  justify-content: center;
}

.auth-code-input {
  height: 56px;
  border-radius: 10px;
  border: 1px solid #cfdae2;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: #1c3344;
  outline: none;
}

.auth-code-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 81, 98, 0.14);
}

.auth-verify-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.auth-verify-actions .btn {
  border-radius: 10px;
  box-shadow: none !important;
  transform: none !important;
}

.auth-verify-lottie {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.auth-verify-lottie dotlottie-wc {
  width: 220px;
  height: 220px;
}

#authLoginStepForgot h4 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
}

#authLoginStepForgot .field {
  margin-bottom: 10px;
}

#authLoginStepForgot .auth-verify-actions {
  margin-top: 10px;
  margin-bottom: 2px;
}

#authLoginVerify {
  margin-top: 12px;
  width: 100%;
}

.nav-user-trigger {
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  padding: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.nav-user-trigger svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.nav-user-trigger:hover {
  color: var(--accent-2);
}

.nav-user-trigger.has-avatar {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #c8d6df;
  border-radius: 999px;
  overflow: hidden;
  background: #f3f7fa;
}

.nav-user-trigger:not(.has-avatar) {
  width: 46px;
  height: 46px;
}

.nav-user-trigger:not(.has-avatar) svg {
  width: 31px;
  height: 31px;
}

.nav-user-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-auth {
  position: relative;
}

.nav-user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 230px;
  background: #fff;
  border: 1px solid #d9e2e8;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(20, 32, 45, 0.16);
  padding: 8px;
  display: none;
  z-index: 3100;
}

.nav-user-menu.open {
  display: grid;
}

.nav-user-menu a,
.nav-user-menu button {
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 14px;
  color: #1b2d3a;
  padding: 10px 10px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
}

.nav-user-menu a:hover,
.nav-user-menu button:hover {
  background: #edf3f7;
  color: var(--accent);
}

.profile-popup,
.property-popup {
  min-height: auto;
}

.profile-popup {
  width: min(410px, 90vw);
  min-height: auto;
  max-height: none;
  overflow: hidden;
  padding: 16px 18px 16px;
  font-family: "SF Pro Display", "SF Pro Text", "Airbnb Cereal VF", "Airbnb Cereal", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  transform: scale(0.8);
  transform-origin: center center;
}

.profile-popup-head {
  margin: 2px 0 10px;
  text-align: center;
}

.profile-popup-kicker {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #587284;
  font-weight: 600;
}

.profile-popup-head h3 {
  margin: 2px 0 4px;
  font-size: 28px;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.profile-hero {
  display: flex;
  justify-content: center;
  margin: 8px 0 18px;
}

.profile-avatar-shell {
  position: relative;
  display: inline-flex;
}

.profile-avatar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-avatar-preview {
  width: 64px;
  height: 64px;
  border: 1px solid #c9d8e2;
  border-radius: 999px;
  overflow: hidden;
  background: #f2f7fa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #355567;
  flex-shrink: 0;
}

.profile-avatar-preview-large {
  width: 124px;
  height: 124px;
  border: 2px solid #d4e0e8;
  background: #0f1a23;
  color: #ffffff;
}

.profile-avatar-preview-large svg {
  width: 48px;
  height: 48px;
  stroke: currentColor;
}

.profile-avatar-preview svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.profile-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-avatar-edit-btn {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #1f3343;
  box-shadow: 0 10px 25px rgba(25, 38, 51, 0.22);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.profile-avatar-edit-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
}

.profile-avatar-edit-btn:hover {
  background: #f3f7fa;
}

.field.with-icon .input-icon-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d6e1e9;
  border-radius: 14px;
  padding: 0 12px;
  background: #f7fbfe;
}

.field.with-icon .input-icon-wrap input,
.field.with-icon .input-icon-wrap textarea {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  width: 100%;
}

.field.with-icon .input-icon-wrap.textarea {
  align-items: flex-start;
  padding-top: 10px;
  padding-bottom: 10px;
}

.field.with-icon .input-icon-wrap textarea {
  resize: none;
}

.field.with-icon .input-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.field.with-icon .input-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.profile-static-row {
  min-height: 48px;
}

.profile-static-value {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 600;
  color: #1f3342;
}

.profile-save-btn {
  display: block;
  margin: 16px auto 0;
  width: 168px;
  border-radius: 12px;
  text-align: center;
  padding: 12px 16px;
  font-size: 16px;
}

.profile-popup .field.with-icon {
  margin-bottom: 16px;
}

.profile-crop-overlay {
  z-index: 3600;
}

.profile-crop-modal {
  width: min(460px, 94vw);
  min-height: auto;
  max-height: none;
  overflow: hidden;
}

.profile-crop-canvas-wrap {
  width: 100%;
  border: 1px solid #d8e2e8;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f7fa;
  margin-bottom: 14px;
}

#profileCropCanvas {
  width: 100%;
  height: auto;
  display: block;
  background: radial-gradient(circle at center, rgba(255,255,255,0.35), rgba(214,226,235,0.65));
}

.auth-popup-msg {
  margin-top: 10px;
  font-size: 14px;
}

.auth-popup-msg.error {
  color: #8e2b25;
}

.auth-popup-msg.success {
  color: #1d6d45;
}

.noma-success-modal {
  width: min(480px, 94vw);
  min-height: auto;
  padding-bottom: 18px;
}

.noma-success-modal h3 {
  margin-bottom: 8px;
}

.noma-success-lottie-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.noma-success-lottie-wrap dotlottie-wc {
  width: 300px;
  height: 300px;
}

.property-popup {
  width: min(980px, 96vw);
  padding: 20px 20px 18px;
  min-height: auto;
  max-height: none;
  overflow: visible;
}

.property-popup h3 {
  margin-bottom: 6px;
}

#propertyPlanInfo {
  margin: 0 0 10px;
  color: #425868;
}

.property-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  align-items: start;
}

.property-col-left,
.property-col-right {
  display: grid;
  gap: 8px;
  align-content: start;
}

.property-col-right .field:first-child textarea {
  min-height: 120px;
  resize: vertical;
}

.field-counter .counter-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #c7d3dc;
  background: #f7fafc;
  border-radius: 14px;
  padding: 8px 10px;
}

.counter-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #b9cad6;
  border-radius: 8px;
  background: #fff;
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.counter-value {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: #193243;
}

.counter-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.counter-icon svg {
  width: 20px;
  height: 20px;
}

.maps-preview-shell {
  margin-top: 8px;
  border: 1px solid #c7d3dc;
  border-radius: 12px;
  overflow: hidden;
  background: #eef3f6;
}

#rqMapPreview,
#ownerMapPreview {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.maps-preview-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.maps-summary {
  margin: 4px 0 0;
  color: #4c6170;
  font-size: 13px;
}

.upload-dropzone {
  position: relative;
}

.upload-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.upload-dropzone-ui {
  display: grid;
  justify-items: center;
  gap: 6px;
  border: 1px dashed #9fb6c5;
  border-radius: 14px;
  background: #f7fafc;
  padding: 16px 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.upload-dropzone-ui:hover {
  border-color: #6d8ea3;
  background: #f1f7fb;
}

.upload-file-input:focus + .upload-dropzone-ui {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 81, 98, 0.14);
}

.upload-dropzone-icon {
  width: 26px;
  height: 26px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.upload-dropzone-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.upload-dropzone-title {
  font-size: 14px;
  font-weight: 700;
  color: #173042;
}

.upload-dropzone-subtitle {
  font-size: 12px;
  color: #5f7483;
}

.upload-cover-head {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334d5d;
  font-size: 13px;
  font-weight: 700;
}

.camera-inline-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.camera-inline-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.upload-cover-list {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.upload-cover-item {
  border: 1px solid #c7d3dc;
  border-radius: 12px;
  background: #fff;
  color: #2d5162;
  font-size: 12px;
  padding: 6px;
  cursor: pointer;
  text-align: left;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  position: relative;
  cursor: grab;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.upload-cover-item:hover {
  border-color: #8ea9ba;
}

.upload-cover-item.active {
  border-color: #2d5162;
  background: #eef5f9;
  box-shadow: 0 0 0 2px rgba(45, 81, 98, 0.12);
}

.upload-cover-item.dragging {
  opacity: 0.55;
  cursor: grabbing;
}

.upload-cover-item.drag-over {
  border-color: #2d5162;
  box-shadow: 0 0 0 2px rgba(45, 81, 98, 0.18);
  transform: translateY(-1px);
}

.upload-cover-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.upload-cover-caption {
  font-weight: 600;
  color: #29485a;
  line-height: 1.25;
  word-break: break-word;
  padding-right: 78px;
}

.upload-cover-tools {
  position: absolute;
  top: 6px;
  right: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.upload-cover-remove {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(18, 33, 44, 0.72);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.upload-cover-empty {
  color: #6a7f8d;
  font-size: 12px;
}

.property-amenities-open {
  width: fit-content;
  min-width: 230px;
  padding: 11px 16px;
}

.property-amenities-summary {
  margin: 6px 0 0;
  color: #4c6170;
  font-size: 13px;
}

#propertyRequestForm > .btn {
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  width: fit-content;
}

#propertyForm > .btn.btn-primary {
  margin-top: 18px;
}

.amenities-overlay {
  z-index: 3200;
}

.amenities-modal {
  width: min(860px, 94vw);
  min-height: auto;
  max-height: 90vh;
  overflow: auto;
}

.maps-modal {
  width: min(900px, 95vw);
  min-height: auto;
  max-height: 90vh;
  overflow: auto;
}

.maps-modal .field {
  margin-bottom: 8px;
}

.amenities-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.amenity-option {
  display: block;
}

.amenity-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.amenity-option-ui {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #cdd9e1;
  background: #fff;
  border-radius: 12px;
  padding: 10px 11px;
  color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.amenity-option-ui:hover {
  border-color: #a8bcc9;
  transform: translateY(-1px);
}

.amenity-option input:checked + .amenity-option-ui {
  border-color: #7fa0b3;
  background: #eef5f9;
  box-shadow: 0 0 0 3px rgba(45, 81, 98, 0.12);
}

.amenity-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: #1a1a1a;
  flex-shrink: 0;
}

.amenity-icon svg {
  width: 18px;
  height: 18px;
  color: #1a1a1a;
}

.amenity-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.amenity-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.amenities-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 980px) {
  .property-popup {
    width: min(700px, 96vw);
  }

  .property-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .amenities-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .upload-cover-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header .logo-image {
    width: 58px;
    height: 58px;
  }

  .nav-links {
    gap: 7px;
    font-size: clamp(11px, 3.3vw, 13px);
  }

  .amenities-picker {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(var(--container), calc(100% - 16px));
  }

  .site-header .nav {
    gap: 5px;
    padding: 5px 6px;
    grid-template-columns: 72px minmax(0, 1fr) 48px 48px;
    min-height: 68px;
  }

  .site-header .logo-image {
    width: 58px;
    height: 58px;
  }

  .nav-user-trigger.has-avatar {
    width: 38px;
    height: 38px;
  }

  .nav-user-trigger:not(.has-avatar) {
    width: 38px;
    height: 38px;
  }

  .nav-user-trigger:not(.has-avatar) svg {
    width: 22px;
    height: 22px;
  }

  .site-header .logo,
  .nav-auth {
    width: 48px;
    height: 48px;
  }

  .site-header .logo {
    margin-left: 1px;
  }

  .site-header .logo {
    transform: none;
  }

  .nav-mobile-panel {
    width: 50vw;
    min-width: 190px;
  }

  .nav-mobile-content {
    padding: 68px 18px 22px;
  }

  .nav-mobile-toggle {
    width: 26px;
    height: 22px;
    padding: 0;
  }
}

.noma-submit-progress {
  position: fixed;
  inset: 0;
  z-index: 4200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 18, 26, 0.42);
  backdrop-filter: blur(4px);
}

.noma-submit-progress.open {
  display: flex;
}

.noma-submit-progress-card {
  width: min(460px, calc(100vw - 28px));
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #d9e4eb;
  box-shadow: 0 24px 60px rgba(15, 30, 42, 0.22);
  padding: 24px 22px;
}

.noma-submit-progress-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5e7484;
}

.noma-submit-progress-card h3 {
  margin: 0 0 8px;
  font-size: 1.7rem;
  line-height: 1.08;
  color: #173042;
}

.noma-submit-progress-text {
  margin: 0 0 18px;
  color: #536978;
  line-height: 1.6;
}

.noma-submit-progress-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #e6eef3;
  overflow: hidden;
}

.noma-submit-progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2d5162, #5f8aa0);
  transition: width 0.22s ease;
}
