/* ═══════════════════════════════════════════════
   QPÑ HOTELES — DESIGN SYSTEM
   ═══════════════════════════════════════════════ */

/* — TOKENS — */
:root {
  --flame: #E8722A;
  --ember: #C45D1E;
  --sunrise: #F4A261;
  --glow-soft: rgba(232,114,42,.10);
  --glow-med: rgba(232,114,42,.18);

  --night: #0A0A0F;
  --ink: #141419;
  --smoke: #1C1C24;
  --fog: #26262F;
  --slate: #3A3A48;
  --silver: #8B8B9E;
  --pearl: #C2C2D0;
  --mist: #E8E8EE;
  --snow: #F4F4F7;
  --paper: #FAFAF9;
  --white: #FFFFFF;

  --green-soft: #25D366;

  --ff-body: 'Space Grotesk', system-ui, sans-serif;
  --ff-display: 'Syne', system-ui, sans-serif;
  --ff-serif: 'Instrument Serif', Georgia, serif;

  --ease-out: cubic-bezier(.22,1,.36,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
  --dur: .45s;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.10);
  --shadow-glow: 0 8px 30px rgba(232,114,42,.25);

  --container: 1380px;
  --gap: clamp(20px, 4vw, 60px);
}

/* — RESET — */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; font-size: 16px; }
body { font-family: var(--ff-body); color: var(--night); background: var(--paper); overflow-x: hidden; line-height: 1.7; }
a { text-decoration: none; color: inherit; transition: color var(--dur) var(--ease-out); }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5 { line-height: 1.1; }

/* — LAYOUT — */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gap); }
.section { padding: clamp(80px, 12vh, 150px) 0; }

/* — TYPOGRAPHY — */
.display { font-family: var(--ff-display); }
.serif { font-family: var(--ff-serif); }
.tag { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--flame); margin-bottom: 16px; display: block; }
.heading-xl { font-family: var(--ff-display); font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -.04em; line-height: .95; }
.heading-lg { font-family: var(--ff-display); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.heading-md { font-family: var(--ff-display); font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; }
.heading-sm { font-family: var(--ff-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.heading-lg em, .heading-xl em, .heading-md em {
  font-family: var(--ff-serif); font-weight: 400; font-style: italic; color: var(--ember);
}
.text-silver { color: var(--silver); }
.body-text { font-size: clamp(.9rem, 1vw, 1.05rem); color: var(--silver); line-height: 1.8; }

/* — BUTTONS — */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 34px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .9rem; letter-spacing: .02em;
  transition: all var(--dur) var(--ease-out); position: relative; overflow: hidden;
}
.btn-flame {
  background: var(--flame); color: var(--white);
  box-shadow: 0 4px 16px rgba(232,114,42,.25);
}
.btn-flame:hover {
  background: var(--sunrise); transform: translateY(-2px);
  box-shadow: var(--shadow-glow); gap: 14px;
}
.btn-flame:hover svg { transform: translateX(3px); }
.btn-flame svg { transition: transform .3s var(--ease-out); }
.btn-dark {
  background: var(--night); color: var(--white);
}
.btn-dark:hover { background: var(--smoke); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-light {
  background: transparent; color: var(--pearl); border: 1.5px solid rgba(255,255,255,.2);
}
.btn-outline-light:hover { background: var(--white); color: var(--night); border-color: var(--white); }
.btn-ghost {
  background: none; padding: 12px 0; color: var(--pearl); font-weight: 500; font-size: .9rem;
  position: relative;
}
.btn-ghost::after {
  content: ''; position: absolute; bottom: 8px; left: 0; width: 100%; height: 1px;
  background: currentColor; opacity: .3; transition: opacity var(--dur);
}
.btn-ghost:hover { color: var(--flame); }
.btn-ghost:hover::after { opacity: 0; }
.btn-sm { padding: 12px 24px; font-size: .82rem; }
.btn-white { background: var(--white); color: var(--night); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.arrow-icon { width: 18px; height: 18px; }

/* — NAV — */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 22px 0; transition: all .5s var(--ease-out);
}
.nav.pinned {
  background: rgba(10,10,15,.94); backdrop-filter: blur(40px) saturate(1.6);
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.04);
}
.nav-wrap {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gap);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 68px; width: auto; transition: transform .4s var(--ease-out); }
.nav-brand:hover img { transform: scale(1.05); }
.nav-brand svg { width: 34px; height: 34px; transition: transform .4s var(--ease-out); }
.nav-brand:hover svg { transform: rotate(-10deg) scale(1.05); }
.nav-brand-text {
  font-family: var(--ff-display); font-weight: 700; font-size: 1.25rem;
  color: var(--paper); letter-spacing: -.02em;
}
.nav-menu { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 40px); }
.nav-menu a {
  font-size: .84rem; font-weight: 500; color: rgba(255,255,255,.7);
  padding: 4px 0; position: relative;
}
.nav-menu a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1.5px;
  background: var(--flame); transition: width .4s var(--ease-out);
}
.nav-menu a:hover { color: var(--white); }
.nav-menu a:hover::after { width: 100%; }
.nav-menu a.active { color: var(--white); }
.nav-menu a.active::after { width: 100%; }
.nav-reserve {
  padding: 11px 26px; background: var(--flame); color: var(--paper);
  font-weight: 600; font-size: .82rem; border-radius: var(--radius-pill);
  letter-spacing: .02em; transition: all .4s var(--ease-out);
}
.nav-reserve:hover {
  background: var(--sunrise); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,114,42,.3);
}
.nav-burger {
  display: none; flex-direction: column; gap: 6px; cursor: pointer;
  z-index: 901; padding: 8px;
}
.nav-burger span {
  width: 24px; height: 1.5px; background: var(--pearl);
  transition: all .4s var(--ease-out); transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* — FOOTER — */
.footer { background: var(--ink); padding: 80px 0 0; color: var(--pearl); }
.foot-wrap { max-width: 1380px; margin: 0 auto; padding: 0 clamp(20px,4vw,60px); }
.foot-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px;
  padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px;
  padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.foot-brand img { height: 40px; width: auto; margin-bottom: 8px; }
.foot-brand p { font-size: .88rem; line-height: 1.8; color: var(--silver); margin: 16px 0 24px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  transition: all .4s var(--ease-out);
}
.foot-social a:hover { background: var(--flame); border-color: var(--flame); transform: translateY(-2px); }
.foot-social a svg { width: 18px; height: 18px; fill: var(--pearl); }
.foot-social a:hover svg { fill: var(--white); }
.footer h5 {
  font-size: .72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .18em; color: var(--white); margin-bottom: 20px;
}
.foot-links li { margin-bottom: 10px; }
.foot-links a { font-size: .88rem; color: var(--silver); transition: all .3s; }
.foot-links a:hover { color: var(--flame); padding-left: 4px; }
.foot-contact { display: flex; flex-direction: column; gap: 14px; }
.foot-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; color: var(--silver);
}
.foot-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; stroke: var(--flame); }
.foot-bottom {
  padding: 24px 0; display: flex; align-items: center;
  justify-content: space-between; font-size: .78rem; color: var(--silver);
}

