/* ============================================================
   NEMO DIVING CLUB — Main Stylesheet
   Design: Ocean-immersive, modern, animated, production-grade.
   All CSS variables defined in style.css (:root).
   Fonts: Montserrat (headings) + Open Sans (body) via functions.php.
   ============================================================ */

/* ============================================================
   § 1 — BASE RESET & NORMALIZE
   ============================================================ */

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

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

body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-dark);
  background-color: var(--color-white);
  opacity: 0;
  transition: opacity 0.5s ease;
  overflow-x: hidden;
}

body.nemo-loaded {
  opacity: 1;
}

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

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

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

a:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 3px;
  border-radius: 3px;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Anchor scroll offset — keeps sticky header from obscuring targets */
:target,
[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* Skip link — accessibility */
.nemo-skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: var(--z-toast);
  padding: var(--space-3) var(--space-6);
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: var(--fw-bold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top var(--transition-fast);
}

.nemo-skip-link:focus {
  top: 0;
}

/* ============================================================
   § 2 — TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold);
  line-height: 1.15;
  color: var(--color-dark);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl)); }
h2 { font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl)); }
h3 { font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl)); font-weight: var(--fw-bold); }
h4 { font-size: var(--text-xl); font-weight: var(--fw-bold); }
h5 { font-size: var(--text-lg); font-weight: var(--fw-semibold); }
h6 { font-size: var(--text-base); font-weight: var(--fw-semibold); }

p {
  margin-bottom: var(--space-4);
  color: var(--color-mid-grey);
}

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

strong { font-weight: var(--fw-bold); color: var(--color-dark); }
em     { font-style: italic; }

/* Section label — small all-caps overline above headings */
.nemo-section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-3);
}

/* Section heading block — reused across all sections */
.nemo-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-12);
}

.nemo-section-header h2 {
  margin-bottom: var(--space-4);
}

.nemo-section-header p {
  font-size: var(--text-lg);
  color: var(--color-mid-grey);
}

/* Section heading on dark backgrounds */
.nemo-section-header--light h2,
.nemo-section-header--light .nemo-section-label {
  color: var(--color-white);
}

.nemo-section-header--light p {
  color: rgba(255,255,255,0.75);
}

/* Decorative underline for section headings */
.nemo-section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-primary));
  border-radius: var(--radius-full);
  margin: var(--space-4) auto 0;
}

.nemo-section-header--left {
  text-align: left;
  margin-left: 0;
}

.nemo-section-header--left h2::after {
  margin-left: 0;
}

/* ============================================================
   § 3 — LAYOUT UTILITIES
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.container--narrow {
  max-width: 860px;
}

/* Section padding */
.nemo-section {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

.nemo-section--sm {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.nemo-section--lg {
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
}

/* Background variants */
.nemo-section--white  { background-color: var(--color-white); }
.nemo-section--light  { background-color: var(--color-primary-light); }
.nemo-section--dark   { background-color: var(--color-dark); }
.nemo-section--blue   { background-color: var(--color-primary); }

/* Grid system */
.nemo-grid {
  display: grid;
  gap: var(--space-8);
}

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

.nemo-grid--auto-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.nemo-grid--auto-4 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Flex utilities */
.nemo-flex            { display: flex; }
.nemo-flex--center    { align-items: center; }
.nemo-flex--between   { justify-content: space-between; }
.nemo-flex--gap-4     { gap: var(--space-4); }
.nemo-flex--gap-6     { gap: var(--space-6); }
.nemo-flex--wrap      { flex-wrap: wrap; }

/* Wave divider — between sections */
.nemo-wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -1px; /* prevent gap */
}

.nemo-wave svg {
  display: block;
  width: 100%;
}

/* Diagonal clip section cut */
.nemo-clip-bottom {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  padding-bottom: calc(var(--space-20) + 80px);
}

.nemo-clip-top {
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(var(--space-20) + 80px);
  margin-top: -80px;
}

/* ============================================================
   § 4 — BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base),
    transform 0.25s ease,
    box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

/* Ripple shimmer effect on all buttons */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn:hover {
  transform: scale(1.03);
}

.btn:active {
  transform: scale(0.98);
}

/* Primary — Brand Orange (all main CTAs) */
.btn-primary {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(244, 121, 32, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-orange-dark);
  border-color: var(--color-orange-dark);
  color: var(--color-white);
  box-shadow: 0 8px 32px rgba(244, 121, 32, 0.50);
}

/* Secondary — Primary Blue */
.btn-secondary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

/* Outline — transparent, primary blue border */
.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

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

/* Outline white — for use on dark/blue backgrounds */
.btn-outline-white {
  background-color: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

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

/* Size variants */
.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-xs);
  min-height: 40px;
}

.btn--lg {
  padding: 1.125rem 2.5rem;
  font-size: var(--text-base);
  min-height: 56px;
}

/* Difficulty badges */
.nemo-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.nemo-badge--beginner     { background: rgba(22,163,74,0.12); color: #16A34A; }
.nemo-badge--intermediate { background: rgba(244,121,32,0.12); color: var(--color-orange); }
.nemo-badge--advanced     { background: rgba(220,38,38,0.12); color: #DC2626; }

/* ============================================================
   § 5 — SCROLL REVEAL ANIMATIONS
   ============================================================ */

/* Base state — hidden before IntersectionObserver triggers */
.nemo-reveal,
.nemo-reveal-left,
.nemo-reveal-right,
.nemo-reveal-scale {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}

/* Staggered delay via --i CSS custom property set inline */
.nemo-reveal,
.nemo-reveal-left,
.nemo-reveal-right,
.nemo-reveal-scale {
  transition-delay: calc(var(--i, 0) * 0.1s);
}

.nemo-reveal       { transform: translateY(30px); }
.nemo-reveal-left  { transform: translateX(-40px); }
.nemo-reveal-right { transform: translateX(40px); }
.nemo-reveal-scale { transform: scale(0.92); }

/* Visible state — added by main.js IntersectionObserver */
.nemo-reveal.is-visible,
.nemo-reveal-left.is-visible,
.nemo-reveal-right.is-visible,
.nemo-reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .nemo-reveal,
  .nemo-reveal-left,
  .nemo-reveal-right,
  .nemo-reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   § 6 — HEADER
   ============================================================ */

.nemo-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0;
  background: transparent;
  transition:
    background-color 0.4s ease,
    height 0.4s ease,
    box-shadow 0.4s ease,
    backdrop-filter 0.4s ease;
}

/* Transparent header on hero pages — text stays white */
.nemo-has-hero .nemo-header:not(.is-sticky) {
  background: transparent;
}

/* Sticky — solid on scroll */
.nemo-header.is-sticky {
  height: var(--header-height-sticky);
  background: rgba(26, 59, 140, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 32px rgba(10, 25, 70, 0.30);
}

/* Top bar — phone + social + CTA quick access */
.nemo-topbar {
  background: var(--color-primary-dark);
  padding: var(--space-2) 0;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.80);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nemo-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.nemo-topbar__contact {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nemo-topbar__contact a {
  color: rgba(255,255,255,0.80);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: color var(--transition-fast);
}

.nemo-topbar__contact a:hover { color: var(--color-orange); }

.nemo-topbar__social {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nemo-topbar__social a {
  color: rgba(255,255,255,0.70);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition:
    color var(--transition-fast),
    background-color var(--transition-fast),
    transform var(--transition-fast);
}

.nemo-topbar__social a:hover {
  color: var(--color-white);
  background-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* Header inner */
.nemo-header__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

/* Logo */
.nemo-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: transform var(--transition-base);
}

.nemo-logo:hover {
  transform: scale(1.05);
}

.nemo-logo img {
  height: 52px;
  width: auto;
  transition: height 0.4s ease;
}

.nemo-header.is-sticky .nemo-logo img {
  height: 42px;
}

/* Primary nav */
.nemo-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nemo-nav__item {
  position: relative;
}

.nemo-nav__link {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  color: var(--color-white);
  border-radius: 0;
  position: relative;
  white-space: nowrap;
}

/* Sliding underline */
.nemo-nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: var(--space-4);
  right: var(--space-4);
  height: 2px;
  background: var(--color-orange);
  border-radius: var(--radius-full);
  width: 0;
  transition: width var(--transition-base);
}

.nemo-nav__link:hover,
.nemo-nav__link:focus-visible,
.nemo-nav__link.current-page-ancestor,
.nemo-nav__link.current-menu-item > a {
  color: var(--color-white);
}

.nemo-nav__link:hover::after,
.current-menu-item .nemo-nav__link::after {
  width: calc(100% - var(--space-8));
}

/* Header CTA */
.nemo-header__cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Hamburger — mobile */
.nemo-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: var(--space-2);
  border-radius: 0;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  transition: background var(--transition-fast);
}

.nemo-hamburger:hover {
  background: rgba(255,255,255,0.20);
}

.nemo-hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  transform-origin: center;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

/* Hamburger → X when open */
.nemo-hamburger.is-open .nemo-hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nemo-hamburger.is-open .nemo-hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nemo-hamburger.is-open .nemo-hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.nemo-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-sticky) - 1);
  background: rgba(10, 20, 60, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-24) var(--space-8);
  transform: translateY(-100%);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 0.45s ease;
  pointer-events: none;
}

