/* ── VARIABLES ── */
:root {
  --navy:      #0A1628;
  --navy2:     #0F1F3D;
  --navy3:     #162340;
  --gold:      #E8B86D;
  --gold-dark: #C9963E;
  --gold-dim:  rgba(232,184,109,0.12);
  --text:      #F0F2FF;
  --muted:     #8899BB;
  --white:     #FFFFFF;
  --radius:    12px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--navy); color: var(--text); font-family: 'Inter', sans-serif; font-size: 15px; line-height: 1.7; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, .logo, .footer-logo { font-family: 'DM Serif Display', serif; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,22,40,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232,184,109,0.12);
  transition: background 0.3s;
}
.nav.scrolled { background: rgba(10,22,40,0.98); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; height: 66px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 22px; color: var(--text); letter-spacing: 0.01em; }
.logo span { color: var(--gold); }
.lang-switch { display: flex; align-items: center; gap: 6px; }
.lang-sep { color: var(--muted); font-size: 14px; }
.lang-btn { background: none; border: none; cursor: pointer; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: var(--muted); padding: 4px 8px; border-radius: 6px; transition: all 0.2s; }
.lang-btn.active { color: var(--gold); background: var(--gold-dim); }
.lang-btn:hover:not(.active) { color: var(--text); }

/* ── HERO ── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }

.hero-bg-wrap { position: absolute; inset: 0; overflow: hidden; }
.hero-bg {
  position: absolute;
  inset: -25% 0;
  background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1600&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.75) 55%, rgba(10,22,40,0.5) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 120px 28px 80px;
  width: 100%;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.hero-inner h1 { font-size: clamp(44px, 7vw, 80px); font-weight: 400; line-height: 1.08; color: var(--text); margin-bottom: 18px; }
.hero-inner h1 em { font-style: italic; color: var(--gold); display: block; }
.hero-sub { font-size: 17px; color: rgba(240,242,255,0.7); max-width: 480px; margin-bottom: 44px; line-height: 1.75; }

/* Search bar */
.search-bar {
  display: flex;
  background: rgba(255,255,255,0.96);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  max-width: 680px;
}
.search-bar select {
  flex: 1; padding: 18px 14px;
  border: none; border-right: 1px solid rgba(10,22,40,0.1);
  background: transparent;
  font-family: 'Inter', sans-serif; font-size: 14px; color: var(--navy);
  outline: none; cursor: pointer;
}
.search-bar select:last-of-type { border-right: none; }
.search-bar button {
  padding: 18px 28px;
  background: var(--gold); border: none;
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700;
  color: var(--navy); cursor: pointer; transition: background 0.2s;
  white-space: nowrap;
}
.search-bar button:hover { background: var(--gold-dark); }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: 12px 24px; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; transition: all 0.2s; border: none; cursor: pointer; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 4px 18px rgba(232,184,109,0.35); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-outline-gold { background: transparent; color: var(--gold); border: 1.5px solid rgba(232,184,109,0.4); display: block; text-align: center; width: 100%; }
.btn-outline-gold:hover { background: var(--gold-dim); border-color: var(--gold); }

/* ── SECTIONS ── */
.section { padding: 90px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.sec-head { margin-bottom: 52px; }
.sec-label { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 46px); color: var(--text); line-height: 1.15; }
.sec-sub { margin-top: 12px; font-size: 16px; color: var(--muted); max-width: 480px; line-height: 1.75; }

/* ── PROPERTIES ── */
.props-section { background: var(--navy2); }
.props-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.prop-card {
  background: var(--navy3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.5s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.prop-card:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.5); }

