/* =========================================================
   VARIABLES GENERALES DEL DISEÑO
   Aquí están los colores principales, sombras y bordes.
========================================================= */
:root {
  --navy: #082b52;
  --navy-2: #0e3b66;
  --blue: #155b86;
  --gold: #c9952e;
  --gold-2: #e0b956;
  --bronze: #c87135;
  --cream: #fffaf0;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --muted: #66758a;
  --ink: #172235;
  --shadow: 0 24px 70px rgba(8, 43, 82, .16);
  --radius: 28px;
}

/* =========================================================
   CONFIGURACIÓN BASE
   Ajustes generales para toda la página.
========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

.section-pad {
  padding: 86px 0;
}

/* =========================================================
   TÍTULOS Y TEXTOS
   Define estilos para encabezados, párrafos y etiquetas pequeñas.
========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 800;
}

.eyebrow:before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 9px;
  background: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
}

h1,
h2 {
  font-family: 'Cinzel', serif;
  line-height: 1.05;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

p {
  line-height: 1.75;
  color: #3d4958;
}

/* =========================================================
   BOTONES GENERALES
   Botones principales, secundarios y efectos de brillo.
========================================================= */
.btn-primary,
.btn-outline,
.mini-link,
.gallery-nav {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 800;
  transition: .25s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  padding: 15px 24px;
  box-shadow: 0 14px 34px rgba(8, 43, 82, .28);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(8, 43, 82, .34);
}

.btn-outline {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 2px solid rgba(224, 185, 86, .88);
  padding: 13px 24px;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

.shine:after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -50%;
  width: 42px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: rotate(22deg);
  animation: shine 4.8s linear infinite;
}

@keyframes shine {
  0% {
    left: -60%;
  }

  55%,
  100% {
    left: 135%;
  }
}

/* =========================================================
   PRELOADER / PANTALLA DE CARGA
   Pantalla inicial con fondo radial, logo, texto y círculo giratorio.
   Modificado: el logo queda centrado dentro del círculo en PC,
   tablet y celular sin usar top fijo.
========================================================= */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at center, #fff9e8 0, #f7f3e8 24%, #0a1d33 100%);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: var(--ring-size) auto auto;
  justify-items: center;
  align-content: center;
  text-align: center;
  color: #fff;
  transition: opacity .7s ease, visibility .7s ease;
  padding: 24px;
  overflow: hidden;

  /* Tamaño adaptable del círculo y del logo */
  --ring-size: clamp(280px, 70vmin, 400px);
  --logo-size: clamp(165px, 42vmin, 240px);
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  width: var(--logo-size);
  filter: brightness(.35) saturate(.7);
  animation: logoSun 2.2s ease forwards;
  position: relative;
  z-index: 2;
}

.preloader h1 {
  grid-column: 1;
  grid-row: 2;
  color: #082b52;
  font-size: clamp(1.7rem, 5vw, 3.2rem);
  margin-top: 22px;
  text-shadow: 0 12px 30px rgba(8, 43, 82, 0.76);
  animation: fadeUp .8s ease .4s both;
}

.preloader p {
  grid-column: 1;
  grid-row: 3;
  max-width: 620px;
  color: #e7a012;
  margin: 10px auto 0;
  animation: fadeUp .8s ease .65s both;
}

.sun-ring {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  width: var(--ring-size);
  height: var(--ring-size);
  aspect-ratio: 1;
  border: 4px solid rgba(224, 185, 86, .72);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
  filter: drop-shadow(0 0 28px rgba(224, 185, 86, .7));
}

.sun-ring:after {
  content: "";
  position: absolute;
  inset: 42px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 50%;
}

