/* ═══════════════════════════════════════════════════════════════
   ROYAL YACHTS LATAM — v6 minimal premium
   Inspired by: Sanlorenzo, Wally, Riva contemporary
   Fairline CI compliant: Anthracite #3c3c3c, Blush #f39f7c
   ═══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Circular Std";
  src: url("fonts/CircularStd-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Circular Std";
  src: url("fonts/CircularStd-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Circular Std";
  src: url("fonts/CircularStd-Book.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color: Fairline CI — Anthracite + Blush + Navy */
  --paper:        oklch(100% 0 0);
  --paper-2:      oklch(97.2% 0.006 60);     /* warm off-white, Light Sand */
  --paper-3:      oklch(93.8% 0.009 60);
  --ink:          oklch(32% 0 0);            /* Fairline Anthracite */
  --ink-soft:     oklch(42% 0 0);
  --ink-mute:     oklch(58% 0 0);
  --accent:       oklch(20% 0.06 252);       /* azul marino Royal/Fairline */
  --accent-light: oklch(32% 0.09 252);
  --blush:        oklch(72% 0.13 75);        /* Champagne — teca/dorado náutico */
  --line:         oklch(32% 0 0 / 0.10);
  --line-soft:    oklch(32% 0 0 / 0.05);
  --line-light:   oklch(100% 0 0 / 0.18);

  --font-sans: "Circular Std", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1440px;
  --gutter: 40px;
  --gutter-sm: 20px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:  cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  cursor: none;
}
@media (pointer: coarse) { body { cursor: auto; } }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; font-size: inherit; color: inherit; cursor: none; border: none; background: none; padding: 0; }

/* ═══════════════════════════════════════════════════════════════
   LOADER
   ═══════════════════════════════════════════════════════════════ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #00182D;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.0s var(--ease-io), visibility 1.0s;
}
.loader.is-leaving { opacity: 0; visibility: hidden; }

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  width: min(420px, 80vw);
}
.loader-mark {
  display: flex;
  align-items: center;
  gap: 16px;
}
.loader-mark-icon {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.loader-mark-text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}
.loader-mark-text strong {
  display: block;
  color: var(--paper);
  font-weight: 400;
  font-size: 0.9rem;
}
.loader-bar {
  position: relative;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}
.loader-bar-fill {
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.18s linear;
}
.loader-meta {
  display: flex;
  width: 100%;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.loader-percent { color: var(--paper); }

/* ═══════════════════════════════════════════════════════════════
   CURSOR
   ═══════════════════════════════════════════════════════════════ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  mix-blend-mode: exclusion;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
  will-change: transform;
}
.cursor.is-hover { width: 24px; height: 24px; }
.cursor.is-view {
  width: 96px; height: 96px;
  mix-blend-mode: exclusion;
  border: none;
  background: rgba(255,255,255,0.85);
}
/* Hide custom cursor inside dropdowns and form inputs */
.nav-sub:hover ~ * .cursor,
.nav-sub:hover .cursor { opacity: 0; }
.nav-item:hover .nav-sub { cursor: default; }
.nav-sub a, .nav-sub li { cursor: pointer; }
.form-input, .form-textarea, .form-select { cursor: text; }
.cursor-label {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
}
.cursor.is-view .cursor-label { opacity: 1; }
@media (pointer: coarse) { .cursor { display: none; } }