.nemo-mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.nemo-mobile-nav__link {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
  text-align: center;
  letter-spacing: -0.01em;
  transition: color var(--transition-base), transform var(--transition-base);
}

.nemo-mobile-nav__link:hover {
  color: var(--color-orange);
  transform: translateX(8px);
}

/* ============================================================
   § 7 — HERO SECTION
   ============================================================ */

.nemo-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-dark);
}

/* Background image */
.nemo-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: heroBgKenBurns 18s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroBgKenBurns {
  0%   { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1%, -0.5%); }
}

/* Overlay — matches preview: blue diagonal + bottom fade */
.nemo-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(26,59,140,0.85) 0%, rgba(13,13,13,0.75) 60%, rgba(13,13,13,0.92) 100%),
    linear-gradient(to bottom, transparent 60%, rgba(13,13,13,0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Underwater light rays */
.nemo-hero__rays {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.nemo-hero__rays::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from -15deg at 50% -10%,
    transparent 0deg,
    rgba(255,255,255,0.025) 2deg,
    transparent 4deg,
    transparent 8deg,
    rgba(255,255,255,0.018) 10deg,
    transparent 12deg,
    transparent 20deg,
    rgba(255,255,255,0.022) 22deg,
    transparent 24deg,
    transparent 30deg,
    rgba(255,255,255,0.015) 32deg,
    transparent 34deg,
    transparent 360deg
  );
  transform: translateX(-50%);
  animation: raysShift 20s ease-in-out infinite alternate;
}

@keyframes raysShift {
  0%   { opacity: 0.6; transform: translateX(-50%) rotate(-3deg); }
  100% { opacity: 1;   transform: translateX(-50%) rotate(3deg); }
}

/* Bubble particles — CSS only */
.nemo-hero__bubbles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.nemo-bubble {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: bubbleRise linear infinite;
  will-change: transform, opacity;
}

.nemo-bubble:nth-child(1)  { left:  8%; width: 8px;  height: 8px;  animation-duration: 9s;  animation-delay: 0s;   }
.nemo-bubble:nth-child(2)  { left: 18%; width: 14px; height: 14px; animation-duration: 13s; animation-delay: 2s;   }
.nemo-bubble:nth-child(3)  { left: 30%; width: 6px;  height: 6px;  animation-duration: 8s;  animation-delay: 4s;   }
.nemo-bubble:nth-child(4)  { left: 42%; width: 18px; height: 18px; animation-duration: 15s; animation-delay: 1s;   }
.nemo-bubble:nth-child(5)  { left: 55%; width: 10px; height: 10px; animation-duration: 11s; animation-delay: 3s;   }
.nemo-bubble:nth-child(6)  { left: 67%; width: 7px;  height: 7px;  animation-duration: 7s;  animation-delay: 6s;   }
.nemo-bubble:nth-child(7)  { left: 75%; width: 20px; height: 20px; animation-duration: 16s; animation-delay: 0.5s; }
.nemo-bubble:nth-child(8)  { left: 85%; width: 9px;  height: 9px;  animation-duration: 10s; animation-delay: 5s;   }
.nemo-bubble:nth-child(9)  { left: 92%; width: 12px; height: 12px; animation-duration: 12s; animation-delay: 2.5s; }
.nemo-bubble:nth-child(10) { left: 22%; width: 5px;  height: 5px;  animation-duration: 6s;  animation-delay: 7s;   }
.nemo-bubble:nth-child(11) { left: 48%; width: 15px; height: 15px; animation-duration: 14s; animation-delay: 3.5s; }
.nemo-bubble:nth-child(12) { left: 62%; width: 8px;  height: 8px;  animation-duration: 9s;  animation-delay: 8s;   }

@keyframes bubbleRise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.8; }
  50%  { transform: translateY(-45vh) translateX(12px); }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-105vh) translateX(-8px); opacity: 0; }
}

/* Hero content */
.nemo-hero__content {
  position: relative;
  z-index: 3;
  padding: 160px 0 100px;
  max-width: 800px;
}

.nemo-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 24px;
  opacity: 0;
  animation: heroFadeUp 0.7s 0.3s ease forwards;
}

.nemo-hero__label::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-orange);
}

.nemo-hero__title {
  font-family: 'Bebas Neue', var(--font-heading), sans-serif;
  font-size: clamp(64px, 10vw, 130px);
  font-weight: 400;
  color: var(--color-white);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  opacity: 0;
  animation: heroFadeUp 0.8s 0.5s ease forwards;
}

.nemo-hero__title em {
  font-style: normal;
  color: var(--color-orange);
  display: block;
}

.nemo-hero__title span {
  color: var(--color-orange);
  display: inline-block;
}

.nemo-hero__subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin-bottom: 44px;
  line-height: 1.7;
  font-weight: var(--fw-regular);
  opacity: 0;
  animation: heroFadeUp 0.7s 0.75s ease forwards;
}

.nemo-hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.7s 0.95s ease forwards;
}

/* Scroll indicator */
.nemo-hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: heroFadeUp 0.9s ease forwards 1.0s;
  text-decoration: none;
}

.nemo-hero__scroll:hover {
  color: var(--color-orange);
}

.nemo-hero__scroll-arrow {
  width: 36px;
  height: 36px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

.nemo-hero__scroll-arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Wave at bottom of hero */
.nemo-hero__wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 4;
  line-height: 0;
}

.nemo-hero__wave svg {
  display: block;
  width: 100%;
}

/* ============================================================
   § 8 — PACKAGE CARDS
   ============================================================ */

/* ── Section wrapper ──────────────────────────────────────── */
.nemo-pkg-section {
  padding: 80px 0;
}

/* ── Section header row ───────────────────────────────────── */
.nemo-pkg-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.nemo-pkg-section__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: var(--fw-extrabold);
  color: var(--color-dark);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 10px;
  margin-bottom: 0;
}

.nemo-pkg-section__sub {
  font-size: var(--text-base);
  color: var(--color-mid-grey);
  line-height: 1.65;
  margin-top: 12px;
  max-width: 560px;
}

/* ── Grid — 2px gap between cards acts as border ─────────── */
.nemo-pkg-grid {
  display: grid;
  gap: 2px;
  background: rgba(26,59,140,0.08);
}

