:root {
  --ink: #171613;
  --forest: #171613;
  --forest-soft: #2b2924;
  --cream: #f2ede5;
  --paper: #faf7f1;
  --clay: #c7a46b;
  --clay-dark: #9a7846;
  --sage: #8e8a80;
  --line: rgba(23, 22, 19, .14);
  --muted: #6c6860;
  --white: #fff;
  --shadow: 0 24px 70px rgba(28, 24, 18, .16);
  --radius: 26px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open { overflow: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 76px);
  color: var(--ink);
  background: rgba(250, 247, 241, .9);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand > img { display: block; width: 154px; height: auto; clip-path: inset(4% 4% 3% 4% round 12%); mix-blend-mode: multiply; }
.brand-inverse > img { mix-blend-mode: normal; }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a { font-size: .86rem; font-weight: 600; text-decoration: none; }
.site-header nav a:not(.nav-cta) { border-bottom: 1px solid transparent; }
.site-header nav a:not(.nav-cta):hover { border-color: currentColor; }
.nav-cta { border: 1px solid var(--ink); border-radius: 999px; padding: 11px 19px; }
.nav-cta:hover { background: var(--ink); color: var(--white); }

.hero-gallery {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
  gap: clamp(30px, 6vw, 100px);
  align-items: center;
  padding: 126px clamp(20px, 5vw, 76px) 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 80%, rgba(199, 164, 107, .18), transparent 24%),
    linear-gradient(145deg, #faf7f1 0%, #e9e0d2 100%);
}
.hero-copy { max-width: 670px; }
.eyebrow {
  margin: 0 0 17px;
  color: var(--clay-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; font-weight: 500; line-height: 1.04; }
h1 {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6.3vw, 7.2rem);
  letter-spacing: -.055em;
}
h1 em { color: var(--clay); font-weight: 400; }
.hero-lead { max-width: 610px; margin: 0; color: #5c574f; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 36px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 24px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--forest); color: var(--white); box-shadow: 0 12px 28px rgba(23, 22, 19, .24); }
.button-primary:hover { background: var(--clay-dark); }
.button-secondary { border-color: var(--forest); background: transparent; color: var(--forest); }
.button-secondary:hover { background: var(--forest); color: var(--white); }
.text-link { font-size: .9rem; font-weight: 700; text-decoration: none; }
.text-link span { margin-left: 7px; }
.feratel-button { flex-wrap: wrap; }
.feratel-button small { width: 100%; margin-top: -7px; color: rgba(255,255,255,.64); font-size: .6rem; font-weight: 500; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.quick-facts { display: flex; gap: 0; margin: 52px 0 0; padding: 0; list-style: none; }
.quick-facts li { display: grid; min-width: 112px; padding: 0 22px; border-left: 1px solid var(--line); }
.quick-facts li:first-child { padding-left: 0; border-left: 0; }
.quick-facts strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.quick-facts span { color: var(--muted); font-size: .73rem; text-transform: uppercase; letter-spacing: .08em; }

.gallery { min-width: 0; }
.gallery-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  max-height: none;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #c8baa7;
  box-shadow: var(--shadow);
  outline: none;
}
.gallery-stage:focus-visible { box-shadow: 0 0 0 4px var(--clay), var(--shadow); }
.gallery-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.025); transition: opacity .55s ease, transform .8s ease; pointer-events: none; }
.gallery-slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.gallery-slide svg { display: none; }
.gallery-slide > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-slide::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(14, 17, 15, .73)); }
.gallery-slide figcaption {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 4vw, 44px);
  right: clamp(22px, 4vw, 44px);
  bottom: 82px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 13px;
  color: var(--white);
}
.gallery-slide figcaption span { grid-row: span 2; align-self: center; color: #ebc59f; font-family: var(--serif); font-size: 2rem; }
.gallery-slide figcaption strong { font-family: var(--serif); font-size: clamp(1.45rem, 2.2vw, 2.3rem); font-weight: 500; }
.gallery-slide figcaption small { color: rgba(255,255,255,.78); }
.gallery-tools { position: absolute; z-index: 5; right: 20px; bottom: 20px; left: 20px; display: flex; align-items: center; gap: 10px; }
.gallery-tools p { margin: 0 auto 0 2px; color: var(--white); font-size: .78rem; font-weight: 600; letter-spacing: .1em; }
.round-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  background: rgba(22,27,24,.52);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.round-button:hover { background: rgba(22,27,24,.86); }
.gallery-expand { margin-left: 4px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 13px; }
.gallery-thumbs button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  border: 0;
  border-top: 2px solid var(--line);
  background: none;
  padding: 10px 2px;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  font-size: .78rem;
}
.gallery-thumbs button span { font-family: var(--serif); }
.gallery-thumbs button.is-active { border-color: var(--clay); color: var(--ink); font-weight: 700; }
.gallery-note { margin: 4px 0 0; color: var(--muted); font-size: .7rem; }

