/* =============================================================
   Palmorama × Vaayu — vanilla HTML/CSS port
   ============================================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ede5d3;
  --bg-dark: #1c1a16;
  --fg: #1c1a16;
  --fg-light: #ede5d3;
  --line: rgba(28, 26, 22, 0.15);
  --line-light: rgba(237, 229, 211, 0.15);
  --muted: rgba(28, 26, 22, 0.7);
  --muted-light: rgba(237, 229, 211, 0.78);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html { scroll-behavior: auto; }
html, body { background: var(--bg); color: var(--fg); }
body {
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; user-select: none; -webkit-user-drag: none; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; color: inherit; font: inherit; }

::selection { background: var(--bg-dark); color: var(--bg); }

html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: var(--bg); }
html::-webkit-scrollbar-thumb { background: var(--bg-dark); }

/* ===== Lenis ===== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* =========== Typography =========== */
.eyebrow {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  opacity: 0.65;
  font-weight: 400;
}
.eyebrow--light { opacity: 0.78; }

.display, .display-xl, .display-md, .display-sm {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.02;
}
.display { font-size: clamp(2.5rem, 4.4vw, 4.4rem); }
.display-xl { font-size: clamp(3rem, 6vw, 6rem); line-height: 0.95; }
.display-md { font-size: clamp(2rem, 3.6vw, 3.6rem); }
.display-sm { font-size: clamp(1.4rem, 1.9vw, 1.9rem); line-height: 1.15; }

.lead {
  font-size: clamp(1.05rem, 1.25vw, 1.3rem);
  line-height: 1.65;
  font-weight: 300;
  color: rgba(28, 26, 22, 0.85);
}
.body-dim {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  line-height: 1.65;
  font-weight: 300;
  color: var(--muted);
}

/* =========== Layout =========== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
}

/* =========== Buttons =========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn--small { padding: 0.75rem 1.25rem; font-size: 11px; letter-spacing: 0.3em; }
.btn--outline:hover { background: currentColor; color: var(--bg-dark); }
.btn--outline-dark { color: var(--bg-dark); border-color: var(--bg-dark); }
.btn--outline-dark:hover { background: var(--bg-dark); color: var(--bg); }

/* =========== Scroll Progress =========== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: rgba(28, 26, 22, 0.6);
  width: 0;
  z-index: 80;
  transform-origin: left;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.scroll-progress.is-ready { opacity: 1; }

/* =========== Loader =========== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  color: var(--fg-light);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s var(--ease);
}
.loader.is-hidden { opacity: 0; pointer-events: none; }
.loader__brand { text-align: center; display: flex; flex-direction: column; align-items: center; }
.loader__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  margin: 1.25rem 0;
  font-weight: 400;
}
.loader__tag { opacity: 0.6; }
.loader__progress {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 78%;
  max-width: 520px;
}
.loader__progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  opacity: 0.7;
}
.loader__bar { height: 1px; width: 100%; background: rgba(237, 229, 211, 0.15); overflow: hidden; }
.loader__fill { height: 100%; width: 0; background: var(--fg-light); transition: width 0.12s linear; }

/* =========== Navigation =========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  color: var(--fg-light);
  transition: background-color 0.7s var(--ease), color 0.7s var(--ease), border-color 0.7s var(--ease);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transform: translateY(-20px);
}
.nav.is-ready {
  opacity: 1;
  transform: translateY(0);
  transition: background-color 0.7s var(--ease), color 0.7s var(--ease), border-color 0.7s var(--ease), opacity 1s var(--ease), transform 1s var(--ease);
}
.nav.is-scrolled {
  background: rgba(237, 229, 211, 0.86);
  backdrop-filter: blur(12px);
  color: var(--bg-dark);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 2.5rem);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { display: flex; flex-direction: column; line-height: 1; }
.nav__logo-name { font-family: var(--serif); font-style: italic; font-size: 1.5rem; }
.nav__logo-tag { font-size: 9px; letter-spacing: 0.45em; text-transform: uppercase; opacity: 0.7; margin-top: 0.35rem; }
.nav__links { display: flex; gap: 2.25rem; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; }
.nav__links a { position: relative; }
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width 0.5s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 0.75rem; }
.nav__burger { display: none; padding: 0.5rem; }

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

/* =========== Drawer (mobile) =========== */
.drawer {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  color: var(--fg-light);
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}
.drawer__brand { font-family: var(--serif); font-style: italic; font-size: 1.5rem; }
.drawer__close { padding: 0.5rem; }
.drawer__nav { display: flex; flex-direction: column; gap: 1.5rem; padding: 2rem 1.5rem; }
.drawer__nav a { font-family: var(--serif); font-style: italic; font-size: 1.85rem; border-bottom: 1px solid var(--line-light); padding-bottom: 1.1rem; }
.drawer__book { font-family: var(--sans); font-style: normal; font-size: 11px; justify-content: center; border-bottom: none; padding: 1rem 1.25rem; }
.drawer__phone { font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; opacity: 0.8; text-align: center; border-bottom: none; padding-bottom: 0; }

