/* ====================================================================
   Yatri Nivas Guest House — style.css
   Premium hotel website styles
   Color palette: cream / charcoal / muted gold
   ==================================================================== */

/* ----------  Design tokens  ---------- */
:root {
  /* Color ramps */
  --charcoal: #1a1a1a;
  --charcoal-2: #2a2a2a;
  --charcoal-3: #3a3a3a;
  --cream: #faf7f0;
  --cream-2: #f3ede1;
  --cream-3: #ece4d4;
  --paper: #ffffff;
  --gold: #b08d57;
  --gold-dark: #92723f;
  --gold-light: #c9a877;
  --success: #4a7c59;
  --warning: #c08a3e;
  --error: #b3413a;
  --muted: #6b6b6b;
  --muted-2: #8a8a8a;
  --line: #e6dfcf;

  /* Typography */
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing (8px base) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 56px;
  --sp-7: 80px;
  --sp-8: 112px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 26, 26, 0.1);
  --shadow-lg: 0 18px 48px rgba(26, 26, 26, 0.16);

  /* Layout */
  --container: 1200px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------  Reset  ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ----------  Layout helpers  ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-2);
}

.section {
  padding: var(--sp-8) 0;
}

.section.alt-bg {
  background: var(--cream-2);
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--sp-1);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.section-head {
  max-width: 640px;
  margin: 0 auto var(--sp-6);
  text-align: center;
}

.section-sub {
  margin-top: var(--sp-2);
  color: var(--muted);
  font-size: 1.05rem;
}

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 26px;
  border-radius: var(--r-pill);
  transition: all 0.35s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}

.btn-gold {
  background: var(--gold);
  color: var(--paper);
  box-shadow: 0 4px 14px rgba(176, 141, 87, 0.3);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(176, 141, 87, 0.4);
}

.btn-dark {
  background: var(--charcoal);
  color: var(--cream);
}
.btn-dark:hover {
  background: var(--charcoal-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--paper);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
  background: var(--paper);
  color: var(--charcoal);
  border-color: var(--paper);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1rem;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ----------  Header / Nav  ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: transparent;
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    height 0.4s var(--ease);
}

.site-header.scrolled {
  background: rgba(250, 247, 240, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  height: 64px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.4s var(--ease);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--paper);
  transition: color 0.4s var(--ease);
}

.logo-sub {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  transition: color 0.4s var(--ease);
}

/* Header on scroll: switch logo colors */
.site-header.scrolled .logo-name {
  color: var(--charcoal);
}
.site-header.scrolled .logo-sub {
  color: var(--gold-dark);
}

/* Nav list */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav-list {
  display: flex;
  gap: var(--sp-3);
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.site-header.scrolled .nav-link {
  color: var(--charcoal-2);
}
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
  color: var(--gold-dark);
}

.nav-cta {
  margin-left: var(--sp-2);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  z-index: 1001;
}

.hamburger-line {
  width: 26px;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: all 0.35s var(--ease);
  transform-origin: center;
}

.site-header.scrolled .hamburger-line {
  background: var(--charcoal);
}

.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----------  Hero  ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: heroZoom 18s var(--ease) infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.55) 0%,
    rgba(26, 26, 26, 0.45) 50%,
    rgba(26, 26, 26, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--paper);
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--sp-2);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-desc {
  font-size: 1.12rem;
  line-height: 1.6;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--sp-4);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.hero-cta {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.private-property-note {
  margin-top: 24px;
  max-width: 650px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--paper);
}

.private-property-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  font-weight: 600;
}

.private-property-note p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.private-property-note p strong {
  display: inline;
  margin: 0;
  color: var(--paper);
}

@media (max-width: 600px) {
  .private-property-note {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 16px;
  }

  .private-property-note p {
    font-size: 0.82rem;
  }
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--r-pill);
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.hero-scroll span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--paper);
  border-radius: var(--r-pill);
  animation: scrollDot 1.8s var(--ease) infinite;
}

