/* ═══════════════════════════════════════════════════════════════════════════
   M3M JACOB & CO RESIDENCES — Ultra-luxury landing page
   Self-contained stylesheet. No framework dependency.
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800&family=Jost:wght@300;400;500;600;700&display=swap');

:root {
  --bg:        #0a0a0b;
  --bg-alt:    #121214;
  --surface:   #18181b;
  --surface-2: #1e1e22;
  --line:      rgba(255,255,255,.10);
  --line-soft: rgba(255,255,255,.06);

  --ink:       #f6f4ef;
  --ink-dim:   #b7b3aa;
  --ink-mute:  #85817a;

  --cream:     #f7f5f0;
  --cream-2:   #efece4;
  --charcoal:  #17171a;

  --gold:      #c9a44c;
  --gold-2:    #e4cd97;
  --gold-deep: #a3823a;

  --whatsapp:  #25d366;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(0,0,0,.25);
  --shadow-md: 0 10px 34px rgba(0,0,0,.35);
  --shadow-lg: 0 24px 70px rgba(0,0,0,.5);

  --ease: cubic-bezier(.16,.84,.44,1);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Jost', Arial, sans-serif;

  --container: 1240px;
  --header-h: 84px;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
body.nav-open, body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
input, select, button, textarea { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; color: var(--ink); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .9rem;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }

.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }
.section-title--light { color: var(--charcoal); }
.section-lead { color: var(--ink-dim); font-size: 1rem; max-width: 640px; }
.section-lead--dark { color: #5c584f; }

.section-head { margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-head--center { text-align: center; margin-inline: auto; }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--cream { background: var(--cream); color: var(--charcoal); }
.section--cream p { color: #5c584f; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.9em; border-radius: 50px;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap; border: 1px solid transparent;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, var(--gold-deep)); color: #221a08; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201,164,76,.35); }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: #fff; color: #111; border-color: #fff; }
.btn-outline-dark { border-color: rgba(23,23,26,.4); color: var(--charcoal); }
.btn-outline-dark:hover { background: var(--charcoal); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: .7em 1.3em; font-size: .74rem; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ═══════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  height: var(--header-h);
  display: flex; align-items: center;
  background: linear-gradient(to bottom, rgba(0,0,0,.78) 0%, rgba(0,0,0,.4) 65%, transparent 100%);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease), border-color .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(9,9,10,.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 24px rgba(0,0,0,.4);
  border-bottom-color: rgba(201,164,76,.25);
  height: 68px;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(.75rem, 2vw, 1.75rem); width: 100%;
  max-width: 1560px;
}

.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand-badge {
  background: #fff; border-radius: 10px; padding: 5px 9px;
  box-shadow: var(--shadow-sm); line-height: 0;
  transition: transform .3s var(--ease);
}
.site-header.is-scrolled .brand-badge { padding: 4px 8px; }
.brand-badge img { height: 40px; width: auto; display: block; }
.site-header.is-scrolled .brand-badge img { height: 34px; }

.main-nav { display: none; min-width: 0; }
.main-nav ul { display: flex; align-items: center; flex-wrap: nowrap; gap: clamp(.85rem, 1.35vw, 1.5rem); }
.main-nav li { flex-shrink: 0; }
.main-nav a {
  font-size: clamp(.68rem, .95vw, .76rem); font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; position: relative; padding: .4rem 0; white-space: nowrap; display: inline-block;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold);
  transition: width .3s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.header-phone { display: none; align-items: center; gap: .55rem; color: #fff; font-size: .8rem; font-weight: 500; white-space: nowrap; }
.header-phone__icon {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: #1a1a1a; font-size: .75rem;
}

.nav-toggle {
  width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  flex-shrink: 0;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; transition: all .3s var(--ease); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 490;
  background: rgba(8,8,9,.98);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav ul { text-align: center; display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-nav a { font-family: var(--font-head); font-size: 1.5rem; color: #fff; }
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .btn { margin-top: 1rem; }

@media (min-width: 992px) {
  .main-nav { display: block; }
  .nav-toggle, .mobile-nav { display: none; }
}
@media (min-width: 1240px) {
  .header-phone { display: flex; }
}

/* ═══════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; height: 100svh; min-height: 560px; overflow: hidden;
  display: flex; align-items: flex-end;
  color: #fff;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.4s ease-in-out;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(3,3,4,.96) 0%, rgba(3,3,4,.55) 40%, rgba(3,3,4,.18) 62%, rgba(3,3,4,.5) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(0,0,0,.35), transparent 40%);
}
.hero-content {
  position: relative; z-index: 2; width: 100%;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 8vh, 4rem));
  padding-bottom: clamp(1.5rem, 6vh, 4rem);
  max-height: 100%; overflow: hidden;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  color: var(--gold-2); font-size: .8rem; letter-spacing: .32em; text-transform: uppercase; margin-bottom: 1rem;
}
.hero-eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--gold); display: inline-block; }
.hero-title {
  font-weight: 800; font-size: clamp(2.5rem, 6.4vw, 4.9rem); letter-spacing: .03em; color: #fff;
  margin-bottom: .6rem; text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.35rem); color: #e9e5da; font-weight: 300; margin-bottom: 1.4rem; max-width: 640px; }
.hero-bullets { display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; margin-bottom: 1.6rem; }
.hero-bullets li { display: flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 500; letter-spacing: .02em; }
.hero-bullets i { color: var(--gold); font-size: .55rem; }

.hero-price-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
.hero-price-card {
  background: rgba(15,15,16,.6); border: 1px solid rgba(201,164,76,.35); backdrop-filter: blur(8px);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-sm); padding: .85rem 1.2rem .75rem; min-width: 220px;
}
.hero-price-card__label { display: block; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: #c9c5ba; margin-bottom: .2rem; }
.hero-price-card__value { font-size: 1rem; }
.hero-price-card__value strong { color: var(--gold-2); font-size: 1.2rem; font-family: var(--font-head); }

.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.7); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
}
.hero-scroll span { width: 1px; height: 30px; background: linear-gradient(to bottom, rgba(255,255,255,.8), transparent); animation: scrollDown 1.8s infinite; }
@keyframes scrollDown { 0% { transform: scaleY(0); transform-origin: top; opacity: 1;} 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; } }
@media (max-width: 640px) { .hero-scroll { display: none; } }

/* Short / landscape viewports — hero content is otherwise taller than the screen,
   pushing it up under the fixed header. Tighten everything to fit. */