@keyframes logoSun {
  0% {
    filter: brightness(.2) saturate(.5);
    transform: scale(.9);
  }

  70% {
    filter: brightness(1.2) saturate(1.1);
    transform: scale(1.03);
  }

  100% {
    filter: brightness(1) saturate(1);
    transform: scale(1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   CUADRO DE BIENVENIDA
   Modal donde el usuario escribe su nombre antes de ingresar.
========================================================= */
.welcome-gate {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(8, 43, 82, .92), rgba(6, 23, 39, .94));
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: .45s ease;
}

.welcome-gate.is-active {
  opacity: 1;
  visibility: visible;
}

.welcome-card {
  position: relative;
  width: min(520px, 94vw);
  background: rgba(255, 255, 255, .96);
  border-radius: 34px;
  padding: 34px;
  box-shadow: 0 40px 110px rgba(0, 0, 0, .42);
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(224, 185, 86, .35);
}

.welcome-card .halo {
  position: absolute;
  inset: -80px auto auto 50%;
  width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(224, 185, 86, .36), transparent 68%);
  pointer-events: none;
}

.welcome-logo {
  width: 180px;
  margin: 0 auto 16px;
  position: relative;
}

.welcome-card h2 {
  font-size: clamp(1.8rem, 5vw, 2.7rem);
}

.welcome-card p {
  margin: 12px 0 22px;
}

.welcome-form {
  display: grid;
  gap: 12px;
  text-align: left;
}

.welcome-form label {
  font-weight: 800;
  color: var(--navy);
}

.welcome-form input,
.message-form input,
.message-form textarea,
.appointment-form input,
.appointment-form textarea,
.appointment-form select {
  width: 100%;
  border: 1px solid #dce4ed;
  border-radius: 18px;
  padding: 14px 16px;
  background: #fff;
  outline: none;
  transition: .2s ease;
  color: var(--ink);
}

.welcome-form input:focus,
.message-form input:focus,
.message-form textarea:focus,
.appointment-form input:focus,
.appointment-form textarea:focus,
.appointment-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 149, 46, .14);
}

.welcome-card small {
  display: block;
  color: var(--muted);
  margin-top: 16px;
}

/* =========================================================
   TOAST / MENSAJE FLOTANTE
   Mensajes pequeños de confirmación.
========================================================= */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 9500;
  transform: translate(-50%, 30px);
  background: rgba(8, 43, 82, .95);
  color: #fff;
  padding: 14px 18px;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  opacity: 0;
  pointer-events: none;
  transition: .3s ease;
  max-width: min(560px, 92vw);
  font-weight: 700;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast i {
  color: var(--gold);
  margin-right: 8px;
}

/* =========================================================
   CABECERA / MENÚ
   Logo superior, menú de navegación y versión móvil.
========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px min(42px, 4vw);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(8, 43, 82, .08);
  transition: .28s ease;
}

.site-header.solid {
  position: sticky;
  background: #fff;
}

.site-header.scrolled {
  padding-block: 8px;
  box-shadow: 0 12px 42px rgba(8, 43, 82, .14);
}

.brand img {
  width: 130px;
  transition: .25s ease;
}

.site-header.scrolled .brand img {
  width: 108px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: #eef4fa;
  gap: 5px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--navy);
  border-radius: 8px;
  transition: .25s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  font-size: .94rem;
  font-weight: 800;
  color: var(--navy);
  padding: 12px 14px;
  border-radius: 999px;
  transition: .2s ease;
}

.nav-menu a:hover {
  background: #eef4fa;
  color: var(--gold);
}

/* =========================================================
   HERO / BANNER PRINCIPAL
   Slider principal con imagen de fondo, texto y botones.
========================================================= */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
  background: #061727;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.35s ease, transform 7s ease;
  transform: scale(1.05);
}

.hero-bg.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 19, 34, .86) 0, rgba(8, 43, 82, .62) 42%, rgba(8, 43, 82, .05) 100%),
    linear-gradient(0deg, rgba(8, 43, 82, .52), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-block: 80px;
}

.hero-date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 800;
  color: #fff;
  backdrop-filter: blur(12px);
}