/* ═══════════════════════════════════════════════════════════════
   PAGE TRANSITION
   ═══════════════════════════════════════════════════════════════ */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 990;
  pointer-events: none;
  visibility: hidden;
  background: #00182D;
  transform: translateY(100%);
  transition: transform 0.65s var(--ease-io);
}
.page-transition.is-active {
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY — Manrope-first
   ═══════════════════════════════════════════════════════════════ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.eyebrow-accent { color: var(--accent); }
.eyebrow-light { color: rgba(255,255,255,0.85); }

.h-mega {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: clamp(3rem, 8vw, 10rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.h-display {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.h-large {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
}
.h-medium {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.018em;
}

.text-mute  { color: var(--ink-mute); }
.text-soft  { color: var(--ink-soft); }
.text-paper { color: var(--paper); }

.lead {
  font-weight: 300;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
}
.body-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (max-width: 768px) {
  .container { padding: 0 var(--gutter-sm); }
}

.bg-paper { background: var(--paper); }
.bg-paper-2 { background: var(--paper-2); }
.bg-ink { background: #00182D; color: var(--paper); }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION — top inline + dropdown submenus + drawer mobile
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 20px 0;
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  border-bottom-color: var(--line-soft);
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 3.5vw, 56px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  height: 52px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.4s;
}
.nav.is-solid .brand-logo { filter: none; }

.brand-dark { display: none; }
.brand-icon {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.4s;
}
.nav.is-solid .brand-icon { filter: brightness(0); }

.brand-mark {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--paper);
  letter-spacing: -0.04em;
  transition: color 0.4s;
}
.nav.is-solid .brand-mark { color: var(--ink); }

.brand-text { line-height: 1; }
.brand-name {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--paper);
  transition: color 0.4s;
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 5px;
  transition: color 0.4s;
}
.nav.is-solid .brand-name { color: var(--ink); }
.nav.is-solid .brand-tag  { color: var(--ink-mute); }

.footer-brand-logo {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 28px;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.8vw, 44px);
}
.nav-item { position: relative; }
.nav-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--paper);
  transition: width 0.4s var(--ease-out);
}
.nav-link:hover, .nav-link.is-active { color: var(--paper); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }

.nav.is-solid .nav-link { color: var(--ink-mute); }
.nav.is-solid .nav-link:hover, .nav.is-solid .nav-link.is-active { color: var(--ink); }
.nav.is-solid .nav-link::after { background: var(--ink); }

.nav-link-arrow {
  display: inline-block;
  transition: transform 0.3s;
  font-size: 0.5rem;
  margin-top: 1px;
}
.nav-item:hover .nav-link-arrow { transform: rotate(180deg); }

/* Submenu dropdown */
.nav-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  padding: 14px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s var(--ease-out);
  list-style: none;
  margin: 0;
  pointer-events: none;
  box-shadow: 0 24px 48px rgba(10,10,11,0.08);
}
.nav-item:hover .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
/* Force close non-hovered submenus when another nav-item is hovered */
.nav-menu:hover .nav-item:not(:hover) .nav-sub {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition-delay: 0s !important;
}
.nav-sub li a {
  display: flex;
  justify-content: space-between;
  padding: 10px 22px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink);
  transition: background 0.2s, padding-left 0.3s;
}
.nav-sub li a:hover {
  background: var(--paper-2);
  padding-left: 30px;
}
.nav-sub li a span.aux {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ink-mute);
  letter-spacing: 0.18em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang-toggle {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  padding: 9px 16px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 500;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  min-width: 44px;
  text-align: center;
}
.lang-toggle:hover {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
  transform: translateY(-1px);
}
.nav.is-solid .lang-toggle {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
  backdrop-filter: none;
}
.nav.is-solid .lang-toggle:hover {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.nav-cta {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--paper);
  padding: 12px 24px;
  border: 1px solid var(--paper);
  transition: all 0.3s;
}
.nav-cta:hover { background: var(--paper); color: var(--ink); }
.nav.is-solid .nav-cta { color: var(--ink); border-color: var(--ink); }
.nav.is-solid .nav-cta:hover { background: var(--ink); color: var(--paper); }