/* =========== Reveal animations =========== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal[data-reveal-delay] { transition-delay: var(--reveal-delay, 0ms); }

.line-mask { display: block; overflow: hidden; }
.line {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.2s var(--ease);
}
.line-mask.is-in .line { transform: translateY(0); }

.reveal-words { /* set by JS – wraps each word */ }
.reveal-words .word { display: inline-block; overflow: hidden; }
.reveal-words .word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
}
.reveal-words.is-in .word > span { transform: translateY(0); }

/* =========== Hero =========== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: var(--bg-dark);
  color: var(--fg-light);
}
.hero__bg { position: absolute; inset: 0; will-change: transform; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.65) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
  max-width: 1500px;
  margin: 0 auto;
}
.hero__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(3rem, 7.4vw, 7.4rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 1.5rem 0 2rem;
  max-width: 14ch;
  font-weight: 400;
}
.hero__sub {
  max-width: 30rem;
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  opacity: 0.86;
  line-height: 1.7;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.9;
}
.hero__scroll span { margin-bottom: 0.85rem; }
.bounce { animation: bounce 2.4s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* =========== Story =========== */
.story {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  padding: clamp(6rem, 14vw, 11rem) 0;
  overflow: hidden;
}
.story__watermark {
  position: absolute;
  top: -2rem;
  right: -3vw;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(12rem, 22vw, 22vw);
  line-height: 1;
  color: rgba(28, 26, 22, 0.05);
  pointer-events: none;
  user-select: none;
}
.story__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3rem;
  position: relative;
}
.story__intro {
  grid-column: 1 / span 5;
  position: sticky;
  top: 8rem;
  align-self: start;
}
.story__intro .eyebrow { margin-bottom: 1.25rem; }
.story__body {
  grid-column: 7 / span 6;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hl-list {
  list-style: none;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hl-list li {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 300;
}
.hl-list__num {
  font-size: 10px;
  letter-spacing: 0.35em;
  opacity: 0.55;
}

@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; gap: 2rem; }
  .story__intro, .story__body { grid-column: 1; position: static; }
}

/* =========== Rooms =========== */
.rooms {
  background: var(--bg);
  color: var(--fg);
  padding-top: clamp(5rem, 10vw, 8rem);
}
.rooms__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}
.rooms__head .eyebrow { margin-bottom: 1.25rem; }
.rooms__head-copy { max-width: 28rem; }

.room {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3rem;
  align-items: center;
  padding: clamp(4rem, 7vw, 7rem) 0;
}
.room__image {
  grid-column: 1 / span 6;
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
  background: rgba(28, 26, 22, 0.05);
}
.room__image img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.room__body { grid-column: 8 / span 5; }
.room__body .eyebrow { margin-bottom: 1.25rem; display: block; }
.room__body .display-md { margin: 0.5rem 0 1.5rem; }
.room__price {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
  margin: 2rem 0 1.5rem;
}
.price { font-family: var(--serif); font-style: italic; font-size: 2rem; }
.amenities {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.amenities li { display: flex; align-items: center; gap: 0.55rem; }
.amenities li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(28, 26, 22, 0.6);
}

.room--flip .room__image { grid-column: 7 / span 6; order: 2; }
.room--flip .room__body { grid-column: 2 / span 5; order: 1; }

/* Curtain reveal effect on rooms */
.curtain::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 1.4s cubic-bezier(0.7, 0, 0.3, 1);
}
.curtain.is-in::after { transform: scaleX(0); }

@media (max-width: 900px) {
  .room, .room--flip { grid-template-columns: 1fr; gap: 2rem; }
  .room__image, .room__body, .room--flip .room__image, .room--flip .room__body { grid-column: 1; order: initial; }
  .amenities { grid-template-columns: 1fr; }
}

/* =========== Café =========== */
.cafe {
  background: var(--bg-dark);
  color: var(--fg-light);
  padding: clamp(6rem, 14vw, 11rem) 0;
  overflow: hidden;
}
.cafe__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3rem;
}
.cafe__intro {
  grid-column: 1 / span 5;
  position: sticky;
  top: 8rem;
  align-self: start;
}
.cafe__title { margin: 1.5rem 0 1.5rem; }
.cafe__copy { font-size: clamp(0.95rem, 1.05vw, 1.1rem); line-height: 1.65; color: var(--muted-light); max-width: 28rem; }
.cafe__meta { display: flex; gap: 2.5rem; margin-top: 2.5rem; }
.cafe__meta-val { display: block; font-family: var(--serif); font-style: italic; font-size: 1.15rem; margin-top: 0.5rem; }

