/* ================================================================
   Sunny Holiday — style.css
   Recoleta + Manrope — Bronze accent #a16207
   ================================================================ */

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

:root {
  --nav-h: 80px;
  --max-w: 1200px;
  --section-pad: 72px;
  --btn-radius: 8px;
  --img-radius: 14px;

  --font-heading: 'Cabinet Grotesk', 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --accent: #a16207;
  --accent-hover: #854d0e;
  --accent-light: #fef3c7;

  --bg: #ffffff;
  --bg-alt: #fafaf8;
  --text: #1a1209;
  --text-muted: #6b5738;
  --border: #e5d9c5;

  --footer-bg: #180f01;
  --footer-text: #d6c4a1;
  --footer-heading: #f5e8cc;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
}

/* ----------------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

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

/* ----------------------------------------------------------------
   3. LAYOUT UTILITIES
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: var(--section-pad);
}

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

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.section-intro {
  max-width: 760px;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* ----------------------------------------------------------------
   4. BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 4px 12px rgba(161,98,7,.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.75);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

.btn-room-cta {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--btn-radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-room-cta:hover, .btn-room-cta:focus-visible {
  background: var(--accent-hover);
  box-shadow: 0 4px 12px rgba(161,98,7,.30);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--btn-radius);
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-submit:hover, .btn-submit:focus-visible {
  background: var(--accent-hover);
  box-shadow: 0 4px 14px rgba(161,98,7,.35);
}

/* ----------------------------------------------------------------
   5. NAVBAR
   ---------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: var(--bg); box-shadow: 0 2px 12px rgba(0,0,0,.10);
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: var(--bg);
  box-shadow: 0 2px 12px rgba(0,0,0,.10);
}

.navbar-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
}

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

.logo-navbar {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-links a {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  color: var(--text);
  transition: color 0.2s, background 0.2s;
}

.navbar.scrolled .navbar-links a {
  color: var(--text);
}

.navbar-links a:hover,
.navbar-links a:focus-visible {
  background: rgba(255,255,255,.15);
  color: #fff;
}

.navbar.scrolled .navbar-links a:hover,
.navbar.scrolled .navbar-links a:focus-visible {
  background: var(--accent-light);
  color: var(--accent);
}

.navbar-links .nav-cta a {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: var(--btn-radius);
}

.navbar-links .nav-cta a:hover,
.navbar-links .nav-cta a:focus-visible {
  background: var(--accent-hover) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  padding: 4px;
  background: transparent;
  transition: background 0.2s;
}

.hamburger:hover {
  background: rgba(255,255,255,.15);
}

.navbar.scrolled .hamburger:hover {
  background: var(--accent-light);
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: background 0.2s;
}

.navbar.scrolled .hamburger-bar {
  background: var(--text);
}

.nav-sentinel {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  height: 0;
  pointer-events: none;
}

/* ----------------------------------------------------------------
   6. MOBILE MENU
   ---------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 899;
  background: var(--bg);
  padding: 20px 24px 32px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-110%);
  transition: transform 0.3s ease;
  border-top: 1px solid var(--border);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  transition: background 0.2s;
}

.mobile-menu-close:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
}

.mobile-nav-links li a {
  display: block;
  padding: 11px 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

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

.mobile-nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  margin-top: 8px;
  border-radius: var(--btn-radius) !important;
  text-align: center;
}

.mobile-nav-cta:hover {
  background: var(--accent-hover) !important;
}

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

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

/* ----------------------------------------------------------------
   7. HERO
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(20,10,0,.55) 0%,
    rgba(20,10,0,.30) 50%,
    rgba(20,10,0,.10) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 48px;
  max-width: 720px;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  color: #fff;
  font-family: var(--font-heading);
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,.30);
}

.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(255,255,255,.90);
  font-weight: 500;
  margin-bottom: 32px;
  max-width: 560px;
  text-shadow: 0 1px 6px rgba(0,0,0,.25);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ----------------------------------------------------------------
   8. ABOUT SECTION
   ---------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-img-col {
  flex-shrink: 0;
}

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

.about-text-col .section-eyebrow {
  display: block;
  margin-bottom: 8px;
}

.about-text-col .section-heading {
  margin-bottom: 20px;
}

.about-text-col p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-text-col p:last-child {
  margin-bottom: 0;
}

/* ----------------------------------------------------------------
   9. ROOMS / VILLAS SECTION
   ---------------------------------------------------------------- */
