/* ===================================================
   LALAGUNA VILLAS - WEBSITE STYLES
   Figma Home Page v2 — Poppins, left-aligned hero,
   alternating content-sections, gallery carousel
   =================================================== */

/* --- CSS Variables --- */
:root {
  --color-navy: #0F2644;
  --color-navy-dark: #0A1B33;
  --color-navy-light: #1A3558;
  --color-orange: #FF7F00;
  --color-orange-dark: #E06F00;
  --color-orange-light: #FF9933;
  --color-white: #FFFFFF;
  --color-offwhite: #F5F5F0;
  --color-gray-light: #E2E2E2;
  --color-gray: #D9D9D9;
  --color-text: #2C2C2C;
  --color-text-light: #CCCCCC;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --max-width: 1440px;
  --section-padding: 100px 0;
  --container-padding: 0 80px;

  --transition: all 0.3s ease;
}

/* --- Skip Link (Accessibility) --- */
.skip-link.screen-reader-text {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100000;
  padding: 12px 24px;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}
.skip-link.screen-reader-text:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  clip: auto;
  overflow: visible;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}

.btn-primary:hover {
  background: var(--color-orange-dark);
  border-color: var(--color-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 127, 0, 0.4);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline-light:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn-lg {
  padding: 18px 50px;
  font-size: 1rem;
  letter-spacing: 3px;
  border-radius: 45px;
}

/* --- Section Headings --- */
.section-heading {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--color-navy);
}

.section-heading.light {
  color: var(--color-white);
}

.section-heading .accent {
  color: var(--color-orange);
}

/* ===================================================
   HEADER
   =================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(15, 38, 68, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Full-color logo — NO white filter */
.logo img {
  height: 50px;
  width: auto;
}

.main-nav .nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav .nav-links > li {
  position: relative;
}

.main-nav .nav-links > li > a {
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav .nav-links > li > a .chevron {
  width: 10px;
  height: 10px;
  transition: transform 0.3s ease;
}

.main-nav .nav-links > li > a.active {
  color: var(--color-orange);
}

.main-nav .nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-orange);
  transition: width 0.3s ease;
}

.main-nav .nav-links > li > a:hover::after,
.main-nav .nav-links > li > a.active::after {
  width: 100%;
}

/* --- Dropdown Menus --- */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--color-orange);
  border-radius: 8px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  z-index: 100;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--color-orange);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
}

.has-dropdown:hover > a .chevron {
  transform: rotate(180deg);
}

.dropdown li a {
  display: block;
  padding: 10px 24px;
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.dropdown li a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
}

/* ===================================================
   HERO — Left-aligned per Figma
   =================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

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

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.hero-img-fallback {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.hero-gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(15, 38, 68, 0.32), transparent);
  z-index: 1;
}

.hero-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 350px;
  background: linear-gradient(to top, rgba(15, 38, 68, 0.85), transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 80px 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1.08;
  margin-bottom: 10px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.hero-headline {
  width: fit-content;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.9;
  line-height: 1.2;
  width: 100%;
  display: block;
  font-size: 2.5rem;
  letter-spacing: 0.12em;
  text-align: justify;
  text-align-last: justify;
}

.hero-description {
  font-size: 1.5rem;
  line-height: 1.6;
  max-width: 900px;
  margin-bottom: 35px;
  opacity: 0.85;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 15px;
  align-self: flex-end;
  flex-wrap: wrap;
}

.subpage-hero .hero-ctas,
.subpage-hero__content .hero-ctas {
  align-self: center;
  justify-content: center;
  margin-top: 28px;
}

/* ===================================================
   PROFITROOM BOOKING BAR — Below Hero
   =================================================== */
.booking-bar {
  position: relative;
  z-index: 100;
  margin-top: -45px;
  padding: 0 40px;
}

.booking-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  padding: 10px 20px;
  overflow: hidden;
}

/* Style overrides for Profitroom's injected elements */
.booking-bar .be-panel {
  width: 100%;
}

