/* ═══════════════════════════════════════════
   PALMARE RESIDENCIAL — styles.css
   Colores: Manual de Marca Palmare
═══════════════════════════════════════════ */

/* ── Gordita Web Font ── */
@font-face {
  font-family: 'Gordita';
  src: url('../fonts/Gordita-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gordita';
  src: url('../fonts/Gordita-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gordita';
  src: url('../fonts/Gordita-Medium.otf') format('opentype');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gordita';
  src: url('../fonts/Gordita-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gordita';
  src: url('../fonts/Gordita-Black.otf') format('opentype');
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange:  #ffad00;
  --teal:    #00abb9;
  --dark:    #53545c;
  --light:   #dededb;
  --white:   #ffffff;
  --black:   #1a1a1a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Gordita', sans-serif; color: var(--dark); overflow-x: hidden; background: var(--white); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }


/* ───────────────────────────────────────
   NAVBAR
─────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--teal);
  padding: 0 2.5rem; height: 100px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

/* Navbar color states */
#navbar[data-color="teal"]   { background: var(--teal); }
#navbar[data-color="orange"] { background: var(--orange); }
#navbar[data-color="white"]  { background: var(--white); box-shadow: 0 2px 16px rgba(0,0,0,0.08); }
#navbar[data-color="light"]  { background: var(--light); box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
#navbar[data-color="dark"]   { background: var(--dark); }

#navbar[data-color="white"] .nav-link,
#navbar[data-color="light"] .nav-link { color: var(--dark); }
#navbar[data-color="white"] .nav-social a svg,
#navbar[data-color="light"] .nav-social a svg { fill: var(--dark); }
#navbar[data-color="white"] .nav-social a svg[stroke],
#navbar[data-color="light"] .nav-social a svg[stroke] { fill: none; stroke: var(--dark); }
#navbar[data-color="white"] .nav-burger span,
#navbar[data-color="light"] .nav-burger span { background: var(--dark); }

.nav-left  { display: flex; align-items: center; gap: 2.5rem; }
.nav-right { display: flex; align-items: center; gap: 2rem; justify-content: flex-end; }

.nav-logo img { height: 88px; width: auto; }

.nav-link {
  font-family: 'Gordita', sans-serif; font-weight: 400; font-size: 1.07rem;
  letter-spacing: 0.04em; color: var(--white);
  transition: opacity 0.2s; cursor: pointer;
}
.nav-link:hover { opacity: 0.7; }

.nav-social { display: flex; gap: 0.75rem; align-items: center; }
.nav-social a { color: var(--white); display: flex; transition: opacity 0.2s; }
.nav-social a:hover { opacity: 0.7; }

.nav-wa-tel {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--white); transition: opacity 0.2s;
  font-family: 'Gordita', sans-serif; font-weight: 600;
  font-size: 1rem; letter-spacing: 0.03em;
}
.nav-wa-tel:hover { opacity: 0.7; }

.nav-burger { display: none; }
.nav-mobile { display: none; }


/* ───────────────────────────────────────
   HERO
─────────────────────────────────────── */
#inicio {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background: var(--teal);
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08), rgba(0,0,0,0.40) 55%, rgba(0,0,0,0.60));
}

.hero-content {
  position: relative; z-index: 2; color: var(--white);
  padding: 0 1.5rem; max-width: 780px;
}

.hero-line {
  width: 100%; height: 2px;
  background: rgba(255,255,255,0.65);
  margin: 0 auto 1.5rem;
}

.hero-title {
  font-family: 'Gordita', sans-serif; font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.2;
  margin-bottom: 1.5rem;
  opacity: 0; transform: translateY(28px);
  animation: fadeUp 0.9s ease 0.3s forwards;
}

.hero-line-bot {
  width: 100%; height: 2px;
  background: rgba(255,255,255,0.65);
  margin: 0 auto 2rem;
  opacity: 0; animation: fadeUp 0.9s ease 0.5s forwards;
}

.hero-cta {
  display: inline-block;
  font-family: 'Gordita', sans-serif; font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white); background: var(--teal);
  padding: 1rem 2.8rem; border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.6);
  transition: background 0.3s, transform 0.2s;
  opacity: 0; animation: fadeUp 0.9s ease 0.7s forwards;
}
.hero-cta:hover { background: rgba(0,171,185,0.8); transform: translateY(-2px); }

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


/* ───────────────────────────────────────
   HELPERS
─────────────────────────────────────── */
section { padding: 6rem 2rem; }
.container { max-width: 1140px; margin: 0 auto; }