.villas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.villa-card {
  background: var(--bg);
  border-radius: var(--img-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}

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

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e5d9c5;
  flex-shrink: 0;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}

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

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

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.80);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, transform 0.2s;
  color: var(--text);
}

.carousel-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

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

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  z-index: 10;
}

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

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

/* View Details row */
.room-view-details-row {
  display: flex;
  justify-content: center;
  padding: 14px 16px 0;
  background: var(--bg);
}

.villa-view-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 18px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.villa-view-link:hover, .villa-view-link:focus-visible {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent-hover);
}

/* Villa info */
.villa-info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.villa-name {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.villa-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
  line-height: 1.6;
}

/* ----------------------------------------------------------------
   10. ACTIVITIES SECTION
   ---------------------------------------------------------------- */
.activities-section .section-intro {
  text-align: left;
  max-width: 100%;
  margin-bottom: 40px;
  font-size: 1rem;
  color: var(--text-muted);
}

/* Core Activity Cards Grid */
.activity-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

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

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

.activity-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.activity-card-body {
  padding: 18px 20px 20px;
}

.activity-card-body h3 {
  font-size: 1.0625rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.activity-card-body h3 i {
  color: var(--accent);
  font-size: 1rem;
}

.activity-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Tour Blocks */
.tour-blocks {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 56px;
}

.tour-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.tour-block-reverse {
  direction: rtl;
}

.tour-block-reverse > * {
  direction: ltr;
}

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

.tour-block-text h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  line-height: 1.3;
}

.tour-block-text > p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.7;
}

.tour-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tour-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tour-highlights li i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.875rem;
}

/* Dive Sites Table-style list */
.dive-sites-table {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  font-size: 0.875rem;
  margin-top: 16px;
}

.dive-sites-table dt {
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.dive-sites-table dd {
  color: var(--text-muted);
}

/* On-Site Activities */
.onsite-section {
  margin-top: 12px;
}

.onsite-heading {
  font-size: 1.25rem;
  margin-bottom: 20px;
  text-align: center;
}

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

.onsite-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 12px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: box-shadow 0.2s, background 0.2s;
}

.onsite-item:hover {
  background: var(--accent-light);
  box-shadow: var(--shadow-sm);
}

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

/* ----------------------------------------------------------------
   11. MEALS SECTION
   ---------------------------------------------------------------- */
.meals-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: start;
}

.meals-text .section-eyebrow {
  display: block;
  margin-bottom: 8px;
}

.meals-text .section-heading {
  margin-bottom: 18px;
}

.meals-text > p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1rem;
}

.meal-breakdown {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.meal-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.meal-icon {
  font-size: 1.25rem;
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
  width: 22px;
}

.meal-item > div strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.meal-item > div p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.meals-extras {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.meals-extras h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.meals-extras p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.65;
}

.meals-extras p:last-child {
  margin-bottom: 0;
}

.meals-img-col {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

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

/* ----------------------------------------------------------------
   12. GETTING HERE SECTION
   ---------------------------------------------------------------- */
.getting-here-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}

.getting-here-content .section-eyebrow {
  display: block;
  margin-bottom: 8px;
}

.getting-here-content .section-heading {
  margin-bottom: 24px;
}

.getting-here-content h3 {
  font-size: 1.1rem;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--text);
}

.getting-here-content h3:first-of-type {
  margin-top: 0;
}

.getting-here-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.7;
}

.getting-here-content p:last-of-type {
  margin-bottom: 0;
}

.flight-routes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  padding-left: 4px;
}

.flight-routes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.flight-routes li i {
  color: var(--accent);
  margin-top: 5px;
  flex-shrink: 0;
  font-size: 0.6rem;
}

/* Getting Here Sidebar */
.getting-here-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.sidebar-img-wrap {
  border-radius: var(--img-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.sidebar-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* Info Cards (sidebar and contact) */
.info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
}

.section-alt .info-card {
  background: #fff;
}

.info-card-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.6;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card-note {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  margin-top: 8px;
  font-style: italic;
}

/* Travel Tips List */
.travel-tips-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.travel-tips-list li i {
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

/* Quick Facts List */
.quick-facts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-facts-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.quick-facts-list li i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   13. CONTACT SECTION
   ---------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b09e85;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(161,98,7,.12);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,.10);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236b5738' d='M8 11L2 5h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 36px;
}

