/* Tokens — derivados da identidade real do Maré Alta Hostel (logo + fotos da casa) */
:root {
  --cream: #f6f1e4;
  --cream-soft: #efe8d6;
  --ink: #12312c;
  --ink-70: rgba(18, 49, 44, 0.7);
  --teal: #0e6b76;
  --teal-deep: #0a4c54;
  --teal-light: #55c2c9;
  --gold: #f0a93e;
  --terracotta: #b14b2c;
  --white: #fffaf0;

  --font-display: "Big Shoulders Display", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Jost", ui-sans-serif, system-ui, sans-serif;

  --radius: 6px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 76px;
}

img { max-width: 100%; display: block; }

h1, h2 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.4em;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-wrap: balance; }

p { margin: 0 0 1em; max-width: 60ch; }

a { color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--teal-light);
  outline-offset: 2px;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 241, 228, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(18, 49, 44, 0.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.lang-switch {
  display: flex;
  gap: 4px;
  border: 1px solid rgba(18, 49, 44, 0.18);
  border-radius: 999px;
  padding: 3px;
}
.lang-btn {
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-70);
  padding: 5px 11px;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active {
  background: var(--teal);
  color: var(--white);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-icon { height: 42px; width: auto; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.nav {
  display: flex;
  gap: 28px;
  font-size: 1.08rem;
  font-weight: 500;
}
.nav a {
  text-decoration: none;
  color: var(--ink-70);
}
.nav a:hover { color: var(--teal); }

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background-color 0.15s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn-whatsapp {
  background: var(--teal);
  color: var(--white);
}
.btn-whatsapp:hover { background: var(--teal-deep); }
.btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-large { padding: 16px 32px; font-size: 1.05rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 82%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 40, 36, 0.82) 0%, rgba(10, 40, 36, 0.35) 48%, rgba(10, 40, 36, 0.05) 75%);
}
.hero-content {
  position: relative;
  color: var(--white);
  padding-top: 60px;
  padding-bottom: 72px;
}
.hero-content h1 { color: var(--white); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--teal-light);
  margin-bottom: 16px;
}
.eyebrow-dark { color: var(--teal); }
.hero-lede {
  color: rgba(255, 250, 240, 0.92);
  font-size: 1.2rem;
  max-width: 46ch;
}

/* Wave divider — eco do logo */
.wave-divider {
  line-height: 0;
  background: var(--cream);
}
.wave-divider svg { width: 100%; height: 44px; display: block; }
.wave-divider path { fill: var(--teal-deep); }
.wave-divider-flip { transform: scaleY(-1); }

/* Espacios (estilo fotos flotantes sobre fondo) */
.section.spaces { padding: 0 0 76px; }
.spaces-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.spaces-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spaces-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 40, 36, 0.55) 0%, rgba(10, 40, 36, 0.15) 35%, rgba(10, 40, 36, 0.75) 100%);
}
.spaces-hero-inner {
  position: relative;
  padding: 48px 24px 40px;
  width: 100%;
}
.spaces-title {
  color: var(--white);
  margin-bottom: 24px;
}
.spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.spaces-thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.spaces-thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.spaces-thumb figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: var(--teal-deep);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.spaces-cta-card {
  background: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
}
.spaces-cta-card p {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.15;
}
.spaces-text { padding-top: 48px; }

@media (max-width: 700px) {
  .spaces-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Sections */
.section { padding: 76px 0; }
.section-alt { background: var(--cream-soft); }
.section-lede {
  color: var(--ink-70);
  font-size: 1.05rem;
  max-width: 58ch;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.gallery-item-wide { grid-column: 1 / -1; }
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.gallery-item-wide img { aspect-ratio: 16/7; }
.gallery-item figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(10, 40, 36, 0.75), transparent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Quartos */
.quartos-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 32px;
}
.quartos-photo img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; }

/* Habitaciones (seccion oscura, estilo acordeon) */
.section-dark {
  background: var(--ink);
  color: rgba(255, 250, 240, 0.85);
}
.habitaciones-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.habitaciones-title {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.habitaciones-lede {
  color: rgba(255, 250, 240, 0.75);
  font-size: 1.08rem;
  max-width: 52ch;
  margin-bottom: 32px;
}
.habitaciones-photo img {
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.acc-item {
  border-top: 1px solid rgba(255, 250, 240, 0.18);
  padding: 18px 0;
}
.acc-item:last-of-type { border-bottom: 1px solid rgba(255, 250, 240, 0.18); }
.acc-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--white);
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  margin-left: 16px;
  transition: transform 0.15s ease;
}
.acc-item[open] summary::after { content: "–"; }
.acc-item p {
  margin: 14px 0 0;
  color: rgba(255, 250, 240, 0.75);
  max-width: 52ch;
}

