:root {
  --forest: #18271b;
  --forest-soft: #253525;
  --olive: #66703b;
  --olive-dark: #4f5a2c;
  --cream: #f4f1e9;
  --ivory: #fbfaf6;
  --ink: #1d211c;
  --muted: #686d65;
  --line: rgba(29, 33, 28, 0.14);
  --white: #fff;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --container: 1360px;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(19, 28, 20, 0.16);
  --section: clamp(4.5rem, 8vw, 8rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
body.modal-open, body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button, select { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.08; }
h2 { margin-bottom: 0; font-size: clamp(2.2rem, 4vw, 4.1rem); letter-spacing: -0.035em; }
.container { width: min(calc(100% - 3rem), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.center { display: flex; justify-content: center; }
.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .75rem 1rem; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #d6bd76; outline-offset: 4px; }
.eyebrow { margin-bottom: .65rem; color: var(--olive-dark); font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: var(--white); }
.eyebrow.olive { color: #c1c978; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; color: var(--white); transition: background .35s, box-shadow .35s; }
.site-header.scrolled { background: rgba(20, 31, 21, .88); box-shadow: 0 1px rgba(255,255,255,.08); backdrop-filter: blur(16px); }
.nav { min-height: 86px; display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 2rem; }
.brand { width: 170px; height: 58px; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) invert(1) contrast(2.5); mix-blend-mode: screen; }
.nav-menu { display: flex; justify-content: center; align-items: center; gap: clamp(.9rem, 1.7vw, 2.2rem); font-size: .84rem; }
.nav-menu a, .nav-cta { white-space: nowrap; }
.nav-menu a { position: relative; padding-block: .4rem; }
.nav-menu a::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.nav-menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: .9rem 1.2rem; background: rgba(92,104,53,.94); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: background .25s, transform .25s; }
.nav-cta:hover { background: var(--olive-dark); transform: translateY(-2px); }
.nav-toggle { display: none; border: 0; background: transparent; }

.hero { position: relative; min-height: 91svh; color: var(--white); display: flex; align-items: flex-end; overflow: hidden; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media { background: url('hero-lao-natura-relax.jpeg') center 56% / cover no-repeat; transform: scale(1.015); }
.hero-shade { background: linear-gradient(90deg, rgba(10,18,12,.8) 0%, rgba(10,18,12,.45) 45%, rgba(10,18,12,.12) 72%), linear-gradient(0deg, rgba(8,15,9,.56), transparent 47%); }
.hero-content { position: relative; z-index: 1; padding-bottom: clamp(7.5rem, 13vh, 10.5rem); }
.hero h1 { max-width: 760px; margin-bottom: 1.35rem; font-size: clamp(3.25rem, 6.2vw, 6.75rem); letter-spacing: -.045em; }
.hero-lead { max-width: 600px; margin-bottom: 1.7rem; font-size: clamp(1.05rem, 1.45vw, 1.35rem); line-height: 1.55; }
.hero-place { margin: 1.8rem 0 0; font-size: .75rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.hero-place i { margin-inline: .7rem; font-style: normal; opacity: .75; }

.button, .text-button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; border: 1px solid transparent; font-size: .72rem; font-weight: 600; letter-spacing: .11em; line-height: 1.15; text-transform: uppercase; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.button { min-height: 48px; padding: .9rem 1.3rem; }
.button:hover, .text-button:hover { transform: translateY(-2px); }
.button-primary { background: var(--olive); color: var(--white); }
.button-primary:hover { background: var(--olive-dark); }
.button-light { background: rgba(102,112,59,.94); color: var(--white); }
.button-secondary { border-color: var(--line); background: transparent; }
.text-button { min-height: 46px; padding: .8rem 1.25rem; border-color: #747a72; }

.booking-wrap { position: relative; z-index: 4; height: 0; }
.booking-bar { position: absolute; inset: 0 0 auto; display: grid; grid-template-columns: 1fr 1fr .75fr 1fr auto; align-items: stretch; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); transform: translateY(-50%); overflow: hidden; }
.booking-bar label { min-width: 0; padding: 1.15rem 1.4rem; border-right: 1px solid var(--line); }
.booking-bar label span { display: block; margin-bottom: .35rem; color: var(--muted); font-size: .64rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.booking-bar input, .booking-bar select { width: 100%; border: 0; background: transparent; font-size: .9rem; outline: 0; }
.booking-submit { min-width: 240px; margin: .85rem; border-radius: 4px; }

.stays { padding-top: calc(var(--section) + 3rem); }
.section-heading { margin-bottom: 2.4rem; text-align: center; }
.section-heading.compact { margin-bottom: 2rem; }
.stay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 2.2rem; }
.stay-card { position: relative; height: clamp(360px, 40vw, 570px); border-radius: var(--radius); color: var(--white); overflow: hidden; }
.stay-card::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(8,14,9,.82)); }
.stay-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .35s; }
.stay-card:first-child img { object-position: 55% center; }
.stay-card:hover img { transform: scale(1.035); filter: brightness(1.05); }
.stay-copy { position: absolute; z-index: 2; inset: auto 1.5rem 1.4rem; display: flex; flex-direction: column; }
.stay-copy strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; text-transform: uppercase; }
.stay-copy small { font-size: .92rem; }
.round-arrow { position: absolute; z-index: 2; right: 1.4rem; bottom: 1.45rem; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--ink); transition: transform .25s; }
.stay-card:hover .round-arrow { transform: translateX(5px); }