.nemo-pkg-grid--2 { grid-template-columns: repeat(2, 1fr); }
.nemo-pkg-grid--3 { grid-template-columns: repeat(3, 1fr); }
.nemo-pkg-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ── Card ─────────────────────────────────────────────────── */
.nemo-pkg-card {
  background: var(--color-white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nemo-pkg-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(26,59,140,0.18);
  z-index: 2;
}

/* ── Card image ───────────────────────────────────────────── */
.nemo-pkg-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-light-grey);
}

.nemo-pkg-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nemo-pkg-card:hover .nemo-pkg-card__image img {
  transform: scale(1.08);
}

.nemo-pkg-card__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #dce7ff 100%);
}

/* ── Difficulty badge (top-left, sharp) ───────────────────── */
.nemo-pkg-badge {
  position: absolute;
  top: 0;
  left: 0;
  padding: 6px 14px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: var(--fw-extrabold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
  line-height: 1;
}

.nemo-pkg-badge--beginner     { background: #22c55e; }
.nemo-pkg-badge--intermediate { background: var(--color-orange); }
.nemo-pkg-badge--advanced     { background: #ef4444; }

/* ── Featured tag (top-right, sharp) ─────────────────────── */
.nemo-pkg-card__featured-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: var(--fw-extrabold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  line-height: 1;
}

/* ── Card body ────────────────────────────────────────────── */
.nemo-pkg-card__body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nemo-pkg-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-dark);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  transition: color 0.2s;
}

.nemo-pkg-card:hover .nemo-pkg-card__title {
  color: var(--color-primary);
}

.nemo-pkg-card__desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--color-mid-grey);
  margin-bottom: 20px;
  flex: 1;
}

/* ── Specs row ────────────────────────────────────────────── */
.nemo-pkg-card__specs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  list-style: none;
}

.nemo-pkg-card__spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  color: var(--color-mid-grey);
}

.nemo-pkg-card__spec svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ── Card footer: price + CTA ─────────────────────────────── */
.nemo-pkg-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--color-light-grey);
  margin-top: auto;
  flex-wrap: wrap;
}

.nemo-pkg-card__price {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: var(--fw-extrabold);
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.nemo-pkg-card__price-note {
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: var(--color-mid-grey);
  letter-spacing: 0.04em;
  margin-left: 4px;
}

.nemo-pkg-card__cta {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── Buttons used in widgets ──────────────────────────────── */
.nemo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: var(--fw-extrabold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nemo-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nemo-btn:hover::after {
  transform: translateX(100%) skewX(-15deg);
}

.nemo-btn svg {
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  flex-shrink: 0;
}

.nemo-btn:hover svg {
  transform: translateX(4px);
}

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

.nemo-btn--primary:hover {
  background: var(--color-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(244,121,32,0.4);
  color: var(--color-white);
}

.nemo-btn--outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.nemo-btn--outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ── Section label (shared across widgets) ────────────────── */
.nemo-section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: var(--fw-extrabold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-orange);
}

.nemo-section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-orange);
  flex-shrink: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 992px) {
  .nemo-pkg-grid--3,
  .nemo-pkg-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nemo-pkg-grid--2,
  .nemo-pkg-grid--3,
  .nemo-pkg-grid--4 { grid-template-columns: 1fr; }

  .nemo-pkg-section__head { flex-direction: column; align-items: flex-start; }
  .nemo-pkg-card__footer  { flex-direction: column; align-items: flex-start; }
  .nemo-pkg-card__cta     { width: 100%; justify-content: center; }
}

/* Legacy class aliases (template-packages.php uses old class names) */
.nemo-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(26,59,140,0.08);
}
.nemo-grid--2 { grid-template-columns: repeat(2, 1fr); }
.nemo-grid--3 { grid-template-columns: repeat(3, 1fr); }
.nemo-grid--4 { grid-template-columns: repeat(4, 1fr); }

.nemo-package-card {
  background: var(--color-white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
              box-shadow 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}
.nemo-package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(26,59,140,0.18);
  z-index: 2;
}
.nemo-package-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-light-grey);
}
.nemo-package-card__image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.nemo-package-card:hover .nemo-package-card__image-wrap img { transform: scale(1.08); }
.nemo-package-card__body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.nemo-package-card__title { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: var(--fw-extrabold); color: var(--color-dark); margin-bottom: 10px; letter-spacing: -0.02em; }
.nemo-package-card:hover .nemo-package-card__title { color: var(--color-primary); }
.nemo-package-card__desc  { font-size: 13px; color: var(--color-mid-grey); line-height: 1.65; margin-bottom: 20px; flex: 1; }
.nemo-package-card__specs { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; list-style: none; }
.nemo-package-card__specs li { display: flex; align-items: center; gap: 6px; font-size: 12px; font-family: var(--font-heading); font-weight: var(--fw-semibold); color: var(--color-mid-grey); }
.nemo-package-card__specs svg { color: var(--color-primary); }
.nemo-package-card__price { padding-top: 20px; border-top: 1px solid var(--color-light-grey); margin-bottom: 16px; }
.nemo-package-card__price-chip { font-family: var(--font-heading); font-size: 24px; font-weight: var(--fw-extrabold); color: var(--color-primary); letter-spacing: -0.02em; }
.nemo-package-card__cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: var(--color-orange); color: var(--color-white); font-family: var(--font-heading); font-size: 12px; font-weight: var(--fw-extrabold); letter-spacing: 0.12em; text-transform: uppercase; border: none; cursor: pointer; transition: all 0.25s; }
.nemo-package-card__cta:hover { background: var(--color-orange-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(244,121,32,0.4); color: var(--color-white); }

/* ============================================================
   § 9 — DIVE SITE CARDS
   ============================================================ */

.nemo-dive-sites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
}

.nemo-dive-site {
  background: var(--color-white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.nemo-dive-site:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.nemo-dive-site__image-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.nemo-dive-site__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--transition-smooth);
}

.nemo-dive-site:hover .nemo-dive-site__image-wrap img {
  transform: scale(1.07);
}

/* Gradient overlay on image */
.nemo-dive-site__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.70) 0%, transparent 55%);
}

.nemo-dive-site__image-meta {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  right: var(--space-4);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.nemo-dive-site__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
  line-height: 1.2;
}

.nemo-dive-site__location {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.75);
  font-weight: var(--fw-semibold);
}

.nemo-dive-site__body {
  padding: var(--space-6);
}

/* Specs grid */
.nemo-dive-site__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-light-grey);
}

.nemo-dive-site__spec {
  text-align: center;
}

.nemo-dive-site__spec-value {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--fw-extrabold);
  color: var(--color-primary);
}

.nemo-dive-site__spec-label {
  font-size: 10px;
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-mid-grey);
}

/* Depth bar */
.nemo-depth-bar {
  margin-bottom: var(--space-4);
}

.nemo-depth-bar__label {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  color: var(--color-mid-grey);
  margin-bottom: var(--space-2);
}

.nemo-depth-bar__track {
  height: 6px;
  background: var(--color-light-grey);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.nemo-depth-bar__fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary));
  width: 0;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nemo-depth-bar__fill.is-visible {
  width: var(--depth-pct, 60%);
}

.nemo-dive-site__marine {
  font-size: var(--text-sm);
  color: var(--color-mid-grey);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================================
   § 10 — FEATURE BOXES
   ============================================================ */

.nemo-features-grid {
  display: grid;
  gap: var(--space-8);
}

.nemo-features-grid--2 { grid-template-columns: repeat(2, 1fr); }
.nemo-features-grid--3 { grid-template-columns: repeat(3, 1fr); }
.nemo-features-grid--4 { grid-template-columns: repeat(4, 1fr); }

.nemo-feature-box {
  background: var(--color-white);
  border-radius: 0;
  padding: var(--space-8);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,59,140,0.06);
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth),
    border-color var(--transition-smooth);
}

.nemo-feature-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(244,121,32,0.15);
}

.nemo-feature-box__icon {
  width: 72px;
  height: 72px;
  border-radius: 0;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  color: var(--color-primary);
  font-size: 28px;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    transform var(--transition-smooth);
}

