/* Ajustes propios de la pagina Accion Climatica */
.climate-hero-photo {
  position: relative;
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 8px;
  background: linear-gradient(rgba(255,255,255,.08),rgba(255,255,255,.08)) padding-box, var(--grad) border-box;
  box-shadow: 0 26px 80px rgba(0,0,0,.24);
}

.climate-hero-photo::before {
  content: "";
  position: absolute;
  z-index: 1;
  right: -16%;
  bottom: -24%;
  left: 28%;
  height: 48%;
  border-radius: 50%;
  background-image: var(--grad-img);
  background-size: cover;
  filter: blur(28px);
  opacity: .34;
  pointer-events: none;
}

.climate-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: center;
  filter: saturate(.98) contrast(1.03) brightness(.94);
  transition: transform 1.1s ease, filter .35s ease;
}

.climate-hero-photo:hover img {
  transform: scale(1.035);
  filter: saturate(1.03) contrast(1.05) brightness(.98);
}

.climate-principles article,
.climate-steps article,
.future-grid article {
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease, border-color .24s ease;
}

.climate-principles article:hover {
  transform: translateY(-5px);
  background: linear-gradient(#fff,#fff) padding-box, var(--grad) border-box;
  box-shadow: 0 24px 58px rgba(7,22,37,.13);
}

.climate-principles span {
  transition: transform .24s ease, box-shadow .24s ease;
}

.climate-principles article:hover span {
  transform: scale(1.04);
  box-shadow: 0 12px 28px rgba(0,212,203,.22);
}

.climate-steps article:hover {
  transform: translateY(-5px);
  background: linear-gradient(#fff,#fff) padding-box, var(--grad) border-box;
  box-shadow: 0 24px 58px rgba(7,22,37,.13);
}

.climate-steps article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(0,212,203,.11), transparent);
  transform: translateX(-120%);
  transition: transform .65s ease;
  pointer-events: none;
}

.climate-steps article:hover::after {
  transform: translateX(120%);
}

.climate-steps article:hover b {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.climate-ally-visual {
  background: linear-gradient(145deg, rgba(7,22,37,.16), rgba(7,22,37,.76)), url("assets/nideport-territory.png") center/cover;
}

.climate-ally-visual span {
  margin-bottom: 18px;
  color: rgba(255,255,255,.8);
  font-size: 14px;
}

.nideport-logo {
  position: relative;
  width: min(100%, 330px);
  max-height: 100px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(7,22,37,.28);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 16px 26px rgba(0,0,0,.32));
  backdrop-filter: blur(8px);
}

.climate-ally-card:hover .climate-ally-visual::before {
  transform: translate(-12px,10px) scale(1.05);
  transition: transform .55s ease;
}

@media (max-width: 640px) {
  .climate-hero-photo,
  .climate-hero-photo img {
    min-height: 320px;
  }

  .nideport-logo {
    width: 250px;
  }
}
