/* ===========================================================
   LUXE URBAN RESIDENCES — Premium Real Estate Landing Page
   =========================================================== */

:root {
  --black: #0b0b0b;
  --black-soft: #141414;
  --gold: #d4af37;
  --gold-light: #e8cf7a;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-mid: #8a8a8a;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Manrope', sans-serif;
  --container-width: 1180px;
  --transition-fast: 0.25s ease;
  --transition-slow: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

.container-narrow { max-width: 820px; }

/* ===================== LOADER ===================== */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-mark {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 0.3em;
  color: var(--white);
  animation: pulseGold 1.4s ease-in-out infinite;
}

.loader-mark span { color: var(--gold); }

@keyframes pulseGold {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.section-lead {
  max-width: 640px;
  color: #555;
  font-size: 1.05rem;
  margin-bottom: 48px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-block;
  padding: 16px 38px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.35);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.contact .btn-outline, .btn-outline.btn-small {
  border-color: var(--black);
  color: var(--black);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.contact .btn-outline:hover, .btn-outline.btn-small:hover {
  background: var(--black);
  color: var(--white);
}

.btn-large { width: 100%; padding: 18px; font-size: 0.95rem; }

.btn-small { padding: 10px 24px; font-size: 0.75rem; }

/* ===================== HEADER / NAV ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition-fast), box-shadow var(--transition-fast), padding var(--transition-fast);
  padding: 26px 0;
}

.site-header.scrolled {
  background: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  padding: 14px 0;
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.03em;
  font-weight: 600;
}

.logo span { color: var(--gold); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-menu a {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-menu a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition-fast);
}

.nav-menu a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--gold);
  color: var(--black) !important;
  padding: 10px 24px;
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-fast);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,0.55) 0%, rgba(11,11,11,0.65) 50%, rgba(11,11,11,0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 820px;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  color: var(--gold-light);
  margin-bottom: 22px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--white);
  z-index: 1;
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 1.6s ease infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

.scroll-text {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ===================== FADE UP ANIMATION ===================== */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1);
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===================== TRUST SECTION ===================== */
.trust { padding: 130px 0 100px; text-align: center; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.trust-item {
  padding: 40px 24px;
  border: 1px solid #ececec;
  border-radius: 6px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.trust-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(11,11,11,0.08);
  border-color: var(--gold);
}

.trust-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 22px;
  color: var(--gold);
}

.trust-item h3 { font-size: 1.25rem; margin-bottom: 10px; }
.trust-item p { color: #666; font-size: 0.92rem; }

.counters {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 70px;
  border-top: 1px solid #ececec;
}

.counter-item { }

.counter, .counter-suffix {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--black);
  font-weight: 600;
}

.counter-suffix { color: var(--gold); }

.counter-item p {
  color: #777;
  margin-top: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ===================== PROCESS / TIMELINE ===================== */
.process {
  background: var(--black);
  color: var(--white);
  padding: 130px 0;
}

.process .section-title, .process .section-eyebrow { text-align: center; }
.process .section-title { margin-left: auto; margin-right: auto; }

.timeline {
  margin-top: 70px;
  position: relative;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 29px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(212,175,55,0.1));
}

.timeline-item {
  display: flex;
  gap: 34px;
  padding-bottom: 60px;
  position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  background: var(--black-soft);
  z-index: 1;
}

.timeline-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--white);
}

.timeline-content p { color: rgba(255,255,255,0.65); max-width: 520px; }

/* ===================== WHY CHOOSE / CARDS ===================== */
.why-choose { padding: 130px 0; text-align: center; }

.cards-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}

.benefit-card {
  background: var(--gray-light);
  padding: 44px 32px;
  border-radius: 8px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 50px rgba(11,11,11,0.12);
  background: var(--white);
}

.benefit-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: rgba(212, 175, 55, 0.35);
  margin-bottom: 10px;
}

.benefit-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.benefit-card p { color: #666; font-size: 0.93rem; }

/* ===================== TESTIMONIALS ===================== */
.testimonials {
  background: linear-gradient(160deg, #0b0b0b 0%, #1a1a1a 60%, #0b0b0b 100%);
  color: var(--white);
  padding: 130px 0;
  text-align: center;
}

.testimonials .section-lead { margin-left: auto; margin-right: auto; text-align: center; color: rgba(255,255,255,0.7); }

.testimonial-slider {
  position: relative;
  margin-top: 60px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-track {
  overflow: hidden;
  position: relative;
  min-height: 320px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  padding: 48px 44px;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  text-align: left;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--black);
  flex-shrink: 0;
}

.testimonial-name { font-weight: 700; font-size: 1.05rem; }

.testimonial-location {
  color: var(--gold-light);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.testimonial-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 16px; }

.testimonial-message {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  font-style: italic;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 2;
}

.slider-arrow:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

.slider-prev { left: -60px; }
.slider-next { right: -60px; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all var(--transition-fast);
}

.slider-dots button.active { background: var(--gold); width: 24px; border-radius: 4px; }

.testimonial-footnote {
  margin-top: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.testimonial-footnote p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  max-width: 560px;
}

.testimonials .btn-outline { border-color: rgba(255,255,255,0.4); color: var(--white); }
.testimonials .btn-outline:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* ===================== FAQ / ACCORDION ===================== */
.faq { padding: 130px 0; }

.faq .section-title, .faq .section-eyebrow { text-align: center; }

.accordion { margin-top: 60px; }

.accordion-item {
  border-bottom: 1px solid #e5e5e5;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 4px;
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-align: left;
  color: var(--black);
}

.accordion-icon {
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform var(--transition-fast);
}

.accordion-item.open .accordion-icon { transform: rotate(45deg); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-panel p { padding-bottom: 24px; color: #666; max-width: 640px; }

/* ===================== CONTACT ===================== */
.contact {
  background: var(--gray-light);
  padding: 130px 0;
}

.contact .section-title, .contact .section-eyebrow, .contact .section-lead { text-align: center; margin-left: auto; margin-right: auto; }

.contact-form {
  margin-top: 50px;
  background: var(--white);
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 30px 70px rgba(11,11,11,0.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  color: #444;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}

.hidden-field { position: absolute; left: -9999px; }

.form-status {
  margin-top: 20px;
  text-align: center;
  font-size: 0.95rem;
  min-height: 24px;
}

.form-status.success { color: #2f7d4f; }
.form-status.error { color: #b3341c; }
.form-status.loading { color: var(--gold); font-family: var(--font-display); font-size: 1.1rem; }

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.75);
  padding: 90px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p { margin: 18px 0 24px; max-width: 320px; color: rgba(255,255,255,0.55); }

.social-links { display: flex; gap: 12px; }

.social-placeholder {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: all var(--transition-fast);
}

.social-placeholder:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

.footer-links h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { transition: color var(--transition-fast); }
.footer-links ul li a:hover { color: var(--gold); }

.affiliate-disclosure {
  margin-top: 20px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ===================== FLOATING ELEMENTS ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
  z-index: 900;
  transition: transform var(--transition-fast);
}

.whatsapp-float svg { width: 30px; height: 30px; }

.whatsapp-float:hover { transform: scale(1.1); }

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 50px;
  height: 50px;
  background: var(--black);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--black); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .slider-prev { left: 0; }
  .slider-next { right: 0; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    transition: right var(--transition-fast);
  }

  .nav-menu.open { right: 0; }

  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .counters { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 640px) {
  .trust-grid, .cards-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 22px; }
  .slider-arrow { display: none; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
