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

:root {
  --black:      #111110;
  --dark:       #1C1C1A;
  --mid:        #555550;
  --light:      #999990;
  --rule:       #E2E2DC;
  --bg:         #F9F8F6;
  --white:      #FFFFFF;
  --accent:     #1D3461;
  --gold:       #B8963E;
  --radius:     4px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  height: 60px; display: flex; align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--light); font-weight: 500;
}
.nav-dot { color: var(--rule); }

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 500;
  color: var(--black); text-decoration: none;
  letter-spacing: .3px;
  position: absolute; left: 50%; transform: translateX(-50%);
}

.nav-right {
  list-style: none; display: flex; align-items: center; gap: 28px;
}
.nav-right a {
  text-decoration: none; font-size: 11px; letter-spacing: 1.2px;
  text-transform: uppercase; font-weight: 500; color: var(--mid);
  transition: color .2s;
}
.nav-right a:hover { color: var(--black); }

.nav-cta {
  color: var(--black) !important;
  border-bottom: 1px solid var(--black);
  padding-bottom: 1px;
}

.hamburger { display: none; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--dark); }

/* Lang toggle */
.lang-toggle {
  background: none; border: 1px solid var(--rule); cursor: pointer;
  font-family: inherit; font-size: 10px; letter-spacing: 1.2px;
  text-transform: uppercase; font-weight: 500;
  display: flex; align-items: center; gap: 5px;
  padding: 5px 12px; color: var(--light);
  transition: border-color .2s, color .2s;
}
.lang-toggle:hover { border-color: var(--mid); color: var(--dark); }
.lang-sep { color: var(--rule); }
.lang-active { color: var(--black); font-weight: 600; }
.nav-mobile-right { display: none; align-items: center; gap: 12px; }
.lang-toggle-mobile { padding: 4px 10px; }

/* ===== HERO ===== */
#hero {
  margin-top: 60px;
  min-height: calc(100vh - 60px);
  display: flex; align-items: stretch;
}

.hero-split {
  display: grid; grid-template-columns: 1fr 1fr;
  width: 100%; min-height: calc(100vh - 60px);
}

.hero-photo-wrap {
  position: relative; overflow: hidden;
  background: var(--bg);
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.hero-photo-caption {
  position: absolute; bottom: 24px; left: 24px;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.8); font-weight: 500;
  background: rgba(0,0,0,.25); padding: 6px 12px;
  backdrop-filter: blur(4px);
}

.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 72px;
  border-left: 1px solid var(--rule);
}

.hero-eyebrow {
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--light); font-weight: 500; margin-bottom: 28px;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 3.5vw, 3.8rem);
  font-weight: 500; line-height: 1.18;
  color: var(--black); margin-bottom: 28px;
}
.hero-text h1 em { font-style: italic; color: var(--mid); }

.hero-body {
  font-size: .93rem; color: var(--mid);
  line-height: 1.85; margin-bottom: 40px;
  max-width: 420px;
}

.hero-actions { display: flex; align-items: center; gap: 28px; margin-bottom: 56px; }

.btn-dark {
  display: inline-block; padding: 13px 32px;
  background: var(--black); color: var(--white);
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 600; text-decoration: none;
  transition: background .2s;
}
.btn-dark:hover { background: var(--accent); }

.btn-text {
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 500; color: var(--mid); text-decoration: none;
  transition: color .2s;
}
.btn-text:hover { color: var(--black); }

.hero-stats-row {
  display: flex; align-items: center; gap: 0;
  border-top: 1px solid var(--rule); padding-top: 32px;
}
.hstat { padding-right: 32px; }
.hstat-n {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 500; color: var(--black);
}
.hstat-unit { font-size: 1.1rem; color: var(--gold); margin-left: 1px; }
.hstat-l { display: block; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--light); margin-top: 2px; }
.hstat-sep { width: 1px; height: 36px; background: var(--rule); margin-right: 32px; }

/* ===== MARQUEE ===== */
.marquee-bar {
  overflow: hidden; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 14px 0; background: var(--white);
}
.marquee-track {
  display: flex; gap: 28px; align-items: center;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--light); font-weight: 500;
}
.marquee-track .sep { color: var(--rule); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== SECTIONS COMMON ===== */
section { padding: 100px 0; }
#about { background: var(--bg); }
#listings { background: var(--bg); }

.section-label {
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  font-weight: 600; color: var(--light);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 14px; margin-bottom: 52px;
}
.section-label.light { color: rgba(255,255,255,.4); border-color: rgba(255,255,255,.15); }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }

.about-headline h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 500; line-height: 1.3;
  color: var(--black);
}

.about-body p {
  color: var(--mid); margin-bottom: 18px;
  font-size: .93rem; line-height: 1.85;
}
.about-body p:last-of-type { margin-bottom: 28px; }

.about-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.about-tags span {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 500; color: var(--mid);
  border: 1px solid var(--rule); padding: 5px 14px;
}

