/* ==========================================================================
   Laut Biru Resort — Main stylesheet
   1. Tokens   2. Base   3. Utilities   4. Buttons   5. Header / Nav
   6. Hero     7. Home sections         8. Inner pages   9. Footer
   10. WhatsApp float  11. Lightbox     12. Animations
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
    --ocean: #0B2545;
    --ocean-2: #13315c;
    --teal: #1C7C82;
    --teal-dark: #155f64;
    --gold: #C6A24C;
    --gold-dark: #ad8a37;
    --white: #FAFAF7;
    --sand: #F3EEE4;
    --line: rgba(37, 37, 37, .12);
    --line-light: rgba(255, 255, 255, .18);
    --text: #252525;
    --muted: #5f6368;

    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Jost', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --container: 1280px;
    --gutter: clamp(20px, 4vw, 48px);
    --section: clamp(80px, 11vw, 150px);
    --radius: 2px;
    --header-h: 88px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.nav-open, body.lb-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.1;
    margin: 0 0 .5em;
    color: var(--ocean);
    letter-spacing: -.01em;
}
h1 em, h2 em { font-style: italic; font-weight: 400; }

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

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 1000;
    background: var(--ocean); color: #fff; padding: 10px 18px;
    transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* 3. Utilities ------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow, .narrow { max-width: 900px; }
.section { padding: var(--section) 0; }
.section-flush { padding-bottom: var(--section); }
.bg-sand { background: var(--sand); }
.bg-ocean { background: var(--ocean); color: rgba(255, 255, 255, .78); }
.center { text-align: center; }
.mt-lg { margin-top: clamp(40px, 5vw, 64px); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--font-body);
    font-size: 12px; font-weight: 500;
    letter-spacing: .28em; text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.center, .center > .eyebrow { justify-content: center; }
.center .eyebrow::after, .eyebrow.center::after { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow-light { color: rgba(255, 255, 255, .9); }
.eyebrow-gold { color: var(--gold); }
p.eyebrow.center { display: flex; }

.section-title { font-size: clamp(36px, 4.6vw, 62px); }
.section-title.light { color: #fff; }
.section-intro { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 18px; }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; color: var(--ocean); font-weight: 400; }

.section-head { margin-bottom: clamp(44px, 6vw, 80px); }
.section-head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head-split .section-title { margin-bottom: 0; }
.section-head-aside { max-width: 420px; color: var(--muted); }
.section-head-aside p { margin-bottom: 24px; }

.statement {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.4vw, 46px);
    line-height: 1.3;
    color: var(--ocean);
    text-align: center;
    font-weight: 400;
}
.statement em { color: var(--teal); }
.statement-sm { font-size: clamp(24px, 2.6vw, 34px); }

.placeholder-note {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; letter-spacing: .02em;
    color: var(--muted);
    margin: 28px 0 0;
}
.placeholder-note.center { justify-content: center; text-align: center; }
.placeholder-note i { color: var(--gold); }
.placeholder-note.light { color: rgba(255, 255, 255, .6); }
.placeholder-inline { color: var(--teal); font-size: 15px; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 13px; font-weight: 500;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--ocean);
    padding-bottom: 6px;
    border-bottom: 1px solid var(--gold);
    transition: gap .35s var(--ease), color .25s;
}
.link-arrow:hover { gap: 20px; color: var(--teal); }

/* 4. Buttons -------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 54px;
    padding: 0 32px;
    font-family: var(--font-body);
    font-size: 13px; font-weight: 500;
    letter-spacing: .18em; text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: var(--radius);
    white-space: nowrap;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn i { font-size: 1.15em; letter-spacing: 0; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-ocean { background: var(--ocean); color: #fff; }
.btn-ocean:hover { background: var(--teal); }
.btn-outline-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ocean); border-color: #fff; }
.btn-outline-dark { border-color: var(--ocean); color: var(--ocean); }
.btn-outline-dark:hover { background: var(--ocean); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 12px; }
.btn-lg { min-height: 62px; padding: 0 42px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* 5. Header / Nav --------------------------------------------------------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    height: var(--header-h);
    background: rgba(250, 250, 247, .98);
    border-bottom: 1px solid var(--line);
    transition: height .4s var(--ease), background .4s var(--ease), border-color .4s, box-shadow .4s;
}
body:not(.has-hero) main { padding-top: var(--header-h); }

.has-hero .site-header:not(.is-scrolled) {
    background: transparent;
    border-color: transparent;
}
.has-hero .site-header:not(.is-scrolled)::before {
    content: ''; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
    background: linear-gradient(to bottom, rgba(6, 22, 42, .55), transparent);
}
.site-header.is-scrolled { --header-h: 72px; box-shadow: 0 10px 30px -20px rgba(11, 37, 69, .35); }

.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }

.brand { display: flex; flex-direction: column; line-height: 1; color: var(--ocean); transition: color .3s; }
.brand-name { font-family: var(--font-display); font-size: 30px; font-weight: 500; letter-spacing: .02em; }
.brand-sub { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; margin-top: 6px; opacity: .75; }

.nav-list { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.nav-link {
    position: relative;
    font-size: 13px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
    color: var(--text);
    padding: 8px 0;
    transition: color .25s;
}
.nav-link::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
    background: var(--gold);
    transform: scaleX(0); transform-origin: right;
    transition: transform .4s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-active { color: var(--ocean); font-weight: 500; }

.has-hero .site-header:not(.is-scrolled) .brand,
.has-hero .site-header:not(.is-scrolled) .nav-link { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-mobile-footer { display: none; }

.nav-toggle {
    display: none;
    position: relative; width: 44px; height: 44px;
}
.nav-toggle span {
    position: absolute; left: 10px; right: 10px; height: 1.5px;
    background: var(--ocean);
    transition: transform .4s var(--ease), top .4s var(--ease), background .3s;
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
.has-hero .site-header:not(.is-scrolled) .nav-toggle span { background: #fff; }

/* 6. Hero ----------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.hero-media, .page-hero-media, .cta-media, .environment-media, .notfound-media {
    position: absolute; inset: 0; z-index: -1;
}
.hero-media img, .page-hero-media img, .cta-media img, .environment-media img, .notfound-media img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-media img { animation: heroZoom 18s var(--ease) forwards; transform-origin: 60% 40%; }
.hero-media::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(to top, rgba(6, 22, 42, .82) 0%, rgba(6, 22, 42, .25) 45%, rgba(6, 22, 42, .35) 100%),
        linear-gradient(to right, rgba(6, 22, 42, .45), transparent 65%);
}
.hero-content { padding-top: var(--header-h); padding-bottom: 140px; }
.hero-title {
    font-size: clamp(48px, 7.4vw, 108px);
    color: #fff;
    max-width: 11ch;
    font-weight: 400;
    line-height: 1.02;
    margin-bottom: 28px;
}
.hero-title em { color: #f1dfb2; }
.hero-text { font-size: clamp(17px, 1.5vw, 20px); max-width: 520px; color: rgba(255, 255, 255, .88); margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-foot { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--line-light); }
.hero-foot-inner { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.hero-facts { display: flex; gap: clamp(28px, 5vw, 72px); }
.hero-facts li { font-family: var(--font-display); font-size: 20px; line-height: 1.25; }
.hero-facts span {
    display: block; font-family: var(--font-body);
    font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
    color: rgba(255, 255, 255, .6); margin-bottom: 4px;
}
.scroll-cue { width: 26px; height: 44px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 14px; position: relative; }
.scroll-cue span {
    position: absolute; left: 50%; top: 9px; width: 2px; height: 8px; margin-left: -1px;
    background: #fff; border-radius: 2px;
    animation: scrollCue 2s var(--ease) infinite;
}

/* Inner page hero */
.page-hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: clamp(460px, 72vh, 720px);
    display: flex; align-items: flex-end;
    color: #fff;
}
.page-hero-media img { animation: heroZoom 18s var(--ease) forwards; }
.page-hero-media::after, .notfound-media::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(to top, rgba(6, 22, 42, .85), rgba(6, 22, 42, .2) 60%, rgba(6, 22, 42, .45)),
        linear-gradient(to right, rgba(6, 22, 42, .5), transparent 70%);
}
.page-hero-content { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero-title { font-size: clamp(44px, 6.2vw, 88px); color: #fff; font-weight: 400; max-width: 14ch; margin-bottom: 20px; }
.page-hero-title em { color: #f1dfb2; }
.page-hero-text { max-width: 540px; font-size: 18px; color: rgba(255, 255, 255, .85); }
.breadcrumb { display: flex; gap: 12px; margin-top: 30px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.breadcrumb a:hover { color: #fff; }

/* 7. Home sections -------------------------------------------------------- */

/* About intro */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.about-media { position: relative; padding: 0 12% 18% 0; }
.about-img-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-img-accent {
    position: absolute; right: 0; bottom: 0; width: 48%;
    border: 10px solid var(--white);
}
.about-img-accent img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.about-stamp {
    position: absolute; left: -18px; top: 40px;
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--teal);
    margin: 0;
}
.about-stamp span { font-family: var(--font-body); font-style: normal; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-left: 8px; }
.about-copy p { color: var(--muted); }
.about-copy .lead { color: var(--ocean); }

.highlight-list { margin: 36px 0 40px; border-top: 1px solid var(--line); }
.highlight-list li { display: flex; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 16px; line-height: 1.55; }
.highlight-list strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--ocean); margin-bottom: 2px; }
.hl-num { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 20px; padding-top: 2px; }

/* Room slider */
.slider-controls { display: flex; gap: 10px; }
.slider-btn {
    width: 54px; height: 54px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--ocean);
    transition: background .3s, color .3s, border-color .3s;
}
.slider-btn:hover { background: var(--ocean); color: #fff; border-color: var(--ocean); }
.slider-btn:disabled { opacity: .35; pointer-events: none; }

.room-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 30%);
    gap: clamp(20px, 2.4vw, 36px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
    padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
    scrollbar-width: none;
}
.room-slider::-webkit-scrollbar { display: none; }
.room-slide { scroll-snap-align: start; }
.room-slide-media { position: relative; display: block; overflow: hidden; }
.room-slide-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.room-slide:hover .room-slide-media img { transform: scale(1.05); }
.room-slide-view {
    position: absolute; left: 18px; bottom: 18px;
    background: rgba(250, 250, 247, .92); color: var(--ocean);
    font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
    padding: 8px 14px;
}
.room-slide-body { padding-top: 26px; }
.room-slide-tag { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.room-slide h3 { font-size: 32px; margin-bottom: 12px; }
.room-slide h3 a { transition: color .25s; }
.room-slide h3 a:hover { color: var(--teal); }
.room-slide-body > p { color: var(--muted); font-size: 16px; }
.room-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text); }
.room-meta i { color: var(--gold); margin-right: 8px; }

