@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@1,700&family=JetBrains+Mono:wght@500&display=swap');

:root {
  --background: oklch(0.17 0.02 50);
  --foreground: oklch(0.94 0.025 80);
  --card: oklch(0.22 0.022 50);
  --muted-foreground: oklch(0.72 0.03 70);
  --primary: oklch(0.76 0.14 75);
  --primary-foreground: oklch(0.17 0.02 50);
  --border: oklch(0.94 0.025 80 / 12%);
  --line: oklch(0.94 0.025 80 / 18%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Jost', sans-serif;
}

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

.container { width: min(1280px, 100% - 48px); margin: 0 auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: 84px;
  padding: 0 max(7vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  backdrop-filter: blur(4px);
  transition: background .45s ease, box-shadow .45s ease;
}

.site-header.scrolled {
  background: oklch(0.17 0.02 50 / .9);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
}

.brand { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .28em; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand small { color: var(--primary); font-size: 10px; margin-left: 12px; }

.nav { display: flex; align-items: center; gap: 28px; color: oklch(0.84 0.02 70); font-size: 13px; }
.nav a:not(.button) { border-bottom: 2px solid transparent; height: 44px; display: flex; align-items: center; }
.nav a:not(.button):hover, .nav a.active { color: var(--foreground); border-color: var(--primary); }

.button {
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 13px 24px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: .2s;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.button-outline { background: transparent; border: 1px solid var(--line); color: var(--foreground); }
.button-outline:hover { border-color: var(--primary); color: var(--primary); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--foreground); font-size: 22px; }

.hero { height: 100vh; min-height: 700px; position: relative; overflow: hidden; }
.hero-image { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.1); transition: opacity 1.1s ease, transform 6s ease; }
.hero-image.active { opacity: 1; transform: scale(1); }
.hero-image.active.kenburns { animation: kenburns 7s ease-out forwards; }

.hero-content { position: relative; z-index: 2; padding: 29vh max(7vw, 40px) 0; max-width: 900px; }
.eyebrow { margin: 0 0 21px; color: var(--primary); font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .25em; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
h1 em, h2 em, .footer em { font-family: 'Playfair Display', serif; color: var(--primary); }

.hero h1 { font-size: clamp(62px, 7vw, 104px); line-height: .9; }
.hero-copy { margin: 32px 0; max-width: 520px; line-height: 1.7; color: oklch(0.88 0.02 75); font-size: 17px; }
.actions { display: flex; gap: 14px; }
.rise { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

.hero-footer {
  position: absolute;
  left: max(7vw, 40px);
  right: max(7vw, 40px);
  bottom: 30px;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  color: var(--muted-foreground);
}

.slider-lines { display: flex; gap: 8px; }
.slider-lines i { display: block; width: 28px; height: 2px; background: oklch(0.55 0.02 70); }
.slider-lines i.active { width: 48px; background: var(--primary); }
.hero-footer button { background: none; border: 0; color: var(--primary); cursor: pointer; }

.section { max-width: 1280px; margin: auto; padding: 112px max(5vw, 30px); }
.section h2 { font-size: clamp(40px, 4.5vw, 68px); }
.section-lede { max-width: 460px; color: var(--muted-foreground); line-height: 1.8; }

main > section.section {
  max-width: none;
  padding-left: max(10vw, 40px);
  padding-right: max(10vw, 40px);
}

main > section.section:nth-of-type(odd) { background: var(--background); }
main > section.section:nth-of-type(even) { background: var(--card); }

.intro-section, .detail-section {
  max-width: none;
  background: var(--card);
  color: var(--foreground);
  padding-left: max(10vw, 40px);
  padding-right: max(10vw, 40px);
}
.intro-section { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.intro-section .eyebrow, .detail-section .eyebrow { color: var(--primary); }

.section.dark-section { max-width: none; padding-left: 24px; padding-right: 24px; background: var(--card); }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-image { overflow: hidden; border-radius: 16px; }
.split-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.split-image:hover img { transform: scale(1.06); }

.pill { font-family: 'JetBrains Mono', monospace; color: var(--primary); letter-spacing: .1em; font-size: 12px; text-transform: uppercase; }

.line-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.line-card { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 30px; }
.line-card { transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.line-card:nth-child(3n) { border-right: 0; }
.line-card:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--primary), var(--border) 35%); background: color-mix(in oklab, var(--card), black 8%); }
.line-card strong { color: var(--primary); font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.line-card h3 { margin: 14px 0 8px; font-size: 21px; }
.line-card p { margin: 0; line-height: 1.65; color: var(--muted-foreground); font-size: 14px; }

.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.card-grid, .page-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.room-card, .experience-card { overflow: hidden; background: var(--card); border-radius: 4px; }
.room-card img { width: 100%; height: 345px; object-fit: cover; transition: transform .7s ease; }
.room-card:hover img { transform: scale(1.08); }
.room-card h3 { font-size: 19px; padding: 20px 22px; }

.facilities-images img { width: 100%; height: 420px; object-fit: cover; border-radius: 4px; }

.experience-card { position: relative; height: 420px; }
.experience-card::after { content: ''; position: absolute; inset: 26% 0 0; background: linear-gradient(transparent, oklch(0.12 0.02 50 / .95)); }
.experience-card img { width: 100%; height: 100%; object-fit: cover; }
.experience-card img { transition: transform .7s ease; }
.experience-card:hover img { transform: scale(1.08); }
.experience-card > div { position: absolute; left: 24px; right: 20px; bottom: 24px; z-index: 2; }
.experience-card h3 { font-size: 25px; margin-bottom: 8px; }
.experience-card p:last-child { margin: 0; font-size: 13px; color: oklch(0.86 0.02 75); line-height: 1.5; }

.gallery-section { background: var(--card); max-width: none; padding-left: 10%; padding-right: 10%; }
.masonry-gallery { columns: 1; column-gap: 14px; }
.masonry-item { break-inside: avoid; margin: 0 0 14px; position: relative; }
.masonry-item img { width: 100%; height: auto; object-fit: cover; border-radius: 6px; cursor: pointer; transition: transform .35s ease; }
.masonry-item:hover img { transform: scale(1.02); }
.masonry-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 16px; font-size: 12px; color: var(--foreground); background: linear-gradient(to top, oklch(0.12 0.02 50 / .86), oklch(0.12 0.02 50 / 0)); border-radius: 0 0 6px 6px; }

.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.gallery-filters button { border: 1px solid var(--line); background: transparent; color: var(--foreground); border-radius: 999px; padding: 8px 16px; font-size: 12px; cursor: pointer; }
.gallery-filters button.active, .gallery-filters button:hover { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

.contact-band { padding: 56px max(10vw, 40px); background: var(--primary); color: var(--primary-foreground); display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.contact-band .eyebrow { color: var(--primary-foreground); opacity: .75; }
.contact-band h2 { font-size: 48px; }
.contact-band p:not(.eyebrow) { max-width: 470px; line-height: 1.7; margin: 18px 0 0; }
.contact-band .button { background: var(--background); color: var(--foreground); }

.footer { max-width: 1280px; margin: auto; padding: 76px max(5vw, 30px) 24px; display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 40px; color: var(--foreground); border-top: 1px solid var(--border); }
.footer > div { min-width: 0; }
.footer-logo { font-size: 19px; letter-spacing: .2em; }
.footer p { font-size: 14px; line-height: 1.85; margin: 0 0 10px; color: oklch(0.88 0.02 75); }
.footer .eyebrow { color: var(--primary); }
.footer .hero-line { font-size: 27px; line-height: 1.1; }
.footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 6px;
  color: oklch(0.88 0.02 75);
}
.footer-link-icon {
  width: 18px;
  flex: 0 0 18px;
  text-align: center;
  color: var(--primary);
}
.social-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 3px;
}
.footer-link { transition: color .2s ease, transform .2s ease; }
.footer-link:hover { color: var(--primary); transform: translateX(2px); }
.footer [data-socials] { margin-top: 16px; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 18px; margin-top: 35px; display: flex; justify-content: space-between; color: var(--muted-foreground); font-size: 11px; }

.inner-hero { min-height: 670px; display: flex; align-items: center; position: relative; overflow: hidden; }
.inner-hero-image { position: absolute; inset: 0; background-size: cover; background-position: center; }
.inner-hero-content { position: relative; z-index: 1; max-width: 850px; padding: 150px max(10vw, 40px) 90px; }
.inner-hero-content h1 { font-size: clamp(55px, 7vw, 105px); line-height: .92; margin-bottom: 24px; }
.inner-hero-content p:not(.eyebrow) { max-width: 560px; color: oklch(0.88 0.02 75); line-height: 1.8; margin: 0 0 28px; }

.page-card { background: var(--card); border: 1px solid var(--border); }
.page-card { transition: transform .25s ease, border-color .25s ease; overflow: hidden; }
.page-card img { width: 100%; height: 280px; object-fit: cover; }
.page-card img { transition: transform .7s ease; }
.page-card:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--primary), var(--border) 35%); }
.page-card:hover img { transform: scale(1.08); }
.page-card > div { padding: 24px; }
.page-card h3 { font-size: 22px; margin-bottom: 10px; }
.page-card p:last-child, .detail-copy p { color: var(--muted-foreground); line-height: 1.7; font-size: 13px; }
.detail-copy { margin-bottom: 30px; max-width: 1000px; }
.page-list { margin: 12px 0 0; padding-left: 18px; color: var(--muted-foreground); font-size: 13px; }
.detail-cta { margin-top: 34px; padding: 32px; border-radius: 8px; background: var(--card); color: var(--foreground); border: 1px solid var(--border); }
.detail-cta h3 { font-size: 30px; margin-bottom: 12px; }
.detail-cta p { margin: 0 0 20px; color: var(--muted-foreground); }

