/* ===================================================================
   Ocean Sun Theme — Components
   Buttons, cards, forms, badges
   =================================================================== */

/* ── Buttons ── */

.os-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--os-space-2);
  padding: 14px 28px;
  font-family: var(--os-font-body);
  font-size: var(--os-text-base);
  font-weight: var(--os-font-body-semibold);
  line-height: 1;
  border: none;
  border-radius: var(--os-radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--os-transition-normal);
}

.os-btn:focus-visible {
  outline: 2px solid var(--os-cta);
  outline-offset: 2px;
}

/* CTA (Terracotta) */
.os-btn--cta {
  background-color: var(--os-cta);
  color: var(--os-text-white);
}

.os-btn--cta:hover {
  background-color: var(--os-cta-hover);
  color: var(--os-text-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(184, 133, 108, 0.3);
}

/* Primary (Navy) */
.os-btn--primary {
  background-color: var(--os-primary);
  color: var(--os-text-white);
}

.os-btn--primary:hover {
  background-color: var(--os-primary-dark);
  color: var(--os-text-white);
}

/* Secondary (Sand outline) */
.os-btn--secondary {
  background-color: transparent;
  color: var(--os-secondary-dark);
  border: 1px solid var(--os-secondary);
}

.os-btn--secondary:hover {
  background-color: var(--os-secondary-light);
  color: var(--os-secondary-dark);
}

/* Ghost */
.os-btn--ghost {
  background-color: transparent;
  color: var(--os-text-body);
  border: 1px solid var(--os-border);
}

.os-btn--ghost:hover {
  border-color: var(--os-primary);
  color: var(--os-primary);
}

/* Ghost on dark backgrounds (hero, dark sections) */
.os-btn--ghost-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.os-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* Small */
.os-btn--sm {
  padding: 8px 16px;
  font-size: var(--os-text-sm);
}

/* ===================================================================
   Hero Section — UNIFIED STANDARD (Single Source of Truth)
   Used by: front-page.php, course-detail.php, accommodation-detail.php
   Pattern: Course hero (the best implementation) as base.
   Page-specific extras (video, gallery-btn, animations) in page CSS.
   =================================================================== */

.os-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--os-dive-deep, #132231);
}

/* Background image container */
.os-hero__bg {
  position: absolute;
  inset: 0;
}

.os-hero__bg img,
.os-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Dual gradient overlay (left-to-right for text readability + bottom-to-top for depth) */
.os-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(15, 30, 45, 0.75) 50%,
      rgba(15, 30, 45, 0.2) 80%,
      transparent
    ),
    linear-gradient(
      to top,
      rgba(19, 34, 49, 0.85) 0%,
      rgba(19, 34, 49, 0.3) 50%,
      transparent 100%
    );
  z-index: 1;
}

/* Content — left-aligned with smart margin */
.os-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 4vw, 40px);
  max-width: 680px;
  width: 100%;
  margin-left: max(clamp(20px, 4vw, 40px), calc((100% - 1200px) / 2 + clamp(20px, 4vw, 40px)));
}

/* Badge (frosted-glass pill) */
.os-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--os-radius-full, 9999px);
  font-family: var(--os-font-body);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.os-hero__badge-icon {
  font-size: 10px;
  opacity: 0.6;
}

