.ooh-section {
  background: #f5f5f1;
  color: #0a0a0a;
}

.contact {
  background: #000;
  color: #fff;
}

.contact .contact-links {
  border-color: rgba(255, 255, 255, 0.82);
}

.contact .contact-link {
  border-color: rgba(255, 255, 255, 0.22);
}

.contact .contact-link span:last-child {
  color: #a7a7a0;
}

.contact .contact-link:hover {
  color: #e8f11c;
}

#ooh-grid[hidden] {
  display: none !important;
}

.ooh-intro .lead {
  color: #4b4b45;
}

.ooh-stats {
  border-color: rgba(10, 10, 10, 0.28);
}

.ooh-stat {
  border-color: rgba(10, 10, 10, 0.28);
}

.ooh-stat strong {
  color: #0a0a0a;
}

.ooh-stat span {
  color: #5e5e57;
}

.ooh-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 48px 0 22px;
}

.ooh-map-toolbar .filters {
  gap: 8px;
}

.map-filter {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(10, 10, 10, 0.42);
  border-radius: 999px;
  background: transparent;
  color: #0a0a0a;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s var(--ease);
}

.map-filter:hover,
.map-filter[aria-pressed="true"] {
  border-color: #0a0a0a;
  background: #0a0a0a;
  color: #e8f11c;
}

.map-validation {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #60605a;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-validation::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e8f11c;
  box-shadow: 0 0 0 4px rgba(232, 241, 28, 0.34);
  content: "";
}

.ooh-map-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(310px, 0.55fr);
  height: 640px;
  overflow: hidden;
  border: 1px solid #0a0a0a;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(10, 10, 10, 0.12);
}

.map-stage {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #d9dbd2;
}

#ooh-map {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.map-stage::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(232, 241, 28, 0.1), transparent 35%);
  content: "";
}

.map-legend {
  position: absolute;
  z-index: 500;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 36px);
  padding: 11px 14px;
  border: 1px solid rgba(10, 10, 10, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #33332e;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.map-legend i {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border: 2px solid #0a0a0a;
  border-radius: 50% 50% 50% 0;
  background: #e8f11c;
  transform: rotate(-45deg);
}

.ooh-side {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  background: #fff;
}

.ooh-side-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 26px 24px 20px;
  border-bottom: 1px solid #d4d4ce;
}

.ooh-side-head p,
.ooh-side-head strong {
  margin: 0;
}

.ooh-side-head p {
  color: #6a6a63;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ooh-side-head strong {
  font: 800 2.15rem/0.9 "Normalidad Extended", Normalidad;
}

.ooh-list {
  display: grid;
  min-height: 0;
  flex: 1;
  gap: 10px;
  padding: 14px;
  overflow: auto;
  overscroll-behavior: contain;
}

.map-point-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  min-height: 112px;
  padding: 8px;
  border: 1px solid #d7d7d0;
  border-radius: 17px;
  background: #f7f7f3;
  color: #0a0a0a;
  text-align: left;
  cursor: pointer;
  transition: 0.25s var(--ease);
}

.map-point-card:hover,
.map-point-card.is-active {
  border-color: #0a0a0a;
  background: #e8f11c;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(10, 10, 10, 0.1);
}

.map-point-card img {
  width: 112px;
  height: 100%;
  min-height: 94px;
  border-radius: 11px;
  object-fit: cover;
}

.map-point-copy {
  min-width: 0;
  align-self: center;
  padding-right: 5px;
}

.map-point-copy small {
  display: block;
  margin-bottom: 7px;
  color: #5d5d56;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-point-copy strong {
  display: block;
  font-size: 1rem;
  line-height: 1.06;
}

.map-point-copy span {
  display: block;
  margin-top: 7px;
  color: #55554f;
  font-size: 0.74rem;
  line-height: 1.25;
}

.arbo-pin {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 3px solid #0a0a0a;
  border-radius: 50% 50% 50% 0;
  background: #e8f11c;
  box-shadow: 0 8px 20px rgba(10, 10, 10, 0.28);
  color: #0a0a0a;
  font-size: 0.64rem;
  font-weight: 800;
  transform: rotate(-45deg);
  transition: 0.2s var(--ease);
}

.arbo-pin span {
  transform: rotate(45deg);
}

.arbo-pin.is-active {
  background: #0a0a0a;
  color: #e8f11c;
  transform: rotate(-45deg) scale(1.18);
}

.ooh-tooltip.leaflet-tooltip {
  width: 240px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #0a0a0a;
  color: #fff;
  box-shadow: 0 18px 48px rgba(10, 10, 10, 0.3);
}

