:root {
  --bg: #0c121a;
  --bg-deep: #080d13;
  --panel: #131b26;
  --panel-elevated: #182330;
  --panel-border: #233243;
  --line: #27384b;
  --line-soft: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(232, 182, 107, 0.35);
  --white: #f5f4ee;
  --text-main: #e8ecf1;
  --text-dim: #9aa9b9;
  --muted: #6f8092;
  --gold: #e8b66b;
  --gold-hover: #f3c78b;
  --gold-soft: rgba(232, 182, 107, 0.12);
  --gold-glow: rgba(232, 182, 107, 0.25);
  --whatsapp: #25d366;
  --whatsapp-hover: #2cf577;
  --whatsapp-deep: #128c7e;
  --whatsapp-bg: #102620;
  --blue: #5da0d8;
  --green: #60c58e;
  --danger: #eb6868;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-main);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Fondo atmosférico sutil con rejilla blueprint */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 85% 15%, rgba(232, 182, 107, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(93, 160, 216, 0.06) 0%, transparent 50%),
    linear-gradient(rgba(232, 182, 107, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 182, 107, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px, 40px 40px;
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

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

/* Tipografías de identidad */
.serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Header superior */
.site-header {
  height: 72px;
  background: rgba(12, 18, 26, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Instrument Serif', serif;
  font-size: 1.4rem;
  line-height: 1;
  border-radius: 4px;
  background: var(--gold-soft);
}

.brand-text b {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.brand-text span {
  display: block;
  font-size: 0.7rem;
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-link {
  font-size: 0.82rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.header-link:hover {
  color: var(--gold);
}

.btn-header-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: var(--whatsapp);
  color: #0b1510;
  font-weight: 600;
  font-size: 0.82rem;
  border-radius: 4px;
  transition: transform 0.2s, background 0.2s;
}

.btn-header-wa:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-1px);
}

/* Botones principales */
.btn-whatsapp-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  background: var(--whatsapp);
  color: #08160f;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.28);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.btn-whatsapp-main:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(37, 211, 102, 0.42);
}

.btn-whatsapp-main svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--gold);
}

.btn-action-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(232, 182, 107, 0.08);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-action-outline:hover {
  background: var(--gold);
  color: #0c121a;
  transform: translateY(-1px);
}

/* Eyebrow / Categorías */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 1px;
}

/* HERO SECTION */
.hero-section {
  padding: 60px 0 54px;
  border-bottom: 1px solid var(--line-soft);
}

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

.hero-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  line-height: 1.14;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.015em;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 24px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 6px 11px;
  border-radius: 3px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  color: var(--text-dim);
}

.tag-item.live {
  border-color: rgba(96, 197, 142, 0.45);
  color: var(--green);
  background: rgba(96, 197, 142, 0.08);
}

.tag-item.gold {
  border-color: rgba(232, 182, 107, 0.4);
  color: var(--gold);
  background: var(--gold-soft);
}

.hero-cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* Tarjeta comercial lateral en Hero */
.hero-commercial-card {
  background: linear-gradient(165deg, var(--panel-elevated) 0%, var(--panel) 100%);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 26px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-commercial-card::before,
.hero-commercial-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.hero-commercial-card::before { top: 6px; left: 6px; border-right: none; border-bottom: none; }
.hero-commercial-card::after { bottom: 6px; right: 6px; border-left: none; border-top: none; }

.price-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.price-value {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 2.2rem;
  line-height: 1.1;
  color: var(--gold);
  margin-bottom: 12px;
}

.card-divider {
  height: 1px;
  background: var(--line-soft);
  margin: 16px 0;
}

.card-item {
  margin-bottom: 12px;
}
.card-item-k {
  font-size: 0.72rem;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.card-item-v {
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 500;
  margin-top: 2px;
}

/* SECCIONES GENERALES */
.content-section {
  padding: 70px 0;
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.section-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
}

.section-desc {
  color: var(--text-dim);
  font-size: 0.94rem;
  max-width: 650px;
  margin-top: 6px;
}

/* ========================================================
   CARRUSEL REUTILIZADO (Arquitectura original de la web)
   ======================================================== */
.carousel {
  position: relative;
  margin: 10px 0 20px;
}

.carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.carousel-track::-webkit-scrollbar {
  height: 6px;
}
.carousel-track::-webkit-scrollbar-track {
  background: transparent;
}
.carousel-track::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}

.carousel-slide {
  flex: 0 0 auto;
  width: 290px;
  scroll-snap-align: start;
  cursor: zoom-in;
  position: relative;
  border: 1px solid var(--line-soft);
  background: #090e14;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 640px) {
  .carousel-slide { width: 360px; }
}
@media (min-width: 1024px) {
  .carousel-slide { width: 440px; }
}

.carousel-slide:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.carousel-slide .img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #090e14;
  position: relative;
}

