/* ==============================================
   JACORAL REALTY — styles.css
   Luxury Marble & Gold Editorial Aesthetic
   ============================================== */

:root {
  --gold:      #C9A84C;
  --gold-lt:   #E5CA7A;
  --gold-dk:   #9E7A28;
  --black:     #080808;
  --dark:      #111;
  --dark2:     #1A1A1A;
  --dark3:     #222;
  --cream:     #F6F3ED;
  --cream2:    #EDE9DF;
  --white:     #FFF;
  --muted:     #888;
  --lt:        #CCC;
  --wa:        #25D366;

  --serif:     'Cormorant', Georgia, serif;
  --sans:      'Jost', sans-serif;
  --nav-h:     78px;
  --max:       1260px;
  --ease:      cubic-bezier(.4,0,.2,1);
  --r:         3px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--sans); cursor: pointer; border: none; background: none; }

/* ==============================================
   BUTTONS
   ============================================== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 32px; border-radius: var(--r);
  font-size: .85rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; transition: all .25s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn-gold {
  background: var(--gold); color: var(--black); border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-lt); border-color: var(--gold-lt);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,.35);
}
.btn-ghost {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
}
.btn-ghost:hover {
  border-color: var(--white); background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--dark);
  border: 2px solid var(--dark);
}
.btn-outline:hover {
  background: var(--dark); color: var(--white);
  transform: translateY(-2px);
}
.btn-wa-big {
  background: var(--wa); color: var(--white);
  border: 2px solid var(--wa); padding: 16px 36px;
  font-size: .95rem; flex-shrink: 0;
}
.btn-wa-big:hover {
  background: #1dba59; border-color: #1dba59;
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.4);
}

/* ==============================================
   NAVBAR
   ============================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.navbar.scrolled {
  background: rgba(8,8,8,.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 28px rgba(0,0,0,.45);
}

.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}

/* Logo — shown on dark navbar, no filter needed since we have transparent PNG */
.nav-logo img {
  height: 52px; width: auto;
  /* Drop shadow to make gold/black marks pop on any background */
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.5));
}

.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links li > a {
  font-size: .78rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.78);
  transition: color .2s;
}
.nav-links li > a:hover { color: var(--gold-lt); }

.nav-wa-btn {
  display: flex !important; align-items: center; gap: 7px;
  background: var(--gold) !important; color: var(--black) !important;
  padding: 9px 18px; border-radius: var(--r);
  font-size: .76rem !important; font-weight: 700 !important;
  letter-spacing: .08em !important; text-transform: uppercase;
  transition: background .2s !important;
}
.nav-wa-btn:hover { background: var(--gold-lt) !important; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 5px; z-index: 10;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-vid {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg,
    rgba(0,0,0,.80) 0%,
    rgba(0,0,0,.50) 55%,
    rgba(0,0,0,.68) 100%
  );
}

.hero-content {
  position: relative; z-index: 1;
  text-align: center; color: var(--white);
  max-width: 900px; margin: 0 auto;
  padding: calc(var(--nav-h) + 56px) 28px 96px;
}

.hero-kicker {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-lt); margin-bottom: 28px;
  animation: fadeUp .9s var(--ease) both;
}
.kicker-line { flex: 0 0 44px; height: 1px; background: var(--gold-lt); opacity: .45; }

.hero-content h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 6.5vw, 6rem);
  line-height: 1.05; margin-bottom: 26px;
  animation: fadeUp .9s .12s var(--ease) both;
}
.hero-content h1 em { font-style: italic; color: var(--gold-lt); font-weight: 400; }

.hero-sub {
  font-size: clamp(.95rem, 1.8vw, 1.15rem); font-weight: 300;
  opacity: .82; max-width: 560px; margin: 0 auto 44px;
  line-height: 1.8; animation: fadeUp .9s .22s var(--ease) both;
}

.hero-btns {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; margin-bottom: 60px;
  animation: fadeUp .9s .32s var(--ease) both;
}

.hero-stats {
  display: flex; align-items: center; justify-content: center;
  animation: fadeUp .9s .44s var(--ease) both;
}
.hstat { display: flex; flex-direction: column; align-items: center; padding: 0 40px; }
.hstat strong { font-family: var(--serif); font-size: 2.1rem; color: var(--gold-lt); line-height: 1; }
.hstat span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; opacity: .6; margin-top: 5px; }
.hstat-rule { width: 1px; height: 44px; background: rgba(255,255,255,.18); }

.scroll-down {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 1; color: rgba(255,255,255,.45);
  animation: bounce 2.4s ease-in-out infinite; transition: color .2s;
}
.scroll-down:hover { color: var(--gold-lt); }

/* ==============================================
   TICKER
   ============================================== */
