/* ——— VARIABLES ——— */
:root {
  --v: #2d5a27;
  --vc: #4a8c3f;
  --cr: #f5f0e8;
  --bl: #fdfcf9;
  --gr: #6b6b6b;
  --sh: rgba(45, 90, 39, 0.12);
}

/* ——— RESET ——— */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bl); color: #2a2a2a; overflow-x: hidden; }

/* ——— NAV ——— */
nav {
  position: fixed; top: 0; width: 100%; z-index: 200;
  background: rgba(253, 252, 249, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 90, 39, 0.1);
  padding: 0 5%; display: flex; align-items: center;
  justify-content: space-between; height: 68px;
}
.logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--v); display: flex; align-items: center; gap: 10px; }
nav ul { list-style: none; display: flex; gap: 36px; }
nav ul a { text-decoration: none; color: #444; font-size: .88rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; transition: color .2s; }
nav ul a:hover { color: var(--v); }
.nav-cta { background: var(--v); color: #fff !important; padding: 9px 22px; border-radius: 50px; }
.nav-cta:hover { background: var(--vc) !important; } 

.logo-flag{
  margin-left:6px;
  font-size:.95em;
}

/* ——— HERO ——— */
#inicio {
  min-height: 100vh;
  background: linear-gradient(to bottom, rgba(0,0,0,.38) 0%, rgba(0,0,0,.1) 60%, rgba(253,252,249,1) 100%),
    url('../img/portada.jpeg') center/cover no-repeat;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 5%; position: relative;
}
.hero-badge {
  display: inline-block; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.4); color: #fff;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 50px; margin-bottom: 24px;
  backdrop-filter: blur(4px); animation: fadeUp .8s ease both;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  color: #fff; line-height: 1.1; max-width: 780px;
  animation: fadeUp .9s .1s ease both;
}
.hero-title em { font-style: italic; color: #c8e6b0; }
.hero-sub {
  color: rgba(255,255,255,.82); font-size: 1.05rem;
  max-width: 520px; margin: 20px auto 36px; line-height: 1.7;
  animation: fadeUp 1s .2s ease both;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; animation: fadeUp 1s .3s ease both; }
.btn-prim {
  background: var(--v); color: #fff; padding: 14px 32px; border-radius: 50px;
  text-decoration: none; font-weight: 500; font-size: .95rem;
  transition: transform .2s, background .2s;
}
.btn-prim:hover { background: var(--vc); transform: translateY(-2px); }
.btn-sec {
  background: rgba(255,255,255,.15); color: #fff; padding: 14px 32px;
  border-radius: 50px; text-decoration: none; font-weight: 500; font-size: .95rem;
  border: 1px solid rgba(255,255,255,.5); backdrop-filter: blur(4px);
  transition: background .2s, transform .2s;
}
.btn-sec:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }
.hero-stats { position: absolute; bottom: 7%; display: flex; gap: 48px; animation: fadeUp 1s .4s ease both; }
.stat { text-align: center; color: #fff; }
.stat strong { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; }
.stat span { font-size: .78rem; opacity: .75; letter-spacing: .08em; text-transform: uppercase; }

/* ——— SECCIONES ——— */
section { padding: 100px 5%; }
.section-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; color: var(--vc); font-weight: 500; margin-bottom: 12px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.9rem, 3.5vw, 2.8rem); color: var(--v); line-height: 1.2; max-width: 600px; }

/* ——— NOSOTROS ——— */
#nosotros {
  background: var(--cr);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
  min-height: 90vh;
}
.nosotros-img {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1/1;
  width: 100%;
  box-shadow: 0 20px 60px rgba(45, 90, 39, 0.18);
  position: relative;
}
.nosotros-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 100%;
  transition: transform .8s ease; display: block;
}
.nosotros-img:hover img { transform: scale(1.06); }
.nosotros-text p { color: var(--gr); line-height: 1.8; margin: 20px 0; font-size: .97rem; }
.valores { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.valor-item {
  background: #fff; border-radius: 14px; padding: 20px;
  display: flex; align-items: flex-start; gap: 14px;
  box-shadow: 0 2px 16px var(--sh);
  border: 1px solid rgba(45,90,39,0.06);
  transition: transform .2s, box-shadow .2s;
}
.valor-item:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--sh); }
.valor-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.valor-item h4 { font-size: .88rem; font-weight: 600; color: var(--v); margin-bottom: 5px; }
.valor-item p { font-size: .79rem; color: var(--gr); line-height: 1.55; margin: 0; }

