html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: "akzidenz-grotesk-next-pro", sans-serif;
}

.p {
  padding: 0px;
}

/* Imagen centrada en el centro del viewport */
.image-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  max-width: 800px;
  text-align: center;
  font-size: inherit;
}

.image-wrapper {
  height: 75vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* Texto en columnas que usa toda la pantalla */
.text-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100vw;
  padding: 13px;
  padding-top: 0px;
  padding-bottom: 0px;
  box-sizing: border-box;
  font-family: "akzidenz-grotesk-next-pro", sans-serif;
  font-size: 13px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  color: black;
  text-align: center;
}

.footer-note {
  position: absolute;
  bottom: 13px;
  right: 13px;
  font-size: 10px;
  text-align: right;
  z-index: 10;
}

.footer-left {
  position: absolute;
  bottom: 13px;
  left: 13px;
  font-size: 10px;
  font-family: "akzidenz-grotesk-next-pro", sans-serif;
  color: black;
  z-index: 10;
}

.highlight {
  background-color: black;
  color: white;
  padding: 2px 4px;
  border-radius: 2px;
}

.text-container p:nth-child(1) { text-align: left; }
.text-container p:nth-child(2) { text-align: center; }
.text-container p:nth-child(3) { text-align: right; }

/* IMAGENES PORTAFOLIO */
.horizontal-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  width: 100vw;
  height: 100vh;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.image-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(100vw / 3);
  grid-template-rows: repeat(auto-fill, max-content);
  gap: 0;
  padding: 0;
  margin: 0;
  height: calc(100vw / 3);
}

.image-grid img {
  width: 100%;
  height: auto;
  display: block;
  padding-bottom: 30px;
  object-fit: contain;
  padding-top: 0px;
}

.nav-link {
  text-decoration: none;
  color: inherit;
}

.contact-centered {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  line-height: 0;
  font-family: "akzidenz-grotesk-next-pro", sans-serif;
  text-align: center;
  font-style: bold;
}

.contact-centered a {
  text-decoration: none;
  color: black;
}

/* IPHONE*/
@media (max-width: 768px) {
  .horizontal-scroll-container {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    white-space: normal;
  }

  a {
    font-size: inherit;
    text-decoration: none;
    color: black;
  }

.image-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  max-width: 800px;
  text-align: center;
  font-size: 10px;
}

  .image-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    grid-template-rows: unset;
    width: 100%;
    height: auto;
    padding: 0;
  }

  .image-grid img {
  width: 100vw;          /* ✅ ancho completo del viewport */
  height: auto;
  object-fit: contain;
  display: block;
  padding: 0;
  margin: 0;
  }

  .text-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    font-size: 10px; /* smaller font */
    padding: 8px 13px;
    text-align: center;
    box-sizing: border-box;
    position: fixed;
  }

  .text-container p:nth-child(1) { text-align: left; }
  .text-container p:nth-child(2) { text-align: center; }
  .text-container p:nth-child(3) { text-align: right; }

  .footer-note {
    position: fixed;
    bottom: 13px;
    right: 13px;
    text-align: right;
    font-size: 10px;
    z-index: 10;
  }

  .footer-left {
    position: absolute;
    bottom: 13px;
    left: 13px;
    text-align: left;
    font-size: 10px;
    z-index: 10;
  }

  html, body {
  overflow-x: hidden;
  overflow-y: auto; /* ✅ esto permite el scroll vertical */
  height: auto;     /* ✅ útil para permitir altura dinámica */
}
  .footer-left {
    display: none;
  }

}

/* IPAD*/
@media (min-width: 768px) and (max-width: 1024px) {
  .image-grid {
    grid-auto-columns: calc(100vw / 2); 
    height: auto;                       
    align-items: start;
  }

  .image-grid img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    padding-bottom: 30px;
  }
}



a {
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  font-family: inherit !important;
  color: black !important;
  text-decoration: none !important;
}
