:root {
  --bg: #030911;
  --surface: rgba(5, 12, 20, 0.9);
  --accent: #f5b748;
  --accent-soft: rgba(245, 183, 72, 0.15);
  --muted: #adb6c9;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 18px;
}

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

body {
  margin: 0;
  font-family: 'Noto Sans SC', 'Helvetica Neue', sans-serif;
  /* background: var(--bg); */
  color: #f7f7f9;
}

.bg-fixed {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 3, 18, 0.6), rgba(0, 20, 60, 0.6)),
    url("https://images.unsplash.com/photo-1587031095556-f979cc9eed20?q=80&w=1600&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  z-index: -1;
}


.i18n-text {
  display: none;
}

html[data-lang="cn"] .i18n-text[data-lang="cn"],
html[data-lang="en"] .i18n-text[data-lang="en"],
html[data-lang="it"] .i18n-text[data-lang="it"] {
  display: inline;
}

.page {
  min-height: 100vh;
}

img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
}

.hero {
  min-height: 84vh;
  padding: 4rem clamp(1rem, 4vw, 4rem);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.hero__content {
  max-width: 640px;
}

.hero h1 {
  font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 1rem;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.lead {
  font-size: 1.1rem;
  color: #f4f5f6;
  margin-bottom: 2rem;
}

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

.language-switcher {
  margin-left: 2vw;
  margin-bottom: 1rem;
  margin-top: 1rem;
  display: inline-flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.language-switcher__btn {
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.language-switcher__btn.is-active {
  background: #fff;
  color: #0b0b0b;
  border-color: transparent;
}

.language-switcher__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn {
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #ffdc73, #f1a42b);
  color: #0a0a0a;
  box-shadow: 0 10px 40px rgba(241, 164, 43, 0.4);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

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

.section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem);
}

.section__heading h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 0.35rem;
}

.section__heading p {
  color: var(--muted);
  max-width: 600px;
}

.intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding-top: 3rem;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem);
  margin: 0.35rem;
}

.intro h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 0.35rem;
}

.intro__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 0;
}

.intro__stats dt {
  font-size: 0.85rem;
  color: var(--muted);
}

.intro__stats dd {
  font-size: 1.5rem;
  margin: 0.2rem 0 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  min-height: 260px;
}

.card__tag {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.card ul {
  padding-left: 1rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.card li {
  margin-bottom: 0.35rem;
}

.properties .property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.property-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.property-card__media {
  position: relative;
}

.property-card__media img {
  height: 220px;
  object-fit: cover;
}

.property-card__status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.3rem 0.75rem;
  border-radius: 12px;
  font-size: 0.9rem;
}

.property-card__body {
  padding: 1.25rem;
}

.property-card__body h3 {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.property-card__body .location {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.property-card__body dd {
  margin: 0;
  font-weight: 600;
}

.property-card__body dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.property-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.property-card__tags li {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
}

.clients {
  background: rgba(5, 12, 20, 0.95);
}

.clients__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.clients__list article {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.clients__country {
  color: var(--muted);
  font-size: 0.9rem;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.process__steps article {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.steps__num {
  font-size: 1.4rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  background: linear-gradient(135deg, rgba(5, 12, 20, 0.9), rgba(2, 6, 15, 0.9));
  border-top: 1px solid var(--border);
}

.contact__content p {
  margin: 0.25rem 0;
  line-height: 1.6;
}

.contact__cta {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact__cta h3 {
  margin-top: 0;
}

.footer {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .property-card__body dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    margin-top: 1rem;
    min-height: 70vh;
  }
}

/* 顶部导航栏 */
.navbar {
  position: fixed;            /* 固定在顶部 */
  top: 0;
  left: 0;
  width: 100%;                /* 横跨全屏 */
  z-index: 100;

  /* 黑色透明背景 */
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);

  padding: 10px 10px;         /* 顶部和左右间距 */
  display: flex;
  justify-content: space-between;  /* 左侧对其按钮，右侧对齐菜单 */
  align-items: center;
}

.navbar__menu {
  display: flex;
  gap: 24px;
  list-style: none;
}

.navbar__menu li a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}

.navbar__menu li a:hover {
  opacity: 0.7;
}

/* 下拉菜单 */
.has-dropdown {
  position: relative;
}

.dropdown-arrow {
  display: none;
}

.has-dropdown:hover .dropdown-arrow {
  transform: rotate(0deg);
}

.has-dropdown.open .dropdown-arrow {
  transform: rotate(0deg);
}

.dropdown {
  list-style: none; /* 不要marker */
  position: absolute;
  right: 0;
  top: 26px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  padding: 10px 0;
  border-radius: 6px;
  display: none;
  flex-direction: column;
  min-width: 160px;
}

.dropdown li {
  padding: 6px 20px;
}

.dropdown li a {
  color: #fff;
  display: block;
  white-space: nowrap;
  padding-left: 16px;        /* 缩进 */
  font-size: 0.93rem;        /* 字号稍小 */
}

.dropdown a.i18n-text {
  display: none;
}

.has-dropdown:hover .dropdown {
  display: flex;
}

/* 汉堡按钮样式 */
.navbar__toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  position: relative; /* 保持在 navbar 内 */
  z-index: 300;       /* 高于菜单 */
}

/* 移动端布局 */
@media (max-width: 768px) {
  .navbar__menu {
    position: fixed;
    top: 0;
    right: -100%; /* 默认隐藏在右侧外 */
    height: 100vh;
    width: 240px;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 4rem 1.5rem;
    margin: 0;             /* 清除可能存在的 margin */
    gap: 1.5rem;
    transition: right 0.3s ease;
    z-index: 200;
  }

  .navbar__menu.open {
    right: 0; /* 弹出 */
  }

  .navbar__toggle {
    display: inline-block;
  }

  .navbar__menu li {
    margin-bottom: 1rem;
  }

  .has-dropdown .dropdown {
    position: static;
    display: none;
    background: none;
    padding: 0;
  }

  .has-dropdown.open .dropdown {
    display: flex;
    flex-direction: column;
    /* gap: 0.5rem; */
  }

  .dropdown-arrow {
    margin-left: 6px;
    transition: transform 0.3s ease;
    display: inline-block;
    transform: rotate(90deg);
  }
}

/* >>>>>液态效果>>>>> */
.liquid {
  /* 真正的液態關鍵：先模糊、再用 SVG 位移地圖扭曲背景 */
  backdrop-filter: blur(2px) url(#liquid_glass_filter);

  /* 用 box-shadow 取代邊框，營造厚度與光暈 */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(255,255,255,0.18),
    inset 6px 6px 16px rgba(255,255,255,0.12),
    0 10px 28px rgba(0,0,0,0.35);
  
  background: rgba(255,255,255, 0.1);
/*     mask: linear-gradient(90deg, transparent, #000); */

}

/* Fallback：若瀏覽器不支援 backdrop-filter，就用柔和漸層墊底 */
@supports not (backdrop-filter: blur(2px)) {
  .liquid {
    background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  }
}


/* other layout */


* { box-sizing: border-box; }


/* <<<<<液态效果<<<<< */