/* ===== HOME (se apoya en styles.css) ===== */

.h-pre {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 18px;
  color: var(--pink-light);
  margin-bottom: 6px;
}

/* Hero */
.h-hero {
  position: relative;
  height: 760px;
  display: flex;
  align-items: center;
  padding: 0 var(--side);
  background: url('img/banners/home-retrato-martini.jpg') right -120px center / cover no-repeat, var(--black);
}

.h-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--black) 25%, rgba(0, 0, 0, 0) 65%);
}

.h-hero__content {
  position: relative;
  max-width: 560px;
}

.h-hero__title {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 62px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.h-hero__text {
  max-width: 540px;
  margin-bottom: 30px;
  font-size: 17px;
  font-weight: 300;
}

.h-actions {
  display: flex;
  gap: 14px;
}

/* Datos clave */
.h-info {
  display: flex;
  justify-content: center;
  padding: 0 var(--side);
  border-top: 1px solid rgba(214, 30, 122, .5);
  border-bottom: 1px solid rgba(214, 30, 122, .5);
  margin-bottom: 110px;
}

.h-info__item {
  flex: 1;
  padding: 34px 30px;
  text-align: center;
  font-size: 15px;
}

.h-info__item + .h-info__item {
  border-left: 1px solid rgba(214, 30, 122, .5);
}

.h-info__note {
  display: block;
  font-size: 13px;
  color: #999;
}

.h-info__label {
  display: block;
  font-family: var(--font-title);
  font-size: 22px;
  color: var(--pink);
  margin-bottom: 4px;
}

.h-block {
  margin-bottom: 110px;
}

/* Fotos grandes y verticales, como en la home original */
.h-block .feature__img img {
  max-width: 520px;
  height: 640px;
  object-fit: cover;
}

.h-para + .h-para {
  margin-top: 14px;
}

.h-block .btn {
  margin-top: 26px;
}

/* Horario y mapa */
.h-visit {
  display: flex;
  align-items: center;
  gap: 70px;
  padding: 0 var(--side);
}

.h-visit__col,
.h-map {
  width: 50%;
}

.h-map {
  height: 380px;
  border: 1px solid rgba(214, 30, 122, .4);
  background: #141414;
}

.h-map-link {
  margin-top: 20px;
}

/* Calles en oscuro: se invierten los colores del mapa de OpenStreetMap
   y se pasan a gris. Solo afecta a las calles, no al marcador ni a los botones */
.h-map .leaflet-tile-pane {
  filter: grayscale(100%) invert(100%) brightness(85%) contrast(90%);
}

/* Marcador rosa */
.map-pin {
  width: 30px;
  height: 30px;
  background: var(--pink);
  border: 3px solid var(--black);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 0 6px rgba(214, 30, 122, .3), 0 0 22px rgba(214, 30, 122, .8);
}

/* Ventana del marcador con los colores de la web */
.h-map .leaflet-popup-content-wrapper,
.h-map .leaflet-popup-tip {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--pink);
  border-radius: 0;
  box-shadow: none;
}

.h-map .leaflet-popup-content {
  margin: 12px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
}

.map-popup__title {
  display: block;
  font-family: var(--font-title);
  font-size: 17px;
  color: var(--pink);
}

.h-map .leaflet-container a.leaflet-popup-close-button {
  color: var(--white);
}

/* Botones de zoom y créditos en oscuro */
.h-map .leaflet-bar a {
  background: var(--black);
  color: var(--white);
  border-color: rgba(214, 30, 122, .4);
}

.h-map .leaflet-bar a:hover {
  background: var(--pink);
}

.h-map .leaflet-control-attribution {
  background: rgba(0, 0, 0, .7);
  color: #888;
  font-size: 10px;
}

.h-map .leaflet-control-attribution a {
  color: #bbb;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .h-block .feature__img img {
    max-width: none;
    height: 420px;
  }

  .h-hero {
    height: auto;
    padding: 140px var(--side) 80px;
    background-size: cover;
    background-position: 85% center;
  }

  .h-hero::before {
    background: rgba(0, 0, 0, .7);
  }

  .h-hero__title {
    font-size: 42px;
  }

  .h-actions {
    flex-wrap: wrap;
  }

  .h-info,
  .h-visit {
    flex-direction: column;
  }

  .h-info__item + .h-info__item {
    border-left: 0;
    border-top: 1px solid rgba(214, 30, 122, .5);
  }

  .h-info__item {
    padding: 22px 20px;
  }

  .h-visit {
    gap: 40px;
  }

  .h-visit__col,
  .h-map {
    width: 100%;
  }
}
