/* Valle de Mañil — Parque Residencial — Estilos Principales */

/* ============================================================
   VALLE DE MANIL — Estilos Principales
   Paleta: #5b9439 | #91b233 | #bc9e6c | #684b1f | #4972b2 | #93d5f0 | #c7cbd3
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --verde:      #5b9439;
  --verde-dark: #3d6626;
  --verde-mid:  #91b233;
  --verde-light:#e8f4d8;
  --tierra:     #684b1f;
  --tierra-light:#bc9e6c;
  --crema:      #f5f2ec;
  --crema-dark: #e6dfd4;
  --blanco:     #ffffff;
  --gris-claro: #f4f4f4;
  --gris:       #888;
  --gris-dark:  #444;
  --negro:      #1a1a1a;
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body:  'Lato', Arial, sans-serif;
  --shadow:     0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.18);
  --radius:     6px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--negro);
  background: var(--blanco);
  line-height: 1.7;
  overflow-x: hidden;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.4s ease, padding 0.4s ease;
  padding: 12px 0;
}

.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  padding: 10px 0;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 4px 0;
}

.nav-logo img {
  height: 60px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  filter: none;
  transition: height 0.3s ease;
}
.navbar.scrolled .nav-logo img {
  height: 48px;
}

.nav-brand {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blanco);
  letter-spacing: 1px;
  line-height: 1.2;
}

/* Nav Menu */
.nav-menu { flex: 1; display: flex; justify-content: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list > li { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #3a3a3a;
  transition: var(--transition);
  border-radius: var(--radius);
}

.nav-link:hover,
.nav-link.active {
  color: var(--verde);
  background: rgba(91,148,57,0.08);
}

.nav-link .fa { font-size: 0.65rem; transition: transform 0.3s; }
.has-dropdown:hover .nav-link .fa { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--verde-dark);
  min-width: 200px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  border-top: 3px solid var(--tierra-light);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
}

.dropdown li a:hover {
  color: var(--tierra-light);
  background: rgba(255,255,255,0.06);
  padding-left: 24px;
}

/* Nav Icons */
.nav-contact-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(91,148,57,0.1);
  color: var(--verde-dark);
  font-size: 0.9rem;
  transition: var(--transition);
  border: 1px solid rgba(91,148,57,0.2);
}

.nav-icon:hover { background: var(--tierra); border-color: var(--tierra); transform: scale(1.1); }
.nav-icon-ws:hover { background: #25D366; border-color: #25D366; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--verde-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 40px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-hero {
  background: var(--tierra-light);
  color: var(--negro);
  border-color: var(--tierra-light);
  margin-top: 32px;
}
.btn-hero:hover {
  background: transparent;
  color: var(--tierra-light);
  border-color: var(--tierra-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,154,42,0.3);
}

.btn-primary {
  background: var(--verde);
  color: var(--blanco);
  border-color: var(--verde);
}
.btn-primary:hover {
  background: var(--verde-dark);
  border-color: var(--verde-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44,95,46,0.3);
}

.btn-light {
  background: var(--blanco);
  color: var(--verde-dark);
  border-color: var(--blanco);
}
.btn-light:hover {
  background: transparent;
  color: var(--blanco);
  border-color: var(--blanco);
  transform: translateY(-2px);
}

.btn-full { width: 100%; text-align: center; border-radius: var(--radius); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section { padding: 90px 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header-light { text-align: center; margin-bottom: 48px; }

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--verde-dark);
  letter-spacing: 1px;
}

.section-header-light .section-title { color: var(--blanco); }

.section-line {
  width: 60px; height: 3px;
  background: var(--tierra-light);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-line-light { background: rgba(255,255,255,0.6); }

.section-subtitle {
  margin-top: 16px;
  font-size: 1rem;
  color: var(--gris);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle-light {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-top: 12px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: url('../img/hero-bg.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,30,10,0.0) 0%,
    rgba(10,30,10,0.15) 25%,
    rgba(10,30,10,0.45) 60%,
    rgba(10,30,10,0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--blanco);
  padding: 0 20px;
  animation: fadeInUp 1.2s ease both;
}

.hero-tagline {
  font-size: 0.8rem;
  letter-spacing: 4px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 4px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: clamp(0.85rem, 2vw, 1rem);
  letter-spacing: 3px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-top: 20px;
  text-transform: uppercase;
}

.hero-divider {
  width: 50px; height: 2px;
  background: var(--tierra-light);
  margin: 20px auto;
}

.hero-scroll-down {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll-down a {
  color: rgba(255,255,255,0.7);
  font-size: 1.4rem;
  transition: var(--transition);
}

.hero-scroll-down a:hover { color: var(--tierra-light); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

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

/* ============================================================
   NOSOTROS
   ============================================================ */
.nosotros { background: var(--blanco); padding-bottom: 0; }

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.nosotros-text h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--verde-dark);
  margin-bottom: 20px;
}

.nosotros-text p {
  color: var(--gris-dark);
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.8;
}

.nosotros-text .btn { margin-top: 12px; }

.nosotros-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.nosotros-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

.nosotros-badge {
  position: absolute;
  bottom: 28px;
  left: -20px;
  background: var(--verde);
  color: var(--blanco);
  padding: 20px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.badge-num {
  display: block;
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--tierra-light);
}

.badge-text {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Stats Bar */
.stats-bar {
  margin-top: 80px;
  background: var(--verde-dark);
  padding: 40px 24px;
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 20px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  display: block;
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--tierra-light);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}

/* ============================================================
   PROYECTO
   ============================================================ */
.proyecto { padding: 0; }

.proyecto-hero {
  position: relative;
  background: url('../img/nosotros-bg.jpg') center center / cover no-repeat;
  padding: 100px 0;
}

.proyecto-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,40,15,0.72);
}

.proyecto-hero .container { position: relative; z-index: 2; }

.proyecto-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: rgba(255,255,255,0.9);
}

