/* OCTOPUS360 — composición editorial
 * Pie de página, fotografía histórica y alineaciones de las páginas interiores.
 * lib/site-page.ts lo carga después de site-pages.css. Mantener aquí los ajustes
 * editoriales compartidos; hero, brazos, galería y entradas tienen su propio CSS. */

/* A quiet closing signature, with legal links kept separate from the menu. */

.site-footer {
  padding: 38px var(--edge) 22px;
  border-top: 1px solid #b8a3c31e;
  background: linear-gradient(180deg,#08070c52,#050508);
}

.site-footer > .depth-atmosphere {
  display: none;
}

.footer-identity {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-signature {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-signature .brand {
  font-size: 18px;
}

.footer-signature > span {
  color: #92879f;
  font-size: 10px;
  line-height: 1.8;
}

.footer-email, .footer-return {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 11px;
  line-height: 1.8;
  color: #b6aabd;
}

.footer-email {
  overflow-wrap: anywhere;
}

.footer-return {
  border-bottom: 1px solid #a38ab440;
}

.footer-email:hover, .footer-return:hover {
  color: #e0c8f7;
}

.site-footer .footer-legal {
  position: relative;
  z-index: 20;
  margin-top: 25px;
  padding-top: 14px;
  gap: 8px 24px;
  border-top-color: #b8a3c316;
}

.footer-preferences {
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer-preferences > span {
  color: #81738e;
  font-size: 9px;
}

.site-footer .motion-preference {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #a396af;
}

.site-footer .motion-preference[aria-pressed=true] {
  color: #cfaff0;
}

.history-memory-photo {
  margin: 28px 0 0;
  max-width: 390px;
}

.history-memory-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/4.5;
  max-height: 390px;
  object-fit: cover;
  object-position: 50% 42%;
  border: 1px solid #b49ac632;
  border-radius: 3px;
  filter: saturate(.64) brightness(.8);
  box-shadow: 0 20px 50px #0008,0 0 36px #7550950b;
}

.history-memory-photo figcaption {
  margin-top: 10px;
  color: #9e8bad;
  font-size: 9px;
  line-height: 1.8;
}

/* The proposal is a deliberate closing action, aligned with its heading. */

.ticket-proposal {
  margin-top: 52px;
  padding-top: 38px;
  border-top: 1px solid #bba5d02b;
  align-items: center;
  gap: 28px;
}

.ticket-proposal h2 {
  margin: 0;
  color: #e6deee;
  font-size: clamp(24px,2.6vw,42px);
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -.055em;
}

.ticket-proposal .cta-button {
  min-width: 190px;
  min-height: 56px;
  flex-shrink: 0;
}

/* Align the history aside without reserving space for retired decoration. */

.history-side-note {
  padding-top: clamp(16px,2vw,32px);
}

.history-side-note > p {
  margin-top: 0;
}

@media (max-width: 1000px) {
  .site-footer .footer-legal {
    align-items: flex-start;
  }

  .footer-preferences {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 760px) {
  .site-footer {
    padding: 28px var(--edge) 18px;
  }

  .footer-identity {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 16px;
  }

  .footer-signature .brand {
    font-size: 16px;
  }

  .footer-signature > span {
    font-size: 9px;
  }

  .footer-email {
    grid-row: 2;
    grid-column: 1/-1;
    font-size: 10px;
    min-height: 38px;
  }

  .footer-return {
    align-self: start;
    font-size: 9px;
  }

  .site-footer .footer-legal {
    margin-top: 13px;
    padding-top: 11px;
  }

  .site-footer .footer-legal nav {
    gap: 0 18px;
  }

  .site-footer .footer-legal nav a {
    font-size: 9px;
  }

  .footer-preferences {
    gap: 12px;
  }

  .footer-preferences > span {
    font-size: 8px;
  }

  .history-memory-photo {
    margin-top: 23px;
    max-width: 420px;
  }

  .history-memory-photo img {
    aspect-ratio: 1.1;
    max-height: 350px;
  }

  .history-side-note {
    padding-top: 0;
  }

  .ticket-proposal {
    margin-top: 36px;
    padding-top: 28px;
    gap: 22px;
    align-items: flex-start;
  }

  .ticket-proposal h2 {
    max-width: 340px;
  }

  .ticket-proposal .cta-button {
    min-width: 180px;
  }
}
