/*
 * Plantilla Atlantis Playamont 1.3.0 (Atlantis Nesos, 17/11/2026)
 * Copia el diseño de la web hecha con Nicepage, sin Nicepage.
 * Medidas tomadas de la web original a 1440 px de ancho.
 */

:root {
  --apm-azul: #054a71;          /* cabecera y botones (palette-2-base) */
  --apm-azul-vivo: #0172b2;     /* activo del menú, autores (palette-1-dark-1) */
  --apm-azul-contacto: #2b5ea0; /* sección Contacto (custom-color-1) */
  --apm-celeste: #0cbcf5;       /* enlaces del pie y botón de contacto */
  --apm-celeste-claro: #86dbf6; /* flechas del carrusel */
  --apm-pie: #234152;           /* pie (palette-2-dark-2) */
  --apm-texto: #111;
  --apm-borde: #d6dfe2;
  --apm-gris: #b3b3b3;
  --apm-sombra: 0 0 8px 0 rgba(128, 128, 128, 1);
  --apm-ancho: 1320px;
  --apm-fuente: 'Josefin Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --apm-fuente-titulos: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Atlantis Restaurante: mismo azul en los botones de la fila de horario */
  --arest-azul: var(--apm-azul);
  --arest-azul-hover: #03324d;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--apm-fuente);
  font-size: 16px;
  line-height: 1.6;
  color: var(--apm-texto);
  background: #fff;
}