.required-asterisk {
  color: #dc2626;
  margin-left: 2px;
}

.label-optional {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.form-success {
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.9375rem;
  color: #166534;
}

.form-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.9375rem;
  color: #991b1b;
}

.form-error p {
  margin-top: 4px;
  font-size: 0.875rem;
}

/* ----------------------------------------------------------------
   14. REVIEWS SECTION
   ---------------------------------------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.25s;
}

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

.review-stars {
  display: flex;
  gap: 3px;
}

.review-stars i {
  color: var(--accent);
  font-size: 0.9rem;
}

.review-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
}

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

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

/* ----------------------------------------------------------------
   15. FOOTER
   ---------------------------------------------------------------- */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 56px;
  padding-bottom: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--footer-heading);
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--footer-text);
  margin-bottom: 14px;
}

.footer-location {
  font-size: 0.8125rem;
  color: #a8916a;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.footer-location i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-links-col h4,
.footer-social-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--footer-heading);
  margin-bottom: 16px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-col ul li a {
  font-size: 0.875rem;
  color: var(--footer-text);
  transition: color 0.2s;
}

.footer-links-col ul li a:hover {
  color: #fff;
}

.footer-social-col > p {
  margin-bottom: 16px;
}

.footer-enquiry-link {
  font-size: 0.9375rem;
  color: #d6c4a1;
  transition: color 0.2s;
}

.footer-enquiry-link:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  color: var(--footer-text);
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

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

.footer-bottom {
  padding-top: 20px;
  text-align: center;
  font-size: 0.8125rem;
  color: #7a6248;
}

/* ----------------------------------------------------------------
   16. MODALS
   ---------------------------------------------------------------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

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

.modal-dialog {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-radius: var(--img-radius);
  padding: 36px 32px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-dialog h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
  padding-right: 32px;
}

.modal-dialog > p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.7;
}

.modal-amenities {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.modal-amenities li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal-amenities li i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}

.modal-close:hover, .modal-close:focus-visible {
  background: var(--accent-light);
  color: var(--accent);
}

.modal-book-cta {
  width: 100%;
  padding: 13px 20px;
  font-size: 1rem;
}

/* ----------------------------------------------------------------
   17. RESPONSIVE — 1024px
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  html { scroll-padding-top: calc(80px + 1rem); }

:root {
    --section-pad: 60px;
  }

  .villas-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .activity-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .onsite-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .meals-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .meals-img-col {
    position: static;
    max-width: 480px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

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

/* ----------------------------------------------------------------
   18. RESPONSIVE — 900px (navbar collapse)
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
  .navbar {
    background: var(--bg) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.08) !important;
  }

  .navbar-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hamburger-bar {
    background: var(--text) !important;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-img {
    height: 320px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-sidebar {
    position: static;
  }
}

/* ----------------------------------------------------------------
   19. RESPONSIVE — 768px
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  html { scroll-padding-top: calc(80px + 1rem); }

:root {
    --section-pad: 48px;
    --nav-h: 68px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-content {
    padding-top: calc(var(--nav-h) + 56px);
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-cta-row .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .villas-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .activity-cards-grid {
    grid-template-columns: 1fr;
  }

  .tour-block,
  .tour-block.tour-block-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 24px;
  }

  .tour-block-reverse {
    direction: ltr;
  }

  .tour-block-reverse .tour-block-img {
    order: -1;
  }

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

  .getting-here-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .getting-here-sidebar {
    position: static;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-header {
    margin-bottom: 32px;
  }
}

/* ----------------------------------------------------------------
   20. RESPONSIVE — 480px
   ---------------------------------------------------------------- */
