/* ==========================================================
   HOTEL NORMANDY CHAPINERO · Hoja de estilos principal
   Colores corporativos:
   #A71C20 (rojo)  ·  #00529C (azul)  ·  #DCAF27 (dorado)
   ========================================================== */

:root {
  --rojo: #A71C20;
  --azul: #00529C;
  --oro: #DCAF27;
  --texto: #1d2330;
  --texto-suave: #4b5563;
  --fondo: #faf8f3;
  --blanco: #ffffff;
  --sombra: 0 10px 30px rgba(0, 30, 60, 0.12);
  --sombra-fuerte: 0 18px 40px rgba(0, 30, 60, 0.2);
  --fuente-titulo: 'Cormorant Garamond', Georgia, serif;
  --fuente-texto: 'Montserrat', Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--fuente-texto);
  color: var(--texto);
  background: var(--fondo);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--azul); text-decoration: none; transition: color .3s ease; }

h1, h2, h3 {
  font-family: var(--fuente-titulo);
  font-weight: 600;
  line-height: 1.2;
}

.contenedor {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blanco);
  padding: 8px 14px;
  z-index: 300;
}
.skip-link:focus { left: 16px; top: 16px; }

.seccion { padding: 5.5rem 0; }
.seccion-blanca { background: var(--blanco); }

.titulo-seccion {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  color: var(--azul);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
}
.titulo-seccion::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--oro);
  margin: 1rem auto 0;
}

.texto-centro {
  text-align: center;
  max-width: 720px;
  margin: 1.4rem auto 0;
  color: var(--texto-suave);
}

/* ---------- Encabezado y menú ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 3px solid var(--oro);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 22px rgba(0, 0, 0, .12); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo img { height: 64px; width: auto; }

.main-nav ul {
  display: flex;
  gap: 2.4rem;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding: .5rem 0;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--azul);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--rojo);
  transition: width .3s ease;
}
.main-nav a:hover,
.main-nav a.activo { color: var(--rojo); }
.main-nav a:hover::after,
.main-nav a.activo::after { width: 100%; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--azul);
  transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle.abierto span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.abierto span:nth-child(2) { opacity: 0; }
.menu-toggle.abierto span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Inicio (hero) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--blanco);
  padding: 130px 16px 80px;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 40, 80, .55) 0%, rgba(0, 40, 80, .78) 100%);
}

.hero-contenido {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.hero-lema {
  font-family: var(--fuente-titulo);
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .02em;
}

.hero-precio {
  margin-top: 1.4rem;
  font-size: clamp(1.15rem, 2.6vw, 1.8rem);
  font-weight: 300;
}
.hero-precio strong {
  color: var(--oro);
  font-weight: 600;
  font-size: 1.2em;
}

.hero-moneda {
  font-size: .85rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  opacity: .9;
}

.btn-whatsapp-hero {
  display: inline-block;
  margin-top: 2.2rem;
  transition: transform .3s ease;
}
.btn-whatsapp-hero img {
  width: min(320px, 78vw);
  height: auto;
  margin-inline: auto;
}
.btn-whatsapp-hero:hover { transform: translateY(-4px); }

.hero-nota {
  margin-top: 1.6rem;
  font-size: .75rem;
  opacity: .8;
}

/* ---------- Texto H1 bajo la foto ---------- */
.intro { padding: 4.5rem 0 1rem; text-align: center; }

.intro-h1 {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  font-weight: 500;
  color: var(--azul);
  line-height: 1.4;
}
.intro-h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--rojo);
  margin: 1.6rem auto 0;
}

/* ---------- Habitaciones ---------- */
.grid-habitaciones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.2rem;
}

.grid-dos {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
}

.tarjeta {
  background: var(--blanco);
  border-top: 4px solid var(--rojo);
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.tarjeta:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-fuerte);
}

.tarjeta-foto {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dfe6ee;
}
.tarjeta-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.tarjeta:hover .tarjeta-foto img { transform: scale(1.05); }

.tarjeta-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.8rem 1.6rem 2rem;
  text-align: center;
}
.tarjeta h3 {
  font-size: 1.7rem;
  color: var(--azul);
}