@keyframes scrollDot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

/* ----------  About  ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -28px;
  right: -20px;
  background: var(--charcoal);
  color: var(--paper);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-badge-num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.about-badge-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.about-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--charcoal-2);
  margin: var(--sp-3) 0;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.about-list li {
  position: relative;
  padding-left: 30px;
  color: var(--charcoal-2);
  line-height: 1.5;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cream-3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b08d57' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* ----------  Rooms  ---------- */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.room-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  display: flex;
  flex-direction: column;
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.room-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.room-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.room-card:hover .room-media img {
  transform: scale(1.06);
}

.room-body {
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.room-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: var(--sp-1);
}

.room-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: var(--sp-3);
  flex: 1;
}

.room-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--sp-3);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--line);
}

.room-specs li {
  font-size: 0.88rem;
  color: var(--charcoal-2);
}

.room-specs strong {
  display: inline-block;
  min-width: 90px;
  color: var(--gold-dark);
  font-weight: 600;
}

.room-actions {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}

.room-actions .btn {
  flex: 1 1 0;
  width: 50%;
  min-width: 0;
  text-align: center;
}

.room-call {
  background: var(--gold);
  color: var(--paper);
}

.room-call:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- Room Price ---------- */

.room-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: var(--sp-2);
  padding-top: 4px;
}

.room-price .price {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}

.room-price .per-night {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* ----------  Amenities  ---------- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.amenity-card {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: var(--sp-3);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border: 1px solid transparent;
}

.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}

.amenity-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--sp-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-2);
  color: var(--gold-dark);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

.amenity-card:hover .amenity-icon {
  background: var(--gold);
  color: var(--paper);
}

.amenity-icon svg {
  width: 28px;
  height: 28px;
}

.amenity-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.amenity-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ----------  Gallery  ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  aspect-ratio: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--sp-3) var(--sp-2) var(--sp-2);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--paper);
  background: linear-gradient(transparent, rgba(26, 26, 26, 0.75));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* ----------  Why Choose Us  ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.why-card {
  text-align: center;
  padding: var(--sp-4) var(--sp-3);
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--sp-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-2);
  color: var(--gold);
  border: 2px solid var(--cream-3);
  transition: all 0.4s var(--ease);
}

.why-card:hover .why-icon {
  background: var(--gold);
  color: var(--paper);
  border-color: var(--gold);
  transform: scale(1.05);
}

.why-icon svg {
  width: 32px;
  height: 32px;
}

.why-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: var(--sp-1);
}

.why-card p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ----------  Location  ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-6);
  align-items: center;
}

.location-address {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--charcoal-2);
  margin: var(--sp-3) 0;
}

.location-subhead {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.location-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--sp-4);
}

.location-list li {
  position: relative;
  padding-left: 24px;
  color: var(--charcoal-2);
}

.location-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.location-map {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 420px;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15);
}

/* ----------  Contact  ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  max-width: 920px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-3);
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border: 1px solid transparent;
}

.contact-card:not(.no-hover):hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--paper);
}

.contact-icon svg {
  width: 26px;
  height: 26px;
}

.contact-icon.whatsapp {
  background: #25d366;
}
.contact-icon.phone {
  background: var(--gold);
}
.contact-icon.pin {
  background: var(--charcoal);
}

.contact-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ----------  Footer  ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.75);
  padding-top: var(--sp-7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-5);
  padding-bottom: var(--sp-5);
}

.logo-footer .logo-name {
  color: var(--paper);
}
.logo-footer .logo-sub {
  color: var(--gold-light);
}

.footer-desc {
  margin-top: var(--sp-3);
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: var(--sp-2);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 6px;
}

.footer-address {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--sp-3);
}

.footer-cta {
  display: flex;
  gap: var(--sp-1);
  flex-wrap: wrap;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--sp-3) 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ----------  Floating contact  ---------- */
.floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating-main {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(176, 141, 87, 0.45);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
  position: relative;
}