@media (max-width: 768px) {
  .booking-bar {
    margin-top: -30px;
    padding: 0 15px;
  }

  .booking-bar__inner {
    border-radius: 12px;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .booking-bar {
    margin-top: -20px;
    padding: 0 10px;
  }
}

/* ===================================================
   HEADER — Nav right-aligned + Book Now button
   =================================================== */
.main-nav {
  margin-left: auto;
}

.btn-book-now {
  background: var(--color-orange);
  color: var(--color-white) !important;
  padding: 10px 24px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 20px;
}

.btn-book-now:hover {
  background: var(--color-orange-dark);
  transform: translateY(-1px);
  color: var(--color-white) !important;
  box-shadow: 0 4px 15px rgba(255, 127, 0, 0.4);
}


/* ===================================================
   FOOTER — Credit line
   =================================================== */
.footer-credit {
  font-size: 0.7rem;
  opacity: 0.35;
  margin-top: 6px;
  letter-spacing: 1px;
}

/* ===================================================
   INTRO / WELCOME — White background, image above text
   =================================================== */
.intro {
  background: var(--color-white);
  padding: var(--section-padding);
}

.intro .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro .section-heading {
  color: var(--color-navy);
}

.intro-image {
  width: 100%;
  margin-bottom: 40px;
}

.intro-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 51px;
}

.intro-text {
  max-width: 900px;
  text-align: center;
}

.intro-text p {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 20px;
  color: var(--color-text);
  font-weight: 300;
}

/* ===================================================
   CONTENT SECTIONS — Unified alternating layout
   (Stay, Dive, Dining, Spa, Events, Location)
   =================================================== */
.content-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.content-section__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 70px;
  background: var(--color-offwhite);
}

.content-section__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-orange);
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.content-section__subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.content-section__text p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #555;
}

.content-section__text .btn {
  margin-top: 10px;
  align-self: flex-start;
}

.content-section__image {
  overflow: hidden;
}

.content-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.content-section:hover .content-section__image img {
  transform: scale(1.03);
}

/* Image-right: text first (default order), image second */
.content-section.image-right .content-section__text {
  order: 1;
}

.content-section.image-right .content-section__image {
  order: 2;
}

.content-section.image-right .content-section__image img {
  border-radius: 12px;
}

/* Image-left: image first, text second */
.content-section.image-left .content-section__image {
  order: 1;
}

.content-section.image-left .content-section__text {
  order: 2;
}

.content-section.image-left .content-section__image img {
  border-radius: 12px;
}

/* ===================================================
   GALLERY — Interactive carousel on navy background
   =================================================== */
.gallery {
  background: var(--color-navy);
  padding: var(--section-padding);
  overflow: hidden;
}

.gallery-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
}

.gallery-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 1300px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 39px;
  flex-shrink: 0;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

@keyframes galleryActiveIn {
  0% { opacity: 0; transform: scale(0.7); filter: blur(4px); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes gallerySideIn {
  0% { opacity: 0; transform: scale(0.6) translateY(10px); }
  100% { opacity: 0.6; transform: scale(0.9) translateY(0); }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Active center slide */
.gallery-item.gallery-active {
  width: 718px;
  height: 470px;
  animation: galleryActiveIn 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Side slides */
.gallery-item.gallery-side-item {
  width: 280px;
  height: 356px;
  opacity: 0.6;
  transform: scale(0.9);
  animation: gallerySideIn 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item.gallery-side-item:hover {
  opacity: 0.85;
}

/* Hidden slides */
.gallery-item.gallery-hidden {
  display: none;
}

/* Gallery navigation arrows */
.gallery-arrow {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-white);
  transition: var(--transition);
  flex-shrink: 0;
  z-index: 2;
}

.gallery-arrow svg {
  width: 20px;
  height: 20px;
}

.gallery-arrow:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
}

/* Gallery dots */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.gallery-dot.active {
  background: var(--color-orange);
}

.gallery-dot:hover {
  background: var(--color-orange-light);
}

.gallery-cta {
  text-align: center;
  margin-top: 40px;
}

/* ===================================================
   ACCOLADES
   =================================================== */
.accolades {
  background: var(--color-offwhite);
  padding: var(--section-padding);
}

.accolades-grid {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.accolade-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 160px;
  text-align: center;
}

.accolade-icon {
  width: 64px;
  height: 64px;
}

.accolade-icon svg {
  width: 100%;
  height: 100%;
}

.accolade-item span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--color-navy);
  line-height: 1.4;
}

/* ===================================================
   TRIPADVISOR REVIEWS
   =================================================== */
.tripadvisor {
  background: var(--color-white);
  padding: var(--section-padding);
}

.tripadvisor-header {
  text-align: center;
  margin-bottom: 40px;
}

.tripadvisor-logo {
  margin-bottom: 15px;
}

.tripadvisor-logo svg {
  margin: 0 auto;
  display: block;
}

.tripadvisor-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: -20px;
}

.tripadvisor-stars {
  display: flex;
  gap: 4px;
}

.ta-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
}

