/* ══════════════════════════════════════════════════════
   TIERRABONGA — styles.css
   Paleta: verde #2A4520 · dorado #C4A35A · naranja #E07B30
   Tipografía: Gotham (local) + Mulish (local)
══════════════════════════════════════════════════════ */

/* ── Fuentes locales ─────────────────────────────────── */
@font-face {
  font-family: 'Gotham';
  src: url('../Fonts/Gotham Extra Light.woff2') format('woff2'),
       url('../Fonts/Gotham Extra Light.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('../Fonts/Gotham-Light 5.woff2') format('woff2'),
       url('../Fonts/Gotham-Light 5.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('../Fonts/Gotham-Book 5.woff2') format('woff2'),
       url('../Fonts/Gotham-Book 5.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('../Fonts/Gotham-Medium 5.woff2') format('woff2'),
       url('../Fonts/Gotham-Medium 5.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'MyriadPro';
  src: url('../Fonts/MyriadPro-Regular.woff2') format('woff2'),
       url('../Fonts/MyriadPro-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Mulish';
  src: url('../Fonts/Mulish-VariableFont_wght.woff2') format('woff2'),
       url('../Fonts/Mulish-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --green-dark:  #2A4520;
  --green-mid:   #3D6B2A;
  --green-light: #5A8A3C;
  --gold:        #C4A35A;
  --orange:      #E07B30;
  --cream:       #F5F0E8;
  --cream-dark:  #EDE5D5;
  --white:       #FFFFFF;
  --text:        #1A1A1A;
  --text-mid:    #4A4A4A;
  --text-muted:  #6B6B6B;
  --border:      rgba(0,0,0,.09);
  --font-display: 'Mulish', 'Gotham', sans-serif;
  --font-sans:    'Gotham', 'MyriadPro', sans-serif;
  --max-w:       1200px;
  --radius:      4px;
  --ease:        0.25s ease;
  --z-nav:       30;
  --z-float:     100;
  --z-lightbox:  200;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-sans); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  height: 130vh;
  min-height: 900px;
  overflow: hidden;
  background: url('../imagenes/hero-1-opt.webp') center 75% / cover no-repeat;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent 0%, rgba(19,48,44,0.7) 60%, #13302C 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-inner {
  position: absolute; inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 0 24px 460px;
}

.hero-logo {
  height: clamp(140px, 22vw, 260px);
  width: auto;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,.50));
}

.hero-tag {
  display: inline-block;
  color: rgba(15, 25, 8, 0.88);
  background: rgba(255, 255, 255, 0.82);
  border: 1.5px solid rgba(255, 255, 255, 0.60);
  font-family: 'Montserrat', var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
  padding: 10px 32px;
  border-radius: 50px;
  text-transform: uppercase;
}

.hero-etapa {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}
.etapa-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(88px, 15vw, 160px);
  font-weight: 600;
  color: var(--white);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.etapa-word {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.06em;
}

.hero-preventa {
  font-family: 'Gotham', var(--font-sans);
  font-size: clamp(15px, 2.2vw, 24px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  opacity: 0.90;
}

.hero-human {
  position: absolute;
  bottom: -140px;
  left: 0;
  z-index: 3;
  height: 52%;
  width: auto;
}
.hero-human img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 28px rgba(0,0,0,.30));
}

/* ── BANDA INFORMATIVA ──────────────────────────────── */
.infobanda {
  background: var(--white);
  padding: 0 0 56px;
}

.infobanda-card {
  position: relative;
  width: 100%;
  margin: 0 0 40px;
  background: linear-gradient(90deg, #3A594C 0%, #13302C 100%);
  border-radius: 0;
  padding: 90px clamp(60px, 8vw, 120px) 90px clamp(200px, 22vw, 340px);
  overflow: hidden;
  text-align: center;
}

.infobanda-tree {
  position: absolute;
  left: 5%;
  top: 28px;
  height: 115%;
  width: auto;
  pointer-events: none;
  z-index: 1;
}
.infobanda-tree img {
  height: 100%;
  width: auto;
  display: block;
}

.infobanda-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.infobanda-pre {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700;
  color: #DB9904;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.infobanda-titulo {
  font-family: 'Gotham', var(--font-sans);
  font-size: clamp(12px, 1.5vw, 17px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.90);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.6;
  margin-bottom: 10px;
}
.infobanda-titulo strong {
  display: block;
  font-family: 'Gotham', var(--font-sans);
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 26px);
  color: var(--white);
  letter-spacing: 0.10em;
}

.infobanda-etiqueta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 10px 22px 10px 10px;
  border-radius: 50px;
  margin-top: 6px;
}
.infobanda-etiqueta-icon {
  width: 36px;
  height: 36px;
  background: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.infobanda-etiqueta-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.etiqueta-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(15px, 1.8vw, 22px);
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1;
}

.infobanda-fecha {
  font-family: 'Gotham', var(--font-sans);
  font-weight: 300;
  font-size: clamp(13px, 1.5vw, 18px);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.infobanda-desc {
  max-width: 800px;
  margin: 0 auto;
}
.infobanda-desc p {
  font-family: 'Gotham', var(--font-sans);
  font-weight: 400;
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 14px;
}
.infobanda-desc p:last-child { margin-bottom: 0; }

.btn-contacto {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 13px 28px;
  border-radius: 50px;
  transition: background var(--ease), transform var(--ease);
  cursor: pointer;
}
.btn-contacto:hover { background: #1DA851; transform: translateY(-2px); }

/* ── INVERSIÓN ──────────────────────────────────────── */
.inversion { }

.inversion-render {
  position: relative;
  width: 100%;
  height: clamp(600px, 80vw, 1080px);
  background: url('../imagenes/img-fondo-2-opt.webp') center center / cover no-repeat;
  overflow: hidden;
}
.inversion-render-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #ffffff 0%, rgba(255,255,255,0.92) 20%, rgba(255,255,255,0.5) 45%, transparent 70%);
}
.inversion-price-block {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  text-align: center;
  padding: 100px 24px 0;
}
.inv-badge {
  display: inline-block;
  background: #DB9904;
  color: var(--white);
  font-family: 'Gotham', var(--font-sans);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 28px;
  border-radius: 50px;
}
.inv-price {
  font-family: 'Gotham', var(--font-sans);
  font-size: clamp(52px, 10vw, 120px);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
  letter-spacing: -0.02em;
}
.inv-price-sym {
  font-size: 0.38em;
  font-weight: 700;
  vertical-align: top;
  line-height: 1.6;
}
.inv-cta-link { display: inline-block; cursor: pointer; }
.inv-cta-img {
  width: clamp(180px, 22vw, 260px);
  height: auto;
  display: block;
  transition: transform var(--ease);
}
.inv-cta-link:hover .inv-cta-img { transform: translateY(-2px); }

.inversion-body {
  background: linear-gradient(90deg, #3B594D 0%, #13302C 100%);
  padding: 64px 0 80px;
  border-radius: 28px 28px 0 0;
  margin-top: -28px;
  position: relative;
  z-index: 1;
}
.inversion-pre {
  text-align: center;
  font-family: var(--font-sans);
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.inversion-titulo {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 44px;
  line-height: 1.1;
}
.inversion-swiper-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.inversion-nav {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease);
}
.inversion-nav:hover { background: rgba(255,255,255,.28); }
.inversion-swiper {
  flex: 1;
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
}
.inversion-swiper .swiper-slide {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.inversion-swiper .swiper-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.inversion-pagination {
  position: static;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 36px;
}
.inversion-pagination .swiper-pagination-bullet {
  background: rgba(255,255,255,.35);
  opacity: 1;
  width: 10px; height: 10px;
}
.inversion-pagination .swiper-pagination-bullet-active {
  background: #DB9904;
}

.inversion-desc {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.inversion-desc p {
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.2vw, 16px);
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  margin-bottom: 24px;
}
.inversion-area {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.inversion-area img {
  width: 26px;
  height: 26px;
  filter: brightness(0) saturate(100%) invert(72%) sepia(38%) saturate(500%) hue-rotate(5deg) brightness(95%);
  flex-shrink: 0;
}

/* ── LIGHTBOX ───────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  animation: lbIn .22s ease;
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 28px;
  font-size: 40px;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  opacity: .75;
  transition: opacity .2s;
}
.lightbox-close:hover { opacity: 1; }

.inversion-swiper .swiper-slide { cursor: zoom-in; }

/* ── AMENIDADES ─────────────────────────────────────── */
.amenidades {
  padding: 72px 0;
  background: var(--white);
}
.amenidades-franja {
  background: #DB9904;
  padding: 28px 24px;
  text-align: center;
}
.amenidades-franja-titulo {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
}

.amenidades-titulo {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.amenidades-subtitulo {
  text-align: center;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text-muted);
  margin-bottom: 44px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.amenidades-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 40px;
  margin-bottom: 48px;
}
.amenidad-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 120px;
  text-align: center;
}
.amenidad-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.amenidad-item span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.amenidades-torre {
  border-top: 2px solid var(--cream-dark);
  padding-top: 40px;
}
.torre-label {
  text-align: center;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 400;
  color: var(--green-dark);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.amenidades-grid--torre { gap: 28px 48px; }

.amenidades-banner {
  width: 100%;
  line-height: 0;
}
.amenidades-banner img {
  width: 100%;
  height: 500px;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ── TIPOLOGÍAS ─────────────────────────────────────── */
.tipologias {
  padding: 72px 0;
  background: var(--white);
}
.tipo-seccion-titulo {
  text-align: center;
  font-family: var(--font-sans);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 400;
  color: var(--text-mid);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 44px;
}
.tipo-seccion-titulo strong { font-weight: 900; color: var(--green-dark); }

.tipologias-viewer {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 32px;
}
.tipo-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.tipo-stat-hab {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: linear-gradient(90deg, #3A594C 0%, #13302C 100%);
  flex-wrap: wrap;
}
.tipo-stat-icon {
  width: 40px; height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.tipo-stat-val {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tipo-stat-divider {
  height: 1px;
  background: var(--border);
}
.tipo-stat-areas {
  padding: 28px 32px;
}
.tipo-stat-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.tipo-area-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tipo-area-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.tipo-area-item:last-child { border-bottom: none; padding-bottom: 0; }
.tipo-area-name {
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tipo-area-val {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 0.04em;
}

.tipologia-plano {
  background: var(--white);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.tipologia-plano img {
  max-height: 320px;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.tipologias-selector {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.tipo-btn {
  width: 88px; height: 68px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--white);
  padding: 6px;
  opacity: .5;
  cursor: pointer;
  transition: border-color var(--ease), opacity var(--ease);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.tipo-btn img { width: 100%; height: 100%; object-fit: contain; }
.tipo-btn.active, .tipo-btn:hover { border-color: var(--green-mid); opacity: 1; }

/* ── FORMULARIO ─────────────────────────────────────── */
.contacto {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #A88702;
}
.contacto-bg { position: absolute; inset: 0; }
.contacto-bg img { width: 100%; height: 100%; object-fit: cover; }
.contacto-overlay { display: none; }
.contacto-inner {
  position: relative; z-index: 2;
  width: 100%; padding: 64px 24px;
  display: flex; justify-content: center;
}
.contacto-card {
  background: #A88702;
  border-radius: 8px;
  padding: 48px 44px 40px;
  width: 100%; max-width: 480px;
  text-align: center;
}
.contacto-titulo {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  word-break: break-word;
}
.contacto-form { display: flex; flex-direction: column; gap: 10px; }
.form-group    { position: relative; }
.contacto-form input {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 600;
  color: var(--text); letter-spacing: 0.07em;
  outline: none;
  transition: border-color var(--ease), background var(--ease);
}
.contacto-form input::placeholder { color: rgba(0,0,0,.38); }
.contacto-form input:focus { border-color: var(--gold); background: #fffdf5; }
.input-tel-wrap { display: flex; align-items: stretch; }
.input-tel-wrap input { flex: 1; border-radius: 0 var(--radius) var(--radius) 0; border-left: none; }
.tel-prefix {
  display: flex; align-items: center; gap: 6px;
  background: #f0f0f0;
  border: 1px solid rgba(0,0,0,.12);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 11px 10px; flex-shrink: 0;
}
.tel-prefix img { width: 20px; height: 14px; object-fit: cover; border-radius: 1px; }
.tel-prefix span { font-size: 11px; font-weight: 700; color: rgba(0,0,0,.6); }
.btn-enviar {
  width: 100%;
  background: linear-gradient(270deg, #0C1903 0%, #242C05 100%);
  color: var(--white);
  font-size: 14px; font-weight: 800;
  letter-spacing: 0.2em;
  padding: 15px;
  border-radius: var(--radius);
  margin-top: 8px;
  transition: opacity var(--ease), transform var(--ease);
}
.btn-enviar:hover  { opacity: .85; transform: translateY(-1px); }
.btn-enviar:active { transform: translateY(0); }
.btn-enviar:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-row-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-tyc { margin: 2px 0; }
.tyc-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-family: var(--font-sans); font-size: 12px; font-weight: 400; color: rgba(255,255,255,.65); line-height: 1.5; }
.tyc-label input[type="checkbox"] { width: 16px; height: 16px; min-width: 16px; margin-top: 2px; accent-color: var(--gold); cursor: pointer; }
.tyc-label a { color: #fff; text-decoration: underline; text-underline-offset: 2px; transition: opacity var(--ease); }
.tyc-label a:hover { opacity: .75; }
.contacto-form-msg { margin-top: 10px; text-align: center; display: block; color: rgb(255 255 255) !important; background: #ff0000; border-radius: 5px; font-size: 14px; padding: 5px; font-family: var(--font-display); }
.contacto-otp-input {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: var(--radius);
  padding: 16px;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.4em;
  text-align: center;
  outline: none;
  transition: border-color var(--ease);
}
.contacto-otp-input:focus { border-color: var(--gold); }

/* ── intl-tel-input ─────────────────────────────────────────── */
.iti { width: 100%; }
.iti__flag-container { border-radius: var(--radius) 0 0 var(--radius); }
.iti--separate-dial-code .iti__selected-flag {
  background: #f0f0f0;
  border: 1px solid rgba(0,0,0,.12);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
}
.iti--separate-dial-code .iti__selected-flag:hover { background: #e8e8e8; }
.iti--separate-dial-code input[type="tel"] {
  border-radius: 0 var(--radius) var(--radius) 0 !important;
  padding-left: 12px !important;
  text-align: center;
}
.iti input::placeholder { color: rgba(0,0,0,.38); }
.iti__country-list {
  background: #2A4520 !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  color: rgba(255,255,255,.85) !important;
  font-size: 13px;
  z-index: 9999 !important;
  max-height: 220px;
}
.iti__country-name { color: rgba(255,255,255,.85) !important; }
.iti__country:hover, .iti__country.iti__highlight { background: rgba(255,255,255,.12) !important; }
.iti__dial-code { color: var(--gold) !important; }
.iti__divider { border-color: rgba(255,255,255,.15) !important; }
.iti__search-input {
  background: rgba(255,255,255,.1) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.2) !important;
}
.iti__search-input::placeholder { color: rgba(255,255,255,.45) !important; }

@media (max-width: 480px) {
  .form-row-two { grid-template-columns: 1fr; }
  .tyc-label { font-size: 11px; }
}

/* ── FOOTER ─────────────────────────────────────────── */
.site-footer {
  background: linear-gradient(90deg, #3A594C 0%, #13302C 100%);
  padding: 0;
}
.footer-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 24px 40px;
  gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-informes {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-tels {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.footer-tel-icon { width: 16px; height: 16px; color: var(--white); flex-shrink: 0; }
.footer-tels a {
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 600;
  color: var(--white);
  transition: color var(--ease);
}
.footer-tels a:hover { color: #DB9904; }
.footer-tels span { color: rgba(255,255,255,.4); }
.footer-direccion {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 0;
}
.footer-direccion strong { font-weight: 700; }
.footer-ciudad {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--white);
  margin-top: -10px;
}
.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin: 36px 0;
  flex-wrap: wrap;
}
.footer-logos img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.footer-web {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.3vw, 17px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: opacity var(--ease);
}
.footer-web:hover { opacity: .7; }
.footer-legal {
  font-size: 11px;
  color: rgba(255,255,255,.45);
  text-align: center;
  padding: 20px 24px 12px;
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.75;
}
.footer-smartinfo {
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
}
.footer-smartinfo img {
  height: 13px;
  width: auto;
  opacity: .7;
  transition: opacity .2s;
}
.footer-smartinfo:hover img {
  opacity: 1;
}


/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .tipologias-viewer { grid-template-columns: 1fr; }
  .tipologia-info { text-align: center; }
  .tipo-stat-hab { justify-content: center; }
  .tipo-area-item { flex-direction: column; align-items: center; gap: 2px; text-align: center; }
}

@media (max-width: 768px) {
  .hero { height: 65svh; min-height: 420px; max-height: none; background-image: url('../imagenes/hero-1-opt-m.webp'); }
  .inversion-render { background-image: url('../imagenes/img-fondo-2-opt-m.webp'); }
  .hero-logo { height: 130px; }
  .hero-inner {
    gap: 10px;
    justify-content: flex-start;
    padding: 60px 32px 0;
  }
  .hero-human { height: 38%; bottom: -8%; left: 0; }

  .infobanda-card {
    padding: 48px 24px;
    text-align: center;
  }
  .infobanda-tree { display: none; }
  .infobanda-content { align-items: center; }
  .infobanda-desc { padding: 0 16px; }

  .inversion-render { height: 420px; }
  .inversion-price-block { padding: 40px 24px 0; }
  .inv-price { font-size: clamp(40px, 12vw, 72px); }
  .inversion-swiper .swiper-slide { aspect-ratio: 4/3; }

  .amenidades-grid { gap: 20px 20px; }
  .amenidad-item { width: 90px; }
  .amenidad-item img { width: 56px; height: 56px; }
  .amenidades-banner img { height: 260px; }

  .tipo-stats { max-width: 100%; }
  .tipo-stat-areas { padding: 20px 20px; }

  .footer-body { padding: 40px 20px 28px; gap: 14px; }
  .footer-web {
    font-size: 10px;
    letter-spacing: 0.08em;
    word-break: break-all;
    text-align: center;
  }
  .footer-logos { gap: 28px; margin: 20px 0; }
  .footer-logos img { height: 38px; }
  .footer-tels { flex-direction: column; gap: 6px; }
  .footer-tels span { display: none; }

  .contacto-card { padding: 32px 18px 28px; }
}

@media (max-width: 480px) {
  .hero-logo { height: 110px; }
  .hero-inner {
    gap: 10px;
    padding-bottom: 0;
    padding-top: 0;
    justify-content: flex-start;
    padding: 60px 24px 0;
  }
  .hero-human {
    height: 34%;
    bottom: -8%;
    left: 0;
  }
  .etapa-num { font-size: 64px; }
  .etapa-word { font-size: 26px; }
  .hero-preventa { font-size: 13px; letter-spacing: 0.2em; }
  .hero-tag { font-size: 11px; padding: 8px 20px; }

  .infobanda-pre { font-size: 38px; }
  .infobanda-titulo { font-size: 30px; }
  .etiqueta-label { font-size: 20px; }
  .infobanda-fecha { font-size: 16px; }

  .inversion-render { height: 340px; }
  .inversion-price-block { padding: 28px 16px 0; gap: 10px; }
  .inv-badge { font-size: 10px; padding: 6px 18px; }
  .inv-price { font-size: 38px; }
  .inv-cta-img { width: 160px; }

  .inversion-swiper .swiper-slide { aspect-ratio: 4/3; }
  .inversion-nav { width: 36px; height: 36px; font-size: 16px; }

  .amenidades-franja { padding: 18px 16px; }
  .amenidades-banner img { height: 200px; }

  .tipo-stat-hab { padding: 18px 16px; }
  .tipo-stat-areas { padding: 18px 16px; }

  .footer-informes { letter-spacing: 0.25em; }
  .footer-web { font-size: 9px; letter-spacing: 0.05em; }
  .footer-logos img { height: 30px; }

}

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

/* Banderas del selector de teléfono en WebP (intl-tel-input trae PNG) */
.iti .iti__flag { background-image: url('../lib/node_modules/intl-tel-input/build/img/flags.webp'); }
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti .iti__flag { background-image: url('../lib/node_modules/intl-tel-input/build/img/flags@2x.webp'); }
}