/* Pre-heading (gold uppercase label above title) */
.os-hero__pre-heading {
  display: block;
  font-family: var(--os-font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--os-secondary, #C9A96E);
  margin-bottom: 8px;
}

/* H1 Title */
.os-hero__title,
.os-hero h1 {
  font-family: var(--os-font-display);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: var(--os-font-display-bold, 700);
  color: #fff;
  margin: 0 0 16px;
  max-width: 680px;
  line-height: var(--os-leading-tight, 1.15);
}

.os-hero h1 em {
  display: block;
  font-family: var(--os-font-display);
  font-style: italic;
  font-size: inherit;
}

/* Subtitle */
.os-hero__subtitle {
  font-family: var(--os-font-body);
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* CTA Buttons */
.os-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scroll-bounce indicator */
.os-hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  z-index: 2;
  transition: color 0.3s ease, opacity 0.3s ease;
  animation: os-hero-scroll-bounce 2s ease-in-out infinite;
  text-decoration: none;
}

.os-hero__scroll:hover {
  color: #fff;
}

@keyframes os-hero-scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* Slide-in animation (opt-in via .os-hero__animate class) */
.os-hero__animate {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition-delay: var(--delay, 0ms);
}

.os-hero.is-hero-visible .os-hero__animate {
  opacity: 1;
  transform: translateX(0);
}

/* Compact variant (sub-landing, restaurant, dive-site) */
.os-hero--compact {
  min-height: 50vh;
}

/* Responsive */
@media (max-width: 768px) {
  .os-hero {
    min-height: 60vh;
  }

  .os-hero__title,
  .os-hero h1 {
    font-size: clamp(28px, 6vw, 38px);
  }

  .os-hero__subtitle {
    font-size: 16px;
  }

  .os-hero__content {
    padding: 0 16px;
    margin-left: 16px;
  }

  .os-hero__badge {
    font-size: 10px;
    padding: 5px 12px;
  }

  .os-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .os-hero__animate {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .os-hero__scroll {
    animation: none;
  }
}

/* ── Cards ── */

.os-card {
  background: var(--os-bg-white);
  border: 1px solid var(--os-border);
  border-radius: var(--os-radius-lg);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.3s ease;
}

.os-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px -8px rgba(28, 46, 63, 0.15),
              0 4px 8px -2px rgba(28, 46, 63, 0.06);
  border-color: var(--os-secondary);
}

@media (prefers-reduced-motion: reduce) {
  .os-card {
    transition: none;
  }
  .os-card:hover {
    transform: none;
  }
}

.os-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.os-card__content {
  padding: var(--os-space-5);
}

.os-card__title {
  font-family: var(--os-font-display);
  font-size: var(--os-text-xl);
  font-weight: var(--os-font-display-semibold);
  color: var(--os-text);
  margin-bottom: var(--os-space-2);
}

.os-card__text {
  color: var(--os-text-muted);
  font-size: var(--os-text-sm);
  margin-bottom: var(--os-space-4);
}

.os-card__meta {
  display: flex;
  align-items: center;
  gap: var(--os-space-3);
  font-size: var(--os-text-xs);
  color: var(--os-text-muted);
}

.os-card__price {
  color: var(--os-primary);
}

.os-card__price .os-price__symbol {
  font-family: var(--os-font-body);
  font-size: var(--os-text-sm);
  font-weight: 500;
}

.os-card__price .os-price__amount {
  font-family: var(--os-font-display);
  font-size: var(--os-text-xl);
  font-weight: var(--os-font-display-semibold);
}

.os-card__price .os-price__label {
  font-family: var(--os-font-body);
  font-size: var(--os-text-xs);
  color: var(--os-text-muted);
  font-weight: var(--os-font-body-normal);
}

/* ── Global price atoms (reused across all templates) ── */

.os-price__symbol {
  font-family: var(--os-font-body);
  font-weight: 500;
}

.os-price__amount {
  font-family: var(--os-font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
}

.os-price__label {
  font-family: var(--os-font-body);
  font-weight: 400;
  color: var(--os-text-muted);
}

/* ── Badge ── */

.os-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: var(--os-font-body-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--os-radius-full);
}

.os-badge--primary {
  background-color: var(--os-primary-light);
  color: var(--os-primary);
}

.os-badge--cta {
  background-color: var(--os-cta-light);
  color: var(--os-cta);
}

.os-badge--success {
  background-color: var(--os-success-light);
  color: var(--os-success);
}

/* ── Trust Pill ── */

.os-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--os-space-2);
  padding: 8px 16px;
  background: var(--os-bg-white);
  border: 1px solid var(--os-border);
  border-radius: var(--os-radius-full);
  font-size: var(--os-text-xs);
  font-weight: var(--os-font-body-medium);
  color: var(--os-text);
  transition: border-color var(--os-transition-fast);
}

.os-trust-pill:hover {
  border-color: var(--os-secondary);
}

/* ── Forms ── */

.os-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--os-font-body);
  font-size: var(--os-text-base);
  color: var(--os-text);
  background: var(--os-bg-white);
  border: 1px solid var(--os-border);
  border-radius: var(--os-radius-md);
  transition: border-color var(--os-transition-fast);
}

.os-input:focus {
  border-color: var(--os-cta);
  outline: none;
  box-shadow: 0 0 0 3px rgba(184, 133, 108, 0.1);
}