.stay { padding: clamp(84px, 10vw, 150px) clamp(20px, 5vw, 76px); background: #11110f; color: var(--cream); }
.section-heading { display: grid; grid-template-columns: minmax(240px, 1.2fr) minmax(260px, .8fr); column-gap: 50px; align-items: end; max-width: 1240px; margin: 0 auto 60px; }
.section-heading .eyebrow { grid-column: 1 / -1; color: #d7a87e; }
.section-heading h2 { max-width: 760px; margin-bottom: 0; font-family: var(--serif); font-size: clamp(2.65rem, 5vw, 5.4rem); letter-spacing: -.045em; }
.section-heading > p:last-child { max-width: 480px; margin: 0 0 8px; color: rgba(243,239,230,.7); font-size: 1.04rem; }
.stay-grid { display: grid; grid-template-columns: 1fr 1fr; max-width: 1240px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.17); }
.feature { position: relative; min-height: 430px; padding: clamp(32px, 4vw, 58px); border-right: 1px solid rgba(255,255,255,.17); border-bottom: 1px solid rgba(255,255,255,.17); }
.feature:nth-child(2) { border-right: 0; }
.feature-location { grid-column: 1 / -1; min-height: auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; }
.feature-location .feature-number, .feature-location .eyebrow { grid-column: 1 / -1; }
.feature-location p:not(.eyebrow) { max-width: 570px; }
.feature-location address { grid-column: 2; grid-row: 3; align-self: start; font-style: normal; color: rgba(243,239,230,.78); }
.feature-location .button { grid-column: 2; grid-row: 4; justify-self: start; }
.feature-number { position: absolute; top: 30px; right: 34px; color: rgba(255,255,255,.2); font-family: var(--serif); font-size: 3.6rem; }
.feature .eyebrow { color: #d7a87e; }
.feature h3 { max-width: 500px; margin-bottom: 20px; font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 3.6rem); letter-spacing: -.035em; }
.feature p:not(.eyebrow) { color: rgba(243,239,230,.75); }
.check-list { display: grid; gap: 9px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 24px; color: rgba(243,239,230,.9); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: #d7a87e; }
.amenity-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.amenity-row span { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 7px 12px; font-size: .75rem; }
.small-print { font-size: .78rem; }
.button-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.button-ghost:hover { background: var(--white); color: var(--forest); }

.faq {
  display: grid;
  grid-template-columns: minmax(270px, .72fr) minmax(400px, 1.28fr);
  gap: clamp(48px, 8vw, 120px);
  padding: clamp(84px, 10vw, 150px) clamp(20px, 5vw, 76px);
  background: var(--paper);
}
.faq-intro { position: sticky; top: 150px; align-self: start; }
.faq-intro h2 { max-width: 590px; margin-bottom: 26px; font-family: var(--serif); font-size: clamp(2.65rem, 4.7vw, 5rem); letter-spacing: -.045em; }
.faq-intro > p:last-child { max-width: 430px; margin: 0; color: var(--muted); font-size: 1.04rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 27px 54px 27px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.25;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; top: 21px; right: 4px; color: var(--clay-dark); font-family: var(--sans); font-size: 1.8rem; font-weight: 300; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list summary:focus-visible { outline: 3px solid rgba(154, 120, 70, .35); outline-offset: 5px; border-radius: 4px; }
.faq-list details p { max-width: 720px; margin: -6px 54px 27px 0; color: var(--muted); }
.faq-list details p a { color: var(--ink); font-weight: 700; text-decoration-color: var(--clay); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.faq-list details p a:hover { color: var(--clay-dark); }

.inquiry { padding: clamp(84px, 10vw, 150px) clamp(20px, 5vw, 76px) 0; background: var(--cream); }
.inquiry > :not(.site-footer) { max-width: 1240px; margin-inline: auto; }
.inquiry-intro { display: grid; grid-template-columns: minmax(300px, 1.15fr) minmax(300px, .85fr); column-gap: 70px; }
.inquiry-intro .eyebrow { grid-column: 1 / -1; }
.inquiry-intro h2 { max-width: 740px; margin-bottom: 46px; font-family: var(--serif); font-size: clamp(2.8rem, 5.7vw, 6.2rem); letter-spacing: -.05em; }
.inquiry-intro > p:last-of-type { align-self: start; max-width: 500px; margin: 7px 0 36px; color: var(--muted); font-size: 1.05rem; }
.direct-contact { grid-column: 2; display: flex; flex-direction: column; gap: 14px; margin-bottom: 46px; }
.direct-contact a { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.6rem); text-decoration: none; }
.direct-contact span { display: block; margin-bottom: 2px; color: var(--muted); font-family: var(--sans); font-size: .66rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.booking-form {
  max-width: 820px !important;
  margin: 10px auto 110px !important;
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(24px, 5vw, 60px);
  box-shadow: var(--shadow);
}
.booking-form > label, .form-row label { display: grid; gap: 8px; color: #4b514c; font-size: .82rem; font-weight: 700; }
.booking-form > label + label, .booking-form > .form-row + label, .booking-form > label + .form-row, .booking-form > .form-row + .form-row { margin-top: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d8d6cf;
  border-radius: 12px;
  background: #faf9f6;
  padding: 14px 15px;
  color: var(--ink);
  outline: 0;
}
input, select { min-height: 52px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(183,120,72,.14); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #a23a2d; }
.optional { color: #8d918b; font-size: .72rem; font-weight: 400; }
.consent { grid-template-columns: auto 1fr !important; gap: 11px !important; align-items: start; margin-top: 24px !important; font-weight: 400 !important; line-height: 1.45; }
.consent input { width: 18px; min-height: 18px; margin-top: 2px; accent-color: var(--forest); }
.error { min-height: 0; color: #9c2f24; font-size: .7rem; font-weight: 500; }
.consent-error { display: block; margin: 3px 0 0 29px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button-whatsapp { border-color: #315b49; background: #edf4ef; color: #234737; }
.form-hint { color: var(--muted); font-size: .74rem; }
.form-status { min-height: 24px; margin-top: 10px; color: var(--forest); font-weight: 600; }

.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; margin: 0 calc(clamp(20px, 5vw, 76px) * -1); border-top: 0; background: #050505; padding: 32px clamp(20px, 5vw, 76px); color: #dfbd88; }
.site-footer p { margin: 0; color: rgba(223,189,136,.72); font-size: .76rem; text-align: center; }
.footer-links { display: flex; gap: 17px; }
.footer-links button { border: 0; border-bottom: 1px solid rgba(223,189,136,.35); background: none; padding: 3px 0; color: #dfbd88; cursor: pointer; font-size: .76rem; }
.footer-brand > img { width: 132px; border-radius: 13px; }

.mobile-book { display: none; }

dialog {
  max-width: min(680px, calc(100vw - 32px));
  border: 0;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0,0,0,.35);
}
dialog::backdrop { background: rgba(10,15,12,.75); backdrop-filter: blur(6px); }
.dialog-close { position: absolute; z-index: 5; top: 14px; right: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(25,29,26,.88); color: white; cursor: pointer; font-size: 1.5rem; }
.lightbox { width: min(880px, calc(100vw - 28px)); padding: 0; overflow: hidden; background: #111; }
.lightbox-content { min-height: min(84vh, 900px); }
.lightbox-content figure { position: relative; height: min(84vh, 900px); margin: 0; }
.lightbox-content svg { display: none; }
.lightbox-content img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-content figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 70px 28px 24px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: white; }
.lightbox-content figcaption span { margin-right: 10px; color: #ebc59f; }
.lightbox-content figcaption small { display: block; opacity: .75; }
.legal-dialog { width: min(620px, calc(100vw - 32px)); padding: clamp(28px, 5vw, 55px); }
.legal-dialog h2 { max-width: 500px; font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.8rem); letter-spacing: -.04em; }
.legal-subheading { margin: 30px 0 12px; font-family: var(--serif); font-size: 1.45rem; }
.legal-details { display: grid; gap: 0; margin: 24px 0 0; }
.legal-details div { display: grid; grid-template-columns: minmax(130px, .7fr) minmax(180px, 1.3fr); gap: 18px; border-top: 1px solid var(--line); padding: 11px 0; }
.legal-details dt { color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.legal-details dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.bank-details { margin-top: 0; }
.legal-note { color: var(--muted); font-size: .82rem; }

@media (max-width: 1050px) {
  .hero-gallery { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-header nav a:not(.nav-cta) { display: none; }
  .gallery-stage { min-height: 0; }
}

@media (max-width: 760px) {
  body { padding-bottom: 74px; }
  .site-header { position: absolute; padding: 18px 20px; background: transparent; box-shadow: none; backdrop-filter: none; }
  .site-header nav { display: none; }
  .brand > img { width: 118px; border-radius: 12px; }

  .hero-gallery { display: flex; min-height: auto; flex-direction: column; gap: 38px; padding: 105px 20px 70px; }
  .hero-copy { width: 100%; min-width: 0; }
  h1 { font-size: clamp(3rem, 14.6vw, 4.8rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { width: 100%; align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-actions .feratel-button { width: 100%; max-width: 350px; }
  .quick-facts { margin-top: 40px; }
  .quick-facts li { min-width: 0; flex: 1; padding-inline: 13px; }
  .gallery { width: 100%; }
  .gallery-stage { width: calc(100vw - 40px); min-height: 0; max-height: none; }
  .gallery-thumbs { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .gallery-thumbs button { min-width: 86px; }
  .gallery-slide figcaption { bottom: 76px; }

  .stay { padding: 84px 20px; }
  .section-heading { display: block; margin-bottom: 45px; }
  .section-heading h2 { margin-bottom: 22px; }
  .stay-grid { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(2) { min-height: 0; border-right: 0; }
  .feature-location { grid-column: auto; display: block; }
  .feature-location address { margin: 28px 0; }
  .feature-number { top: 20px; right: 22px; font-size: 2.8rem; }

  .faq { display: block; padding: 84px 20px; }
  .faq-intro { position: static; margin-bottom: 45px; }
  .faq-list summary { padding-block: 23px; padding-right: 44px; }
  .faq-list summary::after { top: 17px; }
  .faq-list details p { margin-right: 0; }

  .inquiry { padding: 84px 20px 0; }
  .inquiry-intro { display: block; }
  .inquiry-intro h2 { margin-bottom: 26px; }
  .direct-contact { margin: 30px 0 42px; }
  .booking-form { margin-bottom: 78px !important; padding: 24px 19px; }
  .form-row { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; }
  .form-actions .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; margin-inline: -20px; text-align: center; }
  .footer-brand { justify-self: center; }
  .footer-links { justify-self: center; }
  .mobile-book {
    position: fixed;
    z-index: 40;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 14px;
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--clay-dark);
    color: var(--white);
    box-shadow: 0 12px 30px rgba(24,28,24,.28);
    font-weight: 700;
    text-decoration: none;
  }
  .mobile-book small { margin-left: 7px; color: rgba(255,255,255,.65); font-size: .62rem; font-weight: 500; text-transform: uppercase; }
  .legal-details div { grid-template-columns: 1fr; gap: 3px; }
}

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