.nemo-feature-box:hover .nemo-feature-box__icon {
  background-color: var(--color-orange);
  color: var(--color-white);
  transform: rotate(10deg) scale(1.08);
}

.nemo-feature-box__title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-3);
}

.nemo-feature-box__desc {
  font-size: var(--text-sm);
  color: var(--color-mid-grey);
  line-height: 1.65;
  margin-bottom: 0;
}

.nemo-feature-box__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.nemo-feature-box__link:hover {
  color: var(--color-orange);
}

/* ============================================================
   § 11 — STATS COUNTER BAR
   ============================================================ */

.nemo-stats-bar {
  padding: var(--space-16) 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, #1e4fba 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow behind stats */
.nemo-stats-bar::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(244,121,32,0.10) 0%, transparent 60%);
  pointer-events: none;
}

.nemo-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.nemo-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.nemo-stat-item__icon {
  font-size: 32px;
  color: var(--color-orange);
  margin-bottom: var(--space-2);
  opacity: 0.9;
}

.nemo-stat-item__number {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-4xl), 5vw, 64px);
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -0.03em;
}

.nemo-stat-item__suffix {
  color: var(--color-orange);
}

.nemo-stat-item__label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* Divider lines between stats */
.nemo-stat-item:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.12);
}

/* ============================================================
   § 12 — TESTIMONIAL CARDS
   ============================================================ */

.nemo-testimonials-wrap {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-4);
}

.nemo-testimonials-wrap::-webkit-scrollbar {
  display: none;
}

/* Grid mode for desktop */
.nemo-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.nemo-testimonial-card {
  background: var(--color-white);
  border-radius: 0;
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(26,59,140,0.06);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  flex-shrink: 0;
  scroll-snap-align: start;
  min-width: 300px;
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.nemo-testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

/* Quote mark */
.nemo-testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 80px;
  line-height: 0.6;
  color: var(--color-primary-light);
  display: block;
  font-weight: 900;
}

.nemo-testimonial-card__stars {
  display: flex;
  gap: 3px;
  color: #F59E0B;
  font-size: 16px;
}

.nemo-testimonial-card__quote {
  font-size: var(--text-base);
  color: var(--color-dark);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin: 0;
}

.nemo-testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-light-grey);
}

.nemo-testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary-light);
  flex-shrink: 0;
}

.nemo-testimonial-card__avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  font-size: var(--text-lg);
  flex-shrink: 0;
}

.nemo-testimonial-card__name {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  color: var(--color-dark);
}

.nemo-testimonial-card__country {
  font-size: var(--text-xs);
  color: var(--color-mid-grey);
}

/* ============================================================
   § 13 — BLOG CARDS
   ============================================================ */

.nemo-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
}

.nemo-blog-card {
  background: var(--color-white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.nemo-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.nemo-blog-card__image-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.nemo-blog-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--transition-smooth);
}

.nemo-blog-card:hover .nemo-blog-card__image-wrap img {
  transform: scale(1.07);
}

.nemo-blog-card__category {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 3px var(--space-3);
  border-radius: var(--radius-full);
}

.nemo-blog-card__body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nemo-blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-mid-grey);
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
}

.nemo-blog-card__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-mid-grey);
  opacity: 0.5;
}

.nemo-blog-card__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-3);
  line-height: 1.35;
  flex: 1;
}

.nemo-blog-card__title a {
  color: inherit;
  transition: color var(--transition-base);
}

.nemo-blog-card__title a:hover {
  color: var(--color-primary);
}

.nemo-blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-mid-grey);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}

.nemo-blog-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-top: auto;
}

.nemo-blog-card__readmore svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nemo-blog-card:hover .nemo-blog-card__readmore {
  color: var(--color-orange);
}

.nemo-blog-card:hover .nemo-blog-card__readmore svg {
  transform: translateX(4px);
}

/* ============================================================
   § 14 — FOOTER
   ============================================================ */

.nemo-footer {
  background-color: var(--color-dark);
  color: rgba(255,255,255,0.75);
  padding-top: var(--space-20);
}

.nemo-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nemo-footer__logo {
  display: block;
  margin-bottom: var(--space-4);
}

.nemo-footer__logo img {
  height: 56px;
  width: auto;
}

.nemo-footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.60);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  max-width: 280px;
}

.nemo-footer__social {
  display: flex;
  gap: var(--space-3);
}

.nemo-footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  transition:
    color var(--transition-base),
    background-color var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-base);
}

.nemo-footer__social-link:hover {
  color: var(--color-white);
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  transform: translateY(-3px);
}

.nemo-footer__col-title {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.nemo-footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.nemo-footer__nav a {
  color: rgba(255,255,255,0.65);
  font-size: var(--text-sm);
  transition: color var(--transition-base), transform var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.nemo-footer__nav a:hover {
  color: var(--color-orange);
  transform: translateX(4px);
}

.nemo-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
}

.nemo-footer__contact-icon {
  color: var(--color-orange);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.nemo-footer__contact-item a {
  color: inherit;
}

.nemo-footer__contact-item a:hover {
  color: var(--color-orange);
}

/* Bottom bar */
.nemo-footer__bottom {
  padding: var(--space-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.nemo-footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.40);
  margin: 0;
}

.nemo-footer__bottom-links {
  display: flex;
  gap: var(--space-5);
}

.nemo-footer__bottom-links a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.40);
  transition: color var(--transition-fast);
}

.nemo-footer__bottom-links a:hover {
  color: var(--color-orange);
}

/* ============================================================
   § 15 — PAGE & SINGLE POST
   ============================================================ */

.nemo-main {
  padding-top: var(--header-height);
  min-height: 60vh;
}

.nemo-has-hero .nemo-main {
  padding-top: 0;
}

/* Single post */
.nemo-single-hero {
  position: relative;
  height: 55vh;
  min-height: 400px;
  background: var(--color-primary);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.nemo-single-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.nemo-single-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.85) 0%, rgba(26,59,140,0.30) 100%);
}

.nemo-single-hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-10) 0;
  color: var(--color-white);
  width: 100%;
}

.nemo-single-hero__content .nemo-breadcrumbs {
  margin-bottom: var(--space-4);
}

.nemo-post-title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-5xl));
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.nemo-post-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.70);
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
}

.nemo-post-meta a {
  color: var(--color-orange);
}

.nemo-post-body {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-12) var(--container-px);
}

.nemo-post-body .entry-content {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: #2D3748;
}

.nemo-post-body .entry-content p   { margin-bottom: var(--space-6); }
.nemo-post-body .entry-content h2  { margin: var(--space-10) 0 var(--space-4); }
.nemo-post-body .entry-content h3  { margin: var(--space-8) 0 var(--space-3); }
.nemo-post-body .entry-content img { border-radius: var(--radius-lg); margin: var(--space-6) 0; }
.nemo-post-body .entry-content ul,
.nemo-post-body .entry-content ol  { padding-left: var(--space-8); margin-bottom: var(--space-6); }
.nemo-post-body .entry-content li  { margin-bottom: var(--space-2); color: var(--color-mid-grey); }
.nemo-post-body .entry-content blockquote {
  border-left: 4px solid var(--color-orange);
  padding-left: var(--space-6);
  margin: var(--space-8) 0;
  font-style: italic;
  color: var(--color-primary);
  font-size: var(--text-xl);
}

/* Share buttons */
.nemo-share {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-8);
  margin-top: var(--space-8);
  border-top: 1px solid var(--color-light-grey);
  flex-wrap: wrap;
}

.nemo-share__label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-mid-grey);
}

.nemo-share__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background-color var(--transition-fast),
    transform var(--transition-fast);
  min-height: 36px;
}

.nemo-share__btn:hover { transform: translateY(-2px); }

