/* Nico Palace Hotel — Demo vidriera (anzuelo comercial NODO)
   Paleta: hospedagem turismo de compras (piloto — no hay rubro "hotel" validado aún,
   se propone como caso piloto para _templates/tienda-demo/rubros/hoteleria.md)

   --ink   (navy profundo, confiança)   #0F2A3A
   --accent (teal piscina)              #0E7C86
   --gold  (laranja quente, energia/compras) #E8963C

   Tipografia: Poppins (títulos, bold, amigável) + Inter (corpo)
   Grid: snap 8px. Breakpoints 720 / 1024 (mobile-first).
*/

:root {
  --bg: #FFFFFF;
  --bg-alt: #F2F8F9;
  --bg-soft: #FAFCFC;
  --ink: #0F2A3A;
  --ink-soft: #4A6572;
  --accent: #0E7C86;
  --accent-dark: #0A5C64;
  --accent-light: #E3F3F3;
  --gold: #E8963C;
  --gold-dark: #C77A26;
  --gold-light: #FCEEDC;
  --line: #DCE8EA;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --r: 16px;
  --r-sm: 8px;
  --r-pill: 999px;
  --shadow: 0 4px 24px rgba(14, 124, 134, 0.12);
  --shadow-hover: 0 12px 32px rgba(15, 42, 58, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.ico { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; vertical-align: -4px; flex-shrink: 0; }
.ico svg { width: 100%; height: 100%; display: block; }
.ico-xs { width: 14px; height: 14px; vertical-align: -2px; }
.ico-sm { width: 18px; height: 18px; vertical-align: -3px; }
.ico-lg { width: 40px; height: 40px; }

/* Demo tag — banda de aviso, se ve solo en la vidriera de prospección */
.demo-tag {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 16px;
}

/* Header */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.hdr-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; max-width: 1200px; margin: 0 auto;
  padding: 12px 16px;
}
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-ico { color: var(--accent); }
.brand-logo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 1px 4px rgba(15,42,58,0.25); }
.brand-txt {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 16px;
  color: var(--ink); white-space: nowrap;
}
.brand-txt em { font-style: normal; font-weight: 500; color: var(--accent-dark); }
.nav { display: none; gap: 24px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.nav a:hover { color: var(--accent-dark); }
.hdr-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  padding: 6px 10px;
  font-size: 12px; font-weight: 700;
  color: var(--ink-soft);
}
.lang-opt { padding: 0 2px; transition: color .15s; }
.lang-opt.lang-active { color: var(--accent-dark); }
.lang-sep { opacity: 0.4; }

.btn-wa {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--whatsapp); color: #fff;
  padding: 8px 14px; font-size: 13px; font-weight: 600;
  border-radius: var(--r-pill);
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.btn-wa:hover { background: var(--whatsapp-dark); transform: translateY(-1px); }
.btn-wa-hdr span:last-child { display: none; }
@media (min-width: 560px) { .btn-wa-hdr span:last-child { display: inline; } }
@media (min-width: 860px) { .nav { display: flex; } }

/* Botones genéricos */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--whatsapp); color: #fff;
  padding: 15px 28px; font-size: 15px; font-weight: 700;
  border-radius: var(--r-pill);
  transition: all .25s;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