.section-label {
  font-family: 'Gordita', sans-serif; font-weight: 400; font-size: 0.72rem;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--dark); opacity: 0.5; margin-bottom: 0.4rem;
}
.section-title {
  font-family: 'Gordita', sans-serif; font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.2;
  color: var(--teal); margin-bottom: 1.5rem;
}
.section-title.orange { color: var(--orange); }

.highlight-teal   { color: var(--teal); }
.highlight-orange { color: var(--orange); }

/* Reveal animations */
.reveal   { opacity: 0; transform: translateY(36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-l { opacity: 0; transform: translateX(-36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-r { opacity: 0; transform: translateX(36px);  transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.on, .reveal-l.on, .reveal-r.on { opacity: 1; transform: none; }


/* ───────────────────────────────────────
   SECCIÓN 1 — PASEO COSTERA
─────────────────────────────────────── */
#paseo-costera { background: var(--white); }

.paseo-header { text-align: center; margin-bottom: 3rem; }
.paseo-logo   { height: 225px; width: auto; margin: 0 auto; }

.paseo-grid {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 2rem; align-items: center;
}

.paseo-text h2 {
  font-family: 'Gordita', sans-serif; font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.3;
  color: var(--dark); margin-bottom: 1.2rem; text-transform: uppercase;
  text-align: center;
}
.badge-outline {
  display: inline;
  color: var(--dark);
  border: 3.5px solid var(--teal);
  border-radius: 40px;
  padding: 0.05em 0.45em;
  white-space: nowrap;
}
.paseo-text p { font-size: 1.65rem; line-height: 1.8; color: var(--dark); opacity: 0.7; font-weight: 400; text-align: center; }

.paseo-fotos {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.paseo-foto { border-radius: 8px; overflow: hidden; }
.paseo-foto img { width: 100%; height: 180px; object-fit: cover; transition: transform 0.4s; }
.paseo-foto:hover img { transform: scale(1.04); }


/* ───────────────────────────────────────
   SECCIÓN 1 — QUIÉNES SOMOS
─────────────────────────────────────── */
#quienes-somos { background: var(--white); }

.about-grid {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 4rem; align-items: center;
}

/* "Acerca de" — igual que leyenda paseo */
.about-text .section-label {
  font-size: 1.65rem; text-transform: none;
  letter-spacing: 0.02em; opacity: 0.6;
  margin-bottom: 0;
}

.about-text p {
  font-size: 1.05rem; line-height: 1.85; color: var(--dark);
  margin-bottom: 1.2rem;
}

.about-badge {
  display: inline-block;
  font-family: 'Gordita', sans-serif; font-size: 1.07rem;
  padding: 0.55rem 1.4rem;
  border: 3px solid var(--teal); border-radius: 40px;
  color: var(--teal); margin: 1rem 0;
}

/* Mapa + panel amenidades lado a lado */
.about-mapa {
  display: flex; gap: 1.2rem; align-items: flex-start;
}
.about-mapa > img {
  flex: 2.2; min-width: 0; border-radius: 8px;
}

.mapa-amenidades {
  background: var(--teal); border-radius: 14px;
  padding: 1.4rem 1.2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  min-width: 190px; align-self: stretch;
}
.mapa-amenidades li {
  font-size: 1.1rem; color: var(--white); line-height: 1;
  display: flex; gap: 0.5rem; align-items: baseline;
}
.mapa-amenidades li span { color: var(--white); font-weight: 700; }


/* ───────────────────────────────────────
   SECCIÓN 1 — DESARROLLADO POR DEPSA
─────────────────────────────────────── */
#depsa { background: var(--white); }

.depsa-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}

.depsa-foto img { width: 100%; border-radius: 10px; object-fit: cover; max-height: 420px; }

.depsa-logo { height: 125px; width: auto; display: block; margin: 0 auto 1.2rem; }

.depsa-info h2 {
  font-family: 'Gordita', sans-serif; font-weight: 800;
  font-size: clamp(1.74rem, 2.5vw, 2.34rem); color: var(--black);
  margin-bottom: 2rem; text-align: center;
}

.highlight-depsa { color: #2C2F82; }

.depsa-stats {
  display: flex; gap: 1.5rem; margin-bottom: 2.5rem;
}
.stat-card {
  flex: 1; background: var(--light); border-radius: 8px;
  padding: 1.4rem 1.2rem; text-align: center;
}
.stat-num {
  font-family: 'Gordita', sans-serif; font-weight: 800;
  font-size: 1.8rem; color: #2C2F82; margin-bottom: 0.25rem;
}
.stat-label { font-size: 1.2rem; color: var(--dark); opacity: 0.65; line-height: 1.4; }

.depsa-avales {
  display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap;
}
.depsa-avales img { height: 90px; width: auto; object-fit: contain; }


/* Placeholder de imagen */
.img-ph {
  width: 100%; border-radius: 8px;
  background: linear-gradient(135deg, var(--light) 0%, #c8d8dc 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Gordita', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.15em; color: rgba(83,84,92,0.35); text-transform: uppercase;
}
.img-ph.r43  { aspect-ratio: 4/3; }
.img-ph.r167 { aspect-ratio: 16/7; }
.img-ph.r11  { aspect-ratio: 1; }


/* ───────────────────────────────────────
   MODELOS
─────────────────────────────────────── */
#modelos { background: var(--light); }
#modelos .section-label { font-size: 0.97rem; opacity: 0.8; }

.modelos-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem; margin: 1.5rem 0 2.5rem;
}

.tab-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  width: 100%; position: relative; overflow: hidden;
  font-family: 'Gordita', sans-serif; font-weight: 700; font-size: 1.5rem;
  letter-spacing: 0.06em; padding: 2.2rem 1rem;
  border: none; background: rgba(83,84,92,0.18); color: var(--orange);
  border-radius: 6px; cursor: pointer; transition: all 0.22s;
}
.tab-btn:hover { background: rgba(255,173,0,0.15); color: var(--orange); }
.tab-btn.active { background: var(--teal); color: var(--white); flex-direction: column; gap: 0.5rem; }

/* Isotipo como watermark en botones inactivos */
.tab-icon {
  display: block;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  height: 130px; width: auto;
  opacity: 0.15; filter: none;
}
/* Isotipo centrado arriba en botón activo */
.tab-btn.active .tab-icon {
  position: static; transform: none;
  height: 65px; width: auto;
  opacity: 1; filter: brightness(0) invert(1);
}

/* Panel por modelo */
.modelo-panel { display: none; }
.modelo-panel.active { display: block; }

.modelo-fachada {
  margin-bottom: 2.5rem; border-radius: 10px; overflow: hidden;
  height: 500px;
}
.modelo-fachada .img-ph { border-radius: 0; height: 100%; }
.modelo-fachada img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: transparent; }

.modelo-detalle {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; align-items: center;
}

.modelo-info { padding-left: 4rem; }

.modelo-info h3 {
  font-family: 'Gordita', sans-serif; font-weight: 800;
  font-size: 2.08rem; color: var(--teal); margin-bottom: 0.3rem;
}
.modelo-cuota {
  font-size: 1.33rem; color: var(--dark); opacity: 0.55; margin-bottom: 1.2rem;
}
.modelo-cuota strong { color: var(--black); font-weight: 800; font-size: 1.53rem; opacity: 1; }

.modelo-area {
  display: inline-flex; align-items: baseline; gap: 0.3rem;
  margin-bottom: 1.6rem; padding-left: 0; padding-bottom: 0.75rem;
  border-left: none; position: relative;
}
.modelo-area::after {
  content: ''; position: absolute; bottom: 0; left: -2rem;
  width: calc(100% + 8rem); height: 3px; background: var(--orange);
}
.modelo-area span {
  font-family: 'Gordita', sans-serif; font-weight: 800;
  font-size: 2.33rem; color: var(--dark);
}
.modelo-area { font-size: 1.13rem; color: var(--dark); opacity: 0.7; }

.modelo-features { display: flex; flex-direction: column; gap: 0.55rem; }
.modelo-features li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 1.33rem; color: var(--dark);
}
.modelo-features li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0;
}

.modelo-plantas img {
  width: 85%; display: block; margin: 0;
  border-radius: 10px; object-fit: contain; background: var(--white);
}


/* ───────────────────────────────────────
   AMENIDADES — FOTOS
─────────────────────────────────────── */
#amenidades { background: var(--white); padding: 8rem 0 2rem; }

/* Grid 3×2: cintillo en posición [fila1, col2] */
.amenidades-fotos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 0.6rem;
  padding: 0 5%;
}

/* Cintillo naranja — celda central fila 1 */
.amenidades-cintillo {
  background: var(--teal); border-radius: 8px;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: 2.5rem 2rem; gap: 1.8rem;
}
.amenidades-cintillo-text {
  font-family: 'Gordita', sans-serif; font-weight: 300;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  color: var(--white); line-height: 1.4;
}
.amenidades-cta-btn {
  display: inline-block;
  font-family: 'Gordita', sans-serif; font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); background: var(--white);
  padding: 0.85rem 2rem; border-radius: 4px;
  transition: opacity 0.2s;
}
.amenidades-cta-btn:hover { opacity: 0.88; }