.precio {
  margin: .9rem 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--rojo);
}
.precio span {
  display: block;
  margin-top: .2rem;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6b7280;
}

.descripcion {
  flex: 1;
  margin-bottom: 1.5rem;
  font-size: .95rem;
  color: var(--texto-suave);
}

.btn-wa {
  display: inline-block;
  align-self: center;
  padding: .9rem 1.6rem;
  background: var(--azul);
  color: var(--blanco);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .3s ease;
}
.btn-wa:hover { background: var(--rojo); color: var(--blanco); }

/* ---------- Instalaciones / slider ---------- */
.slider {
  position: relative;
  width: 100%;
  height: clamp(280px, 56vw, 640px);
  margin-top: 3rem;
  overflow: hidden;
  background: #0b1d33;
}

.slider-pista {
  display: flex;
  height: 100%;
  transition: transform .7s cubic-bezier(.6, .05, .2, 1);
}

.slide {
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .6);
  background: rgba(0, 82, 156, .55);
  color: var(--blanco);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background .3s ease;
}
.slider-btn:hover { background: var(--rojo); }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-puntos {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 10px;
}
.slider-puntos button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
}
.slider-puntos button.activo { background: var(--oro); }

/* ---------- Lugares de interés ---------- */
.grid-lugares {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.lugar {
  background: var(--blanco);
  padding: 2.2rem 1.6rem;
  border-left: 3px solid var(--azul);
  box-shadow: var(--sombra);
  transition: transform .35s ease, border-color .35s ease;
}
.lugar:hover {
  transform: translateY(-4px);
  border-color: var(--rojo);
}
.lugar-num {
  display: block;
  font-family: var(--fuente-titulo);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--oro);
  line-height: 1;
  margin-bottom: .6rem;
}
.lugar h3 {
  font-size: 1.5rem;
  color: var(--azul);
  margin-bottom: .5rem;
}
.lugar p {
  font-size: .92rem;
  color: var(--texto-suave);
}

/* ---------- Contacto ---------- */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  align-items: stretch;
  box-shadow: var(--sombra-fuerte);
}

.contacto-info {
  background: var(--azul);
  color: var(--blanco);
  padding: 3.2rem 3rem;
  border-bottom: 4px solid var(--oro);
}

.titulo-contacto {
  font-size: 2.8rem;
  color: var(--blanco);
  margin-bottom: 1.6rem;
}

.lista-contacto { list-style: none; }
.lista-contacto li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.lista-contacto strong {
  display: block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--oro);
  font-weight: 600;
}
.lista-contacto a { color: var(--blanco); }
.lista-contacto a:hover { color: var(--oro); }

.logos-contacto {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}
.plato,
.plato-wa {
  background: var(--blanco);
  padding: .8rem 1.2rem;
  display: inline-flex;
  align-items: center;
}
.plato img { height: 64px; width: auto; }
.plato-wa img { height: 56px; width: auto; }

.mapa {
  min-height: 460px;
  background: #dfe6ee;
}
.mapa iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  display: block;
}

/* ---------- Aliados (5 logos con enlace) ---------- */
.aliados {
  padding: 3rem 0;
  background: var(--fondo);
  border-top: 1px solid #e6e1d6;
}
.aliados-fila {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.6rem 3.4rem;
}
.aliado img {
  height: 62px;
  width: auto;
  max-width: 150px;
  filter: grayscale(1);
  opacity: .72;
  transition: filter .3s ease, opacity .3s ease, transform .3s ease;
}
.aliado:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-3px);
}

/* ---------- Pie de página ---------- */
.pie {
  background: var(--azul);
  color: #e8eef7;
  padding: 4.5rem 0 0;
  border-top: 4px solid var(--rojo);
}

.pie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.8rem;
}

.pie-logo {
  background: var(--blanco);
  padding: .8rem 1.2rem;
  height: auto;
  width: fit-content;
  max-width: 100%;
}
.pie-logo { height: 84px; width: auto; }
.pie-texto {
  margin-top: 1.2rem;
  font-size: .92rem;
  opacity: .9;
}

.pie h3 {
  font-size: 1.5rem;
  color: var(--oro);
  margin-bottom: .9rem;
}
.pie p { font-size: .92rem; margin-bottom: .6rem; }
.pie a { color: var(--blanco); }
.pie a:hover { color: var(--oro); }

