﻿/* Page reset helpers for pages using [yachttrain_home]. */
body.yachttrain-home-active {
  background: #050a10 !important;
}
body.yachttrain-home-active #main-header,
body.yachttrain-home-active #top-header,
body.yachttrain-home-active #main-footer,
body.yachttrain-home-active .et-l--header,
body.yachttrain-home-active .et-l--footer,
body.yachttrain-home-active #et-info,
body.yachttrain-home-active #et-secondary-menu,
body.yachttrain-home-active #et-secondary-nav,
body.yachttrain-home-active .et_pb_section:not(.yachttrain-shortcode-section) > .et_pb_row:empty {
  display: none !important;
}
body.yachttrain-home-active #top-header {
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
body.yachttrain-home-active #page-container {
  padding-top: 0 !important;
}
body.yachttrain-home-active #main-content,
body.yachttrain-home-active #main-content > .container,
body.yachttrain-home-active #content-area,
body.yachttrain-home-active #left-area,
body.yachttrain-home-active article,
body.yachttrain-home-active article.page,
body.yachttrain-home-active .hentry {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: #050a10 !important;
}
body.yachttrain-home-active #main-content .container::before,
body.yachttrain-home-active #sidebar {
  display: none !important;
}
body.yachttrain-home-active .entry-content,
body.yachttrain-home-active .et_pb_post,
body.yachttrain-home-active .et_builder_inner_content,
body.yachttrain-home-active .et-l,
body.yachttrain-home-active .et_pb_section,
body.yachttrain-home-active .et_pb_row,
body.yachttrain-home-active .et_pb_column,
body.yachttrain-home-active .et_pb_module,
body.yachttrain-home-active .et_pb_text_inner {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
body.yachttrain-home-active .entry-content {
  font-size: 0 !important;
  line-height: 0 !important;
}
body.yachttrain-home-active .entry-content > p:empty,
body.yachttrain-home-active .entry-content > .wp-block-paragraph:empty {
  display: none !important;
}
body.yachttrain-home-active .entry-title {
  display: none !important;
}
body.yachttrain-home-active .yachttrain-home-root {
  position: relative !important;
  left: 50% !important;
  width: 100vw !important;
  max-width: none !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  overflow: hidden !important;
  background: #050a10 !important;
  isolation: isolate !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}
body.yachttrain-home-active .yachttrain-home-root .container {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}
body.yachttrain-home-active .yachttrain-home-root .top-bar .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.yachttrain-home-active .yachttrain-home-root #header .nav-inner {
  padding: 1rem 0 !important;
}
body.yachttrain-home-active .ocean-scene,
body.yachttrain-home-active .caustics,
body.yachttrain-home-active .light-rays,
body.yachttrain-home-active .bubbles {
  z-index: 0 !important;
}
body.yachttrain-home-active .stats,
body.yachttrain-home-active section,
body.yachttrain-home-active footer {
  position: relative;
  z-index: 1;
}
:root {
      --navy: #2A436E;
      --navy-dark: #1a2f4d;
      --navy-light: #3d5f8a;
      --teal: #009A99;
      --teal-glow: #00c4c3;
      --orange: #CC3C00;
      --orange-glow: #e85a1a;
      --black: #000000;
      --abyss: #050a10;
      --deep: #0d1520;
      --white: #f4f7fb;
      --foam: #d4e4f0;
      --glass: rgba(42, 67, 110, 0.35);
      --glass-border: rgba(0, 154, 153, 0.22);
      --text: #c5d4e4;
      --text-muted: #8aa3be;
      --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
      --radius: 20px;
      --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; overflow-x: hidden; }
    body {
      font-family: 'Outfit', sans-serif;
      color: var(--text);
      background: var(--abyss);
      line-height: 1.65;
      overflow-x: hidden;
    }
    img { max-width: 100%; height: auto; display: block; }
    a { color: inherit; text-decoration: none; }
    ul { list-style: none; }

    /* Ambient navy environment */
    .ocean-scene {
      position: fixed;
      inset: 0;
      z-index: -1;
      background:
        radial-gradient(ellipse 120% 60% at 50% -10%, rgba(42, 67, 110, 0.28) 0%, transparent 55%),
        radial-gradient(ellipse 80% 50% at 80% 20%, rgba(0, 154, 153, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--deep) 0%, var(--navy-dark) 35%, var(--navy) 65%, var(--abyss) 100%);
    }
    .ocean-scene::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 80% 48% at 50% 12%, rgba(40, 116, 154, 0.3) 0%, transparent 62%),
        radial-gradient(ellipse 70% 46% at 18% 42%, rgba(0, 154, 153, 0.11) 0%, transparent 58%),
        radial-gradient(ellipse 64% 44% at 88% 62%, rgba(42, 67, 110, 0.28) 0%, transparent 60%),
        linear-gradient(180deg, rgba(10, 55, 82, 0.42) 0%, rgba(7, 26, 45, 0.66) 45%, rgba(3, 9, 17, 0.95) 100%);
      opacity: 1;
    }
    .caustics {
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      background:
        repeating-linear-gradient(
          112deg,
          transparent 0px,
          rgba(0, 196, 195, 0.03) 40px,
          transparent 80px
        ),
        repeating-linear-gradient(
          -67deg,
          transparent 0px,
          rgba(0, 154, 153, 0.04) 60px,
          transparent 120px
        );
      animation: causticShift 14s ease-in-out infinite alternate;
    }
    @keyframes causticShift {
      0% { opacity: 0.5; transform: scale(1) translateX(0); }
      100% { opacity: 0.85; transform: scale(1.05) translateX(20px); }
    }
    .light-rays {
      position: fixed;
      top: -10%;
      left: 0;
      width: 100vw;
      height: 60vh;
      z-index: -1;
      background: conic-gradient(from 180deg at 50% 0%,
        transparent 0deg,
        rgba(212, 228, 240, 0.05) 15deg,
        transparent 30deg,
        rgba(0, 196, 195, 0.04) 50deg,
        transparent 70deg,
        rgba(0, 154, 153, 0.06) 90deg,
        transparent 110deg);
      filter: blur(30px);
      animation: rayPulse 8s ease-in-out infinite;
    }
    @keyframes rayPulse {
      0%, 100% { opacity: 0.6; }
      50% { opacity: 1; }
    }
    .bubbles {
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      overflow: hidden;
    }
    .bubble {
      position: absolute;
      bottom: -40px;
      border-radius: 50%;
      background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), rgba(0,154,153,0.08));
      border: 1px solid rgba(212,228,240,0.12);
      animation: rise linear infinite;
    }
    @keyframes rise {
      0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
      10% { opacity: 0.7; }
      90% { opacity: 0.4; }
      100% { transform: translateY(-110vh) translateX(var(--drift)) scale(0.6); opacity: 0; }
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* Glass UI */
    .glass {
      background: var(--glass);
      backdrop-filter: blur(18px) saturate(1.4);
      border: 1px solid var(--glass-border);
      box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.06);
    }

    /* Top bar */
    .top-bar {
      background: #050a10;
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(0, 154, 153, 0.12);
      color: var(--foam);
      font-size: 0.85rem;
      padding: 0.45rem 0;
      position: relative;
      z-index: 1001;
    }
    body.yachttrain-home-active .yachttrain-home-root .top-bar {
      min-height: 49px !important;
      padding: 0.45rem 0 !important;
      background: #050a10 !important;
      border-top: 0 !important;
    }
    .top-bar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.75rem;
    }
    .top-bar a {
      opacity: 0.9;
      touch-action: manipulation;
      -webkit-tap-highlight-color: rgba(0, 196, 195, 0.18);
      transition: color 0.14s ease, opacity 0.14s ease, text-shadow 0.14s ease;
    }
    .top-bar a:hover { opacity: 1; color: var(--teal-glow); text-shadow: 0 0 12px rgba(0, 196, 195, 0.5); }
    .top-contact { display: flex; gap: 1.5rem; flex-wrap: wrap; }
    .contact-link {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.3rem 0.68rem;
      border: 1px solid rgba(0, 154, 153, 0.14);
      border-radius: 999px;
      background: rgba(8, 22, 34, 0.92);
      color: rgba(212, 228, 240, 0.92);
      line-height: 1;
    }
    .contact-link span {
      color: var(--teal);
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }
    .top-social { display: flex; gap: 0.75rem; }
    .top-social a {
      width: 34px; height: 34px;
      border: 1px solid rgba(0, 154, 153, 0.3);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: rgba(212, 228, 240, 0.88);
      transition: all var(--transition);
    }
    .top-social a:hover {
      background: rgba(0, 154, 153, 0.15);
      border-color: var(--teal);
      color: var(--teal-glow);
      box-shadow: 0 0 20px rgba(0, 154, 153, 0.3);
    }
    .social-icon {
      width: 15px;
      height: 15px;
      display: block;
      background: currentColor;
      -webkit-mask: center / contain no-repeat;
      mask: center / contain no-repeat;
    }
    .social-icon-facebook {
      -webkit-mask-image: url('../images/icons/facebook.svg');
      mask-image: url('../images/icons/facebook.svg');
    }
    .social-icon-instagram {
      -webkit-mask-image: url('../images/icons/instagram.svg');
      mask-image: url('../images/icons/instagram.svg');
    }

    /* Header */
    header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(5, 10, 16, 0.82);
      backdrop-filter: blur(22px) saturate(1.25);
      border-bottom: 1px solid rgba(0, 154, 153, 0.15);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
      transition: all var(--transition);
    }
    header.scrolled {
      background: rgba(0, 0, 0, 0.92);
      box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    }
    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 0;
      gap: 2rem;
    }
    .logo {
      display: flex;
      align-items: center;
    }
    .logo img {
      height: 54px;
      width: auto;
    }
    .nav-links { display: flex; align-items: center; gap: 1.75rem; }
    .nav-links a {
      color: rgba(197, 212, 228, 0.85);
      font-size: 0.82rem;
      font-weight: 500;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      touch-action: manipulation;
      -webkit-tap-highlight-color: rgba(0, 196, 195, 0.18);
      transition: color 0.14s ease, text-shadow 0.14s ease, opacity 0.14s ease;
    }
    .nav-links a:hover {
      color: var(--teal-glow);
      text-shadow: 0 0 15px rgba(0, 196, 195, 0.4);
    }
    .nav-links a:active {
      color: var(--teal-glow);
      opacity: 0.72;
      transition-duration: 0.04s;
    }
    .nav-links a.btn {
      color: var(--white);
      transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease, opacity 0.14s ease;
    }
    .nav-links a.btn:active {
      color: var(--white);
      opacity: 0.9;
      transform: translateY(0) scale(0.985);
      transition-duration: 0.04s;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.9rem 1.85rem;
      border-radius: 50px;
      font-weight: 600;
      font-size: 0.92rem;
      letter-spacing: 0.03em;
      touch-action: manipulation;
      -webkit-tap-highlight-color: rgba(255, 255, 255, 0.16);
      transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease, opacity 0.14s ease;
      cursor: pointer;
      border: none;
    }
    .btn:active {
      transform: translateY(0) scale(0.985);
      opacity: 0.9;
      transition-duration: 0.04s;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--orange), var(--orange-glow));
      color: var(--white);
      box-shadow: 0 4px 30px rgba(204, 60, 0, 0.4), 0 0 40px rgba(232, 90, 26, 0.15);
    }
    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 40px rgba(204, 60, 0, 0.55), 0 0 60px rgba(232, 90, 26, 0.25);
    }
    .btn-primary:active {
      box-shadow: 0 3px 18px rgba(204, 60, 0, 0.45), 0 0 28px rgba(232, 90, 26, 0.2);
    }
    .btn-outline {
      background: rgba(0, 154, 153, 0.08);
      color: var(--foam);
      border: 1px solid rgba(0, 154, 153, 0.4);
    }
    .btn-outline:hover {
      border-color: var(--teal-glow);
      background: rgba(0, 196, 195, 0.12);
      box-shadow: 0 0 25px rgba(0, 196, 195, 0.2);
    }
    .btn-glow {
      background: transparent;
      color: var(--teal-glow);
      border: 1px solid rgba(0, 196, 195, 0.5);
    }
    .btn-glow:hover {
      background: rgba(0, 196, 195, 0.1);
      box-shadow: 0 0 30px rgba(0, 196, 195, 0.25);
      transform: translateY(-2px);
    }
    .contact-popover {
      position: fixed;
      inset: 0;
      z-index: 3000;
      display: grid;
      place-items: center;
      padding: 1.5rem;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.16s ease;
    }
    .contact-popover.open {
      opacity: 1;
      pointer-events: auto;
    }
    .contact-popover__backdrop {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.62);
      backdrop-filter: blur(8px);
    }
    .contact-popover__panel {
      position: relative;
      width: min(92vw, 430px);
      border-radius: var(--radius);
      padding: 2.2rem;
      text-align: center;
      overflow: hidden;
      background-clip: padding-box;
      clip-path: inset(0 round var(--radius));
      transform: translateY(10px) scale(0.98);
      transition: transform 0.18s ease;
    }
    .contact-popover.open .contact-popover__panel {
      transform: translateY(0) scale(1);
    }
    .contact-popover__logo {
      width: 82px;
      height: auto;
      margin: 0 auto 0.75rem;
      filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.34));
    }
    .contact-popover__panel h3 {
      font-family: 'Cormorant Garamond', serif;
      color: var(--white);
      font-size: 2.05rem;
      line-height: 1.1;
      margin-bottom: 1.35rem;
    }
    .contact-popover__link {
      display: block;
      border: 0;
      border-radius: 999px;
      padding: 0.9rem 1rem;
      margin-top: 0.75rem;
      color: var(--white);
      font-weight: 700;
      background: linear-gradient(135deg, var(--orange), var(--orange-glow));
      box-shadow: 0 4px 26px rgba(204, 60, 0, 0.36), 0 0 36px rgba(232, 90, 26, 0.14);
      transition: color 0.14s ease, border-color 0.14s ease, background-color 0.14s ease, transform 0.14s ease;
    }
    .contact-popover__link:hover,
    .contact-popover__link:focus-visible {
      color: var(--white);
      box-shadow: 0 8px 34px rgba(204, 60, 0, 0.5), 0 0 52px rgba(232, 90, 26, 0.22);
      transform: translateY(-2px);
      outline: none;
    }
    .contact-popover__close {
      position: absolute;
      top: 0.85rem;
      right: 0.85rem;
      width: 36px;
      height: 36px;
      border: 1px solid rgba(0, 154, 153, 0.28);
      border-radius: 50%;
      background: rgba(5, 10, 16, 0.72);
      color: var(--foam);
      cursor: pointer;
    }
    .contact-popover__close span,
    .contact-popover__close span::before {
      content: '';
      position: absolute;
      left: 50%;
      top: 50%;
      width: 15px;
      height: 2px;
      border-radius: 999px;
      background: currentColor;
      transform: translate(-50%, -50%) rotate(45deg);
    }
    .contact-popover__close span::before {
      transform: translate(-50%, -50%) rotate(90deg);
    }
    .menu-toggle {
      display: none;
      background: none;
      border: 1px solid rgba(0, 154, 153, 0.3);
      border-radius: 8px;
      color: var(--foam);
      font-size: 1.25rem;
      cursor: pointer;
      padding: 0.35rem 0.6rem;
    }
    .menu-close,
    .nav-backdrop {
      display: none;
    }

    /* Hero */
    .hero {
      position: relative;
      min-height: 94vh;
      display: flex;
      align-items: center;
      overflow: hidden;
      margin-bottom: -1px;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      background: url('../images/hero-marina-smooth-poster.jpg') center/cover no-repeat;
      transform: scale(1.06);
    }
    .hero-video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      display: block;
    }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 56% 58% at 27% 50%, rgba(5,10,16,0.58) 0%, rgba(5,10,16,0.34) 48%, transparent 74%),
        linear-gradient(90deg, rgba(5,10,16,0.58) 0%, rgba(13,21,32,0.34) 44%, rgba(26,47,77,0.18) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(13,21,32,0.36) 54%, rgba(26,47,77,0.72) 100%),
        radial-gradient(ellipse 70% 50% at 50% 80%, rgba(0,154,153,0.1) 0%, transparent 70%),
        radial-gradient(ellipse 62% 36% at 20% 77%, rgba(204,60,0,0.13) 0%, transparent 68%);
    }
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 760px;
      padding: 5rem 0 7rem;
      animation: fadeUp 1.2s ease-out;
    }
    .hero-content::before {
      content: '';
      position: absolute;
      z-index: -1;
      inset: -3rem -4rem -2rem -3rem;
      background: radial-gradient(ellipse 78% 58% at 35% 50%, rgba(5, 10, 16, 0.42) 0%, rgba(5, 10, 16, 0.2) 42%, transparent 72%);
      pointer-events: none;
    }
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(40px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.65rem;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--teal-glow);
      margin-bottom: 1.5rem;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      text-shadow: 0 0 16px rgba(0, 196, 195, 0.18);
    }
    .hero-eyebrow::before {
      content: '';
      width: 26px;
      height: 2px;
      border-radius: 999px;
      background: var(--orange);
      box-shadow: none;
      animation: none;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(0.8); }
    }
    .hero h1 {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(3.2rem, 8vw, 6rem);
      font-weight: 700;
      line-height: 1.02;
      margin-bottom: 1.5rem;
      color: var(--white);
      text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
    }
    .hero-sub {
      font-size: 1.15rem;
      color: var(--text);
      margin-bottom: 2.5rem;
      max-width: 540px;
      font-weight: 300;
    }
    .hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
    .hero-badges {
      display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(0, 154, 153, 0.2); }
    .hero-badge {
      font-size: 0.88rem;
      color: var(--text-muted);
      padding: 0.5rem 1rem;
      border-radius: 10px;
      background: rgba(42, 67, 110, 0.5);
      border: 1px solid rgba(0, 154, 153, 0.15);
    }
    .hero-badge strong { color: var(--teal-glow); }

    /* Wave divider */
    .wave-divider {
      display: block;
      width: 100%;
      height: 120px;
      margin-top: -74px;
      position: relative;
      z-index: 2;
      pointer-events: none;
      background:
        linear-gradient(180deg, transparent 0%, rgba(13,21,32,0.46) 32%, rgba(5,10,16,0.88) 76%, rgba(5,10,16,1) 100%);
      overflow: hidden;
    }
    .wave-divider::before {
      content: '';
      position: absolute;
      left: -4%;
      right: -4%;
      bottom: 18px;
      height: 56px;
      background: rgba(42,67,110,0.32);
      border-radius: 50% 50% 0 0 / 100% 100% 0 0;
      filter: blur(0.3px);
      opacity: 0.75;
    }
    .wave-divider svg {
      position: absolute;
      inset: auto 0 0;
      display: block;
      width: 100%;
      height: 70px;
      opacity: 0.55;
    }

    /* Stats */
    .stats {
      padding: 0.5rem 0 4.5rem;
      margin-top: -1.75rem;
      position: relative;
      z-index: 4;
      background: linear-gradient(180deg, rgba(5,10,16,1) 0%, rgba(13,21,32,0.92) 54%, transparent 100%);
    }
    .stats-panel {
      border-radius: var(--radius);
      padding: 2.5rem 2rem;
      position: relative;
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
      text-align: center;
    }
    .stat-item h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.6rem;
      color: var(--teal-glow);
      margin-bottom: 0.25rem;
      text-shadow: 0 0 25px rgba(0, 196, 195, 0.4);
    }
    .stat-item:nth-child(3) h3 {
      color: var(--orange);
      text-shadow: 0 0 25px rgba(204, 60, 0, 0.4);
    }
    .stat-item p { font-size: 0.88rem; color: var(--text-muted); }

    /* Sections */
    section { padding: 5.5rem 0; position: relative; }
    .section-label {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--teal);
      margin-bottom: 0.75rem;
    }
    .section-label::before {
      content: '';
      width: 24px;
      height: 2px;
      background: var(--orange);
      flex-shrink: 0;
    }
    .section-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2rem, 4vw, 3.1rem);
      font-weight: 700;
      color: var(--white);
      margin-bottom: 1.25rem;
      line-height: 1.15;
      text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    }
    .section-text { color: var(--text-muted); font-size: 1.05rem; max-width: 620px; }

    .split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3.5rem;
      align-items: center;
    }
    .split.reverse .split-content { order: 2; }
    .split.reverse .split-media { order: 1; }
    .split-media {
      position: relative;
    }

    /* Photo cards */
    .photo-card {
      position: relative;
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid rgba(0, 154, 153, 0.2);
      box-shadow: var(--shadow), 0 0 60px rgba(0, 154, 153, 0.08);
      transition: all var(--transition);
    }
    .photo-card::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(0,154,153,0.06) 0%, rgba(0,0,0,0.3) 100%);
      pointer-events: none;
    }
    .photo-card img {
      width: 100%;
      aspect-ratio: 4/3;
      object-fit: cover;
      display: block;
      transition: transform var(--transition);
    }
    .photo-card:hover img {
      transform: scale(1.03);
    }
    .photo-label {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 2;
      padding: 1rem 1.25rem;
      background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
      font-size: 0.82rem;
      color: var(--teal);
      font-weight: 500;
    }

    .warning-cards {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      margin-top: 2rem;
    }
    .warning-card {
      padding: 1.2rem 1.4rem;
      border-radius: 14px;
      border-left: 3px solid var(--teal);
      background: rgba(42, 67, 110, 0.35);
      border: 1px solid rgba(0, 154, 153, 0.15);
      border-left: 3px solid var(--teal);
      transition: all var(--transition);
    }
    .warning-card:hover {
      background: rgba(42, 67, 110, 0.55);
      box-shadow: 0 0 30px rgba(0, 154, 153, 0.1);
      transform: translateY(-2px);
    }
    .warning-card strong { display: block; color: var(--foam); margin-bottom: 0.2rem; font-size: 0.95rem; }
    .warning-card span { color: var(--text-muted); font-size: 0.9rem; }

    .check-list li {
      display: flex;
      gap: 0.75rem;
      margin-bottom: 1rem;
      align-items: flex-start;
    }
    .check-list li::before {
      content: '◆';
      flex-shrink: 0;
      color: var(--teal-glow);
      font-size: 0.6rem;
      margin-top: 6px;
      text-shadow: 0 0 10px var(--teal-glow);
    }
    .check-list strong { color: var(--foam); }

    /* Mission */
    .mission {
      text-align: center;
      padding: 4rem 0;
    }
    .mission-panel {
      border-radius: var(--radius);
      padding: 3rem 2.5rem;
      max-width: 900px;
      margin: 0 auto;
    }
    .mission p {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.3rem, 2.5vw, 1.85rem);
      color: var(--text);
      line-height: 1.55;
    }
    .mission strong { color: var(--teal-glow); }

    /* Program */
    .program-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3.5rem;
      align-items: start;
    }
    .training-gallery {
      display: grid;
      gap: 1rem;
    }
    .training-gallery .main-img {
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid rgba(0, 154, 153, 0.25);
      box-shadow: var(--shadow);
    }
    .training-gallery .main-img img {
      width: 100%;
      aspect-ratio: 16/10;
      object-fit: cover;
    }
    .training-thumbs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }
    .training-thumbs .photo-card img {
      aspect-ratio: 4/3;
    }
    .training-thumbs .photo-card:hover {
      border-color: rgba(0, 196, 195, 0.45);
      box-shadow: var(--shadow), 0 0 40px rgba(0, 154, 153, 0.2);
      transform: translateY(-4px);
    }
    .training-thumbs .photo-card:hover .photo-label {
      color: var(--teal-glow);
    }
    .audience-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.65rem;
      margin: 1.25rem 0 1.75rem;
    }
    .audience-tag {
      background: rgba(0, 154, 153, 0.08);
      border: 1px solid rgba(0, 154, 153, 0.3);
      color: var(--teal);
      padding: 0.45rem 1rem;
      border-radius: 50px;
      font-size: 0.82rem;
      font-weight: 500;
    }
    .skill-cards { display: grid; gap: 0.85rem; margin-top: 1rem; }
    .skill-card {
      padding: 1.1rem 1.3rem;
      border-radius: 14px;
      background: rgba(42, 67, 110, 0.35);
      border: 1px solid rgba(0, 154, 153, 0.12);
      transition: all var(--transition);
    }
    .skill-card:hover {
      border-color: rgba(0, 196, 195, 0.35);
      background: rgba(42, 67, 110, 0.55);
      transform: translateX(6px);
      box-shadow: -4px 0 20px rgba(0, 154, 153, 0.1);
    }
    .skill-card h4 { color: var(--teal-glow); margin-bottom: 0.3rem; font-size: 0.95rem; }
    .skill-card p { color: var(--text-muted); font-size: 0.9rem; }
    .tagline {
      margin-top: 1.5rem;
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.4rem;
      color: var(--teal-glow);
      text-shadow: 0 0 20px rgba(0, 196, 195, 0.3);
    }

    /* Testimonials */
    .testimonials-header { text-align: center; margin-bottom: 3rem; }
    .testimonials-header .section-label { justify-content: center; }
    .stars { color: var(--teal-glow); font-size: 1.2rem; letter-spacing: 0.2em; margin-bottom: 0.5rem; text-shadow: 0 0 15px rgba(0,196,195,0.5); }
    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.75rem;
    }
    .testimonial-card {
      padding: 2rem 1.75rem;
      border-radius: var(--radius);
      position: relative;
      transition: all var(--transition);
    }
    .testimonial-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow), 0 0 40px rgba(0, 154, 153, 0.1);
    }
    .testimonial-card::before {
      content: '"';
      font-family: 'Cormorant Garamond', serif;
      font-size: 4.5rem;
      color: var(--orange);
      opacity: 0.35;
      position: absolute;
      top: 0.25rem; left: 1.25rem;
      line-height: 1;
    }
    .testimonial-avatar {
      width: 58px;
      height: 58px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--navy), var(--teal));
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--white);
      margin-bottom: 1rem;
      box-shadow: 0 4px 16px rgba(0, 154, 153, 0.3);
    }
    .testimonial-photo {
      display: block;
      object-fit: cover;
      object-position: center;
      border: 2px solid rgba(255, 255, 255, 0.72);
      background: rgba(4, 13, 22, 0.6);
      box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28), 0 0 0 4px rgba(0, 196, 195, 0.12);
    }
    .testimonial-card p {
      color: var(--text-muted);
      font-style: italic;
      margin-bottom: 1.25rem;
      padding-top: 0.5rem;
      font-size: 0.95rem;
    }
    .testimonial-author { font-weight: 600; color: var(--foam); }
    .reviews-link { text-align: center; margin-top: 2.5rem; }
    .reviews-link a {
      color: var(--teal);
      font-weight: 600;
      border-bottom: 1px solid var(--teal-glow);
      padding-bottom: 3px;
      transition: all var(--transition);
    }
    .reviews-link a:hover { color: var(--teal-glow); text-shadow: 0 0 15px rgba(0,196,195,0.4);
    }

    /* Partnership & CTA */
    .partnership, .cta { text-align: center; }
    .partnership .section-label,
    .cta .section-label { justify-content: center; }
    .partnership-panel, .cta-panel {
      border-radius: var(--radius);
      padding: 4rem 2.5rem;
      max-width: 800px;
      margin: 0 auto;
    }
    .partnership-panel,
    .cta-panel,
    .guide-panel {
      overflow: hidden;
      background-clip: padding-box;
      clip-path: inset(0 round var(--radius));
    }
    .partnership p, .cta p { color: var(--text-muted); max-width: 580px; margin: 0 auto 2rem; font-size: 1.05rem; }

    .cta {
      position: relative;
      overflow: visible;
      margin-top: -7rem;
      padding-top: 12rem;
      padding-bottom: 9rem;
    }
    .cta-bg {
      position: absolute;
      inset: -16rem 0 -13rem;
      z-index: 0;
      pointer-events: none;
      background:
        linear-gradient(180deg,
          rgba(10, 55, 82, 0) 0%,
          rgba(10, 55, 82, 0.08) 24%,
          rgba(10, 55, 82, 0.24) 42%,
          rgba(7, 31, 50, 0.5) 62%,
          rgba(5, 10, 16, 0.68) 82%,
          rgba(5, 10, 16, 0.14) 100%),
        radial-gradient(ellipse 86% 64% at 50% 46%, rgba(42, 67, 110, 0.34) 0%, transparent 72%);
    }
    .cta::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: -17rem;
      height: 28rem;
      z-index: 0;
      pointer-events: none;
      background: linear-gradient(180deg, rgba(5, 10, 16, 0) 0%, rgba(5, 10, 16, 0.06) 28%, rgba(4, 12, 20, 0.28) 58%, rgba(3, 8, 14, 0.62) 100%);
    }
    .cta .container { position: relative; z-index: 1; }

    /* FAQ */
    .faq-list {
      max-width: 760px;
      margin: 2.5rem auto 0;
      border-radius: var(--radius);
      overflow: hidden;
    }
    .faq-item { border-bottom: 1px solid rgba(0, 154, 153, 0.12); }
    .faq-item:last-child { border-bottom: none; }
    .faq-question {
      width: 100%;
      background: none;
      border: none;
      text-align: left;
      padding: 1.4rem 1.5rem;
      font-family: 'Outfit', sans-serif;
      font-size: 1.02rem;
      font-weight: 600;
      color: var(--foam);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      transition: color var(--transition);
    }
    .faq-question:hover { color: var(--teal-glow); }
    .faq-question::after {
      content: '+';
      font-size: 1.4rem;
      color: var(--teal);
      transition: transform var(--transition);
      flex-shrink: 0;
    }
    .faq-item.open .faq-question::after { transform: rotate(45deg); color: var(--teal-glow); }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.4s ease;
      color: var(--text-muted);
      padding: 0 1.5rem;
    }
    .faq-item.open .faq-answer {
      max-height: 200px;
      padding: 0 1.5rem 1.4rem;
    }

    /* Guide section */
    #guide {
      position: relative;
      z-index: 2;
      padding-bottom: 8rem;
    }
    #guide::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: -13rem;
      height: 30rem;
      z-index: 0;
      pointer-events: none;
      background:
        radial-gradient(ellipse 90% 58% at 50% 34%, rgba(10, 55, 82, 0.24) 0%, transparent 72%),
        linear-gradient(180deg, rgba(10, 55, 82, 0) 0%, rgba(10, 55, 82, 0.12) 28%, rgba(7, 31, 50, 0.3) 55%, rgba(5, 10, 16, 0) 100%);
    }
    #guide .container {
      position: relative;
      z-index: 1;
    }
    .guide-panel {
      border-radius: var(--radius);
      padding: 3.5rem 2rem;
      text-align: center;
      max-width: 700px;
      margin: 0 auto;
    }
    .guide-panel .section-label { justify-content: center; }

    /* Footer */
    footer {
      margin-top: -12rem;
      border-top: 0;
      padding: 15rem 0 2rem;
      background: transparent;
      position: relative;
      overflow: visible;
    }
    footer::before {
      content: '';
      position: absolute;
      inset: -18rem 0 0;
      z-index: 0;
      pointer-events: none;
      background:
        radial-gradient(ellipse 72% 46% at 45% 24%, rgba(42, 67, 110, 0.18) 0%, transparent 70%),
        linear-gradient(180deg,
          rgba(5, 10, 16, 0) 0%,
          rgba(5, 10, 16, 0) 42%,
          rgba(4, 10, 17, 0.32) 62%,
          rgba(3, 7, 12, 0.76) 82%,
          rgba(0, 0, 0, 0.94) 100%);
    }
    footer .container {
      position: relative;
      z-index: 1;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 3rem;
      margin-bottom: 2.5rem;
    }
    .footer-brand .logo { margin-bottom: 1rem; }
    .footer-brand .logo img { height: 80px; }
    .footer-brand p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
    .footer-col h4 {
      color: var(--teal);
      font-size: 0.8rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 1rem;
    }
    .footer-col a {
      display: block;
      margin-bottom: 0.5rem;
      font-size: 0.9rem;
      color: var(--text-muted);
      transition: all var(--transition);
    }
    .footer-col a:hover { color: var(--teal-glow); }
    .footer-bottom {
      border-top: 1px solid rgba(0, 154, 153, 0.1);
      padding-top: 1.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
      font-size: 0.82rem;
      color: var(--text-muted);
    }

    /* Reveal */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }

    /* Responsive */
    @media (max-width: 968px) {
      .hero-content { max-width: 100%; text-align: center; }
      .hero-sub { margin-left: auto; margin-right: auto; }
      .hero-cta { justify-content: center; }
      .hero-badges { justify-content: center; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .split, .program-grid { grid-template-columns: 1fr; gap: 2.5rem; }
      .split.reverse .split-content, .split.reverse .split-media { order: unset; }
      .testimonial-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .warning-cards { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      .ocean-scene {
        background:
          radial-gradient(ellipse 150% 68% at 48% 18%, rgba(20, 86, 122, 0.26) 0%, rgba(20, 86, 122, 0.08) 45%, transparent 78%),
          radial-gradient(ellipse 120% 58% at 18% 58%, rgba(0, 154, 153, 0.08) 0%, transparent 70%),
          linear-gradient(180deg, #07111c 0%, #092034 30%, #0a3044 52%, #071827 76%, #040910 100%);
      }
      .ocean-scene::before {
        background:
          radial-gradient(ellipse 110% 56% at 52% 18%, rgba(58, 128, 162, 0.18) 0%, rgba(58, 128, 162, 0.06) 46%, transparent 76%),
          radial-gradient(ellipse 95% 58% at 82% 62%, rgba(42, 67, 110, 0.2) 0%, transparent 72%),
          linear-gradient(180deg, rgba(8, 38, 60, 0.28) 0%, rgba(7, 26, 45, 0.34) 48%, rgba(3, 9, 17, 0.58) 100%);
      }
      .top-bar {
        padding: 0.42rem 0;
      }
      .top-bar .container {
        justify-content: center;
      }
      .top-contact {
        justify-content: center;
        gap: 0.5rem;
      }
      .contact-link {
        padding: 0.34rem 0.62rem;
        font-size: 0.78rem;
      }
      .top-social {
        display: none;
      }
      .nav-inner {
        justify-content: center;
        padding: 0.7rem 0;
        position: relative;
      }
      .logo img {
        height: 64px;
      }
      .menu-toggle { display: block; }
      .nav-inner .menu-toggle {
        position: absolute;
        right: 0;
      }
      .nav-links {
        position: fixed;
        top: 0; right: 0;
        width: 82%; max-width: 320px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform var(--transition);
        border-left: 1px solid rgba(0, 154, 153, 0.2);
        z-index: 1200;
        visibility: hidden;
        pointer-events: none;
      }
      .nav-links.open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
      }
      .menu-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(0, 154, 153, 0.35);
        border-radius: 50%;
        background: rgba(8, 22, 34, 0.96);
        color: var(--foam);
        cursor: pointer;
      }
      .menu-close span,
      .menu-close span::before {
        content: '';
        position: absolute;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
      }
      .menu-close span {
        transform: rotate(45deg);
      }
      .menu-close span::before {
        left: 0;
        top: 0;
        transform: rotate(90deg);
      }
      .nav-backdrop {
        position: fixed;
        inset: 0;
        display: block;
        background: rgba(5, 10, 16, 0.56);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition);
        z-index: 1190;
      }
      .nav-backdrop.open {
        opacity: 1;
        pointer-events: auto;
      }
      body.yachttrain-menu-open {
        overflow: hidden;
      }
      .hero { min-height: 88vh; }
      .hero-content { padding: 4rem 0 5rem; }
      .hero-sub { max-width: 32ch; line-height: 1.62; }
      .hero-badges { flex-direction: column; align-items: center; }
      section { padding: 4rem 0; }
      #testimonials,
      .partnership,
      #faq,
      #guide,
      .cta,
      footer {
        background:
          radial-gradient(ellipse 150% 42% at 50% 18%, rgba(10, 55, 82, 0.2) 0%, rgba(10, 55, 82, 0) 72%),
          linear-gradient(180deg, rgba(5, 10, 16, 0.02), rgba(5, 10, 16, 0.02));
      }
      #guide {
        padding-bottom: 11rem;
      }
      #guide::after {
        bottom: -19rem;
        height: 40rem;
        background:
          radial-gradient(ellipse 150% 52% at 50% 36%, rgba(10, 55, 82, 0.22) 0%, transparent 72%),
          linear-gradient(180deg, rgba(10, 55, 82, 0) 0%, rgba(10, 55, 82, 0.1) 28%, rgba(7, 31, 50, 0.24) 54%, rgba(5, 10, 16, 0) 100%);
      }
      .cta {
        margin-top: -9rem;
        padding-top: 14rem;
        padding-bottom: 10rem;
        z-index: 3;
        background:
          radial-gradient(ellipse 150% 42% at 50% 18%, rgba(10, 55, 82, 0.2) 0%, rgba(10, 55, 82, 0) 72%),
          linear-gradient(180deg, rgba(5, 14, 24, 0) 0%, rgba(5, 14, 24, 0.24) 58%, rgba(5, 14, 24, 0.94) 100%);
      }
      .cta-bg {
        inset: -22rem 0 -22rem;
        background:
          linear-gradient(180deg,
            rgba(10, 55, 82, 0) 0%,
            rgba(10, 55, 82, 0.08) 22%,
            rgba(7, 31, 50, 0.26) 48%,
            rgba(5, 10, 16, 0.46) 72%,
            rgba(5, 10, 16, 0.1) 100%),
          radial-gradient(ellipse 140% 52% at 50% 44%, rgba(42, 67, 110, 0.28) 0%, transparent 76%);
      }
      .cta::after {
        bottom: -16rem;
        height: 30rem;
        background: linear-gradient(180deg, rgba(5, 14, 24, 0) 0%, rgba(5, 14, 24, 0.28) 42%, rgba(5, 14, 24, 0.94) 76%, rgba(5, 14, 24, 0.94) 100%);
      }
      footer {
        z-index: 1;
        margin-top: -6rem;
        padding-top: 11rem;
        background:
          linear-gradient(180deg, rgba(5, 14, 24, 0.94) 0%, rgba(5, 14, 24, 0.94) 14%, rgba(4, 10, 17, 0.97) 58%, rgba(0, 0, 0, 0.98) 100%);
      }
      footer::before {
        inset: 0;
        background:
          radial-gradient(ellipse 130% 42% at 50% 16%, rgba(42, 67, 110, 0.1) 0%, transparent 78%),
          linear-gradient(180deg, rgba(0, 154, 153, 0.018) 0%, rgba(0, 154, 153, 0.01) 48%, rgba(0, 154, 153, 0) 100%);
      }
      .training-thumbs { grid-template-columns: 1fr; }
    }
    @media (max-width: 520px) {
      .contact-link span {
        display: none;
      }
      .logo img {
        height: 60px;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      .hero-video { display: none; }
      .hero-bg { animation: none; }
      .bubbles { display: none; }
      .caustics,
      .light-rays,
      .hero-eyebrow::before {
        animation: none;
      }
    }