.os-input::placeholder {
  color: var(--os-text-muted);
}

/* ── Breadcrumbs ── */

.os-breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--os-space-2);
  font-size: var(--os-text-sm);
  color: var(--os-text-muted);
  padding: var(--os-space-4) 0;
}

.os-breadcrumbs a {
  color: var(--os-text-muted);
}

.os-breadcrumbs a:hover {
  color: var(--os-primary);
}

.os-breadcrumbs__separator {
  color: var(--os-border);
}

.os-breadcrumbs__current {
  color: var(--os-text);
  font-weight: var(--os-font-body-medium);
}

/* ── Global Floating Action Bar ── */

.os-gfab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
}

.os-gfab.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.os-gfab__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 48px;
  overflow: hidden;
  padding: 12px;
  border: none;
  color: #fff;
  font-family: var(--os-font-body);
  font-size: 13px;
  font-weight: var(--os-font-body-semibold, 600);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: width 0.3s ease;
}

.os-gfab__btn:hover {
  width: 160px;
  color: #fff;
}

.os-gfab__btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.os-gfab__label {
  opacity: 0;
  transition: opacity 0.2s ease 0.1s;
}

.os-gfab__btn:hover .os-gfab__label {
  opacity: 1;
}

/* CTA — Teal (Book Now / Build Your Package) */
.os-gfab__btn--cta {
  background: rgba(20, 184, 166, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px 0 0 0;
}

.os-gfab__btn--cta:hover {
  background: rgba(20, 184, 166, 1);
}

/* Currency — Navy */
.os-gfab__btn--currency {
  background: rgba(28, 46, 63, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.os-gfab__btn--currency:hover {
  background: rgba(28, 46, 63, 1);
}

/* WhatsApp — Navy */
.os-gfab__btn--wa {
  background: rgba(28, 46, 63, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.os-gfab__btn--wa:hover {
  background: rgba(28, 46, 63, 1);
}

/* Top — Subtle */
.os-gfab__btn--top {
  background: rgba(28, 46, 63, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0 0 0 16px;
  font-size: 11px;
}

.os-gfab__btn--top:hover {
  background: rgba(28, 46, 63, 0.75);
}

@media (max-width: 768px) {
  /* Mobile: icons only, no labels */
  .os-gfab__btn {
    width: 44px;
    padding: 10px;
    border-radius: 16px 0 0 16px;
  }

  .os-gfab__btn:hover {
    width: 44px;
  }

  .os-gfab__label {
    display: none;
  }

  .os-gfab__btn--cta {
    border-radius: 16px 0 0 0;
  }

  .os-gfab__btn--top {
    border-radius: 0 0 0 16px;
  }
}

/* ── Floating Booking Bar ── */

.os-floating-booking-bar {
  position: fixed;
  bottom: -80px;
  left: 0;
  right: 0;
  z-index: 9997;
  background: var(--os-primary);
  border-top: 2px solid var(--os-secondary);
  padding: 6px 24px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
  transition: bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.os-floating-booking-bar.os-fbb-visible {
  bottom: 0;
}

.os-fbb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--os-space-4);
}

.os-fbb-info {
  display: flex;
  align-items: center;
  gap: var(--os-space-3);
  min-width: 0;
}

.os-fbb-title {
  color: var(--os-bg-cream);
  font-family: var(--os-font-display);
  font-size: var(--os-text-sm);
  font-weight: var(--os-font-display-semibold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.os-fbb-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: var(--os-text-sm);
}

.os-fbb-price {
  color: var(--os-secondary);
  font-family: var(--os-font-body);
  font-size: var(--os-text-sm);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.os-fbb-price .os-price__amount {
  font-size: var(--os-text-lg);
  font-weight: var(--os-font-display-bold, 700);
}

.os-fbb-price .os-price__label {
  font-size: var(--os-text-xs);
}

.os-fbb-cta {
  background: var(--os-secondary);
  color: var(--os-primary);
  border: none;
  padding: 8px 20px;
  border-radius: var(--os-radius-md);
  font-family: var(--os-font-body);
  font-weight: var(--os-font-body-semibold);
  font-size: var(--os-text-sm);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: background var(--os-transition-fast), transform 0.1s;
}

.os-fbb-cta:hover {
  background: var(--os-secondary-light);
  transform: translateY(-1px);
  color: var(--os-primary);
}

@media (max-width: 768px) {
  .os-floating-booking-bar { padding: 6px 16px; }
  .os-fbb-cta { padding: 7px 16px; font-size: var(--os-text-xs); }
}

@media (max-width: 480px) {
  .os-fbb-title { display: none; }
  .os-fbb-price .os-price__amount { font-size: var(--os-text-base); }
  .os-fbb-cta { padding: 6px 14px; font-size: var(--os-text-xs); }
}

/* ── Footer ── */

.os-footer {
  font-family: var(--os-font-body);
  color: rgba(255, 255, 255, 0.85);
}

.os-footer__main {
  background: var(--os-primary);
  padding: var(--os-space-16) 0 var(--os-space-12);
}

.os-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: var(--os-space-10);
}

.os-footer__heading {
  font-family: var(--os-font-display);
  font-size: var(--os-text-lg);
  font-weight: var(--os-font-display-semibold);
  color: var(--os-text-white);
  margin-bottom: var(--os-space-5);
}

/* Brand column */
.os-footer__logo {
  max-width: 180px;
  height: auto;
  margin-bottom: var(--os-space-4);
  filter: brightness(0) invert(1);
}

.os-footer__tagline {
  font-size: var(--os-text-sm);
  line-height: var(--os-leading-relaxed);
  margin-bottom: var(--os-space-5);
  color: rgba(255, 255, 255, 0.7);
}

/* Social icons */
.os-footer__social {
  display: flex;
  gap: var(--os-space-3);
}

.os-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  transition: background var(--os-transition-fast), color var(--os-transition-fast);
}

.os-footer__social a:hover {
  background: var(--os-secondary);
  color: var(--os-primary);
}

/* Link columns */
.os-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.os-footer__links li {
  margin-bottom: var(--os-space-3);
}

.os-footer__links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: var(--os-text-sm);
  transition: color var(--os-transition-fast);
}

.os-footer__links a:hover {
  color: var(--os-secondary);
}

/* Contact column */
.os-footer__contact-item {
  display: flex;
  gap: var(--os-space-3);
  margin-bottom: var(--os-space-5);
  align-items: flex-start;
}

.os-footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--os-secondary);
}

.os-footer__contact-item strong {
  display: block;
  font-size: var(--os-text-sm);
  font-weight: var(--os-font-body-semibold);
  color: var(--os-text-white);
  margin-bottom: 2px;
}

.os-footer__contact-item a,
.os-footer__contact-item span {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: var(--os-text-sm);
  line-height: var(--os-leading-normal);
}

.os-footer__contact-item a:hover {
  color: var(--os-secondary);
}

/* Bottom bar */
.os-footer__bottom {
  background: var(--os-primary-dark);
  padding: var(--os-space-4) 0;
}

.os-footer__bottom .os-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.os-footer__bottom p {
  font-size: var(--os-text-xs);
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.os-footer__legal {
  display: flex;
  gap: var(--os-space-5);
}

.os-footer__legal a {
  font-size: var(--os-text-xs);
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--os-transition-fast);
}

.os-footer__legal a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Footer responsive */
@media (max-width: 1024px) {
  .os-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--os-space-8);
  }
}

