/* ============================================
   LOCATION - Sección de Ubicación
   ============================================ */

#ubicacion {
  padding: 7rem 0;
  background-color: var(--color-bg-light);
  position: relative;
  overflow: hidden;
}

.location-glow {
  position: absolute;
  bottom: 0;
  left: 33%;
  width: 24rem;
  height: 24rem;
  background-color: rgba(27, 48, 34, 0.05);
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
}

.location-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  margin-right: 0.5rem;
  margin-left: 0.5rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .location-container {
    padding: 0 1.5rem;
  }
}

/* Reasons Grid */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reasons-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.reason-card {
  background: #fff;
  border: 1px solid rgba(27, 48, 34, 0.15);
  border-radius: 0.125rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.reason-card:hover {
  border-color: var(--color-livo-green);
  transform: translateY(-0.375rem);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.reason-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.125rem;
  background-color: var(--color-livo-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.reason-card:hover .reason-icon {
  background-color: #152A1E;
}

.reason-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  transition: color 0.3s ease;
  margin-bottom: 0.5rem;
}

.reason-card:hover .reason-title {
  color: var(--color-livo-green);
}

.reason-description {
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.6;
}

/* Location Content Grid */
.location-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: #fff;
  border: 1px solid rgba(27, 48, 34, 0.2);
  border-radius: 0.125rem;
  padding: 1.5rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

@media (min-width: 640px) {
  .location-content {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .location-content {
    grid-template-columns: repeat(12, 1fr);
    padding: 2rem;
  }
}

.location-left {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .location-left {
    grid-column: span 7;
  }
}

.location-right {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .location-right {
    grid-column: span 5;
  }
}

/* Map Section */
.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.map-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.map-subtitle {
  font-size: 11px;
  color: #5d6b5f;
  font-weight: 600;
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 23.75rem;
  border-radius: 0.125rem;
  overflow: hidden;
  border: 1px solid rgba(27, 48, 34, 0.2);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.06);
  background-color: var(--color-bg-light);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: contrast(1.1) opacity(0.95);
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-livo-green);
  color: #fff;
  border: 1px solid var(--color-livo-gold);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 0.125rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.map-note {
  font-size: 11px;
  color: #5d6b5f;
  text-align: center;
  font-style: italic;
  margin-top: 0.5rem;
}

/* POI Section */
.poi-header {
  margin-bottom: 1rem;
}

.poi-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.25rem;
}

.poi-description {
  color: var(--color-text-secondary);
  font-size: 12px;
}

.poi-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.poi-item {
  padding: 0.875rem;
  border-radius: 0.125rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.poi-item:hover {
  background-color: var(--color-bg-cream);
}

.poi-item.active {
  background-color: var(--color-livo-green);
  border-color: var(--color-livo-gold);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.poi-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.poi-icon-wrapper {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.125rem;
  background: #fff;
  border: 1px solid rgba(27, 48, 34, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-livo-green);
}

.poi-item.active .poi-icon-wrapper {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.poi-name {
  font-size: 13px;
  font-weight: 700;
}

.poi-category {
  font-size: 10px;
  color: #5d6b5f;
}

.poi-item.active .poi-category {
  color: var(--color-livo-gold-light);
}

.poi-distance {
  font-size: 10px;
  font-weight: 700;
  padding: 0.375rem 0.625rem;
  border-radius: 0.125rem;
  border: 1px solid transparent;
}

.poi-item:not(.active) .poi-distance {
  background: #fff;
  color: var(--color-livo-green);
  border-color: rgba(27, 48, 34, 0.2);
}

.poi-item.active .poi-distance {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.location-cta {
  display: block;
  background-color: var(--color-livo-green);
  color: #fff;
  border: 1px solid rgba(197, 168, 128, 0.4);
  font-weight: 700;
  padding: 0.875rem 1rem;
  border-radius: 0.125rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  margin-top: 1rem;
  cursor: pointer;
}

.location-cta:hover {
  background-color: var(--color-livo-green-deep);
}
