/* ============================================================
   ADRIANA PATIÑO REALTY — estiloc.css
   Versión: 20250513
   Tres bloques con identidad visual propia:
   - Millenia Park    → Verde lago / naturaleza / serenidad
   - GZ Universal     → Negro / dorado / arquitectura urbana
   - Visions          → Terracota / blanco cálido / resort
   ============================================================ */

/* ── FUENTES ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,700;1,400&display=swap');

/* ── VARIABLES GLOBALES ──────────────────────────────────── */
:root {
  /* Paleta base */
  --sand:       #f5f0e8;
  --sand-dark:  #e8e0d0;
  --cream:      #faf8f4;
  --ink:        #1a1814;
  --ink-light:  #3d3930;
  --gold:       #b8965a;
  --gold-light: #d4b07a;
  --white:      #ffffff;

  /* Tipografía */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-accent:  'Playfair Display', serif;

  /* Transiciones */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Millenia */
  --m-bg:       #1c2b22;
  --m-bg2:      #243528;
  --m-accent:   #7ab893;
  --m-light:    #c8ddd0;
  --m-text:     #e8f0eb;

  /* GZ */
  --gz-bg:      #0d0d0d;
  --gz-bg2:     #161410;
  --gz-accent:  #c8a96e;
  --gz-line:    #2a2520;
  --gz-text:    #e8e0d0;

  /* Visions */
  --v-bg:       #f7f0e6;
  --v-bg2:      #fff9f2;
  --v-accent:   #c4704a;
  --v-warm:     #e8c49a;
  --v-text:     #3a2e26;

  /* accent para footer/global */
  --accent: var(--gold);
}

/* ── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

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

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── HEADER ──────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 70px;
  background: rgba(10, 10, 8, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(184, 150, 90, 0.2);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}

nav a:hover { color: var(--gold); }
nav a:hover::after { width: 100%; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  /* Optional: keeps background fixed during scroll */
  background-attachment: fixed;
  background-image: url('uploads/orlando3.webp') ;
  background-color: #161f19;
  background-blend-mode: overlay;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 70%; height: 80%;
  object-fit: cover;
  object-position: center;
  margin: auto;
  transform: scale(1.04);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,8,4,0.2) 0%,
    rgba(10,8,4,0.2) 50%,
    rgba(26,20,10,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  animation: fadeUp 1.2s var(--ease-out) 0.3s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  width: 140px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 28px;
  filter: brightness(1.1);
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: 0.01em;
  max-width: 780px;
  margin: 0 auto 20px;
}

.hero-content p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ── CITY GRID ───────────────────────────────────────────── */
.city-grid-container {
  background: #161f19;
  padding: 96px 48px;
  text-align: center;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.city-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}

.city-item img {
  transition: transform 0.8s var(--ease-out);
}

.city-item:hover img { transform: scale(1.06); }

.city-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 16px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  font-style: italic;
}

/* ── SECTION TITLE (global) ──────────────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 3.5vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  text-align: center;
}

/* ── UTILITY ─────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.intro-text {
  max-width: 680px;
  margin: 0 auto 56px;
  font-size: 1.1rem;
  line-height: 1.75;
  font-weight: 300;
  text-align: center;
  letter-spacing: 0.01em;
}

/* ─────────────────────────────────────────────────────────
   MILLENIA PARK BLOCK
   Identidad: Verde bosque · Agua · Naturaleza · Serenidad
   ───────────────────────────────────────────────────────── */
.millenia-block {
  background: var(--m-bg);
  color: var(--m-text);
  position: relative;
}

.millenia-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(122,184,147,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 90% 80%, rgba(122,184,147,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.millenia-block .section-title {
  color: var(--m-accent);
  font-style: italic;
}

.millenia-block .intro-text {
  color: var(--m-light);
}

/* Millenia — sección principal */
section#millenia.millenia-block {
  padding: 100px 0 80px;
}

/* Millenia — benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 20px;
}

.benefit-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(122,184,147,0.15);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--m-accent), transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease-out);
}

.benefit-card:hover {
  background: rgba(122,184,147,0.06);
}

.benefit-card:hover::before {
  transform: scaleY(1);
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--m-accent);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.benefit-card p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(200,221,208,0.8);
  font-weight: 300;
}

/* Millenia — lake section */
.lake-section {
  padding: 80px 0;
  text-align: center;
  background: var(--m-bg2);
  border-top: 1px solid rgba(122,184,147,0.12);
  border-bottom: 1px solid rgba(122,184,147,0.12);
}

.lake-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 3.5vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--m-accent);
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.lake-content p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(200,221,208,0.75);
  font-weight: 300;
}