.ta-circle.filled {
  background: #34E0A1;
}

.ta-circle.half {
  background: linear-gradient(90deg, #34E0A1 50%, #ddd 50%);
}

.tripadvisor-score {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy);
}

.tripadvisor-reviews {
  font-size: 0.85rem;
  font-weight: 400;
  color: #666;
  margin-left: 6px;
}

.tripadvisor-highlight {
  margin-top: 10px;
}

.highlight-badge {
  display: inline-block;
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 30px;
  letter-spacing: 0.02em;
}

.tripadvisor-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tripadvisor-card {
  background: var(--color-offwhite);
  border-radius: 20px;
  padding: 35px 30px;
  border-left: 4px solid #34E0A1;
  transition: var(--transition);
}

.tripadvisor-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.tripadvisor-card__stars {
  color: #34E0A1;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.tripadvisor-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.tripadvisor-card__text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
}

.tripadvisor-card__author strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-navy);
}

.tripadvisor-card__author span {
  font-size: 0.75rem;
  color: #999;
}

.tripadvisor-cta {
  text-align: center;
  margin-top: 35px;
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-outline-dark:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonials {
  background: var(--color-white);
  padding: var(--section-padding);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--color-gray-light);
  border: none;
  border-radius: 79px;
  padding: 45px 40px;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.testimonial-stars {
  color: var(--color-orange);
  font-size: 1.2rem;
  margin-bottom: 15px;
  letter-spacing: 3px;
}

.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-navy);
}

.testimonial-author span {
  font-size: 0.75rem;
  color: #999;
}

/* Carousel dots */
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 35px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-gray);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--color-orange);
}

.dot:hover {
  background: var(--color-orange-light);
}

/* ===================================================
   DIRECT BOOKING GUARANTEE
   =================================================== */
.guarantee {
  background: var(--color-offwhite);
  padding: var(--section-padding);
}

.guarantee-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.guarantee-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.guarantee-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.guarantee-icon svg {
  width: 100%;
  height: 100%;
}

.guarantee-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-navy);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.guarantee-item p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #666;
}

/* ===================================================
   CTA / SOCIAL SECTION
   =================================================== */
.cta-section {
  background: var(--color-navy);
  padding: 60px 0;
  text-align: center;
  color: var(--color-white);
}

.cta-section .section-heading {
  color: var(--color-white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-lg {
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.social-links span {
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icons a svg {
  width: 18px;
  height: 18px;
}

.social-icons a:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  transform: translateY(-3px);
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: var(--color-navy-dark);
  color: var(--color-white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--color-orange);
}

.footer-col address {
  font-style: normal;
}

.footer-col p,
.footer-col address p {
  font-size: 0.85rem;
  line-height: 1.8;
  opacity: 0.8;
}

.footer-col a {
  color: var(--color-orange-light);
}

.footer-col a:hover {
  color: var(--color-orange);
}

/* Footer center column — subscribe */
.footer-col--subscribe {
  text-align: center;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 60px;
  margin: 0 auto;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.subscribe-form input {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  border-radius: 12px;
  outline: none;
  transition: var(--transition);
}

.subscribe-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.subscribe-form input:focus {
  border-color: var(--color-orange);
  background: rgba(255, 255, 255, 0.1);
}

.subscribe-form .btn {
  border-radius: 30px;
  width: 100%;
}

/* Footer social links */
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 5px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: var(--transition);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-social a:hover {
  background: var(--color-orange);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  opacity: 0.5;
}

/* ===================================================
   SUBPAGE STYLES
   =================================================== */
.subpage-hero {
  position: relative;
  min-height: 50vh;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.subpage-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.subpage-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(0.75);
}

.subpage-hero__content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  max-width: 800px;
  padding: 0 30px;
  padding-top: 60px;
}

.subpage-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 15px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* Smaller title for blog single posts (titles are often long) */
.single .subpage-hero__title,
body.single-post .subpage-hero__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 1px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.subpage-hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0.95;
  max-width: 650px;
  margin: 0 auto;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* Subpage content sections */
.subpage-intro {
  padding: var(--section-padding);
  text-align: center;
}

.subpage-intro .container {
  max-width: 900px;
  margin: 0 auto;
}

.subpage-intro p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 20px;
  font-weight: 300;
}

/* Feature grid for room features, equipment lists, etc. */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 60px 80px;
}

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

.feature-grid-item {
  text-align: center;
  padding: 25px 15px;
}

.feature-grid-item .feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 15px;
  color: var(--color-orange);
}