.alt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-bottom: 90px; }
.alt-row.reverse .split-image { order: 2; }

.icon-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.icon-card { border: 1px solid var(--border); border-radius: 14px; padding: 28px; background: rgba(0, 0, 0, .14); }
.icon-card { transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.icon-card h3 { margin: 14px 0 8px; font-size: 22px; }
.icon-card p { margin: 0; color: var(--muted-foreground); line-height: 1.65; }
.icon-card:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--primary), var(--border) 35%); background: rgba(0, 0, 0, .22); }

.contact-page { min-height: 100vh; background: var(--background); color: var(--foreground); padding: 170px 10% 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.contact-page h1 { font-size: clamp(55px, 6vw, 95px); line-height: .9; margin-bottom: 22px; }
.contact-page > div > p:not(.eyebrow) { max-width: 470px; line-height: 1.8; color: var(--muted-foreground); }
.contact-page .contact-quick { margin: 8px 0; color: var(--muted-foreground); }
.contact-page form { display: grid; gap: 18px; }
.contact-page label { display: grid; gap: 8px; text-transform: uppercase; letter-spacing: .15em; font-size: 10px; color: var(--muted-foreground); }
.contact-page input, .contact-page textarea, .contact-page select { border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 11px 0; outline: none; font: inherit; color: var(--foreground); }

.booking-form { display: grid; gap: 18px; }
.booking-form label { display: grid; gap: 10px; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: oklch(0.86 0.02 75); }
.booking-form input, .booking-form textarea, .booking-form select { border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 14px 0; outline: none; font-size: 18px; line-height: 1.5; color: var(--foreground); }
.booking-form input::placeholder, .booking-form textarea::placeholder { color: oklch(0.7 0.02 70); font-size: 16px; }
.booking-form .button { font-size: 16px; padding: 15px 30px; }
.form-status { margin: 4px 0 0; font-size: 14px; color: var(--muted-foreground); min-height: 22px; }
.form-status.success { color: #79d29b; }
.form-status.error { color: #ff8b8b; }

.cta-band { padding: 90px 24px; background: var(--background); }
.cta-inner { width: min(900px, 100%); margin: 0 auto; text-align: center; border: 1px solid var(--border); background: var(--card); border-radius: 20px; padding: 56px 40px; }
.cta-inner p { width: min(650px, 100%); margin: 16px auto 0; color: var(--muted-foreground); }

.map-section { background: var(--card); color: var(--foreground); border-radius: 12px; overflow: hidden; margin-top: 28px; border: 1px solid var(--border); }
.map-section iframe { width: 100%; height: 320px; border: 0; filter: grayscale(1); }
.map-caption { margin: 0; padding: 14px 16px; font-size: 13px; color: var(--muted-foreground); }

.faq { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:first-child { border-top: 0; }
.faq-item button { width: 100%; border: 0; background: transparent; text-align: left; display: flex; align-items: center; justify-content: space-between; font-size: 18px; padding: 20px 0; cursor: pointer; color: var(--foreground); }
.faq-item button span:last-child { transition: transform .2s ease; color: var(--primary); }
.faq-item button.open span:last-child { transform: rotate(45deg); }
.faq-item p { margin: 0; max-height: 0; overflow: hidden; color: var(--muted-foreground); transition: max-height .3s ease; }
.faq-item p.open { max-height: 200px; padding: 0 0 18px; }

.lightbox { position: fixed; inset: 0; background: oklch(0.12 0.02 50 / .96); z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; border-radius: 8px; }
.lightbox button { position: absolute; border: 1px solid var(--line); background: rgba(0,0,0,.25); color: var(--foreground); width: 42px; height: 42px; border-radius: 50%; cursor: pointer; }
.lightbox .close { top: 18px; right: 18px; }
.lightbox .prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 18px; top: 50%; transform: translateY(-50%); }

.whatsapp-float { position: fixed; right: 22px; bottom: 24px; width: 62px; height: 62px; border-radius: 999px; display: grid; place-items: center; background: transparent; z-index: 60; }
.whatsapp-float { transition: transform .2s ease, filter .2s ease; }
.whatsapp-float:hover { transform: scale(1.1); filter: brightness(1.05); }
.whatsapp-float img { width: 62px; height: 62px; display: block; border-radius: 999px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }

@keyframes kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 800px) {
  .site-header { height: 70px; padding: 0 24px; }
  .brand { font-size: 11px; letter-spacing: .18em; }
  .brand small { display: none; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 18px 24px 24px; background: var(--background); flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero-content { padding: 190px 24px 0; }
  .hero h1 { font-size: clamp(52px, 15vw, 78px); }
  .hero-footer { left: 24px; right: 24px; flex-direction: column; align-items: flex-start; }
  .section, .gallery-section { padding: 76px 24px; }
  .intro-section, .detail-section { padding-left: 24px; padding-right: 24px; }
  .intro-section, .section-heading, .contact-page { grid-template-columns: 1fr; }
  .facility-grid, .card-grid, .page-card-grid, .split-section, .line-card-grid, .alt-row, .icon-cards { grid-template-columns: 1fr; }
  .line-card { border-right: 0; }
  .facility:nth-child(3n+2), .facility:nth-child(3n+3) { padding-left: 0; border-left: 0; }
  .masonry-gallery { columns: 2; }
  .contact-band { padding: 48px 24px; flex-direction: column; align-items: flex-start; }
  .contact-band h2 { font-size: 40px; }
  .footer { grid-template-columns: 1fr 1fr; gap: 30px; padding: 58px 24px 20px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .inner-hero-content { padding: 150px 24px 80px; }
  .contact-page { padding: 140px 24px 80px; gap: 45px; }
  .alt-row.reverse .split-image { order: 0; }
}

@media (min-width: 801px) { .masonry-gallery { columns: 2; } }
@media (min-width: 1180px) { .masonry-gallery { columns: 3; } }
