/* =========================================================================
   HOTEL SUPREME A/C — warm, light, premium single page site
   Design tokens at the top of this file.
   ========================================================================= */

:root {
  /* ---- color ---- */
  --bg:        #FBF8F4; /* warm off-white base */
  --bg-alt:    #F3EEE5; /* soft cream, alternating sections */
  --surface:   #FFFFFF; /* cards */
  --surface-2: #F7F2E9;
  --charcoal:  #262220; /* primary text */
  --text-soft: #756C61; /* secondary text */
  --coral:     #C1503A; /* muted terracotta-red accent, ties to real hotel signage */
  --coral-dark:#A43F2C;
  --gold:      #B98B4E; /* subtle gold accent */
  --line:      rgba(38,34,32,0.12);

  /* ---- type ---- */
  --f-display: 'Archivo', sans-serif;
  --f-body: 'Space Grotesk', sans-serif;

  /* ---- layout ---- */
  --max: 1320px;
  --gutter: clamp(20px, 6vw, 80px);
  --radius: 6px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--charcoal);
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.05;
}

p { margin: 0; }

button { font-family: var(--f-body); cursor: pointer; border: none; background: none; color: inherit; }

:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  margin: 0 0 16px;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background var(--ease) .3s, color var(--ease) .3s, border-color var(--ease) .3s, transform var(--ease) .25s;
}
.btn--coral { background: var(--coral); color: var(--surface); border-color: var(--coral); }
.btn--coral:hover { background: var(--coral-dark); border-color: var(--coral-dark); transform: translateY(-2px); }

.btn--outline { background: transparent; color: var(--charcoal); border-color: rgba(38,34,32,0.24); }
.btn--outline:hover { border-color: var(--coral); color: var(--coral); }

.btn--full { width: 100%; }
.btn--large { padding: 19px 42px; font-size: 1rem; }

/* reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================================
   NAVIGATION
   ========================================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 20px var(--gutter);
  transition: background var(--ease) .4s, padding var(--ease) .4s, box-shadow var(--ease) .4s;
}
.nav.is-scrolled {
  background: rgba(251, 248, 244, 0.94);
  backdrop-filter: blur(10px);
  padding: 12px var(--gutter);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-scrolled .nav__brand,
.nav.is-scrolled .nav__links a:not(.nav__reserve) { color: var(--charcoal); }

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  color: var(--surface);
  display: flex;
  align-items: baseline;
  gap: 6px;
  transition: color var(--ease) .3s;
}
.nav__brand span { color: var(--coral); font-size: 0.85rem; }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.nav__reserve) {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--ease) .3s;
}
.nav__links a:not(.nav__reserve):hover { color: var(--coral); }
.nav__links a:not(.nav__reserve)::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--coral);
  transition: width var(--ease) .3s;
}
.nav__links a:not(.nav__reserve):hover::after { width: 100%; }

.nav__reserve {
  padding: 10px 22px;
  background: var(--coral);
  color: var(--surface);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--ease) .3s, transform var(--ease) .25s;
}
.nav__reserve:hover { background: var(--coral-dark); transform: translateY(-1px); }
.nav__reserve--mobile { align-self: flex-start; margin-top: 6px; }

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 6px; z-index: 20; }
.nav__burger span { width: 22px; height: 2px; background: var(--surface); }
.nav.is-scrolled .nav__burger span { background: var(--charcoal); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 22px;
  padding: 26px var(--gutter) 30px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a:not(.nav__reserve) { color: var(--text-soft); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero__image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(20,17,15,0.88) 0%, rgba(20,17,15,0.45) 50%, rgba(20,17,15,0.25) 100%);
}
.hero__grid {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding: 160px var(--gutter) 80px;
}
.hero__label {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  color: #FFFFFF;
  margin-bottom: 24px;
}
.hero__desc {
  font-size: clamp(0.98rem, 1.6vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero__actions .btn--outline { color: #FFFFFF; border-color: rgba(255,255,255,0.4); }
.hero__actions .btn--outline:hover { border-color: var(--coral); color: var(--coral); }

.hero__price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 22px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.hero__price-from { font-size: 0.78rem; color: rgba(255,255,255,0.75); }
.hero__price-num { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; color: var(--gold); }
.hero__price-night { font-size: 0.78rem; color: rgba(255,255,255,0.75); }

/* =========================================================================
   BENTO HIGHLIGHTS
   ========================================================================= */
