/* =========================================================================
   HOTEL RSN INTERNATIONAL A/C — navy & gold, single page site
   Design tokens at the top of this file.
   ========================================================================= */

:root {
  --navy-dark: #0B1F3A;
  --navy:      #14294D;
  --cream:     #F7F4EE;
  --white:     #FFFFFF;
  --charcoal:  #1C1C1C;
  --text-soft: #666B72;
  --gold:      #D4A24C;
  --gold-dark: #B4832F;
  --line:      rgba(11,31,58,0.12);
  --line-light:rgba(247,244,238,0.18);

  --f-display: 'Playfair Display', serif;
  --f-body: 'Work Sans', sans-serif;

  --max: 1320px;
  --gutter: clamp(20px, 6vw, 80px);
  --radius: 4px;
  --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(--cream);
  color: var(--charcoal);
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.35);
  z-index: 1200;
  transition: transform var(--ease) .25s, box-shadow var(--ease) .25s;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 36px rgba(37, 211, 102, 0.42);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

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

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--navy-dark);
  margin: 0;
  line-height: 1.12;
}
p { margin: 0; }
button { font-family: var(--f-body); cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

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

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  font-size: 0.9rem;
  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--gold { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

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

[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(11,31,58,0.94); backdrop-filter: blur(10px); padding: 12px var(--gutter); box-shadow: 0 1px 0 var(--line-light); }
.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: 700; font-size: 1.25rem; color: var(--white); }
.nav__brand span { color: var(--gold); font-weight: 500; font-style: italic; }

.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.85); position: relative; padding-bottom: 3px; transition: color var(--ease) .3s; }
.nav__links a:not(.nav__reserve):hover { color: var(--gold); }
.nav__links a:not(.nav__reserve)::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width var(--ease) .3s; }
.nav__links a:not(.nav__reserve):hover::after { width: 100%; }

.nav__reserve { padding: 10px 22px; background: var(--gold); color: var(--navy-dark); 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(--gold-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(--white); }

.nav__mobile { display: none; flex-direction: column; gap: 22px; padding: 26px var(--gutter) 30px; background: var(--navy-dark); border-top: 1px solid var(--line-light); font-size: 1.05rem; }
.nav__mobile.is-open { display: flex; }
.nav__mobile a:not(.nav__reserve) { color: rgba(255,255,255,0.85); }

/* =========================================================================
   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(11,19,31,0.94) 0%, rgba(11,19,31,0.55) 50%, rgba(11,19,31,0.35) 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-size: clamp(2.6rem, 7vw, 4.8rem); color: var(--white); 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; }

/* =========================================================================
   HIGHLIGHTS
   ========================================================================= */
.highlights { background: var(--navy-dark); padding: 0; display: grid; grid-template-columns: repeat(4,1fr); }
.highlight { padding: 42px clamp(10px,2vw,30px); border-left: 1px solid var(--line-light); text-align: center; }
.highlight:first-child { border-left: none; }
.highlight__num { display: block; font-family: var(--f-display); font-style: italic; font-size: 1.3rem; color: var(--gold); margin-bottom: 10px; }
.highlight__text { font-size: 1rem; color: var(--cream); }

/* =========================================================================
   ABOUT
   ========================================================================= */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,70px); max-width: var(--max); margin: 0 auto; padding: 110px var(--gutter); align-items: center; }
.about__image { border-radius: var(--radius); overflow: hidden; }
.about__image img { width: 100%; height: clamp(320px,44vw,520px); object-fit: cover; }
.about__content { max-width: 500px; }
.about__content h2 { font-size: clamp(2.1rem,4vw,3.1rem); margin-bottom: 22px; }
.about__desc { color: var(--text-soft); font-size: 1.02rem; margin-bottom: 34px; }
.about__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.about__stats .num { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; color: var(--navy-dark); }
.about__stats .label { font-size: 0.8rem; color: var(--text-soft); }

/* =========================================================================
   ROOMS
   ========================================================================= */
.rooms { background: var(--white); padding: 120px var(--gutter); }
.rooms__header { max-width: var(--max); margin: 0 auto 50px; }
.rooms__header h2 { font-size: clamp(2.1rem,4vw,3.1rem); margin-bottom: 12px; }
.rooms__note { color: var(--text-soft); font-size: 0.9rem; }
.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(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform var(--ease) .4s, box-shadow var(--ease) .4s; }
.room-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(11,31,58,0.12); }
.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__body { padding: 24px 24px 26px; }
.room-card__body h3 { font-size: 1.35rem; margin-bottom: 8px; }
.room-card__body > p { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 16px; }
.room-card__footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); }
.room-card__price { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: var(--navy-dark); }
.room-card__more { font-size: 0.78rem; color: var(--gold-dark); border-bottom: 1px solid var(--gold-dark); padding-bottom: 2px; }

/* =========================================================================
   AMENITIES
   ========================================================================= */