/* ===== SERVICES ===== */
.services-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 500; color: var(--black);
  margin-bottom: 48px;
}

.services-list { border-top: 1px solid var(--rule); }

.service-row {
  display: grid; grid-template-columns: 56px 1fr 40px;
  align-items: center; gap: 32px;
  padding: 32px 0; border-bottom: 1px solid var(--rule);
  cursor: default; transition: background .15s;
}
.service-row:hover { background: var(--bg); margin: 0 -40px; padding-left: 40px; padding-right: 40px; }

.service-num {
  font-family: 'Playfair Display', serif;
  font-size: .85rem; color: var(--light); font-style: italic;
}
.service-content h3 {
  font-size: 1.05rem; font-weight: 500; color: var(--black); margin-bottom: 8px;
}
.service-content h3 span { font-size: .85rem; font-weight: 400; color: var(--light); }
.service-content p { font-size: .88rem; color: var(--mid); line-height: 1.7; }
.service-arrow { font-size: 1.1rem; color: var(--rule); text-align: right; }
.service-row:hover .service-arrow { color: var(--black); }

/* ===== LISTINGS ===== */
.listings-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 0;
}
.listings-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 500; color: var(--black);
  margin-top: 0; margin-bottom: 52px;
}
.listings-header .section-label { margin-bottom: 12px; }
.listings-note {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--light); font-weight: 500; margin-bottom: 52px;
}

.listings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); }

.listing-card { background: var(--white); overflow: hidden; }

.listing-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.listing-img-placeholder {
  width: 100%; height: 100%; background: #EDECEA;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--light); font-weight: 500;
}
.listing-badge {
  position: absolute; top: 16px; left: 16px;
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 600; padding: 4px 10px;
  background: var(--black); color: var(--white);
}
.listing-badge.for-rent { background: var(--accent); }

.listing-body { padding: 20px 24px 28px; }
.listing-loc {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--light); font-weight: 500; margin-bottom: 6px;
}
.listing-title { font-size: .88rem; color: var(--mid); margin-bottom: 10px; }
.listing-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 500; color: var(--black);
}

/* ===== CONTACT ===== */
#contact { background: var(--dark); padding: 100px 0; }
#contact h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 500; color: var(--white);
  line-height: 1.25; margin-bottom: 20px;
}
#contact h2 em { color: rgba(255,255,255,.45); }
#contact > .container > .contact-grid > .contact-left > p {
  color: rgba(255,255,255,.5); font-size: .9rem; line-height: 1.8; margin-bottom: 40px;
}

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

.contact-details { display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,.1); }
.cdetail {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.cdetail-label {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.35); font-weight: 500;
}
.cdetail-val { font-size: .88rem; color: rgba(255,255,255,.75); }

.contact-form { display: flex; flex-direction: column; gap: 12px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 14px 0;
  background: transparent;
  border: none; border-bottom: 1px solid rgba(255,255,255,.15);
  color: var(--white); font-family: inherit; font-size: .9rem;
  outline: none; transition: border-color .2s;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: rgba(255,255,255,.3); }
.form-row select option { background: var(--dark); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: rgba(255,255,255,.5);
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.two-col input { width: 100%; }

.btn-submit {
  margin-top: 12px; background: none; border: none;
  color: var(--white); font-family: inherit;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600; cursor: pointer; text-align: left;
  padding: 0; transition: opacity .2s;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 4px; width: fit-content;
}
.btn-submit:hover { opacity: .7; }

/* ===== FOOTER ===== */
footer { background: var(--black); padding: 40px 0; }
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  align-items: center; gap: 40px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--white); margin-bottom: 4px;
}
.footer-tagline { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.3); }

.footer-links { display: flex; justify-content: center; gap: 28px; }
.footer-links a {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.35); text-decoration: none; transition: color .2s;
}
.footer-links a:hover { color: var(--white); }

.footer-copy { text-align: right; }
.footer-copy p { font-size: .78rem; color: rgba(255,255,255,.25); line-height: 1.7; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-photo-wrap { height: 55vw; min-height: 320px; }
  .hero-text { padding: 56px 40px; border-left: none; border-top: 1px solid var(--rule); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .listings-header { flex-direction: column; align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-copy { text-align: center; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav-left { display: none; }
  .logo { position: static; transform: none; }
  .nav-right { display: none; }
  .nav-mobile-right { display: flex; }
  .nav-right.open {
    display: flex; flex-direction: column; position: absolute;
    top: 60px; left: 0; right: 0; background: var(--white);
    padding: 20px; border-bottom: 1px solid var(--rule); gap: 18px;
  }
  .hamburger { display: block; }
  .hero-text { padding: 40px 20px; }
  .listings-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .service-row:hover { margin: 0; padding-left: 0; padding-right: 0; }
  section { padding: 64px 0; }
}