.room-list { margin-top: 12px; }
.room-item {
  border-top: 1px solid rgba(255, 250, 240, 0.18);
  padding: 18px 0;
}
.room-item:last-of-type { border-bottom: 1px solid rgba(255, 250, 240, 0.18); }
.room-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
}
.room-item summary::-webkit-details-marker { display: none; }
.room-item summary .acc-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}
.room-item summary .acc-icon::before,
.room-item summary .acc-icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.room-item summary .acc-icon::before { width: 14px; height: 2px; }
.room-item summary .acc-icon::after { width: 2px; height: 14px; transition: transform 0.15s ease; }
.room-item[open] summary .acc-icon::after { transform: translate(-50%, -50%) rotate(90deg) scale(0); }
.room-body { padding-top: 16px; }
.room-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-light);
  border: 1px solid rgba(85, 194, 201, 0.4);
  border-radius: 999px;
  padding: 4px 12px;
}
.room-body p {
  color: rgba(255, 250, 240, 0.75);
  max-width: 52ch;
  margin: 0 0 14px;
}
.room-thumb {
  display: block;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid rgba(255, 250, 240, 0.3);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 16px;
  background: none;
}
.room-thumb img { width: 100%; height: 100%; object-fit: cover; }
.room-item[open] .room-thumb { border-color: var(--gold); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }

.habitaciones-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.habitaciones-photo img { width: 100%; height: 100%; object-fit: cover; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(18, 49, 44, 0.55);
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-arrow:hover { background: rgba(18, 49, 44, 0.8); }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }

.otras-hab-note {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 250, 240, 0.18);
  color: rgba(255, 250, 240, 0.65);
  font-size: 0.92rem;
}
.otras-hab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 16px;
}
.otras-hab-thumb img {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  opacity: 0.92;
}

/* Espacios comunes reutiliza .gallery / .gallery-item ya existentes */

/* El destino */
.section-destino {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.destino-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.destino-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 40, 36, 0.82) 0%, rgba(10, 40, 36, 0.45) 55%, rgba(10, 40, 36, 0.15) 100%);
}
.destino-inner {
  position: relative;
  padding: 60px 24px;
  color: var(--white);
}
.destino-title { color: var(--white); }
.destino-lede {
  color: rgba(255, 250, 240, 0.9);
  font-size: 1.1rem;
  max-width: 46ch;
  margin-bottom: 18px;
}
.photo-credit {
  font-size: 0.75rem;
  color: rgba(255, 250, 240, 0.55);
  margin: 0;
}

/* Ubicacion */
.ubi-address {
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 1.6;
}
.ubi-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--teal);
  color: var(--teal);
}
.btn-outline:hover { background: rgba(14, 107, 118, 0.08); }
.ubi-map {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 6px 20px rgba(18, 49, 44, 0.12);
}
.feature-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.feature-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 1.02rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--gold);
}
.note-pending {
  font-size: 0.92rem;
  color: var(--ink-70);
  border-left: 3px solid var(--terracotta);
  padding-left: 14px;
  max-width: 48ch;
}
.note-pending a { color: var(--teal); font-weight: 600; }
.note-pending-light {
  color: rgba(255, 250, 240, 0.75);
  border-left-color: var(--gold);
}
.note-pending-flash {
  animation: note-flash 1.2s ease;
}
@keyframes note-flash {
  0% { color: var(--gold); }
  100% { color: inherit; }
}
@media (prefers-reduced-motion: reduce) {
  .note-pending-flash { animation: none; }
}

/* Localizacao */
.localizacao-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.localizacao-grid .gallery-item img { aspect-ratio: 4/5; }

/* Contact */
.section-contact {
  background: var(--teal-deep);
  color: var(--white);
  text-align: center;
}
.section-contact h2 { color: var(--white); }
.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
}
.wordmark-wave {
  width: 46px;
  height: auto;
}
.section-lede-light {
  color: rgba(255, 250, 240, 0.82);
}
.contact-inner .btn-large { margin: 8px 0 18px; }

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(255, 250, 240, 0.7);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
}
.wordmark-small {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.85);
}
.wordmark-small .wordmark-wave {
  width: 26px;
  height: 14px;
}

/* Motion respect */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Responsive */
@media (max-width: 860px) {
  .nav { display: none; }
  .quartos-grid,
  .habitaciones-grid,
  .localizacao-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item-wide { grid-column: auto; }
  .hero { min-height: 92vh; }
}