.amenidad-foto { position: relative; overflow: hidden; border-radius: 8px; }
.amenidad-foto img, .paseo-foto img { cursor: zoom-in; }

/* ── Lightbox ── */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.70);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img {
  max-width: 90vw; max-height: 88vh;
  border-radius: 8px;
  transform: scale(0.92);
  transition: transform 0.25s ease;
  object-fit: contain;
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  color: rgba(255,255,255,0.75); font-size: 2rem; line-height: 1;
  background: none; border: none; cursor: pointer;
  transition: color 0.2s;
}
.lightbox-close:hover { color: #fff; }

.amenidad-foto img {
  width: 100%; height: 100%; min-height: 160px;
  object-fit: cover; display: block;
  transition: transform 0.4s; border-radius: 8px;
}
.amenidad-foto:hover img { transform: scale(1.04); }

.amenidad-foto-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.5rem 0.8rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.45));
  color: var(--white);
  font-family: 'Gordita', sans-serif; font-weight: 600;
  font-size: 1rem; letter-spacing: 0.04em;
  border-radius: 0 0 8px 8px;
}


/* ───────────────────────────────────────
   SEGURIDAD
─────────────────────────────────────── */
#seguridad { background: var(--white); padding-top: 2rem; }

.seguridad-title {
  font-family: 'Gordita', sans-serif; font-weight: 800;
  font-size: clamp(1.625rem, 3vw, 2.325rem);
  color: var(--orange); text-align: center;
  margin-bottom: 3rem; line-height: 1.3; white-space: nowrap;
}

