/* ============================================================
   Jelly Sea Resort — style.css
   Fonts: Playfair Display (headings) + DM Sans (body)
   Accent: #4338ca  |  Footer bg: #0a081e
   ============================================================ */

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --accent:        #4338ca;
  --accent-hover:  #3730a3;
  --accent-light:  #ede9fe;
  --footer-bg:     #0a081e;
  --text:          #1a1a2e;
  --text-muted:    #6b7280;
  --bg:            #ffffff;
  --bg-alt:        #f8f7ff;
  --border:        #e5e7eb;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.14);
  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', system-ui, -apple-system, sans-serif;
  --navbar-h:      80px;
  --radius:        12px;
  --container:     1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

section[id] { scroll-margin-top: 0; }
#contact { scroll-margin-top: 20px; }

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

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

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

a:hover {
  color: var(--accent-hover);
}

ul {
  list-style: none;
}

/* ─── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.625rem, 3vw, 2.375rem); font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 600; margin-bottom: 0.75rem; }
h4 { font-size: 1.1875rem; font-weight: 600; margin-bottom: 0.5rem; }
h5 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

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

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

/* ─── Container ──────────────────────────────────────────── */
.container {
  width: min(var(--container), 100% - 2rem);
  margin-inline: auto;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

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

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

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.8);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.btn-map {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  width: 100%;
  border: 2px solid var(--accent);
  transition: background 0.2s, border-color 0.2s;
}

.btn-map:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-submit {
  width: 100%;
  font-size: 1.0625rem;
  padding: 0.875rem 2rem;
}

/* ─── Section base ───────────────────────────────────────── */
.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.section:nth-child(even) {
  background: var(--bg-alt);
}

