/* Shift Villas — Ajaltoun landing page.
   Design system carried over from the InDesign/HTML brochure:
   gold #a08c6b / #cbb98f, near-black #14140f, cream #f2ede1, Georgia serif. */

:root {
  --gold: #a08c6b;
  --gold-light: #cbb98f;
  --ink: #1c1c1c;
  --body: #555;
  --dark: #14140f;
  --cream: #f2ede1;
  --rule: #d9cfb9;
  --muted-bg: #faf8f4;
  --wrap: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', -apple-system, Arial, sans-serif;
  color: var(--body);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.kicker {
  font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 14px;
}

h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: normal; color: var(--ink); }
h2 { font-size: clamp(28px, 4.2vw, 40px); line-height: 1.2; margin-bottom: 28px; letter-spacing: 0.3px; }

.lede { font-family: Georgia, serif; font-size: clamp(16px, 2vw, 19px); line-height: 1.75; color: #3a3a3a; margin-bottom: 18px; }
.body { font-size: 15px; line-height: 1.8; }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.muted { background: var(--muted-bg); }
.section.dark { background: var(--dark); }
.section.dark h2 { color: #fff; }
.section.dark .lede { color: var(--cream); }
.section.dark .body { color: #b8b1a3; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; border: none; cursor: pointer;
  font-family: inherit; font-size: 13px; letter-spacing: 2.5px;
  text-transform: uppercase; text-decoration: none;
  padding: 17px 38px; transition: background .18s ease, color .18s ease;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: #8d7a5b; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(92vh, 780px); display: flex; background: var(--dark); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,8,.62) 0%, rgba(10,10,8,.18) 45%, rgba(10,10,8,.8) 100%);
}
.hero-inner {
  position: relative; margin: auto; text-align: center; color: #fff;
  padding: 96px 24px; max-width: 780px;
}
.hero-by { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(40px, 9vw, 74px); letter-spacing: clamp(6px, 1.6vw, 16px);
  text-transform: uppercase; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.hero-sub {
  font-size: clamp(12px, 2.2vw, 16px); letter-spacing: 7px; text-transform: uppercase;
  color: var(--cream); margin-top: 12px; text-shadow: 0 1px 10px rgba(0,0,0,.7);
}
.hero-lede {
  font-family: Georgia, serif; font-size: clamp(16px, 2.2vw, 20px); line-height: 1.7;
  color: #ece6da; margin: 32px auto 36px; max-width: 620px; text-shadow: 0 1px 10px rgba(0,0,0,.6);
}
.hero-note { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #b8b1a3; margin-top: 24px; }

/* ---------- stats ---------- */
.stats { background: var(--dark); border-top: 1px solid rgba(203,185,143,.2); padding: 36px 0; }
.stats-row { display: flex; flex-wrap: wrap; gap: 28px 12px; justify-content: space-between; }
.stat { flex: 1 1 140px; text-align: center; }
.stat .n { display: block; font-family: Georgia, serif; font-size: clamp(20px, 3vw, 28px); color: var(--gold-light); }
.stat .l { display: block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #8d867a; margin-top: 6px; }

/* ---------- split ---------- */
.split { display: flex; flex-wrap: wrap; }
.split-txt {
  flex: 1 1 420px; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 7vw, 90px) clamp(24px, 5vw, 72px);
}
.split-pic { flex: 1 1 420px; min-height: 340px; }
.split-pic img { width: 100%; height: 100%; min-height: 340px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(360px, 55vw, 560px); }
.gallery img { width: 100%; height: 100%; }
.gallery .tall { grid-row: 1 / 3; }

/* ---------- villa types ---------- */
.types { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); }
.type { flex: 1 1 320px; }
.type h3 { font-size: 24px; margin-bottom: 20px; }
.type h3 span { color: var(--gold); }
.levels { list-style: none; }
.levels li {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  font-size: 14px; padding: 11px 0; border-bottom: 1px solid #eee7d8;
}
.levels li b { color: var(--ink); font-weight: 600; }
.levels li i { font-style: normal; color: var(--gold); font-family: Georgia, serif; font-size: 15px; white-space: nowrap; }
.total { margin-top: 18px; padding-top: 14px; border-top: 2px solid var(--gold); font-size: 14px; letter-spacing: .5px; }
.total span { font-family: Georgia, serif; font-size: 19px; color: var(--ink); }

/* ---------- location ---------- */
.map { width: 100%; height: clamp(220px, 34vw, 420px); border-radius: 2px; }
.dists { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px 30px; margin-top: 36px; }
.dist { border-top: 1px solid var(--rule); padding-top: 12px; }
.dist .d { display: block; font-family: Georgia, serif; font-size: 20px; color: var(--gold); }
.dist .p { display: block; font-size: 13px; line-height: 1.5; color: #444; margin-top: 4px; }

/* ---------- community ---------- */
.commrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.commrow img { width: 100%; height: clamp(180px, 22vw, 250px); }
.commlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; margin-top: 34px; }
.commlist div { font-size: 14px; line-height: 1.7; border-top: 1px solid var(--rule); padding-top: 14px; }
.commlist b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 5px; }

/* ---------- specs ---------- */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.spec h4 { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.spec p { font-size: 14px; line-height: 1.75; }
.spec b { color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 40px; }
.tiles img { width: 100%; height: 110px; }
.tiles figcaption { font-size: 12px; color: #777; text-align: center; margin-top: 7px; letter-spacing: .5px; }

/* ---------- form ---------- */
.form-wrap { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: flex-start; }
.form-intro { flex: 1 1 340px; }
.dl { margin-top: 26px; }
.dl a { color: var(--gold-light); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid rgba(203,185,143,.45); padding-bottom: 4px; }
.dl a:hover { color: #fff; }

#lead-form { flex: 1 1 380px; background: #fbf9f5; padding: clamp(26px, 4vw, 40px); }
#lead-form label { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #7a7364; margin-bottom: 18px; }
#lead-form .req { color: var(--gold); }
#lead-form input[type=text], #lead-form input[type=email], #lead-form input[type=tel], #lead-form select, #lead-form textarea {
  display: block; width: 100%; margin-top: 7px;
  font-family: inherit; font-size: 15px; letter-spacing: normal; text-transform: none; color: var(--ink);
  padding: 12px 13px; background: #fff; border: 1px solid #e0d9c9; border-radius: 2px;
}
#lead-form textarea { resize: vertical; }
#lead-form :focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
#lead-form .row { display: flex; gap: 16px; flex-wrap: wrap; }
#lead-form .row label { flex: 1 1 150px; }
#lead-form .check { display: flex; gap: 11px; align-items: flex-start; text-transform: none; letter-spacing: normal; font-size: 13px; line-height: 1.55; color: #6b6558; margin-bottom: 24px; }
#lead-form .check input { margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
#lead-form button { width: 100%; }
#lead-form button[disabled] { opacity: .55; cursor: default; }
.form-msg { font-size: 14px; line-height: 1.6; margin-top: 16px; min-height: 1px; }
.form-msg.error { color: #a4392f; }
.form-msg.ok { color: #4d7a3f; }
.form-done { font-family: Georgia, serif; font-size: 19px; line-height: 1.7; color: var(--ink); }
.form-done .tick { display: block; font-size: 30px; color: var(--gold); margin-bottom: 12px; }

/* ---------- footer ---------- */
footer { background: var(--dark); color: var(--cream); text-align: center; padding: 64px 0 52px; }
.f-name { font-family: Georgia, serif; font-size: 24px; letter-spacing: 9px; text-transform: uppercase; color: #fff; }
.f-sub { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold-light); margin-top: 10px; }
.f-contact { font-size: 15px; line-height: 2; margin-top: 28px; }
.f-contact a { color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(242,237,225,.3); }
.f-legal { font-size: 11px; color: #7a7368; margin-top: 32px; line-height: 1.7; }

@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); height: auto; }
  .gallery img { height: 230px; }
  .gallery .tall { grid-row: auto; }
  .hero { min-height: 78vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
