/* ─── Contacto ─── */
.contacto {
  display: grid;
  grid-template-columns: 50fr 50fr;
  min-height: 100vh;
  padding: var(--header-height) 4vw 4vw 4vw;
  gap: 0 4vw;
  box-sizing: border-box;
  align-items: end;
}

/* ─── Izquierda — info ─── */
.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contacto-title {
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 500;
  font-style: normal;
  line-height: 1.2em;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: #000000;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

.contacto-title span {
  position: relative;
}

.contacto-title span::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: #0006CF;
  transition: width var(--transition);
}

.contacto-title:hover { color: #0006CF; }
.contacto-title:hover span::after { width: 100%; }

.contacto-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contacto-details a,
.contacto-details p {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.2em;
  color: #000000;
  position: relative;
  width: fit-content;
}

.contacto-details a {
  transition: color var(--transition);
}

.contacto-details a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #0006CF;
  transition: width var(--transition);
}

.contacto-details a:hover { color: #0006CF; }
.contacto-details a:hover::after { width: 100%; }

.contacto-map {
  width: 100%;
  height: 200px;
  filter: grayscale(1);
}

.contacto-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

/* ─── Derecha — video ─── */
.contacto-video {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.contacto-video video {
  display: block;
  height: calc(100vh - var(--header-height) - 4vw);
  aspect-ratio: 2 / 3;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
  .contacto {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2rem 0;
  }

  .contacto-title {
    font-size: 1.5rem;
  }

  .contacto-video {
    justify-content: center;
  }

  .contacto-video video {
    max-height: 55vh;
    width: auto;
    aspect-ratio: 2 / 3;
  }

}