.hero-date i {
  color: var(--gold-2);
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
  color: #fff;
  max-width: 760px;
  margin: 20px 0 10px;
  text-shadow: 0 12px 30px rgba(0, 0, 0, .24);
}

.hero p {
  color: #fff;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: .2s;
}

.hero-arrow:hover {
  background: var(--gold);
  color: var(--navy);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dot,
.gallery-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: .25s;
}

.hero-dot.active,
.gallery-dot.active {
  width: 34px;
  border-radius: 999px;
  background: var(--gold);
}

/* =========================================================
   SECCIÓN INTRODUCTORIA
   Texto principal e imagen de presentación.
========================================================= */
.intro-section {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 48px;
  align-items: center;
}

.intro-copy p {
  font-size: 1.05rem;
}

.micro-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.mini-link {
  padding: 12px 16px;
  background: #eef4fa;
  color: var(--navy);
  font-weight: 800;
}

.mini-link:hover {
  background: var(--navy);
  color: #fff;
}

.as-button {
  border: 0;
}

.intro-media {
  position: relative;
}

.intro-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.media-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 900;
  color: var(--navy);
  box-shadow: 0 12px 34px rgba(8, 43, 82, .2);
}

.media-badge i {
  color: var(--gold);
  margin-right: 8px;
}

/* =========================================================
   BENEFICIOS
   Tarjetas con ventajas de los lotes.
========================================================= */
.benefits-wrap {
  background: linear-gradient(135deg, var(--navy), #06192d);
  position: relative;
  overflow: hidden;
}

.benefits-wrap:before {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 185, 86, .24), transparent 64%);
}

.section-title {
  margin-bottom: 34px;
}

.section-title p {
  max-width: 760px;
}

.section-title.light h2,
.section-title.light p {
  color: #fff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}

.benefit-card {
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(224, 185, 86, .18);
  border-radius: 24px;
  padding: 24px;
  transition: .25s;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

.benefit-card:hover {
  transform: translateY(-8px);
  background: #fff;
}

.benefit-card i {
  font-size: 2rem;
  color: var(--gold);
  background: #fff8e8;
  border-radius: 20px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.benefit-card h3 {
  font-size: 1.12rem;
}

.benefit-card p {
  font-size: .93rem;
  margin-bottom: 0;
}

/* =========================================================
   GALERÍA DE LOTES
   Tarjetas de fotos con descripción.
========================================================= */
.lots-section {
  position: relative;
}

.gallery-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.gallery-nav {
  width: 43px;
  height: 43px;
  background: #eef4fa;
  color: var(--navy);
}

.gallery-nav:hover {
  background: var(--gold);
  color: #fff;
}

.gallery-dots {
  display: flex;
  gap: 8px;
}

.gallery-dot {
  background: #cfd8e3;
}

.lots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  min-height: 265px;
}

.lot-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  animation: fadeUp .42s ease both;
}

.lot-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: .4s;
}

.lot-card:hover img {
  transform: scale(1.08);
}

.lot-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 43, 82, .7), transparent 52%);
}

.lot-card .caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  background: rgba(8, 43, 82, .92);
  color: #fff;
  border: 1px solid rgba(224, 185, 86, .5);
  border-radius: 16px;
  padding: 12px;
  text-align: center;
  font-weight: 900;
}

.lot-card .caption small {
  display: block;
  color: #f5d785;
  font-weight: 600;
  margin-top: 3px;
}

/* =========================================================
   UBICACIÓN
   Lista de ubicación y mapa de Google.
========================================================= */
.location-section {
  background: linear-gradient(180deg, #f8fbff, #fffaf0);
}

.location-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 38px;
  align-items: center;
}

.location-list {
  list-style: none;
  padding: 0;
  margin: 26px 0;
  display: grid;
  gap: 14px;
}

.location-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border-radius: 20px;
  padding: 15px 16px;
  box-shadow: 0 12px 30px rgba(8, 43, 82, .08);
}