@media (max-width: 640px) {
  .os-footer__main {
    padding: var(--os-space-10) 0 var(--os-space-8);
  }

  .os-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--os-space-8);
  }

  .os-footer__bottom .os-container {
    flex-direction: column;
    gap: var(--os-space-3);
    text-align: center;
  }

  .os-footer__legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}


/* ── Shared Facts Bar (dark navy, 4 metrics) ── */

.os-facts-bar {
  background: var(--os-dive-deep);
  padding: clamp(36px, 5vw, 56px) 0;
}

.os-facts-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.os-facts-bar__item {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.os-facts-bar__item:last-child {
  border-right: none;
}

.os-facts-bar__icon {
  width: 36px;
  height: 36px;
  background: color-mix(in srgb, var(--os-dive) 12%, transparent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.os-facts-bar__icon svg {
  width: 16px;
  height: 16px;
  color: var(--os-dive);
}

.os-facts-bar__value {
  font-family: var(--os-font-display);
  font-size: 20px;
  font-weight: var(--os-font-display-semibold);
  color: #fff;
  margin-bottom: 4px;
}

.os-facts-bar__label {
  font-size: 11px;
  font-weight: var(--os-font-body-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
  .os-facts-bar__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .os-facts-bar__item {
    border-right: none;
    padding: 10px 0;
  }
}


/* ── Highlight Cards (3-column feature cards) ── */

.os-highlight-cards-section {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--os-bg);
}

.os-highlight-cards-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.os-highlight-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.os-highlight-card {
  background: var(--os-bg-white, #fff);
  border: 1px solid var(--os-border);
  border-radius: var(--os-radius-lg);
  padding: 28px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  height: 100%;
}

.os-highlight-card--has-image {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.os-highlight-card__img {
  width: 100%;
  aspect-ratio: 8 / 5;
  overflow: hidden;
}

.os-highlight-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.os-highlight-card:hover .os-highlight-card__img img {
  transform: scale(1.04);
}

.os-highlight-card--has-image .os-highlight-card__body {
  padding: 24px 28px 28px;
}

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

.os-highlight-card__number {
  width: 44px;
  height: 44px;
  background: var(--os-primary-light, #e8f1f7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--os-font-display);
  font-size: 18px;
  color: var(--os-primary);
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

.os-highlight-card:hover .os-highlight-card__number {
  background: var(--os-primary);
  color: #fff;
}

.os-highlight-card__phase {
  font-size: 10px;
  font-weight: var(--os-font-body-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--os-dive-dark, #0d9488);
  margin-bottom: 6px;
}

.os-highlight-card h3 {
  font-family: var(--os-font-display);
  font-size: 20px;
  font-weight: var(--os-font-display-semibold);
  margin-bottom: 10px;
  line-height: var(--os-leading-snug);
}

.os-highlight-card p {
  font-size: 14px;
  color: var(--os-text-muted);
  line-height: var(--os-leading-relaxed, 1.6);
}

@media (max-width: 768px) {
  .os-highlight-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* ── Resort Feature Cards (image + text, 4-column grid) ── */

.os-resort-features {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--os-bg);
}

.os-resort-features__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.os-resort-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.os-resort-feature-card {
  border-radius: var(--os-radius-lg);
  overflow: hidden;
  background: var(--os-bg-white, #fff);
  border: 1px solid var(--os-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.os-resort-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--os-shadow-lg, 0 10px 30px rgba(0,0,0,0.1));
}

.os-resort-feature-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.os-resort-feature-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.os-resort-feature-card:hover .os-resort-feature-card__img img {
  transform: scale(1.03);
}

.os-resort-feature-card__placeholder {
  width: 100%;
  height: 100%;
  background: var(--os-bg-cream, #F7F4EF);
}

.os-resort-feature-card__body {
  padding: 20px;
}

.os-resort-feature-card__meta {
  font-size: 10px;
  font-weight: var(--os-font-body-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--os-cta, #B8856C);
  margin-bottom: 6px;
}

.os-resort-feature-card h3 {
  font-family: var(--os-font-display);
  font-size: 18px;
  font-weight: var(--os-font-display-semibold);
  margin-bottom: 8px;
  line-height: var(--os-leading-snug, 1.3);
}

.os-resort-feature-card p {
  font-size: 13px;
  color: var(--os-text-muted);
  line-height: var(--os-leading-relaxed, 1.6);
}

@media (max-width: 1024px) {
  .os-resort-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .os-resort-features__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* ── Shared FAQ Accordion ── */

.os-faq {
  border-top: 1px solid var(--os-border);
}

.os-faq__item {
  border-bottom: 1px solid var(--os-border);
}

.os-faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--os-space-5, 20px) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--os-font-body);
  font-size: 16px;
  font-weight: var(--os-font-body-semibold);
  color: var(--os-text);
  transition: color var(--os-transition-fast, 0.15s ease);
}

.os-faq__question:hover {
  color: var(--os-primary);
}

.os-faq__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--os-text-muted);
  transition: transform 0.3s ease;
}

.os-faq__item.is-open .os-faq__icon {
  transform: rotate(180deg);
  color: var(--os-primary);
}

.os-faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.os-faq__item.is-open .os-faq__answer {
  max-height: 500px;
  padding-bottom: var(--os-space-5, 20px);
}

.os-faq__answer p {
  font-size: 14px;
  color: var(--os-text-muted);
  line-height: 1.7;
}


/* ── Cross-Sell Story (text + cards grid) ── */

.os-xsell-story {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--os-bg);
}

.os-xsell-story--cream {
  background: var(--os-bg-cream, #F7F4EF);
}

.os-xsell-story__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.os-xsell-story__grid {
  display: grid;
  grid-template-columns: 38fr 62fr;
  gap: 48px;
  align-items: start;
}

.os-xsell-story__text h2 {
  font-family: var(--os-font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: var(--os-font-display-semibold);
  color: var(--os-text);
  margin-bottom: 16px;
  line-height: var(--os-leading-tight, 1.2);
}

.os-xsell-story__text h2 em {
  font-style: italic;
}

.os-xsell-story__text p {
  font-size: 14px;
  color: var(--os-text-muted);
  margin-bottom: 20px;
  line-height: var(--os-leading-relaxed, 1.6);
}

.os-xsell-story__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.os-xsell-card {
  background: var(--os-bg-white, #fff);
  border: 1px solid var(--os-border);
  border-radius: var(--os-radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: block;
}

.os-xsell-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--os-shadow-card, 0 4px 12px rgba(0,0,0,0.08));
}

.os-xsell-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.os-xsell-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.os-xsell-card:hover .os-xsell-card__img img {
  transform: scale(1.03);
}

.os-xsell-card__placeholder {
  width: 100%;
  height: 100%;
  background: var(--os-bg-cream, #F7F4EF);
}

.os-xsell-card__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--os-radius-full, 999px);
  background: rgba(255, 255, 255, 0.9);
  color: var(--os-text);
  backdrop-filter: blur(4px);
}

.os-xsell-card__body {
  padding: 16px;
}

.os-xsell-card__body h3 {
  font-family: var(--os-font-display);
  font-size: 16px;
  font-weight: var(--os-font-display-semibold);
  margin-bottom: 6px;
  color: var(--os-text);
}

.os-xsell-card__features {
  font-size: 12px;
  color: var(--os-text-muted);
  margin-bottom: 10px;
}

.os-xsell-card__link {
  font-size: 13px;
  font-weight: var(--os-font-body-semibold);
  color: var(--os-dive, #14b8a6);
}

@media (max-width: 768px) {
  .os-xsell-story__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .os-xsell-story__cards {
    grid-template-columns: 1fr;
  }
}


/* ── Dark Course Cards Section (Next Courses / Cross-Sell) ── */

.os-course-next {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--os-primary);
  overflow: hidden;
}

.os-course-next__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.os-course-next .os-course-section-header {
  text-align: center;
  margin: 0 auto 40px;
  max-width: 520px;
}

.os-course-next .os-course-section-label {
  color: var(--os-dive);
}

.os-course-next .os-course-section-header h2 {
  color: #fff;
}

.os-course-next .os-course-section-header p {
  color: rgba(255,255,255,0.45);
}

.os-course-next__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.os-course-card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--os-radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  display: block;
}

.os-course-card-dark:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.15);
}

.os-course-card-dark__img {
  aspect-ratio: 3/2;
  overflow: hidden;
  position: relative;
}

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

.os-course-card-dark:hover .os-course-card-dark__img img {
  transform: scale(1.03);
}

.os-course-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--os-radius-full, 999px);
  z-index: 2;
}

.os-course-card-badge--next {
  background: var(--os-dive);
  color: #fff;
}

.os-course-card-badge--addon {
  background: #FCEB89;
  color: #333;
}

.os-course-card-badge--safety {
  background: #E16544;
  color: #fff;
}

.os-course-card-dark__body {
  padding: 20px;
}

.os-course-card-dark__body h3 {
  color: #fff;
  font-family: var(--os-font-display);
  font-size: 18px;
  font-weight: var(--os-font-display-semibold);
  margin-bottom: 6px;
}

.os-course-card-dark__body p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  line-height: var(--os-leading-relaxed, 1.6);
}

.os-course-card-dark__meta {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}

.os-course-card-dark__link {
  font-size: 13px;
  font-weight: var(--os-font-body-semibold);
  color: var(--os-dive);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.os-course-card-dark:hover .os-course-card-dark__link {
  gap: 8px;
}

@media (max-width: 768px) {
  .os-course-next__grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
}