/* Experience mosaic */
.exp-mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: clamp(220px, 22vw, 300px);
    gap: clamp(12px, 1.4vw, 20px);
}
.exp-tile { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.exp-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.exp-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 22, 42, .78), rgba(6, 22, 42, 0) 60%); transition: background .5s; }
.exp-tile:hover img { transform: scale(1.06); }
.exp-tile:hover::after { background: linear-gradient(to top, rgba(6, 22, 42, .88), rgba(6, 22, 42, .15) 75%); }
.exp-tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.4vw, 32px); }
.exp-tile-num { font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--gold); }
.exp-tile h3 { color: #fff; font-size: clamp(24px, 2.2vw, 32px); margin: 4px 0 6px; }
.exp-tile p {
    font-size: 15px; color: rgba(255, 255, 255, .82); margin: 0;
    max-height: 0; opacity: 0; overflow: hidden;
    transition: max-height .5s var(--ease), opacity .5s var(--ease);
}
.exp-tile:hover p, .exp-tile:focus-visible p { max-height: 80px; opacity: 1; }
.exp-tile-1 { grid-column: span 7; grid-row: span 2; }
.exp-tile-2 { grid-column: span 5; }
.exp-tile-3 { grid-column: span 5; }
.exp-tile-4 { grid-column: span 4; }
.exp-tile-5 { grid-column: span 4; }
.exp-tile-6 { grid-column: span 4; }

/* Facilities */
.facilities-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.facilities-intro { position: sticky; top: 120px; }
.facility-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-light); }
.facility {
    display: flex; gap: 22px; align-items: flex-start;
    padding: 34px 24px 34px 0;
    border-bottom: 1px solid var(--line-light);
}
.facility:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line-light); }
.facility i { font-size: 22px; color: var(--gold); width: 28px; padding-top: 6px; }
.facility h3 { color: #fff; font-size: 24px; margin-bottom: 4px; }
.facility p { font-size: 15px; color: rgba(255, 255, 255, .65); }

/* Gallery preview grid */
.gp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(160px, 17vw, 240px);
    gap: clamp(10px, 1.2vw, 16px);
}
.gp-item { position: relative; overflow: hidden; display: block; background: var(--sand); }
.gp-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; }
.gp-item:hover img { transform: scale(1.06); }
.gp-zoom {
    position: absolute; inset: 0; display: grid; place-items: center;
    background: rgba(11, 37, 69, .35); color: #fff; font-size: 20px;
    opacity: 0; transition: opacity .4s;
}
.gp-item:hover .gp-zoom { opacity: 1; }
.gp-item-1 { grid-column: span 2; grid-row: span 2; }
.gp-item-2 { grid-column: span 1; grid-row: span 1; }
.gp-item-3 { grid-column: span 1; grid-row: span 2; }
.gp-item-4 { grid-column: span 1; }
.gp-item-5 { grid-column: span 2; }
.gp-item-6 { grid-column: span 2; }

