/* ── SHARED STYLES — Puri Beach Resort ──────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');
.mi {
  font-family: 'Material Symbols Outlined';
  font-weight: normal; font-style: normal;
  font-size: inherit; line-height: 1;
  letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap;
  word-wrap: normal; direction: ltr;
  -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}
:root {
  --ink:     #1a2e1a;        /* deep coastal text */
  --cream:   #fdf8f0;        /* warm sandy white */
  --off:     #f5ede0;        /* soft sand */
  --ocean:   #1b3a4b;        /* deep sea blue */
  --wave:    #2e6a8a;        /* mid ocean blue */
  --seafoam: #5ba8b5;        /* seafoam teal */
  --sky:     #d4eaf0;        /* pale sky */
  --sand:    #e8a020;        /* warm amber/sunrise */
  --dune:    #fdf0d5;        /* pale sand dune */
  --coral:   #c75b39;        /* warm terracotta/coral */
  --gold:    #c47f10;        /* deep amber gold */
  --dusk:    #3d6b7a;        /* dusk teal */
  --light:   #fdf6ee;        /* warmest sand */
  --serif:   'Cormorant Garamond', Georgia, serif;
  --display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --sans:    'Inter', system-ui, sans-serif;
  --nav-h:   66px;
  --r-sm:    8px;
  --r-md:    14px;
  --r-lg:    20px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
/* Force lining numerals globally — prevents old-style figures in Cormorant/Playfair */
[class*="serif"], [style*="serif"], .serif,
h1, h2, h3, h4, h5, h6 {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
}
html { scroll-behavior: smooth; overflow-x: hidden; width: 100% }
body { background: var(--cream); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
}
img { display: block; max-width: 100% }
a { text-decoration: none; color: inherit }
button { cursor: pointer; border: none; background: none; font-family: var(--sans) }
address { font-style: normal }

/* ── UTILITY ─────────────────────────────────── */
.eyebrow {
  font-size: .52rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--sand); margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; opacity: .6 }

/* ── Scroll reveal base ── */
.rv        { opacity: 0; transform: translateY(28px);   transition: opacity .7s ease,  transform .7s ease }
.rv2       { opacity: 0; transform: translateY(20px);   transition: opacity .7s .14s ease, transform .7s .14s ease }
.rv-left   { opacity: 0; transform: translateX(-36px);  transition: opacity .75s ease, transform .75s ease }
.rv-right  { opacity: 0; transform: translateX(36px);   transition: opacity .75s ease, transform .75s ease }
.rv-scale  { opacity: 0; transform: scale(.94);         transition: opacity .7s ease,  transform .7s ease }
.rv.in, .rv2.in, .rv-left.in, .rv-right.in, .rv-scale.in { opacity: 1; transform: none }

/* ── img-box zoom-in on reveal ── */
.img-box { overflow: hidden }
.img-box img { transition: transform .9s ease }
.rv-scale.in .img-box img,
.rv.in .img-box img { transform: scale(1) }
.img-box img { transform: scale(1.04) }
.rv.in .img-box img,
.rv-scale.in .img-box img { transform: scale(1) }

.img-box {
  position: relative; overflow: hidden;
  background: var(--sky);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.img-box::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none; z-index: 1;
}
.img-box img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 2;
}
.img-box img {
  opacity: 0;
  transition: opacity .5s ease, transform .9s ease;
}
.img-box img.img-loaded,
.img-box img.img-no-fade { opacity: 1 }

/* ── NAV ─────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
  background: linear-gradient(to bottom, rgba(28,43,53,.28), rgba(28,43,53,.0));
}
@media(max-width:1024px) { #nav { padding: 0 32px } }
#nav.scrolled {
  background: rgba(253,248,240,.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(7,28,53,.08);
}
/* inner pages: nav is always solid (no large hero behind it) */
body.inner-page #nav {
  background: rgba(253,248,240,.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(7,28,53,.08);
}
.nav-logo { display: flex; align-items: center }
.nav-logo-img {
  height: 46px; width: auto; display: block;
  transition: filter .4s;
}

