/* =========================================================
   FIM NEGOCIOS INMOBILIARIOS — Design System
   Premium / Organic / Editorial real-estate identity
   ========================================================= */

:root {
  --navy: #042a5b;
  --navy-deep: #021a3b;
  --navy-deeper: #01102a;
  --sand: #efd8b6;
  --sand-soft: #f6e9d3;
  --stone: #86847f;
  --ivory: #faf7f1;
  --white: #ffffff;
  --ink: #12213b;
  --ink-muted: #5b6478;

  --font-display: 'Cinzel', serif;
  --font-body: 'Josefin Sans', sans-serif;

  --container: 1280px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-soft: 0 20px 50px -20px rgba(2, 26, 59, 0.25);
  --shadow-deep: 0 40px 80px -30px rgba(2, 16, 42, 0.55);
  --shadow-gold: 0 10px 30px -8px rgba(239, 216, 182, 0.45);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 250ms;
  --dur-med: 550ms;
  --dur-slow: 900ms;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

::selection { background: var(--navy); color: var(--sand); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 10px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(0.94); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--sand); }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.18;
  letter-spacing: 0.3px;
}
.section-title em {
  font-style: normal;
  position: relative;
  color: var(--sand);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 0.06em 0.4em 0.1em;
  border-radius: 10px;
  box-shadow: 0 16px 32px -14px rgba(4, 42, 91, 0.55);
  display: inline-block;
}
.section-lede { color: var(--ink-muted); font-size: 1.05rem; max-width: 560px; margin-top: 18px; }

.section-head { display: flex; flex-direction: column; margin-bottom: 64px; }
.section-head.center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }

section { position: relative; padding: 120px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2.1rem;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.btn-primary { background: var(--sand); color: var(--navy-deep); box-shadow: var(--shadow-gold); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(239, 216, 182, 0.6); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--sand); }
.btn-dark { background: var(--navy); color: var(--sand); }
.btn-dark:hover { background: var(--navy-deep); transform: translateY(-3px); box-shadow: var(--shadow-deep); }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 26px clamp(20px, 5vw, 64px);
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--dur-med) var(--ease-out), padding var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(4, 42, 91, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(239, 216, 182, 0.18);
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.4);
}
.logo-container { display: flex; align-items: center; gap: 14px; }
.logo-container > div { line-height: 1.2; white-space: nowrap; }
.logo-img {
  height: 74px; width: auto;
  filter: drop-shadow(0 0 10px rgba(239,216,182,0.65)) drop-shadow(0 0 22px rgba(239,216,182,0.35)) drop-shadow(0 4px 10px rgba(0,0,0,0.3));
  transition: transform var(--dur-fast);
}
.logo-container:hover .logo-img { transform: rotate(-3deg) scale(1.04); }
.logo-shine { position: relative; display: inline-block; line-height: 0; }
.logo-text { font-family: var(--font-display); font-size: 1.3rem; color: var(--sand); letter-spacing: 2px; font-weight: 600; display: block; line-height: 1.1; }
.logo-subtext { display: block; font-size: 0.6rem; color: rgba(255,255,255,0.7); letter-spacing: 2px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2.4rem; }
.nav-links a:not(.btn) {
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem; letter-spacing: 0.5px; text-transform: uppercase; font-weight: 500;
  position: relative; padding-bottom: 4px;
}
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--sand);
  transition: width var(--dur-fast) var(--ease-out);
}
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; z-index: 1100; }
.nav-toggle span { width: 26px; height: 2px; background: var(--sand); transition: var(--dur-fast); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  background: var(--navy-deeper);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.12);
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 100%, rgba(2, 16, 42, 0.15) 0%, rgba(2, 16, 42, 0.85) 68%, rgba(1, 16, 42, 0.98) 100%),
    linear-gradient(180deg, rgba(2, 16, 42, 0.55) 0%, rgba(2, 16, 42, 0.15) 32%, rgba(2, 16, 42, 0.55) 68%, rgba(1, 16, 42, 0.97) 100%);
}
.hero-grain {
  position: absolute; inset: 0; opacity: 0.06; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-content {
  position: relative; z-index: 2;
  padding: 200px clamp(20px, 5vw, 64px) 56px;
  display: flex; flex-direction: column; gap: 26px;
  max-width: var(--container); margin: 0 auto; width: 100%;
}
.hero-eyebrow {
  color: var(--sand); text-transform: uppercase; letter-spacing: 6px; font-size: 0.78rem; font-weight: 600;
  display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before { content: ''; width: 50px; height: 1px; background: var(--sand); }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
  color: var(--white); line-height: 1.1; font-weight: 600; letter-spacing: 0.5px;
  max-width: 100%;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span { display: inline-block; transform: translateY(115%); transition: transform 1.1s var(--ease-out); }
.hero.loaded .hero-title .line span { transform: translateY(0); }
.hero-title em { font-style: normal; color: var(--sand); }
.hero-sub { color: rgba(255,255,255,0.78); font-size: 1.15rem; max-width: 44ch; font-weight: 300; }

.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 6px; }
.hero-scroll { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.6); font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; }
.hero-scroll-line { width: 1px; height: 46px; background: linear-gradient(180deg, var(--sand), transparent); position: relative; overflow: hidden; }
.hero-scroll-line::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--sand); animation: scrollLine 2.2s var(--ease-in-out) infinite; }
@keyframes scrollLine { 0% { top: -100%; } 60%, 100% { top: 100%; } }