/* ─────────────────────────────────────────────────────────
   GZ UNIVERSAL TOWER BLOCK
   Identidad: Negro profundo · Dorado · Arquitectura urbana
   ───────────────────────────────────────────────────────── */
.gz-block {
  background: var(--gz-bg);
  color: var(--gz-text);
  position: relative;
}

/* Líneas decorativas arquitectónicas */
.gz-block::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent, rgba(200,169,110,0.12), transparent);
  pointer-events: none;
}

.gz-block .section-title {
  color: var(--gz-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 600;
}

section#gz-universal.gz-block {
  padding: 140px 0 80px;
  background: #1a1814;
}

section#gz-universal .intro-text {
  color: rgba(232,224,208,0.7);
}

section#gz-universal .intro-text strong {
  color: var(--gz-accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 12px;
}

section#gz-universal p:not(.intro-text) {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  color: rgba(232,224,208,0.6);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
}

/* GZ — características premium */
.lake-section.gz-block {
  padding: 80px 0;
  position: relative;
}

.lake-section.gz-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.85);
}

.lake-section.gz-block .lake-content {
  position: relative;
  z-index: 2;
}

.lake-section.gz-block h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2.5vw, 2.2rem);
  font-style: italic;
  margin-bottom: 40px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 60px;
  max-width: 640px;
  margin: 0 auto;
}

.amenities-grid ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.amenities-grid li {
  font-size: 0.92rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(232,224,208,0.8);
  border-bottom: 1px solid rgba(200,169,110,0.12);
  padding-bottom: 12px;
  transition: color 0.3s;
}

.amenities-grid li:hover {
  color: var(--gz-accent);
}

/* GZ — floor plan carousel bg */
.carousel-container.gz-block[style*="background:#f8f7f4"] {
  background: #0a0905 !important;
}

/* ─────────────────────────────────────────────────────────
   VISIONS BLOCK
   Identidad: Terracota · Blanco roto · Resort mediterráneo
   ───────────────────────────────────────────────────────── */
section#visions {
  padding: 100px 0 80px;
  background: #0e0b01 !important;
  color: var(--v-text) !important;
  position: relative;
  overflow: hidden;
}

section#visions::before {
  content: 'VISIONS';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 16rem);
  font-weight: 600;
  color: rgba(196,112,74,0.15);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.1em;
}

section#visions .section-title {
  color: rgb(255 199 6 / 75%);;
  font-style: italic;
  letter-spacing: 0.03em;
}

section#visions .intro-text {
  color: rgb(255 199 6 / 75%);
}

/* Visions — carrusel fondo cálido */
.carousel-container.gz-block:last-of-type,
section#visions + .carousel-container {
  background: #1a1a19 !important;
}

/* Forzar estilos de visions en el último carousel-container gz-block */
.carousel-container.gz-block:has(#carousel-visions) {
  background: #1a1a19 !important;
}

/* ── CARRUSEL BASE ───────────────────────────────────────── */
.carousel-container {
  padding: 72px 0;
  overflow: hidden;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;
}

.carousel-viewport {
  overflow: hidden;
  flex: 1;
  border-radius: 2px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
  cursor: grab;
}

.carousel-track:active { cursor: grabbing; }

.carousel-item {
  flex: 0 0 calc(33.333% - 14px);
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}

.carousel-item img {
  transition: transform 0.8s var(--ease-out);
}

.carousel-item:hover img {
  transform: scale(1.04);
}

/* Botones carrusel */
.carousel-btn {
  position: absolute;
  top: 50%; z-index: 10;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(10,8,4,0.6);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-btn.prev { left: 6px; }
.carousel-btn.next { right: 6px; }

.carousel-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.08);
}

/* Millenia buttons */
.millenia-block .carousel-btn:hover {
  background: var(--m-accent);
  border-color: var(--m-accent);
}