.nav-links { display: flex; gap: 6px; align-items: center }
.nav-links a {
  font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.85); transition: color .3s;
  position: relative; padding: 8px 10px 6px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 2px; left: 10px; right: 10px;
  height: 1px; background: var(--gold); transform: scaleX(0);
  transition: transform .3s ease;
}
.nav-links a:hover, .nav-links a.active { color: #fff }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1) }
#nav.scrolled .nav-links a, body.inner-page #nav .nav-links a { color: rgba(7,28,53,.65) }
#nav.scrolled .nav-links a:hover, #nav.scrolled .nav-links a.active,
body.inner-page #nav .nav-links a:hover, body.inner-page #nav .nav-links a.active { color: var(--ocean) }
.nav-call {
  display: inline-flex; align-items: center; gap: 5px; color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: 6px 12px; border-radius: var(--r-sm); transition: background .2s, border-color .2s, color .2s;
  font-size: .68rem; letter-spacing: .04em;
}
.nav-call .mi { font-size: 1rem }
.nav-call-num { font-size: .68rem; font-weight: 500 }
.nav-call::after { display: none !important }
.nav-call:hover { background: rgba(255,255,255,.22) !important; border-color: rgba(255,255,255,.4) }
#nav.scrolled .nav-call,
body.inner-page #nav .nav-call { background: rgba(13,43,78,.08); border-color: rgba(13,43,78,.2); color: var(--ocean) !important }
#nav.scrolled .nav-call:hover,
body.inner-page #nav .nav-call:hover { background: rgba(13,43,78,.14) !important }
.nav-book {
  background: var(--sand); color: var(--ocean) !important;
  padding: 9px 22px; font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; transition: background .2s, transform .2s; border-radius: var(--r-sm);
}
.nav-book::after { display: none !important }
.nav-book:hover { background: var(--gold) !important; color: #fff !important; transform: translateY(-1px) }

/* ── BOOKING BUTTON (shared across all "Book Now"/"Book Online" links) ── */
.book-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--sand); color: var(--ocean) !important;
  padding: 13px 28px; font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
  border-radius: var(--r-sm); border: none; cursor: pointer;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(201,168,76,.25);
}
.book-btn::before { content: none !important }
.book-btn:hover { background: var(--gold) !important; color: #fff !important; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,168,76,.35) }
.book-btn.book-btn-sm { padding: 10px 20px; font-size: .62rem }
.hamburger span { background: #fff; transition: background .4s }
#nav.scrolled .hamburger span, body.inner-page #nav .hamburger span { background: var(--ink) }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  padding: 8px; background: none; border: none;
}
.hamburger span { display: block; width: 22px; height: 1px; background: #fff; transition: .3s }
@media(max-width:900px) {
  .hamburger { display: flex }
  .nav-links  { display: none }
  #nav        { padding: 0 22px }
}
@media(max-width:560px) {
  .nav-call { display: none }
}
#mobile-nav {
  position: fixed; inset: 0; z-index: 950;
  background: rgba(28,43,53,.98);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
#mobile-nav.open { opacity: 1; pointer-events: all }
.mobile-close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: rgba(255,255,255,.5);
  background: none; border: none; cursor: pointer; line-height: 1;
}
#mobile-nav a {
  font-family: var(--serif); font-size: 2rem; font-weight: 300;
  color: rgba(255,255,255,.75); transition: color .2s;
}
#mobile-nav a:hover { color: #fff }
#mobile-nav .nav-book { font-family: var(--sans); font-size: .6rem; font-weight: 500; padding: 12px 32px }
.mobile-call { font-family: var(--sans) !important; font-size: .68rem !important; letter-spacing: .08em; color: rgba(255,255,255,.5) !important; display: flex; align-items: center; gap: 6px }
.mobile-call .mi { font-size: 1rem }

/* ── PAGE HERO (inner pages) ─────────────────── */
.page-hero {
  height: 46vh; min-height: 320px;
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 0 52px 56px;
}
@media(max-width:1024px) { .page-hero { padding: 0 36px 48px } }
.page-hero .img-box { position: absolute; inset: 0; width: 100%; height: 100% }
.page-hero .img-box img { filter: brightness(.4) }
.page-hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,43,53,.88) 0%, transparent 60%);
}
.page-hero-body { position: relative; z-index: 2 }
.page-hero-loc {
  font-size: .5rem; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.page-hero-loc::before { content:''; width:20px; height:1px; background:rgba(255,255,255,.25) }
.page-hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: .88; letter-spacing: -.03em; color: #fff;
}
.page-hero h1 strong { font-weight: 600 }
@media(max-width:768px) { .page-hero { padding: 0 24px 44px } }