.location-list i {
  color: var(--gold);
  font-size: 1.2rem;
  width: 26px;
  text-align: center;
}

.map-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 7px solid #fff;
  min-height: 450px;
}

.map-card iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

.map-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: #fff;
  color: var(--navy);
  padding: 12px 15px;
  border-radius: 18px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(8, 43, 82, .16);
}

.map-caption i {
  color: var(--gold);
}

/* =========================================================
   CONTACTO
   Tarjetas de asesores y formulario de mensajes.
========================================================= */
.contact-section {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: stretch;
}

.contact-card,
.message-form {
  background: linear-gradient(135deg, #fff, #f7fbff);
  border: 1px solid #e6edf5;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.advisor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.advisor-card {
  display: grid;
  gap: 4px;
  background: #fff;
  border: 2px solid rgba(201, 149, 46, .35);
  border-radius: 22px;
  padding: 18px;
  transition: .2s;
}

.advisor-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.advisor-card i {
  color: var(--gold);
  font-size: 1.6rem;
}

.advisor-card span {
  font-size: .85rem;
  color: var(--muted);
  font-weight: 700;
}

.advisor-card strong {
  font-size: 1.25rem;
  color: var(--navy);
}

.contact-lines p {
  margin: 8px 0;
  font-weight: 700;
}

.contact-lines i {
  color: var(--gold);
  width: 24px;
}

.message-form {
  display: grid;
  gap: 14px;
}

.message-form h3 {
  font-size: 1.7rem;
}

.message-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: var(--navy);
}

.message-form textarea {
  resize: vertical;
}

/* =========================================================
   FOOTER
   Pie de página con logo, texto y redes sociales.
========================================================= */
.site-footer {
  background: #06192d;
  color: #fff;
  padding: 34px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.footer-grid img {
  width: 126px;
  background: #fff;
  border-radius: 18px;
  padding: 4px;
}

.footer-grid p {
  color: #fff;
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--navy);
  transition: .2s;
}

.social-links a:hover {
  transform: translateY(-4px);
  color: #fff;
  background: var(--gold);
}

.privacy-note {
  text-align: center;
  color: #b8c7d8;
  font-size: .8rem;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 28px;
}

/* =========================================================
   ANIMACIÓN AL HACER SCROLL
   Hace aparecer elementos suavemente.
========================================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-up.in-view {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: .14s;
}

/* =========================================================
   RESPONSIVE TABLET
   Ajustes para pantallas menores a 920px.
========================================================= */
@media (max-width: 920px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 84px;
    left: 5vw;
    right: 5vw;
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: 24px;
    padding: 12px;
    display: grid;
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
  }

  .nav-menu.always {
    position: static;
    opacity: 1;
    visibility: visible;
    display: flex;
    box-shadow: none;
    background: transparent;
    transform: none;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-arrow {
    display: none;
  }

  .intro-section,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .section-pad {
    padding: 64px 0;
  }
}

/* =========================================================
   RESPONSIVE CELULAR
   Ajustes para pantallas pequeñas.
========================================================= */
@media (max-width: 560px) {
  .site-header {
    padding: 9px 16px;
  }

  .brand img {
    width: 102px;
  }

  .hero {
    min-height: 680px;
    padding-top: 92px;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero-actions,
  .advisor-grid {
    display: grid;
  }

  .benefits-grid,
  .lots-grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .message-form,
  .welcome-card {
    padding: 24px;
  }

  .lot-card img {
    height: 220px;
  }

  .map-card,
  .map-card iframe {
    min-height: 360px;
    height: 360px;
  }

  .section-pad {
    padding: 52px 0;
  }

  .preloader-logo {
    width: var(--logo-size);
  }

  .footer-grid img {
    width: 110px;
  }
}

/* =========================================================
   FOOTER PROFESIONAL
========================================================= */
.site-footer {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(224, 185, 86, .18), transparent 32%),
    linear-gradient(135deg, #06192d 0%, #082b52 55%, #04111f 100%);
  color: #fff;
  padding: 46px 0 0;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .04), transparent);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  align-items: center;
  gap: 34px;
}

