:root {
  --gold: #C9A84C;
  --charcoal: #1A1A2E;
  --ivory: #F5F0E8;
  --forest: #2D5016;
  --white: #ffffff;
  --ink: #161621;
  --muted: #6f6a60;
  --glass: rgba(255,255,255,.13);
  --glass-strong: rgba(255,255,255,.82);
  --shadow: 0 24px 70px rgba(0,0,0,.18);
  --radius: 8px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
}
body.dark {
  --ivory: #12131c;
  --ink: #f7f2e8;
  --muted: #cfc6b6;
  --glass-strong: rgba(26,26,46,.82);
  color-scheme: dark;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; background: linear-gradient(90deg, #ddd, #f8f4ea, #ddd); background-size: 200% 100%; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
input, textarea {
  width: 100%;
  border: 1px solid rgba(26,26,46,.16);
  border-radius: var(--radius);
  padding: .9rem 1rem;
  background: rgba(255,255,255,.86);
  color: #161621;
}
textarea { resize: vertical; }
h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
  margin: 0;
}
h1 { font-size: clamp(3rem, 8vw, 7.5rem); max-width: 980px; }
h2 { font-size: clamp(2.1rem, 5vw, 4.5rem); }
h3 { font-size: clamp(1.35rem, 2vw, 2rem); }
p { line-height: 1.7; }

.cursor-ring {
  display: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 100;
  mix-blend-mode: difference;
}
@media (hover:hover) and (pointer:fine) {
  .cursor-ring { display: block; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 0;
  border-radius: var(--radius);
  min-height: 46px;
  padding: .82rem 1.15rem;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #171309; box-shadow: 0 12px 28px rgba(201,168,76,.28); }
.btn--glass { background: rgba(255,255,255,.14); color: var(--white); border: 1px solid rgba(255,255,255,.38); backdrop-filter: blur(12px); }
.btn--whatsapp { background: #25D366; color: #06150b; }
.btn--sm { min-height: 38px; padding: .55rem .8rem; font-size: .9rem; }
.is-hidden { display: none !important; }

.splash {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: #050507;
  transition: opacity .5s ease, visibility .5s ease;
}
.splash.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash__backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,.28), rgba(0,0,0,.66)), url("../img/hotel-front-night.png") center/cover;
  animation: kenburns 7s ease both;
}
.splash__content {
  position: relative;
  color: var(--white);
  text-align: center;
  animation: splashIn 1.1s ease both;
}
.brand-mark, .logo span {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(201,168,76,.75);
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-weight: 800;
}
.splash h1 { font-size: clamp(3rem, 9vw, 8rem); margin: .7rem 0 .2rem; }

.site-header {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 3.5rem);
  color: var(--white);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-solid {
  background: rgba(26,26,46,.92);
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
}
.logo { display: inline-flex; align-items: center; gap: .75rem; font-weight: 900; }
.logo span { width: 44px; height: 44px; }
.nav { display: flex; align-items: center; gap: 1.1rem; font-weight: 800; }
.nav a:not(.btn) { opacity: .9; }
.nav-toggle { display: none; background: transparent; color: var(--white); border: 0; font-size: 1.8rem; }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  padding: 7rem clamp(1rem, 5vw, 5rem) 4rem;
  color: var(--white);
  overflow: hidden;
}
.hero__slides, .hero__slides span, .hero__overlay { position: absolute; inset: 0; }
.hero__drone::before {
  content: "";
  position: absolute;
  inset: -24px;
  background: url("../img/hotel-aerial-night-wide.png") center/cover no-repeat;
  filter: blur(16px) brightness(.48) saturate(1.1);
  transform: scale(1.06);
  z-index: 0;
}
.hero__slides span {
  background: var(--img) center/cover;
  animation: kenburns 18s infinite;
}
.hero__slides span:nth-child(2) { animation-delay: 6s; }
.hero__slides span:nth-child(3) { animation-delay: 12s; }
.hero__drone span {
  animation: droneSweep 16s ease-in-out infinite, kenburns 18s infinite;
  transform-origin: center;
}
.hero__slides.hero__drone > span:first-of-type {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 72% auto;
  animation: droneIntro 9s cubic-bezier(.2,.75,.2,1) both, droneSweep 20s ease-in-out 9s infinite;
  opacity: 1;
  z-index: 1;
}
.hero__slides.hero__drone > span:nth-of-type(2),
.hero__slides.hero__drone > span:nth-of-type(3) {
  z-index: 0;
}
.hero__drone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 5px);
  opacity: .25;
  pointer-events: none;
}
.hero__overlay { background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.26) 52%, rgba(0,0,0,.6)); }
.hero__content { position: relative; max-width: 1040px; }
.eyebrow {
  margin: 0 0 .75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 900;
}
.hero__tagline {
  max-width: 480px;
  width: fit-content;
  margin: .9rem 0 1rem;
  padding: .52rem .72rem;
  border-left: 3px solid var(--gold);
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}
.hero__meta, .hero__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.stars { color: var(--gold); animation: starPulse 2.4s ease infinite; letter-spacing: .08em; }