.bento {
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.bento__tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--ease) .35s, border-color var(--ease) .35s, box-shadow var(--ease) .35s;
}
.bento__tile:hover { transform: translateY(-4px); border-color: var(--coral); box-shadow: 0 16px 32px rgba(38,34,32,0.08); }
.bento__tile--coral { background: var(--coral); border-color: var(--coral); }
.bento__tile--coral .bento__num,
.bento__tile--coral .bento__text { color: var(--surface); }
.bento__tile--teal { background: var(--charcoal); border-color: var(--charcoal); }
.bento__tile--teal .bento__num { color: var(--gold); }
.bento__tile--teal .bento__text { color: var(--surface); }

.bento__num { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; color: var(--coral); }
.bento__text { font-size: 1.05rem; font-weight: 500; }

/* =========================================================================
   ABOUT
   ========================================================================= */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px var(--gutter) 120px;
  align-items: center;
}
.about__image { border-radius: var(--radius); overflow: hidden; }
.about__image img { width: 100%; height: clamp(300px, 42vw, 480px); object-fit: cover; }

.about__content { max-width: 480px; }
.about__content h2 { font-size: clamp(2.1rem, 4.2vw, 3rem); margin-bottom: 22px; }
.about__desc { color: var(--text-soft); font-size: 1.02rem; margin-bottom: 32px; }
.about__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.about__stats .num { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; color: var(--coral); }
.about__stats .label { font-size: 0.8rem; color: var(--text-soft); }

/* =========================================================================
   ROOMS
   ========================================================================= */
.rooms { background: var(--bg-alt); padding: 110px var(--gutter); }
.rooms__header { max-width: var(--max); margin: 0 auto 50px; }
.rooms__header h2 { font-size: clamp(2.1rem, 4.2vw, 3rem); }

.rooms__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.room-card--wide { grid-column: span 3; display: grid; grid-template-columns: 1.1fr 1fr; }
.room-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--ease) .35s, transform var(--ease) .35s, box-shadow var(--ease) .35s;
}
.room-card:hover { border-color: var(--coral); transform: translateY(-4px); box-shadow: 0 18px 36px rgba(38,34,32,0.1); }

.room-card__image { position: relative; height: 220px; overflow: hidden; }
.room-card--wide .room-card__image { height: 100%; min-height: 260px; }
.room-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.room-card:hover .room-card__image img { transform: scale(1.05); }
.room-card__badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--surface);
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(38,34,32,0.18);
}

.room-card__body { padding: 26px; display: flex; flex-direction: column; }
.room-card__body h3 { font-size: 1.4rem; margin-bottom: 10px; }
.room-card__body > p { color: var(--text-soft); font-size: 0.94rem; margin-bottom: 16px; }
.room-card__meta {
  display: flex; flex-wrap: wrap; gap: 6px;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 22px;
}

/* =========================================================================
   AMENITIES
   ========================================================================= */
.amenities { max-width: var(--max); margin: 0 auto; padding: 110px var(--gutter); }
.amenities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.amenity {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  transition: border-color var(--ease) .3s, background var(--ease) .3s;
}
.amenity:hover { border-color: var(--coral); background: var(--surface-2); }
.amenity__mark { color: var(--coral); font-size: 1.1rem; }

/* =========================================================================
   GALLERY — masonry
   ========================================================================= */
.gallery { max-width: var(--max); margin: 0 auto; padding: 110px var(--gutter); }
.gallery h2 { font-size: clamp(2.1rem, 4.2vw, 3rem); margin-bottom: 46px; }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 110px;
  gap: 14px;
}
.gallery__grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  border-radius: var(--radius);
  transition: transform .6s var(--ease);
}
.gallery__grid img:hover { transform: scale(1.03); }

.g-a { grid-column: 1 / 3; grid-row: 1 / 4; }
.g-b { grid-column: 3 / 7; grid-row: 1 / 3; }
.g-c { grid-column: 5 / 7; grid-row: 3 / 5; }
.g-d { grid-column: 1 / 3; grid-row: 4 / 6; }
.g-e { grid-column: 3 / 5; grid-row: 3 / 6; }
.g-f { grid-column: 1 / 4; grid-row: 6 / 8; }
.g-g { grid-column: 4 / 7; grid-row: 5 / 8; }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(20,17,15,0.94);
  display: none;
  align-items: center; justify-content: center;
  z-index: 900;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 90vw; object-fit: contain; border-radius: var(--radius); }