@media (max-height: 700px) {
  .hero-content { padding-top: calc(var(--header-h) + .75rem); padding-bottom: .9rem; }
  .hero-eyebrow { margin-bottom: .4rem; font-size: .7rem; }
  .hero-title { font-size: clamp(1.7rem, 5.5vh, 3rem); margin-bottom: .3rem; }
  .hero-sub { font-size: .92rem; margin-bottom: .6rem; }
  .hero-bullets { margin-bottom: .6rem; gap: .3rem 1.2rem; }
  .hero-price-row { margin-bottom: .7rem; gap: .5rem; }
  .hero-price-card { padding: .5rem .9rem; min-width: 0; }
  .hero-price-card__value strong { font-size: 1rem; }
  .hero-scroll { display: none; }
}

.hero-dots { position: absolute; right: clamp(1rem,4vw,2.5rem); bottom: 2rem; z-index: 2; display: flex; flex-direction: column; gap: .5rem; }
.hero-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); transition: all .3s; }
.hero-dots button.is-active { background: var(--gold); height: 22px; border-radius: 5px; }

/* ═══════════════════════════════════════════════════════════════════════
   TRUST STRIP
   ═══════════════════════════════════════════════════════════════════════ */
.trust-strip { background: var(--gold); padding: .9rem 0; }
.trust-strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.4rem; }
.trust-strip li { display: flex; align-items: center; gap: .55rem; color: #221a08; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* ═══════════════════════════════════════════════════════════════════════
   SPLIT / ABOUT / HIGHLIGHTS
   ═══════════════════════════════════════════════════════════════════════ */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.split--reverse .split-media { order: -1; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; transition: transform .8s var(--ease); }
.split-media:hover img { transform: scale(1.06); }
.split-media--wide img { aspect-ratio: 16/11; }
.split-body p { color: var(--ink-dim); margin-bottom: 1rem; }
.split-body p strong { color: var(--ink); }

.highlights-list { margin-top: 1.4rem; display: flex; flex-direction: column; }
.highlights-list li {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.highlights-list li:first-child { padding-top: 0; }
.highlights-list li:last-child { border-bottom: none; }
.highlights-list .ic {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,164,76,.12); color: var(--gold); font-size: 1rem;
}
.highlights-list span { color: var(--ink-dim); font-size: .98rem; padding-top: .5rem; }

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
}

/* Full-bleed break image */
.breaker { position: relative; height: clamp(220px, 42vw, 460px); overflow: hidden; }
.breaker img { width: 100%; height: 100%; object-fit: cover; }
.breaker::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,0) 30%, rgba(0,0,0,.25)); }

/* ═══════════════════════════════════════════════════════════════════════
   AMENITIES
   ═══════════════════════════════════════════════════════════════════════ */