.nemo-share__btn--facebook  { background: #1877F2; color: #fff; }
.nemo-share__btn--whatsapp  { background: #25D366; color: #fff; }
.nemo-share__btn--twitter   { background: #1DA1F2; color: #fff; }

/* Post navigation */
.nemo-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-light-grey);
}

.nemo-post-nav__link {
  padding: var(--space-5);
  background: var(--color-light-grey);
  border-radius: 0;
  transition: background-color var(--transition-base);
}

.nemo-post-nav__link:hover { background: var(--color-primary-light); }

.nemo-post-nav__direction {
  font-size: var(--text-xs);
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-mid-grey);
  display: block;
  margin-bottom: var(--space-1);
}

.nemo-post-nav__title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  line-height: 1.4;
}

.nemo-post-nav__link--next { text-align: right; }

/* ============================================================
   § 16 — BREADCRUMBS
   ============================================================ */

.nemo-breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  flex-wrap: wrap;
}

.nemo-breadcrumbs a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast);
}

.nemo-breadcrumbs a:hover { color: var(--color-orange); }

.nemo-breadcrumbs__sep {
  color: rgba(255,255,255,0.30);
  font-size: 10px;
}

.nemo-breadcrumbs__current {
  color: var(--color-white);
}

/* Dark breadcrumbs (for white sections) */
.nemo-breadcrumbs--dark a         { color: var(--color-mid-grey); }
.nemo-breadcrumbs--dark a:hover   { color: var(--color-primary); }
.nemo-breadcrumbs--dark .nemo-breadcrumbs__sep     { color: var(--color-light-grey); }
.nemo-breadcrumbs--dark .nemo-breadcrumbs__current { color: var(--color-dark); }

/* ============================================================
   § 17 — PAGINATION
   ============================================================ */

.nemo-pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-12);
  flex-wrap: wrap;
}

.nemo-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0;
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  color: var(--color-primary);
  border: 2px solid var(--color-light-grey);
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.nemo-pagination .page-numbers:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.nemo-pagination .page-numbers.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* ============================================================
   § 18 — 404 PAGE
   ============================================================ */

.nemo-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-20) var(--container-px);
  background:
    radial-gradient(ellipse at 30% 40%, rgba(26,59,140,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(244,121,32,0.05) 0%, transparent 55%),
    var(--color-white);
}

.nemo-404__inner {
  max-width: 560px;
}

.nemo-404__number {
  font-family: var(--font-heading);
  font-size: clamp(100px, 20vw, 200px);
  font-weight: var(--fw-extrabold);
  line-height: 0.9;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-4);
  user-select: none;
}

.nemo-404__diver {
  font-size: 80px;
  display: block;
  margin-bottom: var(--space-4);
  animation: diverFloat 3s ease-in-out infinite;
}

@keyframes diverFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(-12px) rotate(3deg); }
}

.nemo-404__title {
  font-size: var(--text-3xl);
  color: var(--color-dark);
  margin-bottom: var(--space-4);
}

.nemo-404__desc {
  font-size: var(--text-lg);
  color: var(--color-mid-grey);
  margin-bottom: var(--space-8);
}

.nemo-404__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   § 19 — SEARCH RESULTS
   ============================================================ */

.nemo-search-header {
  background: var(--color-primary);
  padding: var(--space-16) 0 var(--space-12);
  text-align: center;
}

.nemo-search-header h1 {
  color: var(--color-white);
  font-size: var(--text-4xl);
}

.nemo-search-header span {
  color: var(--color-orange);
}

.nemo-search-form {
  margin-top: var(--space-6);
  display: flex;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.nemo-search-form input {
  flex: 1;
  padding: 0.875rem var(--space-5);
  border: 2px solid rgba(255,255,255,0.30);
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-size: var(--text-base);
  outline: none;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.nemo-search-form input::placeholder { color: rgba(255,255,255,0.50); }

.nemo-search-form input:focus {
  border-color: var(--color-orange);
  background: rgba(255,255,255,0.18);
}

.nemo-search-form button {
  padding: 0 var(--space-6);
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color var(--transition-fast);
}

.nemo-search-form button:hover { background: var(--color-orange-dark); }

/* ============================================================
   § 20 — PAGE WRAP & MISC
   ============================================================ */

.nemo-page-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.nemo-page-wrap > .nemo-main {
  flex: 1;
}

/* Entry content WP alignment classes */
.aligncenter { display: block; margin: 0 auto; }
.alignleft   { float: left; margin: 0 var(--space-6) var(--space-4) 0; }
.alignright  { float: right; margin: 0 0 var(--space-4) var(--space-6); }

/* WordPress generated caption */
.wp-caption {
  max-width: 100%;
}
.wp-caption-text {
  font-size: var(--text-xs);
  color: var(--color-mid-grey);
  text-align: center;
  margin-top: var(--space-2);
}

/* Screen reader utility */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   § 20 — WIDGET UPDATE STYLES (new class names)
   ============================================================ */

/* ── Hero: new elements ──────────────────────────────────── */

.nemo-hero__depth-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 80px;
  height: 1px;
  background: rgba(255,255,255,0.06);
  z-index: 1;
}

.nemo-hero__badge {
  position: absolute;
  top: 50%;
  right: max(5vw, 40px);
  transform: translateY(-50%);
  z-index: 4;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badgeSpin 18s linear infinite;
  pointer-events: none;
}

@keyframes badgeSpin {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}

.nemo-hero__badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: rgba(244,121,32,0.15);
  border: 1px solid rgba(244,121,32,0.4);
  border-radius: 50%;
  animation: badgeSpin 18s linear infinite reverse;
  padding: 12px;
  text-align: center;
}

.nemo-hero__badge-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: var(--fw-extrabold);
  color: var(--color-orange);
  line-height: 1;
  letter-spacing: -0.03em;
}

.nemo-hero__badge-text {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  line-height: 1.3;
  margin-top: 4px;
}

/* Outline white button variant */
.nemo-btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.6);
}

.nemo-btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-white);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ── Features: new item layout ───────────────────────────── */

.nemo-features-section {
  padding: 80px 0;
}

.nemo-features-section__head {
  margin-bottom: 48px;
}

.nemo-features-section__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: var(--fw-extrabold);
  color: var(--color-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 10px;
  margin-bottom: 0;
}

.nemo-feature-item {
  padding: 40px 32px;
  border: 1px solid rgba(26,59,140,0.10);
  background: var(--color-white);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
              box-shadow 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}

.nemo-feature-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}

.nemo-feature-item:hover {
  border-color: rgba(244,121,32,0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(26,59,140,0.12);
}

.nemo-feature-item:hover::before {
  transform: scaleX(1);
}

.nemo-feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}

.nemo-feature-item:hover .nemo-feature-icon {
  transform: rotate(10deg) scale(1.1);
}

.nemo-feature-item__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  transition: color 0.25s;
}

.nemo-feature-item:hover .nemo-feature-item__title {
  color: var(--color-primary);
}

.nemo-feature-item__title a {
  color: inherit;
}

.nemo-feature-item__title a:hover {
  color: var(--color-orange);
}

.nemo-feature-item__desc {
  font-size: var(--text-sm);
  color: var(--color-mid-grey);
  line-height: 1.7;
  margin: 0;
}

/* ── Dive Sites: new horizontal list layout ──────────────── */

.nemo-dive-sites-section {
  padding: 80px 0;
}

.nemo-dive-sites-section__head {
  margin-bottom: 48px;
}

.nemo-dive-sites-section__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: var(--fw-extrabold);
  color: var(--color-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 10px;
  margin-bottom: 0;
}

.nemo-dive-sites-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(26,59,140,0.08);
}

.nemo-dive-site-item {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: var(--color-white);
  overflow: hidden;
  transition: box-shadow 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}

.nemo-dive-site-item:hover {
  box-shadow: 0 10px 50px rgba(26,59,140,0.15);
  z-index: 2;
  position: relative;
}