.floating-main:hover {
  background: var(--gold-dark);
  transform: scale(1.06);
}

.floating-main svg {
  width: 26px;
  height: 26px;
  position: absolute;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.floating-main .icon-close {
  opacity: 0;
  transform: rotate(-90deg);
}

.floating-main.open .icon-chat {
  opacity: 0;
  transform: rotate(90deg);
}
.floating-main.open .icon-close {
  opacity: 1;
  transform: rotate(0);
}

.floating-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.9);
  transform-origin: bottom right;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.floating-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease);
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn svg {
  width: 24px;
  height: 24px;
}

.floating-btn.whatsapp {
  background: #25d366;
}
.floating-btn.phone {
  background: var(--gold);
}

/* ----------  Back to top  ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
    background 0.3s var(--ease);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* ----------  Lightbox  ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(26, 26, 26, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  backdrop-filter: blur(4px);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  transform: scale(0.94);
  transition: transform 0.4s var(--ease-out);
}

.lightbox.open .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 2;
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
  background: var(--gold);
  transform: rotate(90deg);
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
}

.lightbox-nav:hover {
  background: var(--gold);
}

.lightbox-prev {
  left: 24px;
}
.lightbox-next {
  right: 24px;
}

.lightbox-close svg,
.lightbox-nav svg {
  width: 24px;
  height: 24px;
}

/* ----------  Reveal animations  ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside grids */
.rooms-grid .reveal,
.amenities-grid .reveal,
.why-grid .reveal,
.gallery-grid .reveal,
.contact-cards .reveal {
  transition-delay: calc(var(--i, 0) * 80ms);
}

/* ----------  Responsive  ---------- */
@media (max-width: 1024px) {
  .section {
    padding: var(--sp-7) 0;
  }
  .rooms-grid,
  .amenities-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-grid {
    gap: var(--sp-5);
  }
  .about-media img {
    height: 440px;
  }
  .location-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
  .location-map {
    height: 360px;
  }
}

@media (max-width: 820px) {
  /* Mobile nav */
  .hamburger {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 82vw);
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--header-h) + 20px) var(--sp-3) var(--sp-3);
    gap: var(--sp-3);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
  }
  .main-nav.open {
    transform: translateX(0);
  }
  .nav-list {
    flex-direction: column;
    gap: var(--sp-2);
    width: 100%;
  }
  .nav-link {
    color: var(--charcoal);
    font-size: 1.05rem;
    display: block;
    padding: 10px 0;
  }
  .nav-link::after {
    display: none;
  }
  .nav-link.active,
  .nav-link:hover {
    color: var(--gold-dark);
  }
  .nav-cta {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
  /* Overlay behind mobile menu */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.45);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
  }
  .nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--sp-6) 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
  .about-media {
    order: -1;
  }
  .about-media img {
    height: 340px;
  }
  .about-badge {
    right: 10px;
    bottom: -20px;
    padding: var(--sp-2) var(--sp-3);
  }
  .about-badge-num {
    font-size: 2rem;
  }
  .rooms-grid,
  .amenities-grid,
  .why-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
    text-align: left;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .hero-desc {
    font-size: 1rem;
  }
  /* Floating button smaller on mobile, offset to avoid content */
  .floating {
    bottom: 18px;
    right: 18px;
  }
  .floating-main {
    width: 52px;
    height: 52px;
  }
  .floating-btn {
    width: 46px;
    height: 46px;
  }
  .back-to-top {
    bottom: 18px;
    left: 18px;
    width: 42px;
    height: 42px;
  }
  .lightbox-nav {
    width: 44px;
    height: 44px;
  }
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
  .lightbox-close {
    top: 14px;
    right: 14px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.85rem;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .room-specs li {
    font-size: 0.82rem;
  }
  .room-specs strong {
    min-width: 78px;
  }
  .gallery-grid {
    gap: 10px;
  }
}

/* ----------  Reduced motion  ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-bg {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