.feature-grid-item .feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-grid-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.feature-grid-item p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #666;
}

/* Course/pricing cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 0 80px;
  margin-bottom: 60px;
}

.card {
  background: var(--color-offwhite);
  border-radius: 26px;
  padding: 35px 30px;
  transition: var(--transition);
}

.card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 12px;
}

.card .price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-orange);
}

.card .duration {
  font-size: 0.8rem;
  color: #999;
  margin-left: 8px;
}

/* Pricing table */
.pricing-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 40px;
  border-collapse: collapse;
}

.pricing-table th {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 14px 20px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.pricing-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-gray);
  font-size: 0.85rem;
  color: var(--color-text);
}

.pricing-table tr:nth-child(even) td {
  background: var(--color-offwhite);
}

/* Pricing cards (for packages) */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 0 80px;
  margin-bottom: 60px;
}

.pricing-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  border: 2px solid var(--color-gray);
  transition: var(--transition);
}

.pricing-card:nth-child(2) {
  border-color: var(--color-orange);
  transform: scale(1.03);
}

.pricing-card:hover {
  border-color: var(--color-orange);
  box-shadow: 0 8px 30px rgba(255, 127, 0, 0.15);
}

.pricing-card h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 5px;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-orange);
  margin-bottom: 5px;
}

.pricing-card .duration {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 20px;
}

.pricing-card ul {
  text-align: left;
  margin-bottom: 25px;
}

.pricing-card ul li {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #555;
  padding: 6px 0;
  border-bottom: 1px solid var(--color-gray-light);
  padding-left: 15px;
  position: relative;
}

.pricing-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-orange);
  font-weight: 700;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--color-gray);
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: 12px;
  outline: none;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-orange);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Two-column layout for contact pages etc. */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: var(--section-padding);
}

.two-col .container {
  padding: var(--container-padding);
}

/* --- Activity Cards Grid (Land/Water Activities) --- */
.activities-grid-section {
  padding: var(--section-padding);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.activity-card {
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.activity-card__image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

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

.activity-card__content {
  padding: 25px 30px 30px;
}

.activity-card__content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.activity-card__content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text);
  opacity: 0.85;
}

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

  .activity-card__image {
    height: 200px;
  }

  .activity-card__content {
    padding: 20px;
  }
}

/* Subpage CTA band */
.subpage-cta {
  background: var(--color-navy);
  padding: 60px 0;
  text-align: center;
  color: var(--color-white);
}

.subpage-cta h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.subpage-cta p {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================================
   ANIMATIONS
   =================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   MOBILE NAVIGATION OVERLAY
   =================================================== */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 38, 68, 0.98);
  z-index: 10000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-nav-overlay.active {
  display: flex;
}

.mobile-nav-overlay .nav-links {
  flex-direction: column;
  gap: 20px;
  text-align: center;
  max-height: 80vh;
  overflow-y: auto;
  padding: 0 30px;
  width: 100%;
}

.mobile-nav-overlay .nav-links a {
  color: var(--color-white);
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

.mobile-nav-book-now {
  display: inline-block;
  background: var(--color-orange);
  color: var(--color-white) !important;
  padding: 14px 40px;
  border-radius: 30px;
  font-size: 0.85rem !important;
  font-weight: 700;
  letter-spacing: 2px !important;
  text-transform: uppercase;
  margin-top: 10px;
  transition: var(--transition);
}

.mobile-nav-book-now:hover {
  background: var(--color-orange-dark);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10001;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Hide hamburger when mobile nav is open (body class set by JS) */
body.nav-open .hamburger {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Mobile dropdown sub-menus */
.mobile-dropdown-menu {
  display: none;
  padding: 10px 0 0 0;
  text-align: center;
}

.mobile-dropdown.open .mobile-dropdown-menu {
  display: block;
}

.mobile-dropdown-menu a {
  font-size: 0.95rem !important;
  letter-spacing: 1px !important;
  opacity: 0.8;
  padding: 6px 0;
  display: block;
}

.mobile-chevron {
  font-size: 0.7em;
  margin-left: 4px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.mobile-dropdown.open .mobile-chevron {
  transform: rotate(180deg);
}

/* Menu cards (dining page) */
.menu-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.menu-card {
  flex: 0 0 340px;
  background: var(--color-offwhite);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  transition: var(--transition);
  border: 2px solid transparent;
}

.menu-card:hover {
  border-color: var(--color-orange);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.menu-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
}

.menu-card__icon svg {
  width: 100%;
  height: 100%;
}

.menu-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.menu-card__subtitle {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-orange);
  margin-bottom: 12px;
}

.menu-card__desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 20px;
}

.menu-card__cta {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-orange);
  letter-spacing: 0.05em;
}

.menu-card__cta span {
  transition: transform 0.3s ease;
  display: inline-block;
}

.menu-card:hover .menu-card__cta span {
  transform: translateX(4px);
}

/* Menu page gallery (Chinese menu page) */
.menu-page-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 800px;
  margin: 0 auto;
}