.experiences { position: relative; min-height: 650px; padding-block: clamp(4rem, 7vw, 7rem); color: var(--white); overflow: hidden; }
.experiences-bg, .experiences-shade { position: absolute; inset: 0; }
.experiences-bg { background: url('assets/images/fiume-lao.jpg') center / cover no-repeat; }
.experiences-shade { background: linear-gradient(90deg, rgba(14,28,20,.93) 0%, rgba(14,28,20,.72) 34%, rgba(14,28,20,.4) 100%); }
.experiences-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(280px, .85fr) minmax(650px, 1.55fr); gap: 3.5rem; align-items: center; }
.experience-intro h2 { margin-bottom: 1.4rem; font-size: clamp(2.65rem, 4.2vw, 5rem); }
.experience-intro > p:not(.eyebrow) { max-width: 430px; margin-bottom: 1.8rem; }
.experience-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; }
.experience-card { position: relative; height: 410px; border: 1px solid rgba(255,255,255,.45); border-radius: var(--radius); overflow: hidden; }
.experience-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(5,12,7,.16), transparent 55%, rgba(5,12,7,.55)); transition: background .3s; }
.experience-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s; }
.experience-card:nth-child(2) img { object-position: 35% center; }
.experience-card:hover img { transform: scale(1.045); }
.experience-card strong { position: absolute; z-index: 2; top: 1rem; left: 1rem; right: .75rem; font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }

.benefits { padding-block: 3.5rem; background: var(--cream); }
.benefit-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.benefit { min-height: 155px; padding: .5rem 1.5rem; border-right: 1px solid var(--line); text-align: center; }
.benefit:last-child { border-right: 0; }
.benefit-icon { display: block; height: 43px; font-family: var(--serif); font-size: 2.1rem; line-height: 1; }
.benefit h3 { margin: .6rem 0 .25rem; font-size: .98rem; }
.benefit p { max-width: 190px; margin: 0 auto; color: var(--muted); font-size: .82rem; line-height: 1.5; }