.hero-stats {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(239, 216, 182, 0.18);
  padding: 30px clamp(20px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--container); margin: 0 auto; width: 100%;
}
.hero-stats-3 { grid-template-columns: repeat(3, 1fr); max-width: 760px; }
.hero-stat { text-align: center; padding: 0 10px; border-right: 1px solid rgba(239, 216, 182, 0.12); }
.hero-stat:last-child { border-right: none; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--sand); }
.hero-stat span { font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.55); }

/* ---------- Marquee ---------- */
.marquee-strip {
  background: var(--navy); overflow: hidden; padding: 16px 0;
  border-top: 1px solid rgba(239,216,182,0.15); border-bottom: 1px solid rgba(239,216,182,0.15);
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); color: var(--sand); font-size: 1rem; letter-spacing: 3px;
  text-transform: uppercase; padding: 0 2.4rem; opacity: 0.85; white-space: nowrap;
  display: flex; align-items: center; gap: 2.4rem;
}
.marquee-track span::after { content: '\00b7'; color: var(--sand); font-size: 1.4rem; line-height: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   SEARCH / FILTER
   ========================================================= */
.search-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
  padding: 2.6rem clamp(1.4rem, 3vw, 2.8rem);
  margin: 56px auto 0;
  position: relative; z-index: 5;
  border: 1px solid rgba(239,216,182,0.5);
}
.search-tabs { display: flex; gap: 0.6rem; margin-bottom: 1.8rem; }
.tab-btn {
  padding: 0.6rem 1.4rem; border-radius: 100px; font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.5px; text-transform: uppercase; color: var(--ink-muted);
  border: 1px solid #e4ded1; transition: var(--dur-fast);
}
.tab-btn.active { background: var(--navy); color: var(--sand); border-color: var(--navy); }
.search-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4rem; align-items: end; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; text-align: left; min-width: 0; }
.form-group label { font-size: 0.72rem; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--navy); }
.form-control {
  padding: 0.9rem 1.1rem; border: 1px solid #e2ded4; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; background: var(--ivory); color: var(--ink);
  transition: var(--dur-fast);
}
.form-control:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(4,42,91,0.08); }
.btn-search {
  background: var(--navy); color: var(--sand); border-radius: var(--radius-sm); height: 52px;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; transition: var(--dur-fast);
}
.btn-search:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

/* =========================================================
   PROPERTIES — bento grid
   ========================================================= */