.amenities-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; margin-top: 1rem;
}
.amenity-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem 1.2rem; text-align: center;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.amenity-card:hover { transform: translateY(-6px); border-color: var(--gold); background: var(--surface-2); }
.amenity-card i { font-size: 1.7rem; color: var(--gold); margin-bottom: .9rem; display: block; }
.amenity-card h3 { font-family: var(--font-body); font-size: .88rem; font-weight: 600; color: var(--ink); letter-spacing: .01em; }

@media (min-width: 640px) { .amenities-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .amenities-grid { grid-template-columns: repeat(5, 1fr); } }

/* ═══════════════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════════════ */
.price-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-top: 1rem; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem; text-align: center; transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.price-card:hover, .price-card--featured { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-6px); }
.price-card__tag {
  align-self: center; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold); border-radius: 50px; padding: .3rem 1rem; margin-bottom: 1.1rem;
}
.price-card h3 { font-size: 1.7rem; margin-bottom: 1.3rem; }
.price-card__row { display: flex; justify-content: space-between; padding: .65rem 0; border-bottom: 1px dashed var(--line); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-mute); }
.price-card__row strong { color: var(--ink); font-size: .92rem; text-transform: none; letter-spacing: 0; font-family: var(--font-head); }
.price-card .btn { margin-top: 1.5rem; }

@media (min-width: 700px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }

/* ═══════════════════════════════════════════════════════════════════════
   FLOOR PLANS
   ═══════════════════════════════════════════════════════════════════════ */
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 1rem; }
.plan-card {
  background: #fff; border: 1px solid rgba(23,23,26,.08); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan-card__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.plan-card__img img { width: 100%; height: 100%; object-fit: cover; filter: blur(3px) brightness(.85); transform: scale(1.08); }
.plan-card__img::after { content: '\f023'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; }
.plan-card__body { padding: 1.1rem 1rem 1.3rem; text-align: center; }
.plan-card__body h4 { color: var(--charcoal); font-size: 1.15rem; margin-bottom: .8rem; }
.plan-note { text-align: center; color: var(--ink-mute); font-size: .8rem; margin-top: 1.6rem; }

@media (min-width: 700px) { .plan-grid { grid-template-columns: repeat(4, 1fr); } }

/* ═══════════════════════════════════════════════════════════════════════
   LOCATION
   ═══════════════════════════════════════════════════════════════════════ */
.location-wrap { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 1rem; align-items: stretch; }
.location-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.location-map img { width: 100%; height: 100%; object-fit: cover; }
.location-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; display: flex; flex-direction: column; }
.location-list li { display: flex; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line-soft); }
.location-list li:last-child { border-bottom: none; }
.location-list i { color: var(--gold); width: 22px; text-align: center; flex-shrink: 0; }
.location-list p { color: var(--ink-dim); font-size: .92rem; }
.location-list .btn { margin-top: 1.4rem; align-self: flex-start; }

@media (min-width: 900px) { .location-wrap { grid-template-columns: 1.2fr 1fr; } }

/* ═══════════════════════════════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════════════════════════════ */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: 1rem; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 1/1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent 55%); opacity: 0; transition: opacity .3s; }
.gallery-item:hover::after { opacity: 1; }
.gallery-item span {
  position: absolute; left: .9rem; bottom: .8rem; color: #fff; font-size: .8rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; opacity: 0; transform: translateY(6px);
  transition: all .3s var(--ease);
}
.gallery-item:hover span { opacity: 1; transform: translateY(0); }

@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; } }

.lightbox {
  position: fixed; inset: 0; z-index: 800; background: rgba(4,4,5,.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 84vh; object-fit: contain; border-radius: 6px; box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; color: #fff; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1);
  transition: background .2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.22); }
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ═══════════════════════════════════════════════════════════════════════
   ABOUT DEVELOPER
   ═══════════════════════════════════════════════════════════════════════ */