/* GZ buttons */
.gz-block .carousel-btn:hover {
  background: var(--gz-accent);
  border-color: var(--gz-accent);
}

/* Visions buttons */
section#visions + .carousel-container .carousel-btn:hover {
  background: var(--v-accent);
  border-color: var(--v-accent);
}

/* ── ANIMACIONES AUTO CARRUSEL ───────────────────────────── */
/* Los carruseles hacen loop automático mediante JS existente + 
   efecto shimmer en items que aparecen */

@keyframes shimmerIn {
  from { opacity: 0; filter: blur(4px); }
  to   { opacity: 1; filter: blur(0); }
}

.carousel-item {
  animation: shimmerIn 0.5s ease both;
}

/* ── LIGHTBOX ────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8,6,4,0.94);
  backdrop-filter: blur(20px) saturate(0.8);
  align-items: center;
  justify-content: center;
  animation: lightboxIn 0.35s var(--ease-out);
}

@keyframes lightboxIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

#lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  animation: lightboxImgIn 0.4s var(--ease-out) 0.1s both;
}

@keyframes lightboxImgIn {
  from { opacity: 0; transform: scale(0.93) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.close-lightbox {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 2.4rem;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  line-height: 1;
  transition: all 0.3s ease;
  font-weight: 300;
  z-index: 10;
}

.close-lightbox:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

/* ── BROKER / EXPERIENCIA ────────────────────────────────── */
.broker-section2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  background: #181612;
  align-items: stretch;
}

.broker-info {
  padding: 80px 48px 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  position: relative;
}

.broker-info::after {
  content: '';
  position: absolute;
  right: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(184,150,90,0.3), transparent);
}

.broker-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: #cbaf81;
  margin-bottom: 20px;
  line-height: 1.2;
}

.broker-info > p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gold);
  font-weight: 300;
  margin-bottom: 36px;
}

.broker-info ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.broker-info li {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--gold);
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  line-height: 1.5;
}

.broker-info li strong {
  color: #cbaf81;
  font-weight: 600;
}

.broker-img2 {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  align-self: center;
}

.broker-img2 img {
  object-position: center top;
  filter: contrast(1.02) saturate(0.95);
}

/* Hover portrait effect */
.broker-img2::after {
  content: '';
  position: absolute;
  inset: 0;
 
  border-radius: 2px;
}

.contact-frame {
  background: var(--ink);
  padding: 10px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-frame h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 32px;
  text-align: center;
  letter-spacing: 0.04em;
}

.contact-frame iframe {
  width: 100%;
  max-width: 500px;
  height: 700px;
  border: none;
  /*filter: invert(1) brightness(0.85);*/
  border-radius: 2px;
}

/* ── CONTACT SECTION ─────────────────────────────────────── */
.contact-section {
  background: var(--ink);
  color: var(--white);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.contact-section-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
  gap: 60px;
}

.contact-section-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 8px;
}

.contact-section-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.contact-tagline {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 40px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-section-right {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(184,150,90,0.18);
  border-radius: 2px;
  padding: 40px 36px 40px;
  position: relative;
  overflow: hidden;
}

/* Línea dorada decorativa superior */
.contact-section-right::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.contact-section-right h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

/* Subtítulo decorativo bajo el h3 */
.contact-section-right .form-sub {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(184,150,90,0.12);
}

.contact-section-right iframe {
  width: 100%;
  min-height: 700px;
  height: 700px;
  border: none;
  filter: invert(1) brightness(0.82);
  border-radius: 2px;
  flex: 1;
}

.gtranslate_wrapper {
  margin-top: 20px;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.gtranslate_wrapper:hover { opacity: 1; }

/* ── FOOTER BANDA ────────────────────────────────────────── */
footer {
  background: #0d0c0a;
  border-top: 1px solid rgba(184,150,90,0.15);
  text-align: center;
  padding: 20px 32px;
}

footer .footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.28);
  font-weight: 300;
  letter-spacing: 0.06em;
}

