@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ==================== DESIGN TOKENS ==================== */
:root {
  --bg:          #F4F8FF;
  --teal:        #1FB8D4;
  --orange:      #E8541A;
  --navy:        #0A1628;
  --white:       #ffffff;
  --teal-10:     rgba(31, 184, 212, 0.10);
  --teal-20:     rgba(31, 184, 212, 0.20);
  --teal-dark:   #19a3bc;
  --orange-dark: #d14916;
  --orange-10:   rgba(232, 84, 26, 0.10);
  --navy-60:     rgba(10, 22, 40, 0.60);
  --navy-40:     rgba(10, 22, 40, 0.40);
  --navy-10:     rgba(10, 22, 40, 0.08);

  --font-display: 'Urbanist', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration:    280ms;

  --shadow-sm:  0 2px 8px rgba(10,22,40,0.06);
  --shadow:     0 4px 24px rgba(10,22,40,0.08);
  --shadow-lg:  0 12px 48px rgba(10,22,40,0.13);
  --shadow-xl:  0 24px 80px rgba(10,22,40,0.18);

  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-pill: 100px;
  --container:   1200px;
}

/* ==================== RESET ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
  
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-body);  border: none; background: none; }
ul { list-style: none; }

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.8rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; }
p { font-size: 1rem; line-height: 1.75; color: var(--navy-60); }

/* ==================== LAYOUT ==================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  
  border: none;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--duration) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--teal);
  color: white;
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(31,184,212,0.38);
}
.btn-orange {
  background: var(--orange);
  color: white;
}
.btn-orange:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,84,26,0.38);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(10,22,40,0.18);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-10);
}
.btn-outline-white {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}
.btn-ghost {
  background: transparent;
  color: var(--teal);
  padding: 0;
  font-size: 0.9rem;
}
.btn-ghost:hover { gap: 14px; }

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 1080px;
  transition: top var(--duration) var(--ease);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 12px 16px;
  background: rgba(244,248,255,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(31,184,212,0.14);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
  transition: all var(--duration) var(--ease);
}
.navbar.scrolled .nav-inner {
  padding: 10px 18px 10px 14px;
  box-shadow: var(--shadow-lg);
  background: rgba(244,248,255,0.96);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img {
  height: 38px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.nav-logo-text small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--teal);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  transition: all var(--duration) var(--ease);
}
.nav-links a:hover { background: var(--teal-10); color: var(--teal); }
.nav-links a.active {
  background: var(--teal-10);
  color: var(--teal);
  font-weight: 600;
}
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-hamburger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--duration) var(--ease); }

/* ==================== PROPERTY CARD ==================== */
.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 350ms var(--ease);
  
  position: relative;
  border: 1px solid rgba(10,22,40,0.04);
}
.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.property-card:hover .card-img img { transform: scale(1.06); }

.card-img {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: linear-gradient(135deg, #e0e8f5, #c8d8ee);
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 450ms var(--ease);
}
.card-ribbon {
  position: absolute;
  top: 16px; left: 0;
  background: var(--orange);
  color: white;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 16px 5px 12px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card-builder-badge {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(10,22,40,0.78);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.9);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}
.card-body { padding: 20px 22px 22px; }
.card-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2px;
}
.card-price sup {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  vertical-align: top;
  line-height: 2;
}
.card-price-label {
  font-size: 0.78rem;
  color: var(--navy-40);
  font-weight: 500;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 8px 0 6px;
  line-height: 1.3;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--navy-40);
  margin-bottom: 16px;
}
.card-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-meta-item svg { width: 13px; height: 13px; opacity: 0.6; }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(10,22,40,0.06);
}
.card-location {
  font-size: 0.78rem;
  color: var(--navy-40);
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-location svg { width: 12px; height: 12px; }
.card-cta {
  width: 34px; height: 34px;
  background: var(--teal-10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: all var(--duration) var(--ease-spring);
}
.card-cta svg { width: 14px; height: 14px; transition: transform var(--duration) var(--ease); }
.property-card:hover .card-cta {
  background: var(--teal);
  color: white;
}
.property-card:hover .card-cta svg { transform: rotate(-45deg); }

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 998;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  
  transition: all var(--duration) var(--ease);
  animation: wa-pulse 2.8s ease infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 10px 36px rgba(37,211,102,0.55);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 24px rgba(37,211,102,0.45); }
  50%      { box-shadow: 0 4px 24px rgba(37,211,102,0.45), 0 0 0 10px rgba(37,211,102,0.12); }
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 90px 0 36px;
  position: relative;
  clip-path: polygon(0 48px, 100% 0, 100% 100%, 0 100%);
  margin-top: -48px;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(31,184,212,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 36px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
}
.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.footer-logo-text small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--teal);
  text-transform: uppercase;
}
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 280px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration) var(--ease);
  
}
.footer-social-btn:hover { background: var(--teal); transform: translateY(-2px); }
.footer-social-btn svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.65); }
.footer-social-btn:hover svg { fill: white; }

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.50);
  transition: color var(--duration) var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '›';
  font-size: 1rem;
  color: var(--teal);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-links a:hover::before { opacity: 1; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.50);
}
.footer-contact-item:last-child { margin-bottom: 0; }
.footer-contact-icon {
  width: 32px; height: 32px;
  background: rgba(31,184,212,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-contact-icon svg { width: 14px; height: 14px; fill: var(--teal); }
.footer-contact-item a { color: rgba(255,255,255,0.50); transition: color var(--duration) var(--ease); }
.footer-contact-item a:hover { color: var(--teal); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
}
.footer-bottom a { color: var(--teal); }

/* ==================== SCROLL REVEAL ==================== */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }

/* ==================== PAGE HERO BAND ==================== */
.page-hero-band {
  padding: 160px 0 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.page-hero-band::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(31,184,212,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-band h1 span { color: var(--teal); }
.page-hero-band p { max-width: 520px; margin-top: 16px; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .navbar { top: 12px; width: calc(100% - 28px); }
}