.seguridad-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem; row-gap: 3rem;
  padding-top: 40px;
}

.seguridad-card {
  background: var(--light); border-radius: 6px;
  padding: 2.8rem 1.5rem 1.8rem;
  display: flex; flex-direction: column;
  align-items: center; gap: 1.2rem;
  position: relative;
  transition: box-shadow 0.25s;
}
.seguridad-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.seguridad-card img {
  height: 72px; width: auto;
  position: absolute; top: -20px;
  left: 50%; transform: translateX(-50%);
}
.seguridad-card p {
  font-size: 1.075rem; color: var(--dark); margin-top: 0.8rem;
  text-align: center; line-height: 1.4;
}


/* ───────────────────────────────────────
   CONTACTO
─────────────────────────────────────── */
#contacto { background: var(--dark); }
#contacto .section-label { color: var(--light); opacity: 0.5; font-size: 1.4rem; }
#contacto .section-title { color: var(--orange); font-size: clamp(1.93rem, 3vw, 2.73rem); }

.contacto-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}

.contacto-desc {
  font-size: 1.15rem; line-height: 1.8; color: var(--light);
  opacity: 0.9; margin-bottom: 2.5rem;
}
.badge-ciudad {
  display: inline-block;
  background: var(--teal); color: var(--white);
  font-weight: 700; padding: 0.15rem 0.9rem;
  border-radius: 50px; font-size: 1.1rem;
}
.contacto-direccion {
  font-size: 1.1rem; color: var(--light);
  opacity: 0.6; margin-top: 0.8rem; text-align: center;
}

.contacto-details { display: flex; flex-direction: column; gap: 1.2rem; }
.c-label {
  font-family: 'Gordita', sans-serif; font-weight: 700;
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.15rem;
}
.c-value { font-size: 0.95rem; color: var(--light); }
.c-value a { color: var(--light); transition: color 0.2s; }
.c-value a:hover { color: var(--teal); }

