/* =========================
UBICACIÓN / LOCATION (sección antigua)
========================= */
.location {
  background: var(--white);
}

.location-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-top: 40px;
  align-items: start;
}

.location-map {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-lg);
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 400px;
}

.location-distances {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.distance-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--gold-12);
  transition: all 0.3s ease;
}

.distance-item:hover {
  transform: translateX(4px);
  border-color: var(--gold-24);
  box-shadow: 0 4px 12px var(--shadow-md);
}

.distance-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-bg);
  border: 1px solid var(--gold-16);
}

.distance-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold-soft);
  fill: none;
}

.distance-icon svg circle {
  fill: var(--gold-soft);
}

.distance-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.distance-text strong {
  font-family: "Lato", sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 600;
}

.distance-text span {
  font-size: 0.88rem;
  color: var(--gray-soft);
}

/* =========================
LOCALIZACIÓN - TARJETAS COMPACTAS
========================= */

.location-minimal {
  background: var(--white-warm);
  padding: clamp(52px, 8vw, 96px) 0;
}

.location-minimal .container {
  max-width: var(--max);
}

.location-minimal h2 {
  margin-bottom: 2rem;
}

/* Layout lado a lado: mapa izquierda, tarjetas derecha */
.location-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: stretch;
  max-width: var(--max);
  margin: 0 auto;
}

/* Mapa — izquierda */
.location-map-static {
  order: 1;
  border: 1px solid rgba(201, 164, 106, 0.15);
  overflow: hidden;
  position: relative;
}

/* Iframe del mapa — ocupa toda la altura del contenedor */
.location-map-static iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
  filter: sepia(30%) saturate(70%) brightness(1.05) contrast(0.93) hue-rotate(8deg);
}

/* Cartas — derecha, 2 columnas × 3 filas */
.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: none;
  margin: 0;
  align-content: stretch;
  flex: 1;
}

.location-grid .location-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray-text);
  background: rgba(250, 249, 247, 0.92);
  padding: 8px 14px;
  border: 1px solid var(--gold-20);
  transition: color 0.2s, border-color 0.2s;
}

.location-map-link:hover {
  color: var(--brand);
  border-color: var(--gold-40);
}

.location-map-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.location-item {
  padding: clamp(20px, 3.5vw, 26px) clamp(18px, 3vw, 24px);
  text-align: center;
  transition: all 0.3s ease;
  background: rgba(250, 249, 247, 0.6);
  border: 1px solid var(--gold-12);
  border-radius: 2px;
}

.location-item:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--shadow-xs);
  border-color: var(--gold-20);
}

.location-name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.05rem, 1.7vw, 1.15rem);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

.location-distance {
  font-size: 0.86rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Columna derecha: cartas + notas prácticas */
.location-right {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Notas prácticas inferiores */
.location-airport {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 2px 20px;
}

.location-airport:first-of-type {
  padding-top: 12px;
}

.location-airport-text {
  font-family: "Lato", sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.location-airport-detail {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.7;
  margin-left: auto;
  white-space: nowrap;
}

/* =========================
RESPONSIVE
========================= */

/* Tablet */
@media (max-width: 1024px) {
  .location-minimal {
    padding: clamp(52px, 8vw, 96px) 0;
  }
  .location-minimal h2 {
    margin-bottom: 40px;
  }
  .location-body {
    gap: 24px;
  }
  .location-item {
    padding: 20px 16px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .location-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .location-map iframe {
    height: 300px;
  }

  .distance-item {
    padding: 14px;
  }

  .location-minimal {
    padding: 52px 0;
  }
  .location-body {
    grid-template-columns: 1fr;
  }
  .location-map-static {
    order: 1;
    min-height: 240px;
  }
  .location-right {
    order: 2;
    display: flex;
    flex-direction: column;
  }
  .location-grid {
    order: 1;
  }
  .location-airport {
    order: 3;
  }
  .location-map-static iframe {
    height: 260px;
  }
  .location-grid {
    order: 2;
    grid-template-columns: repeat(2, 1fr);
  }
  .location-minimal .eyebrow,
  .location-minimal h2 {
    text-align: left;
  }
  .location-minimal h2 {
    margin-bottom: 36px;
  }

  .location-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 10px;
    padding: 0 20px;
  }

  .location-item {
    padding: 22px 18px;
  }

  .location-name {
    font-size: 1.02rem;
  }

  .location-distance {
    font-size: 0.84rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .location-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 16px;
  }

  .location-item {
    padding: 20px 16px;
  }

  .location-name {
    font-size: 0.98rem;
  }
}