/* ── FOOTER ──────────────────────────────────── */
footer { background: var(--ink); border-top: 3px solid var(--sand) }
.ft-inner { max-width: 1200px; margin: 0 auto; padding: 0 52px }
@media(max-width:768px) { .ft-inner { padding: 0 24px } }
.ft-logo-strip {
  display: flex; justify-content: center; align-items: center;
  padding: 16px 0 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.ft-logo-strip .ft-logo-img { margin: 0 0 14px; }
.ft-main {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 56px; padding: 28px 0 32px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
@media(max-width:1024px) { .ft-main { grid-template-columns: 1fr 1fr; gap: 40px; padding: 24px 0 24px } }
@media(max-width:768px) {
  .ft-main { grid-template-columns: 1fr; gap: 24px; padding: 18px 0 18px }
  .ft-main > *:not(:nth-child(2)) { display: none }
}
.ft-logo-img { height: 52px; width: auto; display: block; margin-bottom: 20px; }
.ft-brand-sub { font-family: var(--serif); font-style: italic; font-size: .88rem; color: var(--sand); margin-bottom: 14px; display: block }
.ft-brand-body { font-size: .78rem; line-height: 1.9; color: rgba(255,255,255,.65); max-width: 28ch; margin-bottom: 24px }
@media(max-width:768px) { .ft-brand-body { margin-bottom: 14px } }
.ft-contact-line { display: flex; align-items: flex-start; gap: 10px; font-size: .78rem; line-height: 1.7; color: rgba(255,255,255,.55); margin-bottom: 10px }
.ft-contact-icon { color: var(--sand); flex-shrink: 0; margin-top: 1px; font-size: 1rem; width: 16px; text-align: center }
.ft-contact-social { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 4px }
.ft-socials { display: flex; gap: 8px; flex-shrink: 0; margin-top: 14px }
.ft-social { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); transition: background .2s, border-color .2s, color .2s }
.ft-social:hover { background: var(--ocean); border-color: var(--ocean); color: #fff }
.ft-social svg { width: 15px; height: 15px; fill: currentColor }
@media(max-width:768px) { .ft-contact-social { flex-direction: column; align-items: flex-start } }
.ft-col-label { font-size: .46rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 400; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.06) }
@media(max-width:768px) { .ft-col-label { margin-bottom: 12px; padding-bottom: 8px } }
.ft-col a { display: flex; align-items: center; gap: 7px; font-size: .78rem; color: rgba(255,255,255,.7); margin-bottom: 11px; line-height: 1.4; transition: color .2s }
.ft-col a::before { content: 'chevron_right'; font-family: 'Material Symbols Outlined'; font-size: .85rem; opacity: .3; font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20; flex-shrink: 0 }
.ft-col a:hover { color: var(--sand) }
.ft-col a:hover::before { opacity: .7 }
@media(max-width:768px) {
  .ft-col-label { text-align: center }
  .ft-col { display: flex; flex-wrap: wrap; justify-content: center; align-items: center }
  .ft-col a {
    display: inline-flex; margin: 0 10px 8px;
    width: auto;
  }
  .ft-col a::before { content: none }
  .ft-col a::after { content: '•'; margin-left: 10px; opacity: .3; color: rgba(255,255,255,.4) }
  .ft-col a:last-child::after { content: none }
}
.ft-socials a::before { content: none }
@media(max-width:768px) { .ft-dupe { display: none } }
.ft-bot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 0 14px }
@media(max-width:768px) {
  .ft-bot { padding: 8px 0 12px; justify-content: center }
  .ft-bot > *:not(.ft-designed) { display: none }
}
.ft-copy { font-size: .6rem; color: rgba(255,255,255,.55) }
.ft-designed { font-size: .6rem; color: rgba(255,255,255,.55) }
.ft-designed a { color: rgba(255,255,255,.7); border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 1px; transition: color .2s }
.ft-designed a:hover { color: #fff }

/* ── FLOATING ACTIONS ────────────────────────── */
.float-whatsapp {
  position: fixed; bottom: 80px; right: 24px; z-index: 800;
  width: 48px; height: 48px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  transition: transform .2s, box-shadow .2s;
}
.float-whatsapp:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.45) }
.float-whatsapp svg { width: 24px; height: 24px; fill: #fff }
.float-contact {
  position: fixed; bottom: 24px; right: 24px; z-index: 800;
  background: var(--sand); color: var(--ink);
  font-size: .52rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; font-family: var(--sans);
  padding: 11px 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  transition: background .2s; white-space: nowrap;
}
.float-contact:hover { background: #c9a234 }
#scroll-top {
  position: fixed; bottom: 140px; right: 24px; z-index: 800;
  width: 40px; height: 40px; border: 1px solid rgba(28,43,53,.15);
  background: #fff; display: none; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--ink); cursor: pointer;
  box-shadow: 0 2px 12px rgba(28,43,53,.1); transition: background .2s;
}
#scroll-top.show { display: flex }
#scroll-top:hover { background: var(--ocean); color: #fff; border-color: var(--ocean) }