.nemo-dive-site-item__image {
  position: relative;
  overflow: hidden;
  background: var(--color-primary-light);
  aspect-ratio: auto;
  min-height: 240px;
}

.nemo-dive-site-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.nemo-dive-site-item:hover .nemo-dive-site-item__image img {
  transform: scale(1.06);
}

.nemo-dive-site-item__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #c8d9f7 100%);
}

.nemo-dive-site-item__num {
  position: absolute;
  bottom: 0;
  right: 0;
  font-family: var(--font-heading);
  font-size: 80px;
  font-weight: var(--fw-extrabold);
  color: rgba(255,255,255,0.15);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.04em;
}

.nemo-dive-site-item__body {
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nemo-dive-site-item__name {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: var(--fw-extrabold);
  color: var(--color-dark);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  transition: color 0.25s;
}

.nemo-dive-site-item:hover .nemo-dive-site-item__name {
  color: var(--color-primary);
}

.nemo-dive-site-item__location {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 16px;
}

.nemo-dive-site-item__desc {
  font-size: var(--text-sm);
  color: var(--color-mid-grey);
  line-height: 1.7;
  margin-bottom: 24px;
}

.nemo-dive-site-item__specs {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.nemo-dive-spec {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nemo-dive-spec__val {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.nemo-dive-spec__label {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-mid-grey);
}

/* Depth bar in dive site item */
.nemo-depth-bar-wrap {
  margin-top: 20px;
}

.nemo-depth-bar-wrap .nemo-depth-bar__fill {
  width: 0;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nemo-depth-bar-wrap .nemo-depth-bar__fill.is-visible {
  width: var(--depth-pct, 60%);
}

/* ── Testimonials: new section wrapper + grid variants ────── */

.nemo-testimonials-section {
  padding: 80px 0;
}

.nemo-testimonials-section__head {
  margin-bottom: 48px;
}

.nemo-testimonials-section__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 10px;
  margin-bottom: 0;
}

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

/* Testimonial card new sub-elements */
.nemo-testimonial-card__reviewer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: auto;
}

.nemo-testimonial-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nemo-testimonial-card__star {
  color: #F59E0B;
  font-size: 15px;
  line-height: 1;
}

/* ── Blog: section wrapper + grid variants ────────────────── */

.nemo-blog-section {
  padding: 80px 0;
}

.nemo-blog-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.nemo-blog-section__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: var(--fw-extrabold);
  color: var(--color-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 10px;
  margin-bottom: 0;
}

.nemo-blog-grid--1 { grid-template-columns: 1fr; }
.nemo-blog-grid--2 { grid-template-columns: repeat(2, 1fr); }
.nemo-blog-grid--3 { grid-template-columns: repeat(3, 1fr); }
.nemo-blog-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Blog card: image is now an <a> tag wrapping the img */
.nemo-blog-card__image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-light-grey);
}

.nemo-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
}

.nemo-blog-card:hover .nemo-blog-card__image img {
  transform: scale(1.07);
}

.nemo-blog-card__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #dce7ff 100%);
}

/* read-more (hyphen variant, used in new widget) */
.nemo-blog-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-top: auto;
  transition: color var(--transition-base);
}

.nemo-blog-card__read-more svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nemo-blog-card:hover .nemo-blog-card__read-more {
  color: var(--color-orange);
}

.nemo-blog-card:hover .nemo-blog-card__read-more svg {
  transform: translateX(4px);
}

.nemo-no-posts {
  text-align: center;
  color: var(--color-mid-grey);
  font-size: var(--text-lg);
  padding: 60px 0;
}

/* ── Stats: number-wrap ───────────────────────────────────── */

.nemo-stat-item__number-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

/* ── Responsive updates for new components ────────────────── */

@media (max-width: 992px) {
  .nemo-dive-site-item { grid-template-columns: 280px 1fr; }
  .nemo-hero__badge    { display: none; }
  .nemo-testimonials-grid--3,
  .nemo-testimonials-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .nemo-blog-grid--3,
  .nemo-blog-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .nemo-features-grid--3,
  .nemo-features-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nemo-dive-site-item { grid-template-columns: 1fr; }
  .nemo-dive-site-item__image { min-height: 220px; }
  .nemo-dive-site-item__body  { padding: 28px 24px; }
  .nemo-testimonials-grid--2,
  .nemo-testimonials-grid--3,
  .nemo-testimonials-grid--4 { grid-template-columns: 1fr; }
  .nemo-blog-grid--2,
  .nemo-blog-grid--3,
  .nemo-blog-grid--4 { grid-template-columns: 1fr; }
  .nemo-features-grid--2,
  .nemo-features-grid--3,
  .nemo-features-grid--4 { grid-template-columns: 1fr; }
  .nemo-blog-section__head { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   § 21 — PAGE HERO (Inner-page compact hero)
   ============================================================ */

.nemo-page-hero {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--color-primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.nemo-page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.nemo-page-hero__body {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 72px 0 80px;
  text-align: center;
}

/* Breadcrumb */
.nemo-page-hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.nemo-page-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.nemo-page-hero__breadcrumb a:hover {
  color: var(--color-orange);
}

.nemo-page-hero__bc-sep {
  opacity: 0.4;
}

/* Title */
.nemo-page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 5vw, 56px);
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  opacity: 0;
  animation: heroFadeUp 0.75s ease forwards 0.15s;
}

/* Subtitle */
.nemo-page-hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.6;
  opacity: 0;
  animation: heroFadeUp 0.75s ease forwards 0.3s;
}

/* Orange accent line under title */
.nemo-page-hero__accent-line {
  width: 56px;
  height: 3px;
  background: var(--color-orange);
  margin: 0 auto;
  opacity: 0;
  animation: heroFadeUp 0.6s ease forwards 0.45s;
}

/* Bottom wave */
.nemo-page-hero__wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 4;
  line-height: 0;
}

.nemo-page-hero__wave svg {
  width: 100%;
  height: 40px;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .nemo-page-hero__body { padding: 56px 0 64px; }
  .nemo-page-hero__title { font-size: clamp(var(--text-2xl), 8vw, var(--text-3xl)); }
  .nemo-page-hero__subtitle { font-size: var(--text-base); }
}

/* ============================================================
   § 22 — GALLERY WIDGET
   ============================================================ */

.nemo-gallery-section {
  padding: 80px 0 100px;
  background: var(--color-white);
}

/* Grid */
.nemo-gallery-grid {
  display: grid;
  gap: 2px;
  background: rgba(26, 59, 140, 0.08); /* 2px gap color trick */
}

.nemo-gallery-grid--1 { grid-template-columns: 1fr; }
.nemo-gallery-grid--2 { grid-template-columns: repeat(2, 1fr); }
.nemo-gallery-grid--3 { grid-template-columns: repeat(3, 1fr); }
.nemo-gallery-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Gallery item */
.nemo-gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.35s;
  transition-delay: calc(var(--i, 0) * 0.06s);
  outline: none;
}

.nemo-gallery-item:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 2px;
}

/* Thumbnail wrapper — enforces aspect ratio */
.nemo-gallery-item__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: inherit; /* inherits from figure inline style */
  flex: 1;
}

.nemo-gallery-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover: image zooms */
.nemo-gallery-item:hover .nemo-gallery-item__thumb img,
.nemo-gallery-item:focus-visible .nemo-gallery-item__thumb img {
  transform: scale(1.07);
}

/* Overlay on hover */
.nemo-gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 59, 140, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nemo-gallery-item:hover .nemo-gallery-item__overlay,
.nemo-gallery-item:focus-visible .nemo-gallery-item__overlay {
  opacity: 1;
}

