/* ============================================================
   Luxury Concierge Real Estate — Doha Property Show
   Dark navy + gold design system
   ============================================================ */

:root {
  --navy-950: #070E16;
  --navy-900: #0A141E;
  --navy-800: #0D1B28;
  --navy-700: #112334;
  --gold: #C9A24B;
  --gold-light: #E5CB7E;
  --gold-deep: #A87E2F;
  --gold-grad: linear-gradient(120deg, #A87E2F 0%, #E5CB7E 45%, #C9A24B 100%);
  --text: #EAF0F6;
  --muted: #A9B8C6;
  --line: rgba(201, 162, 75, 0.35);
  --line-soft: rgba(255, 255, 255, 0.08);
  --display: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Montserrat", "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

::selection { background: rgba(201, 162, 75, 0.35); color: #fff; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--navy-900);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold-light); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: #fff; }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 0 26px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img { height: 92px; width: auto; }

.header-cta {
  display: inline-block;
  padding: 11px 26px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.header-cta:hover { background: var(--gold); color: var(--navy-900); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 80px;
  background: var(--navy-950);
  overflow: hidden;
}

/* water-ripple canvas attaches to this layer */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../img/bg.png") center 30% / cover no-repeat;
}

/* black corporate overlay above the rippling image —
   middle kept lighter so the water ripples stay visible */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(7, 14, 22, 0.92) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  z-index: 1;
  background: linear-gradient(to bottom, transparent, var(--navy-900));
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 440px;
  gap: 64px;
  align-items: center;
}

/* ---------- Hero left ---------- */

.hero-tease {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 80px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: #fff;
}

.invite-only {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 10px 0 30px;
}

.invite-only::before,
.invite-only::after {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold);
}

.event-meta {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  max-width: 560px;
  margin-bottom: 26px;
}

.event-meta .meta-box {
  padding: 18px 22px;
  text-align: center;
}

.event-meta .meta-box + .meta-box { border-left: 1px solid rgba(255, 255, 255, 0.14); }

.meta-box small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.meta-box b {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}

.room-list {
  list-style: none;
  max-width: 62ch;
  margin-bottom: 26px;
}

.room-list li {
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.045);
  padding: 12px 16px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--muted);
}

.room-list li b {
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 600;
  color: #fff;
  margin-right: 4px;
}

.dev-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
}

.dev-chips span {
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #fff;
  text-transform: uppercase;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.dev-chips span:hover { border-color: var(--gold); color: var(--gold-light); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold);
}

.hero-heading {
  font-size: clamp(22px, 2.7vw, 32px);
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 18px;
}

.hero-question {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--gold-light);
  margin-bottom: 16px;
}

.hero-copy {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 60ch;
  margin-bottom: 32px;
}

.hero-locations {
  border-top: 1px solid var(--line-soft);
  padding-top: 26px;
}

.locations-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.locations-label::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold);
}

.location-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.location-chips::-webkit-scrollbar { display: none; }

.location-chips span {
  flex: none;
  white-space: nowrap;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.location-chips span:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 75, 0.1);
  color: var(--gold-light);
}

/* ---------- Form card ---------- */

.form-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 2px solid var(--gold);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  padding: 40px 36px 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

/* gold corner frame accents */
.form-card::before,
.form-card::after {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  pointer-events: none;
}

.form-card::before {
  top: -8px;
  left: -8px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.form-card::after {
  bottom: -8px;
  right: -8px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

.form-card h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 1.2;
}

.form-card .form-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 26px;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.field input,
.field select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  border-radius: 0;
}

.field input::placeholder { color: rgba(169, 184, 198, 0.65); }

.field input:focus,
.field select:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C9A24B' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.field select option { background: var(--navy-800); color: var(--text); }

/* ---- intl-tel-input (country flags) dark theme ---- */

.iti { width: 100%; }