.menu-page-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* ===================================================
   RESPONSIVE DESIGN
   =================================================== */
@media (max-width: 1200px) {
  .main-nav .nav-links {
    gap: 18px;
  }

  .main-nav .nav-links a {
    font-size: 0.72rem;
  }

  :root {
    --container-padding: 0 50px;
  }

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

  .hero-subtitle {
    font-size: 1.9rem;
  }

  .gallery-item.gallery-active {
    width: 500px;
    height: 360px;
  }

  .gallery-item.gallery-side-item {
    width: 200px;
    height: 260px;
  }
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
    order: 3;
  }

  .btn-book-now {
    order: 2;
    margin-left: auto;
    margin-right: 12px;
    padding: 8px 16px;
    font-size: 0.7rem;
  }

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

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-content {
    padding: 0 50px 60px;
  }

  .hero-ctas {
    align-self: flex-start;
  }

  /* Content sections go single-column */
  .content-section {
    grid-template-columns: 1fr;
  }

  .content-section.image-right .content-section__text,
  .content-section.image-left .content-section__text {
    order: 2;
  }

  .content-section.image-right .content-section__image,
  .content-section.image-left .content-section__image {
    order: 1;
  }

  .content-section__image img {
    height: 400px;
    border-radius: 0 !important;
  }

  .content-section__text {
    padding: 50px;
  }

  /* Gallery mobile */
  .gallery-item.gallery-active {
    width: 100%;
    max-width: 600px;
    height: 300px;
  }

  .gallery-item.gallery-side-item {
    display: none;
  }

  .gallery-track {
    justify-content: center;
  }

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

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

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

  .subpage-hero__title {
    font-size: 2.5rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 50px;
  }

  .card-grid,
  .pricing-cards {
    padding: 0 50px;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card:nth-child(2) {
    transform: none;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-col--subscribe {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 0 25px;
    --section-padding: 70px 0;
  }

  /* Video stays visible on mobile — user loves it */

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 0.85rem;
  }

  .hero-content {
    padding: 0 25px 50px;
  }

  .hero-ctas {
    flex-direction: column;
    align-self: stretch;
    gap: 10px;
  }

  .hero-ctas .btn {
    width: 100%;
    text-align: center;
  }

  .btn-book-now {
    padding: 6px 14px;
    font-size: 0.6rem;
    margin-left: auto;
    margin-right: 12px;
    letter-spacing: 1.5px;
  }

  .section-heading {
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin-bottom: 35px;
  }

  .intro-image img {
    height: 300px;
    border-radius: 30px;
  }

  .content-section__text {
    padding: 35px 25px;
  }

  .content-section__image img {
    height: 300px;
  }

  .gallery-item.gallery-active {
    height: 220px;
    border-radius: 20px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    border-radius: 40px;
  }

  .tripadvisor-carousel {
    grid-template-columns: 1fr;
  }

  .guarantee-items {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .accolades-grid {
    gap: 30px;
  }

  .subpage-hero {
    min-height: 300px;
  }

  .subpage-hero__title {
    font-size: 2rem;
  }

  .menu-cards {
    flex-direction: column;
    align-items: center;
  }

  .menu-card {
    flex: none;
    width: 100%;
    max-width: 340px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    padding: 30px 25px;
  }

  .card-grid,
  .pricing-cards {
    padding: 0 25px;
  }

  .accolade-item {
    width: 130px;
  }

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

  .footer-col--subscribe {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 15px;
  }

  .logo img {
    height: 38px;
  }

  .btn-book-now {
    padding: 5px 10px;
    font-size: 0.55rem;
    margin-left: auto;
    margin-right: 8px;
    letter-spacing: 1px;
  }

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

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .content-section__title {
    font-size: 1.6rem;
  }

  .section-heading {
    font-size: 1.5rem;
  }

  .testimonial-card {
    padding: 30px 25px;
    border-radius: 30px;
  }

  .mobile-nav-overlay .nav-links {
    gap: 15px;
  }

  .mobile-nav-overlay .nav-links a {
    font-size: 0.95rem;
    letter-spacing: 1.5px;
  }

  .mobile-dropdown-menu a {
    font-size: 0.8rem !important;
  }
}

/* ===================================================
   SUBPAGE STYLES
   =================================================== */

/* --- Subpage Hero --- */
.subpage-hero {
  position: relative;
  width: 100%;
  min-height: 420px;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

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

.subpage-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 38, 68, 0.65);
  z-index: 1;
}

