/* ============================================================
   PINI VILLA — Arugam Bay  |  Modern Tropical Luxe
   Shared stylesheet
   ============================================================ */

/* ---------- Design tokens ---------- */
:root{
  --sand:        #F4EEE3;
  --sand-deep:   #E9DFCE;
  --cream:       #FBF7EF;
  --ink:         #1B2A25;
  --ink-soft:    #3A4843;
  --muted:       #6F7A71;
  --lagoon:      #0E6B62;
  --lagoon-deep: #0A4A44;
  --lagoon-tint: #DCEAE5;
  --clay:        #C5664A;
  --clay-deep:   #A8523A;
  --palm:        #5C7150;
  --gold:        #BE9C55;
  --line:        rgba(27,42,37,0.14);
  --shadow-sm:   0 2px 10px rgba(20,40,35,.06);
  --shadow-md:   0 18px 50px -20px rgba(15,45,40,.35);
  --shadow-lg:   0 40px 90px -40px rgba(10,40,35,.55);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  font-family:var(--sans);
  background:var(--sand);
  color:var(--ink);
  line-height:1.7;
  font-weight:330;
  font-size:17px;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{ display:block; max-width:100%; height:auto; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
ul{ list-style:none; }

/* ---------- Grain / atmosphere overlay ---------- */
body::before{
  content:""; position:fixed; inset:0; z-index:9999; pointer-events:none;
  opacity:.035; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
h1,h2,h3,h4{ font-family:var(--serif); font-weight:360; line-height:1.06;
  letter-spacing:-.015em; color:var(--ink); }
h1{ font-size:clamp(2.9rem,7vw,6rem); }
h2{ font-size:clamp(2.1rem,4.4vw,3.6rem); }
h3{ font-size:clamp(1.5rem,2.5vw,2.1rem); }
h2 em,h1 em,h3 em{ font-style:italic; color:var(--lagoon); font-weight:340; }
p{ color:var(--ink-soft); }
.lead{ font-size:clamp(1.12rem,1.6vw,1.35rem); color:var(--ink-soft); line-height:1.75; }

.eyebrow{
  font-family:var(--sans); font-weight:500; font-size:.74rem;
  letter-spacing:.34em; text-transform:uppercase; color:var(--clay);
  display:inline-flex; align-items:center; gap:.7em;
}
.eyebrow::before{ content:""; width:26px; height:1px; background:var(--gold); display:inline-block; }
.eyebrow.center::after{ content:""; width:26px; height:1px; background:var(--gold); display:inline-block; }
.eyebrow.center{ justify-content:center; }

/* ---------- Layout ---------- */
.wrap{ width:min(var(--wrap), 92%); margin-inline:auto; }
.section{ padding:clamp(4.5rem,9vw,8.5rem) 0; position:relative; }
.section.tight{ padding:clamp(3rem,6vw,5rem) 0; }
.center{ text-align:center; }
.bg-cream{ background:var(--cream); }
.bg-sand-deep{ background:var(--sand-deep); }
.bg-lagoon{ background:var(--lagoon-deep); color:var(--cream); }
.bg-lagoon h1,.bg-lagoon h2,.bg-lagoon h3{ color:var(--cream); }
.bg-lagoon p{ color:rgba(251,247,239,.82); }
.divider-leaf{ display:flex; justify-content:center; margin:1.2rem 0; color:var(--gold); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.6em;
  font-family:var(--sans); font-weight:500; font-size:.83rem;
  letter-spacing:.16em; text-transform:uppercase;
  padding:1.05em 2em; border-radius:2px; transition:.4s var(--ease);
  position:relative; white-space:nowrap;
}
.btn svg{ width:15px; height:15px; transition:transform .4s var(--ease); }
.btn-primary{ background:var(--lagoon); color:var(--cream); box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--lagoon-deep); transform:translateY(-3px); box-shadow:var(--shadow-md); }
.btn-clay{ background:var(--clay); color:#fff; }
.btn-clay:hover{ background:var(--clay-deep); transform:translateY(-3px); box-shadow:var(--shadow-md); }
.btn-outline{ border:1px solid currentColor; color:var(--ink); }
.btn-outline:hover{ background:var(--ink); color:var(--sand); transform:translateY(-3px); }
.btn-ghost-light{ border:1px solid rgba(255,255,255,.55); color:#fff; }
.btn-ghost-light:hover{ background:#fff; color:var(--ink); transform:translateY(-3px); }
.btn:hover svg{ transform:translateX(4px); }
.btn-lg{ padding:1.2em 2.4em; }

.textlink{ font-weight:500; letter-spacing:.04em; color:var(--lagoon);
  border-bottom:1px solid transparent; padding-bottom:2px; transition:.3s; display:inline-flex; gap:.4em; align-items:center;}
.textlink:hover{ border-color:var(--lagoon); gap:.7em; }

/* ---------- Navbar ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  display:flex; align-items:center; justify-content:space-between;
  padding:1.4rem clamp(1.2rem,4vw,3rem);
  transition:.45s var(--ease);
}
.nav.scrolled{
  background:rgba(244,238,227,.92); backdrop-filter:blur(12px);
  box-shadow:0 1px 0 var(--line); padding-top:.9rem; padding-bottom:.9rem;
}
.brand{ display:flex; align-items:center; gap:.7rem; color:var(--cream); transition:.45s; }
.nav.scrolled .brand,.nav.solid .brand{ color:var(--ink); }
.brand .mark{ width:34px; height:34px; flex:none; }
.brand .mark path,.brand .mark line,.brand .mark circle{ transition:.45s; }
.brand-txt{ line-height:1; }
.brand-name{ font-family:var(--serif); font-size:1.5rem; font-weight:430; letter-spacing:.01em; }
.brand-sub{ font-family:var(--sans); font-size:.58rem; letter-spacing:.42em; text-transform:uppercase; opacity:.8; margin-top:3px; }

.nav-links{ display:flex; align-items:center; gap:1.45rem; }
.nav-links a{
  font-family:var(--sans); font-size:.78rem; font-weight:400; letter-spacing:.1em;
  text-transform:uppercase; color:var(--cream); position:relative; padding:4px 0; transition:.4s;
}
.nav.scrolled .nav-links a,.nav.solid .nav-links a{ color:var(--ink-soft); }
.nav-links a::after{ content:""; position:absolute; left:0; bottom:-2px; height:1px; width:0; background:currentColor; transition:width .4s var(--ease); }
.nav-links a:hover::after,.nav-links a.active::after{ width:100%; }
.nav-links a.active{ color:var(--clay); }
.nav .nav-cta{ margin-left:.4rem; }
.nav-cta.btn{ padding:.8em 1.5em; font-size:.74rem; }
.nav.scrolled .btn-ghost-light{ border-color:var(--lagoon); color:var(--lagoon); }
.nav.scrolled .btn-ghost-light:hover{ background:var(--lagoon); color:#fff; }

.burger{ display:none; width:42px; height:42px; flex-direction:column; justify-content:center; gap:6px; }
.burger span{ width:24px; height:2px; background:var(--cream); transition:.35s var(--ease); margin-inline:auto; }
.nav.scrolled .burger span,.nav.solid .burger span{ background:var(--ink); }

/* mobile overlay menu */
.mobile-menu{
  position:fixed; inset:0; z-index:1500; background:var(--lagoon-deep);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1.4rem;
  transform:translateY(-100%); transition:transform .55s var(--ease); visibility:hidden;
}
.mobile-menu.open{ transform:translateY(0); visibility:visible; }
.mobile-menu a{ font-family:var(--serif); font-size:2rem; color:var(--cream); opacity:.92; }
.mobile-menu a:hover{ color:var(--gold); }
.mobile-menu .mclose{ position:absolute; top:1.6rem; right:1.8rem; font-size:2rem; color:var(--cream); line-height:1; }
.mobile-menu .msub{ margin-top:1.5rem; color:rgba(255,255,255,.6); font-size:.8rem; letter-spacing:.2em; text-transform:uppercase; }

/* ---------- Hero ---------- */
.hero{ position:relative; min-height:100svh; display:flex; align-items:flex-end; overflow:hidden; }
.hero-media{ position:absolute; inset:0; z-index:-2; }
.hero-media img{ width:100%; height:100%; object-fit:cover; animation:kenburns 22s ease-out infinite alternate; }
@keyframes kenburns{ from{ transform:scale(1.04); } to{ transform:scale(1.16) translateY(-1%);} }
.hero::after{ content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(180deg, rgba(10,30,28,.32) 0%, rgba(10,30,28,.05) 32%, rgba(8,28,26,.55) 82%, rgba(7,24,22,.82) 100%); }
.hero-inner{ width:min(var(--wrap),92%); margin-inline:auto; padding-bottom:clamp(3.5rem,8vw,7rem); padding-top:9rem; color:var(--cream); }
.hero .eyebrow{ color:var(--gold); }
.hero h1{ color:#fff; max-width:16ch; margin:.7rem 0 1.3rem; text-shadow:0 2px 30px rgba(0,0,0,.25); }
.hero .lead{ color:rgba(255,255,255,.9); max-width:46ch; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:1rem; margin-top:2.2rem; }
.hero-scroll{ position:absolute; bottom:1.6rem; left:50%; transform:translateX(-50%); z-index:2;
  color:rgba(255,255,255,.7); font-size:.66rem; letter-spacing:.3em; text-transform:uppercase; display:flex; flex-direction:column; align-items:center; gap:.6rem;}
.hero-scroll::after{ content:""; width:1px; height:46px; background:linear-gradient(rgba(255,255,255,.7),transparent); animation:scrolldot 2.2s ease-in-out infinite; }
@keyframes scrolldot{ 0%,100%{ opacity:.3; transform:scaleY(.6);} 50%{ opacity:1; transform:scaleY(1);} }

/* page sub-hero (interior pages) */
.pagehero{ position:relative; min-height:62vh; display:flex; align-items:flex-end; overflow:hidden; }
.pagehero img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; }
.pagehero::after{ content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(180deg,rgba(8,28,26,.35),rgba(8,26,24,.72)); }
.pagehero .inner{ width:min(var(--wrap),92%); margin-inline:auto; padding-bottom:clamp(2.5rem,6vw,5rem); padding-top:8rem; color:#fff; }
.pagehero h1{ color:#fff; }
.pagehero .eyebrow{ color:var(--gold); }
.crumbs{ font-size:.78rem; letter-spacing:.04em; color:rgba(255,255,255,.78); margin-top:1rem; }
.crumbs a:hover{ color:#fff; }

/* ---------- Reveal animation ---------- */
.reveal{ opacity:0; transform:translateY(30px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.reveal.d1{ transition-delay:.12s;} .reveal.d2{ transition-delay:.24s;}
.reveal.d3{ transition-delay:.36s;} .reveal.d4{ transition-delay:.48s;}

/* ---------- Split / intro ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(2.5rem,6vw,6rem); align-items:center; }
.split.flip .split-media{ order:2; }
.split-media{ position:relative; }
.split-media img{ width:100%; height:100%; object-fit:cover; border-radius:3px; box-shadow:var(--shadow-md); }
.media-frame{ position:relative; }
.media-frame::before{ content:""; position:absolute; inset:18px -18px -18px 18px; border:1px solid var(--gold); border-radius:3px; z-index:-1; }
.stat-badge{ position:absolute; background:var(--cream); padding:1.2rem 1.5rem; box-shadow:var(--shadow-md); border-radius:3px; }
.stat-badge .n{ font-family:var(--serif); font-size:2.1rem; color:var(--lagoon); line-height:1; }
.stat-badge .l{ font-size:.7rem; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); margin-top:.3rem; }
.stat-badge.br{ right:-22px; bottom:-26px; }

.stack > * + *{ margin-top:1.3rem; }
.sec-head{ max-width:62ch; }
.sec-head.center{ margin-inline:auto; }

/* ---------- Feature highlights grid ---------- */
.feat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; }
.feat{ background:var(--cream); padding:2.2rem 1.8rem; border-radius:3px; border:1px solid var(--line);
  transition:.45s var(--ease); }
.feat:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:transparent; }
.feat .ic{ width:42px; height:42px; color:var(--lagoon); margin-bottom:1.1rem; }
.feat h3{ font-size:1.25rem; margin-bottom:.5rem; }
.feat p{ font-size:.95rem; }

/* ---------- Room cards ---------- */
.rooms-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:2.2rem; }
.room-card{ background:var(--cream); border-radius:4px; overflow:hidden; box-shadow:var(--shadow-sm);
  border:1px solid var(--line); transition:.5s var(--ease); display:flex; flex-direction:column; }
.room-card:hover{ box-shadow:var(--shadow-lg); transform:translateY(-6px); }
.room-photo{ position:relative; aspect-ratio:4/3; overflow:hidden; }
.room-photo img{ width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease); }
.room-card:hover .room-photo img{ transform:scale(1.07); }
.room-tag{ position:absolute; top:1rem; left:1rem; background:rgba(251,247,239,.92); color:var(--lagoon-deep);
  font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; padding:.5em 1em; border-radius:2px; font-weight:500; }
.room-body{ padding:1.8rem 1.9rem 2rem; display:flex; flex-direction:column; flex:1; }
.room-body h3{ margin-bottom:.5rem; }
.room-feats{ display:flex; flex-wrap:wrap; gap:.5rem .9rem; margin:1rem 0 1.3rem; }
.room-feats li{ font-size:.82rem; color:var(--muted); display:flex; align-items:center; gap:.4em; }
.room-feats svg{ width:15px; height:15px; color:var(--lagoon); flex:none; }
.room-foot{ margin-top:auto; display:flex; align-items:flex-end; justify-content:space-between; gap:1rem; padding-top:1.2rem; border-top:1px solid var(--line); }
.price .from{ font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); display:block; }
.price .amt{ font-family:var(--serif); font-size:1.7rem; color:var(--ink); }
.price .amt small{ font-size:.8rem; color:var(--muted); }

/* ---------- Alt feature rows ---------- */
.feature-row{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,5vw,5rem); align-items:center; }
.feature-row + .feature-row{ margin-top:clamp(3rem,7vw,6rem); }
.feature-row.flip .fr-media{ order:2; }
.fr-media img{ width:100%; aspect-ratio:5/4; object-fit:cover; border-radius:3px; box-shadow:var(--shadow-md); }
.tag-row{ display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1.4rem; }
.chip{ font-size:.76rem; letter-spacing:.04em; padding:.5em 1em; border:1px solid var(--line); border-radius:50px; color:var(--ink-soft); background:var(--cream); }
.chip svg{ width:14px; height:14px; color:var(--lagoon); vertical-align:-2px; margin-right:.3em; }

/* ---------- Dining grid ---------- */
.dish-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
.dish{ position:relative; overflow:hidden; border-radius:3px; aspect-ratio:1; box-shadow:var(--shadow-sm); }
.dish.tall{ aspect-ratio:auto; grid-row:span 2; }
.dish img{ width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease); }
.dish:hover img{ transform:scale(1.08); }
.dish figcaption{ position:absolute; left:0; right:0; bottom:0; padding:1.4rem 1.2rem .9rem;
  color:#fff; font-size:.92rem; font-weight:400;
  background:linear-gradient(transparent,rgba(8,26,24,.78)); opacity:0; transform:translateY(8px); transition:.45s var(--ease); }
.dish:hover figcaption{ opacity:1; transform:none; }

/* meal columns */
.meals{ display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; }
.meal{ text-align:center; padding:2rem 1.4rem; border:1px solid var(--line); border-radius:3px; background:var(--cream); }
.meal .t{ font-size:.72rem; letter-spacing:.22em; text-transform:uppercase; color:var(--clay); }
.meal h3{ margin:.5rem 0 .6rem; }
.meal .hrs{ font-size:.85rem; color:var(--muted); margin-top:.8rem; }

/* ---------- Gallery ---------- */
.gal-filter{ display:flex; flex-wrap:wrap; gap:.6rem; justify-content:center; margin-bottom:2.6rem; }
.gal-filter button{ font-family:var(--sans); font-size:.78rem; letter-spacing:.14em; text-transform:uppercase;
  padding:.65em 1.4em; border-radius:50px; border:1px solid var(--line); color:var(--ink-soft); transition:.35s; background:var(--cream); }
.gal-filter button.active,.gal-filter button:hover{ background:var(--lagoon); color:#fff; border-color:var(--lagoon); }
.masonry{ columns:3; column-gap:1.1rem; }
.masonry figure{ break-inside:avoid; margin-bottom:1.1rem; position:relative; overflow:hidden; border-radius:3px;
  cursor:zoom-in; box-shadow:var(--shadow-sm); }
.masonry img{ width:100%; transition:transform .9s var(--ease),filter .4s; }
.masonry figure::after{ content:"+"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-family:var(--serif); font-size:2.4rem; color:#fff; background:rgba(10,40,36,.28); opacity:0; transition:.4s; }
.masonry figure:hover::after{ opacity:1; }
.masonry figure:hover img{ transform:scale(1.06); }
.masonry figure.hide{ display:none; }

/* lightbox */
.lightbox{ position:fixed; inset:0; z-index:2000; background:rgba(8,22,20,.94); display:none;
  align-items:center; justify-content:center; padding:4vw; }
.lightbox.open{ display:flex; }
.lightbox img{ max-width:92vw; max-height:86vh; object-fit:contain; border-radius:3px; box-shadow:var(--shadow-lg); }
.lb-btn{ position:absolute; color:#fff; font-size:2rem; width:54px; height:54px; display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.35); border-radius:50%; transition:.3s; background:rgba(255,255,255,.05); }
.lb-btn:hover{ background:#fff; color:var(--ink); }
.lb-close{ top:3vh; right:3vw; } .lb-prev{ left:3vw; top:50%; transform:translateY(-50%);} .lb-next{ right:3vw; top:50%; transform:translateY(-50%);}
.lb-cap{ position:absolute; bottom:3vh; left:0; right:0; text-align:center; color:rgba(255,255,255,.8); font-size:.9rem; letter-spacing:.05em; }

/* ---------- Location / attractions ---------- */
.attr-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.2rem; }
.attr{ text-align:left; padding:1.6rem 1.4rem; border-left:2px solid var(--gold); background:var(--cream); border-radius:0 3px 3px 0; }
.attr .d{ font-family:var(--serif); font-size:1.7rem; color:var(--lagoon); }
.attr .n{ font-weight:500; margin-top:.2rem; letter-spacing:.01em; }
.attr .s{ font-size:.84rem; color:var(--muted); }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(2.5rem,5vw,4.5rem); align-items:start; }
.contact-card{ display:flex; gap:1.1rem; padding:1.4rem 0; border-bottom:1px solid var(--line); }
.contact-card:last-child{ border-bottom:none; }
.contact-card .ic{ width:44px; height:44px; flex:none; border-radius:50%; background:var(--lagoon-tint); color:var(--lagoon);
  display:flex; align-items:center; justify-content:center; }
.contact-card .ic svg{ width:20px; height:20px; }
.contact-card h4{ font-family:var(--sans); font-weight:500; font-size:.78rem; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); margin-bottom:.25rem; }
.contact-card p,.contact-card a{ font-size:1.05rem; color:var(--ink); }
.contact-card a:hover{ color:var(--lagoon); }

form .row{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.field{ margin-bottom:1.1rem; }
.field label{ font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); display:block; margin-bottom:.45rem; }
.field input,.field select,.field textarea{
  width:100%; font-family:var(--sans); font-size:1rem; color:var(--ink);
  background:var(--cream); border:1px solid var(--line); border-radius:3px; padding:.85em 1em; transition:.3s;
}
.field input:focus,.field select,.field textarea:focus{ outline:none; border-color:var(--lagoon); box-shadow:0 0 0 3px var(--lagoon-tint); }
.field textarea{ resize:vertical; min-height:120px; }
.form-note{ font-size:.82rem; color:var(--muted); margin-top:.8rem; }
.form-success{ display:none; background:var(--lagoon-tint); border:1px solid var(--lagoon); color:var(--lagoon-deep);
  padding:1rem 1.2rem; border-radius:3px; margin-bottom:1rem; font-size:.95rem; }
.form-success.show{ display:block; }

.map-embed{ width:100%; border:0; border-radius:4px; min-height:340px; box-shadow:var(--shadow-md); filter:saturate(.9); }

/* ---------- CTA band ---------- */
.cta-band{ position:relative; overflow:hidden; text-align:center; }
.cta-band img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; }
.cta-band::after{ content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(rgba(8,30,28,.62),rgba(8,28,26,.72)); }
.cta-band .wrap{ position:relative; color:#fff; }
.cta-band h2{ color:#fff; }
.cta-band p{ color:rgba(255,255,255,.85); }
.cta-actions{ display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; margin-top:2rem; }

/* ---------- Footer ---------- */
.footer{ background:var(--lagoon-deep); color:rgba(251,247,239,.78); padding:clamp(3.5rem,7vw,6rem) 0 0; }
.foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:2.5rem; padding-bottom:3.5rem; }
.foot-brand .brand{ color:var(--cream); margin-bottom:1.2rem; }
.foot-brand p{ color:rgba(251,247,239,.7); font-size:.95rem; max-width:34ch; }
.foot-col h5{ font-family:var(--sans); font-weight:500; font-size:.76rem; letter-spacing:.2em; text-transform:uppercase; color:var(--gold); margin-bottom:1.2rem; }
.foot-col a,.foot-col li{ display:block; color:rgba(251,247,239,.72); font-size:.95rem; padding:.32rem 0; transition:.3s; }
.foot-col a:hover{ color:#fff; padding-left:5px; }
.socials{ display:flex; gap:.7rem; margin-top:1.3rem; }
.socials a{ width:40px; height:40px; border:1px solid rgba(255,255,255,.2); border-radius:50%; display:flex; align-items:center; justify-content:center; padding:0; }
.socials a:hover{ background:var(--gold); border-color:var(--gold); color:var(--lagoon-deep); padding-left:0; }
.socials svg{ width:17px; height:17px; }
.foot-bottom{ border-top:1px solid rgba(255,255,255,.13); padding:1.6rem 0; display:flex; justify-content:space-between; flex-wrap:wrap; gap:1rem; font-size:.82rem; color:rgba(251,247,239,.6); }
.foot-bottom a:hover{ color:#fff; }

/* floating whatsapp */
.wa-float{ position:fixed; right:20px; bottom:20px; z-index:900; width:58px; height:58px; border-radius:50%;
  background:#25D366; box-shadow:0 10px 30px rgba(0,0,0,.25); display:flex; align-items:center; justify-content:center;
  transition:.35s var(--ease); }
.wa-float:hover{ transform:scale(1.08) translateY(-2px); }
.wa-float svg{ width:30px; height:30px; color:#fff; }

/* ---------- Responsive ---------- */
@media(max-width:1024px){
  .feat-grid{ grid-template-columns:repeat(2,1fr); }
  .attr-grid{ grid-template-columns:repeat(2,1fr); }
  .foot-grid{ grid-template-columns:1fr 1fr; gap:2rem; }
  .dish-grid{ grid-template-columns:repeat(2,1fr); }
  .spot-grid{ grid-template-columns:repeat(2,1fr); }
  .lesson-grid{ grid-template-columns:1fr; max-width:480px; margin-inline:auto; }
}
@media(max-width:1024px){
  .nav-links{ display:none; }
  .nav .nav-cta{ display:none; }
  .burger{ display:flex; }
  .split,.feature-row,.feature-row.flip,.contact-grid{ grid-template-columns:1fr; }
  .split.flip .split-media,.feature-row.flip .fr-media{ order:0; }
  .rooms-grid{ grid-template-columns:1fr; }
  .meals{ grid-template-columns:1fr; }
  .masonry{ columns:2; }
  .media-frame::before{ inset:12px -12px -12px 12px; }
}
@media(max-width:560px){
  body{ font-size:16px; }
  .feat-grid,.attr-grid,.dish-grid,.foot-grid,.spot-grid{ grid-template-columns:1fr; }
  .masonry{ columns:1; }
  form .row{ grid-template-columns:1fr; }
  .stat-badge.br{ right:8px; bottom:-18px; }
  .hero-cta .btn{ flex:1; justify-content:center; }
}

/* ---------- Surf spots (Arugam Bay page) ---------- */
.spot-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.spot{ background:var(--cream); border:1px solid var(--line); border-radius:4px; padding:1.7rem 1.6rem; transition:.45s var(--ease); position:relative; overflow:hidden; }
.spot::before{ content:""; position:absolute; top:0; left:0; width:3px; height:0; background:var(--clay); transition:height .5s var(--ease); }
.spot:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:transparent; }
.spot:hover::before{ height:100%; }
.spot h3{ font-size:1.35rem; margin:.2rem 0 .5rem; }
.spot p{ font-size:.94rem; }
.level{ display:inline-block; font-size:.66rem; letter-spacing:.16em; text-transform:uppercase; font-weight:500; padding:.4em .9em; border-radius:50px; margin-bottom:.9rem; }
.level.beg{ background:var(--lagoon-tint); color:var(--lagoon-deep); }
.level.int{ background:#F1E4D2; color:#9A6A2E; }
.level.adv{ background:#F3DCD5; color:var(--clay-deep); }
.level.all{ background:#E4ECDD; color:#4D6238; }
.spot .meta{ font-size:.8rem; color:var(--muted); margin-top:1rem; padding-top:.9rem; border-top:1px solid var(--line); display:flex; gap:1.2rem; flex-wrap:wrap; }
.spot .meta b{ color:var(--ink); font-weight:500; }

/* ---------- Lesson tiers (Surf page) ---------- */
.lesson-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.8rem; }
.lesson{ background:var(--cream); border:1px solid var(--line); border-radius:5px; padding:2.2rem 1.9rem 2rem; display:flex; flex-direction:column; transition:.5s var(--ease); position:relative; }
.lesson:hover{ transform:translateY(-7px); box-shadow:var(--shadow-lg); }
.lesson.featured{ border:2px solid var(--clay); }
.lesson .badge{ position:absolute; top:-12px; left:50%; transform:translateX(-50%); background:var(--clay); color:#fff; font-size:.64rem; letter-spacing:.16em; text-transform:uppercase; padding:.5em 1.1em; border-radius:50px; white-space:nowrap; }
.lesson .ic{ width:40px; height:40px; color:var(--lagoon); margin-bottom:1rem; }
.lesson h3{ font-size:1.45rem; margin-bottom:.3rem; }
.lesson .who{ font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; color:var(--clay); margin-bottom:1rem; }
.lesson .price2{ font-family:var(--serif); font-size:2.3rem; color:var(--ink); line-height:1; margin:.4rem 0 .2rem; }
.lesson .price2 small{ font-size:.85rem; color:var(--muted); font-family:var(--sans); }
.lesson ul.inc{ margin:1.2rem 0 1.6rem; display:flex; flex-direction:column; gap:.6rem; }
.lesson ul.inc li{ font-size:.92rem; color:var(--ink-soft); display:flex; gap:.6em; align-items:flex-start; }
.lesson ul.inc svg{ width:16px; height:16px; color:var(--lagoon); flex:none; margin-top:.3em; }
.lesson .btn{ margin-top:auto; justify-content:center; }

/* reduced motion */
@media(prefers-reduced-motion:reduce){
  *{ animation:none !important; transition-duration:.01ms !important; }
  .reveal{ opacity:1; transform:none; }
}

/* ============================================================
   v2 ADDITIONS — slideshow, booking, wellness, 9-item nav, mobile
   ============================================================ */

/* ---------- Hero auto slideshow ---------- */
.hero-slides{ position:absolute; inset:0; z-index:-2; overflow:hidden; }
.hero-slides .slide{ position:absolute; inset:0; opacity:0; transition:opacity 1.7s ease-in-out; }
.hero-slides .slide.active{ opacity:1; }
.hero-slides .slide img{ width:100%; height:100%; object-fit:cover; transform:scale(1.06); }
.hero-slides .slide.active img{ animation:slidezoom 7.5s ease-out forwards; }
@keyframes slidezoom{ from{ transform:scale(1.06);} to{ transform:scale(1.15);} }
.hero-dots{ position:absolute; left:50%; bottom:1.4rem; transform:translateX(-50%); display:flex; gap:.55rem; z-index:4; }
.hero-dots button{ width:9px; height:9px; border-radius:50px; background:rgba(255,255,255,.45); border:0; transition:.4s var(--ease); cursor:pointer; padding:0; }
.hero-dots button.active{ background:#fff; width:28px; }

/* ---------- Booking page ---------- */
.book-tabs{ display:flex; flex-wrap:wrap; gap:.6rem; justify-content:center; margin-bottom:2.6rem; }
.book-tabs button{ font-family:var(--sans); font-size:.8rem; letter-spacing:.1em; text-transform:uppercase; padding:.85em 1.6em; border-radius:50px; border:1px solid var(--line); color:var(--ink-soft); background:var(--cream); transition:.35s; display:inline-flex; gap:.5em; align-items:center; }
.book-tabs button svg{ width:17px; height:17px; }
.book-tabs button.active,.book-tabs button:hover{ background:var(--lagoon); color:#fff; border-color:var(--lagoon); }
.book-panel{ display:none; }
.book-panel.active{ display:block; animation:fadein .5s var(--ease); }
@keyframes fadein{ from{ opacity:0; transform:translateY(10px);} to{ opacity:1; transform:none;} }
.engine-slot{ border:2px dashed var(--gold); border-radius:6px; padding:clamp(2rem,5vw,3.5rem) 1.5rem; text-align:center; background:var(--cream); }
.engine-slot .ic{ width:46px; height:46px; color:var(--lagoon); margin:0 auto 1rem; }
.engine-slot h3{ margin-bottom:.5rem; }
.engine-note{ font-size:.86rem; color:var(--muted); max-width:46ch; margin:1rem auto 0; }

/* ---------- 9-item nav (Wellness + Book) ---------- */
.nav-links{ gap:1.05rem; }
.nav-links a{ font-size:.73rem; letter-spacing:.07em; }
@media(max-width:1200px){
  .nav-links{ display:none; }
  .nav .nav-cta{ display:none; }
  .burger{ display:flex; }
}

/* ---------- Mobile clarity pass ---------- */
@media(max-width:760px){
  .hero{ min-height:90svh; }
  .pagehero{ min-height:54vh; }
  .section{ padding:3.6rem 0; }
  .section.tight{ padding:2.6rem 0; }
  .feature-row + .feature-row{ margin-top:2.6rem; }
  .stat-badge{ padding:.9rem 1.1rem; }
  .stat-badge .n{ font-size:1.7rem; }
  .lead{ font-size:1.06rem; }
}
@media(max-width:560px){
  h1{ font-size:clamp(2.3rem,9.5vw,3rem); line-height:1.08; }
  .hero-inner{ padding-bottom:3.2rem; }
  .pagehero .inner{ padding-bottom:2.2rem; }
  .btn{ padding:.95em 1.5em; font-size:.8rem; }
  .hero-cta{ gap:.7rem; }
  .book-tabs button{ padding:.7em 1.1em; font-size:.74rem; }
  .wa-float{ width:52px; height:52px; right:14px; bottom:14px; }
  .lightbox .lb-prev{ left:1vw; } .lightbox .lb-next{ right:1vw; }
  .lb-btn{ width:44px; height:44px; }
  .stat-badge.br{ right:6px; bottom:-16px; }
}

/* fix: attraction numbers readable on dark sections */
.bg-lagoon .attr .d{ color:var(--gold); }
.bg-lagoon .attr .s{ color:rgba(255,255,255,.8) !important; }

/* ============================================================
   v3 — PROFESSIONAL MOBILE PASS (authoritative; overrides above)
   ============================================================ */
*{ min-width:0; }
img,svg,iframe,video,.split-media,.fr-media{ max-width:100%; }

/* ---- Tablet & below: stacking + remove overflow sources ---- */
@media (max-width:1024px){
  .split,.feature-row,.feature-row.flip,.contact-grid{ grid-template-columns:1fr; gap:2.4rem; }
  .split.flip .split-media,.feature-row.flip .fr-media{ order:0; }
  .media-frame::before{ display:none; }                 /* decorative frame caused right overflow */
  .split [style*="text-align:right"]{ text-align:left !important; }
  .fr-media img,.split-media img{ aspect-ratio:16/10; width:100%; }
  .split>div,.feature-row>div{ min-width:0; }
}

/* ---- Phones ---- */
@media (max-width:760px){
  .nav{ padding:.95rem 1.1rem; }
  .brand-name{ font-size:1.32rem; }
  .brand-sub{ font-size:.52rem; letter-spacing:.34em; }
  .hero{ min-height:86svh; }
  .pagehero{ min-height:48vh; }
  .hero-inner{ padding-top:7rem; padding-bottom:2.8rem; }
  .pagehero .inner{ padding-top:6.5rem; padding-bottom:1.8rem; }
  .section{ padding:3.4rem 0; }
  .section.tight{ padding:2.4rem 0; }
  h1{ font-size:clamp(2.2rem,8.5vw,3.1rem); line-height:1.08; }
  h2{ font-size:clamp(1.85rem,6.4vw,2.5rem); }
  .lead{ font-size:1.04rem; line-height:1.7; }
  .split{ gap:2rem; }
  .split-media img,.fr-media img{ border-radius:5px; }
  /* welcome badge: keep inside the column, overlap cleanly */
  .stat-badge{ position:static !important; display:inline-flex; flex-direction:column;
    margin:-2.4rem 0 0 1rem; }
  .stat-badge.br{ right:auto; bottom:auto; }
  /* full-width stacked CTAs */
  .hero-cta,.cta-actions{ width:100%; }
  .hero-cta .btn,.cta-actions .btn{ flex:1 1 100%; justify-content:center; }
  /* room card footer stacks */
  .room-foot{ flex-direction:column; align-items:stretch; gap:.9rem; }
  .room-foot .btn{ width:100%; justify-content:center; }
  .room-foot>div{ width:100%; justify-content:center; }
  .price{ text-align:center; }
  /* contact / booking columns */
  .contact-card{ gap:.9rem; }
  /* mobile menu fits 10 items + scrolls if short screen */
  .mobile-menu{ justify-content:flex-start; gap:.85rem; padding:5.5rem 1.4rem 2rem; overflow-y:auto; }
  .mobile-menu a{ font-size:1.5rem; }
  .mobile-menu .msub{ margin-top:.8rem; }
  /* tighten decorative dot stagger spacing */
  .reveal.d1,.reveal.d2,.reveal.d3,.reveal.d4{ transition-delay:0s; }
}

/* ---- Small phones ---- */
@media (max-width:480px){
  .wrap{ width:90%; }
  .btn{ padding:.92em 1.3em; font-size:.75rem; letter-spacing:.1em; }
  .btn-lg{ padding:1.05em 1.4em; font-size:.78rem; }
  .eyebrow{ font-size:.66rem; letter-spacing:.24em; }
  .eyebrow::before,.eyebrow.center::after{ width:18px; }
  .chip{ font-size:.72rem; padding:.45em .85em; }
  .gal-filter{ gap:.45rem; }
  .gal-filter button{ padding:.5em 1em; font-size:.7rem; }
  .book-tabs button{ padding:.6em .9em; font-size:.7rem; }
  .lesson,.spot,.feat{ padding:1.5rem 1.35rem; }
  .lesson-grid{ gap:1.2rem; }
  .price2{ font-size:2rem; }
  .stat-badge .n{ font-size:1.5rem; }
  .field input,.field select,.field textarea{ font-size:16px; }   /* prevents iOS zoom */
  .wa-float{ width:50px; height:50px; right:12px; bottom:12px; }
  .lb-btn{ width:42px; height:42px; font-size:1.5rem; }
}

/* ---- Tiny phones: let long buttons wrap instead of overflowing ---- */
@media (max-width:360px){
  .btn{ white-space:normal; text-align:center; }
  h1{ font-size:2rem; }
}

/* ============================================================
   v4 — LUXURY MOBILE-FIRST REBUILD (authoritative)
   ============================================================ */
img.img-in{ animation:imgfade .85s ease both; }
@keyframes imgfade{ from{ opacity:0; } to{ opacity:1; } }
.btn{ -webkit-tap-highlight-color:transparent; }
.btn:active{ transform:translateY(0) scale(.97); }
.nav-links a, .mobile-menu a, .book-tabs button, .gal-filter button{ -webkit-tap-highlight-color:transparent; }

/* keep the Book button visible once the link bar collapses */
@media(max-width:1200px){
  .nav .nav-cta{ display:inline-flex; }
}

/* ============ Phones & small tablets ============ */
@media(max-width:768px){
  body{ font-size:16px; }
  .wrap{ width:88%; }
  .section{ padding:3.4rem 0; }
  .section.tight{ padding:2.3rem 0; }

  /* ---- nav ---- */
  .nav{ padding:.8rem 1rem; }
  .brand .mark{ width:30px; height:30px; }
  .brand-name{ font-size:1.24rem; }
  .brand-sub{ font-size:.5rem; letter-spacing:.3em; }
  .nav .nav-cta{ padding:.6em .95em; font-size:.66rem; letter-spacing:.1em; margin-left:0; }
  .burger{ width:44px; height:44px; gap:5px; }
  .burger span{ width:22px; }

  /* ---- premium mobile menu ---- */
  .mobile-menu{ gap:.1rem; justify-content:center; padding:4.6rem 1.4rem 2rem; overflow-y:auto; }
  .mobile-menu a{ font-size:1.42rem; min-height:46px; width:100%;
    display:flex; align-items:center; justify-content:center; padding:.35rem 0; }
  .mobile-menu a[style]{ margin-top:1.1rem; border:1px solid var(--gold); border-radius:3px;
    width:auto; padding:.7rem 2.2rem; font-size:1.05rem; letter-spacing:.06em; }
  .mobile-menu .msub{ margin-top:1.3rem; font-size:.72rem; }
  .mclose{ width:46px; height:46px; display:flex; align-items:center; justify-content:center; top:1rem; right:1rem; }

  /* ---- HERO: full screen, centered ---- */
  .hero{ min-height:100svh; align-items:center; justify-content:center; text-align:center; }
  .hero::after{ background:linear-gradient(180deg, rgba(8,26,24,.5), rgba(8,24,22,.32) 42%, rgba(7,22,20,.72)); }
  .hero-inner{ padding:6.5rem 0 4.5rem; text-align:center; display:flex; flex-direction:column; align-items:center; }
  .hero .eyebrow{ justify-content:center; }
  .hero h1{ max-width:15ch; margin:.6rem auto 1.1rem; }
  .hero .lead{ max-width:34ch; margin-inline:auto; }
  .hero-cta{ width:100%; max-width:320px; margin:2rem auto 0; flex-direction:column; gap:.8rem; }
  .hero-cta .btn{ width:100%; justify-content:center; }
  .hero-dots{ bottom:1rem; }
  .hero-scroll{ display:none; }

  /* ---- PAGE HERO: centered ---- */
  .pagehero{ min-height:56vh; align-items:center; justify-content:center; text-align:center; }
  .pagehero .inner{ padding:6.5rem 0 1.8rem; display:flex; flex-direction:column; align-items:center; }
  .pagehero .eyebrow{ justify-content:center; }
  .crumbs{ justify-content:center; }

  /* ---- typography ---- */
  h1{ font-size:clamp(2.25rem,8.8vw,3rem); line-height:1.1; }
  h2{ font-size:clamp(1.8rem,6.6vw,2.4rem); line-height:1.14; }
  h3{ font-size:1.38rem; }
  .lead{ font-size:1.05rem; line-height:1.78; }
  p{ line-height:1.8; }
  .eyebrow{ letter-spacing:.28em; }

  /* ---- single column, centered & balanced ---- */
  .split, .feature-row, .feature-row.flip, .contact-grid{ grid-template-columns:1fr; gap:2.2rem; }
  .split.flip .split-media, .feature-row.flip .fr-media{ order:0; }
  .split .stack, .feature-row .stack{ text-align:center; display:flex; flex-direction:column; align-items:center; }
  .sec-head{ text-align:center; margin-inline:auto; }
  .tag-row{ justify-content:center; }
  .cta-actions{ justify-content:center; }
  .stack .textlink{ align-self:center; }
  .split [style*="text-align:right"]{ text-align:center !important; }
  .split[style*="align-items:flex-end"]{ align-items:center; }

  /* ---- images: consistent, centered, no overflow ---- */
  .media-frame::before{ display:none; }
  .split-media img, .fr-media img{ width:100%; aspect-ratio:4/3; object-fit:cover;
    border-radius:12px; box-shadow:var(--shadow-md); }
  .stat-badge{ position:static !important; display:inline-flex; flex-direction:column;
    align-items:center; text-align:center; margin:-1.9rem auto 0; }
  .stat-badge.br{ right:auto; bottom:auto; }

  /* ---- cards: centered & full width ---- */
  .feat, .lesson, .meal, .spot{ text-align:center; }
  .feat .ic, .lesson .ic{ margin-left:auto; margin-right:auto; }
  .lesson ul.inc{ text-align:left; max-width:250px; margin-inline:auto; }
  .spot .meta{ justify-content:center; }
  .room-feats{ justify-content:center; }
  .room-foot{ flex-direction:column; align-items:center; gap:1rem; text-align:center; border-top:1px solid var(--line); }
  .room-foot .btn, .room-foot>div{ width:100%; justify-content:center; }
  .price{ text-align:center; }

  /* ---- buttons: tappable & centered ---- */
  .btn{ min-height:48px; }
  .cta-actions{ width:100%; max-width:330px; margin-inline:auto; flex-direction:column; }
  .cta-actions .btn{ width:100%; justify-content:center; }

  /* ---- forms ---- */
  form .row{ grid-template-columns:1fr; }
  .contact-card{ text-align:left; }

  /* ---- footer centered ---- */
  .foot-grid{ grid-template-columns:1fr; gap:2.1rem; text-align:center; }
  .foot-brand .brand{ justify-content:center; }
  .foot-brand p{ margin-inline:auto; }
  .socials{ justify-content:center; }
  .foot-col a:hover{ padding-left:0; }
  .foot-bottom{ justify-content:center; text-align:center; gap:.5rem; }

  /* ---- gallery ---- */
  .masonry{ columns:1; }
  .dish-grid{ grid-template-columns:1fr; }
}

/* ============ Small phones ============ */
@media(max-width:480px){
  .wrap{ width:90%; }
  h1{ font-size:clamp(2.05rem,9.5vw,2.6rem); }
  h2{ font-size:clamp(1.7rem,7vw,2.1rem); }
  .btn, .btn-lg{ font-size:.76rem; padding:1.05em 1.4em; letter-spacing:.1em; }
  .eyebrow{ font-size:.64rem; letter-spacing:.22em; }
  .eyebrow::before, .eyebrow.center::after{ width:18px; }
  .chip{ font-size:.72rem; }
  .field input,.field select,.field textarea{ font-size:16px; }
  .book-tabs{ gap:.4rem; }
  .book-tabs button{ padding:.6em .85em; font-size:.7rem; }
  .lesson, .feat, .spot{ padding:1.6rem 1.35rem; }
  .price2{ font-size:1.95rem; }
  .stat-badge .n{ font-size:1.5rem; }
  .wa-float{ width:52px; height:52px; right:13px; bottom:13px; }
}

/* ============ Tiny phones (iPhone SE width) ============ */
@media(max-width:380px){
  .brand-sub{ display:none; }
  .nav .nav-cta{ padding:.55em .8em; font-size:.62rem; }
  .btn{ white-space:normal; text-align:center; }
  h1{ font-size:2rem; }
}

/* ============ Spot photos (surf breaks) + POI photo grid (things to do) ============ */
.spot-photo{ margin:-1.7rem -1.6rem 1.3rem; aspect-ratio:16/10; overflow:hidden; }
.spot-photo img{ width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease); }
.spot:hover .spot-photo img{ transform:scale(1.06); }

.poi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
.poi{ position:relative; border-radius:6px; overflow:hidden; aspect-ratio:4/3; box-shadow:var(--shadow-sm); display:block; }
.poi img{ width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease); }
.poi:hover img{ transform:scale(1.07); }
.poi::after{ content:""; position:absolute; inset:0; background:linear-gradient(transparent 38%, rgba(8,26,24,.84)); }
.poi-cap{ position:absolute; left:0; right:0; bottom:0; padding:1.5rem 1.2rem 1.1rem; z-index:2; text-align:left; }
.poi-cap h3{ color:#fff; font-size:1.16rem; margin:0; line-height:1.15; }
.poi-cap p{ color:rgba(255,255,255,.82); font-size:.82rem; margin-top:.28rem; line-height:1.5; }
@media(max-width:1024px){ .poi-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .poi-grid{ grid-template-columns:1fr; } .poi-cap{ text-align:center; } }

/* ============ FIX: force single-column card grids on mobile (override late base rules) ============ */
@media(max-width:1024px){
  .lesson-grid{ grid-template-columns:1fr !important; max-width:460px; margin-inline:auto; }
  .spot-grid{ grid-template-columns:repeat(2,1fr) !important; }
}
@media(max-width:600px){
  .spot-grid{ grid-template-columns:1fr !important; }
}

/* logo mark sizing */
.brand .mark{ width:40px; height:40px; filter:drop-shadow(0 1px 2px rgba(0,0,0,.28)); }
@media(max-width:768px){ .brand .mark{ width:34px; height:34px; } }