@media (max-width: 480px) {
  .container {
    padding-inline: 16px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .onsite-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .onsite-item {
    padding: 16px 8px;
    font-size: 0.8rem;
  }

  .modal-dialog {
    padding: 28px 20px;
    border-radius: 12px;
  }

  .form-submit-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-submit {
    width: 100%;
    justify-content: center;
  }
}

/* ----------------------------------------------------------------
   21. ACCESSIBILITY / FOCUS STYLES
   ---------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
html:focus-visible, body:focus-visible, section:focus-visible,
nav:focus-visible, main:focus-visible, div:focus-visible,
header:focus-visible, footer:focus-visible {
  outline: none !important;
}

/* ----------------------------------------------------------------
   22. PRINT
   ---------------------------------------------------------------- */
@media print {
  .navbar, .mobile-menu, .menu-backdrop,
  .hero-cta-row, .carousel-btn, .carousel-dots,
  .footer-social, .btn-submit, .modal {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .section {
    padding-block: 24pt;
  }
}

/* ========= AUDIT FIXES ========= */
.logo-navbar { max-height: 70px; width: auto; padding: 0 !important; margin: 0 !important; filter: none; transition: filter 0.25s; }
.navbar.scrolled .logo-navbar { filter: none; }
@media (max-width: 900px) { .logo-navbar { max-height: 70px; filter: none; } .navbar { background: var(--bg) !important; box-shadow: 0 2px 12px rgba(0,0,0,.10) !important; } .navbar.scrolled { background: rgba(255,255,255,0.97) !important; } }
.navbar-logo { margin-right: auto; padding: 5px 0; }
.navbar-inner { display: flex; align-items: center; height: 80px; width: 100%; padding-left: 120px; padding-right: 120px; gap: 1rem; }
@media (max-width: 900px) { .navbar-inner { padding-left: 1rem; padding-right: 1rem; } }
.navbar-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.navbar-links a { color: var(--text); text-decoration: none; font-size: 1.0625rem; font-weight: 600; padding: 0.4rem 0.75rem; }
.navbar.scrolled .navbar-links a { color: #6b7280; }
.navbar-links a:hover { color: var(--accent); }
.navbar.scrolled .navbar-links a:hover { color: var(--accent); }
.nav-cta a { background: var(--accent); color: #fff !important; padding: 0.4rem 1.125rem; border-radius: 6px; font-size: 1rem; font-weight: 700; }
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-start; overflow: hidden; margin-top: 0; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right,rgba(0,0,0,0.55) 0%,rgba(0,0,0,0.35) 55%,rgba(0,0,0,0.15) 100%); z-index: 1; }
@media (max-width: 900px) { .hero-overlay { background: linear-gradient(to bottom,rgba(0,0,0,0.3) 0%,rgba(0,0,0,0.5) 60%,rgba(0,0,0,0.65) 100%); } }
.hero-content { position: relative; z-index: 2; padding-top: 33.33vh; padding-bottom: 4rem; margin-left: max(100px, 6vw); margin-right: 200px; text-align: left; }
@media (max-width: 900px) { .hero-content { margin-left: 1.5rem; margin-right: 1.5rem; } }
.hero-heading { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 1rem; }
@media (min-width: 901px) { .hero-heading { white-space: nowrap; } }
.hero-sub { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: rgba(255,255,255,0.85); margin-bottom: 2rem; max-width: 52ch; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-cta { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 2rem; border-radius: 6px; font-size: 1.0625rem; font-weight: 600; text-decoration: none; }
.hero-cta--primary { background: var(--accent); color: #fff; }
.hero-cta--outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.nav-sentinel { height: 80px; opacity: 0; pointer-events: none; }
/* Lang switcher */
.lang-switcher-desktop { flex-shrink: 0; display: flex; }
.lang-switcher-x22 { display: flex; align-items: center; margin-left: 1rem; background: #f3f4f6; border: 1px solid #d1d5db; border-radius: 999px; overflow: hidden; padding: 2px; }
.lang-switcher-x22 a { font-size: 0.8125rem; padding: 0.3rem 0.85rem; color: #9ca3af; text-decoration: none; border-radius: 999px; transition: all 0.2s; font-weight: 500; }
.lang-switcher-x22 .lang-active { color: #1a1a1a; background: #fff; font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,0.1); border-radius: 999px; }
.navbar.scrolled .lang-switcher-x22 { background: #f3f4f6; border: 1px solid #d1d5db; }
.navbar.scrolled .lang-switcher-x22 a { color: #4b5563; }
.navbar.scrolled .lang-switcher-x22 .lang-active { color: #1a1a1a; background: rgba(0,0,0,0.1); }
.lang-switcher-x13 {
  display: flex;
  align-items: center;
  margin-left: 1rem;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  overflow: hidden;
  padding: 2px;
}
.lang-switcher-x13 a {
  font-size: 0.8125rem;
  padding: 0.3rem 0.85rem;
  color: #9ca3af;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.2s;
  font-weight: 500;
}
.lang-switcher-x13 .lang-active {
  color: #1a1a1a;
  background: #fff;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.lang-switcher-x13 a:not(.lang-active):hover {
  color: var(--accent);
  background: rgba(0,0,0,0.04);
}
.lang-switcher-x21 { display: flex; align-items: center; margin-left: 18px; }
.lang-switcher-x21 a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9375rem; }
.lang-switcher-x21 .lang-active { color: #fff; }
.lang-switcher-x21 .lang-divider { color: rgba(255,255,255,0.3); margin: 0 0.25rem; }
.lang-switcher-xm12 { display: flex; gap: 0.375rem; font-size: 0.6875rem; }
.lang-switcher-xm12 a { color: #6b7280 !important; text-shadow: none !important; text-decoration: none !important; font-weight: 500 !important; }
.navbar.scrolled .lang-switcher-xm12 a { color: #4b5563 !important; text-shadow: none; }
.lang-switcher-xm12 .lang-active { color: #1a1a1a !important; font-weight: 700 !important; } .navbar.scrolled .lang-switcher-xm12 .lang-active { color: #1a1a1a !important; }
.lang-switcher-x22 a:not(.lang-active):hover { color: var(--accent); background: rgba(0,0,0,0.04); }
.navbar.scrolled .lang-switcher-x22 a:hover { color: var(--accent); }
.navbar-right-mobile { display: none; flex-direction: row; align-items: center; gap: 0.75rem; margin-left: auto; height: 100%; }
@media (max-width: 1023px) { .navbar-right-mobile { display: flex !important; flex-direction: row !important; margin-left: auto !important; } .navbar-links { display: none !important; } .lang-switcher-desktop { display: none !important; } }
@media (min-width: 1024px) { .lang-switcher-mobile { display: none !important; } }
.hamburger-bar { background: #1a1a1a !important; }
.navbar.scrolled .hamburger-bar { background: #1a1a1a !important; }
/* Footer */
.footer-lang { display: flex; gap: 0.75rem; align-items: center; margin-top: 1.25rem; }
.footer-flag { display: inline-flex; align-items: center; opacity: 0.75; transition: opacity 0.2s; text-decoration: none; }
.footer-flag:hover,.footer-flag.lang-active { opacity: 1; }
.flag-svg { display: block; width: 28px; height: 18px; }
.footer-location { font-size: 1rem; color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.footer-location i { color: var(--accent) !important; }
/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
.contact-card { background: var(--surface, #f9fafb); border: 1px solid var(--border, #e5e7eb); border-radius: 10px; padding: 1.25rem 1.375rem; margin-bottom: 1rem; }
.contact-card h4 { font-size: 1.0625rem; margin: 0 0 0.625rem; display: flex; align-items: center; gap: 0.5rem; }
.contact-card h4 i { color: var(--accent); }
.contact-card p,.contact-card address { font-size: 1rem; color: #6b7280; margin: 0; font-style: normal; line-height: 1.55; }
.quick-facts-sidebar { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.quick-facts-sidebar li { display: flex; align-items: center; gap: 0.625rem; font-size: 1rem; color: #6b7280; }
.quick-facts-sidebar li i { color: var(--accent); width: 1.25rem; text-align: center; flex-shrink: 0; }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form-row--2 { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-size: 1rem; font-weight: 600; }
.form-field input,.form-field select,.form-field textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid #e5e7eb; border-radius: 6px; font-family: 'DM Sans', sans-serif; font-size: 1rem; color: var(--text, #1a1a1a); }
.form-field input::placeholder,.form-field textarea::placeholder { color: #9ca3af !important; font-family: 'DM Sans', sans-serif !important; font-size: 1rem !important; opacity: 1 !important; }
.form-field select { color: #9ca3af; }
.form-field select option { color: var(--text, #1a1a1a); }
.form-field input:focus,.form-field select:focus,.form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(161,98,7,0.12); }
.form-field textarea { resize: vertical; min-height: 110px; }
.btn-submit { display: inline-flex; padding: 0.875rem 2.25rem; background: var(--accent); color: #fff; border: none; border-radius: 6px; font-weight: 600; font-size: 1rem; cursor: pointer; }
.form-reassurance { font-size: 0.9375rem; color: #6b7280; margin: 0.75rem 0 0; }
.form-error { background: #fef2f2; border-left: 4px solid #dc2626; color: #7f1d1d; padding: 1rem 1.25rem; margin-bottom: 1.5rem; border-radius: 6px; }
.form-success { background: #f0fdf4; border-left: 4px solid #16a34a; color: #14532d; padding: 1rem 1.25rem; margin-bottom: 1.5rem; border-radius: 6px; }
.booking-form { display: flex; flex-direction: column; gap: 1.25rem; }
.optional-label { font-size: 0.9375rem; font-weight: 400; color: #6b7280; }
.mobile-cta a { display: block; margin-top: 1.25rem; padding: 0.875rem; background: var(--accent); color: #fff !important; text-align: center; border-radius: 6px; font-weight: 600; text-decoration: none; }
/* Tour block grid */
.tour-block { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: start; }
.tour-block-reverse { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 768px) { .tour-block,.tour-block-reverse { grid-template-columns: 1fr; } }
/* Mobile font floor */
@media (max-width: 768px) {
  p, li, td, th, address, label, span { font-size: 1rem !important; }
  input, select, textarea { font-size: 1rem !important; }
  .footer-copyright { font-size: 0.9375rem !important; }
  .form-reassurance { font-size: 0.9375rem !important; }
  .review-country { font-size: 0.9375rem !important; }
}

/* Villa view link centered, no underline */
.villa-view-link {
  display: block;
  text-align: center;
  text-decoration: none !important;
  border: none;
  background: none;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}
.villa-view-link:hover { opacity: 0.7; }

/* Island hopping image square */
img[src*="island-hopping-tours-sunny"] {
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
  width: 100% !important;
}

/* ===== Sipadan dive sites fullwidth cards ===== */
.sipadan-sites-fullwidth {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.site-card {
  background: var(--surface, #f9fafb);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
  padding: 1.25rem;
}
.site-card strong {
  display: block;
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.site-card p {
  font-size: 1rem;
  color: var(--mid, #6b7280);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 768px) {
  .sipadan-sites-fullwidth { grid-template-columns: 1fr; }
}

/* Ensure hero-img works even with original hero CSS */
.hero .hero-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 0 !important;
}

/* Fix navbar: ensure fully transparent at top */

/* ===== Brown line fix: remove any accent border/line at top ===== */
.navbar::before, .navbar::after { display: none !important; }
html, body { border-top: none !important; }

/* ===== Contact grid: 70% form, 30% sidebar ===== */
.contact-grid {
  grid-template-columns: 7fr 3fr !important;
}

/* ===== Sipadan dive layout: image left, cards right ===== */
.sipadan-dive-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin: 2rem 0;
  align-items: start;
}
.sipadan-dive-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius, 10px);
  object-fit: cover;
}
.sipadan-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.site-card {
  background: var(--surface, #f9fafb);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
  padding: 1.125rem;
}
.site-card--intro {
  background: var(--accent-light, #fef3c7);
  border-color: var(--accent, #a16207);
}
.site-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.375rem;
  color: var(--text);
}
.site-card p {
  font-size: 0.9375rem;
  color: var(--mid, #6b7280);
  margin: 0;
  line-height: 1.5;
}
.sipadan-addon-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface, #f9fafb);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
}
.sipadan-addon-note p {
  margin: 0;
  font-size: 1rem;
  color: var(--mid, #6b7280);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .sipadan-dive-layout { grid-template-columns: 1fr; }
  .sipadan-cards-grid { grid-template-columns: 1fr; }
}

/* Remove old sipadan-sites-fullwidth if conflicting */
.sipadan-sites-fullwidth { display: none !important; }

/* Dive sites subheading - 2px smaller than h3 */
.dive-sites-subheading {
  font-size: calc(1.25rem - 2px);
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
  color: var(--text);
}

/* Sipadan sites grid - fullwidth below tour block */
.sipadan-sites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
@media (max-width: 768px) {
  .sipadan-sites-grid { grid-template-columns: 1fr; }
}

/* Hide old layouts */
.sipadan-dive-layout { display: none !important; }
.sipadan-sites-fullwidth { display: none !important; }
.sipadan-addon-note { display: none !important; }

/* Reduce top padding by 25px on key sections */
#villas, #contact, #activities, #meals, #getting-here, #reviews {
  padding-top: calc(var(--section-pad, 5rem) - 25px) !important;
}

/* ===== Lang switcher pill with hover effect ===== */
.lang-switcher-x22 {
  background: rgba(0,0,0,0.06) !important;
  border: 1px solid rgba(0,0,0,0.1) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
}
.lang-switcher-x22 a {
  color: #6b7280 !important;
  padding: 0.3rem 0.85rem !important;
  transition: color 0.2s, background 0.2s !important;
}
.lang-switcher-x22 .lang-active {
  color: #1a1a1a !important;
  background: rgba(0,0,0,0.08) !important;
  font-weight: 600 !important;
}
.lang-switcher-x22 a:hover {
  color: var(--accent) !important;
  background: rgba(0,0,0,0.04) !important;
}

/* ===== Mobile logo within navbar height ===== */
@media (max-width: 900px) {
  .logo-navbar {
    max-height: calc(var(--nav-h, 80px) - 16px) !important;
    height: auto !important;
    width: auto !important;
  }
  .navbar-logo {
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* ===== Mobile: single column everywhere, no overflow ===== */
@media (max-width: 768px) {
  .tour-block, .tour-block-reverse,
  .about-grid, .about-content,
  .contact-grid, .form-row--2,
  .meals-grid, .getting-here-grid,
  .rooms-grid, .villas-grid {
    grid-template-columns: 1fr !important;
    display: grid !important;
  }
  
  /* Prevent text overflow */
  body, .container, section, div, p, h1, h2, h3, h4, ul, li {
    max-width: 100vw !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
  }
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    overflow-x: hidden !important;
  }
  html, body {
    overflow-x: hidden !important;
  }
  
  /* Tour blocks image then text */
  .tour-block .tour-block-img,
  .tour-block-reverse .tour-block-img { order: 1 !important; }
  .tour-block .tour-block-text,
  .tour-block-reverse .tour-block-text { order: 2 !important; }
  .tour-block, .tour-block-reverse {
    padding: 0 !important;
    gap: 1rem !important;
  }
}

/* ===== Hero sub text 1px bigger ===== */
.hero-sub {
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem) !important;
}

/* ===== Footer location 1px smaller ===== */
.footer-location {
  font-size: 0.9375rem !important;
}

/* ===== FINAL lang-switcher-x22 pill (overrides everything) ===== */
.lang-switcher-x22,
.navbar .lang-switcher-x22,
.navbar.scrolled .lang-switcher-x22 {
  display: flex !important;
  align-items: center !important;
  margin-left: 1rem !important;
  background: #f3f4f6 !important;
  border: 1px solid #d1d5db !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  padding: 2px !important;
  gap: 0 !important;
}
.lang-switcher-x22 a,
.navbar .lang-switcher-x22 a,
.navbar.scrolled .lang-switcher-x22 a {
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  padding: 0.3rem 0.9rem !important;
  color: #9ca3af !important;
  text-decoration: none !important;
  border-radius: 999px !important;
  transition: all 0.2s ease !important;
  background: transparent !important;
  line-height: 1.4 !important;
}
.lang-switcher-x22 .lang-active,
.navbar .lang-switcher-x22 .lang-active,
.navbar.scrolled .lang-switcher-x22 .lang-active {
  color: #1a1a1a !important;
  font-weight: 700 !important;
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}
.lang-switcher-x22 a:not(.lang-active):hover,
.navbar .lang-switcher-x22 a:not(.lang-active):hover,
.navbar.scrolled .lang-switcher-x22 a:not(.lang-active):hover {
  color: var(--accent) !important;
  background: rgba(255,255,255,0.6) !important;
}

/* ===== Mobile navbar: lang + hamburger on RIGHT ===== */
@media (max-width: 1023px) {
  .navbar-right-mobile {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-left: auto !important;
  }
  .navbar-logo {
    margin-right: 0 !important;
  }
  /* Mobile lang switcher - simple grey text, no pill */
  .lang-switcher-xm12,
  .lang-switcher-xm11,
  .lang-switcher-xm14 {
    display: flex !important;
    gap: 0.375rem !important;
    font-size: 0.75rem !important;
  }
  .lang-switcher-xm12 a,
  .lang-switcher-xm11 a,
  .lang-switcher-xm14 a {
    color: #6b7280 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    font-weight: 500 !important;
  }
  .lang-switcher-xm12 .lang-active,
  .lang-switcher-xm11 .lang-active,
  .lang-switcher-xm14 .lang-active {
    color: #1a1a1a !important;
    font-weight: 700 !important;
  }
}