.cafe__gallery {
  grid-column: 6 / span 7;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.cafe__img { overflow: hidden; }
.cafe__img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.cafe__img--tall { aspect-ratio: 3/4; }
.cafe__img--offset { aspect-ratio: 4/5; margin-top: 4rem; }
.cafe__img--wide { grid-column: 1 / -1; aspect-ratio: 16/9; }

@media (max-width: 900px) {
  .cafe__grid { grid-template-columns: 1fr; gap: 2rem; }
  .cafe__intro, .cafe__gallery { grid-column: 1; position: static; }
  .cafe__img--offset { margin-top: 0; }
}

/* Experiences */
.experiences {
  margin-top: clamp(6rem, 12vw, 11rem);
}
.experiences__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.experiences__head .eyebrow { margin-bottom: 1.25rem; }
.experiences__head .display-md { margin-top: 0.5rem; }
.experiences__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.experience__img { aspect-ratio: 4/5; overflow: hidden; margin-bottom: 1.5rem; }
.experience__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.experience:hover .experience__img img { transform: scale(1.06); }
.experience h3 { margin-bottom: 0.75rem; }

@media (max-width: 900px) {
  .experiences__grid { grid-template-columns: 1fr; }
}

/* =========== Facilities =========== */
.facilities {
  background: var(--bg);
  color: var(--fg);
  padding: clamp(6rem, 12vw, 10rem) 0;
}
.facilities__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.facilities__head .eyebrow { margin-bottom: 1.25rem; }
.facilities__head .display-md { margin-top: 0.5rem; }
.facilities__head p { max-width: 22rem; }
.facilities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.facility {
  aspect-ratio: 1;
  padding: 2.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  transition: background 0.7s var(--ease), color 0.7s var(--ease);
}
.facility:hover { background: var(--bg-dark); color: var(--fg-light); }
.facility h3 { margin-top: 0.5rem; }
.facility .eyebrow { display: block; margin-bottom: 0.25rem; }

@media (max-width: 900px) {
  .facilities__grid { grid-template-columns: 1fr 1fr; }
  .facility { padding: 1.5rem; }
}

/* =========== Gallery (horizontal) =========== */
.gallery {
  background: var(--bg-dark);
  color: var(--fg-light);
  height: 320vh;
  position: relative;
}
.gallery__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
.gallery__head {
  position: absolute;
  top: clamp(3rem, 5vw, 4rem);
  left: 0; right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
  pointer-events: none;
}
.gallery__title { margin-top: 0.75rem; }
.gallery__hint { font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; opacity: 0.55; }
.gallery__track {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
  padding-left: clamp(1.5rem, 4vw, 3.5rem);
  padding-top: 18vh;
  padding-bottom: 8vh;
  will-change: transform;
}
.gallery__frame {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.gallery__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.gallery__frame:hover img { transform: scale(1.04); }
.gallery__frame span {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
}
.f-a { width: 26vw; height: 58vh; }
.f-b { width: 30vw; height: 64vh; }
.f-c { width: 22vw; height: 52vh; }
.f-d { width: 34vw; height: 68vh; }
@media (max-width: 900px) {
  .f-a { width: 64vw; height: 56vh; }
  .f-b { width: 70vw; height: 60vh; }
  .f-c { width: 58vw; height: 50vh; }
  .f-d { width: 76vw; height: 64vh; }
  .gallery__head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* =========== Testimonials =========== */
.testimonials {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  padding: clamp(6rem, 14vw, 11rem) 0;
  overflow: hidden;
}
.testimonials__watermark {
  position: absolute;
  top: -1.5rem;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(8rem, 18vw, 18vw);
  line-height: 1;
  color: rgba(28, 26, 22, 0.05);
  pointer-events: none;
  user-select: none;
}
.testimonials__inner { max-width: 1100px; text-align: center; position: relative; }
.testimonials__quote { display: block; margin: 2rem auto 1.5rem; opacity: 0.4; }
.testimonials__viewport {
  position: relative;
  min-height: 280px;
}
.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  pointer-events: none;
}
.testimonial.active { opacity: 1; transform: translateY(0); position: relative; pointer-events: auto; }
.testimonial__body {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 400;
}
.testimonial footer { margin-top: 2.25rem; }
.testimonial__name { font-size: 0.85rem; letter-spacing: 0.3em; text-transform: uppercase; }
.testimonial__role { display: block; margin-top: 0.3rem; }

.testimonials__nav {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.t-nav {
  width: 42px; height: 42px;
  border: 1px solid rgba(28, 26, 22, 0.3);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
.t-nav:hover { background: var(--bg-dark); color: var(--bg); }
.t-dots { display: flex; gap: 0.5rem; }
.t-dot {
  height: 1px;
  width: 20px;
  background: rgba(28, 26, 22, 0.3);
  transition: all 0.5s var(--ease);
  cursor: pointer;
  border: none;
}
.t-dot.active { width: 40px; background: var(--bg-dark); }

/* =========== Attractions =========== */
.attractions {
  background: var(--bg-dark);
  color: var(--fg-light);
}
.attractions__head {
  padding-top: clamp(6rem, 10vw, 9rem);
}
.attractions__head .eyebrow { margin-bottom: 1.25rem; }
.attractions__title { max-width: 760px; margin-top: 0.5rem; }
.attractions > article:first-of-type { margin-top: clamp(4rem, 8vw, 6rem); }

.attraction {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.attraction img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}
.attraction__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.3) 100%);
}
.attraction__body {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(4rem, 7vw, 6rem);
  color: var(--fg-light);
  width: 100%;
}
.attraction__body p {
  max-width: 30rem;
  margin-top: 1.5rem;
  opacity: 0.9;
  line-height: 1.65;
}
.attraction__body .display-xl { margin-top: 1rem; }
.attraction--right .attraction__body { text-align: right; }
.attraction--right .attraction__body p { margin-left: auto; }

/* =========== Contact =========== */
.contact {
  background: var(--bg);
  color: var(--fg);
  padding: clamp(6rem, 12vw, 10rem) 0;
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3rem;
}
.contact__info { grid-column: 1 / span 5; }
.contact__info .eyebrow { margin-bottom: 1.25rem; }
.contact__info .display-md { margin: 0.5rem 0 1.5rem; }
.contact__lead { max-width: 28rem; }
.contact__rows { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-row__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(28, 26, 22, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
  flex-shrink: 0;
}
a.contact-row:hover .contact-row__icon { background: var(--bg-dark); color: var(--bg); }
.contact-row__val {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  margin-top: 0.15rem;
  line-height: 1.25;
}
.contact__social {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.icon-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(28, 26, 22, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
.icon-btn:hover { background: var(--bg-dark); color: var(--bg); }
.icon-btn--light { border-color: rgba(237, 229, 211, 0.3); }
.icon-btn--light:hover { background: var(--bg); color: var(--bg-dark); }
.contact__whatsapp { margin-left: auto; }

.contact__form { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 1.5rem; }
.contact__form label { display: flex; flex-direction: column; gap: 0.25rem; }
.contact__form input, .contact__form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(28, 26, 22, 0.4);
  outline: none;
  padding: 0.75rem 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--fg);
  transition: border-color 0.3s ease;
}
.contact__form textarea {
  font-family: var(--sans);
  font-style: normal;
  font-size: 1rem;
  font-weight: 300;
  resize: none;
}
.contact__form input:focus, .contact__form textarea:focus { border-bottom-color: var(--fg); }
.contact__form-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 0.5rem; gap: 1rem; flex-wrap: wrap; }
.contact__sent {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.contact__sent.is-visible { opacity: 0.7; }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact__info, .contact__form { grid-column: 1; }
}

/* =========== Footer =========== */
.footer {
  background: var(--bg-dark);
  color: var(--fg-light);
  padding: 6rem 0 2.5rem;
  overflow: hidden;
}
.footer__mega {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(5rem, 10vw, 10vw);
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.footer__lead {
  max-width: 36rem;
  margin-top: 1.5rem;
  opacity: 0.78;
  line-height: 1.7;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line-light);
}
.footer__grid > div:nth-child(1) { grid-column: span 4; }
.footer__grid > div:nth-child(2) { grid-column: span 3; }
.footer__grid > div:nth-child(3) { grid-column: span 3; }
.footer__grid > div:nth-child(4) { grid-column: span 2; justify-self: end; display: flex; gap: 0.75rem; align-items: flex-start; }
.footer__val {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  margin-top: 0.75rem;
  line-height: 1.3;
}
.footer__val--sm { font-size: 0.95rem; margin-top: 0.5rem; }
.footer__links { list-style: none; margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.9rem; }
.footer__links a:hover { opacity: 0.7; }
.footer__bottom {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.6;
}
@media (min-width: 700px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__grid > div { grid-column: 1 !important; justify-self: start !important; }
}