.proyecto-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.proyecto-content .btn { margin-top: 16px; }

/* Características */
.caracteristicas {
  background: var(--crema);
  padding: 80px 0;
}

.caract-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.caract-card {
  background: var(--blanco);
  border-radius: 10px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.caract-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-bottom-color: var(--verde);
}

.caract-icon {
  width: 64px; height: 64px;
  background: var(--verde-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--verde);
  transition: var(--transition);
}

.caract-card:hover .caract-icon {
  background: var(--verde);
  color: var(--blanco);
}

.caract-card h4 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--verde-dark);
  margin-bottom: 12px;
}

.caract-card p {
  font-size: 0.9rem;
  color: var(--gris-dark);
  line-height: 1.7;
}

/* Actividades */
.actividades {
  background: var(--blanco);
  padding: 80px 0;
}

.act-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.act-col h4 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--verde-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.act-col h4 .fa { color: var(--tierra-light); }

.act-col ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--gris-dark);
  border-bottom: 1px solid var(--crema-dark);
}

.act-col ul li .fa { color: var(--verde); font-size: 0.75rem; }

.act-img-col {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.act-img-col img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.act-img-col:hover img { transform: scale(1.05); }

/* ============================================================
   GALERÍA
   ============================================================ */
.galeria { background: var(--gris-claro); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,61,27,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  font-size: 1.8rem;
  color: var(--blanco);
}

.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.93);
  align-items: center;
  justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--blanco);
  cursor: pointer;
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--verde);
  border-color: var(--verde);
}

/* ============================================================
   UBICACIÓN
   ============================================================ */
.ubicacion { padding: 0; }

.ubicacion-hero {
  position: relative;
  background: url('../img/proyecto-bg.jpg') center center / cover no-repeat;
  padding: 80px 0;
}

.ubicacion-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,40,15,0.68);
}

.ubicacion-hero .container { position: relative; z-index: 2; }

.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
  padding: 72px 0;
}

.ubicacion-info h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--verde-dark);
  margin-bottom: 28px;
}

.distancia-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--crema-dark);
}

.distancia-item .fa {
  color: var(--verde);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.distancia-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--verde-dark);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.distancia-item p {
  font-size: 0.9rem;
  color: var(--gris-dark);
  line-height: 1.6;
  margin: 0;
}

.ubicacion-map {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.ubicacion-map iframe { display: block; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto { background: var(--crema); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}

.contacto-form-wrap h3,
.contacto-info h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--verde-dark);
  margin-bottom: 28px;
}

/* Form */
.contacto-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { position: relative; }

.contacto-form input,
.contacto-form textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--negro);
  background: var(--blanco);
  border: 1.5px solid #ddd;
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(44,95,46,0.1);
}

.contacto-form input.error,
.contacto-form textarea.error { border-color: #e53935; }

.form-error {
  display: block;
  font-size: 0.78rem;
  color: #e53935;
  margin-top: 4px;
  min-height: 16px;
}

.form-success {
  background: #e8f5e9;
  color: var(--verde-dark);
  border: 1px solid var(--verde);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* Contact Info */
.contact-item { margin-bottom: 20px; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--blanco);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.contact-link:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.contact-ws:hover  { border-left-color: #25D366; }
.contact-email:hover { border-left-color: var(--verde); }

.contact-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--verde-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--verde);
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-ws .contact-icon  { background: #e8f8ee; color: #25D366; }
.contact-ws:hover .contact-icon  { background: #25D366; color: var(--blanco); }
.contact-email:hover .contact-icon { background: var(--verde); color: var(--blanco); }

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-text strong {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gris);
}

.contact-text span {
  font-size: 0.95rem;
  color: var(--negro);
  font-weight: 400;
}

.contact-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-btn:hover { background: var(--verde-dark); transform: translateY(-3px); }
.social-btn-ws:hover { background: #25D366; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--verde-dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo { height: 50px; width: auto; max-width: 220px; margin-bottom: 16px; filter: brightness(0) invert(1); }

.footer-tagline {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blanco);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}

.footer-links h5,
.footer-contact h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tierra-light);
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--tierra-light);
  padding-left: 6px;
}

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact .fa,
.footer-contact .fab {
  color: var(--tierra-light);
  width: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
}