.pie-links { list-style: none; }
.pie-links li { margin-bottom: .45rem; }
.pie-links a { font-size: .92rem; }

.pie-logos {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}
.pie-logos img {
  background: var(--blanco);
  padding: .5rem .8rem;
  height: 52px;
  width: auto;
}
.pie-logos a { display: inline-flex; }

.pie-copy {
  margin-top: 3.2rem;
  padding: 1.3rem 16px 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
  text-align: center;
  font-size: .8rem;
  opacity: .85;
}

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-flotante {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--texto);
}

.wa-icono {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--rojo);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(167, 28, 32, .45);
  animation: invitar 3.2s ease-in-out infinite;
  transition: transform .3s ease, background .3s ease;
}
/* Anillo que pulsa para invitar a tocar */
.wa-icono::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--oro);
  animation: pulso 2s ease-out infinite;
}
.wa-icono svg {
  width: 34px;
  height: 34px;
  fill: var(--blanco);
}
.wa-flotante:hover .wa-icono {
  background: var(--azul);
  transform: scale(1.08);
  animation-play-state: paused;
}

.wa-burbuja {
  max-width: 210px;
  padding: .75rem 1.1rem;
  background: var(--blanco);
  color: var(--azul);
  border-left: 4px solid var(--oro);
  box-shadow: var(--sombra);
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.35;
  animation: flotar 3s ease-in-out infinite;
}

/* ---------- Animaciones ---------- */
@keyframes pulso {
  0%   { transform: scale(1);   opacity: .9; }
  100% { transform: scale(1.55); opacity: 0; }
}
@keyframes invitar {
  0%, 55%, 100% { transform: rotate(0); }
  60%           { transform: rotate(-14deg); }
  66%           { transform: rotate(14deg); }
  72%           { transform: rotate(-9deg); }
  78%           { transform: rotate(6deg); }
  84%           { transform: rotate(0); }
}
@keyframes flotar {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* Revelado suave al hacer scroll (solo si hay JavaScript) */
.js .revelar {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.js .revelar.visible {
  opacity: 1;
  transform: none;
}

/* Imagen que aún no se encuentra: se muestra un bloque de color corporativo */
img.sin-imagen {
  background: linear-gradient(135deg, var(--azul), var(--rojo));
  min-height: 80px;
  min-width: 80px;
  color: transparent;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-habitaciones { grid-template-columns: repeat(2, 1fr); }
  .grid-lugares { grid-template-columns: repeat(2, 1fr); }
  .pie-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .contacto-grid { grid-template-columns: 1fr; }
  .contacto-info { padding: 2.4rem 1.8rem; }
  .mapa, .mapa iframe { min-height: 360px; }
}

@media (max-width: 768px) {
  .nav-wrap { height: 72px; }
  .logo img { height: 52px; }

  .menu-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blanco);
    border-bottom: 3px solid var(--oro);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }
  .main-nav.abierto {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav a {
    display: block;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
  }
  .main-nav a::after { display: none; }

  .hero { padding: 110px 16px 70px; }
  .seccion { padding: 4rem 0; }
  .pie-grid { grid-template-columns: 1fr; }
  .pie-copy { margin-top: 2.4rem; }
}

@media (max-width: 600px) {
  .grid-habitaciones { grid-template-columns: 1fr; }
  .grid-lugares { grid-template-columns: 1fr; }
  .slider-btn { width: 42px; height: 42px; font-size: 1.6rem; }
  .slider-btn.prev { left: 8px; }
  .slider-btn.next { right: 8px; }
  .aliados-fila { gap: 1.8rem 2.2rem; }
  .aliado img { height: 48px; }

  .wa-flotante { right: 14px; bottom: 14px; gap: .5rem; }
  .wa-icono { width: 58px; height: 58px; }
  .wa-icono svg { width: 30px; height: 30px; }
  .wa-burbuja { max-width: 150px; font-size: .8rem; padding: .6rem .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}


.lista-roja li::marker {
    color: #A71C20;
}

.rojo {
    background-color: #A71C20;
} 