.ticker {
  background: var(--dark); overflow: hidden; padding: 14px 0;
  border-top: 1px solid rgba(201,168,76,.1);
  border-bottom: 1px solid rgba(201,168,76,.1);
}
.ticker-inner {
  display: flex; gap: 36px; white-space: nowrap;
  animation: ticker 20s linear infinite;
}
.ticker-inner span {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.ticker-inner .dot { color: rgba(201,168,76,.4); }

/* ==============================================
   SECTION COMMONS
   ============================================== */
.section { padding: 96px 28px; }

.sec-head { text-align: center; margin-bottom: 60px; }
.kicker {
  display: inline-block; font-size: .68rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.kicker--light { color: var(--gold-lt); }

.sec-head h2, .why-text h2, .form-info h2, .final-cta-inner h2 {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.12; margin-bottom: 14px; color: var(--dark);
}
.h2-light { color: var(--white) !important; }
.sec-head h2 em, .h2-light em { font-style: italic; }
.sec-head h2 em { color: var(--gold-dk); }
.h2-light em { color: var(--gold-lt); }

.sec-sub { font-size: .98rem; color: var(--muted); max-width: 500px; margin: 0 auto; }

/* ==============================================
   PROPERTY LISTINGS
   ============================================== */
.listings-sec {
  max-width: var(--max); margin: 0 auto; padding: 96px 28px;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.prop-card {
  background: var(--white); border-radius: 4px; overflow: hidden;
  box-shadow: 0 2px 18px rgba(0,0,0,.08);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.prop-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 48px rgba(0,0,0,.16);
}

.prop-img { position: relative; height: 228px; overflow: hidden; }
.prop-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.prop-card:hover .prop-img img { transform: scale(1.07); }

.prop-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--dark); color: var(--white);
  padding: 4px 10px; font-size: .63rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; border-radius: 2px;
}
.prop-tag--rent { background: var(--gold-dk); }
.prop-tag--invest { background: #1a4a72; }

.prop-hover {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s var(--ease);
}
.prop-card:hover .prop-hover { opacity: 1; }
.prop-hover button {
  background: var(--gold); color: var(--black);
  padding: 10px 22px; font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; border-radius: var(--r);
  transition: background .2s;
}
.prop-hover button:hover { background: var(--gold-lt); }

.prop-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.prop-price {
  font-family: var(--serif); font-size: 1.55rem;
  font-weight: 500; color: var(--dark); line-height: 1;
}
.prop-price small { font-size: .95rem; font-weight: 300; color: var(--muted); }
.prop-body h3 { font-size: .98rem; font-weight: 600; line-height: 1.3; color: var(--dark); }
.prop-loc {
  display: flex; align-items: center; gap: 5px;
  font-size: .8rem; color: var(--muted);
}
.prop-loc svg { color: var(--gold); flex-shrink: 0; }
.prop-desc { font-size: .86rem; color: #555; line-height: 1.6; }
.prop-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.prop-tags span {
  background: var(--cream); border: 1px solid var(--cream2);
  padding: 3px 9px; font-size: .7rem; color: #555; border-radius: 2px;
}
.prop-btn {
  background: var(--dark); color: var(--white);
  padding: 10px; font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; border-radius: var(--r);
  width: 100%; transition: background .2s, color .2s;
}
.prop-btn:hover { background: var(--gold); color: var(--black); }

/* ==============================================
   WHY JACORAL
   ============================================== */
.why-section { background: var(--dark); padding: 96px 28px; }
.why-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.why-intro { color: var(--lt); margin-bottom: 30px; line-height: 1.8; }
.why-list { display: flex; flex-direction: column; gap: 13px; }
.why-list li {
  display: flex; align-items: flex-start; gap: 11px;
  color: rgba(255,255,255,.78); font-size: .93rem;
}
.chk { flex-shrink: 0; color: var(--gold); font-weight: 700; font-size: 1rem; margin-top: 1px; }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wcard {
  background: var(--dark2); border: 1px solid rgba(201,168,76,.12);
  border-radius: 4px; padding: 26px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center; transition: border-color .3s, transform .3s;
}
.wcard:hover { border-color: rgba(201,168,76,.4); transform: translateY(-4px); }
.wcard-icon { font-size: 1.7rem; margin-bottom: 4px; }
.wcard strong { font-family: var(--serif); font-size: 2.1rem; color: var(--gold-lt); line-height: 1; }
.wcard span { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* ==============================================
   FORM SECTION
   ============================================== */
.form-sec {
  background: linear-gradient(150deg, #0C1017 0%, #14192A 100%);
  padding: 96px 28px;
}
.form-wrap {
  max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.form-info-sub { color: var(--lt); margin-bottom: 32px; line-height: 1.8; }
.form-contacts { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.form-contacts a {
  display: flex; align-items: center; gap: 10px;
  color: var(--lt); font-size: .9rem; transition: color .2s;
}
.form-contacts a:hover { color: var(--gold-lt); }
.form-contacts svg { color: var(--gold); flex-shrink: 0; }

.trust-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-chips span {
  background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.2);
  color: var(--gold-lt); padding: 5px 12px; border-radius: 100px;
  font-size: .7rem; font-weight: 600; letter-spacing: .06em;
}

/* FORM CARD */
.form-card {
  background: var(--white); border-radius: 6px; padding: 36px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

.fg { display: flex; flex-direction: column; gap: 5px; margin-bottom: 18px; }
.fg label {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #444;
}
.fg input, .fg select {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid #DDD; border-radius: var(--r);
  font-family: var(--sans); font-size: .93rem; color: var(--dark);
  background: #FAFAFA; outline: none;
  transition: border-color .2s; appearance: none; -webkit-appearance: none;
}
.fg input:focus, .fg select:focus {
  border-color: var(--gold); background: var(--white);
}
.fg input.err, .fg select.err { border-color: #E53E3E; }

/* Interest toggle */
.int-group { display: flex; gap: 8px; }
.int-btn {
  flex: 1; padding: 10px 6px;
  border: 1.5px solid #DDD; border-radius: var(--r);
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: #666; background: #FAFAFA;
  transition: all .2s;
}
.int-btn:hover { border-color: var(--gold); color: var(--gold); }
.int-btn.active { background: var(--gold); border-color: var(--gold); color: var(--black); }

.submit-btn {
  width: 100%; padding: 15px; margin-top: 6px;
  background: var(--gold); color: var(--black); border-radius: var(--r);
  font-size: .95rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; display: flex; align-items: center;
  justify-content: center; gap: 10px;
  transition: background .2s, transform .2s;
}
.submit-btn:hover:not(:disabled) { background: var(--gold-lt); transform: translateY(-2px); }
.submit-btn:disabled { opacity: .7; cursor: not-allowed; }

.form-priv { font-size: .7rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* Success state */
.form-success { text-align: center; padding: 44px 20px; }
.success-circle {
  width: 66px; height: 66px; background: var(--wa); color: #fff;
  font-size: 1.9rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.form-success h3 {
  font-family: var(--serif); font-size: 1.8rem;
  margin-bottom: 10px; color: var(--dark);
}
.form-success p { color: var(--muted); line-height: 1.7; margin-bottom: 6px; }
.wa-redirect-note { color: var(--wa) !important; font-weight: 600; }

/* ==============================================
   WHATSAPP BAND
   ============================================== */
.wa-band { background: #060E06; padding: 72px 28px; }
.wa-band-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.wa-circle {
  width: 78px; height: 78px; background: var(--wa);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.wa-band-text { flex: 1; min-width: 250px; }
.wa-band-text h2 {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300; color: var(--white); margin-bottom: 8px;
}
.wa-band-text p { color: var(--lt); line-height: 1.7; }

/* ==============================================
   FINAL CTA
   ============================================== */
.final-cta { background: var(--cream); padding: 96px 28px; text-align: center; }
.final-cta-inner { max-width: 560px; margin: 0 auto; }
.final-cta-inner h2 { color: var(--dark); margin-bottom: 14px; }
.final-cta-inner h2 em { color: var(--gold-dk); font-style: italic; }
.final-cta-inner p { color: var(--muted); margin-bottom: 40px; font-size: 1.03rem; }
.final-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==============================================
   FOOTER
   ============================================== */
.footer { background: var(--black); padding: 72px 28px 0; }
.footer-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-brand img {
  height: 56px; width: auto; margin-bottom: 14px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.6));
}
.footer-brand p { color: var(--muted); font-size: .87rem; line-height: 1.7; margin-bottom: 22px; }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: all .2s;
}
.socials a:hover { border-color: var(--gold); color: var(--gold); }

.footer-col h4 {
  font-size: .68rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--white); margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a, .footer-col p, .footer-col a {
  font-size: .87rem; color: var(--muted); transition: color .2s;
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.footer-col ul a:hover, .footer-col a:hover { color: var(--gold-lt); }
.footer-col svg { color: var(--gold); flex-shrink: 0; }

.footer-bottom {
  max-width: var(--max); margin: 0 auto; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: .76rem; color: rgba(255,255,255,.2); }

/* ==============================================
   FLOATING WA
   ============================================== */
.wa-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 999;
  width: 58px; height: 58px; background: var(--wa); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform .2s;
  animation: pulseWa 3s ease-in-out infinite;
}
.wa-fab:hover { transform: scale(1.1); }

/* ==============================================
   UTILITIES
   ============================================== */
.hidden { display: none !important; }
.spin { animation: spin .7s linear infinite; }
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.d-none-sm { display: initial; }

/* ==============================================
   KEYFRAMES
   ============================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes pulseWa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50%       { box-shadow: 0 4px 36px rgba(37,211,102,.8); }
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 1024px) {
  .why-inner { grid-template-columns: 1fr; gap: 56px; }
  .form-wrap { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .d-none-sm { display: none; }

  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(8,8,8,.98); padding: 28px 28px 40px; gap: 22px;
    backdrop-filter: blur(16px); border-top: 1px solid rgba(255,255,255,.05);
  }
  .nav-links.open { display: flex; }
  .nav-links li > a { font-size: .95rem; }
  .nav-hamburger { display: flex; }

  .hero-stats { flex-direction: column; }
  .hstat-rule { display: none; }
  .listings-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .wa-band-inner { flex-direction: column; text-align: center; }
  .wa-circle { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { justify-content: center; }
  .why-grid { grid-template-columns: 1fr; }
  .final-btns { flex-direction: column; align-items: center; }
  .int-group { flex-direction: column; }
}