/* Contact section responsive */
@media (max-width: 768px) {
  .contact-section-inner {
    flex-direction: column;
    padding: 60px 24px;
    gap: 40px;
  }

  .contact-section-right {
    padding: 32px 0px;
  }

  .contact-section-right iframe {
    min-height: 700px;
    height: 700px;
  }

  .contact-section-left h2,
  .contact-tagline,
  .contact-section-right h3,
  .contact-section-right .form-sub {
    text-align: center;
  }

  .contact-section-left {
    align-items: center;
  }
.form-sub {
	padding: 0px 24px;
  }

  .gtranslate_wrapper { text-align: center; }
}

/* ── BOTONES ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 1px;
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
}

.btn-whatsapp {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  position: relative;
  overflow: hidden;
}

.btn-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
  z-index: -1;
}

.btn-whatsapp:hover {
  color: var(--ink);
}

.btn-whatsapp:hover::before {
  transform: scaleX(1);
}

/* ── WHATSAPP FLOAT ──────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 900;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  transition: all 0.35s var(--ease-out);
}

.wa-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 14px 40px rgba(37,211,102,0.5);
}

/* Pulso animado */
.wa-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: waPulse 2.4s ease-out infinite;
}

@keyframes waPulse {
  0%   { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ── SCROLL REVEAL ───────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── DECORATIVE DIVIDERS ─────────────────────────────────── */
.millenia-block + .gz-block,
.gz-block + section {
  position: relative;
}

/* Separador dorado entre bloques */
.millenia-block + :is(.gz-block, section#gz-universal) {
  border-top: 1px solid rgba(200,169,110,0.1);
}

/* ── CARRUSEL AUTO LOOP — mejora visual con gradientes ────── */
.carousel-viewport::before,
.carousel-viewport::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 5;
  pointer-events: none;
}

.carousel-viewport {
  position: relative;
}

.millenia-block .carousel-viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--m-bg), transparent);
}
.millenia-block .carousel-viewport::after {
  right: 0;
  background: linear-gradient(-90deg, var(--m-bg), transparent);
}

.gz-block .carousel-viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--gz-bg), transparent);
}
.gz-block .carousel-viewport::after {
  right: 0;
  background: linear-gradient(-90deg, var(--gz-bg), transparent);
}

/* ── ANIMACIONES ENTRADA ─────────────────────────────────── */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* Puntitos decorativos Millenia */
.millenia-block section#millenia::after,
section#millenia.millenia-block::after {
  content: '· · ·';
  display: block;
  text-align: center;
  font-size: 1.5rem;
  color: rgba(122,184,147,0.3);
  letter-spacing: 0.5em;
  margin-top: 60px;
}


/* ── TEXTOS DECORATIVOS DE FONDO ────────────────────────── */

/* Millenia — usa ::after porque ::before está tomado por .millenia-block */
section#millenia.millenia-block::after {
  content: 'MILLENIA';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 14rem);
  font-weight: 600;
  color: rgba(122, 184, 147, 0.05); /* verde del bloque, muy transparente */
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.1em;
  z-index: 0;
}

/* GZ — usa ::before en el ID específico; gana sobre .gz-block::after */
#premium::before {
  content: 'GZ';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 28vw, 24rem); /* más grande porque es texto corto */
  font-weight: 600;
  color: rgba(200, 169, 110, 0.06); /* dorado del bloque */
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.15em;
  z-index: 0;
}


/* ── GTRANSLATE — ver reglas dentro de footer ──────────────── */

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .city-grid .city-item:last-child { grid-column: span 2; }
}

@media (max-width: 768px) {
  header {
    padding: 0 24px;
  }

  nav {
    display: none;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }

  .city-grid {
    grid-template-columns: 1fr;
  }

  .city-grid .city-item:last-child {
    grid-column: auto;
  }

  .city-grid-container { padding: 60px 24px; }

  .benefits-grid { grid-template-columns: 1fr; }

  .carousel-item {
    flex: 0 0 calc(80% - 14px);
  }

  .broker-section2 {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  /* En móvil: imagen primero, texto debajo */
  .broker-section2 .broker-img2 {
    order: -1;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 4 / 3;   /* más panorámico en móvil, menos alto */
    border-radius: 0;
    box-shadow: none;
  }

  .broker-info {
    padding: 48px 24px 52px;
    align-items: flex-start;
  }

  .broker-info::after { display: none; }

 .contact-frame {
    padding: 60px 32px;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  section#millenia.millenia-block,
  section#gz-universal.gz-block,
  section#visions {
    padding: 72px 0 60px;
  }

  .container { padding: 0 24px; }

  .carousel-wrapper { padding: 0 52px; }
}

@media (max-width: 480px) {
  .carousel-item {
    flex: 0 0 calc(90% - 14px);
  }
}

/* ── AUTO-PLAY CARRUSEL (infinite shimmer hover) ─────────── */
/* Indica al usuario que puede hacer clic */
.carousel-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.4s ease;
  pointer-events: none;
}