.amenities { background: var(--cream); padding: 110px var(--gutter); }
.amenities__wrap { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.amenities__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.amenity { background: var(--white); padding: 26px 22px; font-size: 0.98rem; font-weight: 500; transition: background var(--ease) .3s, color var(--ease) .3s; }
.amenity:hover { background: var(--navy-dark); color: var(--gold); }
.amenities__image { border-radius: var(--radius); overflow: hidden; }
.amenities__image img { width: 100%; height: clamp(280px,32vw,420px); object-fit: cover; }

/* =========================================================================
   GALLERY
   ========================================================================= */
.gallery { max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter); }
.gallery h2 { font-size: clamp(2.1rem,4vw,3.1rem); margin-bottom: 48px; }
.gallery__grid { display: grid; grid-template-columns: repeat(6,1fr); grid-auto-rows: 110px; gap: 16px; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; border-radius: var(--radius); transition: transform .7s 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(11,19,31,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: var(--white); font-size: 1.4rem; }

/* =========================================================================
   NEARBY
   ========================================================================= */
.nearby { display: grid; grid-template-columns: 1fr 1fr; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 120px; gap: clamp(30px,5vw,70px); align-items: center; }
.nearby__image { border-radius: var(--radius); overflow: hidden; }
.nearby__image img { width: 100%; height: clamp(300px,40vw,460px); object-fit: cover; }
.nearby__content { max-width: 480px; }
.nearby__content h2 { font-size: clamp(2rem,3.8vw,2.9rem); margin-bottom: 20px; }
.nearby__desc { color: var(--text-soft); font-size: 1rem; margin-bottom: 28px; }
.nearby__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.nearby__list li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.nearby__list li span:last-child { color: var(--gold-dark); font-family: var(--f-display); font-weight: 600; }

/* =========================================================================
   REVIEWS
   ========================================================================= */
.reviews { background: var(--navy-dark); max-width: 100%; margin: 0; padding: 120px var(--gutter); text-align: center; }
.reviews__stars { color: var(--gold); letter-spacing: 4px; margin-bottom: 26px; }
.reviews__quote { font-family: var(--f-display); font-style: italic; color: var(--white); font-size: clamp(1.5rem,3.2vw,2.3rem); margin-bottom: 22px; max-width: 780px; margin-left: auto; margin-right: auto; transition: opacity .4s var(--ease); }
.reviews__author { color: rgba(255,255,255,0.6); font-size: 0.95rem; margin-bottom: 36px; 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-light); border-radius: 50%; color: var(--white); transition: border-color var(--ease) .3s, color var(--ease) .3s; }
.reviews__nav button:hover { border-color: var(--gold); color: var(--gold); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { max-width: 920px; margin: 0 auto; padding: 120px var(--gutter); }
.faq__header { margin-bottom: 50px; }
.faq__header h2 { font-size: clamp(2.1rem,4vw,2.9rem); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; text-align: left; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; }
.faq__icon { font-family: var(--f-body); font-size: 1.4rem; color: var(--gold-dark); transition: transform var(--ease) .35s; flex-shrink: 0; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height var(--ease) .4s, opacity var(--ease) .3s; opacity: 0; }
.faq__item.is-open .faq__answer { opacity: 1; }
.faq__answer p { padding: 0 4px 28px; max-width: 62ch; color: var(--text-soft); font-size: 0.97rem; }

/* =========================================================================
   LOCATION
   ========================================================================= */
.location { background: var(--cream); 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(--navy-dark); color: var(--white); text-align: center; padding: 140px var(--gutter); }
.final-cta h2 { color: var(--white); font-size: clamp(2.1rem,4.8vw,3.3rem); margin-bottom: 20px; }
.final-cta p { color: rgba(255,255,255,0.7); max-width: 44ch; margin: 0 auto 38px; font-size: 1.02rem; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { padding: 60px var(--gutter) 26px; background: var(--cream); }
.footer__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 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__label { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: var(--navy-dark); margin-bottom: 12px; }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a { color: var(--text-soft); font-size: 0.94rem; transition: color var(--ease) .3s; }
.footer__links a:hover { color: var(--gold-dark); }
.footer__contact, .footer__social { display: flex; flex-direction: column; gap: 8px; }
.footer__contact p, .footer__social p { margin: 0; }
.footer__col p { margin-bottom: 10px; font-size: 0.94rem; color: var(--text-soft); }
.footer__col a:hover { color: var(--gold-dark); }
.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(--gold-dark); }

/* =========================================================================
   MODAL
   ========================================================================= */
.modal { position: fixed; inset: 0; background: rgba(11,19,31,0.6); display: none; align-items: center; justify-content: center; z-index: 950; padding: 24px; }
.modal.is-open { display: flex; }
.modal__panel { background: var(--cream); max-width: 900px; width: 100%; max-height: 88vh; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); position: relative; }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.85); font-size: 1rem; }
.modal__image { min-height: 260px; }
.modal__image img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: clamp(28px,4vw,48px); }
.modal__body h3 { font-size: 1.9rem; margin-bottom: 14px; }
.modal__body > p:not([class]) { color: var(--text-soft); margin-bottom: 18px; }
.modal__meta { display: flex; gap: 8px; color: var(--gold-dark); font-size: 0.9rem; margin-bottom: 22px; }
.modal__price { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; margin-bottom: 26px; color: var(--navy-dark); }

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

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

  .highlights { grid-template-columns: repeat(2,1fr); }
  .highlight { border-left: none; border-top: 1px solid var(--line-light); }

  .about { grid-template-columns: 1fr; padding: 90px var(--gutter); }
  .about__content { max-width: 100%; margin-top: 20px; }

  .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); }
  .amenities__wrap { grid-template-columns: 1fr; }
  .amenities__image { order: -1; }

  .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; }

  .nearby { grid-template-columns: 1fr; padding: 0 var(--gutter) 90px; }
  .nearby__content { max-width: 100%; }

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

  .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; }

  .modal__panel { grid-template-columns: 1fr; }
  .modal__image { min-height: 220px; }
}

@media (max-width: 560px) {
  .highlights { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .amenities__grid { grid-template-columns: 1fr; }
}

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