/* ═══════════════════════════════════════════════════════════════════════
   Parapat Water Village Resort — style.css
   Font: Cabinet Grotesk + DM Sans
   Accent: Dark Emerald #065f46   Footer bg: #000e0a
   Button radius: 0.25rem (square)   Section pad: 48px (tight)
   ═══════════════════════════════════════════════════════════════════════ */

/* ── CSS Variables ───────────────────────────────────────────────────── */
:root {
  --accent:       #065f46;
  --accent-hover: #047857;
  --accent-light: #d1fae5;
  --font-heading: 'Cabinet Grotesk', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --btn-radius:   0.25rem;
  --img-radius:   1rem;
  --max-w:        1200px;
  --navbar-h:     80px;
  --section-pad:  48px;
  --text:         #111827;
  --text-muted:   #6b7280;
  --bg:           #ffffff;
  --bg-alt:       #f0fdf4;
  --border:       #d1fae5;
  --footer-bg:    #000e0a;
  --footer-text:  #e2e8f0;
  --footer-muted: #94a3b8;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.10);
}

/* ── Reset & Base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family:  var(--font-body);
  font-size:    1.0625rem;
  line-height:  1.65;
  color:        var(--text);
  background:   var(--bg);
  overflow-x:   hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family:   var(--font-heading);
  line-height:   1.2;
  color:         var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 1.25rem; }
h3 { font-size: 1.3125rem; font-weight: 600; margin-bottom: 0.75rem; }
h4 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  width:        100%;
  max-width:    var(--max-w);
  margin-left:  auto;
  margin-right: auto;
  padding:      0 1.5rem;
  box-sizing:   border-box;
}

section { padding: var(--section-pad) 0; }

.section-eyebrow {
  font-size:      1.0625rem;
  font-weight:    600;
  color:          var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom:  0.5rem;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display:         inline-block;
  padding:         0.875rem 1.75rem;
  border-radius:   var(--btn-radius);
  font-family:     var(--font-body);
  font-size:       1.0625rem;
  font-weight:     700;
  cursor:          pointer;
  text-decoration: none;
  transition:      background 0.2s, color 0.2s, border-color 0.2s;
  border:          2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color:      #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background:   var(--accent-hover);
  border-color: var(--accent-hover);
  text-decoration: none;
}

.btn-outline {
  background:   transparent;
  color:        #fff;
  border-color: rgba(255,255,255,0.8);
}
.btn-outline:hover {
  background:   rgba(255,255,255,0.15);
  text-decoration: none;
}

/* ── Navbar ──────────────────────────────────────────────────────────── */
.navbar {
  position:         fixed;
  top:              0;
  left:             0;
  width:            100%;
  z-index:          1000;
  height:           var(--navbar-h);
  background:       transparent;
  transition:       background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background:      rgba(255,255,255,0.97);
  box-shadow:      0 1px 0 var(--border);
  backdrop-filter: blur(12px);
}
.navbar.scrolled .navbar-links a { color: var(--text); }
.navbar.scrolled .navbar-links .nav-cta a {
  background:    var(--accent);
  color:         #fff;
  border-radius: var(--btn-radius);
  padding:       0.5rem 1.25rem;
}
.navbar.scrolled .logo-navbar { filter: none; }
.navbar.scrolled .hamburger span { background: var(--text); }

.navbar-inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  height:          100%;
}