/* Ajustes aprobados - versión española */
.lang-btn { font-size: 1.05rem; line-height: 1; padding: 5px 9px; }
.spaces-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.spaces-thumb, .spaces-cta-card { aspect-ratio: 4 / 3; min-height: 0; }
.spaces-cta-card-alt { background: var(--cream); }
.spaces-cta-card p { font-size: clamp(1.05rem, 1.8vw, 1.45rem); }
.room-item summary { font-size: 1.18rem; }
.room-thumbs { display: flex; gap: 10px; margin: 0 0 16px; }
.room-thumbs img { width: 92px; height: 72px; object-fit: cover; border: 2px solid var(--gold); border-radius: 6px; }
.room-booking-note { margin-top: 24px; padding: 16px 18px; border-left: 3px solid var(--gold); color: rgba(255,250,240,.78); }
.carousel-counter { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; padding: 5px 12px; border-radius: 999px; background: rgba(18,49,44,.72); color: var(--white); font-size: .8rem; }
.gallery-four { grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.gallery-four .gallery-item img { aspect-ratio: 4 / 3; }
.comunes-lede { margin-top: 8px; }
.section-location { padding-top: 64px; padding-bottom: 64px; }
.ubi-map { aspect-ratio: 1 / 1; max-width: 470px; width: 100%; justify-self: end; }
.booking-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 58px; align-items: center; text-align: left; }
.booking-copy h2 { color: var(--white); }
.booking-copy > p:not(.eyebrow) { color: rgba(255,250,240,.82); }
.contact-numbers { display: grid; gap: 10px; margin-top: 24px; }
.contact-numbers a { display: flex; align-items: center; gap: 14px; color: var(--white); text-decoration: none; font-weight: 600; }
.contact-numbers small { width: 82px; color: var(--gold); letter-spacing: .1em; }
.booking-form { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.booking-form label { font-size: .9rem; font-weight: 600; }
.booking-form label span { display: block; margin-bottom: 7px; }
.booking-form input, .booking-form select { width: 100%; min-height: 48px; border: 1px solid rgba(18,49,44,.22); border-radius: 6px; background: #fff; padding: 9px 11px; color: var(--ink); font: inherit; }
.booking-form .btn, .booking-form .form-note { grid-column: 1 / -1; }
.form-note { margin: 0; color: var(--ink-70); font-size: .82rem; }
.faq-wrap { max-width: 850px; }
.faq-wrap h2 { margin-bottom: 30px; }
.faq-wrap details { padding: 18px 0; border-top: 1px solid rgba(18,49,44,.2); }
.faq-wrap details:last-child { border-bottom: 1px solid rgba(18,49,44,.2); }
.faq-wrap summary { cursor: pointer; font-weight: 600; }
.faq-wrap details p { margin: 12px 0 0; color: var(--ink-70); }
.floating-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 45; padding: 13px 19px; border-radius: 999px; background: var(--gold); color: var(--ink); text-decoration: none; font-weight: 700; box-shadow: 0 9px 28px rgba(0,0,0,.24); }

@media (max-width: 860px) {
  .spaces-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-four { grid-template-columns: repeat(2, 1fr); }
  .booking-grid { grid-template-columns: 1fr; gap: 30px; }
  .ubi-map { justify-self: stretch; max-width: none; }
}
@media (max-width: 560px) {
  .spaces-grid, .gallery-four { grid-template-columns: 1fr; }
  .booking-form { grid-template-columns: 1fr; padding: 22px; }
  .booking-form label, .booking-form .btn, .booking-form .form-note { grid-column: 1; }
  .floating-whatsapp { right: 14px; bottom: 14px; }
}


/* Banderas estables para el selector de idioma */
.lang-btn { display: inline-grid; grid-template-rows: 14px auto; place-items: center; gap: 2px; min-width: 38px; padding: 4px 7px; font-size: .62rem; line-height: 1; }
.flag-icon { width: 22px; height: 14px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(18,49,44,.18); }
.lang-btn.active .flag-icon { box-shadow: 0 0 0 1px rgba(255,255,255,.55); }


/* Interacción suave en galerías aprobadas */
.spaces-thumb,
.gallery-four .gallery-item {
  cursor: zoom-in;
  transform: translateZ(0) scale(1);
  transform-origin: center;
  transition: transform .24s ease, box-shadow .24s ease;
  will-change: transform;
}
.spaces-thumb img,
.gallery-four .gallery-item img {
  transition: transform .35s ease;
}
.spaces-thumb:hover,
.spaces-thumb:focus-visible,
.spaces-thumb.is-image-lifted,
.gallery-four .gallery-item:hover,
.gallery-four .gallery-item:focus-visible,
.gallery-four .gallery-item.is-image-lifted {
  z-index: 5;
  transform: translateZ(0) scale(1.045);
  box-shadow: 0 16px 34px rgba(10, 40, 36, .32);
}
.spaces-thumb:hover img,
.spaces-thumb:focus-visible img,
.spaces-thumb.is-image-lifted img,
.gallery-four .gallery-item:hover img,
.gallery-four .gallery-item:focus-visible img,
.gallery-four .gallery-item.is-image-lifted img {
  transform: scale(1.035);
}
@media (max-width: 560px) {
  .spaces-thumb:hover,
  .spaces-thumb:focus-visible,
  .spaces-thumb.is-image-lifted,
  .gallery-four .gallery-item:hover,
  .gallery-four .gallery-item:focus-visible,
  .gallery-four .gallery-item.is-image-lifted { transform: translateZ(0) scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  .spaces-thumb,
  .spaces-thumb img,
  .gallery-four .gallery-item,
  .gallery-four .gallery-item img { transition: none; }
}