.section {
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 5vw, 5rem);
}
.section__intro { max-width: 760px; margin-bottom: 2rem; }
.section__intro p:last-child { color: var(--muted); }

.booking-shell, .weather-card, .contact-card, .availability-band, .chatbot, .cookie {
  background: var(--glass-strong);
  border: 1px solid rgba(201,168,76,.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.booking-shell { padding: clamp(1rem, 3vw, 2rem); }
.progress { height: 8px; background: rgba(26,26,46,.12); border-radius: 999px; overflow: hidden; margin-bottom: 1.5rem; }
.progress span { display: block; width: 33%; height: 100%; background: var(--gold); transition: width .25s ease; }
.booking-step { display: none; }
.booking-step.is-active { display: block; animation: floatUp .45s ease; }
.field-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
label { display: grid; gap: .35rem; font-weight: 800; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; }
legend { font-family: "Playfair Display", serif; font-size: 1.5rem; margin-bottom: 1rem; }
.segmented, .tabs { display: flex; gap: .65rem; flex-wrap: wrap; }
.segmented label, .tab {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(26,26,46,.14);
  border-radius: var(--radius);
  padding: .7rem .95rem;
  background: rgba(255,255,255,.72);
  color: #171309;
}
.segmented input { width: auto; }
.tab { font-weight: 900; }
.tab.is-active, .segmented label:has(input:checked) { background: var(--charcoal); color: var(--white); }
.room-recommendations { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.mini-room, .pricing-card, .love-panel {
  border: 1px solid rgba(26,26,46,.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.72);
}
.mini-room img { height: 155px; }
.mini-room div, .pricing-card, .love-panel { padding: 1rem; }
.mini-room.is-selected { outline: 3px solid var(--gold); }
.booking-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.form-note { min-height: 1.4em; color: var(--forest); font-weight: 800; }

.room-grid { display: grid; grid-template-columns: repeat(4, minmax(260px, 1fr)); gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.room-card { min-height: 430px; perspective: 1200px; scroll-snap-align: start; }
.room-card__inner { position: relative; height: 100%; transition: transform .7s ease; transform-style: preserve-3d; }
.room-card:hover .room-card__inner, .room-card:focus-within .room-card__inner { transform: rotateY(180deg); }
.room-card__front, .room-card__back {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius);
  backface-visibility: hidden;
  box-shadow: var(--shadow);
}
.room-card__front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,.74)); }
.price-badge { position: absolute; top: 1rem; right: 1rem; z-index: 1; background: var(--gold); color: #171309; padding: .45rem .7rem; border-radius: var(--radius); font-weight: 900; }
.room-card__copy { position: absolute; z-index: 1; left: 1rem; right: 1rem; bottom: 1rem; color: var(--white); }
.room-card__back {
  transform: rotateY(180deg);
  background: var(--charcoal);
  color: var(--white);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.amenities { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0; }
.amenities span { background: rgba(255,255,255,.12); border-radius: 999px; padding: .35rem .6rem; font-size: .86rem; }

.availability-band { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; background: var(--charcoal); color: var(--white); }
.availability-form { display: flex; gap: .7rem; flex-wrap: wrap; }
.availability-badge { background: rgba(201,168,76,.18); color: var(--gold); border-radius: var(--radius); padding: .85rem 1rem; }

.subhead { margin: 2rem 0 1rem; }
.activity-grid { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 1rem; }
.activity-card, .menu-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(0,0,0,.1);
}
body.dark .activity-card, body.dark .menu-card, body.dark .mini-room, body.dark .pricing-card, body.dark .love-panel { background: rgba(255,255,255,.08); color: var(--ink); }
.activity-card img, .menu-card img { height: 190px; }
.activity-card div, .menu-card div { padding: 1rem; }
.activity-card span { color: var(--forest); font-weight: 900; }
.ask-concierge { color: var(--gold); font-weight: 900; }

.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.menu-card { display: grid; grid-template-columns: 190px 1fr; }
.menu-card h3 { display: flex; justify-content: space-between; gap: 1rem; }
.menu-card h3 span { color: var(--gold); font-family: "Nunito", sans-serif; font-size: 1rem; }

.masonry { columns: 4 220px; column-gap: 1rem; }
.gallery-item {
  display: block;
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  margin: 0 0 1rem;
  break-inside: avoid;
  background: transparent;
}
.gallery-item img { min-height: 220px; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0,0,0,.88);
  display: none;
  place-items: center;
  padding: 2rem;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(100%, 1100px); max-height: 82vh; object-fit: contain; }