/* Phone in nav */
.nav-phone {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.80);
  white-space: nowrap;
  transition: color 0.3s;
}
.nav-phone:hover { color: var(--paper); }
.nav.is-solid .nav-phone { color: var(--ink-mute); }
.nav.is-solid .nav-phone:hover { color: var(--ink); }
@media (max-width: 1200px) { .nav-phone { display: none; } }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 1px;
  background: var(--paper);
  transition: background 0.3s;
}
.nav.is-solid .nav-toggle span { background: var(--ink); }

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .nav-actions .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ═══════════════════════════════════════════════════════════════
   DRAWER MOBILE
   ═══════════════════════════════════════════════════════════════ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  visibility: hidden;
  background: #00182D;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.drawer.is-open {
  pointer-events: all;
  visibility: visible;
  opacity: 1;
}
.drawer-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 100px var(--gutter) 60px;
}
.drawer-close {
  align-self: flex-end;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper);
}
.drawer-nav { list-style: none; padding: 0; margin: 60px 0 auto; }
.drawer-nav li { border-top: 1px solid rgba(255,255,255,0.1); }
.drawer-nav li:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
.drawer-nav a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 26px 0;
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  color: var(--paper);
  transition: padding-left 0.3s var(--ease-out);
}
.drawer-nav a:hover { padding-left: 16px; }
.drawer-nav .num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.5);
}
.drawer-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  padding: 18px 30px;
  transition: all 0.4s var(--ease-out);
  position: relative;
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--accent); }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-line-light { background: transparent; color: var(--paper); border: 1px solid rgba(255,255,255,0.6); }
.btn-line-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  transition: gap 0.4s var(--ease-out), color 0.3s, border-color 0.3s;
}
.link-arrow::after { content: "→"; font-size: 0.85rem; }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); gap: 24px; }
.link-arrow.on-dark { color: var(--paper); border-color: rgba(255,255,255,0.5); }
.link-arrow.on-dark:hover { color: var(--paper); border-color: var(--paper); }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: var(--ink);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}
img.hero-img {
  inset: -3%;
  width: 106%;
  height: 106%;
  transform: scale(1.05);
  animation: heroDrift 22s ease-out forwards;
}
video.hero-img {
  /* video sin animación de zoom — el video ya tiene movimiento */
}
@keyframes heroDrift { to { transform: scale(1.0); } }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,24,45,0.55) 0%, rgba(0,24,45,0.18) 35%, rgba(0,24,45,0.55) 75%, rgba(0,24,45,0.92) 100%),
    linear-gradient(90deg, rgba(0,24,45,0.35) 0%, rgba(0,24,45,0) 55%);
}
.hero-h1 { text-shadow: 0 2px 28px rgba(0,0,0,0.35); }
.hero-sub { text-shadow: 0 1px 18px rgba(0,0,0,0.4); }
.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 clamp(56px, 7vh, 96px);
}

.hero-meta {
  position: absolute;
  top: 110px; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.hero-meta a { color: inherit; }

.hero-h1 {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: clamp(2.6rem, 6.5vw, 8rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--paper);
  max-width: 16ch;
  margin: 0 0 28px;
}
.hero-sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 38ch;
  margin: 0 0 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}

.scroll-cue {
  position: absolute;
  bottom: 38px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.scroll-cue .line {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform: translateY(-100%);
  animation: scrollFlow 2.6s var(--ease-io) infinite;
}
@keyframes scrollFlow {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS — generous, breathing
   ═══════════════════════════════════════════════════════════════ */
.section { padding: 140px 0; position: relative; }
.section-tight { padding: 80px 0; }
@media (max-width: 1280px) {
  .section { padding: 100px 0; }
  .section-tight { padding: 60px 0; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 44px 0; }
}

.section-num {
  position: absolute;
  top: 48px; left: var(--gutter);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.section-num.on-dark { color: rgba(255,255,255,0.55); }

/* ═══════════════════════════════════════════════════════════════
   FULL BLEED
   ═══════════════════════════════════════════════════════════════ */
.full-bleed {
  position: relative;
  height: 95vh;
  min-height: 600px;
  overflow: hidden;
}
.full-bleed > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.full-bleed-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,24,45,0.35) 0%, rgba(0,24,45,0.0) 35%, rgba(0,24,45,0.65) 100%);
}
.full-bleed-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

/* ═══════════════════════════════════════════════════════════════
   YACHT CARDS
   ═══════════════════════════════════════════════════════════════ */
.yacht-card { display: flex; flex-direction: column; }
.yacht-card-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--paper-3);
  position: relative;
  margin-bottom: 28px;
}
.yacht-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.yacht-card:hover .yacht-card-img img { transform: scale(1.04); }

.yacht-card-meta {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.yacht-card-name {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
}
.yacht-card-name .len {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  font-weight: 400;
}
.yacht-card-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-mute);
  margin: 0 0 22px;
  max-width: 36ch;
}

/* ═══════════════════════════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════════════════════════ */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.72rem;
  line-height: 1;
  color: var(--ink-soft);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  animation: marqueeSlide 60s linear infinite;
}
.marquee-track .dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 8px;
  vertical-align: middle;
  opacity: 0.6;
}
@keyframes marqueeSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════════════════════ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 40px 28px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 14px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════════
   SPEC TABLE
   ═══════════════════════════════════════════════════════════════ */
