/* ===================================================
   NUSANTARA CITY — Qiddiya-inspired Landing Page CSS
   =================================================== */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #FFFFFF;
  --gold-lt: #E0E0E0;
  --dark: #000000;
  --dark-2: #111111;
  --dark-3: #000000;
  --mid: #242424;
  --border: rgba(255, 255, 255, 0.1);
  --white: #FFFFFF;
  --gray: #A0A0A0;
  --font-body: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- TYPOGRAPHY HELPERS ---------- */
.text-gold {
  color: var(--gold);
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--white);
  color: #000;
}

.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* ---------- LINK ARROW ---------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  transition: gap 0.25s;
}

.link-arrow span {
  transition: transform 0.25s;
}

.link-arrow:hover {
  gap: 10px;
}

.link-arrow:hover span {
  transform: translateX(4px);
}

/* ---------- HERO LOAD ANIMATION ---------- */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-reveal {
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease-out) forwards;
  animation-delay: calc(0.2s + var(--hi, 0) * 0.18s);
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[style*="--delay"] {
  transition-delay: var(--delay, 0s);
}

/* ===================================================
   NAVBAR
   =================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
  padding: 14px 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  color: var(--gold);
  font-size: 20px;
}

.logo-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
}

.logo-accent {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: 20px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  border-radius: 2px;
  transition: background 0.25s, color 0.25s;
}

.nav-cta:hover {
  background: var(--white);
  color: #000;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  text-align: center;
}

.mobile-menu li {
  margin-bottom: 28px;
}

.mobile-menu a {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--gold);
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  /* Fallback background kalau video belum load */
  background: #0a0a0a;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.55) 50%,
      rgba(0, 0, 0, 0.45) 100%);
}

.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--dark) 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  animation: scrollBob 2s ease-in-out infinite;
}

@keyframes scrollBob {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.5;
  }

  50% {
    transform: scaleY(1.3);
    opacity: 1;
  }
}

/* ===================================================
   TAGLINE / ABOUT SECTION
   =================================================== */
.tagline-section {
  padding: 120px 0;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
}

.tagline-inner {
  max-width: 720px;
}

.tagline-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 28px;
}

.tagline-body {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 36px;
}

.tagline-body strong {
  color: var(--white);
}

/* ===================================================
   GALLERY MODAL SECTION
   =================================================== */
@keyframes galleryFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes gallerySwipeUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes gallerySwipeDown {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(100%);
  }
}

.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 2000;
  align-items: flex-end;
  justify-content: center;
}

.gallery-modal.open {
  display: flex;
  animation: galleryFadeIn 0.3s ease both;
}

.gallery-modal.open .gallery-modal-inner {
  animation: gallerySwipeUp 0.45s var(--ease-out) both;
}

.gallery-modal.closing .gallery-modal-inner {
  animation: gallerySwipeDown 0.35s var(--ease-out) both;
}

.gallery-modal-inner {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}

.gallery-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.gallery-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gallery-carousel {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.gallery-carousel.dragging {
  cursor: grabbing;
}

.gallery-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-out), opacity 0.55s ease;
  pointer-events: none;
  will-change: transform, opacity;
}

.gallery-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out), filter 0.6s ease;
  filter: saturate(0.96) brightness(0.94);
}

.gallery-slide.active img {
  transform: scale(1.07);
  filter: saturate(1) brightness(1);
}

.gallery-carousel.dragging .gallery-slide img {
  transition: none;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 40px 28px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.gallery-prev {
  left: 24px;
}

.gallery-next {
  right: 24px;
}

.gallery-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
}

.gallery-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ===================================================
   STATS SECTION
   =================================================== */
.stats-section {
  padding: 80px 0;
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 48px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: inline-block;
}

.stat-unit {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 700;
  color: var(--gold);
  vertical-align: super;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.06em;
  margin-top: 10px;
  text-transform: uppercase;
}

/* ===================================================
   PILLARS SECTION
   =================================================== */
.pillars-section {
  padding: 120px 0;
  background: var(--dark);
}

.section-header {
  margin-bottom: 64px;
}

.pillars-grid {
  display: flex;
  gap: 6px;
  height: 580px;
  align-items: stretch;
}

.pillar-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
  transition: flex 0.7s var(--ease-out);
}

/* Saat hover grid: semua card mengecil kecuali yang di-hover */
.pillars-grid:hover .pillar-card {
  flex: 0.55;
}

.pillars-grid:hover .pillar-card:hover {
  flex: 3;
}

.pillar-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease-out);
}

.pillar-card:hover .pillar-img {
  transform: scale(1.06);
}

/* Gradient lebih gelap pada card sempit */
.pillars-grid:hover .pillar-card:not(:hover) .pillar-overlay {
  background: rgba(0, 0, 0, 0.55);
}

.pillar-img-1 {
  background-image: url('https://image2url.com/r2/default/images/1775181506495-1afbbf71-153e-493f-83ae-34e5d0614de1.jpeg');
}