.developer p { color: var(--ink-dim); margin-bottom: 1rem; }
.developer { text-align: center; max-width: 820px; margin-inline: auto; }

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════ */
.site-footer { background: var(--cream); color: var(--charcoal); padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(6rem, 4vw, 2rem); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-brand img { height: 46px; margin-bottom: 1rem; }
.footer-rera p { font-size: .82rem; margin-bottom: .35rem; color: #4a463d; }
.footer-rera a { color: var(--gold-deep); text-decoration: underline; }
.footer-links { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.footer-links a { font-size: .85rem; color: #4a463d; text-decoration: underline; }
.footer-disclaimer { font-size: .74rem; line-height: 1.7; color: #7a766c; margin-top: 1.6rem; }
.footer-bottom { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(23,23,26,.12); font-size: .78rem; color: #6b675e; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; }

@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-links { align-items: flex-end; }
}

/* ═══════════════════════════════════════════════════════════════════════
   STICKY QUICK-ENQUIRY PANEL (desktop, repeat mode)
   ═══════════════════════════════════════════════════════════════════════ */
.quick-form {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 400; width: 300px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.4rem; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  display: none;
}
.quick-form.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.quick-form__close {
  position: absolute; top: -12px; right: -12px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: #1a1a1a; display: flex; align-items: center; justify-content: center; font-size: .9rem;
}
.quick-form h4 { font-size: 1rem; margin-bottom: .3rem; color: var(--ink); }
.quick-form .sub { font-size: .76rem; color: var(--ink-mute); margin-bottom: 1rem; }
.quick-launch {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 400;
  width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: #1a1a1a;
  display: none; align-items: center; justify-content: center; font-size: 1.2rem;
  box-shadow: var(--shadow-md);
}
.quick-launch.is-visible { display: flex; }

@media (min-width: 992px) {
  .quick-form { display: block; }
}

/* ═══════════════════════════════════════════════════════════════════════
   FORM ELEMENTS (shared: quick-form + modal)
   ═══════════════════════════════════════════════════════════════════════ */
.field { margin-bottom: .7rem; }
.field input, .field select {
  width: 100%; padding: .75rem .9rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--ink);
  font-size: .88rem; transition: border-color .2s;
}
.field input::placeholder { color: var(--ink-mute); }
.field input:focus, .field select:focus { border-color: var(--gold); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a44c' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; }
.field select option { background: var(--surface); color: var(--ink); }
.form-status { font-size: .8rem; font-weight: 600; min-height: 1.1rem; margin-bottom: .4rem; }
.form-status.ok { color: #6fce8f; }
.form-status.err { color: #f28b82; }
.form-consent { font-size: .68rem; line-height: 1.6; color: var(--ink-mute); margin-top: .7rem; }

/* Light-theme forms (used nowhere by default, kept for modal-on-light contexts) */
.field--light input, .field--light select { background: #fff; color: #1a1a1a; border-color: rgba(23,23,26,.15); }

/* ═══════════════════════════════════════════════════════════════════════
   ENQUIRY MODAL
   ═══════════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 700; background: rgba(4,4,5,.82); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 1.2rem;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal-panel {
  width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.2rem 1.9rem 1.8rem; position: relative;
  transform: translateY(18px) scale(.98); transition: transform .35s var(--ease);
  max-height: 92vh; overflow-y: auto;
}
.modal-overlay.is-open .modal-panel { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: .9rem; right: .9rem; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: #1a1a1a; display: flex; align-items: center; justify-content: center; font-size: 1rem;
  box-shadow: var(--shadow-sm); z-index: 1;
}
.modal-panel h3 { font-size: 1.3rem; margin-bottom: .3rem; padding-right: 2rem; }
.modal-panel .sub { font-size: .8rem; color: var(--ink-mute); margin-bottom: 1.2rem; }

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE STICKY CTA BAR
   ═══════════════════════════════════════════════════════════════════════ */
.mobile-cta-bar {
  position: fixed; left: .6rem; right: .6rem; bottom: .6rem; z-index: 400;
  display: flex; gap: .5rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .5rem; box-shadow: var(--shadow-lg);
}
.mobile-cta-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: .2rem;
  font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
  color: var(--ink); padding: .5rem 0; border-radius: var(--radius-sm);
}
.mobile-cta-bar a i { font-size: 1.05rem; }
.mobile-cta-bar a.whatsapp { background: var(--whatsapp); color: #fff; }
.mobile-cta-bar a.call { background: var(--gold); color: #1a1a1a; }

@media (min-width: 992px) { .mobile-cta-bar { display: none; } }

/* ═══════════════════════════════════════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════════════════════════════════════ */
.back-top {
  position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 390;
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08);
  border: 1px solid var(--line); color: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s, background .2s;
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--gold); color: #1a1a1a; }
@media (max-width: 991.9px) { .back-top { bottom: 5rem; } }

/* ═══════════════════════════════════════════════════════════════════════
   REVEAL ANIMATION
   ═══════════════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: .1s; }
.reveal-delay-2.is-visible { transition-delay: .2s; }
.reveal-delay-3.is-visible { transition-delay: .3s; }

/* ═══════════════════════════════════════════════════════════════════════
   TOAST (lead confirmation)
   ═══════════════════════════════════════════════════════════════════════ */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%) translateY(140%);
  background: var(--charcoal); color: #fff; border: 1px solid var(--gold); border-radius: 50px;
  padding: .8rem 1.6rem; font-size: .82rem; z-index: 900; max-width: calc(100% - 2rem); text-align: center;
  transition: transform .4s var(--ease);
}
.toast.is-visible { transform: translateX(-50%) translateY(0); }

/* ═══════════════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.mt-lg { margin-top: clamp(2.5rem, 6vw, 4rem); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