.footer-social a:hover {
  background: var(--tierra);
  color: var(--blanco);
  border-color: var(--tierra);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: var(--tierra-light);
  transition: var(--transition);
}

.footer-bottom a:hover { color: var(--blanco); }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.ws-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 58px; height: 58px;
  background: #25D366;
  color: var(--blanco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--transition);
  animation: pulse-ws 2.5s infinite;
}

.ws-float:hover {
  background: #128C7E;
  transform: scale(1.1);
  animation: none;
}

@keyframes pulse-ws {
  0%   { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50%  { box-shadow: 0 4px 36px rgba(37,211,102,0.7); }
  100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
}

.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 900;
  width: 44px; height: 44px;
  background: var(--verde);
  color: var(--blanco);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover { background: var(--verde-dark); transform: translateY(-3px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .caract-grid { grid-template-columns: repeat(2, 1fr); }
  .act-grid    { grid-template-columns: 1fr 1fr; }
  .act-img-col { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Navbar mobile */
  .nav-toggle { display: flex; }
  .nav-contact-icons { display: none; }

  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--verde-dark);
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 24px 40px;
    transition: right 0.35s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.3);
    overflow-y: auto;
  }

  .nav-menu.open { right: 0; }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav-list > li { width: 100%; }

  .nav-link {
    padding: 14px 8px;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0,0,0,0.2);
    border-top: none;
    border-left: 3px solid var(--tierra-light);
    margin-left: 16px;
    display: none;
    border-radius: 0;
  }

  .has-dropdown.open .dropdown { display: block; }

  /* Sections */
  .nosotros-grid   { grid-template-columns: 1fr; gap: 40px; }
  .nosotros-badge  { left: 16px; }
  .nosotros-img img { height: 320px; }

  .stats-bar { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child { border-bottom: none; }

  .caract-grid { grid-template-columns: 1fr; }
  .act-grid    { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .ubicacion-grid   { grid-template-columns: 1fr; padding: 48px 0; }
  .contacto-grid    { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; gap: 32px; }

  .hero-title { font-size: clamp(2.5rem, 12vw, 4rem); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 28px; font-size: 0.78rem; }
  .hero-tagline { font-size: 0.7rem; letter-spacing: 2px; }
  .hero-subtitle { font-size: 0.75rem; letter-spacing: 2px; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   LOTES Y DISPONIBILIDAD
   ============================================================ */
.section-kicker,
.modal-eyebrow {
  display: inline-block;
  color: var(--verde);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.lotes-section {
  background: linear-gradient(180deg, #f8faf6 0%, #ffffff 100%);
}

.lotes-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 920px;
  margin: 0 auto 36px;
}

.lotes-summary-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid rgba(91, 148, 57, 0.16);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(42, 64, 34, 0.07);
}

.lotes-summary-item > i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: rgba(91, 148, 57, 0.11);
  color: var(--verde);
  font-size: 1.25rem;
}

.lotes-summary-item.available > i {
  color: #4c8d2e;
  background: rgba(76, 141, 46, 0.12);
}

.lotes-summary-item.sold > i {
  color: #9b3636;
  background: rgba(155, 54, 54, 0.1);
}

.lotes-summary-item strong,
.lotes-summary-item span {
  display: block;
}

.lotes-summary-item strong {
  color: var(--verde-dark);
  font-family: var(--font-title);
  font-size: 1.6rem;
  line-height: 1;
}

.lotes-summary-item span {
  margin-top: 5px;
  color: var(--gris);
  font-size: 0.82rem;
}

.lotes-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e7ece5;
  border-radius: 10px;
}

.lotes-toolbar p {
  margin: 0;
  color: #556052;
  font-size: 0.88rem;
}

.lotes-toolbar p i {
  color: var(--verde);
  margin-right: 6px;
}

.lotes-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lotes-filter {
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid #d8e2d5;
  border-radius: 20px;
  background: #fff;
  color: #50604c;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.lotes-filter:hover,
.lotes-filter.active {
  border-color: var(--verde);
  background: var(--verde);
  color: #fff;
}

.lotes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.lote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e9df;
  border-radius: 13px;
  box-shadow: 0 10px 26px rgba(28, 53, 25, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lote-card::after {
  position: absolute;
  right: -50px;
  bottom: -64px;
  width: 154px;
  height: 154px;
  border: 1px solid rgba(91, 148, 57, 0.12);
  border-radius: 50%;
  content: '';
}

.lote-card.disponible:hover {
  transform: translateY(-5px);
  border-color: rgba(91, 148, 57, 0.5);
  box-shadow: 0 16px 34px rgba(28, 53, 25, 0.13);
}

.lote-card.vendido {
  border-color: #ead4d4;
  background: linear-gradient(160deg, #fff 0%, #fcf7f7 100%);
}

.lote-card.vendido::after {
  border-color: rgba(154, 54, 54, 0.11);
}

.lote-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.lote-label {
  margin: 0;
  color: var(--verde-dark);
  font-family: var(--font-title);
  font-size: 1.7rem;
  line-height: 1;
}

.lote-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 20px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.lote-status.disponible {
  background: #e8f4e2;
  color: #3d7524;
}

.lote-status.vendido {
  background: #f8e4e4;
  color: #943939;
}

.lote-status i {
  font-size: 0.72rem;
}

.lote-card .lote-rule {
  width: 42px;
  height: 3px;
  margin: 20px 0 18px;
  border-radius: 4px;
  background: var(--tierra-light);
}

.lote-details {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.lote-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5d675a;
  font-size: 0.9rem;
}

.lote-detail i {
  width: 16px;
  color: var(--verde);
  text-align: center;
}

.lote-detail strong {
  color: #354534;
}

.lote-card .lote-action {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: auto;
  padding: 12px 15px;
  border: 0;
  border-radius: 6px;
  background: var(--verde);
  color: #fff;
  font: inherit;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
}

.lote-card .lote-action:hover {
  background: var(--verde-dark);
  transform: translateY(-1px);
}

.lote-card .lote-action[disabled] {
  background: #b38383;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.9;
}

.lote-sold-message {
  position: relative;
  z-index: 1;
  margin: auto 0 0;
  color: #8a5555;
  font-size: 0.82rem;
  line-height: 1.45;
}

.lotes-empty {
  padding: 28px;
  text-align: center;
  color: #687264;
  background: #fff;
  border: 1px dashed #ccd8c9;
  border-radius: 10px;
}

/* Modal de consulta de lotes */
.lote-modal {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lote-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 34, 19, 0.68);
}

.lote-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 580px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.34);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}

.lote-modal.open .lote-modal-dialog {
  transform: translateY(0) scale(1);
}

.lote-modal-header {
  padding: 30px 34px 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--verde-dark), var(--verde));
}