.spec-table { border-top: 1px solid var(--ink); }
.spec-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.spec-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.spec-value {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════════
   FORM
   ═══════════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 40px; }
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.04rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-mute); opacity: 0.5; }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-bottom-color: var(--ink); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M0 0l6 8 6-8z' fill='%230A0A0B'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
}
.form-check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: all 0.3s;
}
.form-check:hover { border-color: var(--ink); color: var(--ink); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: #00182D;
  color: var(--paper);
  padding: clamp(60px, 8vw, 110px) 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}
.footer-brand-col { grid-column: span 4; }
.footer-col { grid-column: span 2; }
.footer-contact-col { grid-column: span 4; }
@media (max-width: 1024px) {
  .footer-brand-col { grid-column: span 12; margin-bottom: 24px; }
  .footer-col { grid-column: span 6; }
  .footer-contact-col { grid-column: span 12; margin-top: 24px; }
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0 0 26px;
  font-weight: 400;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 12px; font-size: 0.95rem; color: rgba(255,255,255,0.85); font-weight: 300; }
.footer li a { transition: color 0.3s; }
.footer li a:hover { color: var(--paper); }

.footer-line {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ═══════════════════════════════════════════════════════════════
   REVEALS
   ═══════════════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.0s var(--ease-out), transform 1.0s var(--ease-out);
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.22s; }
[data-reveal-delay="3"] { transition-delay: 0.34s; }
[data-reveal-delay="4"] { transition-delay: 0.46s; }

.is-loaded [data-hero-reveal] { opacity: 1; transform: translateY(0); }
[data-hero-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}
[data-hero-reveal][data-delay="1"] { transition-delay: 0.15s; }
[data-hero-reveal][data-delay="2"] { transition-delay: 0.32s; }
[data-hero-reveal][data-delay="3"] { transition-delay: 0.5s; }
[data-hero-reveal][data-delay="4"] { transition-delay: 0.68s; }

/* ═══════════════════════════════════════════════════════════════
   UTILS
   ═══════════════════════════════════════════════════════════════ */
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px; }
@media (max-width: 1024px) { .grid-12 { gap: 24px; } }
@media (max-width: 768px) { .grid-12 { grid-template-columns: 1fr !important; } .grid-12 > * { grid-column: 1 / -1 !important; } }
.text-center { text-align: center; }
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform 1.6s var(--ease-out); }
.img-zoom:hover img { transform: scale(1.04); }

/* ═══════════════════════════════════════════════════════════════
   YACHT CARD HOVER SWAP (alterna ángulos)
   ═══════════════════════════════════════════════════════════════ */
.yacht-card-img { position: relative; }
.yacht-card-img .alt {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s var(--ease-out);
}
.yacht-card:hover .yacht-card-img .alt { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   ACCENT SYSTEM — Fairline Blush + Circular Std italic
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bronze:       #f39f7c;   /* aliased to Blush */
  --bronze-light: #f7bea3;   /* lighter Blush */
  --serif:        "Circular Std", -apple-system, sans-serif;
}
.eyebrow-bronze { color: var(--blush); }
.eyebrow-accent { color: var(--accent); }
.eyebrow-light  { color: rgba(242, 237, 227, 0.6); }
.serif          { font-family: var(--font-sans); }
.serif-i        { font-family: var(--font-sans); font-style: italic; font-weight: 400; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER MONOGRAM
   ═══════════════════════════════════════════════════════════════ */
.footer-monogram {
  position: absolute;
  left: -20px;
  top: 40px;
  font-family: var(--font-sans);
  font-size: clamp(120px, 20vw, 280px);
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.05em;
}
.footer { position: relative; overflow: hidden; }
.bg-paper-deep  { background: var(--paper-3); }

/* tag-badge: mono pill with dash leader */
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: inherit;
}
.tag-badge > span:first-child {
  display: inline-block;
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   FILTER TABS
   ═══════════════════════════════════════════════════════════════ */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 80px;
  padding: 0 0 24px;
}
.filter-tab {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 10px 0;
  position: relative;
  transition: color 0.3s;
}
.filter-tab::after {
  content: "";
  position: absolute;
  bottom: -25px; left: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width 0.4s var(--ease-out);
}
.filter-tab:hover, .filter-tab.is-active {
  color: var(--ink);
}
.filter-tab.is-active::after { width: 100%; }
.filter-tab .count {
  font-size: 0.55rem;
  color: var(--ink-mute);
  margin-left: 6px;
  letter-spacing: 0.2em;
}

