/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */
@media (max-width: 768px) {
  /* ============================================================
   RESPONSIVE BIENVENIDA
   ============================================================ */
  h1 {
    max-width: calc(100vh);
    font-size: 50px;
  }

  /* ============================================================
   RESPONSIVE HERO
   ============================================================ */
  .header {
    top: 16px;
    left: 16px;
    right: 16px;
    flex-direction: row; /* antes: column — vuelve a la misma fila */
    align-items: center;
    justify-content: space-between;
  }

  .location-info {
    gap: 8px;
    font-size: 9px;
  }

  .location-tz,
  .location-coords {
    display: none;
  }

  .hero-logo {
    display: none;
  }

  .header_nav {
    position: static; /* antes: absolute — ya no hace falta, vive en la misma fila */
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 10px;
    padding: 0;
  }

  /* Título: gap de letras reducido para móvil, centrado con wrap */
  h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-wrap: wrap;
    justify-content: center;
    font-size: 45px;
    text-align: center;
  }

  .pretitulo,
  .subtitulo {
    font-size: 15px;
  }

  .pretitulo {
    top: 35%;
  }

  .subtitulo {
    bottom: 35%;
  }

  .port-date,
  .scroll-hint {
    font-size: 9px;
    bottom: 16px;
  }

  .port-date {
    left: 16px;
  }

  .scroll-hint {
    right: 16px;
  }

  .theme-toggle {
    bottom: 16px;
  }

  .projects-heading {
    position: relative;
    display: block;
    padding: 58px 20px 0;
    margin-bottom: 0;
  }

  .titulo-proyectos {
    position: relative;
    font-size: 60px;
    left: 0;
    right: auto;
    display: block;
    text-align: left;
    line-height: 0.9;
  }

  .project-scenes {
    margin-top: 0;
  }

  .project-scene {
    min-height: auto;
    padding: 68px 20px;
    opacity: 1;
    transform: none;
  }

  .project-scene::before {
    top: 42px;
    left: 20px;
    right: 20px;
  }

  .project-scene-link {
    min-height: auto;
    gap: 30px;
  }

  .project-scene-layout,
  .project-scene--reverse .project-scene-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .project-scene--reverse .project-title,
  .project-scene--reverse .project-scene-media {
    grid-column: auto;
    grid-row: auto;
    text-align: left;
  }

  .project-scene-media,
  .project-scene-media--wide {
    aspect-ratio: 16 / 11;
  }

  .project-scene-media img {
    filter: grayscale(1) contrast(1.05);
    transform: scale(1);
  }

  .project-scene--adfenesa .project-scene-media img {
    filter: none;
  }

  .project-scene-meta {
    gap: 28px;
  }

  .project-scene-meta > span:first-child {
    font-size: 28px;
  }

  .project-scene-meta span:last-child {
    letter-spacing: 0.14em;
  }

  .project-title {
    font-size: 64px;
  }

  .contacto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    position: relative;
    min-height: 650px;
  }

  .aux-name {
    top: 30px;
    left: 20px;
    font-size: 12px;
  }

  .descripcion-contacto {
    font-size: 20px;
  }

  .email-pill {
    position: absolute;
    font-size: 14px;
    bottom: 50px;
    left: 20px;
  }

  .final {
    min-height: 400px;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    position: relative;
  }

  .final-name {
    font-size: 60px;
  }

  .ig {
    position: absolute;
    bottom: 40px;
    left: 50%;
    translate: -50% 0;
    font-weight: 300;
  }

  /* ============================================================
   RESPONSIVE HERO
   ============================================================ */
  .showcase-title {
    font-size: 35px;
  }

  .showcase-banner-item {
    font-size: 20px;
  }

  .showcase-name {
    font-size: 15px;
  }

  .showcase-side-icon {
  display: none;
}
}