.lote-modal-header h3 {
  margin: 8px 0 7px;
  font-family: var(--font-title);
  font-size: 2rem;
}

.lote-modal-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.5;
}

.lote-modal-header .modal-eyebrow {
  color: #d9eccf;
}

.lote-modal-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.17);
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
}

.lote-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.lote-modal-form {
  padding: 28px 34px 32px;
}

.lote-modal-form label {
  display: block;
  margin-bottom: 8px;
  color: #435140;
  font-size: 0.79rem;
  font-weight: 700;
}

.lote-modal-form label span {
  color: #b33a3a;
}

.lote-modal-form input,
.lote-modal-form textarea {
  width: 100%;
  border: 1px solid #d9e3d7;
  border-radius: 6px;
  padding: 12px 13px;
  color: #374335;
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lote-modal-form textarea {
  resize: vertical;
}

.lote-modal-form input:focus,
.lote-modal-form textarea:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(91, 148, 57, 0.12);
}

.lote-modal-form .form-group {
  margin-bottom: 17px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lote-form-feedback {
  display: none;
  margin: 16px 0 0;
  padding: 11px 13px;
  border-radius: 6px;
  font-size: 0.84rem;
  line-height: 1.45;
}

.lote-form-feedback.success {
  display: block;
  color: #1c602b;
  background: #e3f3e5;
}

.lote-form-feedback.error {
  display: block;
  color: #8a3030;
  background: #fae7e7;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .lotes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .lotes-summary { grid-template-columns: 1fr; gap: 11px; }
  .lotes-toolbar { align-items: flex-start; flex-direction: column; }
  .lotes-grid { grid-template-columns: 1fr; }
  .lote-modal { padding: 12px; }
  .lote-modal-header, .lote-modal-form { padding-left: 22px; padding-right: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 400px) {
  .lotes-filter { width: 100%; justify-content: space-between; }
  .lotes-filter button { flex: 1; padding-left: 8px; padding-right: 8px; }
  .lote-card { padding: 20px; }
}

/* Fichas visuales de lotes: imágenes referenciales y características */
.lote-card {
  min-height: 0;
  padding: 0;
  border-color: #dce6d9;
  border-radius: 15px;
  background: #fff;
}

.lote-card::after { display: none; }

.lote-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dbe9f1;
}

.lote-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.35s ease;
}