.prop-img-wrap { position: relative; overflow: hidden; }
.prop-img-wrap img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.prop-card:hover .prop-img-wrap img { transform: scale(1.05); }
.prop-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--navy); color: var(--text);
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
}
.prop-tag.hot { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.prop-price {
  position: absolute; bottom: 12px; right: 12px;
  background: var(--gold); color: var(--navy);
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700;
  padding: 6px 14px; border-radius: 8px;
}

.prop-info { padding: 20px; display: flex; flex-direction: column; gap: 0; flex: 1; }
.prop-info h3 { font-size: 18px; color: var(--text); margin-bottom: 6px; }
.prop-loc { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.prop-meta {
  display: flex; gap: 16px; margin-bottom: 18px; flex-wrap: wrap;
  padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.07);
  flex: 1;
}
.prop-meta span { font-size: 13px; color: var(--muted); }

.no-results { text-align: center; padding: 48px; color: var(--muted); font-size: 16px; }

/* ── STATS ── */
.stats-section { background: var(--navy); padding: 70px 0; border-top: 1px solid rgba(232,184,109,0.1); border-bottom: 1px solid rgba(232,184,109,0.1); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat { padding: 20px; border-right: 1px solid rgba(255,255,255,0.07); }
.stat:last-child { border-right: none; }
.stat-val { font-family: 'DM Serif Display', serif; font-size: clamp(36px, 5vw, 56px); color: var(--gold); line-height: 1; margin-bottom: 10px; }
.stat-val sup { font-size: 0.45em; vertical-align: super; font-family: 'Inter', sans-serif; font-weight: 600; }
.stat-lbl { font-size: 13px; font-weight: 500; color: var(--muted); }

/* ── HOW IT WORKS ── */
.how-section { background: var(--navy2); }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0; align-items: start; }
.step { text-align: center; padding: 0 20px; }
.step-n { font-family: 'DM Serif Display', serif; font-size: 56px; color: var(--gold); opacity: 0.15; line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 18px; color: var(--text); margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.step-line {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-top: 28px;
  opacity: 0.4;
}

/* ── FORM ── */
.booking-section { background: var(--navy); }
.form-box { background: var(--navy2); border: 1px solid rgba(232,184,109,0.14); border-radius: var(--radius); padding: 48px; max-width: 700px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.field.full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { padding: 12px 16px; border: 1px solid rgba(255,255,255,0.09); border-radius: 8px; background: var(--navy3); font-family: 'Inter', sans-serif; font-size: 15px; color: var(--text); outline: none; transition: border-color 0.2s; resize: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(232,184,109,0.5); }
.field select option { background: var(--navy3); }
.btn-submit { width: 100%; padding: 16px; font-size: 16px; }
.form-ok { display: none; margin-top: 16px; padding: 16px; background: rgba(232,184,109,0.08); border: 1px solid rgba(232,184,109,0.25); border-radius: 8px; color: var(--gold); font-weight: 600; text-align: center; }
.form-ok.show { display: block; }

/* ── FOOTER ── */
.footer { background: var(--navy2); border-top: 1px solid rgba(255,255,255,0.05); padding: 40px 0; }
.footer-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-size: 20px; color: var(--text); }
.footer-logo span { color: var(--gold); }
.footer-tagline { font-family: 'DM Serif Display', serif; font-size: 14px; font-style: italic; color: var(--muted); }
.footer-cr { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ── WIDGET ── */
.widget { position: fixed; bottom: 24px; right: 24px; z-index: 1000; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.w-btn { width: 58px; height: 58px; border-radius: 50%; background: var(--gold); border: none; font-size: 24px; color: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 22px rgba(232,184,109,0.5); transition: transform 0.3s; cursor: pointer; animation: w-pulse 3s ease-in-out infinite; }
@keyframes w-pulse { 0%, 100% { box-shadow: 0 4px 22px rgba(232,184,109,0.5); } 50% { box-shadow: 0 4px 40px rgba(232,184,109,0.85); } }
.w-btn:hover { transform: scale(1.1); }
.w-panel { width: 330px; background: var(--navy2); border: 1px solid rgba(232,184,109,0.2); border-radius: 16px; box-shadow: 0 14px 56px rgba(0,0,0,0.55); display: none; flex-direction: column; overflow: hidden; max-height: 480px; }
.w-panel.open { display: flex; }
.w-head { background: linear-gradient(135deg, rgba(232,184,109,0.18), rgba(232,184,109,0.04)); border-bottom: 1px solid rgba(232,184,109,0.14); padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.w-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.w-info { flex: 1; min-width: 0; }
.w-name { font-size: 14px; font-weight: 600; color: var(--text); }
.w-status { font-size: 11px; color: var(--muted); }
.w-close { background: none; border: none; color: var(--muted); font-size: 16px; padding: 4px; cursor: pointer; transition: color 0.2s; }
.w-close:hover { color: var(--text); }
.w-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-height: 180px; }
.w-msg { max-width: 86%; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.55; }
.w-msg.bot { background: var(--navy3); color: var(--text); border: 1px solid rgba(255,255,255,0.06); align-self: flex-start; border-radius: 4px 12px 12px 12px; }
.w-msg.user { background: var(--gold); color: var(--navy); align-self: flex-end; border-radius: 12px 4px 12px 12px; font-weight: 600; }
.w-msg.typing { font-style: italic; color: var(--muted); font-size: 13px; }
.w-bottom { padding: 10px 12px; display: flex; gap: 8px; border-top: 1px solid rgba(255,255,255,0.06); }
.w-input { flex: 1; padding: 10px 14px; border: 1px solid rgba(255,255,255,0.09); border-radius: 8px; background: var(--navy3); font-family: 'Inter', sans-serif; font-size: 14px; color: var(--text); outline: none; transition: border-color 0.2s; }
.w-input:focus { border-color: rgba(232,184,109,0.4); }
.w-send { width: 40px; height: 40px; border-radius: 8px; background: var(--gold); border: none; color: var(--navy); font-size: 18px; font-weight: 700; cursor: pointer; transition: background 0.2s; flex-shrink: 0; }
.w-send:hover { background: var(--gold-dark); }
.w-note { text-align: center; font-size: 11px; color: var(--muted); padding: 6px 12px 8px; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── MOBILE ── */
@media (max-width: 1024px) { .props-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .props-grid { grid-template-columns: 1fr; max-width: 440px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }
  .steps { grid-template-columns: 1fr; }
  .step-line { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .form-box { padding: 28px 20px; }
  .footer-in { flex-direction: column; align-items: flex-start; }
  .w-panel { width: calc(100vw - 48px); }
  .search-bar { flex-direction: column; border-radius: 12px; }
  .search-bar select { border-right: none; border-bottom: 1px solid rgba(10,22,40,0.1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { transition: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .w-btn { animation: none; }
  .prop-card { transition: none; }
}