/* ——— PARCELAS ——— */
#parcelas { background: var(--bl); text-align: center; }
#parcelas .section-label, #parcelas .section-title { margin: 0 auto; }
#parcelas .section-title { margin-bottom: 16px; }
.parcelas-sub { color: var(--gr); max-width: 520px; margin: 0 auto 48px; line-height: 1.7; font-size: .95rem; }
.filtros { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.filtro-btn {
  padding: 8px 22px; border-radius: 50px; border: 1.5px solid #ddd;
  background: transparent; cursor: pointer; font-size: .85rem;
  font-family: 'DM Sans', sans-serif; color: #555; transition: all .2s;
}
.filtro-btn.active, .filtro-btn:hover { background: var(--v); border-color: var(--v); color: #fff; }

/* ——— CARRUSEL ——— */
/* FIX: overflow:hidden en el wrapper evita que el carrusel genere scroll horizontal */
.carrusel-wrapper {
  position: relative;
  overflow: hidden;
  /* Clip para no mostrar cards que salen del viewport */
  max-width: 100%;
}
.carrusel-empty, .carrusel-loading {
  padding: 40px; color: #888; font-size: .9rem; text-align: center; width: 100%;
}
/* FIX: min-width: 0 en el track garantiza que no expanda el contenedor */
.carrusel-track {
  display: flex;
  gap: 24px;
  transition: transform .5s cubic-bezier(.25, .46, .45, .94);
  padding: 8px 4px 24px;
  will-change: transform;
  min-width: 0;
}
.parcela-card {
  flex: 0 0 calc((100% - 48px) / 3); /* 3 cards desktop: (100% - 2*gap) / 3 */
  min-width: 0;
  background: #fff; border-radius: 20px;
  overflow: hidden; box-shadow: 0 4px 24px var(--sh);
  transition: transform .3s, box-shadow .3s;
}
.parcela-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(45,90,39,.18); }
.parcela-img-wrap { overflow: hidden; position: relative; }
.parcela-img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .5s; }
.parcela-card:hover .parcela-img { transform: scale(1.04); }