.lote-card.disponible:hover .lote-visual img { transform: scale(1.055); }

.lote-card.vendido .lote-visual img {
  filter: grayscale(0.56) saturate(0.65);
}

.lote-image-caption {
  position: absolute;
  bottom: 10px;
  left: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 4px;
  background: rgba(30, 44, 27, 0.72);
  color: #fff;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
}

.lote-sold-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 10px 16px;
  border: 2px solid rgba(255,255,255,0.82);
  border-radius: 4px;
  background: rgba(128, 43, 43, 0.88);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 2.2px;
  line-height: 1;
  transform: translate(-50%, -50%) rotate(-7deg);
  box-shadow: 0 5px 16px rgba(45, 15, 15, 0.3);
}

.lote-card-body {
  display: flex;
  min-height: 222px;
  padding: 19px 20px 20px;
  flex-direction: column;
}

.lote-card-top { gap: 8px; }

.lote-category {
  margin: 0 0 5px;
  color: #668455;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.7px;
  line-height: 1.2;
  text-transform: uppercase;
}

.lote-category i { margin-right: 4px; color: var(--verde-mid); }

.lote-label {
  font-size: 1.52rem;
  line-height: 1.06;
}

.lote-card .lote-rule {
  margin: 15px 0;
}

.lote-details { gap: 9px; margin-bottom: 17px; }

.lote-detail {
  padding-bottom: 8px;
  border-bottom: 1px solid #edf1eb;
  font-size: 0.83rem;
}

.lote-detail:last-child { padding-bottom: 0; border-bottom: 0; }

.lote-card .lote-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  margin-top: auto;
  border-radius: 7px;
  background: var(--verde);
}

.lote-card .lote-action i { font-size: 0.7rem; transition: transform 0.2s ease; }
.lote-card .lote-action:hover i { transform: translateX(3px); }

.lote-sold-message {
  min-height: 40px;
  margin: auto 0 10px;
  padding: 8px 9px;
  border-left: 3px solid #b38383;
  background: #fbf2f2;
  color: #8a5555;
  font-size: 0.74rem;
}

.lote-card.vendido {
  border-color: #e5d1d1;
  background: #fff;
}