.lightbox__close { position: absolute; top: 26px; right: 30px; color: #FFFFFF; font-size: 1.4rem; }

/* =========================================================================
   REVIEWS
   ========================================================================= */
.reviews {
  max-width: 860px;
  margin: 0 auto;
  padding: 110px var(--gutter);
  text-align: center;
}
.reviews__stars { color: var(--gold); letter-spacing: 4px; margin-bottom: 26px; }
.reviews__quote {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  margin-bottom: 22px;
  transition: opacity .4s var(--ease);
}
.reviews__author { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 34px; transition: opacity .4s var(--ease); }
.reviews__nav { display: flex; justify-content: center; gap: 24px; }
.reviews__nav button {
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color var(--ease) .3s, color var(--ease) .3s;
}
.reviews__nav button:hover { border-color: var(--coral); color: var(--coral); }

/* =========================================================================
   LOCATION
   ========================================================================= */
.location { background: var(--bg-alt); display: grid; grid-template-columns: 1fr 1fr; }
.location__left { padding: clamp(60px, 8vw, 110px) var(--gutter); max-width: 560px; }
.location__left h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 8px 0 24px; }
.location__address { color: var(--charcoal); font-size: 1.02rem; margin-bottom: 8px; }
.location__note { color: var(--text-soft); font-size: 0.85rem; margin-bottom: 32px; }

.location__right { min-height: 420px; }
.location__right iframe { width: 100%; height: 100%; border: 0; }

/* =========================================================================
   FINAL CTA
   ========================================================================= */
.final-cta {
  background: var(--charcoal);
  color: #FFFFFF;
  text-align: center;
  padding: 130px var(--gutter);
}
.final-cta h2 { color: #FFFFFF; font-size: clamp(2.1rem, 4.6vw, 3.2rem); margin-bottom: 20px; }
.final-cta p { color: rgba(255,255,255,0.7); max-width: 44ch; margin: 0 auto 38px; font-size: 1.02rem; }
.final-cta .btn--coral { background: var(--coral); color: #FFFFFF; border-color: var(--coral); }
.final-cta .btn--coral:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { padding: 60px var(--gutter) 26px; background: var(--bg); }
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer__name { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 10px; }
.footer__brand p:not(.footer__name) { color: var(--text-soft); font-size: 0.94rem; }
.footer__heading { color: var(--text); font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; margin-bottom: 16px; }
.footer__col p { margin-bottom: 10px; font-size: 0.94rem; color: var(--text-soft); }
.footer__col a:hover { color: var(--coral); }

.footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 0.8rem;
  color: var(--text-soft);
}
#backToTop { font-size: 0.8rem; color: var(--text-soft); transition: color var(--ease) .3s; }
#backToTop:hover { color: var(--coral); }

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(38, 34, 32, 0.2);
  transition: transform var(--ease) .3s, box-shadow var(--ease) .3s;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }
.whatsapp-float:hover { color: #FFFFFF; transform: translateY(-4px); box-shadow: 0 14px 28px rgba(38, 34, 32, 0.28); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
  .amenities__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .bento { grid-template-columns: repeat(2, 1fr); }

  .about { grid-template-columns: 1fr; padding-bottom: 90px; }
  .about__content { max-width: 100%; }

  .rooms { padding: 90px var(--gutter); }
  .rooms__grid { grid-template-columns: 1fr; }
  .room-card--wide { grid-column: span 1; grid-template-columns: 1fr; }
  .room-card--wide .room-card__image { min-height: 220px; }

  .amenities { padding: 90px var(--gutter); }

  .gallery { padding: 90px var(--gutter); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery__grid img { grid-column: auto !important; grid-row: span 2 !important; }

  .location { grid-template-columns: 1fr; }
  .location__left { padding: 70px var(--gutter); max-width: 100%; }
  .location__right { min-height: 320px; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 14px; text-align: center; }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr 1fr; gap: 12px; padding: 50px var(--gutter) 60px; }
  .bento__tile { padding: 22px 18px; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 27px; height: 27px; }
  .amenities__grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 2.4rem; }
}