.carousel-item:hover::after {
  background: rgba(255,255,255,0.04);
}

/* GZ carousel planos — override bg */
.carousel-container.gz-block:has(#carousel-planos) {
  background: #0d0b08 !important;
}

/* Visions carousel específico */
.carousel-container:has(#carousel-visions) {
  background: var(--v-bg) !important;
}

.carousel-container:has(#carousel-visions) .carousel-btn {
  background: rgba(58,46,38,0.4);
  border-color: rgba(196,112,74,0.3);
  color: var(--v-text);
}

.carousel-container:has(#carousel-visions) .carousel-btn:hover {
  background: var(--v-accent);
  border-color: var(--v-accent);
  color: var(--white);
}

/* Planos carousel (GZ) — fondo muy oscuro para destacar planos */
.carousel-container:has(#carousel-planos) {
  background: #070604 !important;
}

/* ── GOLD RULE LINE ──────────────────────────────────────── */
.section-title::after {
  content: '';
  display: block;
  width: 48px; height: 1px;
  background: var(--gold);
  margin: 20px auto 0;
  opacity: 0.6;
}

.millenia-block .section-title::after {
  background: var(--m-accent);
}

.gz-block .section-title::after {
  background: var(--gz-accent);
}

section#visions .section-title::after {
  background: var(--v-accent);
}



.chimp {
	
	margin:auto;
	}



/* ==========================================
   FIX MÓVIL — logos inferiores cortados
   Agregar al FINAL del CSS
   ========================================== */

@media (max-width:768px){

  /* Da espacio adicional al final */
  footer{
      padding-bottom:90px;
  }

  /* Evita que logos o badges inferiores se salgan */
  footer img,
  .footer img,
  .gtranslate_wrapper img,
  .partner-logos img,
  .footer-logos img{
      max-width:100%;
      height:auto;
      object-fit:contain;
  }

  /* Evita recorte vertical del contenedor final */
  footer,
  .contact-section,
  .contact-section-inner{
      overflow:visible;
  }

}
/* ==========================================
   FIX LIMPIO MÓVIL
   broker-img2 + borde lateral global
   REEMPLAZA EL FIX ANTERIOR COMPLETO
   ========================================== */

@media (max-width:768px){

  /* Elimina scroll horizontal real */
  html,
  body{
      width:100%;
      max-width:100%;
      overflow-x:hidden !important;
  }

  /* Cualquier sección problemática */
  body > *{
      max-width:100vw;
  }

  /* Sección broker completa:
     ahora 50% más alta */
  .broker-section2{
      display:grid;
      grid-template-columns:1fr;
      width:100%;
      min-height:900px; /* antes ~600 */
      overflow:hidden;
  }

  /* Imagen superior */
  .broker-img2{
      order:-1;
      width:100%;
      max-width:100%;
      height:420px; /* aumenta área visible */
      overflow:hidden;
      border-radius:0;
      margin:0;
      align-self:stretch;
      box-shadow:none;
  }

  .broker-img2 img{
      width:100%;
      height:100%;
      object-fit:contain; /* muestra logos completos */
      object-position:center;
      display:block;
  }

  /* Texto */
  .broker-info{
      padding:48px 24px 60px;
  }

  .broker-info::after{
      display:none;
  }




  /* Corrige widgets flotantes */
  .wa-float{
      right:16px;
      bottom:16px;
      transform:none;
  }

  /* No permitir desbordamientos invisibles */
  footer,
  .contact-section,
  .contact-section-inner{
      overflow:hidden;
  }

  iframe{
      max-width:100%;
  }

  img{
      max-width:100%;
  }
}