.iti--separate-dial-code .iti__selected-flag {
  background: rgba(255, 255, 255, 0.07);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.iti__selected-dial-code { color: var(--text); font-size: 14px; }

.iti__arrow { border-top-color: var(--gold); }
.iti__arrow--up { border-bottom-color: var(--gold); }

.iti__dropdown-content {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.iti__search-input {
  background: var(--navy-900);
  color: var(--text);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 11px 12px;
  font-family: var(--sans);
  outline: none;
}

.iti__search-input::placeholder { color: rgba(169, 184, 198, 0.6); }

.iti__country-list { background: transparent; }

.iti__country { padding: 9px 12px; font-size: 14px; }

.iti__country.iti__highlight,
.iti__country:hover { background: rgba(201, 162, 75, 0.16); }

.iti__dial-code { color: var(--muted); }

.field .error-msg {
  display: none;
  font-size: 12px;
  color: #E08A8A;
  margin-top: 6px;
}

.field.invalid input,
.field.invalid select { border-color: #B05656; }

.field.invalid .error-msg { display: block; }

/* honeypot — hidden from humans */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.btn-gold {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 16px;
  margin-top: 8px;
  background: var(--gold-grad);
  border: 0;
  color: #1A1404;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

/* shine sweep on hover */
.btn-gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-gold:hover::before { left: 140%; }

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 162, 75, 0.35);
}

.btn-gold:disabled { opacity: 0.6; cursor: wait; transform: none; }

.form-privacy {
  margin-top: 16px;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  background: var(--navy-950);
  padding: 70px 0 36px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 44px;
}

.footer-col h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col h4 svg { width: 16px; height: 16px; fill: var(--gold); flex: none; }

.footer-col p, .footer-col a {
  font-size: 14.5px;
  color: var(--muted);
}

.footer-col a:hover { color: var(--gold-light); }

.footer-disclaimer {
  text-align: center;
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
  opacity: 0.85;
  padding: 26px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.footer-bottom {
  text-align: center;
  padding-top: 28px;
  font-size: 13.5px;
  color: var(--muted);
}

.footer-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 28px;
}

.footer-links a { font-size: 13.5px; color: var(--text); }
.footer-links a:hover { color: var(--gold-light); }

/* ---------- Inner pages (terms / privacy / thank you) ---------- */

.page-hero {
  position: relative;
  padding: 170px 0 70px;
  background:
    linear-gradient(rgba(7, 14, 22, 0.9), rgba(10, 20, 30, 0.97)),
    url("../img/bg.png") center 30% / cover no-repeat;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
}

.page-hero .eyebrow { justify-content: center; margin-bottom: 14px; }
.page-hero .eyebrow::after { content: ""; width: 44px; height: 1px; background: var(--gold); }

.page-content {
  padding: 70px 0 90px;
}

.page-content .container { width: min(860px, 92%); }

.page-content h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--gold-light);
  margin: 38px 0 14px;
}

.page-content h2:first-child { margin-top: 0; }

.page-content p, .page-content li {
  color: var(--muted);
  font-size: 15.5px;
  margin-bottom: 12px;
}

.page-content ul { padding-left: 22px; margin-bottom: 16px; }

.page-content strong { color: var(--text); }

.updated-note {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 28px;
  text-transform: uppercase;
}

/* ---------- Thank you ---------- */

.thanks-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 80px;
  background:
    linear-gradient(rgba(7, 14, 22, 0.88), rgba(10, 20, 30, 0.96)),
    url("../img/bg.png") center 30% / cover no-repeat;
  text-align: center;
}

.thanks-card {
  width: min(620px, 92%);
  background: rgba(10, 20, 30, 0.8);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  padding: 60px 48px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.thanks-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 28px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-icon svg { width: 38px; height: 38px; stroke: var(--gold-light); }

.thanks-card h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 46px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}

.thanks-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 10px; }

.thanks-card .btn-gold {
  display: inline-block;
  width: auto;
  padding: 15px 42px;
  margin-top: 26px;
  text-align: center;
}

/* ---------- Entry animations ---------- */

@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
  }

  .hero-left > * { animation: fadeUp 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
  .hero-left > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-left > *:nth-child(2) { animation-delay: 0.12s; }
  .hero-left > *:nth-child(3) { animation-delay: 0.19s; }
  .hero-left > *:nth-child(4) { animation-delay: 0.26s; }
  .hero-left > *:nth-child(5) { animation-delay: 0.33s; }
  .hero-left > *:nth-child(6) { animation-delay: 0.40s; }
  .hero-left > *:nth-child(7) { animation-delay: 0.47s; }
  .hero-left > *:nth-child(8) { animation-delay: 0.54s; }

  .form-card { animation: fadeUp 0.9s 0.4s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero .container { grid-template-columns: 1fr 400px; gap: 40px; }
}

@media (max-width: 960px) {
  .hero { padding-top: 130px; }
  .hero .container { grid-template-columns: 1fr; gap: 52px; }
  .form-card { max-width: 540px; }
  .hero-copy { max-width: none; }
}

@media (max-width: 720px) {
  .brand img { height: 68px; }
  .header-cta { padding: 9px 16px; font-size: 11px; letter-spacing: 0.16em; }
  .hero { padding-top: 116px; }
  .form-card { padding: 32px 24px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .location-chips span { padding: 7px 11px; font-size: 10.5px; }
  .thanks-card { padding: 44px 26px; }
}