.nemo-gallery-item__zoom-icon {
  color: var(--color-white);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.nemo-gallery-item:hover .nemo-gallery-item__zoom-icon {
  transform: scale(1);
}

/* Caption strip */
.nemo-gallery-item__caption {
  padding: 12px 16px;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  color: var(--color-mid-grey);
  background: var(--color-white);
  border-top: 1px solid rgba(26, 59, 140, 0.08);
  text-align: left;
  line-height: 1.4;
}

/* ── Lightbox ─────────────────────────────────────────────────────────── */

.nemo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nemo-lightbox[hidden] {
  display: none;
}

.nemo-lightbox.is-open {
  display: flex;
}

.nemo-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

/* Close button */
.nemo-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.2s, transform 0.2s;
}

.nemo-lightbox__close:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  transform: scale(1.08);
}

/* Prev / Next */
.nemo-lightbox__prev,
.nemo-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.2s, transform 0.2s;
}

.nemo-lightbox__prev { left: 20px; }
.nemo-lightbox__next { right: 20px; }

.nemo-lightbox__prev:hover,
.nemo-lightbox__next:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
}

.nemo-lightbox__prev:hover { transform: translateY(-50%) translateX(-2px); }
.nemo-lightbox__next:hover { transform: translateY(-50%) translateX(2px); }

/* Inner content */
.nemo-lightbox__inner {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  animation: lbOpen 0.28s ease;
}

@keyframes lbOpen {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

.nemo-lightbox__img-wrap {
  max-width: 100%;
  max-height: 78vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nemo-lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.nemo-lightbox__caption {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  letter-spacing: 0.04em;
}

.nemo-lightbox__counter {
  margin-top: 6px;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
}

/* Gallery responsive */
@media (max-width: 992px) {
  .nemo-gallery-grid--3,
  .nemo-gallery-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .nemo-gallery-section { padding: 56px 0 72px; }
  .nemo-gallery-grid--2,
  .nemo-gallery-grid--3,
  .nemo-gallery-grid--4 { grid-template-columns: 1fr; }
  .nemo-lightbox__prev { left: 8px; }
  .nemo-lightbox__next { right: 8px; }
  .nemo-lightbox__close { top: 12px; right: 12px; }
}

/* ============================================================
   § 23 — COURSES WIDGET
   ============================================================ */

.nemo-courses-section {
  padding: 80px 0 100px;
  background: var(--color-white);
}

.nemo-courses-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(26, 59, 140, 0.08);
}

.nemo-courses-grid {
  display: grid;
  gap: 2px;
  background: rgba(26, 59, 140, 0.08);
}

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

.nemo-course-card {
  background: var(--color-white);
  display: flex;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: calc(var(--i, 0) * 0.1s);
}

.nemo-course-card:hover {
  box-shadow: 0 12px 40px rgba(26, 59, 140, 0.14);
  transform: translateY(-4px);
}

.nemo-course-card__level-strip {
  width: 4px;
  flex-shrink: 0;
  background: var(--color-primary);
  transition: width 0.3s;
}

.nemo-course-card--intermediate .nemo-course-card__level-strip { background: #F47920; }
.nemo-course-card--advanced     .nemo-course-card__level-strip { background: #C0392B; }
.nemo-course-card--professional .nemo-course-card__level-strip { background: #0D0D0D; }

.nemo-course-card:hover .nemo-course-card__level-strip { width: 6px; }

.nemo-course-card--featured {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.nemo-course-card__image {
  width: 260px;
  flex-shrink: 0;
  overflow: hidden;
}

.nemo-course-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nemo-course-card:hover .nemo-course-card__image img { transform: scale(1.06); }

.nemo-courses-grid .nemo-course-card { flex-direction: column; }
.nemo-courses-grid .nemo-course-card__level-strip { width: 100%; height: 4px; }
.nemo-courses-grid .nemo-course-card:hover .nemo-course-card__level-strip { width: 100%; height: 6px; }
.nemo-courses-grid .nemo-course-card__image { width: 100%; height: 200px; }

.nemo-course-card__body {
  flex: 1;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
}

.nemo-course-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.nemo-course-card__duration {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-mid-grey);
  letter-spacing: 0.04em;
  margin-left: auto;
}

.nemo-course-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
}

.nemo-course-badge--beginner     { background: rgba(26,59,140,0.10); color: var(--color-primary); }
.nemo-course-badge--intermediate { background: rgba(244,121,32,0.12); color: var(--color-orange); }
.nemo-course-badge--advanced     { background: rgba(192,57,43,0.10); color: #C0392B; }
.nemo-course-badge--professional { background: var(--color-dark); color: var(--color-white); }
.nemo-course-badge--featured     { background: var(--color-orange); color: var(--color-white); }

.nemo-course-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 8px;
}

.nemo-course-card__cert {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.nemo-course-card__desc {
  font-size: var(--text-sm);
  color: var(--color-mid-grey);
  line-height: 1.65;
  margin-bottom: 20px;
}

.nemo-course-card__syllabus {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.nemo-course-card__syllabus-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  border: 1px solid rgba(26,59,140,0.15);
  color: var(--color-dark);
  background: var(--color-white);
  border-radius: 0;
}

.nemo-course-card__syllabus-item--theory { border-color: rgba(26,59,140,0.25); color: var(--color-primary); }
.nemo-course-card__syllabus-item--pool   { border-color: rgba(0,130,180,0.25);  color: #0082B4; }
.nemo-course-card__syllabus-item--ocean  { border-color: rgba(26,59,140,0.20);  color: var(--color-primary); }
.nemo-course-card__syllabus-item--prereq { border-color: rgba(107,114,128,0.25); color: var(--color-mid-grey); }

.nemo-course-card__specs-row {
  list-style: none;
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  font-size: var(--text-xs);
  font-family: var(--font-heading);
  color: var(--color-mid-grey);
  flex-wrap: wrap;
}

.nemo-course-card__specs-row li {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nemo-course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(26,59,140,0.08);
  flex-wrap: wrap;
}

.nemo-course-card__price {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-primary);
  line-height: 1.1;
}

.nemo-course-card__price small {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--fw-regular);
  color: var(--color-mid-grey);
  margin-top: 2px;
}

@media (max-width: 992px) {
  .nemo-courses-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .nemo-course-card__image { width: 200px; }
}

@media (max-width: 768px) {
  .nemo-courses-list .nemo-course-card { flex-direction: column; }
  .nemo-courses-list .nemo-course-card__level-strip { width: 100%; height: 4px; }
  .nemo-courses-list .nemo-course-card__image { width: 100%; height: 200px; }
  .nemo-courses-grid--2,
  .nemo-courses-grid--3 { grid-template-columns: 1fr; }
}

/* ============================================================
   § 24 — PACKAGE DETAIL WIDGET
   ============================================================ */

.nemo-pkg-detail {
  padding: 64px 0 100px;
}

.nemo-pkg-detail__hero {
  position: relative;
  aspect-ratio: 16/6;
  overflow: hidden;
  margin-bottom: 56px;
}

.nemo-pkg-detail__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nemo-pkg-detail__badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
}

.nemo-pkg-detail__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.nemo-pkg-detail__title-block { margin-bottom: 32px; }

.nemo-pkg-detail__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 4vw, 48px);
  font-weight: var(--fw-extrabold);
  color: var(--color-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.nemo-pkg-detail__tagline {
  font-size: var(--text-lg);
  color: var(--color-mid-grey);
  line-height: 1.55;
}

.nemo-pkg-detail__desc {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-dark);
  margin-bottom: 48px;
}

.nemo-pkg-detail__desc p  { margin-bottom: 1em; }
.nemo-pkg-detail__desc ul,
.nemo-pkg-detail__desc ol { padding-left: 1.4em; margin-bottom: 1em; }

.nemo-pkg-detail__section-heading {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(26,59,140,0.10);
}

.nemo-pkg-detail__itinerary { margin-bottom: 48px; }

.nemo-pkg-itinerary {
  list-style: none;
  display: flex;
  flex-direction: column;
  position: relative;
}

.nemo-pkg-itinerary::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 24px;
  width: 2px;
  background: rgba(26,59,140,0.12);
  z-index: 0;
}