.story-grid { display: grid; grid-template-columns: 1.15fr 1.15fr 1.3fr .95fr .95fr; min-height: 400px; background: var(--cream); }
.story-photo { min-width: 0; margin: 0; overflow: hidden; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.story-photo:hover img { transform: scale(1.035); }
.story-cta { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2.5rem 2rem; background: var(--ivory); text-align: center; }
.story-cta h2 { margin-bottom: 1rem; font-size: clamp(2rem, 3vw, 3.2rem); }
.story-cta > p:not(.eyebrow) { max-width: 280px; color: var(--muted); }

.contact-section { background: #ece9df; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.contact-copy { position: sticky; top: 140px; }
.contact-copy h2 { max-width: 540px; margin-bottom: 1.3rem; }
.contact-copy > p:not(.eyebrow) { max-width: 520px; color: var(--muted); }
.contact-copy address { display: flex; flex-direction: column; gap: .45rem; margin-top: 2rem; font-style: normal; }
.contact-copy address a:hover { color: var(--olive-dark); }
.contact-form { padding: clamp(1.5rem, 3vw, 3rem); border-radius: var(--radius); background: var(--ivory); box-shadow: 0 12px 35px rgba(26,35,27,.08); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.contact-form > label, .form-grid label { display: block; margin-bottom: 1rem; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.contact-form input:not([type='checkbox']), .contact-form select, .contact-form textarea { width: 100%; margin-top: .35rem; padding: .85rem .9rem; border: 1px solid var(--line); border-radius: 3px; background: var(--white); font-size: .92rem; letter-spacing: normal; text-transform: none; }
.contact-form textarea { resize: vertical; }
.contact-form .consent-row { display: flex; align-items: flex-start; gap: .65rem; text-transform: none; letter-spacing: 0; }
.consent-row input { margin-top: .35rem; accent-color: var(--olive); }
.consent-row a { text-decoration: underline; }
.hidden-honey { position: absolute !important; left: -9999px !important; }
.form-note, .form-status { margin: .6rem 0 0; color: var(--muted); font-size: .8rem; }
.form-status.ok { color: var(--olive-dark); }

.footer { padding-top: 4rem; background: var(--forest); color: rgba(255,255,255,.78); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 4rem; padding-bottom: 3.5rem; }
.footer-grid h2 { margin-bottom: 1rem; color: var(--white); font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a { display: block; width: fit-content; margin-bottom: .45rem; font-size: .86rem; }
.footer-grid a:hover { color: var(--white); }
.footer-grid p { margin-bottom: .5rem; font-size: .86rem; }
.footer-brand img { width: 190px; height: 62px; object-fit: contain; filter: grayscale(1) invert(1) contrast(2.5); mix-blend-mode: screen; }
.footer-brand p { max-width: 310px; margin-top: 1.2rem; }
.socials { display: flex; gap: .7rem; margin-top: 1rem; }
.socials a { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding-block: 1rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .72rem; }
.footer-bottom p { margin: 0; }

.notify-modal { position: fixed; z-index: 100; inset: 0; display: none; place-items: center; padding: 1.25rem; }
.notify-modal.open { display: grid; }
.notify-backdrop { position: absolute; inset: 0; border: 0; background: rgba(8,15,9,.72); backdrop-filter: blur(5px); }
.notify-card { position: relative; width: min(620px, 100%); max-height: 88vh; padding: clamp(1.5rem, 4vw, 2.7rem); border-radius: var(--radius); background: var(--ivory); box-shadow: var(--shadow); overflow: auto; }
.notify-card h3 { margin-bottom: .4rem; font-family: var(--serif); font-size: 2.2rem; }
.notify-close { position: absolute; top: .8rem; right: 1rem; border: 0; background: transparent; font-size: 1.8rem; }
.notify-summary { margin-block: 1.3rem; border-top: 1px solid var(--line); }
.notify-summary div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.notify-summary span { color: var(--muted); }
.notify-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.copy-button { border: 0; background: transparent; text-decoration: underline; }
.notify-note, .notify-result { margin: 1rem 0 0; font-size: .82rem; }
.notify-result.success { color: var(--olive-dark); }
.notify-result.error { color: #982f26; }
.btn-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.45); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .nav { grid-template-columns: 155px 1fr auto; gap: 1rem; }
  .nav-menu { gap: .85rem; font-size: .75rem; }
  .nav-cta { padding-inline: .8rem; }
  .experiences-inner { grid-template-columns: 1fr; }
  .experience-cards { max-width: 950px; }
  .experience-card { height: 340px; }
  .story-grid { grid-template-columns: 1fr 1fr 1.2fr; }
  .story-photo:nth-of-type(3), .story-photo:nth-of-type(4) { display: none; }
}

@media (max-width: 900px) {
  .container { width: min(calc(100% - 2rem), var(--container)); }
  .nav { min-height: 74px; grid-template-columns: 145px 1fr auto; }
  .brand { width: 145px; height: 49px; }
  .nav-toggle { position: relative; z-index: 52; grid-column: 3; display: grid; gap: 6px; padding: .75rem; color: var(--white); }
  .nav-toggle span { width: 24px; height: 1px; background: currentColor; transition: transform .25s; }
  .nav-toggle[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-menu { position: fixed; z-index: 50; inset: 0; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.2rem; padding: 6rem 2rem 3rem; background: var(--forest); color: var(--white); font-family: var(--serif); font-size: 1.6rem; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility .25s ease; }
  .nav-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-menu a { color: var(--white); text-shadow: 0 1px 12px rgba(0, 0, 0, .18); }
  body.menu-open .site-header { background: var(--forest); box-shadow: none; backdrop-filter: none; }
  body.menu-open .brand, body.menu-open .nav-toggle { position: relative; z-index: 52; }
  .nav-cta { display: none; }
  .hero { min-height: 88svh; }
  .hero-content { padding-bottom: 6.5rem; }
  .booking-wrap { height: auto; margin-top: -2.7rem; }
  .booking-bar { position: relative; grid-template-columns: 1fr 1fr; transform: none; }
  .booking-bar label { border-bottom: 1px solid var(--line); }
  .booking-submit { grid-column: 1 / -1; }
  .stays { padding-top: var(--section); }
  .stay-grid { grid-template-columns: 1fr; }
  .stay-card { height: 500px; }
  .experience-cards { display: flex; margin-right: -1rem; padding-right: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .experience-card { min-width: min(72vw, 310px); scroll-snap-align: start; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit { border-bottom: 1px solid var(--line); }
  .benefit:nth-child(even) { border-right: 0; }
  .benefit:last-child { grid-column: 1 / -1; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 600px) {
  .hero-media { background-position: 48% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,16,10,.78), rgba(8,16,10,.27)), linear-gradient(0deg, rgba(8,15,9,.65), transparent 55%); }
  .hero h1 { max-width: 100%; font-size: clamp(2.75rem, 12vw, 3.75rem); overflow-wrap: anywhere; }
  .hero-lead { max-width: 94%; font-size: 1rem; }
  .hero-place { display: flex; flex-wrap: wrap; gap: .3rem .55rem; font-size: .63rem; }
  .hero-place i { margin: 0; }
  .booking-bar { grid-template-columns: 1fr; }
  .booking-bar label { padding: .85rem 1rem; border-right: 0; }
  .booking-submit { grid-column: auto; min-width: 0; margin: .65rem; }
  .stay-card { height: 440px; }
  .experiences { padding-block: 4.5rem; }
  .experience-intro h2 { font-size: 2.8rem; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit, .benefit:nth-child(even), .benefit:last-child { grid-column: auto; border-right: 0; }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-cta { grid-column: 1 / -1; grid-row: 1; min-height: 360px; }
  .story-photo { height: 300px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: .4rem; }
  .notify-actions { flex-direction: column; }
  .notify-actions .button { width: 100%; }
}

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