.lote-card.vendido .lote-card-body { background: #fffdfd; }

@media (max-width: 650px) {
  .lote-card-body { min-height: 214px; padding: 17px; }
  .lote-label { font-size: 1.4rem; }
  .lote-status { padding: 6px 8px; font-size: 0.6rem; }
}

/* Páginas individuales de lotes */
.detail-page { background: #f6f8f3; color: #374135; }
.detail-site-header { position: sticky; z-index: 100; top: 0; background: #fff; border-bottom: 1px solid #e5ebe2; box-shadow: 0 3px 16px rgba(28, 53, 25, 0.07); }
.detail-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.detail-brand { display: inline-flex; align-items: center; }
.detail-brand img { display: block; width: min(205px, 42vw); height: auto; }
.detail-nav { display: flex; align-items: center; gap: 9px; }
.detail-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 6px; color: #395d2c; font-size: 0.69rem; font-weight: 800; letter-spacing: 0.65px; text-decoration: none; transition: var(--transition); }
.detail-nav a:hover { background: #eef5eb; color: var(--verde-dark); }
.detail-nav a:last-child { background: #eef7e9; color: #3f7b2a; }
.detail-nav a:last-child:hover { background: var(--verde); color: #fff; }

.lot-detail-hero { padding: 45px 0 58px; background: linear-gradient(135deg, #edf5eb 0%, #f9faf6 58%, #e9f2f4 100%); }
.detail-breadcrumb { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 27px; color: #597553; font-size: 0.73rem; font-weight: 800; letter-spacing: 0.55px; text-decoration: none; text-transform: uppercase; }
.detail-breadcrumb:hover { color: var(--verde-dark); }
.detail-hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr); align-items: center; gap: clamp(32px, 6vw, 82px); }
.detail-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.detail-title-row h1 { margin: 4px 0 12px; color: var(--verde-dark); font-family: var(--font-title); font-size: clamp(2.7rem, 5vw, 4.5rem); line-height: 0.95; }
.detail-state { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px; padding: 8px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.75px; text-transform: uppercase; }
.detail-state.available { background: #e6f3e0; color: #397726; }
.detail-state.sold { background: #fae3e3; color: #943939; }
.detail-intro { max-width: 530px; margin: 0 0 24px; color: #61705c; font-size: 1rem; line-height: 1.7; }
.detail-metrics { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.detail-metrics > div { display: flex; align-items: center; min-width: 150px; gap: 10px; padding: 12px 15px; border: 1px solid #dce8d8; border-radius: 9px; background: rgba(255,255,255,0.78); }
.detail-metrics i { color: var(--verde); font-size: 1.1rem; }
.detail-metrics span { display: grid; gap: 2px; color: #74816f; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; }
.detail-metrics strong { color: #344d2b; font-size: 0.95rem; font-weight: 800; text-transform: none; }
.detail-hero-cta, .detail-info-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 19px; border-radius: 7px; background: var(--verde); color: #fff; font-size: 0.71rem; font-weight: 900; letter-spacing: 0.9px; text-decoration: none; transition: var(--transition); }
.detail-hero-cta:hover, .detail-info-button:hover { background: var(--verde-dark); color: #fff; transform: translateY(-1px); }
.detail-sold-note { display: inline-flex; align-items: center; gap: 8px; color: #9b5555; font-size: 0.85rem; font-weight: 700; }
.detail-main-image { position: relative; margin: 0; overflow: hidden; border-radius: 15px; box-shadow: 0 19px 40px rgba(31, 59, 24, 0.19); }
.detail-main-image img { display: block; width: 100%; min-height: 370px; aspect-ratio: 16 / 9; object-fit: cover; }
.detail-main-image figcaption { position: absolute; right: 13px; bottom: 13px; padding: 6px 9px; border-radius: 4px; background: rgba(26, 42, 23, 0.76); color: #fff; font-size: 0.61rem; font-weight: 800; letter-spacing: 0.55px; text-transform: uppercase; }

.lot-detail-content { padding: 76px 0; background: #fff; }
.detail-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 0.37fr); align-items: start; gap: clamp(34px, 7vw, 100px); }
.detail-description h2, .detail-section-heading h2, .detail-contact-copy h2 { margin: 5px 0 14px; color: var(--verde-dark); font-family: var(--font-title); font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.05; }
.detail-description > p:not(.eyebrow) { max-width: 660px; color: #657063; font-size: 0.99rem; line-height: 1.75; }
.detail-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 29px; }
.detail-features > div { display: flex; align-items: center; gap: 11px; padding: 14px; border: 1px solid #e4ece0; border-radius: 8px; background: #fbfcfa; }
.detail-features i { width: 23px; color: var(--verde); font-size: 1.1rem; text-align: center; }
.detail-features span { display: grid; gap: 3px; color: #7a8675; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; }
.detail-features strong { color: #3d4e39; font-size: 0.86rem; text-transform: none; }
.detail-info-card { padding: 25px; border: 1px solid #dfe9dc; border-top: 4px solid var(--tierra-light); border-radius: 12px; background: #fafcf9; box-shadow: 0 12px 29px rgba(38, 68, 30, 0.08); }
.detail-info-label { margin: 0; color: #7f9a72; font-size: 0.62rem; font-weight: 900; letter-spacing: 1px; }
.detail-info-card h3 { margin: 8px 0 18px; color: var(--verde-dark); font-family: var(--font-title); font-size: 1.8rem; }
.detail-info-card dl { margin: 0 0 22px; }
.detail-info-card dl div { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-top: 1px solid #e9efE7; }
.detail-info-card dt { color: #71806d; font-size: 0.78rem; }
.detail-info-card dd { margin: 0; color: #364833; font-size: 0.78rem; font-weight: 800; text-align: right; }
.text-available { color: #3d7c28 !important; }.text-sold { color: #9d4b4b !important; }
.detail-info-button { width: 100%; }

.detail-gallery-section { padding: 72px 0; background: #f2f7ef; }
.detail-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 29px; }
.detail-section-heading > p { max-width: 340px; margin: 0 0 5px; color: #6e7d69; font-size: 0.9rem; line-height: 1.55; }
.detail-gallery { display: grid; grid-template-columns: 1.45fr 0.8fr 0.8fr; gap: 15px; }
.detail-gallery-item { position: relative; min-height: 220px; overflow: hidden; padding: 0; border: 0; border-radius: 10px; background: #dbe9ee; cursor: zoom-in; }
.detail-gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.detail-gallery-item:hover img { transform: scale(1.055); }
.detail-gallery-item span { position: absolute; right: 10px; bottom: 10px; display: inline-flex; gap: 7px; align-items: center; padding: 7px 9px; border-radius: 4px; background: rgba(25, 42, 22, 0.74); color: #fff; font-size: 0.63rem; font-weight: 800; letter-spacing: 0.55px; text-transform: uppercase; }
.detail-gallery-main { min-height: 330px; }
.detail-lightbox { position: fixed; z-index: 6000; inset: 0; display: grid; place-items: center; padding: 35px; background: rgba(18, 27, 16, 0.92); opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.detail-lightbox.open { opacity: 1; pointer-events: auto; }
.detail-lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: 7px; box-shadow: 0 20px 50px #000; }
.detail-lightbox-close { position: absolute; top: 20px; right: 25px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,0.45); border-radius: 50%; background: transparent; color: #fff; font-size: 1.1rem; cursor: pointer; }

.detail-contact-section { padding: 77px 0; background: linear-gradient(120deg, #3d6626, #5b9439); }
.detail-contact-grid { display: grid; grid-template-columns: minmax(0, 0.74fr) minmax(370px, 0.95fr); align-items: center; gap: clamp(35px, 7vw, 100px); }
.detail-contact-copy .eyebrow { color: #d1edc5; }.detail-contact-copy h2 { color: #fff; }.detail-contact-copy > p:not(.eyebrow) { max-width: 450px; color: #e1f0dc; line-height: 1.7; }
.detail-contact-lot { display: inline-flex; align-items: center; gap: 11px; margin-top: 17px; padding: 12px 14px; border: 1px solid rgba(255,255,255,0.25); border-radius: 8px; background: rgba(255,255,255,0.09); color: #e8f4e2; }.detail-contact-lot i { font-size: 1.3rem; color: #d0e28c; }.detail-contact-lot span { display: grid; gap: 2px; font-size: 0.78rem; }.detail-contact-lot strong { color: #fff; font-size: 0.9rem; }
.detail-contact-form { padding: 25px; border-radius: 12px; background: #fff; box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16); }
.detail-contact-form label { display: grid; gap: 7px; margin-bottom: 13px; color: #53604f; font-size: 0.71rem; font-weight: 800; letter-spacing: 0.2px; }
.detail-contact-form input, .detail-contact-form textarea { width: 100%; padding: 11px 12px; border: 1px solid #dce6d8; border-radius: 6px; background: #fbfcfa; color: #344033; font: inherit; font-size: 0.84rem; outline: none; }
.detail-contact-form input:focus, .detail-contact-form textarea:focus { border-color: var(--verde); box-shadow: 0 0 0 3px rgba(91,148,57,0.13); }
.detail-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.detail-contact-form button { display: inline-flex; width: 100%; align-items: center; justify-content: center; gap: 9px; min-height: 46px; border: 0; border-radius: 7px; background: var(--verde); color: #fff; font: inherit; font-size: 0.71rem; font-weight: 900; letter-spacing: 0.8px; cursor: pointer; transition: var(--transition); }
.detail-contact-form button:hover { background: var(--verde-dark); }.detail-contact-form button:disabled { cursor: wait; opacity: 0.75; }
.detail-form-feedback { min-height: 20px; margin: 11px 0 0; font-size: 0.8rem; line-height: 1.4; }.detail-form-feedback.success { color: #367426; }.detail-form-feedback.error { color: #9b4141; }
.detail-footer { padding: 28px 0; background: #29451d; color: #dce8d7; }.detail-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }.detail-footer img { width: 170px; height: auto; filter: brightness(0) invert(1); }.detail-footer p { margin: 0; font-size: 0.76rem; }.detail-footer a { color: #dbe8b5; font-size: 0.78rem; text-decoration: none; }
.detail-not-found { display: grid; min-height: 100vh; place-content: center; padding: 25px; text-align: center; background: #f3f7ef; }.detail-not-found h1 { margin: 8px 0; color: var(--verde-dark); font-family: var(--font-title); font-size: clamp(2rem, 5vw, 3.4rem); }.detail-not-found p:not(.eyebrow) { margin: 0 0 25px; color: #64705f; }

.lote-visual-link { display: block; color: inherit; text-decoration: none; }.lote-visual-link:not(.is-disabled) { cursor: pointer; }.lote-visual-link:not(.is-disabled):hover .lote-visual::before { opacity: 1; }.lote-visual::before { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(26, 52, 20, 0.24)); content: ''; opacity: 0; transition: opacity 0.25s ease; }.lote-image-caption, .lote-sold-overlay { z-index: 2; }.lote-title-link { color: inherit; text-decoration: none; }.lote-title-link:hover { color: var(--verde); }.lote-detail-link { display: inline-flex; align-items: center; gap: 7px; margin: -2px 0 10px; color: #597a4a; font-size: 0.65rem; font-weight: 900; letter-spacing: 0.7px; text-decoration: none; }.lote-detail-link:hover { color: var(--verde-dark); }

@media (max-width: 900px) { .detail-hero-grid, .detail-contact-grid { grid-template-columns: 1fr; }.detail-main-image { order: -1; }.detail-content-grid { grid-template-columns: 1fr; }.detail-info-card { max-width: 460px; }.detail-gallery { grid-template-columns: 1fr 1fr; }.detail-gallery-main { grid-column: 1 / -1; }.detail-gallery-main { min-height: 300px; } }
@media (max-width: 620px) { .detail-header-inner { min-height: 68px; }.detail-nav a { padding: 8px; font-size: 0.59rem; }.detail-nav a:last-child { font-size: 0; }.detail-nav a:last-child i { font-size: 1.15rem; }.lot-detail-hero { padding: 30px 0 40px; }.detail-main-image img { min-height: 230px; }.detail-features, .detail-form-row, .detail-gallery { grid-template-columns: 1fr; }.detail-gallery-main { grid-column: auto; }.detail-gallery-item, .detail-gallery-main { min-height: 210px; }.detail-section-heading { display: block; }.detail-section-heading > p { margin-top: 8px; }.detail-contact-section, .lot-detail-content, .detail-gallery-section { padding: 52px 0; }.detail-contact-form { padding: 18px; }.detail-footer .container { flex-direction: column; align-items: flex-start; }.detail-metrics > div { flex: 1; }.detail-lightbox { padding: 14px; } }

/* Ajuste compacto: imagen horizontal completa y detalle debajo */
.lot-detail-hero { padding: 28px 0 42px; }
.detail-breadcrumb { margin-bottom: 18px; }
.detail-hero-grid { display: flex; flex-direction: column; gap: 25px; }
.detail-hero-grid > div { width: min(100%, 900px); margin: 0 auto; text-align: center; }
.detail-hero-grid > div .detail-title-row { justify-content: center; }
.detail-hero-grid > div .detail-intro { margin-right: auto; margin-left: auto; }
.detail-hero-grid > div .detail-metrics { justify-content: center; margin-bottom: 21px; }
.detail-main-image { order: -1; width: min(100%, 900px); max-height: 450px; margin: 0 auto; border-radius: 12px; background: #dbe8eb; box-shadow: 0 13px 28px rgba(31, 59, 24, 0.15); }
.detail-main-image img { width: 100% !important; height: auto !important; min-height: 0 !important; max-height: 450px; aspect-ratio: 16 / 9 !important; object-fit: contain !important; object-position: center !important; background: #dbe8eb; }
.detail-main-image figcaption { right: 10px; bottom: 10px; }
.lot-detail-content { padding: 56px 0; }
.detail-content-grid { gap: clamp(28px, 5vw, 72px); }

@media (max-width: 620px) {
  .lot-detail-hero { padding: 22px 0 34px; }
  .detail-main-image { width: 100%; max-height: none; border-radius: 9px; }
  .detail-main-image img { max-height: none; }
  .detail-hero-grid > div { text-align: left; }
  .detail-hero-grid > div .detail-title-row, .detail-hero-grid > div .detail-metrics { justify-content: flex-start; }
  .detail-hero-grid > div .detail-intro { margin-left: 0; }
}

/* Logo original en footer: preserva sus colores y mejora su contraste */
.footer-brand .footer-logo-original {
  display: block;
  width: min(100%, 270px);
  height: auto;
  padding: 9px 11px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}
.detail-footer img.detail-footer-logo {
  display: block;
  width: min(235px, 62vw);
  height: auto;
  padding: 8px 10px;
  border-radius: 7px;
  background: #ffffff;
  filter: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}
@media (max-width: 620px) {
  .footer-brand .footer-logo-original { width: min(100%, 235px); }
}

/* Ficha lateral: imagen completa a la izquierda y datos a la derecha */
.lot-detail-hero { padding: 44px 0 52px; }
.detail-hero-grid { display: grid !important; grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.72fr); align-items: center; gap: clamp(34px, 5vw, 74px); }
.detail-main-image { grid-column: 1; grid-row: 1; order: initial; width: 100%; max-height: none; margin: 0; border-radius: 13px; }
.detail-main-image img { width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none; aspect-ratio: 16 / 9 !important; object-fit: contain !important; }
.detail-hero-grid > div { grid-column: 2; grid-row: 1; width: auto; margin: 0; text-align: left; }
.detail-hero-grid > div .detail-title-row { justify-content: flex-start; }
.detail-hero-grid > div .detail-intro { margin-left: 0; margin-right: 0; }
.detail-hero-grid > div .detail-metrics { justify-content: flex-start; margin-bottom: 22px; }

@media (max-width: 900px) {
  .detail-hero-grid { grid-template-columns: 1fr; gap: 25px; }
  .detail-main-image { grid-column: 1; grid-row: 1; }
  .detail-hero-grid > div { grid-column: 1; grid-row: 2; }
}

/* Refuerzo de legibilidad para el mensaje superior del hero */
.hero-tagline {
  font-size: clamp(0.92rem, 1.55vw, 1.18rem);
  font-weight: 800;
  letter-spacing: clamp(2.2px, 0.34vw, 5px);
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.78), 0 0 2px rgba(0, 0, 0, 0.88);
}
@media (max-width: 620px) {
  .hero-tagline { font-size: 0.84rem; letter-spacing: 2px; line-height: 1.4; }
}