.properties-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.6rem;
}
.p-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  grid-column: span 3; min-height: 420px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--dur-med) var(--ease-out);
}
.p-card:hover { box-shadow: var(--shadow-deep); }
.p-card.p-large { grid-column: span 6; min-height: 560px; }
.p-card.p-small { grid-column: span 2; min-height: 380px; }
.p-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); transition: transform 1.1s var(--ease-out);
}
.p-card:hover img { transform: scale(1.14); }
.p-card::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(2,16,42,0.05) 0%, rgba(2,16,42,0.15) 45%, rgba(2,16,42,0.92) 100%);
}
.p-tag {
  position: absolute; top: 22px; left: 22px; z-index: 2;
  background: rgba(239,216,182,0.95); color: var(--navy-deep);
  padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.p-price {
  position: absolute; top: 22px; right: 22px; z-index: 2;
  background: rgba(2,16,42,0.55); backdrop-filter: blur(6px);
  color: var(--white); padding: 0.5rem 1.1rem; border-radius: 100px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid rgba(239,216,182,0.35);
}
.p-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.8rem 1.9rem; }
.p-title { font-family: var(--font-display); color: var(--white); font-size: 1.3rem; margin-bottom: 0.5rem; line-height: 1.25; }
.p-large .p-title { font-size: 1.7rem; }
.p-location { color: rgba(255,255,255,0.75); font-size: 0.85rem; display: flex; align-items: center; gap: 0.4rem; margin-bottom: 1rem; }
.p-features { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.p-feature { display: flex; align-items: center; gap: 0.4rem; color: var(--sand); font-size: 0.8rem; font-weight: 600; }
.p-arrow {
  position: absolute; z-index: 2; right: 1.9rem; bottom: 1.8rem;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(239,216,182,0.4); display: flex; align-items: center; justify-content: center;
  color: var(--sand); transform: rotate(-45deg); transition: var(--dur-fast);
}
.p-card:hover .p-arrow { background: var(--sand); color: var(--navy-deep); transform: rotate(0deg); }
.no-results { grid-column: 1 / -1; text-align: center; padding: 3rem; color: var(--ink-muted); }

/* =========================================================
   ABOUT — parallax + stats
   ========================================================= */
.about { background: var(--navy); color: var(--white); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.about-content .eyebrow { color: var(--sand); }
.about-content .eyebrow::before { background: var(--stone); }
.about-content h2 { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.8rem); color: var(--white); margin-bottom: 1.4rem; line-height: 1.28; }
.about-content h2 em { color: var(--sand); font-style: normal; }
.about-content p { color: rgba(255,255,255,0.72); margin-bottom: 1.3rem; font-size: 1.02rem; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.4rem; padding-top: 2.2rem; border-top: 1px solid rgba(239,216,182,0.18); }
.about-stats-2 { grid-template-columns: repeat(2, 1fr); max-width: 340px; }
.stat-number { font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: var(--sand); display: block; }
.stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 1.5px; }
.about-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-deep); aspect-ratio: 4/5; }
.about-visual img { width: 100%; height: 110%; object-fit: cover; transform: translateY(0); transition: transform 0.2s linear; will-change: transform; }
.about-visual::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(239,216,182,0.35); border-radius: var(--radius-lg); pointer-events: none; }
.about-visual-badge {
  position: absolute; bottom: 24px; left: 24px; right: 24px; z-index: 2;
  background: rgba(2,16,42,0.6); backdrop-filter: blur(10px);
  border: 1px solid rgba(239,216,182,0.3); border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem; display: flex; align-items: center; gap: 1rem;
}
.about-visual-badge i { color: var(--sand); font-size: 1.4rem; }
.about-visual-badge strong { display: block; color: var(--white); font-family: var(--font-display); font-size: 1rem; }
.about-visual-badge span { color: rgba(255,255,255,0.6); font-size: 0.78rem; }

.cert-seal {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 92px; height: 92px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--navy) 0%, var(--navy-deep) 75%);
  border: 1.5px solid rgba(239, 216, 182, 0.55);
  box-shadow: 0 12px 28px -10px rgba(2, 16, 42, 0.65);
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
}
.cert-seal img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 640px) {
  .cert-seal { width: 72px; height: 72px; top: 12px; right: 12px; padding: 9px; }
}

/* =========================================================
   PROCESS
   ========================================================= */