.subpage-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 120px 40px 60px;
}

.subpage-hero .hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.subpage-hero .hero-content p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  font-weight: 300;
}

/* --- Subpage Intro (centered text block) --- */
.subpage-intro {
  padding: var(--section-padding);
  text-align: center;
}

.subpage-intro .container {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--container-padding);
}

.subpage-intro h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.subpage-intro p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}

/* --- Feature List (icon + text rows) --- */
.feature-list-section {
  padding: var(--section-padding);
  background: var(--color-offwhite);
}

.feature-list-section .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.feature-list-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--color-white);
  padding: 24px;
  border-radius: 12px;
}

.feature-item .feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--color-orange);
}

.feature-item .feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-item span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-navy);
}

/* --- Card Grid (courses, dive sites) --- */
.card-grid-section {
  padding: var(--section-padding);
}

.card-grid-section:nth-child(even) {
  background: var(--color-offwhite);
}

.card-grid-section .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.card-grid-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-align: center;
}

.card-grid-section > .container > p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--color-text);
  line-height: 1.7;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: var(--color-white);
  border-radius: 26px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: var(--transition);
  border: 1px solid var(--color-gray-light);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Allow natural content flow — no forced bottom push */

.card__image {
  width: calc(100% + 56px);
  max-width: calc(100% + 56px);
  margin: -32px -28px 20px;
  border-radius: 26px 26px 0 0;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.card .card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--color-orange);
  font-weight: 500;
}

.card p {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
}

/* --- Pricing Cards (Go Pro) --- */
.pricing-section {
  padding: var(--section-padding);
  background: var(--color-offwhite);
}

.pricing-section .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.pricing-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.pricing-card {
  background: var(--color-white);
  border-radius: 26px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 2px solid var(--color-gray-light);
  transition: var(--transition);
}

.pricing-card:hover {
  border-color: var(--color-orange);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.pricing-card.featured {
  border-color: var(--color-orange);
  position: relative;
}

.pricing-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-orange);
  margin-bottom: 8px;
}

.pricing-card .duration {
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 24px;
  font-weight: 500;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pricing-card ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}

.pricing-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-orange);
}

/* --- Subpage CTA --- */
.subpage-cta {
  background: var(--color-navy);
  padding: 80px 0;
  text-align: center;
}

.subpage-cta .container {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--container-padding);
}

.subpage-cta h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.subpage-cta p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 32px;
}

.subpage-cta .btn {
  margin-top: 8px;
}

/* --- Subpage Content Section overrides for centered variant --- */
.content-section.centered {
  text-align: center;
  display: block;
  padding: var(--section-padding);
}

.content-section.centered .container {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--container-padding);
}

.content-section.centered h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.content-section.centered p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}

/* --- Subpage Responsive --- */
@media (max-width: 768px) {
  .subpage-hero {
    min-height: 320px;
  }

  .subpage-hero .hero-content {
    padding: 100px 24px 40px;
  }

  .subpage-hero .hero-content h1 {
    font-size: 2rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .subpage-cta h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .subpage-hero .hero-content h1 {
    font-size: 1.6rem;
  }

  .card {
    padding: 24px 20px;
  }

  .card__image {
    width: calc(100% + 40px);
    max-width: calc(100% + 40px);
    margin: -24px -20px 20px;
  }

  .pricing-card {
    padding: 28px 20px;
  }
}

/* ===================================================
   SUBPAGE CONTENT SECTIONS
   Used by stay-accommodation, stay-transport, stay-gym,
   stay-dining, stay-spa and other subpages
   =================================================== */

.subpage-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15,38,68,0.55) 0%, rgba(15,38,68,0.78) 100%);
}

.subpage-content {
  padding: var(--section-padding);
}

.subpage-content .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Centered text section */
.subpage-section {
  margin-bottom: 80px;
}

.subpage-section:last-child {
  margin-bottom: 0;
}

.subpage-section--centered {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.subpage-section--centered h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 20px;
}

.subpage-section--centered p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 15px;
  font-weight: 300;
}