.pillar-img-2 {
  background-image: url('https://image2url.com/r2/default/images/1775181651882-c252dd8c-ef2b-49ff-8d8c-989ee333fded.jpeg');
}

.pillar-img-3 {
  background-image: url('https://image2url.com/r2/default/images/1775176785797-ade18ce5-4f22-4006-8c11-862c230f7b87.jpeg');
}

.pillar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.1) 100%);
  transition: background 0.4s;
}

.pillar-card:hover .pillar-overlay {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.55) 60%,
      rgba(0, 0, 0, 0.2) 100%);
}

.pillar-content {
  position: relative;
  z-index: 2;
  padding: 32px 28px;
  white-space: nowrap;
  overflow: hidden;
}

/* Deskripsi & link hidden saat card sempit */
.pillar-content p,
.pillar-content .pillar-link {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  transition: opacity 0.35s var(--ease-out), max-height 0.45s var(--ease-out);
  white-space: normal;
}

.pillar-icon {
  font-size: 22px;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}

.pillar-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--white);
}

.pillar-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 20px;
}

.pillar-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s;
}

.pillar-link:hover {
  gap: 10px;
}

/* ===================================================
   CITY SECTION (FLAGSHIP)
   =================================================== */
.city-section {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
}

.city-bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1493246507139-91e8fad9978e?w=1920&q=80&auto=format&fit=crop') center / cover no-repeat;
  transform: scale(1.02);
}

.city-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.75) 50%,
      rgba(0, 0, 0, 0.45) 100%);
}

.city-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.city-body {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin: 24px 0 40px;
}

.city-stats-mini {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.mini-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.mini-stat span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

/* ===================================================
   INVESTMENT SECTION
   =================================================== */
.invest-section {
  padding: 120px 0;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
}

.invest-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.invest-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-top: 24px;
}

.invest-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.invest-card {
  padding: 28px 24px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.3s, transform 0.3s;
}

.invest-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-4px);
}

.invest-number {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 14px;
}

.invest-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.4;
}

.invest-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

/* ===================================================
   CTA SECTION
   =================================================== */
.cta-section {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&q=80&auto=format&fit=crop') center / cover no-repeat;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-content>p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 44px;
  line-height: 1.7;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.cta-form input {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  color: var(--white);
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color 0.25s, background 0.25s;
  outline: none;
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.cta-form input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.09);
}

.cta-form .btn {
  width: 100%;
  justify-content: center;
}

.form-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.form-note a {
  color: var(--gold);
  text-decoration: underline;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  margin-top: 20px;
  max-width: 280px;
}

.footer-brand .nav-logo {
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--gray);
  letter-spacing: 0.04em;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.footer-social a:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--white);
}

/* ===================================================
   TOAST
   =================================================== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--white);
  color: #000;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 4px;
  z-index: 9999;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3) {
    border-right: 1px solid var(--border);
    border-top: 1px solid var(--border);
  }

  .stat-item:nth-child(4) {
    border-top: 1px solid var(--border);
    border-right: none;
  }

  .pillars-grid {
    flex-direction: column;
    height: auto;
    gap: 6px;
  }

  .pillar-card {
    flex: none !important;
    min-height: 280px;
  }

  .pillar-card:nth-child(2) {
    min-height: 380px;
  }

  .pillar-content p,
  .pillar-content .pillar-link {
    opacity: 1 !important;
    max-height: 160px !important;
    margin-bottom: 12px !important;
  }

  .invest-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-desc br {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }

  .tagline-section {
    padding: 80px 0;
  }

  .pillars-section {
    padding: 80px 0;
  }

  .city-section {
    padding: 100px 0;
  }

  .invest-section {
    padding: 80px 0;
  }

  .cta-section {
    padding: 100px 0;
  }

  .invest-cards {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .city-stats-mini {
    gap: 24px;
    flex-direction: column;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.2rem;
  }
}

/* ---------- CONTACT FAB ---------- */
.contact-fab {
  position: fixed;
  bottom: 80px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 12px;
}

.contact-fab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #1a2c4e;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.contact-fab-btn:hover {
  background: #243d6a;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.fab-icon-headset {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.fab-label {
  white-space: nowrap;
}

/* Popup card */
.contact-popup {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 240px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  transform: translateY(12px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  transform-origin: bottom right;
}

.contact-popup.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(-4px) scale(1);
}

.contact-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #1a2c4e;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: #fff;
}

.contact-popup-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 2px 4px;
  transition: color 0.2s;
}

.contact-popup-close:hover {
  color: #fff;
}

.contact-popup-body {
  padding: 10px 0;
}

.contact-popup-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.contact-popup-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.contact-popup-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.8;
}

@media (max-width: 480px) {
  .contact-fab {
    bottom: 8px;
    right: 12px;
  }

  .contact-popup {
    width: 210px;
  }
}