.process-carousel-wrap { position: relative; padding: 10px 0 8px; }
.process-carousel {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: none;
  padding-block: 30px 50px;
  padding-inline: max(16px, 38vw);
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.process-carousel::-webkit-scrollbar { display: none; }
.process-carousel.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.process-carousel:focus-visible { outline: 2px solid var(--sand); outline-offset: 6px; }

.process-card {
  position: relative;
  flex: 0 0 auto;
  width: min(240px, 66vw);
  padding: 2.4rem 1.8rem;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(239, 216, 182, 0.18);
  box-shadow: var(--shadow-deep);
  scroll-snap-align: center;
  transform: scale(0.86);
  opacity: 0.6;
  transition: box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.process-card + .process-card { margin-left: -34px; }
.process-card.is-active { box-shadow: 0 40px 70px -18px rgba(2, 16, 42, 0.7); border-color: rgba(239, 216, 182, 0.5); }
.process-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--sand); margin-bottom: 1rem; display: block; }
.process-card h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--white); margin-bottom: 0.7rem; }
.process-card p { color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; }

.process-carousel-wrap .carousel-btn { position: absolute; top: 45%; transform: translateY(-50%); z-index: 5; background: var(--navy); border: 1px solid rgba(239,216,182,0.35); color: var(--sand); }
.process-carousel-wrap .carousel-btn:hover { background: var(--sand); color: var(--navy-deep); }
.process-carousel-wrap .process-prev { left: 4px; }
.process-carousel-wrap .process-next { right: 4px; }

.process-dots { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 4px; }
.process-dot { width: 9px; height: 9px; border-radius: 50%; background: #e2dac7; border: none; padding: 0; cursor: pointer; transition: var(--dur-fast) var(--ease-out); }
.process-dot.active { width: 28px; border-radius: 6px; background: var(--navy); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--ivory); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.6rem; }
.contact-card {
  background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 3rem 2.4rem;
  display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.contact-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 60% at 100% 0%, rgba(239,216,182,0.15), transparent 60%); }
.contact-card h3 { font-family: var(--font-display); font-size: 1.6rem; color: var(--sand); margin-bottom: 1rem; position: relative; }
.contact-card > div > p { color: rgba(255,255,255,0.68); margin-bottom: 2.2rem; position: relative; }
.info-item { display: flex; gap: 1.1rem; margin-bottom: 1.7rem; position: relative; }
.info-item i { color: var(--sand); font-size: 1.2rem; margin-top: 4px; }
.info-item h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.5); margin-bottom: 0.25rem; }
.info-item a, .info-item p { color: var(--white); font-weight: 500; }
.contact-form { background: var(--white); padding: 2.8rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); border: 1px solid #ece5d8; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-bottom: 1.4rem; }
.full-width { margin-bottom: 1.4rem; }
.contact-form label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); margin-bottom: 0.5rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.9rem 1.05rem; border: 1px solid #e2ded4; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem; background: var(--ivory); transition: var(--dur-fast); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(4,42,91,0.08); }
.btn-submit { width: 100%; background: var(--navy); color: var(--sand); padding: 1.05rem; border-radius: var(--radius-sm); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; transition: var(--dur-fast); }
.btn-submit:hover { background: var(--navy-deep); box-shadow: var(--shadow-soft); transform: translateY(-2px); }

/* =========================================================
   FOOTER
   ========================================================= */
footer.site-footer { background: var(--navy-deeper); color: rgba(255,255,255,0.55); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.9fr 0.9fr 0.9fr; gap: 2.4rem; padding-bottom: 40px; border-bottom: 1px solid rgba(239,216,182,0.1); }
.footer-brand .logo-text { color: var(--sand); }
.footer-brand p { margin-top: 1rem; color: rgba(255,255,255,0.45); font-size: 0.9rem; max-width: 32ch; }
.footer-col h4 { font-family: var(--font-display); color: var(--sand); font-size: 0.95rem; margin-bottom: 1.1rem; letter-spacing: 1px; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-bottom: 0.7rem; transition: var(--dur-fast); }
.footer-col a:hover { color: var(--sand); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 0.8rem; flex-wrap: wrap; gap: 1rem; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: white; display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 10px 30px -6px rgba(37,211,102,0.55);
  transition: var(--dur-fast);
}
.whatsapp-float:hover { transform: scale(1.1) rotate(6deg); }

/* =========================================================
   PROPERTY DETAIL PAGE
   ========================================================= */