/* Image-text alternating sections */
.subpage-section--image-right,
.subpage-section--image-left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.subpage-section--image-left .subpage-section__image {
  order: -1;
}

.subpage-section__text h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 15px;
}

.subpage-section__text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 12px;
  font-weight: 300;
}

.subpage-section__image {
  border-radius: 20px;
  overflow: hidden;
}

.subpage-section__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.subpage-section__image img:hover {
  transform: scale(1.03);
}

/* Subpage list */
.subpage-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.subpage-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
  font-weight: 300;
}

.subpage-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-orange);
}

/* Feature / icon grid */
.subpage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.subpage-grid--features {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.subpage-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 15px;
  background: var(--color-offwhite);
  border-radius: 15px;
  transition: var(--transition);
}

.subpage-grid__item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.subpage-grid__icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.subpage-grid__item span {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.6;
  font-weight: 400;
}

/* Features carousel (sustainability, careers) */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 10px 0 20px;
  margin-bottom: 60px;
}

.feature-card {
  flex: 0 0 280px;
  background: var(--color-offwhite);
  border-radius: 20px;
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.feature-card .feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
}

.feature-card .feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--color-text);
  font-weight: 300;
}

/* Promise list (sustainability) */
.promise-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 600px;
  margin: 20px auto;
}

.promise-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
  font-weight: 300;
}

.promise-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-orange);
}

/* Section heading accent */
.section-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.section-heading .accent {
  color: var(--color-orange);
}

/* Content section subtitle */
.content-section__subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--color-text);
  margin-bottom: 20px;
  font-style: italic;
}

/* Subpage section lists */
.subpage-section__text ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.subpage-section__text ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text);
  font-weight: 300;
}

.subpage-section__text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-orange);
}

/* Tables for pricing, schedules, ferries */
.subpage-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.subpage-table--centered {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}

.subpage-table--full {
  max-width: 100%;
}

.subpage-table thead th {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 14px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.subpage-table thead th:first-child {
  border-radius: 10px 0 0 0;
}

.subpage-table thead th:last-child {
  border-radius: 0 10px 0 0;
}

.subpage-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-gray-light);
  color: var(--color-text);
  font-weight: 300;
}

.subpage-table tbody tr:last-child td {
  border-bottom: none;
}

.subpage-table tbody tr:nth-child(even) {
  background: var(--color-offwhite);
}

.subpage-table tbody tr:hover {
  background: rgba(255, 127, 0, 0.05);
}

/* Subpage CTA improvements */
.subpage-cta p {
  font-size: 1rem;
  margin-bottom: 25px;
  opacity: 0.9;
}

/* ===================================================
   SUBPAGE RESPONSIVE OVERRIDES
   =================================================== */

/* ===================================================
   RESPONSIVE — TABLET (1024px)
   =================================================== */
@media (max-width: 1024px) {
  .subpage-section--image-right,
  .subpage-section--image-left {
    gap: 40px;
  }

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

  .subpage-content .container {
    padding: 0 40px;
  }

  /* Card grids */
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  /* Feature list section */
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================================================
   RESPONSIVE — PHONE (768px)
   =================================================== */
@media (max-width: 768px) {
  .subpage-section--image-right,
  .subpage-section--image-left {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .subpage-section--image-left .subpage-section__image {
    order: 0;
  }

  .subpage-section__image img {
    height: 300px;
  }

  .subpage-section {
    margin-bottom: 50px;
  }

  .subpage-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .subpage-table {
    font-size: 0.85rem;
  }

  .subpage-table thead th,
  .subpage-table tbody td {
    padding: 10px 12px;
  }

  .subpage-content .container {
    padding: 0 20px;
  }

  /* Card grids */
  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  /* Feature list */
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    padding: 18px;
  }

  /* Feature carousel — horizontal scroll on mobile */
  .features-grid {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 10px 0 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-orange) transparent;
  }

  .feature-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
    padding: 24px 20px;
  }

  /* Subpage hero */
  .subpage-hero .hero-content {
    padding: 80px 25px 40px;
  }

  .subpage-hero .hero-content h1 {
    font-size: 2rem;
  }

  /* Section headings */
  .section-heading {
    font-size: 1.6rem;
  }

  /* Subpage CTA */
  .subpage-cta h2 {
    font-size: 1.5rem;
  }

  /* Subpage intro */
  .subpage-intro h2 {
    font-size: 1.6rem;
  }

  /* Feature list section */
  .feature-list-section .container {
    padding: 0 20px;
  }

  /* Card grid section */
  .card-grid-section .container {
    padding: 0 20px;
  }

  /* Pricing section */
  .pricing-section .container {
    padding: 0 20px;
  }
}