.footer-brand {
  display: grid;
  gap: 14px;
}

.footer-logo {
  width: 150px;
  background: #fff;
  border-radius: 20px;
  padding: 6px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .22);
}

.footer-message {
  max-width: 360px;
  margin: 0;
  color: #eaf2fb;
  font-size: .95rem;
  line-height: 1.7;
  font-weight: 500;
}

.footer-center {
  text-align: center;
}

.footer-center h3 {
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  margin-bottom: 8px;
  font-family: 'Cinzel', serif;
}

.footer-center p {
  max-width: 520px;
  margin: 0 auto 18px;
  color: #d9e5f3;
  line-height: 1.7;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-links a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .95);
  color: var(--navy);
  font-size: 1.1rem;
  transition: .25s ease;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.06);
  background: var(--gold);
  color: #fff;
  box-shadow: 0 16px 36px rgba(224, 185, 86, .35);
}

.footer-developer {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 170px;
}

.footer-developer span {
  color: #d9e5f3;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.netsemtec-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.netsemtec-logo {
  width: 128px;
  max-height: 62px;
  object-fit: contain;
  opacity: .48;
  filter: grayscale(1) brightness(.85);
  transition: .35s ease;
}

.netsemtec-link:hover .netsemtec-logo {
  opacity: 1;
  filter: grayscale(0) brightness(1.15);
  transform: scale(1.12);
  drop-shadow: 0 0 18px rgba(224, 185, 86, .55);
}

.netsemtec-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 210px;
  background: rgba(6, 25, 45, .96);
  color: #fff;
  border: 1px solid rgba(224, 185, 86, .75);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: .78rem;
  font-weight: 800;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 14px 72px rgba(0, 0, 0, .28);
  transition: .25s ease;
  text-transform: none;
  letter-spacing: 0;
}

.netsemtec-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: rgba(224, 185, 86, .9);
}

.netsemtec-link:hover .netsemtec-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  padding: 16px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .14);
}

.footer-bottom p {
  margin: 0;
  color: #c9d7e8;
  font-size: .86rem;
  font-weight: 600;
}

/* Responsive footer */
@media (max-width: 920px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .footer-brand {
    justify-items: center;
  }

  .footer-message {
    max-width: 521px;
  }

  .footer-developer {
    margin-top: 10px;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding-top: 38px;
  }

  .footer-logo {
    width: 132px;
  }

  .footer-center h3 {
    font-size: 1.45rem;
  }

  .netsemtec-logo {
    width: 115px;
  }

  .netsemtec-tooltip {
    min-width: 190px;
    font-size: .74rem;
  }

  .footer-bottom p {
    font-size: .78rem;
  }
}
.footer-logo-secret {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.footer-logo-secret img {
  transition: .25s ease;
}

.footer-logo-secret:hover img {
  transform: scale(1.04);
  filter: brightness(1.08);
}

/* =========================================================
   RESPONSIVE FINAL PROFESIONAL - LOTES CHEPÉN
   Pegar al final de styles.css.
   Mejora móvil, tablet, laptop y evita desbordes.
========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

section,
header,
footer,
main,
.container {
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 32px));
}

.btn-primary,
.btn-outline,
.mini-link,
.gallery-nav,
.as-button {
  min-height: 46px;
}

input,
textarea,
select,
button {
  max-width: 100%;
}

/* Pantallas grandes y laptops pequeñas */
@media (max-width: 1200px) {
  .container {
    width: min(1080px, calc(100% - 36px));
  }

  .hero h1 {
    max-width: 700px;
  }

  .lots-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    gap: 24px;
  }
}