.p-hero { background: var(--navy-deep); padding: 150px 0 40px; color: var(--white); }
.p-hero-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.btn-back { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--sand); font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.6rem; }
.btn-back i { transition: var(--dur-fast); }
.btn-back:hover i { transform: translateX(-4px); }
.p-hero-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.2; max-width: 18ch; }
.p-hero-loc { color: rgba(255,255,255,0.65); margin-top: 0.7rem; display: flex; align-items: center; gap: 0.5rem; }
.price-badge { background: var(--sand); color: var(--navy-deep); padding: 0.9rem 1.7rem; border-radius: var(--radius-sm); font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; box-shadow: var(--shadow-gold); white-space: nowrap; }

.gallery-wrapper { margin-top: 40px; position: relative; z-index: 3; }
.main-image-container {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-deep);
  background: var(--navy-deeper);
  aspect-ratio: 16/10; max-height: 640px;
  display: flex; align-items: center; justify-content: center;
}
.main-image-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(35px) brightness(0.5) saturate(1.3);
  transform: scale(1.15);
  transition: opacity 0.25s ease;
}
.main-image { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.25s ease; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 48px; height: 48px; border-radius: 50%; background: rgba(2,16,42,0.55); backdrop-filter: blur(6px);
  color: var(--white); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(239,216,182,0.3);
  transition: var(--dur-fast);
}
.carousel-btn:hover { background: var(--sand); color: var(--navy-deep); }
.prev-btn { left: 20px; } .next-btn { right: 20px; }
.thumbnails-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 0.7rem; margin-top: 1rem; }
.thumb-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; cursor: pointer; opacity: 0.55; border: 2px solid transparent; transition: var(--dur-fast); }
.thumb-img:hover { opacity: 0.9; }
.thumb-img.active { opacity: 1; border-color: var(--sand); }

.property-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; margin-top: 3.5rem; align-items: start; }
.specs-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; background: var(--white); border: 1px solid #ece5d8; border-radius: var(--radius-md); padding: 1.6rem; margin-bottom: 2.6rem; }
.spec-item { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.6rem; border-right: 1px solid #ece5d8; min-width: 0; }
.spec-item:nth-child(3n) { border-right: none; }
.spec-item i { color: var(--sand); font-size: 1.1rem; -webkit-text-stroke: 0.6px var(--navy); }
.spec-item span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-muted); }
.spec-item strong { font-family: var(--font-display); color: var(--navy); font-size: 1.05rem; overflow-wrap: break-word; }

.section-subtitle-inner { font-family: var(--font-display); color: var(--navy); font-size: 1.25rem; margin: 1.8rem 0 0.9rem; }
.description-text p { color: var(--ink-muted); margin-bottom: 0.7rem; }
.features-list li { display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.55rem 0; color: var(--ink); border-bottom: 1px dashed #e6e0d3; }
.features-list li i { color: var(--sand); margin-top: 4px; -webkit-text-stroke: 0.6px var(--navy); }

.sidebar-card { position: sticky; top: 110px; background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow-deep); }
.sidebar-card h3 { font-family: var(--font-display); color: var(--sand); font-size: 1.2rem; margin-bottom: 0.8rem; }
.sidebar-card p { color: rgba(255,255,255,0.68); font-size: 0.92rem; margin-bottom: 1.6rem; }
.btn-whatsapp-consult { display: flex; align-items: center; justify-content: center; gap: 0.6rem; background: #25d366; color: white; padding: 1rem; border-radius: var(--radius-sm); font-weight: 700; letter-spacing: 0.5px; transition: var(--dur-fast); }
.btn-whatsapp-consult:hover { transform: translateY(-2px); box-shadow: 0 15px 30px -10px rgba(37,211,102,0.55); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .about-grid, .contact-grid, .property-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-card.p-small, .p-card { grid-column: span 6; }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw); background: var(--navy-deep); flex-direction: column; align-items: flex-start; justify-content: center; padding: 0 2.4rem; gap: 2rem; transform: translateX(100%); transition: transform var(--dur-med) var(--ease-in-out); box-shadow: -20px 0 50px rgba(0,0,0,0.4); }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .contact-grid, .about-grid { gap: 2.5rem; }
}
@media (max-width: 640px) {
  section { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .p-hero-top { flex-direction: column; align-items: flex-start; }
  .search-grid { grid-template-columns: 1fr; }
  .specs-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-item:nth-child(3n) { border-right: 1px solid #ece5d8; }
  .spec-item:nth-child(2n) { border-right: none; }
}