/* Badges */
.badge-disp, .badge-nodisp {
  position: absolute; top: 14px; left: 14px; padding: 5px 14px;
  border-radius: 50px; font-size: .72rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
}
.badge-disp   { background: rgba(58,125,68,.92); color: #fff; backdrop-filter: blur(4px); }
.badge-nodisp { background: rgba(184,76,76,.9);  color: #fff; backdrop-filter: blur(4px); }
.badge-precio {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(0,0,0,.6); color: #fff; padding: 5px 12px;
  border-radius: 50px; font-size: .82rem; backdrop-filter: blur(4px);
}
.badge-kmz {
  position: absolute; top: 14px; right: 14px;
  background: rgba(30,100,200,.85); color: #fff; padding: 4px 10px;
  border-radius: 50px; font-size: .68rem; font-weight: 600; backdrop-filter: blur(4px);
}
/* FIX: badge de fotos se desplaza si hay badge KMZ para no solaparse */
.badge-fotos {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0,0,0,.55); color: #fff; padding: 4px 10px;
  border-radius: 50px; font-size: .68rem; font-weight: 600; backdrop-filter: blur(4px);
}
.badge-fotos--shift {
  /* Si hay KMZ badge arriba, fotos badge baja */
  top: 46px;
}

/* Card body */
.parcela-body { padding: 22px; text-align: left; }
.parcela-body h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--v); margin-bottom: 6px; }
.ubicacion { font-size: .8rem; color: var(--gr); display: flex; align-items: center; gap: 4px; margin-bottom: 12px; }
.parcela-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.feat-tag { background: var(--cr); color: #555; font-size: .75rem; padding: 4px 12px; border-radius: 50px; }
.parcela-footer {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid #f0ece3; padding-top: 14px; gap: 8px;
}
.hectareas { font-size: .82rem; color: var(--gr); }
.hectareas strong { display: block; font-size: 1.1rem; color: var(--v); font-weight: 600; }
.btns-card { display: flex; gap: 8px; }

/* Botones de card */
.btn-ver {
  background: var(--v); color: #fff; border: none; cursor: pointer;
  padding: 9px 16px; border-radius: 50px; font-size: .8rem;
  font-family: 'DM Sans', sans-serif; font-weight: 500; transition: background .2s, transform .2s;
}
.btn-ver:hover { background: var(--vc); transform: translateY(-1px); }
.btn-ver.nd { background: #ccc; cursor: not-allowed; }
.btn-ver.nd:hover { background: #ccc; transform: none; }
.btn-mapa {
  background: transparent; color: #1e64c8; border: 1.5px solid #1e64c8;
  cursor: pointer; padding: 9px 14px; border-radius: 50px; font-size: .8rem;
  font-family: 'DM Sans', sans-serif; font-weight: 500; transition: all .2s;
}
.btn-mapa:hover { background: #1e64c8; color: #fff; }
.btn-mapa.sk { color: #ccc; border-color: #e0e0e0; cursor: default; }
.btn-mapa.sk:hover { background: transparent; color: #ccc; }

/* Navegación carrusel */
.carrusel-nav { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.arrow-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--v);
  background: transparent; color: var(--v); font-size: 1.1rem; cursor: pointer;
  transition: all .2s; display: flex; align-items: center; justify-content: center;
}
.arrow-btn:hover { background: var(--v); color: #fff; }
.carrusel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: #ddd;
  cursor: pointer; border: none; transition: background .2s, width .2s;
  padding: 0;
}
.dot.active { background: var(--v); width: 24px; border-radius: 4px; }

/* ——— VENTAJAS ——— */
#ventajas { background: var(--v); color: #fff; text-align: center; }
#ventajas .section-label { color: rgba(255,255,255,.6); }
#ventajas .section-title { color: #fff; margin: 0 auto 48px; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.vi {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 32px 24px; text-align: center; transition: background .2s;
}
.vi:hover { background: rgba(255,255,255,.14); }
.vi-icon { font-size: 2.2rem; margin-bottom: 14px; }
.vi h3 { font-size: 1.05rem; margin-bottom: 10px; font-weight: 600; }
.vi p { font-size: .85rem; opacity: .75; line-height: 1.6; }

/* ——— CONTACTO ——— */
#contacto { display: flex; justify-content: center; align-items: center; text-align: center; }
.contacto-info { max-width: 520px; }
.cdatos { justify-content: center; align-items: center; }
.dato { justify-content: center; width: 100%; }
.contacto-btn { margin-top: 20px; }
.btn-whatsapp {
  display: inline-block; background: #25D366; color: #fff;
  padding: 14px 26px; border-radius: 50px; text-decoration: none;
  font-weight: 500; transition: .2s;
}
.btn-whatsapp:hover { transform: translateY(-2px); background: #1ebe5d; }

/* ——— FOOTER ——— */
footer {
  background: #1a2e18; color: rgba(255,255,255,.7);
  padding: 48px 5% 32px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
}
.fb .logo { color: #c8e6b0; margin-bottom: 12px; }
.fb p { font-size: .85rem; line-height: 1.7; max-width: 300px; }
footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer ul a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .85rem; transition: color .2s; }
footer ul a:hover { color: #c8e6b0; }
.footer-bottom {
  background: #131f11; text-align: center;
  padding: 16px; font-size: .78rem; color: rgba(255,255,255,.35);
}
.admin-link { color: rgba(255,255,255,.2); font-size: .75rem; margin-left: 12px; text-decoration: none; transition: color .2s; }
.admin-link:hover { color: rgba(255,255,255,.5); }

/* ——— MODAL OVERLAY ——— */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(6px);
  z-index: 1000; display: none; align-items: center; justify-content: center;
  padding: 20px;
  /* FIX: overscroll en mobile */
  overflow-y: auto;
}
.overlay.open { display: flex; }

/* ——— MODAL ——— */
.modal {
  background: #fff; border-radius: 20px; max-width: 560px; width: 100%;
  overflow: hidden; animation: popIn .3s ease; position: relative;
  max-height: 92vh; display: flex; flex-direction: column;
  /* FIX: evitar que el modal se salga en mobile muy pequeño */
  margin: auto;
}
.m-close {
  position: absolute; top: 12px; right: 14px; background: rgba(0,0,0,.5);
  border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; font-size: 1rem; z-index: 20;
  display: flex; align-items: center; justify-content: center;
}

/* ——— CARRUSEL DE IMÁGENES EN MODAL ——— */
.modal-carrusel {
  position: relative; overflow: hidden; flex-shrink: 0;
  background: #111; height: 260px;
}
.modal-carrusel-track {
  display: flex; height: 100%;
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.modal-slide { min-width: 100%; height: 100%; flex-shrink: 0; }
.modal-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Flechas del carrusel modal */
.modal-carrusel-nav {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: space-between;
  padding: 0 10px; pointer-events: none;
}
.m-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; border: none;
  font-size: 1.3rem; cursor: pointer; pointer-events: all;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; backdrop-filter: blur(4px);
  line-height: 1;
}
.m-arrow:hover { background: rgba(0,0,0,.8); }

/* Contador */
.m-img-counter {
  position: absolute; bottom: 10px; right: 12px;
  background: rgba(0,0,0,.5); color: #fff; font-size: .72rem;
  padding: 3px 10px; border-radius: 50px; backdrop-filter: blur(4px);
}

/* Dots del modal */
.modal-carrusel-dots {
  display: flex; justify-content: center; gap: 6px;
  padding: 10px 0 4px; background: #fff;
}
.mdot {
  width: 7px; height: 7px; border-radius: 50%; background: #ddd;
  cursor: pointer; border: none; transition: background .2s, width .2s; padding: 0;
}
.mdot.active { background: var(--v); width: 20px; border-radius: 4px; }

/* Body del modal */
.modal-body { padding: 20px 24px 24px; overflow-y: auto; }
.modal-body h2 { font-family: 'Playfair Display', serif; color: var(--v); margin-bottom: 8px; }
.modal-body p  { color: var(--gr); font-size: .9rem; line-height: 1.7; margin-bottom: 16px; }
.modal-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.spec { background: var(--cr); border-radius: 10px; padding: 12px; }
.spec span   { font-size: .72rem; color: var(--gr); display: block; margin-bottom: 2px; }
.spec strong { color: var(--v); font-size: .95rem; }
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn-submit {
  flex: 1; margin: 0; background: var(--v); color: #fff; border: none;
  padding: 14px; border-radius: 10px; font-size: .9rem;
  font-family: 'DM Sans', sans-serif; font-weight: 500; cursor: pointer; transition: background .2s;
}
.modal-actions .btn-submit:hover { background: var(--vc); }
.btn-map-modal {
  flex: 1; background: transparent; color: #1e64c8; border: 1.5px solid #1e64c8;
  padding: 14px; border-radius: 10px; font-size: .9rem;
  font-family: 'DM Sans', sans-serif; font-weight: 500; cursor: pointer; transition: all .2s;
}
.btn-map-modal:hover { background: #1e64c8; color: #fff; }
.btn-map-modal:disabled { color: #bbb; border-color: #ddd; cursor: default; }
.btn-map-modal:disabled:hover { background: transparent; color: #bbb; }

/* ——— MODAL MAPA ——— */
.mapa-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(6px);
  z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px;
}
.mapa-overlay.open { display: flex; }
.mapa-box {
  background: #1a1a2e; border-radius: 20px; width: 100%; max-width: 900px;
  overflow: hidden; animation: popIn .3s ease; position: relative;
}
.mapa-header {
  background: #1a2e18; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.mapa-header h3 { font-family: 'Playfair Display', serif; color: #c8e6b0; font-size: 1.05rem; flex: 1; }
.kmz-pill { background: rgba(30,100,200,.7); color: #fff; font-size: .7rem; padding: 4px 12px; border-radius: 50px; letter-spacing: .06em; }
.mapa-close {
  background: rgba(255,255,255,.1); border: none; color: #fff;
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1rem;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
/* FIX: el mapa Leaflet necesita altura explícita para renderizar */
#leaflet-map { height: 480px; width: 100%; }

/* ——— LABELS KMZ ——— */
.kmz-label {
  background: rgba(45,90,39,.9) !important;
  border: none !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.3) !important;
  color: #fff;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
}
.kmz-label::before { display: none !important; }
.kmz-point-label {
  background: #2d5a27;
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
}

/* ——— LEAFLET FIX GLOBAL ——— */
/* Evita que las tiles de Leaflet rompan el layout en iOS */
.leaflet-container img.leaflet-tile {
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* ——— ANIMACIONES ——— */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes popIn  { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET GRANDE (max 1024px)
══════════════════════════════════════════ */
@media (max-width: 1024px) {

  /* Carrusel: 2 cards */
  .parcela-card {
    flex: 0 0 calc((100% - 24px) / 2); /* (100% - 1*gap) / 2 */
  }

  /* Nosotros */
  #nosotros { grid-template-columns: 1fr; gap: 40px; min-height: auto; }
  .nosotros-img { max-width: 500px; margin: 0 auto; aspect-ratio: 4/3; }

  /* Nav */
  nav ul { gap: 20px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET / MOBILE (max 768px)
══════════════════════════════════════════ */
@media (max-width: 768px) {

  section { padding: 72px 5%; }

  /* Nav: ocultar links */
  nav ul { display: none; }

  /* Hero */
  .hero-stats { gap: 24px; bottom: 5%; }
  .stat strong { font-size: 1.5rem; }

  /* Nosotros */
  #nosotros { gap: 32px; padding: 60px 5%; }
  .nosotros-img { max-width: 100%; aspect-ratio: 16/9; }
  .valores { grid-template-columns: 1fr 1fr; gap: 10px; }
  .valor-item { padding: 14px; }

  /* Carrusel */
  .carrusel-nav { margin-top: 20px; }
  .arrow-btn { width: 42px; height: 42px; }

  /* Modal detalle */
  .modal-carrusel { height: 200px; }
  .modal-specs { grid-template-columns: 1fr; gap: 8px; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn-submit,
  .btn-map-modal { padding: 13px; }

  /* Modal mapa */
  #leaflet-map { height: 320px !important; }
  .mapa-header h3 { font-size: .88rem; }
  .kmz-pill { display: none; }

  /* Footer */
  footer { grid-template-columns: 1fr; gap: 28px; padding: 40px 5% 28px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE (max 600px)
══════════════════════════════════════════ */
@media (max-width: 600px) {

  /* Carrusel: 1 card, ocupa 100% del ancho */
  .parcela-card { flex: 0 0 100%; }

  /* Nosotros */
  .nosotros-img { aspect-ratio: 16/9; border-radius: 16px; }
  .valores { grid-template-columns: 1fr; gap: 10px; }
  .valor-item { gap: 12px; }

  /* Filtros horizontales sin overflow */
  .filtros {
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    justify-content: flex-start;
    padding-left: 2px;
  }
  .filtro-btn { padding: 7px 14px; font-size: .8rem; white-space: nowrap; flex-shrink: 0; }

  /* Hero */
  .hero-stats { display: none; }

  /* Footer */
  footer { gap: 20px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE PEQUEÑO (max 480px)
══════════════════════════════════════════ */
@media (max-width: 480px) {

  section { padding: 60px 4%; }

  .hero-title { font-size: 1.9rem; }
  .hero-sub   { font-size: .85rem; }
  .hero-btns  { flex-direction: column; align-items: stretch; gap: 10px; }
  .btn-prim, .btn-sec { width: 100%; padding: 13px 24px; text-align: center; }

  /* Modal mapa más compacto */
  #leaflet-map { height: 280px !important; }

  footer { padding: 36px 4% 24px; }
}