.wa-btn {
  display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 2rem;
  font-family: 'Gordita', sans-serif; font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); background: #25d366;
  padding: 1rem 2rem; border-radius: 6px;
  transition: background 0.25s, transform 0.2s;
}
.wa-btn:hover { background: #1ab855; transform: translateY(-2px); }

/* ── Formulario contacto ── */
.contacto-form {
  margin-top: 2.5rem;
  padding: 2rem;
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  display: flex; flex-direction: column; gap: 1.2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.contacto-form input,
.contacto-form select,
.contacto-form textarea {
  background: rgba(255,255,255,0.14);
  border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: 10px;
  color: var(--white);
  font-family: 'Gordita', sans-serif;
  font-size: 1rem;
  padding: 0.95rem 1.2rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  width: 100%;
}
.contacto-form input::placeholder,
.contacto-form textarea::placeholder { color: rgba(255,255,255,0.3); }
.contacto-form select option { background: var(--dark); color: var(--white); }
.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
  border-color: var(--teal);
  background: rgba(255,255,255,0.18);
}
.contacto-form textarea { resize: vertical; min-height: 100px; }
.form-submit {
  align-self: flex-start;
  background: var(--teal); color: var(--white);
  font-family: 'Gordita', sans-serif; font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 1rem 2.2rem; border-radius: 10px; border: none;
  cursor: pointer; transition: background 0.25s, transform 0.2s;
}
.form-submit:hover { background: #009aa6; transform: translateY(-2px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-feedback { font-size: 0.85rem; margin-top: 0.25rem; min-height: 1.2em; }
.form-feedback.ok  { color: #4ade80; }
.form-feedback.err { color: #f87171; }

.map-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: rgba(255,255,255,0.07); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Gordita', sans-serif; font-size: 0.82rem;
  letter-spacing: 0.1em; color: rgba(83,84,92,0.4); text-transform: uppercase;
}
.contacto-map {
  display: block; width: 100%; aspect-ratio: 4/3;
  border-radius: 10px; min-height: 300px;
}


/* ───────────────────────────────────────
   FOOTER
─────────────────────────────────────── */
footer { background: var(--black); padding: 4rem 2rem 2rem; }

.footer-grid {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem;
}

.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-brand img { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.35); line-height: 1.7; }

.footer-col h5 {
  font-family: 'Gordita', sans-serif; font-weight: 600;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col li, .footer-col a { font-size: 0.87rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  max-width: 1140px; margin: 2.5rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.25); }

.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: rgba(255,255,255,0.35); display: flex; transition: color 0.2s; }
.footer-social a:hover { color: var(--teal); }
.footer-depsa-icon { object-fit: contain; opacity: 0.35; transition: opacity 0.2s; }
.footer-social a:hover .footer-depsa-icon { opacity: 0.8; }


/* ───────────────────────────────────────
   WHATSAPP FLOTANTE
─────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 56px; height: 56px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.1); }


/* ───────────────────────────────────────
   RESPONSIVE — TABLET
─────────────────────────────────────── */
@media (max-width: 1024px) {
  .amenidades-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  /* Navbar mobile */
  #navbar {
    grid-template-columns: auto 1fr auto;
    padding: 0 1.2rem; height: 96px;
  }
  .nav-left  { display: none; }
  .nav-right { display: none; }

  .nav-logo img { height: 80px; }

  .nav-burger {
    display: flex; flex-direction: column; justify-content: center;
    gap: 5px; background: none; border: none; cursor: pointer;
    padding: 0.5rem; grid-column: 3;
  }
  .nav-burger span {
    display: block; width: 22px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-mobile {
    display: flex; flex-direction: column;
    position: absolute; top: 96px; left: 0; right: 0;
    background: var(--teal); padding: 1.5rem;
    gap: 1.2rem; transform: translateY(-100%);
    opacity: 0; pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.35s ease;
    z-index: 999;
  }
  #navbar[data-color="orange"]  .nav-mobile { background: var(--orange); }
  #navbar[data-color="white"]   .nav-mobile { background: var(--white); }
  #navbar[data-color="light"]   .nav-mobile { background: var(--light); }
  #navbar[data-color="dark"]    .nav-mobile { background: var(--dark); }
  #navbar[data-color="white"]   .nav-mobile .nav-link,
  #navbar[data-color="light"]   .nav-mobile .nav-link { color: var(--dark); }
  .nav-mobile.open {
    transform: translateY(0); opacity: 1; pointer-events: all;
  }
  .nav-mobile .nav-link { font-size: 1rem; }

  /* Grids */
  .paseo-grid,
  .about-grid,
  .depsa-grid,
  .contacto-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .paseo-fotos { grid-template-columns: 1fr 1fr; }
  .paseo-texto { order: 2; }
  .paseo-fotos { order: 1; }

  .amenidades-grid    { grid-template-columns: 1fr 1fr; }
  .amenidades-gallery { grid-template-columns: repeat(3, 1fr); }
  .modelo-detalle { grid-template-columns: 1fr; }
  .modelos-tabs { grid-template-columns: 1fr; }
  .galeria-grid       { grid-template-columns: 1fr 1fr; }
  .galeria-item:first-child { grid-column: span 2; }
  .depsa-stats        { flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  section { padding: 4rem 1.2rem; }
  .amenidades-grid    { grid-template-columns: 1fr; }
  .amenidades-gallery { grid-template-columns: repeat(2, 1fr); }
  .galeria-grid       { grid-template-columns: 1fr; }
  .galeria-item:first-child { grid-column: span 1; }
  .paseo-fotos        { grid-template-columns: 1fr; }
  .mapa-amenidades    { grid-template-columns: 1fr; }
}
