/* ═══════════════════════════════════════════════════════════
   Howard Johnson Calle Real Morelia — diseño editorial premium
   ═══════════════════════════════════════════════════════════ */

:root {
  --marino: #1e3a75;
  --marino-2: #16294f;
  --tinta: #0f1e3d;
  --naranja: #e8541d;
  --naranja-2: #c9440f;
  --marfil: #f7f2ea;
  --marfil-2: #efe7d9;
  --blanco: #ffffff;
  --gris: #55607a;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', Arial, sans-serif;
  --ancho: 1200px;
  --transicion: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--marfil);
  color: var(--tinta);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.oculto { display: none !important; }

.cont { width: min(var(--ancho), 90%); margin: 0 auto; }

::selection { background: var(--naranja); color: #fff; }

/* ---------- Tipografía ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--naranja); }
.s-restaurante h2 em, .s-testimonios h2 em { color: #ffb08a; }

.kicker {
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--naranja); font-weight: 600; margin-bottom: 18px;
}
.kicker-claro { color: #ffb08a; }
.kicker-naranja { color: var(--naranja); }

.parrafo { color: var(--gris); max-width: 54ch; }
.nota { font-size: 0.8rem; color: #97a0b5; font-style: italic; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 0.9rem;
  padding: 15px 30px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform 0.35s var(--transicion), background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-3px); }
.btn-naranja { background: var(--naranja); color: #fff; }
.btn-naranja:hover { background: var(--naranja-2); }
.btn-marino { background: var(--marino); color: #fff; }
.btn-marino:hover { background: var(--tinta); }
.btn-claro { background: var(--marfil); color: var(--marino); }
.btn-claro:hover { background: #fff; }
.btn-cristal { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.45); backdrop-filter: blur(6px); }
.btn-cristal:hover { background: rgba(255,255,255,0.22); }
.btn-contorno { border-color: currentColor; background: transparent; }
.btn-mini { padding: 10px 20px; font-size: 0.8rem; }
.btn-bloque { width: 100%; border: none; font-family: var(--sans); }

.enlace-flecha {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 600; font-size: 0.88rem; color: var(--marino);
  border-bottom: 1.5px solid var(--naranja); padding-bottom: 3px;
}
.enlace-flecha span { transition: transform 0.3s var(--transicion); display: inline-block; }
.enlace-flecha:hover span { transform: translateX(6px); }

/* ---------- Cortina de entrada ---------- */
.splash {
  position: fixed; inset: 0; z-index: 2000; background: var(--tinta);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s;
}
.splash.fuera { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-marca { text-align: center; color: var(--marfil); animation: splashSube 1s var(--transicion) both; }
.splash-hj { font-family: var(--serif); font-size: 4rem; font-style: italic; display: block; }
.splash-linea { display: block; width: 54px; height: 2px; background: var(--naranja); margin: 14px auto; }
.splash-texto { font-size: 0.7rem; letter-spacing: 0.34em; text-transform: uppercase; }
@keyframes splashSube { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Cabecera ---------- */
.cabecera {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 18px 0; transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
  color: #fff;
}
.cabecera.solida {
  background: rgba(247, 242, 234, 0.92); backdrop-filter: blur(12px);
  color: var(--tinta); box-shadow: 0 1px 0 rgba(15,30,61,0.08); padding: 12px 0;
}
.cabecera-int {
  width: min(1320px, 94%); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.marca { text-decoration: none; display: inline-flex; }
.marca img {
  height: 48px; width: auto; display: block;
  background: #fff; border-radius: 10px; padding: 7px 12px;
  box-shadow: 0 6px 20px -8px rgba(15,30,61,0.35);
  transition: height 0.4s, box-shadow 0.3s, transform 0.3s var(--transicion);
}
.marca:hover img { transform: translateY(-2px); }
.cabecera.solida .marca img { height: 42px; box-shadow: 0 4px 14px -8px rgba(15,30,61,0.4); }
.nav-escritorio { display: flex; gap: 26px; }
.nav-escritorio a {
  text-decoration: none; font-size: 0.82rem; font-weight: 500; opacity: 0.9;
  position: relative; padding-bottom: 4px;
}
.nav-escritorio a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--naranja); transition: width 0.3s var(--transicion);
}
.nav-escritorio a:hover::after { width: 100%; }
.cabecera-acciones { display: flex; align-items: center; gap: 10px; }
.cabecera .btn-contorno { color: inherit; }

/* Teléfono siempre visible en la barra superior */
.cabecera-tel {
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
  color: inherit; font-weight: 700; font-size: 0.9rem; white-space: nowrap;
  padding: 6px 4px; transition: color 0.25s;
}
.cabecera-tel svg { width: 18px; height: 18px; fill: var(--naranja); flex: none; }
.cabecera-tel:hover { color: var(--naranja); }

.btn-menu {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 34px; position: relative;
}
.btn-menu span {
  position: absolute; left: 7px; right: 7px; height: 2px; background: currentColor;
  transition: transform 0.35s var(--transicion), top 0.35s;
}
.btn-menu span:first-child { top: 12px; }
.btn-menu span:last-child { top: 20px; }
.btn-menu.abierto span:first-child { top: 16px; transform: rotate(45deg); }
.btn-menu.abierto span:last-child { top: 16px; transform: rotate(-45deg); }

/* ---------- Menú móvil ---------- */
.velo-menu {
  position: fixed; inset: 0; z-index: 800; background: var(--tinta);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.45s, visibility 0.45s;
}
.velo-menu.abierto { opacity: 1; visibility: visible; }
.menu-movil { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.menu-movil > a {
  color: var(--marfil); text-decoration: none; font-family: var(--serif);
  font-size: clamp(1.6rem, 6vw, 2.4rem); padding: 6px 0;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s var(--transicion), color 0.25s;
}
.velo-menu.abierto .menu-movil > a { opacity: 1; transform: none; }
.menu-movil > a:hover { color: var(--naranja); font-style: italic; }
.menu-movil-botones { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }

/* ---------- Héroe ---------- */
.heroe { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; }
.heroe-fondo { position: absolute; inset: 0; }
/* Slider de fondo: cada diapositiva se funde con la siguiente */
.heroe-diapo {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.6s ease;
}
.heroe-diapo.activa { opacity: 1; }
.heroe-diapo img { width: 100%; height: 100%; object-fit: cover; }

/* Puntos indicadores del slider */
.heroe-puntos {
  position: absolute; z-index: 3; left: 50%; transform: translateX(-50%);
  bottom: 108px; display: flex; gap: 10px;
}
.heroe-puntos button {
  width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer; padding: 0;
  background: rgba(255,255,255,0.45); transition: background 0.3s, transform 0.3s, width 0.3s;
}
.heroe-puntos button.activo { background: var(--naranja); width: 26px; border-radius: 6px; }
.heroe-velo {
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(15,30,61,0.30) 0%, rgba(15,30,61,0.68) 62%, rgba(15,30,61,0.88) 100%);
}
.heroe-contenido { position: relative; z-index: 2; width: min(var(--ancho), 90%); margin: 0 auto; padding-top: 90px; }
.heroe h1 { max-width: 12ch; text-wrap: balance; }
.heroe-baja { max-width: 46ch; margin-top: 22px; font-size: clamp(0.95rem, 1.6vw, 1.1rem); color: #e6e9f2; }
.heroe-botones { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.heroe-pie {
  position: relative; z-index: 2; width: min(var(--ancho), 90%); margin: 0 auto;
  padding: 34px 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  border-top: 1px solid rgba(255,255,255,0.22); margin-top: auto;
}
.heroe-dato { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: #cfd6e6; }
.heroe-scroll {
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,0.5); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 7px; flex: none;
}
.heroe-scroll-punto { width: 4px; height: 8px; border-radius: 4px; background: var(--naranja); animation: baja 1.8s ease-in-out infinite; }
@keyframes baja { 0%,100% { transform: translateY(0); opacity: 1; } 55% { transform: translateY(14px); opacity: 0.2; } }

@media (prefers-reduced-motion: no-preference) {
  /* Zoom lento (Ken Burns) solo en la diapositiva visible */
  .heroe-diapo.activa img { animation: kenburns 8s ease-out both; }
  @keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
}

/* Entrada del héroe (también condicionada a que haya JavaScript) */
.js .anima-heroe { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s var(--transicion); }
.js body.lista .anima-heroe, body.lista .anima-heroe { opacity: 1; transform: none; }
body.lista .anima-heroe:nth-child(2) { transition-delay: 0.12s; }
body.lista .anima-heroe:nth-child(3) { transition-delay: 0.24s; }
body.lista .anima-heroe:nth-child(4) { transition-delay: 0.36s; }
body.lista .heroe-pie.anima-heroe { transition-delay: 0.5s; }

/* ---------- Secciones ---------- */
.seccion { padding: clamp(80px, 11vw, 140px) 0; position: relative; }

.encabezado-seccion {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; margin-bottom: clamp(40px, 6vw, 70px);
}
.encabezado-nota { color: var(--gris); max-width: 38ch; font-size: 0.95rem; }

/* Revelado al hacer scroll.
   Ojo: el estado oculto SOLO se aplica si hay JavaScript (.js en <html>).
   Sin JS —o si el JS fallara— la web se lee entera, nada queda invisible. */
.js .revela, .js .revela-foto { opacity: 0; transform: translateY(30px); transition: opacity 0.85s ease, transform 0.85s var(--transicion); }
.js .revela-foto { transform: translateY(0) scale(0.97); clip-path: inset(8% 6% 8% 6% round 14px); transition: opacity 0.9s ease, transform 1s var(--transicion), clip-path 1s var(--transicion); }
.js .visible.revela, .js .visible.revela-foto { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 0px); }

/* ---------- 01 · Hotel ---------- */
.hotel-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hotel-lista { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 30px; }
.hotel-lista li { font-size: 0.9rem; padding-left: 22px; position: relative; color: var(--tinta); }
.hotel-lista li::before { content: "—"; position: absolute; left: 0; color: var(--naranja); }
.hotel-texto h2 { margin-bottom: 20px; }
.hotel-fotos { position: relative; min-height: 480px; }
.foto-a, .foto-b { position: absolute; overflow: hidden; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(15,30,61,0.35); }
.foto-a { width: 72%; top: 0; right: 0; aspect-ratio: 4/4.6; }
.foto-b { width: 46%; bottom: 0; left: 0; aspect-ratio: 4/4.4; border: 6px solid var(--marfil); }
.foto-a img, .foto-b img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--transicion); }
.foto-a:hover img, .foto-b:hover img { transform: scale(1.06); }
.sello {
  position: absolute; top: -26px; left: 8%; width: 110px; height: 110px; border-radius: 50%;
  background: var(--naranja); color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 2px;
  box-shadow: 0 16px 34px -12px rgba(232,84,29,0.55);
  animation: flota 5s ease-in-out infinite;
}
.sello span { font-family: var(--serif); font-style: italic; font-size: 1.7rem; line-height: 1; }
.sello small { font-size: 0.52rem; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.4; }
@keyframes flota { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .sello { animation: none; } }

/* ---------- 02 · Habitaciones ---------- */
.s-habitaciones { background: var(--marfil-2); }
.hab-destacada {
  display: grid; grid-template-columns: 1.5fr 1fr; background: #fff; border-radius: 18px;
  overflow: hidden; box-shadow: 0 30px 60px -30px rgba(15,30,61,0.3); margin-bottom: 26px;
}
.hab-destacada figure { overflow: hidden; }
.hab-destacada img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; transition: transform 1.2s var(--transicion); }
.hab-destacada:hover img { transform: scale(1.05); }
.hab-destacada-info { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.hab-destacada-info h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.hab-destacada-info p { color: var(--gris); }

.hab-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.hab-carta { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px -22px rgba(15,30,61,0.25); display: flex; flex-direction: column; transition: transform 0.4s var(--transicion), box-shadow 0.4s; }
.hab-carta:hover { transform: translateY(-8px); box-shadow: 0 30px 54px -24px rgba(15,30,61,0.4); }
.hab-carta figure { overflow: hidden; aspect-ratio: 4/3; }
.hab-carta img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--transicion); }
.hab-carta:hover img { transform: scale(1.07); }
.hab-carta-info { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hab-carta-info h3 { font-size: 1.2rem; }
.hab-carta-info p { color: var(--gris); font-size: 0.84rem; flex: 1; }

/* ---------- 03 · Restaurante ---------- */
.s-restaurante { background: var(--tinta); color: var(--marfil); }
.rest-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.rest-fotos { position: relative; min-height: 500px; }
.rest-foto-a, .rest-foto-b { position: absolute; overflow: hidden; border-radius: 14px; }
.rest-foto-a { width: 74%; top: 0; left: 0; aspect-ratio: 4/4.5; }
.rest-foto-b { width: 46%; bottom: -20px; right: 0; aspect-ratio: 4/4.2; border: 6px solid var(--tinta); }
.rest-foto-a img, .rest-foto-b img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--transicion); }
.rest-foto-a:hover img, .rest-foto-b:hover img { transform: scale(1.06); }
.rest-texto h2 { margin-bottom: 20px; }
.rest-texto .parrafo { color: #b9c2d8; }
.rest-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.rest-chips span {
  font-size: 0.78rem; padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(247,242,234,0.3); color: var(--marfil);
}

/* ---------- 04 · Salones ---------- */
.salones-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.salon-jardin { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -26px rgba(15,30,61,0.35); }
.salon-jardin img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; transition: transform 1.2s var(--transicion); }
.salon-jardin:hover img { transform: scale(1.05); }
.salon-jardin figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 28px 24px;
  background: linear-gradient(transparent, rgba(15,30,61,0.85));
  color: #fff; display: flex; flex-direction: column;
}
.salon-jardin figcaption strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.salon-jardin figcaption span { font-size: 0.82rem; color: #cfd6e6; }
.salones-lista { display: flex; flex-direction: column; gap: 16px; }
.salon-fila {
  display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 12px;
  padding: 12px; box-shadow: 0 12px 28px -18px rgba(15,30,61,0.3);
  transition: transform 0.35s var(--transicion);
}
.salon-fila:hover { transform: translateX(8px); }
.salon-fila img { width: 92px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }
.salon-fila h3 { font-size: 1.1rem; }
.salon-fila p { font-size: 0.82rem; color: var(--gris); }
.salones-lista .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- 05 · Morelia ---------- */
.s-morelia { background: var(--marfil); overflow: hidden; }
.morelia-controles { display: flex; flex-direction: column; gap: 16px; align-items: flex-end; }
.flechas { display: flex; gap: 10px; }
.flecha {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--marino);
  background: transparent; color: var(--marino); font-size: 1.1rem; cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.flecha:hover { background: var(--marino); color: #fff; transform: translateY(-2px); }
.morelia-carril {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 5vw 26px; scrollbar-width: none;
}
.morelia-carril::-webkit-scrollbar { display: none; }
.mor-carta {
  position: relative; flex: 0 0 clamp(240px, 26vw, 340px); aspect-ratio: 3/4;
  border-radius: 14px; overflow: hidden; scroll-snap-align: center; text-decoration: none;
  box-shadow: 0 20px 44px -22px rgba(15,30,61,0.35);
}
.mor-carta img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--transicion); }
.mor-carta:hover img { transform: scale(1.07); }
.mor-carta span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 18px 16px;
  background: linear-gradient(transparent, rgba(15,30,61,0.85));
  color: #fff; font-family: var(--serif); font-size: 1.05rem;
}