/* Tablet horizontal y pantallas medianas */
@media (max-width: 1024px) {
  .section-pad {
    padding: 68px 0;
  }

  .hero {
    min-height: 700px;
    padding-top: 108px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 8vw, 5rem);
    max-width: 680px;
  }

  .hero p {
    max-width: 620px;
  }

  .intro-section,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .intro-media {
    max-width: 760px;
    width: 100%;
    margin-inline: auto;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advisor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-card,
  .message-form {
    padding: 28px;
  }

  .map-card,
  .map-card iframe {
    min-height: 400px;
    height: 400px;
  }
}

/* Tablet vertical y celulares grandes */
@media (max-width: 768px) {
  :root {
    --radius: 22px;
  }

  .container {
    width: min(100% - 28px, 720px);
  }

  .section-pad {
    padding: 58px 0;
  }

  h2 {
    font-size: clamp(1.85rem, 7vw, 2.55rem);
    line-height: 1.12;
  }

  p {
    font-size: .98rem;
    line-height: 1.68;
  }

  .eyebrow {
    font-size: .72rem;
    letter-spacing: .12em;
  }

  .eyebrow:before {
    width: 26px;
  }

  .site-header {
    padding: 9px 14px;
  }

  .brand img {
    width: 104px;
  }

  .site-header.scrolled .brand img {
    width: 96px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    flex-shrink: 0;
  }

  .nav-menu:not(.always) {
    top: 72px;
    left: 14px;
    right: 14px;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    border-radius: 20px;
    padding: 10px;
  }

  .nav-menu:not(.always) a {
    width: 100%;
    justify-content: center;
    padding: 13px 14px;
    border-radius: 15px;
  }

  .hero {
    min-height: auto;
    padding-top: 102px;
    padding-bottom: 64px;
    align-items: flex-end;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(4, 19, 34, .34) 0%, rgba(4, 19, 34, .82) 46%, rgba(4, 19, 34, .94) 100%),
      linear-gradient(90deg, rgba(8, 43, 82, .72), rgba(8, 43, 82, .22));
  }

  .hero-content {
    padding-block: 52px 28px;
  }

  .hero-date {
    font-size: .84rem;
    padding: 9px 13px;
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.55rem);
    line-height: 1.04;
    margin: 16px 0 10px;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.62;
    max-width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    margin-top: 24px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline,
  .hero-actions button,
  .hero-actions a {
    width: 100%;
    justify-content: center;
  }

  .hero-dots {
    bottom: 16px;
  }

  .intro-section,
  .location-grid,
  .contact-grid {
    gap: 28px;
  }

  .intro-copy p {
    font-size: .98rem;
  }

  .micro-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .micro-actions .mini-link,
  .micro-actions .as-button,
  .micro-actions a,
  .micro-actions button {
    width: 100%;
    justify-content: center;
  }

  .intro-media img {
    aspect-ratio: 4 / 3;
    width: 100%;
  }

  .media-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    text-align: center;
    justify-content: center;
    border-radius: 16px;
  }

  .benefits-grid,
  .lots-grid,
  .advisor-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    padding: 21px;
    border-radius: 22px;
  }

  .benefit-card:hover,
  .advisor-card:hover,
  .lot-card:hover img {
    transform: none;
  }

  .gallery-toolbar {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .gallery-dots {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .lots-grid {
    gap: 16px;
    min-height: 0;
  }

  .lot-card {
    border-radius: 22px;
  }

  .lot-card img {
    height: auto;
    aspect-ratio: 16 / 11;
    object-fit: cover;
  }

  .lot-card .caption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 10px;
    border-radius: 14px;
    font-size: .95rem;
  }

  .lot-card .caption small {
    font-size: .78rem;
  }

  .location-list {
    gap: 12px;
    margin: 22px 0;
  }

  .location-list li {
    padding: 14px;
    border-radius: 18px;
  }

  .map-card {
    border-width: 4px;
    border-radius: 22px;
  }

  .map-card,
  .map-card iframe {
    min-height: 360px;
    height: 360px;
  }

  .map-caption {
    position: static;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
  }

  .contact-card,
  .message-form,
  .welcome-card {
    padding: 24px;
    border-radius: 24px;
  }

  .message-form h3 {
    font-size: 1.45rem;
  }

  .welcome-logo {
    width: 150px;
  }

  .toast {
    left: 14px;
    right: 14px;
    bottom: 18px;
    max-width: none;
    transform: translateY(28px);
    text-align: center;
  }

  .toast.show {
    transform: translateY(0);
  }

  .site-footer {
    padding-top: 38px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
    justify-items: center;
  }

  .footer-brand {
    justify-items: center;
  }

  .footer-logo,
  .footer-grid img {
    width: 128px;
  }

  .footer-message {
    max-width: 100%;
    font-size: .92rem;
  }

  .footer-center h3 {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
  }

  .footer-center p {
    font-size: .92rem;
    margin-bottom: 15px;
  }

  .social-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-developer {
    width: 100%;
  }

  .netsemtec-logo {
    width: 112px;
  }

  .netsemtec-tooltip {
    display: none;
  }

  .footer-bottom {
    margin-top: 26px;
    padding: 14px 16px;
  }

  .footer-bottom p {
    font-size: .78rem;
    line-height: 1.55;
  }
}