/* Testimonials */
.testimonial-wrap { max-width: 980px; text-align: center; }
.testimonial-slider { position: relative; display: grid; padding-top: 20px; }
.testimonial-mark { font-size: 40px; color: var(--gold); opacity: .5; margin: 0 auto 20px; }
.testimonial {
    grid-area: 2 / 1;
    opacity: 0; visibility: hidden;
    transform: translateY(12px);
    transition: opacity .7s var(--ease), transform .7s var(--ease), visibility .7s;
}
.testimonial.is-active { opacity: 1; visibility: visible; transform: none; }
.testimonial blockquote {
    margin: 0 0 34px;
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.35;
    color: var(--ocean);
    font-style: italic;
}
.testimonial figcaption strong { display: block; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.testimonial figcaption span { font-size: 14px; color: var(--muted); }
.testimonial-dots { grid-area: 3 / 1; display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.testimonial-dots button { width: 34px; height: 20px; position: relative; }
.testimonial-dots button::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line); transition: background .3s; }
.testimonial-dots button.is-active::before { background: var(--gold); }

/* Location */
.location-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.location-copy > p { color: var(--muted); }
.attraction-list { margin: 30px 0 40px; border-top: 1px solid var(--line); }
.attraction-list li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.attraction-list strong { font-family: var(--font-display); font-weight: 500; font-size: 21px; color: var(--ocean); }
.attraction-list span { font-size: 14px; color: var(--muted); text-align: right; }
.map-frame { position: relative; aspect-ratio: 5 / 4; background: var(--sand); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.map-label {
    position: absolute; left: 16px; bottom: 16px;
    background: var(--ocean); color: #fff;
    font-size: 12px; letter-spacing: .06em; padding: 8px 14px;
}

/* CTA band */
.cta-band {
    position: relative; isolation: isolate; overflow: hidden;
    padding: clamp(120px, 16vw, 220px) 0;
    color: #fff; text-align: center;
}
.cta-band-sm { padding: clamp(100px, 12vw, 160px) 0; }
.cta-media::after { content: ''; position: absolute; inset: 0; background: rgba(6, 22, 42, .55); }
.cta-content { max-width: 760px; }
.cta-content .eyebrow { justify-content: center; }
.cta-title { font-size: clamp(42px, 5.6vw, 78px); color: #fff; font-weight: 400; }
.cta-content p { font-size: 18px; color: rgba(255, 255, 255, .85); margin-bottom: 40px; }

/* 8. Inner pages ---------------------------------------------------------- */

/* About */
.about-statement { padding-bottom: calc(var(--section) * .7); }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.editorial-media { position: relative; }
.editorial-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.editorial-media figcaption {
    position: absolute; right: -1px; bottom: -1px;
    background: var(--white); padding: 14px 22px 0 22px;
    font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--teal);
}
.editorial-copy p { color: var(--muted); }

.philosophy-quote {
    margin: 0 auto 70px; max-width: 820px;
    font-family: var(--font-display); font-style: italic;
    font-size: clamp(30px, 3.6vw, 50px); line-height: 1.3; color: #fff;
}
.philosophy-pillars { display: grid; grid-template-columns: repeat(3, 1fr); text-align: left; border-top: 1px solid var(--line-light); }
.philosophy-pillars > div { padding: 34px 28px 0; }
.philosophy-pillars > div + div { border-left: 1px solid var(--line-light); }
.philosophy-pillars h3 { color: var(--gold); font-size: 26px; }
.philosophy-pillars p { font-size: 15px; }

.environment { position: relative; isolation: isolate; padding: clamp(160px, 22vw, 300px) 0 0; }
.environment-media { bottom: 30%; }
.environment-panel {
    position: relative;
    background: var(--white);
    max-width: 680px;
    margin-left: auto;
    padding: clamp(36px, 5vw, 70px);
}
.environment-panel p { color: var(--muted); }

.usp-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); counter-reset: none; }
.usp-list li { padding: 40px 30px 0 0; }
.usp-list li + li { padding-left: 30px; border-left: 1px solid var(--line); }
.usp-num { display: block; font-family: var(--font-display); font-style: italic; font-size: 54px; color: var(--gold); line-height: 1; margin-bottom: 24px; }
.usp-list h3 { font-size: 26px; }
.usp-list p { color: var(--muted); font-size: 16px; }