.carousel-slide .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carousel-slide:hover .img-wrap img {
  transform: scale(1.04);
}

/* Corner brackets ornamentales distintivos */
.carousel-slide::before,
.carousel-slide::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--gold);
  z-index: 3;
  pointer-events: none;
}
.carousel-slide::before {
  top: 8px;
  left: 8px;
  border-right: none;
  border-bottom: none;
}
.carousel-slide::after {
  bottom: 42px;
  right: 8px;
  border-left: none;
  border-top: none;
}

.carousel-slide .zoom-hint {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(12, 18, 26, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 4px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 3;
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.carousel-slide:hover .zoom-hint {
  opacity: 1;
}

.carousel-slide .caption {
  padding: 11px 14px;
  border-top: 1px solid var(--line-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  background: #111a24;
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-slide .caption .num {
  color: var(--gold);
  font-weight: 600;
  flex-shrink: 0;
}

.carousel-slide .caption span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Botones de navegación del carrusel */
.carousel-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(12, 18, 26, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s;
}

.carousel-nav:hover {
  background: var(--gold);
  color: #0c121a;
  transform: translateY(-50%) scale(1.05);
}

.carousel-nav.prev {
  left: -12px;
}
.carousel-nav.next {
  right: -12px;
}

.carousel-nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 640px) {
  .carousel-nav {
    display: none;
  }
}

.carousel-tip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ========================================================
   LIGHTBOX / VISOR AMPLIADO (Componente oficial del sitio)
   ======================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 18, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox-stage {
  position: relative;
  width: 100%;
  max-width: 1180px;
  height: 100%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.25s ease;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-img.zoomed {
  cursor: grab;
}
.lightbox-img.dragging {
  cursor: grabbing;
  transition: none;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next,
.lightbox-zoom-in,
.lightbox-zoom-out,
.lightbox-zoom-reset {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 26, 36, 0.94);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-zoom-in:hover,
.lightbox-zoom-out:hover,
.lightbox-zoom-reset:hover {
  background: var(--gold);
  color: #0c121a;
}

.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-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.lightbox-controls > * {
  position: static;
  transform: none;
}

.lightbox-caption {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--text-main);
  background: rgba(18, 26, 36, 0.94);
  padding: 8px 16px;
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  z-index: 10;
  max-width: calc(100% - 90px);
}
.lightbox-caption .num {
  color: var(--gold);
  margin-right: 10px;
  font-weight: 600;
}

.lightbox-counter {
  position: absolute;
  bottom: 74px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  z-index: 10;
  background: rgba(18, 26, 36, 0.8);
  padding: 4px 12px;
  border-radius: 12px;
}
.lightbox-counter span {
  color: var(--gold);
  font-weight: 600;
}

/* ========================================================
   FICHA TÉCNICA (Medidas y linderos SUNARP)
   ======================================================== */
.technical-grid {
  max-width: 840px;
  margin: 20px auto 0;
}

.table-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  overflow: hidden;
}

.table-card-head {
  padding: 16px 20px;
  background: #17222f;
  border-bottom: 1px solid var(--panel-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.table-card-head h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
}

.tech-table tr {
  border-bottom: 1px solid var(--line-soft);
}
.tech-table tr:last-child {
  border-bottom: none;
}

.tech-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
}

.tech-table td.col-k {
  color: var(--text-dim);
  width: 38%;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.tech-table td.col-v {
  color: var(--white);
  font-weight: 500;
}

.tech-table td.col-v b {
  color: var(--gold);
  font-weight: 600;
}

.metric-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.metric-tile {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 22px;
  position: relative;
}

.metric-tile-num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 6px;
}

.metric-tile-title {
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.metric-tile-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ========================================================
   TRANSPARENCIA DOCUMENTAL & MODAL VISOR PARTIDA
   ======================================================== */
.transparency-box {
  background: linear-gradient(145deg, #16202c, #101822);
  border: 1px solid var(--panel-border);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 24px 26px;
  margin-top: 24px;
}

.transparency-box h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.transparency-box p {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.65;
}

.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* Modal Partida Registral */
.modal-partida {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 18, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-partida.open {
  display: flex;
}

.modal-dialog {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  width: 100%;
  max-width: 900px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.modal-header {
  padding: 16px 22px;
  background: #17222f;
  border-bottom: 1px solid var(--panel-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: var(--white);
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  text-align: center;
  background: #090e15;
}

.modal-body img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
  border: 1px solid var(--panel-border);
}

.modal-footer {
  padding: 14px 22px;
  background: #131b26;
  border-top: 1px solid var(--panel-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.modal-footer .doc-note {
  font-size: 0.76rem;
  color: var(--muted);
}

/* ========================================================
   UBICACIÓN & GOOGLE MAPS
   ======================================================== */
.location-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.location-item {
  display: flex;
  gap: 14px;
}

.loc-icon {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(232, 182, 107, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loc-info h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}

.loc-info p {
  font-size: 0.86rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.map-preview-wrap {
  position: relative;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  overflow: hidden;
  background: #0b1117;
}

.map-preview-wrap img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}

.map-preview-wrap:hover img {
  transform: scale(1.02);
}

.map-overlay-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(12, 18, 26, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 4px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ========================================================
   SECCIÓN CONTACTO COMERCIAL
   ======================================================== */
.contact-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #090e14 100%);
}

.contact-card {
  background: linear-gradient(155deg, #182433 0%, #101824 100%);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.contact-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.contact-title em {
  font-style: italic;
  color: var(--gold);
}

.contact-lead {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.contact-button-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.intermediary-disclaimer {
  max-width: 620px;
  margin: 0 auto;
  padding: 16px 20px;
  background: rgba(12, 18, 26, 0.6);
  border: 1px dashed var(--line);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

.intermediary-disclaimer b {
  color: var(--text-dim);
}

/* ========================================================
   BARRA MÓVIL STICKY
   ======================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(12, 18, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-soft);
  padding: 12px 18px;
  z-index: 35;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.mobile-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mobile-info-text b {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
  line-height: 1.2;
}

.mobile-info-text small {
  display: block;
  font-size: 0.72rem;
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
}

.btn-mobile-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--whatsapp);
  color: #08160f;
  font-weight: 700;
  font-size: 0.86rem;
  border-radius: 4px;
  flex-shrink: 0;
}

/* FOOTER */
.site-footer {
  padding: 36px 0;
  background: #080d13;
  border-top: 1px solid var(--line-soft);
  font-size: 0.82rem;
  color: var(--muted);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--gold);
}

/* ========================================================
   RESPONSIVE DESIGN
   ======================================================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-commercial-card {
    max-width: 480px;
  }
  .technical-grid {
    grid-template-columns: 1fr;
  }
  .location-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .container {
    padding: 0 18px;
  }
  .site-header {
    height: 64px;
  }
  .header-brand .brand-text b {
    font-size: 0.82rem;
  }
  .header-brand .brand-text span {
    font-size: 0.62rem;
  }
  .header-actions .header-link {
    display: none;
  }
  .hero-section {
    padding: 40px 0 36px;
  }
  .hero-title {
    font-size: 2.25rem;
    line-height: 1.15;
  }
  .hero-lead {
    font-size: 1rem;
  }
  .hero-cta-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-whatsapp-main {
    width: 100%;
  }
  .btn-secondary {
    width: 100%;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .content-section {
    padding: 50px 0;
  }
  .contact-card {
    padding: 36px 20px;
  }
  .mobile-sticky-bar {
    display: block;
  }
  body {
    padding-bottom: 74px; /* espacio para la barra sticky */
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
