* { box-sizing: border-box; }
html { scroll-padding-top: 8rem; }
body { margin: 0; background: #f5f0e8; color: #1a1612; font: 1rem/1.5 Geist, system-ui, sans-serif; }
header { position: sticky; top: 0; z-index: 2; background: #f5f0e8; padding: .5rem 1rem; }
nav { max-width: 72rem; margin: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
nav a, .texto a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .75rem; border-radius: .5rem; font-weight: 600; }
nav a[href="#hotel"] { background: #1a1612; color: #f5f0e8; }
.marca { margin-right: auto; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 3px solid #aa5424; outline-offset: 3px; }
.skip { position: fixed; top: .5rem; left: 1rem; z-index: 3; background: #fff; padding: .75rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
.plano { position: relative; min-height: 70svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; padding: 2rem max(1.5rem, 7vw); background: #181818; color: #fff; }
.plano img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.texto { width: fit-content; max-width: min(100%, 680px); padding: 1rem 1.5rem; background: #181818; border-radius: .75rem; }
h1,h2,h3,p { margin: 0; }
h1,h2 { font-weight: 600; text-wrap: balance; }
h1 { font-size: 3.75rem; line-height: 1; }
h2 { font-size: 2.25rem; line-height: 2.5rem; }
.texto p, .panel p { margin-top: .5rem; }
.panel { max-width: 72rem; margin: auto; padding: 3rem 1.5rem; }
.panel article { margin-top: 1.5rem; }
.panel li a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 40rem) {
  nav { justify-content: center; }
  .marca { flex-basis: 100%; justify-content: center; }
  nav a { font-size: .875rem; padding-inline: .5rem; }
  .plano { padding: 1rem; }
  h1 { font-size: 2.25rem; line-height: 2.5rem; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .escena { min-height: 125svh; view-timeline: --escena block; }
    .plano { position: sticky; top: 0; min-height: 100svh; }
    .plano img { animation: acercamiento auto linear both; animation-timeline: --escena; }
    @keyframes acercamiento { from { transform: scale(1); } to { transform: scale(1.22); } }
  }
}

/* Navegación legal estática compartida. */
.legal-links { justify-content: flex-start; gap: 8px 24px; margin-top: 24px; flex-wrap: wrap; }
.legal-links a { min-height: 44px; font-size: .875rem; line-height: 1.25rem; }
.legal-footer { padding-block: 24px; }
/* Mantener los últimos enlaces separados del borde y de la zona segura móvil. */
footer.legal-footer { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }

/* Pie compartido: tres columnas reales en escritorio. */
.footer-columns { display: grid; grid-template-columns: minmax(0,2fr) repeat(2,minmax(0,1fr)); gap: 32px; align-items: start; }
.footer-columns > * { min-width: 0; }
.footer-columns h2 { font-size: 1.25rem; line-height: 1.75rem; margin: 0 0 16px; }
.footer-columns .media-footer, .footer-columns .legal-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; }
.footer-columns .media-footer a, .footer-columns .legal-links a { display: inline-flex; min-height: 44px; align-items: center; padding: 0; margin: 0; font-size: .875rem; line-height: 1.25rem; overflow-wrap: anywhere; }
@media(max-width:700px) { .footer-columns { grid-template-columns: 1fr; } }