.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.photo-strip-item { overflow: hidden; }
.photo-strip-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.photo-strip-item:hover img { transform: scale(1.05); }

/* Accommodation */
.room-index {
    position: sticky; top: 72px; z-index: 50;
    background: var(--white); border-bottom: 1px solid var(--line);
}
.room-index-inner { display: flex; gap: 40px; overflow-x: auto; scrollbar-width: none; }
.room-index-inner::-webkit-scrollbar { display: none; }
.room-index-link {
    flex-shrink: 0;
    padding: 22px 0;
    font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    transition: color .25s, border-color .25s;
}
.room-index-link:hover, .room-index-link.is-active { color: var(--ocean); border-color: var(--gold); }

.rooms-list { padding-top: 60px; }
.room-feature {
    display: grid; grid-template-columns: 1.25fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
    padding: clamp(60px, 8vw, 110px) 0;
    scroll-margin-top: 140px;
}
.room-feature + .room-feature { border-top: 1px solid var(--line); }
.room-feature.is-reversed { grid-template-columns: 1fr 1.25fr; }
.room-feature.is-reversed .room-gallery { order: 2; }

.room-gallery { position: relative; overflow: hidden; background: var(--sand); }
.room-gallery-track { position: relative; aspect-ratio: 4 / 3; }
.room-gallery-track img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transform: scale(1.04);
    transition: opacity .9s var(--ease), transform 1.6s var(--ease-out);
}
.room-gallery-track img.is-active { opacity: 1; transform: none; }
.room-gallery-nav {
    position: absolute; right: 0; bottom: 0;
    display: flex; align-items: center;
    background: var(--white);
}
.room-gallery-nav button { width: 56px; height: 56px; color: var(--ocean); transition: background .25s, color .25s; }
.room-gallery-nav button:hover { background: var(--ocean); color: #fff; }
.room-gallery-count { font-size: 13px; letter-spacing: .1em; color: var(--muted); padding: 0 6px; min-width: 52px; text-align: center; }
.room-gallery-count b { color: var(--ocean); font-weight: 500; }

.room-num { font-family: var(--font-display); font-size: 22px; color: var(--gold); font-style: italic; margin-bottom: 18px; }
.room-num span { color: var(--muted); font-size: 16px; }
.room-title { font-size: clamp(38px, 4vw, 56px); }
.room-info > p { color: var(--muted); }
.room-specs { display: grid; grid-template-columns: 1fr 1fr; margin: 32px 0; border-top: 1px solid var(--line); }
.room-specs > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.room-specs > div:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
.room-specs dt { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.room-specs dd { margin: 0; color: var(--ocean); font-weight: 400; font-size: 16px; }
.room-features { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 36px; }
.room-features li { position: relative; padding-left: 18px; font-size: 15px; }
.room-features li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }

.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq-grid > div:first-child p { color: var(--muted); margin-bottom: 30px; }
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item h3 { margin: 0; font-size: inherit; }
.accordion-trigger {
    width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 26px 0; text-align: left;
    font-family: var(--font-display); font-size: clamp(21px, 2vw, 26px); font-weight: 500; color: var(--ocean);
}
.accordion-icon { position: relative; flex-shrink: 0; width: 18px; height: 18px; }
.accordion-icon::before, .accordion-icon::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--gold); transition: transform .4s var(--ease); }
.accordion-icon::after { transform: rotate(90deg); }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: rotate(0); }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.accordion-panel > div { overflow: hidden; }
.accordion-panel p { color: var(--muted); padding-bottom: 26px; padding-right: 40px; }
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; }