/* ---------- 06 · Testimonios ---------- */
.s-testimonios { background: var(--marino-2); color: var(--marfil); text-align: center; }
.testi-carrusel { position: relative; max-width: 780px; margin: 30px auto 0; min-height: 240px; }
.testi {
  position: absolute; inset: 0; opacity: 0; transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s var(--transicion);
  display: flex; flex-direction: column; justify-content: center; gap: 20px; pointer-events: none;
}
.testi.activo { opacity: 1; transform: none; position: relative; pointer-events: auto; }
.testi p { font-family: var(--serif); font-size: clamp(1.25rem, 2.6vw, 1.9rem); line-height: 1.4; font-style: italic; }
.testi footer { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: #ffb08a; }
.testi-puntos { display: flex; gap: 10px; justify-content: center; margin-top: 34px; }
.testi-puntos button {
  width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(247,242,234,0.35); transition: background 0.3s, transform 0.3s;
}
.testi-puntos button.activo { background: var(--naranja); transform: scale(1.35); }

/* ---------- 07 · Contacto ---------- */
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contacto-info h2 { margin-bottom: 28px; }
.contacto-lista { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.contacto-lista li { display: flex; gap: 16px; align-items: baseline; border-bottom: 1px solid rgba(15,30,61,0.1); padding-bottom: 12px; }
.contacto-lista span { flex: 0 0 130px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gris); }
.contacto-lista a { text-decoration: none; font-weight: 500; }
.contacto-lista a:hover { color: var(--naranja); }
.mapas-doble { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mapa-marco { border-radius: 14px; overflow: hidden; box-shadow: 0 20px 44px -22px rgba(15,30,61,0.3); background: #fff; }
.mapa-etiqueta {
  display: block; padding: 12px 16px; background: var(--marino); color: #fff;
  font-size: 0.78rem; letter-spacing: 0.08em; font-weight: 600;
}
.mapa-marco iframe { width: 100%; height: 220px; border: 0; display: block; }
@media (max-width: 560px) { .mapas-doble { grid-template-columns: 1fr; } }

.contacto-form {
  background: #fff; border-radius: 18px; padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 30px 60px -28px rgba(15,30,61,0.3);
  display: flex; flex-direction: column; gap: 16px;
}
.contacto-form h3 { font-size: 1.7rem; }
.contacto-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris); font-weight: 600; }
.contacto-form input, .contacto-form select, .contacto-form textarea {
  font-family: var(--sans); font-size: 0.95rem; padding: 13px 14px;
  border: 1.5px solid #dfd8ca; border-radius: 10px; background: var(--marfil);
  transition: border-color 0.25s, background 0.25s;
}
.contacto-form input:focus, .contacto-form select:focus, .contacto-form textarea:focus {
  outline: none; border-color: var(--naranja); background: #fff;
}
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(10, 16, 33, 0.95);
  display: none; align-items: center; justify-content: center; z-index: 1500;
}
.lightbox.abierto { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 10px; }
.lightbox .pie-lb { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #fff; font-family: var(--serif); font-size: 1.05rem; }
.lightbox button {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.12); color: #fff; font-size: 1.4rem;
}
.lightbox button:hover { background: var(--naranja); }
.lightbox .lb-cerrar { top: 20px; right: 20px; }
.lightbox .lb-ant { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-sig { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Pie ---------- */
.pie { background: var(--tinta); color: #aab4cc; padding: 50px 0; }
.pie-int { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.pie-logo { height: 56px; width: auto; background: #fff; border-radius: 10px; padding: 8px 12px; }
.pie-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.pie-nav a { text-decoration: none; font-size: 0.82rem; }
.pie-nav a:hover { color: #ffb08a; }
.pie-copy { font-size: 0.75rem; }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-flotante {
  position: fixed; right: 22px; bottom: 24px; z-index: 750;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; box-shadow: 0 10px 26px -8px rgba(37,211,102,0.7);
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  transition: transform 0.3s var(--transicion), box-shadow 0.3s;
}
.wa-flotante svg { width: 34px; height: 34px; fill: #fff; }
.wa-flotante:hover { transform: scale(1.08); box-shadow: 0 14px 30px -8px rgba(37,211,102,0.85); }
.wa-flotante::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; animation: waPulso 2.4s ease-out infinite;
}
@keyframes waPulso { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-globo {
  position: absolute; right: 72px; white-space: nowrap;
  background: #fff; color: var(--tinta); font-size: 0.82rem; font-weight: 600;
  padding: 9px 15px; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(15,30,61,0.4);
  opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--transicion);
}
.wa-flotante:hover .wa-globo { opacity: 1; transform: translateX(0); }
@media (prefers-reduced-motion: reduce) { .wa-flotante::before { animation: none; } }

/* ---------- Barra fija móvil ---------- */
.barra-movil {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 700;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(15,30,61,0.92); backdrop-filter: blur(10px);
  gap: 10px;
}
.barra-movil .btn { flex: 1; text-align: center; padding: 13px 10px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .nav-escritorio { display: none; }
  .btn-menu { display: block; }
  .hab-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .cabecera-acciones .btn-contorno { display: none; }
  .encabezado-seccion { flex-direction: column; align-items: flex-start; }
  .morelia-controles { align-items: flex-start; }
  .hotel-grid, .rest-grid, .salones-grid, .contacto-grid { grid-template-columns: 1fr; }
  .hotel-fotos { min-height: 400px; margin-top: 10px; }
  .rest-fotos { min-height: 400px; order: 2; margin-top: 20px; }
  .hab-destacada { grid-template-columns: 1fr; }
  .hab-destacada img { min-height: 240px; }
  .salon-jardin img { min-height: 340px; }
  .barra-movil { display: flex; }
  .pie { padding-bottom: 110px; }
  .heroe-pie .heroe-dato:last-child { display: none; }
  .wa-flotante { width: 52px; height: 52px; right: 16px; bottom: 82px; }
  .wa-flotante svg { width: 28px; height: 28px; }
  .wa-globo { display: none; }
}

@media (max-width: 560px) {
  .hab-grid { grid-template-columns: 1fr; }
  .form-2col { grid-template-columns: 1fr; }
  .cabecera-acciones .btn-naranja { display: none; }
  .hotel-lista { grid-template-columns: 1fr; }
  .cabecera-tel { font-size: 0.82rem; gap: 5px; }
  .cabecera-tel svg { width: 16px; height: 16px; }
  .marca img { height: 42px; }
}