.btn-primary:hover { background: var(--whatsapp-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12); color: #fff;
  padding: 13px 26px; font-size: 15px; font-weight: 600;
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: var(--r-pill);
  transition: all .2s;
}
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-on-accent { background: #fff; color: var(--accent-dark); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-on-accent:hover { background: var(--bg-alt); color: var(--accent-dark); }

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  padding: 40px 16px 56px;
}
.hero-ph {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, var(--accent-dark) 0%, var(--ink) 70%);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}
@media (min-width: 720px) { .hero-badge { width: 64px; height: 64px; left: 32px; top: 24px; } }
.hero-ph-txt {
  color: rgba(255,255,255,0.55);
  font-size: 13px; font-weight: 600;
  border: 2px dashed rgba(255,255,255,0.35);
  border-radius: var(--r);
  padding: 24px 20px;
  max-width: 320px;
  line-height: 1.5;
}
.hero-ph-txt small { font-weight: 400; opacity: 0.85; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,42,58,0.85) 0%, rgba(15,42,58,0.35) 60%, rgba(15,42,58,0.15) 100%);
}
.hero-inner { position: relative; max-width: 720px; color: #fff; margin: 0 auto; text-align: center; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.hero h1 { font-size: 30px; margin-bottom: 14px; }
.hero p { color: rgba(255,255,255,0.9); font-size: 15px; margin: 0 0 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-kicker {
  margin-top: 24px !important;
  font-size: 13px; color: rgba(255,255,255,0.8); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  width: 100%; justify-content: center;
}
@media (min-width: 720px) {
  .hero { min-height: 640px; padding: 56px 32px 72px; }
  .hero h1 { font-size: 46px; }
  .hero p { font-size: 18px; }
}

/* Quickbar */
.quickbar { background: var(--ink); border-bottom: 1px solid rgba(255,255,255,0.08); }
.quickbar-wrap {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
  padding: 16px;
}
.quick-item {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: rgba(255,255,255,0.9); font-size: 12px; font-weight: 600;
  padding: 8px;
}
.quick-item .ico { color: var(--gold); }
@media (min-width: 720px) {
  .quickbar-wrap { grid-template-columns: repeat(4, 1fr); padding: 20px 32px; }
  .quick-item { font-size: 14px; }
}

/* Secciones genéricas */
.seccion-head { max-width: 720px; margin: 0 auto 32px; text-align: center; padding: 0 16px; }
.seccion-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-dark); background: var(--gold-light);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.seccion-head h2 { font-size: 26px; margin-bottom: 10px; }
.seccion-head p { color: var(--ink-soft); margin: 0; font-size: 14px; }

/* Comodidades */
.comodidades { max-width: 1200px; margin: 0 auto; padding: 56px 16px; }
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 20px;
  text-align: center;
}
.feature-ico {
  width: 56px; height: 56px; margin: 0 auto 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-light); color: var(--accent-dark);
  border-radius: 50%;
}
.feature-ico svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 14px; margin: 0; }
@media (min-width: 720px) { .cards-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* Compras (turismo de compras) */
.compras { background: var(--bg-alt); padding: 56px 16px; }
.compras-wrap { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.compras-text h2 { font-size: 26px; margin: 8px 0 14px; }
.compras-text p { color: var(--ink-soft); font-size: 15px; margin: 0 0 20px; }
.compras-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.compras-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 500; }
.compras-list .ico { color: var(--accent); margin-top: 2px; }
.compras-ph {
  aspect-ratio: 4/3;
  background: var(--accent-light);
  border: 2px dashed var(--accent);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.compras-ph .hero-ph-txt { color: var(--accent-dark); border-color: var(--accent); }
@media (min-width: 860px) { .compras-wrap { grid-template-columns: 1.1fr 1fr; gap: 48px; } }

/* Galeria */
.galeria { max-width: 1200px; margin: 0 auto; padding: 56px 16px; }
.galeria-note { color: var(--ink-soft); }
.galeria-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.foto-real {
  aspect-ratio: 1/1;
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.foto-real img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 720px) { .galeria-grid { gap: 16px; } }

/* Preços */
.precos { padding: 56px 16px; background: var(--ink); }
.precos-card {
  max-width: 480px; margin: 0 auto;
  text-align: center; color: #fff;
}
.precos-card .seccion-eyebrow { background: rgba(255,255,255,0.12); color: var(--gold); }
.precos-card h2 { color: #fff; margin-bottom: 24px; }
.preco-valor {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin-bottom: 12px;
}
.preco-valor span:first-child { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 500; }
.preco-valor strong { font-size: 40px; font-family: 'Poppins', sans-serif; color: var(--gold); }
.preco-aviso { font-size: 12px; color: rgba(255,255,255,0.6); margin: 0 0 24px; max-width: 380px; margin-left: auto; margin-right: auto; }

/* Localização */
.localizacao { max-width: 1200px; margin: 0 auto; padding: 56px 16px; }
.mapa-wrap {
  border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.mapa-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }
@media (min-width: 720px) { .mapa-wrap iframe { height: 420px; } }

/* Depoimentos */
.depoimentos { max-width: 800px; margin: 0 auto; padding: 40px 16px 64px; }
.depo-ph {
  border: 2px dashed var(--line);
  border-radius: var(--r);
  padding: 40px 24px;
  text-align: center;
  color: var(--ink-soft);
}
.depo-ph .ico { color: var(--line); margin-bottom: 12px; }
.depo-ph p { margin: 0; font-size: 14px; max-width: 420px; margin-left: auto; margin-right: auto; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff; padding: 48px 16px;
}
.cta-banner-wrap {
  max-width: 1000px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 20px;
  align-items: center; text-align: center;
}
.cta-banner h3 { font-size: 24px; margin: 0 0 6px; }
.cta-banner p { margin: 0; opacity: 0.92; font-size: 14px; }
@media (min-width: 720px) { .cta-banner-wrap { flex-direction: row; justify-content: space-between; text-align: left; } }

/* Footer */
.ftr { background: var(--ink); color: rgba(255,255,255,.85); padding: 40px 16px 20px; }
.ftr-wrap { max-width: 1200px; margin: 0 auto 24px; display: grid; grid-template-columns: 1fr; gap: 24px; }
.ftr-col { display: flex; flex-direction: column; gap: 8px; }
.ftr-logo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; margin-bottom: 4px; }
.ftr-col strong { color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 4px; letter-spacing: 0.03em; text-transform: uppercase; }
.ftr-col a, .ftr-col p { color: rgba(255,255,255,.7); font-size: 13px; margin: 0; line-height: 1.6; }
.ftr-col a:hover { color: var(--gold); }
.ftr-bottom {
  max-width: 1200px; margin: 0 auto; text-align: center;
  font-size: 12px; color: rgba(255,255,255,.55);
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px;
}
.ftr-bottom p { margin: 4px 0; }
.ftr-sub a { color: var(--gold); font-weight: 600; }
@media (min-width: 720px) { .ftr-wrap { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  animation: wa-pulse 2.4s ease-in-out infinite;
}
.wa-float .ico { width: 28px; height: 28px; }
.wa-float:hover { background: var(--whatsapp-dark); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.75); }
}