.lightbox button { position: fixed; top: 1rem; right: 1rem; border: 0; background: var(--gold); width: 44px; height: 44px; border-radius: 50%; font-size: 1.5rem; }

.testimonials { background: var(--charcoal); color: var(--white); }
.testimonial-track { position: relative; min-height: 260px; }
.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
  max-width: 780px;
}
.testimonial.is-active { opacity: 1; transform: translateY(0); }
.testimonial p { font-size: clamp(1.3rem, 3vw, 2.2rem); }
.testimonial span { display: block; color: rgba(255,255,255,.68); margin-top: .5rem; }

.weather-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1rem; }
.weather-card, .contact-card { padding: clamp(1.2rem, 3vw, 2rem); }
.forecast { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: 1rem; }
.forecast span { display: block; background: rgba(201,168,76,.16); border-radius: var(--radius); padding: .8rem; font-weight: 800; }
.contact-form { display: grid; gap: .75rem; margin-top: 1rem; }
.map { grid-column: 1 / -1; width: 100%; min-height: 360px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

.footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1fr;
  gap: 1.5rem;
  padding: 3rem clamp(1rem, 5vw, 5rem);
  background: #0f1019;
  color: var(--white);
}
.footer nav, .socials { display: grid; gap: .6rem; align-content: start; }
.newsletter div { display: flex; gap: .5rem; margin-top: .5rem; }
.ai-badge { display: inline-block; margin-top: .7rem; border: 1px solid var(--gold); color: var(--gold); border-radius: var(--radius); padding: .35rem .55rem; }

.chatbot-toggle, .back-top, .dark-toggle {
  position: fixed;
  z-index: 45;
  border: 0;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: var(--shadow);
}
.chatbot-toggle { right: 1rem; bottom: 5.2rem; background: var(--gold); }
.back-top { right: 1rem; bottom: 8.7rem; background: var(--charcoal); color: var(--white); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.back-top.is-visible { opacity: 1; pointer-events: auto; }
.dark-toggle { right: 1rem; bottom: 12.2rem; background: var(--white); color: var(--charcoal); }
.whatsapp-float {
  position: fixed;
  z-index: 44;
  right: 1rem;
  bottom: 1rem;
  background: #25D366;
  color: #06150b;
  border-radius: 999px;
  padding: .9rem 1rem;
  font-weight: 900;
  animation: pulseGlow 2s infinite;
}
.chatbot {
  position: fixed;
  z-index: 60;
  right: 1rem;
  bottom: 9rem;
  width: min(360px, calc(100vw - 2rem));
  display: none;
  overflow: hidden;
}
.chatbot.is-open { display: block; }
.chatbot header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--charcoal);
  color: var(--white);
}
.chatbot header button { border: 0; background: transparent; color: var(--white); font-size: 1.4rem; }
.chatbot__messages { padding: 1rem; max-height: 260px; overflow: auto; }
.chatbot__messages p { margin: 0 0 .7rem; padding: .7rem; background: rgba(201,168,76,.16); border-radius: var(--radius); }
.chatbot__choices { display: grid; gap: .5rem; padding: 0 1rem 1rem; }
.chatbot__choices button { border: 1px solid rgba(26,26,46,.14); background: var(--white); border-radius: var(--radius); padding: .65rem; font-weight: 800; }
.cookie {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 70;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .8rem;
}
.cookie.is-hidden { display: none; }

@media (max-width: 1100px) {
  .field-grid, .room-recommendations, .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room-grid { grid-template-columns: repeat(4, minmax(280px, 1fr)); }
  .weather-contact, .footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .site-header { height: 68px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(26,26,46,.96);
  }
  .nav.is-open { display: flex; }
  .hero { padding-top: 6rem; }
  .field-grid, .room-recommendations, .activity-grid, .menu-grid, .weather-contact, .footer, .availability-band { grid-template-columns: 1fr; }
  .menu-card { grid-template-columns: 1fr; }
  .menu-card img { height: 210px; }
  .forecast { grid-template-columns: 1fr; }
  .cookie { right: 1rem; flex-direction: column; align-items: stretch; }
}

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