/* Celulares pequeños: iPhone SE, Android compactos */
@media (max-width: 420px) {
  .container {
    width: min(100% - 22px, 398px);
  }

  .section-pad {
    padding: 46px 0;
  }

  .preloader {
    padding: 18px;
    --ring-size: clamp(210px, 74vw, 270px);
    --logo-size: clamp(126px, 45vw, 170px);
  }

  .preloader h1 {
    font-size: clamp(1.45rem, 8vw, 2.1rem);
    margin-top: 16px;
  }

  .preloader p {
    font-size: .92rem;
  }

  .site-header {
    padding: 8px 11px;
  }

  .brand img {
    width: 96px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .nav-menu:not(.always) {
    left: 11px;
    right: 11px;
    top: 68px;
  }

  .hero {
    padding-top: 94px;
    padding-bottom: 56px;
  }

  .hero-content {
    padding-block: 44px 24px;
  }

  .hero h1 {
    font-size: clamp(2rem, 12vw, 2.85rem);
  }

  .hero p {
    font-size: .94rem;
  }

  .btn-primary,
  .btn-outline,
  .mini-link {
    width: 100%;
    padding: 13px 16px;
    font-size: .92rem;
    text-align: center;
  }

  .welcome-card,
  .contact-card,
  .message-form,
  .benefit-card {
    padding: 20px;
  }

  .welcome-card h2 {
    font-size: 1.65rem;
  }

  .intro-media img,
  .lot-card img {
    aspect-ratio: 4 / 3;
  }

  .lot-card .caption {
    font-size: .9rem;
  }

  .map-card,
  .map-card iframe {
    min-height: 315px;
    height: 315px;
  }

  .advisor-card strong {
    font-size: 1.08rem;
  }

  .footer-logo,
  .footer-grid img {
    width: 118px;
  }

  .social-links a {
    width: 42px;
    height: 42px;
  }
}

/* Celulares muy pequeños */
@media (max-width: 360px) {
  .container {
    width: min(100% - 18px, 342px);
  }

  .hero h1 {
    font-size: 1.92rem;
  }

  .hero-date {
    font-size: .76rem;
  }

  .hero p,
  p,
  .footer-center p,
  .footer-message {
    font-size: .9rem;
  }

  .lot-card .caption {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
}

/* Corrección del brillo Netsemtec: drop-shadow debe ir dentro de filter */
.netsemtec-link:hover .netsemtec-logo {
  filter: grayscale(0) brightness(1.15) drop-shadow(0 0 18px rgba(224, 185, 86, .55));
}