/* — WHATSAPP FLOAT — */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  display: flex; align-items: center; gap: 12px;
}
.wa-tip {
  background: var(--white); padding: 10px 18px; border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.1); font-size: .82rem;
  font-weight: 500; color: var(--ink); opacity: 0; transform: translateX(16px);
  transition: all .4s; white-space: nowrap; pointer-events: none;
}
.wa-float:hover .wa-tip { opacity: 1; transform: translateX(0); }
.wa-btn {
  width: 60px; height: 60px; background: var(--green-soft); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.35); transition: all .4s; position: relative;
}
.wa-btn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.45); }
.wa-btn svg { width: 30px; height: 30px; fill: white; }
.wa-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--green-soft);
  animation: waPulse 2.5s ease-out infinite; pointer-events: none;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* — MARQUEE — */
.marquee { background: var(--flame); padding: 13px 0; overflow: hidden; }
.marquee-track {
  display: flex; gap: 50px; width: max-content;
  animation: marqueeScroll 35s linear infinite;
}
.marquee-track span {
  font-family: var(--ff-display); font-size: .8rem; font-weight: 600;
  color: var(--white); text-transform: uppercase; letter-spacing: .15em;
  white-space: nowrap; display: inline-flex; align-items: center; gap: 14px;
}
.marquee-track span::after {
  content: ''; width: 5px; height: 5px; background: var(--white);
  border-radius: 50%; opacity: .4;
}
@keyframes marqueeScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* — SCROLL REVEAL — */
[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="left"].revealed { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="right"].revealed { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="scale"].revealed { transform: scale(1); }
.d1{transition-delay:.1s} .d2{transition-delay:.2s} .d3{transition-delay:.3s}
.d4{transition-delay:.35s} .d5{transition-delay:.45s}

/* — PAGE HERO (inner pages) — */
.page-hero {
  min-height: 55vh; display: flex; align-items: flex-end;
  position: relative; overflow: hidden; padding-bottom: clamp(50px,8vh,90px);
}
.page-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform 6s ease;
}
.page-hero:hover .page-hero-bg { transform: scale(1.04); }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,.88) 0%, rgba(10,10,15,.4) 50%, rgba(10,10,15,.2) 100%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero .tag { color: var(--sunrise); }
.page-hero h1 {
  font-family: var(--ff-display); font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800; color: var(--white); letter-spacing: -.03em; margin-bottom: 12px;
}
.page-hero h1 em {
  font-family: var(--ff-serif); font-weight: 400; font-style: italic; color: var(--sunrise);
}
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 540px; line-height: 1.7; }

/* — CARDS — */
.card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--mist); transition: all var(--dur) var(--ease-out);
}
.card:hover {
  transform: translateY(-6px); border-color: rgba(232,114,42,.12);
  box-shadow: var(--shadow-lg);
}
.card-dark {
  background: var(--smoke); border-color: rgba(255,255,255,.04); color: var(--pearl);
}
.card-dark:hover { border-color: var(--flame); box-shadow: var(--shadow-glow); }

/* — MISC — */
.bg-night { background: var(--night); color: var(--pearl); }
.bg-snow { background: var(--snow); }
.bg-paper { background: var(--paper); }
.text-center { text-align: center; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: var(--radius-pill);
  font-size: .75rem; font-weight: 500;
  background: var(--glow-soft); color: var(--ember);
}
.chip-light {
  background: rgba(255,255,255,.08); color: var(--pearl);
  backdrop-filter: blur(8px);
}
.chip-outline {
  background: transparent; border: 1px solid var(--mist); color: var(--silver);
}

.divider { width: 50px; height: 2px; background: var(--flame); border-radius: 2px; }

/* — RESPONSIVE — */
@media (max-width: 1024px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu {
    position: fixed; inset: 0; background: rgba(10,10,15,.97);
    backdrop-filter: blur(30px); flex-direction: column;
    justify-content: center; align-items: center; gap: 28px;
    opacity: 0; visibility: hidden; transition: all .5s;
  }
  .nav-menu.open { opacity: 1; visibility: visible; }
  .nav-menu a { font-size: 1.2rem; color: var(--white) !important; }
  .nav-reserve { display: none; }
  .nav-burger { display: flex; }
  .foot-grid, .foot-top { grid-template-columns: 1fr; gap: 40px; }
  .foot-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .page-hero { min-height: 45vh; }
}