.ooh-tooltip.leaflet-tooltip::before {
  border-top-color: #0a0a0a;
}

.pin-preview img {
  width: 100%;
  height: 116px;
  object-fit: cover;
}

.pin-preview div {
  padding: 13px 14px 15px;
}

.pin-preview small {
  color: #e8f11c;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pin-preview strong {
  display: block;
  margin-top: 5px;
  font-size: 0.94rem;
  line-height: 1.1;
}

.leaflet-control-zoom a {
  color: #0a0a0a !important;
}

.leaflet-control-attribution {
  font-size: 9px !important;
}

#ooh-dialog {
  width: min(980px, calc(100% - 32px));
  border-color: #c7c7c0;
  background: #f7f7f3;
  color: #0a0a0a;
}

#ooh-dialog .dialog-inner {
  padding: clamp(20px, 3.5vw, 42px);
}

#ooh-dialog .dialog-close {
  border-color: #0a0a0a;
  color: #0a0a0a;
}

.ooh-detail-photo {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #ddd;
}

.ooh-detail-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
}

.ooh-gallery-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.78);
  color: #fff;
  font: 400 2rem/1 Arial, sans-serif;
  cursor: pointer;
  transform: translateY(-50%);
  transition: 0.2s var(--ease);
}

.ooh-gallery-arrow:hover,
.ooh-gallery-arrow:focus-visible {
  border-color: #e8f11c;
  background: #e8f11c;
  color: #0a0a0a;
}

.ooh-gallery-arrow.is-prev {
  left: 14px;
}

.ooh-gallery-arrow.is-next {
  right: 14px;
}

.ooh-gallery-count {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ooh-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.ooh-gallery-thumbs button {
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #ddd;
  cursor: pointer;
  opacity: 0.62;
  transition: 0.2s var(--ease);
}

.ooh-gallery-thumbs button:hover,
.ooh-gallery-thumbs button[aria-current="true"] {
  border-color: #0a0a0a;
  opacity: 1;
}

.ooh-gallery-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.ooh-detail-code {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #e8f11c;
  color: #0a0a0a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ooh-detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  margin-top: 28px;
}

.ooh-detail-grid h4 {
  margin: 7px 0 14px;
  font: 800 clamp(1.85rem, 4vw, 3.6rem)/0.92 "Normalidad Extended", Normalidad;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.ooh-detail-grid p {
  margin: 0;
  color: #4f4f49;
}

.ooh-detail-meta {
  display: grid;
  align-content: start;
  border-top: 1px solid #aaa;
}

.ooh-detail-meta div {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #ccc;
}

.ooh-detail-meta span {
  color: #6c6c65;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ooh-detail-meta strong {
  font-size: 0.88rem;
}

#ooh-dialog .actions {
  margin-top: 26px;
}

#ooh-dialog .button.light {
  border-color: #0a0a0a;
  color: #0a0a0a;
}

#ooh-dialog .button.light:hover {
  background: #0a0a0a;
  color: #fff;
}

.prototype-note {
  margin-top: 18px !important;
  color: #77776f !important;
  font-size: 0.72rem;
}

@media (max-width: 980px) {
  .ooh-map-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .ooh-map-shell {
    height: auto;
    grid-template-columns: 1fr;
  }

  .map-stage {
    height: 520px;
    min-height: 520px;
  }

  .ooh-side {
    border-top: 1px solid #0a0a0a;
  }

  .ooh-list {
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 72vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .map-point-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 620px) {
  .ooh-map-toolbar {
    margin-top: 32px;
  }

  .ooh-map-toolbar .filters {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-filter {
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .ooh-map-shell {
    border-radius: 22px;
  }

  .map-stage {
    height: 440px;
    min-height: 440px;
  }

  .map-legend {
    right: 14px;
    bottom: 14px;
    left: 14px;
    justify-content: center;
    border-radius: 14px;
    text-align: center;
  }

  .ooh-side-head {
    padding: 20px 18px 16px;
  }

  .ooh-list {
    grid-auto-columns: 84vw;
    padding: 12px;
  }

  .map-point-card {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .map-point-card img {
    width: 94px;
  }

  .ooh-detail-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ooh-detail-photo img {
    aspect-ratio: 4 / 3;
  }

  .ooh-gallery-arrow {
    width: 40px;
    height: 40px;
  }

  .ooh-gallery-thumbs {
    gap: 7px;
  }

  .ooh-gallery-thumbs img {
    aspect-ratio: 4 / 3;
  }

  .ooh-detail-meta div {
    grid-template-columns: 88px 1fr;
  }
}