img { max-width: 100%; height: auto; }
.apm-main { flex: 1 0 auto; }
.apm-cabecera, .apm-pie { flex: none; }
a { color: var(--apm-azul-vivo); }
a:hover { color: var(--apm-azul); }
:focus-visible { outline: 3px solid #f2b33d; outline-offset: 2px; }

h1, h2, h3, h4, h5, h6 { line-height: 1.2; margin: 0 0 .6em; font-weight: 400; }
p { margin: 0 0 1em; }

.apm-oculto {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.apm-saltar {
  position: absolute;
  left: 8px; top: -60px;
  z-index: 1000;
  background: #fff;
  color: var(--apm-azul);
  padding: 10px 16px;
  font-weight: 700;
}
.apm-saltar:focus { top: 8px; }

.apm-contenedor {
  width: min(var(--apm-ancho), 100% - 40px);
  margin-inline: auto;
}

.apm-ico { width: 1em; height: 1em; flex: none; }

/* ============ Cabecera (1.3.0) ============ */
.apm-cabecera { background: var(--apm-azul); color: #fff; position: relative; z-index: 30; }
.apm-cabecera a { color: #fff; text-decoration: none; }

/* Barra oscura superior: idiomas, redes, estado, teléfono y correo */
.apm-barra { background: #03324d; font-size: 14px; }
.apm-barra__in {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
}
.apm-barra__izq { display: flex; align-items: center; gap: 8px 40px; }
.apm-barra__der { display: flex; align-items: center; justify-content: flex-end; gap: 8px 20px; white-space: nowrap; }
.apm-barra__dato { display: inline-flex; align-items: center; gap: 6px; line-height: 1; }
.apm-barra__dato .apm-ico { font-size: 13px; }
.apm-barra__dato a { color: #fff; }
.apm-barra__sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .3); }

.apm-redes { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.apm-redes a { display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; }
.apm-redes .apm-ico { width: 20px; height: 20px; }
.apm-redes a:hover { opacity: .8; }

/* Estado abierto / cerrado */
.apm-estado { margin: 0; display: inline-flex; align-items: center; gap: 8px; line-height: 1; }
.apm-estado__punto { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.apm-estado__texto { font-weight: 700; letter-spacing: .5px; }
.apm-estado__detalle { color: #cfe0ea; }
.apm-estado.is-abierto .apm-estado__punto { background: #7be39a; box-shadow: 0 0 0 3px rgba(123, 227, 154, .25); }
.apm-estado.is-abierto .apm-estado__texto { color: #7be39a; }
.apm-estado.is-cerrado .apm-estado__punto { background: #ffb4a8; box-shadow: 0 0 0 3px rgba(255, 180, 168, .25); }
.apm-estado.is-cerrado .apm-estado__texto { color: #ffb4a8; }

/* Selector de idioma en línea */
.apm-lang { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.apm-lang__item { display: inline-flex; align-items: center; padding: 6px 0; opacity: .5; line-height: 1; transition: opacity .15s; }
.apm-lang__item:hover,
.apm-lang__item:focus-visible,
.apm-lang__item.is-activo { opacity: 1; }
.apm-lang__bandera { display: inline-flex; width: 27px; height: 18px; box-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.apm-lang__bandera svg { width: 100%; height: 100%; display: block; }

/* Logo y lema (como la web original) */
.apm-marca { text-align: center; padding-top: 4px; }
.apm-marca__logo { display: inline-block; line-height: 0; }
.apm-marca__logo img { width: 208px; height: auto; }
.apm-marca__lema { margin: 0; font-size: 16px; line-height: 26px; letter-spacing: .02em; }

/* Menú entre dos líneas blancas (como la web original) */
.apm-navbar { background: var(--apm-azul); padding: 11px 0; z-index: 20; }
/* Menú fijo al bajar: es la cabecera entera la que se pega, subida lo que miden la barra oscura y el logo
   (template.js calcula --apm-fijo-top), así solo queda a la vista la franja del menú.
   Un sticky dentro de la cabecera no serviría: solo se pega mientras su contenedor está a la vista. */
.apm-cabecera--fija { position: sticky; top: var(--apm-fijo-top, -200px); }

.apm-nav {
  width: min(570px, 100% - 40px);
  margin: 0 auto;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  min-height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apm-nav__boton {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 28px;
  width: 48px; height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.apm-nav__lista { display: flex; align-items: center; justify-content: center; gap: 3px; }
.apm-nav__lista ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 3px; }
.apm-nav__lista li { margin: 0; position: relative; }

.apm-cabecera .apm-nav__lista a,
.apm-nav__lista .separator,
.apm-nav__lista .nav-header {
  display: block;
  padding: 10px 16px 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 18px;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  text-decoration: none;
  transition: background-color .15s, color .15s;
}

/* Activo y al pasar el ratón: recuadro blanco con el texto azul */
.apm-cabecera .apm-nav__lista a:hover,
.apm-cabecera .apm-nav__lista a:focus-visible,
.apm-cabecera .apm-nav__lista li.active > a,
.apm-cabecera .apm-nav__lista li.current > a,
.apm-cabecera .apm-nav__lista a[aria-current] { background: #fff; color: var(--apm-azul-vivo); }

/* Submenús (por si algún día se añaden) */
.apm-nav__lista li ul {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  min-width: 200px;
  flex-direction: column;
  background: var(--apm-azul);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}
.apm-nav__lista li:hover > ul,
.apm-nav__lista li:focus-within > ul { display: flex; }

/* ============ Botones ============ */
.apm-boton,
.apm-componente .btn-primary,
.apm-componente button[type=submit],
.apm-componente input[type=submit] {
  display: inline-block;
  background: var(--apm-azul);
  color: #fff !important;
  border: 0;
  border-radius: 0;
  font-family: var(--apm-fuente);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 14px 30px 12px;
  cursor: pointer;
  transition: background-color .15s;
}
.apm-boton:hover,
.apm-componente .btn-primary:hover,
.apm-componente button[type=submit]:hover,
.apm-componente input[type=submit]:hover { background: #03324d; }

.apm-boton--claro { background: var(--apm-celeste); }
.apm-boton--claro:hover { background: #089acb; }

/* ============ Portada ============ */
.apm-mensajes:empty { display: none; }

.apm-carrusel { position: relative; }
.apm-carrusel__pista { position: relative; display: grid; }
.apm-carrusel__item {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility 0s linear .8s;
}
.apm-carrusel__item.is-activa {
  opacity: 1;
  visibility: visible;
  transition: opacity .8s ease, visibility 0s;
}
@media (prefers-reduced-motion: reduce) {
  .apm-carrusel__item, .apm-carrusel__item.is-activa { transition: none; }
}

.apm-carrusel__flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  z-index: 3;
  padding: 0;
}

.apm-carrusel__puntos {
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 3;
}
.apm-carrusel__puntos button {
  display: block;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* Carrusel principal */
.apm-hero { height: clamp(320px, 55.56vw, 800px); overflow: hidden; background: #24333f; }
.apm-hero .apm-carrusel__pista,
.apm-hero__item { height: 100%; }
.apm-hero__item { position: relative; }
.apm-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.apm-hero__capa { position: relative; z-index: 2; padding-top: 49px; }
.apm-hero__texto {
  margin: 0;
  color: #fff;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.15;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}
.apm-hero__flecha {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--apm-celeste-claro);
  color: var(--apm-texto);
  font-size: 24px;
}
.apm-hero__flecha.apm-carrusel__flecha--prev { left: max(25px, calc((100% - var(--apm-ancho)) / 2 + 5px)); }
.apm-hero__flecha.apm-carrusel__flecha--next { right: max(25px, calc((100% - var(--apm-ancho)) / 2 + 5px)); }
.apm-hero__flecha:hover { background: #fff; }
.apm-hero__puntos button { background: #fff; }
.apm-hero__puntos button[aria-current] { background: var(--apm-azul-vivo); }

/* Secciones */
.apm-seccion { padding: 37px 0; }
.apm-horario { padding: 37px 0 38px; }

.apm-caja { background: #fff; box-shadow: var(--apm-sombra); padding: 30px; }

/* Bienvenida */
.apm-bienvenida { padding: 0 0 30px; }
.apm-bienvenida__caja { min-height: 330px; text-align: center; }
.apm-bienvenida__titulo { font-size: 20px; font-weight: 500; text-transform: uppercase; margin: 2px 0 48px; }
.apm-bienvenida__caja p { max-width: 1260px; margin-inline: auto; }

/* Rejilla foto / texto */
.apm-rejilla-sec { padding: 81px 0 96px; }
.apm-rejilla {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.apm-rejilla__celda { min-height: 405px; position: relative; }
.apm-rejilla__celda--foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.apm-rejilla__celda--texto {
  background: #fff;
  border: 2px solid var(--apm-borde);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}
.apm-rejilla__texto { max-width: 380px; }
.apm-antetitulo {
  font-size: 18px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin: 0 0 37px;
}
.apm-rejilla__titulo {
  font-family: var(--apm-fuente-titulos);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 47px;
}
.apm-rejilla__texto p:last-child { margin-bottom: 0; }

/* Galería */
.apm-galeria-sec { padding: 49px 0; }
.apm-galeria {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 984px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 15px;
}
.apm-galeria a { display: block; aspect-ratio: 318 / 328; overflow: hidden; }
.apm-galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.apm-galeria a:hover img,
.apm-galeria a:focus-visible img { transform: scale(1.04); }

.apm-visor {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
}
.apm-visor::backdrop { background: rgba(0, 0, 0, .88); }
.apm-visor[open] { display: flex; align-items: center; justify-content: center; }
.apm-visor__img { max-width: calc(100vw - 140px); max-height: calc(100vh - 80px); object-fit: contain; }
.apm-visor__cerrar,
.apm-visor__flecha {
  position: fixed;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.apm-visor__cerrar { top: 16px; right: 16px; }
.apm-visor__flecha--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.apm-visor__flecha--next { right: 16px; top: 50%; transform: translateY(-50%); }
.apm-visor__cerrar:hover,
.apm-visor__flecha:hover { background: rgba(255, 255, 255, .3); }

/* Reseñas */
.apm-resenas-sec { padding: 0 0 37px; }
.apm-resenas { min-height: 483px; display: flex; flex-direction: column; align-items: center; }
.apm-resenas__titulo { font-size: 20px; font-weight: 700; margin: 0; text-align: center; }
.apm-resenas__carrusel { width: min(938px, 100%); margin-top: 35px; flex: 1; }
.apm-resena { margin: 0; padding: 30px 80px 50px; text-align: center; }
.apm-resena__texto { margin: 0; font-size: 18px; line-height: 1.6; }
.apm-resena__texto p { margin: 0; }
.apm-resena__autor { margin: 40px 0 0; font-size: 24px; font-weight: 700; color: var(--apm-azul-vivo); }
.apm-resenas__flecha { width: 35px; height: 35px; background: none; color: var(--apm-gris); font-size: 32px; }
.apm-resenas__flecha.apm-carrusel__flecha--prev { left: 0; }
.apm-resenas__flecha.apm-carrusel__flecha--next { right: 0; }
.apm-resenas__flecha:hover { color: var(--apm-texto); }
.apm-resenas__puntos button { background: var(--apm-gris); }
.apm-resenas__puntos button[aria-current] { background: #707070; }

/* Contacto */
.apm-contacto { background: var(--apm-azul-contacto); color: #fff; }
.apm-contacto a { color: #fff; }
.apm-contacto__in {
  display: grid;
  grid-template-columns: 484px minmax(0, 1fr);
  min-height: 505px;
}
.apm-contacto__datos {
  text-align: center;
  padding: 40px 30px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.apm-contacto__titulo { font-size: 20px; font-weight: 700; text-transform: uppercase; margin: 0 0 95px; }
.apm-contacto__tel { font-size: 20px; margin: 0 0 6px; }
.apm-contacto__tel a { text-decoration: none; }
.apm-contacto__email { margin: 0 0 8px; }
.apm-contacto__dir { margin: 0 0 66px; }

.apm-mapa {
  position: relative;
  background: #ededed;
  color: var(--apm-texto);
  margin-bottom: 30px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.apm-mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.apm-mapa__aviso { max-width: 420px; text-align: center; padding: 24px; }
.apm-mapa__aviso > .apm-ico { font-size: 40px; color: var(--apm-azul-contacto); margin-bottom: 10px; }
.apm-mapa__aviso p { margin: 0 0 16px; }
.apm-mapa__acciones { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; }
.apm-mapa a.apm-mapa__llegar { color: var(--apm-azul-contacto); font-weight: 700; }

/* ============ Páginas interiores ============ */
.apm-interior__in { padding: 60px 0 80px; }
.apm-cuerpo--lateral {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
}
.apm-pos--arriba { margin-bottom: 30px; }
.apm-pos--abajo { margin-top: 40px; }

.apm-componente h1, .apm-componente .page-header h1 { font-size: 2.5rem; }
.apm-componente h2 { font-size: 1.75rem; }
.apm-componente h3 { font-size: 1.5rem; }
.apm-componente .page-header { margin-bottom: 1rem; }

/* Formularios (com_contact, login, ConvertForms hereda lo suyo) */
.apm-componente fieldset { border: 1px solid #e3e3e3; background: #f5f5f5; padding: 20px 24px; margin: 0 0 24px; }
.apm-componente legend { font-size: 1.25rem; padding: 0 6px; }
.apm-componente .control-group { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 8px 20px; margin-bottom: 14px; align-items: start; }
.apm-componente .control-label { text-align: right; padding-top: 8px; }
.apm-componente input[type=text],
.apm-componente input[type=email],
.apm-componente input[type=tel],
.apm-componente input[type=password],
.apm-componente input[type=number],
.apm-componente input[type=date],
.apm-componente input[type=url],
.apm-componente select,
.apm-componente textarea,
.apm-componente .form-control,
.apm-componente .form-select {
  width: 100%;
  max-width: 520px;
  font: inherit;
  padding: 8px 10px;
  border: 1px solid #b9b9b9;
  border-radius: 2px;
  background: #fff;
  color: var(--apm-texto);
}
.apm-componente textarea { min-height: 160px; }
.apm-componente input:focus,
.apm-componente select:focus,
.apm-componente textarea:focus { border-color: var(--apm-azul-vivo); outline: 2px solid rgba(1, 114, 178, .25); }
.apm-componente .invalid { border-color: #b3261e !important; }
.apm-componente .star, .apm-componente .required { color: #b3261e; }
.apm-componente .contact-address, .apm-componente dl { margin: 0 0 1rem; }
.apm-componente .icon-address::before, .apm-componente [class^="icon-"]::before { margin-right: 6px; }

/* Información del artículo (autor, categoría, fechas, visitas): oculta si la opción de la plantilla está en Sí,
   como hacía Nicepage, aunque el artículo o el menú tengan «Mostrar». */
.apm-sin-info .apm-componente .article-info,
.apm-sin-info .apm-componente dl.article-info,
.apm-sin-info .apm-componente .icons,
.apm-sin-info .apm-componente .com-content-article__info { display: none !important; }

/* Mensajes del sistema */
joomla-alert { margin: 0 0 20px; }

/* Paginación */
.apm-componente .pagination { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.apm-componente .page-link { display: block; padding: 6px 12px; border: 1px solid #d9d9d9; text-decoration: none; }
.apm-componente .active > .page-link { background: var(--apm-azul); color: #fff; border-color: var(--apm-azul); }

/* ============ Pie ============ */
.apm-pie { background: var(--apm-pie); color: #fff; font-size: 14px; }
.apm-pie__in {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px 40px;
  flex-wrap: wrap;
  padding: 20px 0 28px;
}
.apm-pie__copy { margin: 0; }
.apm-pie__der { text-align: right; margin-left: auto; }
.apm-pie__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 14px; }
.apm-pie a { color: var(--apm-celeste); text-decoration: none; }
.apm-pie a:hover { text-decoration: underline; }
.apm-pie__extra { margin: 6px 0 0; display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.apm-pie__cookies { color: #9ce4fb !important; font-size: 16px; }
.apm-pie__acceso { display: inline-flex; color: #9ce4fb !important; font-size: 18px; opacity: .7; }
.apm-pie__acceso:hover { opacity: 1; }
.apm-pos--pie { padding-top: 24px; }

/* ============ Página de error ============ */
.apm-error { text-align: center; padding: 80px 0 100px; }
.apm-error__codigo { font-family: var(--apm-fuente-titulos); font-size: 72px; font-weight: 700; color: var(--apm-azul); margin: 0; }

/* ============ Responsive ============ */
@media (max-width: 1199px) {
  .apm-contacto__in { grid-template-columns: 400px minmax(0, 1fr); }
  .apm-resena { padding-inline: 60px; }
}

@media (max-width: 991px) {
  .apm-barra__in { flex-wrap: wrap; justify-content: center; padding: 6px 0; }
  .apm-barra__email, .apm-barra__sep { display: none; }

  .apm-navbar { padding: 4px 0 8px; }
  .apm-cabecera--fija { position: relative; top: auto; }
  .apm-nav { width: 100%; border: 0; min-height: 0; flex-wrap: wrap; }
  .apm-nav__boton { display: flex; margin: 0 auto; }
  .apm-nav__lista { display: none; width: 100%; flex-direction: column; border-top: 2px solid #fff; border-bottom: 2px solid #fff; padding: 6px 0; }
  .apm-principal.is-abierta .apm-nav__lista { display: flex; }
  .apm-nav__lista ul { flex-direction: column; gap: 0; width: 100%; }
  .apm-cabecera .apm-nav__lista a { padding: 14px 20px; text-align: center; }
  .apm-nav__lista li ul { position: static; display: flex; box-shadow: none; }

  .apm-hero__texto { font-size: 28px; }

  .apm-rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apm-rejilla__celda { min-height: 340px; }

  .apm-contacto__in { grid-template-columns: 1fr; }
  .apm-contacto__titulo { margin-bottom: 30px; }
  .apm-contacto__dir { margin-bottom: 30px; }
  .apm-mapa { margin-bottom: 30px; min-height: 320px; }

  .apm-cuerpo--lateral { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .apm-barra__izq { gap: 8px 20px; }
  .apm-barra__der { justify-content: center; gap: 6px 16px; flex-wrap: wrap; white-space: normal; }

  .apm-hero { height: clamp(300px, 80vw, 520px); }
  .apm-hero__texto { font-size: 22px; }
  .apm-hero__capa { padding-top: 24px; }
  .apm-hero__flecha { width: 40px; height: 40px; font-size: 20px; top: auto; bottom: 28px; transform: none; }

  .apm-rejilla { grid-template-columns: 1fr; }
  .apm-rejilla__celda--foto { min-height: 280px; }
  .apm-rejilla__celda--texto { min-height: 0; padding: 40px 24px; }

  .apm-galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

  .apm-resena { padding: 20px 40px 50px; }
  .apm-resenas__flecha { font-size: 26px; }
  .apm-resena__autor { margin-top: 24px; font-size: 20px; }

  .apm-componente .control-group { grid-template-columns: 1fr; }
  .apm-componente .control-label { text-align: left; padding-top: 0; }

  .apm-pie__in { flex-direction: column; text-align: center; align-items: center; }
  .apm-pie__der { text-align: center; margin: 0; }
  .apm-pie__legal, .apm-pie__extra { justify-content: center; }

  .apm-visor__img { max-width: 100vw; max-height: calc(100vh - 140px); }
  .apm-visor__flecha { top: auto; bottom: 16px; transform: none; }
}

@media print {
  .apm-barra, .apm-navbar, .apm-carrusel__flecha, .apm-carrusel__puntos, .apm-mapa, .apm-pie__extra { display: none !important; }
  .apm-cabecera--fija { position: relative; top: auto; }
}