/* Experiences */
.exp-row {
    display: grid; grid-template-columns: 1.3fr 1fr;
    gap: clamp(36px, 6vw, 96px);
    align-items: center;
    padding: clamp(40px, 5vw, 70px) 0;
    scroll-margin-top: 100px;
}
.exp-row.is-reversed { grid-template-columns: 1fr 1.3fr; }
.exp-row.is-reversed .exp-row-media { order: 2; }
.exp-row-media { overflow: hidden; }
.exp-row-media img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.exp-row:hover .exp-row-media img { transform: scale(1.04); }
.exp-row-num { display: block; font-family: var(--font-display); font-style: italic; font-size: clamp(56px, 6vw, 84px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: 20px; }
.exp-row-title { font-size: clamp(34px, 3.6vw, 50px); }
.exp-row-body > p:not(.eyebrow) { color: var(--muted); margin-bottom: 30px; max-width: 460px; }

/* Gallery page */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; margin-bottom: clamp(40px, 5vw, 64px); }
.filter-btn {
    position: relative; padding: 8px 0;
    font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
    transition: color .25s;
}
.filter-btn::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.filter-btn:hover, .filter-btn.is-active { color: var(--ocean); }
.filter-btn.is-active::after { transform: scaleX(1); }

.masonry { columns: 3; column-gap: 16px; }
.masonry-item {
    position: relative; display: block;
    margin-bottom: 16px; overflow: hidden;
    break-inside: avoid; background: var(--sand);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.masonry-item img { width: 100%; height: auto; transition: transform 1.2s var(--ease-out); }
.masonry-item.ratio-tall img { aspect-ratio: 9 / 13; object-fit: cover; }
.masonry-item.ratio-wide img { aspect-ratio: 18 / 13; object-fit: cover; }
.masonry-item.ratio-square img { aspect-ratio: 1; object-fit: cover; }
.masonry-item:hover img { transform: scale(1.05); }
.masonry-cap {
    position: absolute; left: 16px; bottom: 16px;
    font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #fff;
    background: rgba(11, 37, 69, .7); padding: 6px 12px;
    opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s;
}
.masonry-item:hover .masonry-cap { opacity: 1; transform: none; }
.masonry-item.is-hidden { display: none; }
.masonry-item.is-entering { opacity: 0; transform: translateY(14px); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.contact-info > p { color: var(--muted); }
.contact-list { margin: 34px 0 40px; border-top: 1px solid var(--line); }
.contact-list li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list i { font-size: 20px; color: var(--gold); width: 24px; padding-top: 4px; }
.contact-list span { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--ocean); transition: color .25s; word-break: break-word; }
.contact-list a:hover { color: var(--teal); }

.contact-form-wrap { background: var(--sand); padding: clamp(30px, 4.5vw, 60px); }
.contact-form h3 { font-size: 34px; margin-bottom: 6px; }
.form-hint { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.form-row > *, .contact-grid > *, .faq-grid > *, .location-grid > * { min-width: 0; }
.form-row-3 { grid-template-columns: 1fr 1fr .7fr; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ocean); font-weight: 500; margin-bottom: 8px; }
.optional { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 300; }
.field input, .field select, .field textarea {
    min-width: 0; max-width: 100%;
    width: 100%;
    font: inherit; font-size: 16px; color: var(--text);
    background: var(--white);
    border: 1px solid transparent; border-bottom-color: rgba(11, 37, 69, .25);
    border-radius: var(--radius);
    padding: 13px 14px;
    transition: border-color .25s, box-shadow .25s;
    appearance: none; -webkit-appearance: none;
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230B2545' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(28, 124, 130, .12); }
.field-error { display: none; color: #b3402f; font-size: 13px; margin-top: 6px; }
.field.has-error input, .field.has-error textarea { border-color: #b3402f; }
.field.has-error .field-error { display: block; }

.form-success {
    display: flex; gap: 18px; margin-top: 26px;
    padding: 24px; background: var(--white); border-left: 3px solid var(--teal);
    animation: fadeUp .6s var(--ease) both;
}
.form-success[hidden] { display: none; }
.form-success > i { font-size: 26px; color: var(--teal); }
.form-success strong { display: block; color: var(--ocean); font-weight: 500; margin-bottom: 4px; }
.form-success p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }

.contact-map { position: relative; height: clamp(420px, 55vw, 560px); }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35); }
.contact-map .container { position: relative; height: 100%; display: flex; align-items: center; pointer-events: none; }
.map-card { pointer-events: auto; background: var(--white); max-width: 400px; padding: 40px; box-shadow: 0 30px 60px -30px rgba(11, 37, 69, .4); }
.map-card h3 { font-size: 32px; }
.map-card p { color: var(--muted); font-size: 15px; }
.map-label-inline { display: block; margin-top: 16px; font-size: 12px; color: var(--teal); }

/* 404 */
.notfound { position: relative; isolation: isolate; min-height: 100vh; display: flex; align-items: center; color: #fff; }
.notfound-content { padding-top: var(--header-h); }
.notfound .page-hero-text { margin-bottom: 36px; }

/* 9. Footer --------------------------------------------------------------- */
.site-footer { background: #071a33; color: rgba(255, 255, 255, .65); padding: clamp(70px, 9vw, 110px) 0 0; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.2fr; gap: clamp(32px, 4vw, 60px); padding-bottom: 60px; }
.brand-footer { color: #fff; margin-bottom: 24px; }
.footer-brand p { max-width: 340px; }
.footer-col h4 { font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { transition: color .25s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 14px; }
.footer-contact i { color: var(--gold); padding-top: 6px; width: 16px; }
.footer-contact a { word-break: break-word; }
.footer-cta p { margin-bottom: 20px; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line-light); border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0 30px; border-top: 1px solid var(--line-light); font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-note { color: rgba(255, 255, 255, .45); }

/* 10. WhatsApp float ------------------------------------------------------ */
.wa-float {
    position: fixed; right: 24px; bottom: 24px; z-index: 90;
    display: flex; align-items: center; gap: 0;
    height: 58px; min-width: 58px;
    padding: 0 17px;
    background: #25D366; color: #fff;
    border-radius: 30px;
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .35);
    transition: gap .4s var(--ease), padding .4s var(--ease), transform .3s var(--ease);
}
.wa-float i { font-size: 26px; }
.wa-float-label { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 500; letter-spacing: .04em; transition: max-width .45s var(--ease); }
.wa-float:hover { gap: 10px; padding-right: 24px; transform: translateY(-2px); }
.wa-float:hover .wa-float-label { max-width: 140px; }
.wa-float::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    border: 2px solid #25D366; animation: waPulse 2.6s ease-out infinite; pointer-events: none;
}

/* 11. Lightbox ------------------------------------------------------------ */
.lightbox {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(5, 15, 30, .95);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .35s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lb-figure { max-width: min(1200px, 88vw); text-align: center; }
.lb-img {
    max-width: 100%; max-height: 80vh; margin: 0 auto; object-fit: contain;
    transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.lb-img.is-loading { opacity: 0; transform: scale(.98); }
.lb-caption { display: flex; justify-content: space-between; gap: 20px; color: rgba(255, 255, 255, .75); font-size: 14px; padding-top: 16px; text-align: left; }
.lb-count { color: var(--gold); letter-spacing: .1em; white-space: nowrap; }
.lb-btn { position: absolute; width: 56px; height: 56px; color: #fff; font-size: 20px; border: 1px solid var(--line-light); border-radius: 50%; transition: background .25s, border-color .25s; }
.lb-btn:hover { background: var(--gold); border-color: var(--gold); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* 12. Animations ---------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(1.35); opacity: 0; } }

@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; }
}