.nemo-pkg-itinerary__step {
  display: flex;
  gap: 24px;
  padding-bottom: 32px;
  position: relative;
  z-index: 1;
  transition-delay: calc(var(--i, 0) * 0.12s);
}

.nemo-pkg-itinerary__marker {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  border-radius: 0;
}

.nemo-pkg-itinerary__content { padding-top: 10px; }

.nemo-pkg-itinerary__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: 8px;
}

.nemo-pkg-itinerary__content p {
  font-size: var(--text-sm);
  color: var(--color-mid-grey);
  line-height: 1.65;
}

.nemo-pkg-detail__inc-exc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(26,59,140,0.08);
  margin-bottom: 48px;
}

.nemo-pkg-inc-exc-col { background: var(--color-white); padding: 28px 32px; }

.nemo-pkg-inc-exc-col__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.nemo-pkg-inc-exc-col__heading--inc { color: var(--color-primary); }
.nemo-pkg-inc-exc-col__heading--exc { color: #C0392B; }

.nemo-pkg-inc-exc-col__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nemo-pkg-inc-exc-col__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--color-dark);
  line-height: 1.5;
}

.nemo-pkg-inc-exc-col__list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  background: var(--color-primary);
  border-radius: 50%;
}

.nemo-pkg-inc-exc-col__list--exc li::before { background: #C0392B; }

.nemo-pkg-detail__sidebar {
  position: sticky;
  top: 100px;
}

.nemo-pkg-detail__booking-card {
  border: 1px solid rgba(26,59,140,0.14);
  padding: 36px 32px;
  background: var(--color-white);
  box-shadow: 0 8px 32px rgba(26,59,140,0.10);
}

.nemo-pkg-detail__price-block {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(26,59,140,0.10);
}

.nemo-pkg-detail__price {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 3vw, 40px);
  font-weight: var(--fw-extrabold);
  color: var(--color-primary);
  line-height: 1.05;
}

.nemo-pkg-detail__price-note {
  font-size: var(--text-xs);
  color: var(--color-mid-grey);
  margin-top: 6px;
  line-height: 1.4;
}

.nemo-pkg-detail__specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}

.nemo-pkg-detail__spec {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(26,59,140,0.07);
  color: var(--color-primary);
}

.nemo-pkg-detail__spec svg { flex-shrink: 0; margin-top: 3px; }

.nemo-pkg-detail__spec div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nemo-pkg-detail__spec-label {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-mid-grey);
}

.nemo-pkg-detail__spec-value {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
}

.nemo-pkg-detail__cta {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: var(--text-base);
  letter-spacing: 0.05em;
}

.nemo-pkg-detail__cta-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--color-mid-grey);
  text-align: center;
  justify-content: center;
  margin-top: 12px;
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .nemo-pkg-detail__layout { grid-template-columns: 1fr 320px; gap: 40px; }
}

@media (max-width: 900px) {
  .nemo-pkg-detail__layout { grid-template-columns: 1fr; }
  .nemo-pkg-detail__sidebar { position: static; }
  .nemo-pkg-detail__booking-card { padding: 28px 24px; }
  .nemo-pkg-detail__inc-exc { grid-template-columns: 1fr; }
  .nemo-pkg-detail__hero { aspect-ratio: 16/7; }
}

@media (max-width: 576px) {
  .nemo-pkg-detail { padding: 40px 0 72px; }
  .nemo-pkg-detail__hero { aspect-ratio: 4/3; margin-bottom: 32px; }
  .nemo-pkg-itinerary__marker { width: 40px; height: 40px; }
  .nemo-pkg-itinerary::before { left: 20px; }
}

/* ============================================================
   § 25 — CONTACT WIDGET
   ============================================================ */

.nemo-contact-section {
  padding: 80px 0 100px;
  background: var(--color-white);
}

/* Two-column layout */
.nemo-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ── Info panel (left) ──────────────────────────────────── */

.nemo-contact-info__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-2xl), 3.5vw, 40px);
  font-weight: var(--fw-extrabold);
  color: var(--color-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 12px 0 20px;
}

.nemo-contact-info__intro {
  font-size: var(--text-base);
  color: var(--color-mid-grey);
  line-height: 1.75;
  margin-bottom: 36px;
}

/* Contact details list */
.nemo-contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 36px;
}

.nemo-contact-details__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(26,59,140,0.08);
  font-size: var(--text-sm);
  color: var(--color-dark);
  line-height: 1.5;
}

.nemo-contact-details__item a {
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.nemo-contact-details__item a:hover {
  color: var(--color-orange);
}

.nemo-contact-details__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-top: -2px;
}

/* Social icons */
.nemo-contact-social {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.nemo-contact-social__link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.nemo-contact-social__link:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}

.nemo-contact-social__link--whatsapp:hover { background: #25D366; }

/* Map */
.nemo-contact-map {
  overflow: hidden;
  background: var(--color-primary-light);
}

.nemo-contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Form panel (right) ─────────────────────────────────── */

.nemo-contact-form-wrap {
  background: var(--color-white);
  border: 1px solid rgba(26,59,140,0.12);
  padding: 44px 40px;
  box-shadow: 0 8px 40px rgba(26,59,140,0.08);
}

.nemo-contact-form-wrap__heading {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-primary-light);
}

/* Form rows */
.nemo-contact-form__row {
  margin-bottom: 20px;
}

.nemo-contact-form__row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Field */
.nemo-contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nemo-contact-form__field label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-dark);
}

.nemo-contact-form__field label span {
  color: var(--color-orange);
  margin-left: 2px;
}

.nemo-contact-form__field input,
.nemo-contact-form__field textarea,
.nemo-contact-form__field select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(26,59,140,0.18);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-dark);
  border-radius: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.nemo-contact-form__field input:focus,
.nemo-contact-form__field textarea:focus,
.nemo-contact-form__field select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26,59,140,0.10);
}

.nemo-contact-form__field input.is-invalid,
.nemo-contact-form__field textarea.is-invalid,
.nemo-contact-form__field select.is-invalid {
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.10);
}

.nemo-contact-form__field textarea {
  resize: vertical;
  min-height: 130px;
}

.nemo-contact-form__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.nemo-contact-form__error {
  font-size: 11px;
  color: #C0392B;
  font-family: var(--font-heading);
  min-height: 1em;
}

/* Footer */
.nemo-contact-form__footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.nemo-contact-form__submit {
  flex-shrink: 0;
}

.nemo-contact-form__submit.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.nemo-contact-form__privacy {
  font-size: 11px;
  color: var(--color-mid-grey);
  line-height: 1.4;
  flex: 1;
}

/* Status message */
.nemo-contact-form__status {
  margin-top: 16px;
  padding: 14px 20px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  border-radius: 0;
}

.nemo-contact-form__status[hidden] { display: none; }

.nemo-contact-form__status--success {
  background: rgba(26,59,140,0.06);
  color: var(--color-primary);
  border-left: 4px solid var(--color-primary);
}

.nemo-contact-form__status--error {
  background: rgba(192,57,43,0.06);
  color: #C0392B;
  border-left: 4px solid #C0392B;
}

/* Responsive */
@media (max-width: 1100px) {
  .nemo-contact-layout { gap: 48px; }
}

@media (max-width: 900px) {
  .nemo-contact-layout { grid-template-columns: 1fr; }
  .nemo-contact-form-wrap { padding: 32px 28px; }
}

@media (max-width: 576px) {
  .nemo-contact-section { padding: 56px 0 72px; }
  .nemo-contact-form__row--2col { grid-template-columns: 1fr; }
  .nemo-contact-form-wrap { padding: 28px 20px; }
}