/* ===================================================
   RESPONSIVE — SMALL PHONE (480px)
   =================================================== */
@media (max-width: 480px) {
  .subpage-grid {
    grid-template-columns: 1fr 1fr;
  }

  .subpage-section--centered h3 {
    font-size: 1.4rem;
  }

  .subpage-section__text h3 {
    font-size: 1.3rem;
  }

  .subpage-section__image img {
    height: 250px;
  }

  .subpage-table--full {
    display: table;
    margin-left: auto;
    margin-right: auto;
  }

  /* Feature carousel */
  .feature-card {
    flex: 0 0 220px;
    padding: 20px 16px;
  }

  .feature-card h4 {
    font-size: 0.9rem;
  }

  /* Subpage hero */
  .subpage-hero .hero-content h1 {
    font-size: 1.6rem;
    letter-spacing: 0.03em;
  }

  .subpage-hero .hero-content p {
    font-size: 0.95rem;
  }

  /* Section heading */
  .section-heading {
    font-size: 1.3rem;
  }

  /* Cards */
  .card {
    padding: 24px 20px;
  }

  .pricing-card {
    padding: 30px 24px;
  }

  /* Footer */
  .footer-logo img {
    height: 45px;
  }

  .subscribe-form input,
  .subscribe-form button {
    font-size: 0.85rem;
  }
}

/* ===========================================
   BLOG SINGLE POST (must be after subpage rules)
   =========================================== */
article.blog-single.subpage-content .container {
  max-width: 800px !important;
}

article.blog-single p {
  font-size: 1.1rem !important;
  line-height: 1.9 !important;
  margin-bottom: 1.5em !important;
  color: var(--color-text);
}

article.blog-single h2,
article.blog-single h3,
article.blog-single h4 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  margin-top: 2em;
  margin-bottom: 0.8em;
}

article.blog-single h2 { font-size: 1.8rem; }
article.blog-single h3 { font-size: 1.4rem; }

article.blog-single img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5em 0;
}

article.blog-single figure.blog-image {
  margin: 2em 0;
}

article.blog-single figure.blog-image img {
  width: 100%;
  border-radius: 12px;
}

article.blog-single .blog-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 2em 0;
  border-radius: 12px;
}

article.blog-single .blog-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

article.blog-single a {
  color: var(--color-orange);
}

article.blog-single ul,
article.blog-single ol {
  margin: 1em 0 1.5em 1.5em;
  font-size: 1.1rem;
  line-height: 1.9;
}

article.blog-single blockquote {
  border-left: 4px solid var(--color-orange);
  padding: 1em 1.5em;
  margin: 1.5em 0;
  font-style: italic;
  background: var(--color-offwhite);
  border-radius: 0 12px 12px 0;
}

.blog-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 2em;
  padding-bottom: 1.5em;
  border-bottom: 1px solid var(--color-gray-light);
  font-size: 0.9rem;
  color: #666;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-meta span + span::before {
  content: "•";
  margin-right: 0;
  color: #ccc;
}

.blog-meta a {
  color: var(--color-orange);
  text-decoration: none;
}

/* ===================================================
   DIVE COURSES — Additional components
   =================================================== */

/* Image caption under subpage-intro image */
.subpage-intro__caption {
  font-size: 0.95rem;
  color: var(--color-text);
  opacity: 0.85;
  margin-top: -8px;
  margin-bottom: 0;
  text-align: center;
}

/* Feature bullet list (Why Dive With LLV Divers) */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px auto 0;
  max-width: 820px;
  text-align: left;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px 32px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: var(--color-orange);
  border-radius: 50%;
}

/* Section intro & outro paragraphs (inside card-grid-section) */
.card-grid-section .section-intro,
.card-grid-section .section-outro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 40px;
  color: var(--color-text);
  line-height: 1.8;
  font-size: 1rem;
}

.card-grid-section .section-outro {
  margin: 40px auto 0;
}

/* Pricing list inside fun-diving cards */
.price-list {
  list-style: none;
  padding: 18px 0 0;
  margin: 16px 0 0;
  border-top: 1px solid var(--color-gray-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--color-text);
}

.price-list li span:last-child {
  color: var(--color-orange);
  font-weight: 600;
  white-space: nowrap;
}

/* Ensure cards with price-list still stretch correctly */
.card:has(.price-list) p {
  margin-top: 0;
}

@media (max-width: 640px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}