.section-intro {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ─── Navbar ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border);
}
.navbar-inner {
  padding: 0 max(1.5rem, 3vw) 0 max(75px, 5vw);
  height: var(--navbar-h);
  display: flex;
  align-items: center;
}
.navbar-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
}
.logo-navbar {
  height: calc(var(--navbar-h) - 16px);
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}
.navbar.scrolled .logo-navbar { filter: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 1.0625rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: rgba(255,255,255,0.7); }
.navbar.scrolled .nav-links a { color: var(--text-muted); }
.navbar.scrolled .nav-links a:hover { color: var(--accent); background: var(--bg-alt); }
.nav-cta a {
  background: #fff;
  color: var(--text) !important;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.2s;
}
.nav-cta a:hover { background: rgba(255,255,255,0.7) !important; }
.navbar.scrolled .nav-cta a { background: var(--accent); color: #fff !important; }
.navbar.scrolled .nav-cta a:hover { background: var(--accent-hover) !important; }
.nav-sentinel { height: var(--navbar-h); }

.lang-switch-desk { display: flex; align-items: center; margin-left: 18px; flex-shrink: 0; }
.lang-switch-desk .lang-link { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.lang-switch-desk .lang-link:hover { color: #fff; }
.lang-switch-desk .lang-active { color: #fff; }
.navbar.scrolled .lang-switch-desk .lang-link { color: var(--text-muted); }
.navbar.scrolled .lang-switch-desk .lang-link:hover { color: var(--accent); }
.navbar.scrolled .lang-switch-desk .lang-active { color: var(--text); }
.lang-x13 { font-size: 0.875rem; gap: 6px; border: 1px solid rgba(37,99,235,0.5); border-radius: 20px; padding: 4px 12px; }
.navbar.scrolled .lang-x13 { border-color: rgba(37,99,235,0.3); }
.lang-x21 { font-size: 0.9375rem; gap: 8px; }
.lang-x21 .lang-divider { color: rgba(255,255,255,0.3); font-weight: 300; }
.navbar.scrolled .lang-x21 .lang-divider { color: var(--border); }
.lang-x22 { font-size: 0.875rem; gap: 4px; background: rgba(255,255,255,0.12); border-radius: 20px; padding: 4px 12px; }
.navbar.scrolled .lang-x22 { background: var(--bg-alt); }

.lang-mob-wrap { display: none; align-items: center; gap: 8px; }
.lang-switch-mob { display: flex; align-items: center; gap: 6px; font-size: 0.6875rem; }
.lang-switch-mob .lang-link { color: rgba(255,255,255,0.7); text-decoration: none; }
.lang-switch-mob .lang-active { color: #fff; font-weight: 600; }
.navbar.scrolled .lang-switch-mob .lang-link { color: var(--text-muted); }
.navbar.scrolled .lang-switch-mob .lang-active { color: var(--text); }
.lang-xm14 { flex-direction: column; }
.lang-xm14 .lang-switch-mob { order: -1; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 6px;
}
.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}
.navbar.scrolled .hamburger-bar { background: var(--text); }

@media (max-width: 1023px) {
  .lang-switch-desk { display: none; }
  .lang-mob-wrap { display: flex; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .navbar-inner { padding: 0 clamp(1.25rem, 4vw, 2rem); }
}

/* ─── Mobile menu ────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: var(--navbar-h);
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: #fff;
  z-index: 1100;
  padding: 0.375rem 2rem 2rem;
  max-height: calc(100vh - var(--navbar-h));
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.375rem;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-links a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 1.0625rem;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.mobile-nav-links a:hover {
  background: var(--bg-alt);
  color: var(--accent);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  margin-top: calc(-1 * var(--navbar-h));
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  background: #0a081e;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(10,8,30,0.65) 0%, rgba(10,8,30,0.35) 55%, rgba(10,8,30,0.10) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 25vh;
  padding-bottom: 80px;
  margin-left: auto;
  margin-right: max(100px, 6vw);
  max-width: 700px;
  text-align: right;
}
.hero-title {
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
  white-space: nowrap;
}
.hero-tagline {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.8);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

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

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

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

.about-text h2 {
  margin-bottom: 1.25rem;
}

.about-text .btn {
  margin-top: 1.5rem;
}

/* ─── Activities ─────────────────────────────────────────── */
.activities-section {
  background: var(--bg-alt);
}

/* 6 core activity cards */
.core-activity-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.activity-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.activity-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.activity-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.activity-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.activity-card:hover .activity-card-img img {
  transform: scale(1.05);
}

.activity-card-body {
  padding: 1.25rem 1.375rem 1.5rem;
  flex: 1;
  text-align: center;
}

.activity-icon {
  font-size: 1.375rem;
  color: var(--accent);
  margin-bottom: 0.625rem;
  display: block;
}

.activity-card-body h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

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

/* On-site activities */
.onsite-activities {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

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

.onsite-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
}

.onsite-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.onsite-item i {
  color: var(--accent);
  font-size: 0.9375rem;
}

/* Tour blocks */
.tour-blocks-heading {
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.tour-blocks {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.tour-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.tour-block--img-right {
  grid-template-columns: 1.4fr 1fr;
}
.tour-block-image { min-width: 0; overflow: hidden; }
.tour-block-content { min-width: 0; overflow-wrap: break-word; }
.tour-block-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.tour-block-text h4 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  margin-bottom: 0.875rem;
  color: var(--text);
}

.tour-block-text p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ─── Rooms ──────────────────────────────────────────────── */
.rooms-section {
  background: var(--bg);
}

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

.villa-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.villa-card:hover {
  box-shadow: var(--shadow-md);
}

/* ─── Carousel ───────────────────────────────────────────── */
.carousel {
  position: relative;
  overflow: hidden;
  background: #111;
}

.carousel-track {
  display: flex;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
}

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

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,8,30,0.55);
  border: none;
  color: #fff;
  font-size: 1.625rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1;
  z-index: 10;
  line-height: 1;
  padding: 0;
  transition: background 0.15s;
  user-select: none;
}

.carousel-btn:hover {
  background: rgba(10,8,30,0.8);
}

.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }

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

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* ─── Villa info ─────────────────────────────────────────── */
.villa-info {
  padding: 1.375rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.villa-info h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.villa-info > p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.villa-amenities, .villa-specs {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.villa-amenities li, .villa-specs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.villa-amenities li i, .villa-specs li i {
  color: var(--accent);
  font-size: 0.8125rem;
  flex-shrink: 0;
}

.villa-view-link {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.625rem 1rem;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.villa-view-link:hover {
  background: var(--accent);
  color: #fff;
}

.btn-room-cta {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  margin-top: auto;
  transition: background 0.2s, border-color 0.2s;
}

.btn-room-cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

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

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

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

.meals-text h2 {
  margin-bottom: 1.25rem;
}

.meal-block {
  margin-bottom: 1.375rem;
  padding-bottom: 1.375rem;
  border-bottom: 1px solid var(--border);
}

.meal-block:last-of-type {
  border-bottom: none;
}

.meal-block h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.meal-block h4 i {
  font-size: 0.9375rem;
}

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

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

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

.getting-here-section > .container > h2 {
  margin-bottom: 2rem;
}

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

.getting-here-block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.getting-here-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.getting-here-block h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.getting-here-block p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.getting-here-block ul {
  margin: 0.75rem 0 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.getting-here-block ul li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.getting-here-block ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
  line-height: 1.7;
}

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

.sidebar-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.maps-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.maps-embed iframe {
  display: block;
}

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

.travel-tips-card h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--accent);
}

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

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

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

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

.contact-section > .container > h2 {
  margin-bottom: 2rem;
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

/* Form */
.contact-form-wrap form {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.hp-field {
  display: none !important;
  visibility: hidden;
  position: absolute;
  left: -9999px;
}

.form-row {
  margin-bottom: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-row .form-group {
  margin-bottom: 0;
}

label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}

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

input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 0.6875rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(67,56,202,0.12);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}

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

.form-reassurance {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-align: center;
}

.form-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}

.form-notice i {
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.form-notice--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-notice--error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
}

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

.sidebar-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.375rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 1rem;
}

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

.quick-facts-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.quick-facts-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.fact-bullet {
  color: var(--accent);
  font-size: 0.75rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.fact-icon {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}

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

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

.review-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.2s;
}
.review-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 0.875rem;
  color: #f59e0b;
}

.review-stars i {
  font-size: 0.9375rem;
}

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

.review-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 0.125rem;
}

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

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.72);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
  align-items: start;
}
.footer-col-heading {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  margin-bottom: 1rem;
}
.footer-description {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
}
.footer-location {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-location i { color: var(--accent-light); }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9375rem;
  transition: color 0.15s;
}
.footer-links a:hover { color: rgba(255,255,255,0.95); }
.footer-enquiry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.footer-enquiry:hover { color: #fff; }
.footer-divider { border: 0; border-top: 1px solid rgba(255,255,255,0.1); margin: 0 0 1.5rem; }
.footer-copyright { font-size: 0.9375rem; color: rgba(255,255,255,0.45); text-align: center; }
.footer-lang-flags { display: flex; gap: 10px; margin-top: 16px; align-items: center; }
.footer-flag-link { display: inline-block; opacity: 0.75; transition: opacity 0.2s; }
.footer-flag-link:hover { opacity: 1; }
.flag-svg { width: 28px; height: auto; display: block; }

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  border-radius: 8px;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9375rem;
  transition: color 0.15s;
}