.navbar-logo {
  display:     flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-navbar {
  height:      var(--navbar-h);
  width:       auto;
  object-fit:  contain;
  filter:      brightness(0) invert(1);
}

.navbar-links {
  display:     flex;
  align-items: center;
  gap:         1.75rem;
}

.navbar-links a {
  color:       rgba(255,255,255,0.92);
  font-size:   1.0625rem;
  font-weight: 600;
  transition:  color 0.2s;
  text-decoration: none;
}
.navbar-links a:hover { color: #fff; }

.navbar-links .nav-cta a {
  background:    var(--accent);
  color:         #fff !important;
  border-radius: var(--btn-radius);
  padding:       0.5rem 1.25rem;
}
.navbar-links .nav-cta a:hover { background: var(--accent-hover); }

.hamburger {
  display:         none;
  flex-direction:  column;
  gap:             5px;
  background:      none;
  border:          none;
  cursor:          pointer;
  padding:         0.5rem;
  z-index:         1100;
}
.hamburger span {
  display:          block;
  width:            24px;
  height:           2px;
  background:       #fff;
  border-radius:    2px;
  transition:       background 0.2s;
}

@media (max-width: 900px) {
  .navbar-links { display: none; }
  .hamburger    { display: flex; }
  .navbar {
    background:      rgba(255,255,255,0.96);
    box-shadow:      0 1px 0 var(--border);
    backdrop-filter: blur(12px);
  }
  .logo-navbar            { filter: none; }
  .hamburger span         { background: var(--text); }
}

/* ── Mobile Menu ─────────────────────────────────────────────────────── */
.mobile-menu {
  position:         fixed;
  top:              0;
  left:             0;
  width:            100%;
  max-height:       calc(100vh - var(--navbar-h));
  background:       #fff;
  z-index:          1050;
  display:          flex;
  flex-direction:   column;
  padding:          1.5rem;
  box-shadow:       var(--shadow-md);
  transform:        translateY(-110%);
  transition:       transform 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow-y:       auto;
}
.mobile-menu.open { transform: translateY(0); }

.mobile-menu-close {
  align-self:      flex-end;
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  width:           36px;
  height:          36px;
  background:      none;
  border:          1px solid var(--border);
  border-radius:   var(--btn-radius);
  font-size:       1.25rem;
  cursor:          pointer;
  color:           var(--text-muted);
  margin-bottom:   1rem;
}

.mobile-nav-links { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-links a {
  display:         block;
  padding:         0.75rem 0.5rem;
  font-size:       1.0625rem;
  font-weight:     600;
  color:           var(--text);
  border-bottom:   1px solid var(--border);
  text-decoration: none;
}
.mobile-nav-links a:hover { color: var(--accent); }
.mobile-nav-cta a {
  margin-top:      1rem;
  display:         block;
  text-align:      center;
  padding:         0.875rem;
  background:      var(--accent);
  color:           #fff !important;
  border-radius:   var(--btn-radius);
  font-weight:     700;
  border-bottom:   none !important;
}

.menu-backdrop {
  display:          none;
  position:         fixed;
  inset:            0;
  z-index:          1040;
  background:       rgba(0,0,0,0.35);
  backdrop-filter:  blur(6px);
}
.menu-backdrop.open { display: block; }

/* ── Nav Sentinel ─────────────────────────────────────────────────────── */
.nav-sentinel {
  position:       absolute;
  top:            0;
  left:           0;
  width:          1px;
  height:         1px;
  pointer-events: none;
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position:   relative;
  min-height: 92vh;
  display:    flex;
  align-items: flex-start;
  overflow:   hidden;
  padding-top: 33vh;
  padding-bottom: 4rem;
}

.hero-bg {
  position:   absolute;
  inset:      0;
  width:      100%;
  height:     100%;
  object-fit: cover;
  object-position: center;
  z-index:    0;
}

.hero-overlay {
  position:   absolute;
  inset:      0;
  z-index:    1;
  background: linear-gradient(105deg, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0.22) 55%, transparent 100%);
}

.hero-content {
  position:  relative;
  z-index:   2;
  max-width: 640px;
}

.hero-title {
  color:         #fff;
  margin-bottom: 0.75rem;
  text-shadow:   0 2px 8px rgba(0,0,0,0.4);
}

.hero-tagline {
  font-size:     1.125rem;
  color:         rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  text-shadow:   0 1px 4px rgba(0,0,0,0.3);
}

.hero-cta-row {
  display:     flex;
  flex-wrap:   wrap;
  gap:         1rem;
  align-items: center;
}

/* ── About ───────────────────────────────────────────────────────────── */
.about { background: var(--bg-alt); }

.about-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   3.5rem;
  align-items:           center;
}

.about-text h2 { margin-top: 0.25rem; }

.about-image img {
  border-radius: var(--img-radius);
  width:         100%;
  height:        480px;
  object-fit:    cover;
  box-shadow:    var(--shadow-md);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-image { order: -1; }
  .about-image img { height: 280px; }
}

/* ── Villas ──────────────────────────────────────────────────────────── */
.villas { background: var(--bg); }
.villas h2 { text-align: left; }
.section-subhead {
  color:        var(--text-muted);
  font-size:    1.0625rem;
  margin-bottom: 2.5rem;
  max-width:    640px;
}

.villas-grid {
  display:               grid;
  grid-template-columns: repeat(2, 1fr);
  gap:                   2rem;
  margin-top:            2.5rem;
}

@media (max-width: 768px) {
  .villas-grid { grid-template-columns: 1fr; }
}

/* Villa Card */
.villa-card {
  display:          flex;
  flex-direction:   column;
  height:           100%;
  border:           1px solid var(--border);
  border-radius:    var(--img-radius);
  overflow:         hidden;
  background:       var(--bg);
  box-shadow:       var(--shadow-sm);
  transition:       box-shadow 0.2s;
}
.villa-card:hover { box-shadow: var(--shadow-md); }

/* Carousel */
.carousel {
  position:   relative;
  overflow:   hidden;
  flex-shrink: 0;
  background: #000;
}

.carousel-track {
  display:    flex;
  transition: transform 0.35s ease;
}

.carousel-slide {
  flex:         0 0 100%;
  aspect-ratio: 4/3;
  overflow:     hidden;
}

.carousel-slide img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
}