/* Hide cards that don't match filter */
.yacht-card[data-hidden="true"] {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════
   BROCHURE / CINEMA BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  padding: 16px 24px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  transition: all 0.3s;
}
.icon-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.icon-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════
   PRE-OWNED INVENTORY CARDS
   ═══════════════════════════════════════════════════════════════ */
.inv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
@media (max-width: 1024px) { .inv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .inv-grid { grid-template-columns: 1fr; } }
.inv-card {
  display: flex;
  flex-direction: column;
}
.inv-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--paper-2);
  margin-bottom: 22px;
}
.inv-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.inv-card:hover .inv-card-img img { transform: scale(1.04); }
.inv-card-meta {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.inv-card-name {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 14px;
}
.inv-card-stats {
  display: flex;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.inv-card-price {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--ink);
}
.inv-card-cta {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   CONFIGURADOR (color/layout swap)
   ═══════════════════════════════════════════════════════════════ */
.config-block {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  align-items: start;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.config-image-wrap {
  grid-column: span 7;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--paper-2);
}
.config-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}
.config-image.is-active { opacity: 1; }
/* Color filters to simulate hull options on the same base photo */
.config-image[data-hull="white"]    { filter: none; }
.config-image[data-hull="graphite"] { filter: grayscale(0.85) contrast(1.05) brightness(0.78); }
.config-image[data-hull="atlantic"] { filter: brightness(0.62) saturate(1.6) hue-rotate(195deg) contrast(1.18); }

/* Preview disclaimer */
.config-disclaimer {
  position: absolute;
  bottom: 16px; right: 16px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.45);
  padding: 6px 12px;
  backdrop-filter: blur(6px);
  z-index: 5;
}

.config-controls {
  grid-column: span 5;
}
.config-group { margin-bottom: 40px; }
.config-group-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.config-options {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.config-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.config-swatch-disc {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: all 0.3s;
}
.config-swatch.is-active .config-swatch-disc {
  border: 2px solid var(--ink);
  transform: scale(1.1);
}
.config-swatch-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.config-swatch.is-active .config-swatch-label { color: var(--ink); }

.config-layout-btn {
  padding: 14px 22px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: all 0.3s;
  background: transparent;
}
.config-layout-btn.is-active, .config-layout-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

@media (max-width: 768px) {
  .config-image-wrap, .config-controls { grid-column: span 12; }
}

/* ═══════════════════════════════════════════════════════════════
   CINEMA MODE OVERLAY
   ═══════════════════════════════════════════════════════════════ */
.cinema-overlay {
  position: fixed;
  inset: 0;
  z-index: 980;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.cinema-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.cinema-overlay video {
  max-width: 100%;
  max-height: 100%;
}
/* Hide native controls in cinema mode */
.cinema-overlay video::-webkit-media-controls-panel,
.cinema-overlay video::-webkit-media-controls-play-button,
.cinema-overlay video::-webkit-media-controls-volume-slider,
.cinema-overlay video::-webkit-media-controls-mute-button,
.cinema-overlay video::-webkit-media-controls-timeline,
.cinema-overlay video::-webkit-media-controls-current-time-display,
.cinema-overlay video::-webkit-media-controls-time-remaining-display,
.cinema-overlay video::-webkit-media-controls-fullscreen-button,
.cinema-overlay video::-webkit-media-controls-toggle-closed-captions-button {
  display: none !important;
  -webkit-appearance: none;
}
.cinema-overlay video::-webkit-media-controls { display: none !important; }
.cinema-overlay video { pointer-events: none; }
.cinema-close {
  position: absolute;
  top: 32px; right: 32px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper);
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.4);
}

/* Hero video / fallback — fix mobile autoplay */
.hero .hero-img-fallback { display: none; }
@media (max-width: 768px) {
  .hero .hero-video { display: none !important; }
  .hero .hero-img-fallback { display: block; }
}
/* Si el navegador no puede reproducir, también mostrar fallback */
.hero .hero-video:not([data-loaded]) + .hero-img-fallback { opacity: 0.001; }

/* ═══════════════════════════════════════════════════════════════
   MOBILE — Contact pillars fix
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .contact-pillars {
    grid-template-columns: 1fr !important;
  }
  .contact-pillars a {
    padding: 32px 24px !important;
  }
  .contact-pillars .contact-value {
    font-size: 1.6rem !important;
    word-break: normal !important;
  }
}