.footer-nav a:hover {
  color: rgba(255,255,255,0.95);
}

.footer-info p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.625rem;
}

.footer-info i {
  color: var(--accent);
  font-size: 0.9375rem;
  margin-top: 0.22rem;
  flex-shrink: 0;
}

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

/* ─── Modals ─────────────────────────────────────────────── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  justify-content: center;
  align-items: 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: var(--bg);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  padding: 2rem;
  z-index: 1;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}

.modal-close:hover {
  background: var(--bg-alt);
  color: var(--text);
}

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

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

.modal-content h4 {
  margin-bottom: 0.625rem;
  font-size: 1rem;
}

.modal-amenities {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal-amenities li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.modal-amenities li i {
  color: var(--accent);
  font-size: 0.8125rem;
  flex-shrink: 0;
}

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

.section-eyebrow {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.section-title { margin-bottom: 1rem; }
.section-intro { font-size: 1.0625rem; color: var(--text-muted); margin-bottom: 2rem; }
.info-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.375rem;
}
.info-card-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 1.1875rem;
}
.info-card p { font-size: 0.9375rem; color: var(--text-muted); }
.info-card-note { font-size: 0.9375rem; color: var(--text-muted); font-style: italic; margin-top: 0.5rem; }
.form-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}
.form-banner i { font-size: 1.125rem; flex-shrink: 0; margin-top: 0.05rem; }
.form-banner-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.form-banner-error { background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group-full { margin-bottom: 1rem; }
.required-asterisk { color: var(--accent); }
.has-error { border-color: #ef4444 !important; }
.booking-form { background: var(--bg); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
#contact .section-intro { text-align: left; max-width: none; margin-inline: 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: calc(var(--navbar-h) + 1rem);
}
.tour-highlights { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.tour-highlights li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.9375rem; color: var(--text-muted); }
.tour-highlights li i { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.tour-note { font-size: 0.9375rem; color: var(--text-muted); font-style: italic; margin-top: 12px; }
.sipadan-resorts { margin-top: 16px; }
.sipadan-package-resorts { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.sipadan-package-resorts th, .sipadan-package-resorts td { padding: 8px 12px; border: 1px solid var(--border); text-align: left; }
.sipadan-package-resorts th { background: var(--bg-alt); font-weight: 600; }
.meals-text-col .section-eyebrow { margin-bottom: 0.5rem; }
.meals-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.meal-breakdown { display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0; }
.meal-item { display: flex; gap: 12px; align-items: flex-start; }
.meal-icon { color: var(--accent); font-size: 1.25rem; margin-top: 2px; flex-shrink: 0; }
.meal-detail strong { display: block; margin-bottom: 4px; }
.meal-detail p { font-size: 0.9375rem; color: var(--text-muted); margin: 0; }
.meals-note { font-size: 0.9375rem; color: var(--text-muted); font-style: italic; }
.getting-here-grid { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; }
.travel-step { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.travel-step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.travel-step h3 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin-bottom: 0.75rem; }
.travel-step h3 i { color: var(--accent); }
.flight-routes { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.flight-routes li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.9375rem; color: var(--text-muted); }
.flight-routes li i { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.location-image { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 12px; }
.maps-btn { display: flex; align-items: center; gap: 8px; justify-content: center; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 600; font-size: 0.9375rem; width: 100%; margin-bottom: 12px; transition: background 0.2s; }
.maps-btn:hover { background: var(--accent-hover); color: #fff; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 12px; }
.map-embed iframe { display: block; }
.travel-tips h4 { display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: 1.1875rem; margin-bottom: 12px; }
.travel-tips-list { display: flex; flex-direction: column; gap: 10px; }
.travel-tips-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; }
.travel-tips-list li i { color: var(--accent); flex-shrink: 0; margin-top: 3px; }

.travel-tips-fullwidth {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.travel-tips-heading {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.travel-tips-heading i { color: var(--accent); }
.travel-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.travel-tip-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.travel-tip-icon { color: var(--accent); font-size: 1.25rem; }
.travel-tip-card p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; margin: 0; }
.review-author { margin-top: auto; }
.review-name { font-weight: 600; font-size: 0.9375rem; color: var(--text); }
.review-country { font-size: 0.9375rem; color: var(--text-muted); }
input[type="tel"], input[type="number"] {
  width: 100%;
  padding: 0.6875rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.modal-room-title { margin-bottom: 0.875rem; padding-right: 2rem; }
.modal-room-desc { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 1.25rem; }
.modal-room-specs { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; }
.modal-room-specs li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; color: var(--text-muted); }
.modal-room-specs li i { color: var(--accent); font-size: 0.8125rem; flex-shrink: 0; }

/* ─── Responsive ─────────────────────────────────────────── */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .core-activity-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .getting-here-layout {
    grid-template-columns: 1fr 300px;
    gap: 2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr 280px;
    gap: 2rem;
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image img { height: 280px; }
  .meals-grid { grid-template-columns: 1fr; gap: 2rem; }
  .meals-image img { height: 260px; }
  .core-activity-cards { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .tour-block, .tour-block--img-right { grid-template-columns: 1fr; gap: 1.5rem; }
  .getting-here-grid { grid-template-columns: 1fr; gap: 2rem; }
  .getting-here-sidebar { position: static; }
  .travel-tips-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content { margin-left: 24px; margin-right: 24px; padding-top: 25vh; }
  .hero-title { white-space: normal; }

  body { font-size: 1.0625rem; }
  p, li, label, input, select, textarea,
  .tour-block-content p, .tour-highlights li,
  .review-body, .review-name,
  .info-card p, .quick-facts-list li, .travel-tips-list li,
  .flight-routes li, .onsite-item,
  .footer-links a, .footer-description, .footer-location,
  .footer-enquiry, .meal-detail p,
  .modal-room-desc, .modal-room-specs li,
  .villa-info > p, .villa-specs li { font-size: 1rem !important; }
  .footer-copyright, .review-country, .form-reassurance { font-size: 0.9375rem !important; }
  .footer-lang-flags { justify-content: flex-start; }
  .flag-svg { width: 32px; }
  .footer-flag-link { opacity: 0.9; }
}

/* Narrow mobile (≤ 480px) */
@media (max-width: 480px) {
  :root {
    --container: 100%;
  }

  .container {
    width: calc(100% - 1.5rem);
  }

  .hero {
    padding-top: clamp(5rem, 18vw, 8rem);
  }

  .section {
    padding-block: clamp(2.5rem, 7vw, 4rem);
  }

  .villa-card {
    border-radius: 8px;
  }

  .activity-card-img {
    aspect-ratio: 16/9;
  }

  .carousel-slide img {
    height: 220px;
  }

  .tour-block-img img {
    height: 190px;
  }

  .review-card {
    padding: 1.25rem;
  }

  .contact-form-wrap form {
    padding: 1.25rem;
  }
}

/* ─── Utilities ──────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