.carousel-btn {
  position:    absolute;
  top:         50%;
  transform:   translateY(-50%);
  background:  rgba(255,255,255,0.85);
  border:      none;
  border-radius: var(--btn-radius);
  width:       36px;
  height:      44px;
  min-width:   44px;
  min-height:  44px;
  font-size:   1.5rem;
  cursor:      pointer;
  z-index:     10;
  opacity:     1;
  display:     flex;
  align-items: center;
  justify-content: center;
  color:       var(--text);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:  background 0.2s;
}
.carousel-btn:hover   { background: rgba(255,255,255,1); }
.carousel-btn.prev    { left:  0.5rem; }
.carousel-btn.next    { right: 0.5rem; }

.carousel-dots {
  position:        absolute;
  bottom:          0.6rem;
  left:            50%;
  transform:       translateX(-50%);
  display:         flex;
  gap:             6px;
  z-index:         5;
}

.carousel-dot {
  width:         9px;
  height:        9px;
  border-radius: 50%;
  background:    rgba(255,255,255,0.55);
  border:        none;
  padding:       0;
  cursor:        pointer;
  transition:    background 0.2s;
  flex-shrink:   0;
}
.carousel-dot.active { background: #fff; }

/* View Details */
.villa-view-link {
  display:       inline-block;
  align-self:    center;
  margin:        1rem 0 1.25rem;
  padding:       0.5rem 1rem;
  font-size:     1rem;
  font-weight:   600;
  color:         var(--accent);
  background:    transparent;
  border:        1px solid var(--accent);
  border-radius: var(--btn-radius);
  cursor:        pointer;
  transition:    background 0.2s, color 0.2s;
  font-family:   var(--font-body);
}
.villa-view-link:hover {
  background: var(--accent);
  color:      #fff;
}

/* Villa Info */
.villa-info {
  display:        flex;
  flex-direction: column;
  flex:           1;
  padding:        0 1.25rem 1.25rem;
}

.villa-name {
  font-size:     1.1875rem;
  margin-bottom: 0.6rem;
}

.villa-specs {
  display:         flex;
  flex-wrap:       wrap;
  gap:             0.4rem 1rem;
  margin-bottom:   0.75rem;
  font-size:       0.9375rem;
  color:           var(--text-muted);
}
.villa-specs span { display: flex; align-items: center; gap: 0.35rem; }
.villa-specs i    { color: var(--accent); font-size: 0.875rem; }

.villa-desc {
  font-size:     0.9375rem;
  color:         var(--text-muted);
  margin-bottom: 0.75rem;
  flex:          1;
}

.btn-room-cta {
  margin-top:    auto;
  display:       block;
  width:         100%;
  text-align:    center;
  padding:       0.875rem;
  background:    var(--accent);
  color:         #fff;
  border:        none;
  border-radius: var(--btn-radius);
  font-weight:   700;
  font-size:     1rem;
  cursor:        pointer;
  transition:    background 0.2s;
  font-family:   var(--font-body);
}
.btn-room-cta:hover { background: var(--accent-hover); }

/* ── Activities ──────────────────────────────────────────────────────── */
.activities { background: var(--bg-alt); }
.activities h2 { margin-bottom: 1.25rem; }

.activities-banner {
  width:         100%;
  border-radius: var(--img-radius);
  overflow:      hidden;
  margin-bottom: 2rem;
}

.activities-banner img {
  width:      100%;
  height:     360px;
  object-fit: cover;
  display:    block;
}

.section-intro {
  font-size:    1.0625rem;
  line-height:  1.7;
  color:        var(--text-muted);
  text-align:   justify;
  max-width:    100%;
  margin-bottom: 3rem;
}

/* Tour Blocks */
.tour-blocks {
  display:        flex;
  flex-direction: column;
  gap:            4rem;
  margin-bottom:  4rem;
}

.tour-block {
  display:     flex;
  gap:         3rem;
  align-items: flex-start;
}
.tour-block:nth-child(even) { flex-direction: row-reverse; }

.tour-block-image {
  flex:         0 0 44%;
  border-radius: var(--img-radius);
  overflow:     hidden;
  box-shadow:   var(--shadow-md);
}

.tour-block-image img {
  width:      100%;
  height:     auto;
  object-fit: cover;
  display:    block;
}

.tour-block-content { flex: 1; }

.tour-eyebrow {
  font-size:      0.9375rem;
  font-weight:    600;
  color:          var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom:  0.4rem;
}

.tour-block-content h3 {
  font-size:     1.4375rem;
  margin-bottom: 0.875rem;
}

.tour-block-content p {
  color:         var(--text-muted);
  margin-bottom: 1rem;
}

.tour-highlights {
  display:        flex;
  flex-direction: column;
  gap:            0.5rem;
  margin-top:     0.75rem;
}

.tour-highlights li {
  display:     flex;
  align-items: baseline;
  gap:         0.6rem;
  font-size:   1rem;
  line-height: 1.55;
  color:       var(--text-muted);
}

.tour-highlights li i {
  color:      var(--accent);
  font-size:  1rem;
  width:      1rem;
  flex-shrink: 0;
  text-align: center;
  transform:  translateY(0.15em);
}

/* Sipadan operators table */
.sipadan-operators { margin-top: 1.25rem; }
.sipadan-note {
  font-size:     0.9375rem;
  color:         var(--text-muted);
  font-style:    italic;
  margin-bottom: 0.5rem;
}
.sipadan-table {
  width:           100%;
  border-collapse: collapse;
  font-size:       0.9375rem;
}
.sipadan-table td {
  padding:      0.3rem 0.5rem;
  border-bottom: 1px solid var(--border);
  color:         var(--text-muted);
}
.sipadan-table td:first-child { font-weight: 600; color: var(--text); }

/* Sipadan dive sites */
.sipadan-sites { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.75rem 0; }
.site-row {
  display:     grid;
  grid-template-columns: 180px 1fr;
  gap:         0.75rem;
  font-size:   0.9375rem;
  padding:     0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.site-name { font-weight: 700; color: var(--text); }
.site-desc { color: var(--text-muted); }

/* Core Activity Cards */
.core-activities { margin-top: 1rem; }
.core-activities-heading {
  font-size:     1.5rem;
  margin-bottom: 1.5rem;
}

.activity-cards-grid {
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  gap:                   1.5rem;
}

.activity-card {
  background:    var(--bg);
  border:        1px solid var(--border);
  border-radius: var(--img-radius);
  overflow:      hidden;
  box-shadow:    var(--shadow-sm);
}

.activity-card img {
  width:        100%;
  aspect-ratio: 4/3;
  object-fit:   cover;
}

.activity-card-body { padding: 1.25rem; }

.activity-card-body h3 {
  font-size:     1.0625rem;
  margin-bottom: 0.6rem;
  display:       flex;
  align-items:   center;
  gap:           0.5rem;
}
.activity-card-body h3 i { color: var(--accent); }

.activity-card-body p {
  font-size: 0.9375rem;
  color:     var(--text-muted);
}

/* On-site Activities */
.onsite-activities {
  margin-top:    3rem;
  padding-top:   2rem;
  border-top:    1px solid var(--border);
}

.onsite-activities h3 {
  font-size:     1.3125rem;
  margin-bottom: 1.25rem;
}

.onsite-grid {
  display:               grid;
  grid-template-columns: repeat(6, 1fr);
  gap:                   1rem;
}

.onsite-item {
  display:     flex;
  align-items: center;
  gap:         0.5rem;
  font-size:   1rem;
  color:       var(--text-muted);
  font-weight: 500;
}
.onsite-item i { color: var(--accent); font-size: 0.875rem; flex-shrink: 0; }

@media (max-width: 1024px) {
  .activity-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .onsite-grid          { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .tour-block,
  .tour-block:nth-child(even) {
    flex-direction: column;
  }
  .tour-block-image { flex: none; width: 100%; }
  .activity-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .onsite-grid          { grid-template-columns: repeat(2, 1fr); }
  .site-row             { grid-template-columns: 1fr; gap: 0.25rem; }
  .activities-banner img { height: 220px; }
}

@media (max-width: 480px) {
  .activity-cards-grid { grid-template-columns: 1fr; }
  .onsite-grid          { grid-template-columns: repeat(2, 1fr); }
}

/* ── Meals ───────────────────────────────────────────────────────────── */
.meals { background: var(--bg); }

.meals-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   3.5rem;
  align-items:           start;
}

.meals-text h2 { margin-top: 0.25rem; }

.meals-breakdown {
  margin:  1.5rem 0;
  display: flex;
  flex-direction: column;
  gap:     1rem;
}

.meal-row {
  display:       flex;
  gap:           1rem;
  align-items:   flex-start;
  padding:       1rem;
  background:    var(--bg-alt);
  border-radius: var(--btn-radius);
  border:        1px solid var(--border);
}

.meal-icon {
  font-size:   1.375rem;
  color:       var(--accent);
  flex-shrink: 0;
  width:       2rem;
  text-align:  center;
  padding-top: 0.125rem;
}

.meal-detail strong {
  display:       block;
  font-weight:   700;
  margin-bottom: 0.2rem;
  font-size:     1rem;
}

.meal-detail span {
  font-size: 0.9375rem;
  color:     var(--text-muted);
}

.meals-extra h4 {
  margin-top: 1.25rem;
  color:      var(--accent);
}
.meals-extra p { color: var(--text-muted); font-size: 0.9375rem; }

.meals-image img {
  border-radius: var(--img-radius);
  width:         100%;
  height:        520px;
  object-fit:    cover;
  box-shadow:    var(--shadow-md);
  position:      sticky;
  top:           calc(var(--navbar-h) + 1.5rem);
}

@media (max-width: 768px) {
  .meals-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .meals-image { order: -1; }
  .meals-image img { height: 260px; position: static; }
}

/* ── Getting Here ────────────────────────────────────────────────────── */
.getting-here { background: var(--bg-alt); }

.getting-here-grid {
  display:               grid;
  grid-template-columns: 1fr 340px;
  gap:                   3.5rem;
  align-items:           start;
}

.getting-here-content h2 { margin-bottom: 1.5rem; }

.getting-here-content h3 {
  font-size:     1.125rem;
  margin-top:    1.75rem;
  margin-bottom: 0.6rem;
  color:         var(--accent);
}

.getting-here-content p { color: var(--text-muted); }

.flight-routes,
.transfer-details {
  margin:  0.5rem 0 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.flight-routes li,
.transfer-details li {
  display:     flex;
  align-items: baseline;
  gap:         0.6rem;
  font-size:   0.9375rem;
  color:       var(--text-muted);
}

.flight-routes li i,
.transfer-details li i {
  color:      var(--accent);
  font-size:  0.5rem;
  flex-shrink: 0;
  transform:  translateY(-2px);
}

/* Getting Here Sidebar */
.getting-here-sidebar {
  display:        flex;
  flex-direction: column;
  gap:            1.25rem;
  position:       sticky;
  top:            calc(var(--navbar-h) + 1rem);
}

.sidebar-image img {
  width:         100%;
  aspect-ratio:  4/3;
  object-fit:    cover;
  border-radius: var(--img-radius);
  box-shadow:    var(--shadow-md);
}

.maps-btn {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             0.5rem;
  padding:         0.75rem 1.25rem;
  background:      var(--accent);
  color:           #fff;
  border-radius:   var(--btn-radius);
  font-weight:     600;
  font-size:       1rem;
  text-decoration: none;
  transition:      background 0.2s;
}
.maps-btn:hover { background: var(--accent-hover); text-decoration: none; }

.maps-embed iframe {
  width:         100%;
  height:        240px;
  border:        none;
  border-radius: var(--btn-radius);
  display:       block;
}

.travel-tips-card {
  background:    var(--bg);
  border:        1px solid var(--border);
  border-radius: var(--img-radius);
  padding:       1.25rem;
}

.tips-heading {
  font-size:      0.9375rem;
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color:          var(--accent);
  margin-bottom:  0.875rem;
}

.travel-tips-list {
  display:        flex;
  flex-direction: column;
  gap:            0.75rem;
}

.travel-tips-list li {
  display:     flex;
  align-items: flex-start;
  gap:         0.6rem;
  font-size:   0.9375rem;
  color:       var(--text-muted);
  line-height: 1.5;
}

.travel-tips-list li i {
  color:      var(--accent);
  width:      1rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
  font-size:  0.9375rem;
}

@media (max-width: 900px) {
  .getting-here-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .getting-here-sidebar { position: static; }
}

/* ── Contact ─────────────────────────────────────────────────────────── */
.contact { background: var(--bg); }

.contact-grid {
  display:               grid;
  grid-template-columns: 1fr 300px;
  gap:                   3rem;
  align-items:           start;
  margin-top:            2rem;
}

/* Form banners */
.form-banner {
  display:       flex;
  align-items:   center;
  gap:           0.75rem;
  padding:       1rem 1.25rem;
  border-radius: var(--btn-radius);
  margin-bottom: 1.5rem;
  font-size:     1rem;
  font-weight:   500;
}
.form-success {
  background: #d1fae5;
  color:      #065f46;
  border:     1px solid #6ee7b7;
}
.form-error {
  background: #fee2e2;
  color:      #991b1b;
  border:     1px solid #fca5a5;
}

/* Form */
.booking-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row-2 {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group-full { grid-column: 1 / -1; }

.form-group.field-error label { color: #dc2626; }
.form-group.field-error input,
.form-group.field-error select,
.form-group.field-error textarea {
  border-color: #dc2626;
  box-shadow:   0 0 0 2px rgba(220,38,38,0.15);
}

label {
  font-size:   1rem;
  font-weight: 600;
  color:       var(--text);
}

.req { color: var(--accent); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
  width:         100%;
  padding:       0.6875rem 0.875rem;
  border:        1.5px solid var(--border);
  border-radius: var(--btn-radius);
  font-family:   var(--font-body);
  font-size:     1rem;
  color:         var(--text);
  background:    var(--bg);
  transition:    border-color 0.2s, box-shadow 0.2s;
  appearance:    auto;
}
input:focus,
select:focus,
textarea:focus {
  outline:      none;
  border-color: var(--accent);
  box-shadow:   0 0 0 3px rgba(6,95,70,0.12);
}

textarea { resize: vertical; min-height: 130px; }

.form-footer {
  display:     flex;
  align-items: center;
  gap:         1.5rem;
  flex-wrap:   wrap;
  margin-top:  0.5rem;
}

.btn-submit {
  padding:     0.875rem 2.5rem;
  font-size:   1.0625rem;
}

.form-reassurance {
  font-size:  0.9375rem;
  color:      var(--text-muted);
  margin:     0;
}

/* Contact Sidebar */
.contact-sidebar {
  display:        flex;
  flex-direction: column;
  gap:            1.25rem;
  position:       sticky;
  top:            calc(var(--navbar-h) + 1rem);
}

.info-card {
  background:    var(--bg-alt);
  border:        1px solid var(--border);
  border-radius: var(--img-radius);
  padding:       1.25rem;
}

.info-card-eyebrow {
  font-size:      1.0625rem;
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color:          var(--accent);
  margin-bottom:  0.75rem;
}

.info-card-line {
  font-size:     1rem;
  color:         var(--text);
  margin-bottom: 0.35rem;
  display:       flex;
  align-items:   flex-start;
  gap:           0.5rem;
}
.info-card-line i { color: var(--accent); flex-shrink: 0; margin-top: 0.2rem; }

.info-card-note {
  font-size:  0.9375rem;
  color:      var(--text-muted);
  font-style: italic;
  margin-top: 0.5rem;
}

.quick-facts-list {
  display:        flex;
  flex-direction: column;
  gap:            0.6rem;
}
.quick-facts-list li {
  display:     flex;
  align-items: baseline;
  gap:         0.5rem;
  font-size:   1rem;
  color:       var(--text);
}
.quick-facts-list li i {
  color:      var(--accent);
  font-size:  0.875rem;
  flex-shrink: 0;
  transform:  translateY(0.1em);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-sidebar { position: static; }
  .form-row-2      { grid-template-columns: 1fr; }
}

/* ── Reviews ─────────────────────────────────────────────────────────── */
.reviews { background: var(--bg-alt); }

.reviews h2 { margin-bottom: 0.5rem; }

.reviews-intro {
  color:         var(--text-muted);
  margin-bottom: 2.5rem;
}

.reviews-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   1.5rem;
}

.review-card {
  background:    var(--bg);
  border:        1px solid var(--border);
  border-radius: var(--img-radius);
  padding:       1.5rem;
  box-shadow:    var(--shadow-sm);
  opacity:       0;
  transform:     translateY(16px);
  transition:    opacity 0.45s ease, transform 0.45s ease;
}
.review-card.visible { opacity: 1; transform: translateY(0); }

.review-stars {
  color:         #f59e0b;
  font-size:     1.0625rem;
  margin-bottom: 0.875rem;
  letter-spacing: 1px;
}

.review-body {
  font-size:     0.9375rem;
  line-height:   1.65;
  color:         var(--text);
  margin-bottom: 1rem;
}

.review-author {
  display:     flex;
  flex-direction: row;
  align-items: baseline;
  gap:         0.5rem;
  padding-top: 0.75rem;
  border-top:  none;
}

.review-name {
  font-size:   1rem;
  font-weight: 700;
  color:       var(--text);
}

.review-country {
  font-size:   1rem;
  font-weight: 400;
  color:       var(--text-muted);
}

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer {
  background: var(--footer-bg);
  padding:    3.5rem 0 1.5rem;
  color:      var(--footer-text);
}

.footer-grid {
  display:               grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap:                   3rem;
  margin-bottom:         2.5rem;
}

.footer-brand-name {
  font-family:   var(--font-heading);
  font-size:     2rem;
  font-weight:   700;
  color:         #fff;
  margin-bottom: 0.75rem;
  line-height:   1.15;
}

.footer-desc {
  font-size:     1rem;
  color:         var(--footer-muted);
  line-height:   1.65;
  margin-bottom: 0.75rem;
}

.footer-location {
  font-size:   1rem;
  color:       var(--footer-muted);
  display:     flex;
  align-items: center;
  gap:         0.45rem;
}
.footer-location i { color: var(--accent); }

.footer-links-col h4,
.footer-contact-col h4 {
  font-size:      1rem;
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color:          #fff;
  margin-bottom:  1rem;
  font-family:    var(--font-body);
}

.footer-links-col ul {
  display:        flex;
  flex-direction: column;
  gap:            0.4rem;
}

.footer-links-col a {
  color:           var(--footer-muted);
  font-size:       1rem;
  text-decoration: none;
  transition:      color 0.2s;
}
.footer-links-col a:hover { color: #fff; text-decoration: none; }

.footer-enquiry-link {
  display:         block;
  color:           #fff;
  font-size:       1rem;
  font-weight:     700;
  text-decoration: none;
  margin-bottom:   1.25rem;
  transition:      color 0.2s;
}
.footer-enquiry-link:hover { color: var(--accent-light); text-decoration: none; }

.social-icons {
  display: flex;
  gap:     0.625rem;
}

.social-icons a {
  width:           36px;
  height:          36px;
  border-radius:   50%;
  background:      rgba(255,255,255,0.1);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           #fff;
  font-size:       0.9375rem;
  text-decoration: none;
  transition:      background 0.2s;
}
.social-icons a:hover { background: var(--accent); }

.footer-bottom {
  font-size:  0.9375rem;
  color:      var(--footer-muted);
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Modal ───────────────────────────────────────────────────────────── */
.modal {
  display:         none;
  position:        fixed;
  inset:           0;
  z-index:         2000;
  align-items:     center;
  justify-content: center;
  padding:         1.5rem;
}
.modal.open { display: flex; }

.modal-backdrop {
  position:   absolute;
  inset:      0;
  background: rgba(0,0,0,0.60);
}

.modal-content {
  position:     relative;
  background:   #fff;
  border-radius: var(--img-radius);
  padding:      2rem;
  max-width:    560px;
  width:        100%;
  max-height:   90vh;
  overflow-y:   auto;
  box-shadow:   0 24px 64px rgba(0,0,0,0.22);
}

.modal-close {
  position:    absolute;
  top:         1rem;
  right:       1rem;
  background:  none;
  border:      none;
  font-size:   1.5rem;
  cursor:      pointer;
  color:       var(--text-muted);
  line-height: 1;
  padding:     0.25rem;
}
.modal-close:hover { color: var(--text); }

.modal-content h3 {
  margin-bottom: 1rem;
  padding-right: 2rem;
}

.modal-content p {
  color:         var(--text-muted);
  font-size:     0.9375rem;
  margin-bottom: 0.875rem;
}

.modal-specs {
  margin:  1.25rem 0;
  display: flex;
  flex-direction: column;
  gap:     0.5rem;
}

.modal-specs li {
  display:     flex;
  align-items: center;
  gap:         0.6rem;
  font-size:   1rem;
  color:       var(--text);
}
.modal-specs li i { color: var(--accent); width: 1.125rem; text-align: center; }

.modal-cta-btn {
  width:      100%;
  margin-top: 1.25rem;
  font-size:  1rem;
}

/* ── Hero mobile ─────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    padding-top: clamp(5rem, 12vh, 8rem);
  }
  .hero-overlay { background: rgba(0,0,0,0.42); }
  .hero-content { max-width: 100%; }
}

/* ── Utility ─────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .form-footer { flex-direction: column; align-items: flex-start; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; text-align: center; }
}

/* Language Switcher — Desktop */
.x13-lang{display:flex;align-items:center;gap:0;margin-left:18px;background:rgba(255,255,255,.12);border-radius:999px;padding:.15rem;border:1px solid rgba(37,99,235,.5);flex-shrink:0}.x13-t{display:flex;align-items:center;justify-content:center;padding:.2rem .55rem;font-size:.875rem;font-weight:700;color:rgba(255,255,255,.7);text-decoration:none;border-radius:999px;transition:color .2s,background .2s;line-height:1}.x13-t:hover{color:#fff}.x13-t.x13-active{color:#fff;background:rgba(255,255,255,.22)}.navbar.scrolled .x13-lang{background:var(--bg-alt);border-color:rgba(37,99,235,.3)}.navbar.scrolled .x13-t{color:var(--text-muted)}.navbar.scrolled .x13-t:hover{color:var(--accent)}.navbar.scrolled .x13-t.x13-active{color:var(--text);background:rgba(37,99,235,.08)}@media(max-width:1023px){.x13-lang{display:none}}
.x21-lang{display:flex;align-items:center;gap:.25rem;margin-left:18px;flex-shrink:0}.x21-t{font-size:.9375rem;font-weight:700;text-decoration:none;color:rgba(255,255,255,.45);transition:color .2s;line-height:1}.x21-t:hover{color:rgba(255,255,255,.85)}.x21-t.x21-active{color:#fff}.x21-div{width:1px;height:12px;background:rgba(255,255,255,.3)}.navbar.scrolled .x21-t{color:var(--text-muted)}.navbar.scrolled .x21-t:hover{color:var(--accent)}.navbar.scrolled .x21-t.x21-active{color:var(--text)}.navbar.scrolled .x21-div{background:var(--border)}@media(max-width:1023px){.x21-lang{display:none}}
.x22-lang{display:flex;align-items:center;gap:.1rem;margin-left:18px;background:rgba(255,255,255,.1);border-radius:999px;padding:.15rem .25rem;flex-shrink:0}.x22-t{display:flex;align-items:center;justify-content:center;padding:.2rem .5rem;font-size:.875rem;font-weight:700;color:rgba(255,255,255,.45);text-decoration:none;border-radius:999px;transition:color .2s,background .2s;line-height:1}.x22-t:hover{color:rgba(255,255,255,.85)}.x22-t.x22-active{color:#fff;background:rgba(255,255,255,.2)}.navbar.scrolled .x22-lang{background:var(--bg-alt)}.navbar.scrolled .x22-t{color:var(--text-muted)}.navbar.scrolled .x22-t:hover{color:var(--accent)}.navbar.scrolled .x22-t.x22-active{color:var(--text);background:rgba(37,99,235,.08)}@media(max-width:1023px){.x22-lang{display:none}}

/* Language Switcher — Mobile (xm11: below hamburger) */
.xm11-lang{display:none;align-items:center;justify-content:center;gap:.15rem;margin-top:.15rem}.xm11-t{font-size:.6875rem;font-weight:700;letter-spacing:.03em;color:rgba(255,255,255,.7);text-decoration:none;padding:.1rem .2rem;border-radius:3px;line-height:1;transition:color .2s,background .2s}.xm11-t:hover{color:#fff}.xm11-t.xm11-active{color:#fff;background:rgba(255,255,255,.15)}.navbar.scrolled .xm11-t{color:var(--text-muted)}.navbar.scrolled .xm11-t.xm11-active{color:var(--text);background:var(--bg-alt)}@media(max-width:1023px){.xm11-lang{display:flex}}

/* Footer lang flags */
.footer-lang-text{display:flex;align-items:center;gap:.75rem;margin-top:1.25rem}
.flt-a{display:inline-flex;align-items:center;text-decoration:none;opacity:.75;transition:opacity .2s;line-height:1}
.flt-a:hover{opacity:1}.flt-a.flt-active{opacity:.85}
.flag-svg{width:28px;height:auto;border-radius:2px;box-shadow:0 0 0 1px rgba(255,255,255,.1)}
@media(max-width:767px){.footer-lang-text{justify-content:flex-start;gap:1rem}.flt-a{opacity:.9}.flt-a.flt-active{opacity:1}.flag-svg{width:32px}}

/* Logo white filter */
.logo-navbar{transition:filter .3s}
.navbar:not(.scrolled) .logo-navbar{filter:brightness(0) invert(1)}

/* V22: Hero positioning */
.hero-content {
  margin-left: max(100px, 6vw);
  margin-right: 200px;
}
.hero-title { white-space: nowrap; }
@media (max-width: 640px) {
  .hero-content { margin-left: 1.25rem; margin-right: 1.25rem; }
  .hero-title { white-space: normal; }
}

/* V22: scroll-padding */
html { scroll-padding-top: calc(80px + 1rem); }

/* Mobile: navbar always white bg (scrolled look) — logo and hamburger dark */
@media (max-width: 1023px) {
  .navbar {
    background: rgba(255,255,255,0.97) !important;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
  }
  .navbar .logo-navbar {
    filter: none !important;
  }
  .navbar .hamburger span {
    background: var(--text) !important;
  }
  .navbar .xm11-t {
    color: var(--text-muted) !important;
  }
  .navbar .xm11-t.xm11-active {
    color: var(--text) !important;
    background: var(--bg-alt, #f5f5f5) !important;
  }
}

/* V22: Mobile font floor — 1rem minimum for body text */
@media (max-width: 767px) {
  body { font-size: 1rem; }
  p, li, td, th, label, input, select, textarea,
  .section-intro, .about-text p, .activity-card-body p,
  .tour-block-content p, .villa-desc, .villa-specs span,
  .meals-text p, .meal-detail span, .meals-extra p,
  .transfer-details li, .travel-tips-list li, .flight-routes li,
  .review-body, .info-card-line, .info-card-detail,
  .quick-facts-list li, .onsite-item,
  .modal-content p, .modal-specs li, .section-subhead {
    font-size: 1rem;
  }
  /* Exceptions at 0.9375rem per audit */
  .footer-bottom, .footer-desc,
  .form-banner, .review-country {
    font-size: 0.9375rem;
  }
}
