/* =========================================================
   CENTER OF THE SEAS — Design System
   Light minimalism + sea-wave accent
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Colors */
  --c-bg: #FFFFFF;
  --c-bg-soft: #F6F4EE;          /* cream sand */
  --c-bg-deep: #E9E4D7;          /* darker cream for sections */
  --c-ink: #0A1F2E;              /* deep navy text */
  --c-ink-soft: #4A5C6A;
  --c-line: #E4DFD3;
  --c-accent: #0B6E7F;           /* deep teal — sea wave */
  --c-accent-2: #149AAE;         /* lighter teal hover */
  --c-accent-soft: #E6F2F4;
  --c-gold: #B89B5E;             /* subtle gold for premium */
  --c-white: #FFFFFF;

  /* Typography */
  --f-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing & layout */
  --max-w: 1280px;
  --pad-x: clamp(28px, 5vw, 48px);
  --radius: 4px;
  --shadow-sm: 0 2px 12px rgba(10, 31, 46, 0.06);
  --shadow-md: 0 10px 40px rgba(10, 31, 46, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 31, 46, 0.12);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

/* Accessibility — visible keyboard focus everywhere */
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible { outline-offset: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 12px;
  background: var(--c-ink); color: var(--c-white);
  padding: 10px 18px; font-size: 0.85rem; letter-spacing: 0.08em;
  text-transform: uppercase; z-index: 200;
}
.skip-link:focus { left: 12px; outline: 2px solid var(--c-accent); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
h1, h2, h3, h4, h5 { font-family: var(--f-display); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
h4 { font-size: 1.4rem; }
p  { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--soft { background: var(--c-bg-soft); }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-body);
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--c-accent); font-weight: 500;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--c-accent);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; font-size: 0.875rem; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 500;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Sliding shine overlay — diagonal highlight sweeps across on hover */
.btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -130%;
  width: 50%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.28) 45%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.28) 55%, transparent 100%);
  transform: skewX(-22deg);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}
.btn:hover::after { animation: btn-shine 1.6s ease-in-out infinite; }
.btn > * { position: relative; z-index: 2; }
.btn--light::after {
  background: linear-gradient(115deg, transparent 0%, rgba(11,110,127,0.18) 45%, rgba(11,110,127,0.28) 50%, rgba(11,110,127,0.18) 55%, transparent 100%);
  mix-blend-mode: multiply;
}
.btn--ghost::after {
  background: linear-gradient(115deg, transparent 0%, rgba(11,110,127,0.2) 45%, rgba(11,110,127,0.3) 50%, rgba(11,110,127,0.2) 55%, transparent 100%);
  mix-blend-mode: normal;
}

@keyframes btn-shine {
  0%   { left: -130%; }
  55%  { left: 140%; }
  100% { left: 140%; }
}
.btn--primary {
  background-image: linear-gradient(110deg, var(--c-accent) 0%, var(--c-accent-2) 50%, var(--c-accent) 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: var(--c-white);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(11, 110, 127, 0.35);
  animation: btn-shimmer 2.8s linear infinite;
}

.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn--ghost:hover {
  background-image: linear-gradient(110deg, var(--c-ink) 0%, var(--c-accent) 50%, var(--c-ink) 100%);
  background-size: 220% 100%;
  color: var(--c-white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  animation: btn-shimmer 2.8s linear infinite;
}

.btn--light {
  background-image: linear-gradient(110deg, var(--c-white) 0%, var(--c-accent-soft) 50%, var(--c-white) 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: var(--c-ink);
}
.btn--light:hover {
  color: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(10, 31, 46, 0.18);
  animation: btn-shimmer 2.8s linear infinite;
}

.btn svg { width: 16px; height: 16px; }

@keyframes btn-shimmer {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* Link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500; color: var(--c-ink);
  padding-bottom: 4px; border-bottom: 1px solid var(--c-ink);
  transition: all .3s var(--ease);
}
.link-arrow:hover { color: var(--c-accent); border-color: var(--c-accent); gap: 14px; }

/* ---------- Top bar (tiny info strip) ---------- */
.topbar {
  background: var(--c-ink); color: rgba(255,255,255,0.78);
  font-size: 0.8125rem;
}
.topbar__row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: nowrap;
  min-height: 38px;
}
.topbar__left, .topbar__right {
  display: flex; align-items: center;
  gap: 0; flex-wrap: nowrap; min-width: 0;
}
.topbar__item {
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  padding: 9px 0;
  transition: color .2s var(--ease);
}
/* Subtle dividers between siblings via padding + border on next */
.topbar__left  > * + * { margin-left: 22px; position: relative; }
.topbar__right > * + * { margin-left: 22px; position: relative; }
.topbar__left  > * + *::before,
.topbar__right > * + *::before {
  content: ""; position: absolute; left: -11px; top: 28%; bottom: 28%;
  width: 1px; background: rgba(255,255,255,0.12);
}
a.topbar__item:hover { color: var(--c-white); }
.topbar svg { width: 14px; height: 14px; opacity: 0.6; flex-shrink: 0; }
a.topbar__item:hover svg { opacity: 1; color: var(--c-accent-2); }

/* Lang switch */
.lang-switch { display: inline-flex; gap: 0; border: 1px solid rgba(255,255,255,0.18); }
.lang-switch button {
  padding: 4px 10px; font-size: 0.75rem; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75); transition: all .25s;
}
.lang-switch button.is-active { background: var(--c-accent); color: var(--c-white); }
.lang-switch button:hover:not(.is-active) { color: var(--c-white); background: rgba(255,255,255,0.06); }

/* Responsive: progressively hide secondary topbar items as space shrinks */
@media (max-width: 1180px) { .topbar__item--mail { display: none; } }
@media (max-width: 980px)  { .topbar__item--loc  { display: none; } }
@media (max-width: 760px)  { .topbar__item--hours { display: none; } }
@media (max-width: 560px)  { .topbar__item--wa   { display: none; } .topbar__item { padding: 8px 10px; } }

/* ---------- Header / Navigation ---------- */
/* Sticky wrapper — keeps both topbar and site-header glued together to viewport top */
[data-partial="header"] {
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 6px 28px rgba(10, 31, 46, 0.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
  gap: 24px;
}

/* Logo — pennant image + wordmark */
.nav__logo {
  display: inline-flex; align-items: center; gap: 14px;
  line-height: 1; flex-shrink: 0;
}
.nav__logo img {
  height: 58px; width: auto; display: block;
  transition: height .3s var(--ease);
}
.site-header.is-scrolled .nav__logo img { height: 48px; }
.nav__logo-text { display: inline-flex; flex-direction: column; gap: 4px; }
.nav__logo-text strong {
  font-family: var(--f-display); font-size: 1.65rem;
  letter-spacing: 0.005em; color: var(--c-ink); font-weight: 600;
  line-height: 1;
}
.nav__logo-text em {
  font-style: normal;
  font-family: var(--f-body); font-size: 0.62rem;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--c-accent); font-weight: 500;
}

.nav__menu {
  display: flex; gap: 2px; list-style: none; margin: 0; padding: 0;
  flex-wrap: nowrap;
}
.nav__menu a {
  padding: 10px 12px; font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.02em; position: relative; white-space: nowrap;
  color: var(--c-ink);
}
.nav__menu a:hover { color: var(--c-accent); }
.nav__menu a::after {
  content: ""; position: absolute; bottom: 4px; left: 12px; right: 12px;
  height: 1px; background: var(--c-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__menu a:hover::after, .nav__menu a.is-active::after { transform: scaleX(1); }
.nav__menu a.is-active { color: var(--c-accent); }

.nav__cta { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__cta .btn { padding: 12px 22px; font-size: 0.8rem; }
.nav__burger {
  display: none; width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav__burger span {
  width: 22px; height: 1.5px; background: var(--c-ink);
  transition: all .3s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__backdrop {
  position: fixed; inset: 0; background: rgba(10, 31, 46, 0.4);
  z-index: 115; opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.nav__backdrop.is-visible { opacity: 1; pointer-events: auto; }

/* Tighter nav at medium widths to avoid overflow */
@media (max-width: 1280px) {
  .nav__menu a { padding: 10px 10px; font-size: 0.82rem; }
  .nav__logo-text strong { font-size: 1.35rem; }
  .nav__logo-text em    { font-size: 0.56rem; letter-spacing: 0.22em; }
}

/* ---------- Hero Slider ---------- */
.hero { position: relative; height: clamp(380px, 56vh, 520px); overflow: hidden; background: var(--c-ink); }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.2s var(--ease);
  pointer-events: none;
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; }
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.08); transition: transform 8s ease-out;
}
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,46,0.25) 0%, rgba(10,31,46,0.55) 60%, rgba(10,31,46,0.75) 100%);
}
.hero__inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding-top: clamp(40px, 6vh, 72px);
  color: var(--c-white);
}
@media (max-width: 720px) {
  .hero__inner    { padding-top: 16px; }
  .hero__eyebrow  { margin-bottom: 10px; }
  .hero__title    { margin-bottom: 12px; }
  .hero__sub      { margin-bottom: 22px; }
}
.hero__eyebrow {
  font-size: 0.75rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--c-accent-soft); margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 14px;
  opacity: 0; transform: translateY(20px);
  transition: all .8s var(--ease) .3s;
}
.hero__eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--c-accent-soft); }
.hero__slide.is-active .hero__eyebrow { opacity: 1; transform: translateY(0); }

.hero__title {
  font-size: clamp(2.5rem, 6.5vw, 5rem); max-width: 900px;
  margin-bottom: 18px; color: var(--c-white);
  opacity: 0; transform: translateY(30px);
  transition: all .9s var(--ease) .45s;
}
.hero__slide.is-active .hero__title { opacity: 1; transform: translateY(0); }

.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.25rem); max-width: 580px;
  color: rgba(255,255,255,0.85); margin-bottom: 38px; line-height: 1.5;
  opacity: 0; transform: translateY(30px);
  transition: all .9s var(--ease) .6s;
}
.hero__slide.is-active .hero__sub { opacity: 1; transform: translateY(0); }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; transform: translateY(30px); transition: all .9s var(--ease) .75s; }
.hero__slide.is-active .hero__actions { opacity: 1; transform: translateY(0); }

/* Slider controls */
.hero__controls {
  position: absolute; bottom: 40px; right: var(--pad-x); z-index: 5;
  display: flex; align-items: center; gap: 24px; color: var(--c-white);
}
.hero__dots { display: flex; gap: 10px; }
.hero__dot {
  width: 32px; height: 2px; background: rgba(255,255,255,0.3);
  transition: background .3s, width .3s;
}
.hero__dot.is-active { background: var(--c-white); width: 48px; }
.hero__arrows { display: flex; gap: 8px; }
.hero__arrow {
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,0.3);
  color: var(--c-white); display: inline-flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
}
.hero__arrow:hover { background: var(--c-white); color: var(--c-ink); border-color: var(--c-white); }
.hero__arrow svg { width: 18px; height: 18px; }
.hero__count {
  font-family: var(--f-display); font-size: 1.5rem;
  font-variant-numeric: tabular-nums; opacity: 0.85;
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  position: relative; height: clamp(280px, 40vh, 380px);
  background-size: cover; background-position: center;
  color: var(--c-white);
  display: flex; align-items: flex-end;
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,46,0.3), rgba(10,31,46,0.75));
}
.page-header__inner { position: relative; width: 100%; padding-bottom: 50px; }
.page-header h1 { color: var(--c-white); margin-bottom: 12px; }
.crumbs { font-size: 0.8125rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.75); text-transform: uppercase; }
.crumbs a:hover { color: var(--c-white); }
.crumbs span { margin: 0 10px; opacity: 0.5; }

/* Tighten the gap between the page banner and the first content section (−75%) */
.page-header + .section { padding-top: clamp(16px, 2.25vw, 30px); }

/* ---------- Intro / About strip ---------- */
.intro { text-align: center; max-width: 820px; margin: 0 auto; }
.intro h2 { margin-bottom: 24px; }
.intro p { font-size: 1.0625rem; color: var(--c-ink-soft); line-height: 1.7; }

/* ---------- Service Cards (homepage) ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
.svc {
  position: relative; overflow: hidden; background: var(--c-white);
  border: 1px solid var(--c-line);
  transition: all .4s var(--ease);
  display: flex; flex-direction: column;
}
.svc:hover { border-color: var(--c-accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc__img {
  position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--c-bg-deep);
}
.svc__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.svc:hover .svc__img img { transform: scale(1.06); }
.svc__num {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--f-display); font-size: 1rem; color: var(--c-white);
  background: rgba(10,31,46,0.55); padding: 6px 14px; backdrop-filter: blur(6px);
  letter-spacing: 0.06em;
}
.svc__body {
  padding: 28px clamp(22px, 2vw, 30px) 30px;
  flex: 1; display: flex; flex-direction: column;
}
.svc__kicker {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 10px; font-weight: 500;
}
.svc__title {
  margin-bottom: 14px;
  font-size: clamp(1.4rem, 2.1vw, 1.75rem);
  color: var(--c-ink);
}
.svc__txt {
  color: var(--c-ink-soft); font-size: 0.95rem; line-height: 1.65;
  margin-bottom: 22px; flex: 1;
}
.svc__body .link-arrow { align-self: flex-start; }

/* Uniform card sizing — override the legacy svc--lg/md/sm spans */
.svc, .svc--lg, .svc--md, .svc--sm { grid-column: span 2; }
/* Center the bottom row when 5 cards: items 4 and 5 shifted inward */
.svc:nth-child(4) { grid-column: 2 / span 2; }
.svc:nth-child(5) { grid-column: 4 / span 2; }

@media (max-width: 980px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .svc, .svc--lg, .svc--md, .svc--sm,
  .svc:nth-child(4), .svc:nth-child(5) { grid-column: auto; }
  .svc:nth-child(5):last-child { grid-column: 1 / -1; max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 620px) {
  .services { grid-template-columns: 1fr; }
  .svc:nth-child(5):last-child { max-width: none; }
}

/* ---------- Yacht Cards ---------- */
.yacht-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.yacht-card {
  background: var(--c-white); border: 1px solid var(--c-line);
  overflow: hidden; transition: all .4s var(--ease);
  display: flex; flex-direction: column;
}
.yacht-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--c-accent); }
.yacht-card__img { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--c-bg-deep); }
.yacht-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.yacht-card:hover .yacht-card__img img { transform: scale(1.08); }
.yacht-card__badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--c-accent); color: var(--c-white);
  padding: 5px 12px; font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 500;
}
.yacht-card__body { padding: 26px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.yacht-card__name { font-family: var(--f-display); font-size: 1.875rem; margin-bottom: 6px; }
.yacht-card__loc { font-size: 0.875rem; color: var(--c-ink-soft); display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.yacht-card__loc svg { width: 14px; height: 14px; }
.yacht-card__specs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; padding: 16px 0; margin-bottom: 18px;
  border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
}
.yacht-card__spec { text-align: center; }
.yacht-card__spec svg { width: 18px; height: 18px; color: var(--c-accent); margin: 0 auto 6px; display: block; }
.yacht-card__spec b { display: block; font-size: 0.95rem; font-weight: 600; color: var(--c-ink); }
.yacht-card__spec span { font-size: 0.7rem; color: var(--c-ink-soft); letter-spacing: 0.06em; text-transform: uppercase; }
.yacht-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; gap: 12px;
}
.yacht-card__price { font-family: var(--f-display); font-size: 1.25rem; color: var(--c-accent); font-weight: 500; line-height: 1.2; }
.yacht-card__price small { display: block; font-family: var(--f-body); font-size: 0.7rem; color: var(--c-ink-soft); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }

/* ---------- Yacht detail page ---------- */
.back-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500; color: var(--c-ink-soft);
  margin-bottom: 30px;
  padding: 10px 18px 10px 14px;
  border: 1px solid var(--c-line); border-radius: 40px;
  background: var(--c-white);
  transition: color .25s var(--ease), border-color .25s var(--ease), gap .25s var(--ease), background .25s var(--ease);
}
.back-link svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.back-link:hover { color: var(--c-accent); border-color: var(--c-accent); }
.back-link:hover svg { transform: translateX(-3px); }

.yacht-detail__main { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 5vw, 64px); }
@media (max-width: 1000px) { .yacht-detail__main { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery__item { aspect-ratio: 1; overflow: hidden; cursor: pointer; background: var(--c-bg-deep); position: relative; }
.gallery__item--feature { grid-column: span 3; aspect-ratio: 16/9; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item--more {
  display: flex; align-items: center; justify-content: center;
  color: var(--c-white); font-family: var(--f-display); font-size: 1.5rem;
}
.gallery__item--more::after {
  content: ""; position: absolute; inset: 0; background: rgba(10,31,46,0.55);
  z-index: 1; pointer-events: none;
}
.gallery__item--more span { position: relative; z-index: 2; }

.yacht-side {
  position: sticky; top: 100px; align-self: start;
  background: var(--c-bg-soft); padding: 32px;
  border: 1px solid var(--c-line);
}
.yacht-side h3 { margin-bottom: 6px; }
.yacht-side__price { font-family: var(--f-display); font-size: 1.5rem; color: var(--c-accent); margin: 6px 0 24px; font-weight: 500; }
.yacht-side__specs { list-style: none; padding: 0; margin: 0 0 24px; }
.yacht-side__specs li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--c-line); font-size: 0.9rem; }
.yacht-side__specs li:last-child { border-bottom: 0; }
.yacht-side__specs b { font-weight: 500; color: var(--c-ink); }
.yacht-side__specs span { color: var(--c-ink-soft); }
.yacht-side .btn { width: 100%; justify-content: center; margin-bottom: 10px; }

.yacht-content h2 { margin-bottom: 16px; }
.yacht-content .features {
  list-style: none; padding: 0; margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px 24px;
  align-items: start;
}
.yacht-content .features li {
  position: relative; padding-left: 26px; color: var(--c-ink-soft); font-size: 0.9375rem;
  line-height: 1.45;
}
.yacht-content .features li::before {
  content: ""; position: absolute; left: 0; top: 0.65em;
  width: 14px; height: 1px; background: var(--c-accent);
}

/* ---------- Destinations grid ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.dest {
  position: relative; aspect-ratio: 3/4; overflow: hidden;
  display: flex; align-items: flex-end; padding: 28px; color: var(--c-white);
}
.dest__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1s var(--ease); }
.dest::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,46,0) 30%, rgba(10,31,46,0.85) 100%);
}
.dest:hover .dest__bg { transform: scale(1.1); }
.dest__inner { position: relative; z-index: 2; }
.dest__inner h3 { color: var(--c-white); margin-bottom: 6px; font-size: 2rem; }
.dest__inner .link-arrow { color: var(--c-white); border-color: rgba(255,255,255,0.5); }
.dest__inner .link-arrow:hover { border-color: var(--c-white); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: flex-start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info__item { padding: 22px 0; border-bottom: 1px solid var(--c-line); display: flex; gap: 20px; align-items: flex-start; }
.contact-info__item:first-child { padding-top: 0; }
.contact-info__item:last-child { border-bottom: 0; }
.contact-info__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--c-accent-soft); color: var(--c-accent);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-info__icon svg { width: 20px; height: 20px; }
.contact-info__item h4 { font-family: var(--f-body); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-ink-soft); margin-bottom: 6px; font-weight: 500; }
.contact-info__item p, .contact-info__item a { font-size: 1.0625rem; color: var(--c-ink); margin: 0; }
.contact-info__item a:hover { color: var(--c-accent); }

.contact-form { background: var(--c-bg-soft); padding: 40px; border: 1px solid var(--c-line); }
.contact-form h3 { margin-bottom: 8px; }
.contact-form p { color: var(--c-ink-soft); font-size: 0.9375rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; margin-bottom: 14px; }
.form-field label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-ink-soft); margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  font-family: inherit; font-size: 0.9375rem; padding: 12px 14px;
  border: 1px solid var(--c-line); background: var(--c-white); color: var(--c-ink);
  transition: border-color .25s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 0; border-color: var(--c-accent); }
.form-field textarea { min-height: 120px; resize: vertical; }

/* ---------- Sticky CTA (floating) ---------- */
.cta-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.cta-float__btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-white); box-shadow: var(--shadow-md);
  transition: all .3s var(--ease);
  position: relative;
}
.cta-float__btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid currentColor; opacity: 0;
  animation: pulse 2.4s ease-out infinite;
}
.cta-float__btn:hover { transform: scale(1.08); box-shadow: var(--shadow-lg); }
.cta-float__btn:hover::before { animation-play-state: paused; }
.cta-float svg { width: 24px; height: 24px; }
.cta-float .wa { background: #25D366; }
.cta-float .call { background: var(--c-accent); }
@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Footer ---------- */
.footer { background: var(--c-ink); color: rgba(255,255,255,0.7); padding: 80px 0 30px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; margin-bottom: 56px; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 600px) { .footer__top { grid-template-columns: 1fr; } }

.footer__logo {
  display: inline-flex; align-items: center; gap: 14px; line-height: 1;
  margin-bottom: 18px;
}
.footer__logo img {
  height: 64px; width: auto; display: block;
  filter: brightness(0) invert(1);
}
.footer__logo-text { display: inline-flex; flex-direction: column; gap: 4px; }
.footer__logo-text strong {
  font-family: var(--f-display); font-size: 1.4rem;
  letter-spacing: 0.01em; color: var(--c-white); font-weight: 500; line-height: 1;
}
.footer__logo-text em {
  font-style: normal;
  font-family: var(--f-body); font-size: 0.62rem;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--c-accent-2); font-weight: 500;
}

.footer__brand p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 380px; }
.footer h5 {
  font-family: var(--f-body); font-size: 0.75rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--c-white); margin-bottom: 22px; font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 12px; font-size: 0.9rem; line-height: 1.55; }
.footer a:hover { color: var(--c-accent-2); }
.footer__contact li {
  display: flex; gap: 12px; align-items: flex-start;
}
.footer__contact svg {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px;
  color: var(--c-accent-2); opacity: 0.85;
}
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 50%;
  transition: all .25s;
}
.footer__social a:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-white); transform: translateY(-2px); }
.footer__social svg { width: 16px; height: 16px; }
.footer__bot {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  flex-wrap: wrap; font-size: 0.8125rem;
}
.footer__credit { color: rgba(255,255,255,0.4); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(10,31,46,0.96);
  z-index: 1000; display: none; align-items: center; justify-content: center;
  padding: 30px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute; color: var(--c-white); font-size: 1.5rem;
  width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); transition: background .25s;
}
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: var(--c-accent); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: all .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* ---------- Mobile menu ---------- */
@media (max-width: 1100px) {
  .nav__menu, .nav__cta .btn { display: none; }
  .nav__burger { display: flex; }
  .nav__logo-text strong { font-size: 1.22rem; }
  .nav__logo-text em    { font-size: 0.55rem; letter-spacing: 0.2em; }
  .nav__logo { gap: 12px; }
  .nav__logo img { height: 50px; }
  .nav { padding-top: 12px; padding-bottom: 12px; }
  .nav__mobile {
    position: fixed; top: 0; right: -100%; width: min(380px, 100%); height: 100vh;
    background: var(--c-white); z-index: 120; padding: 90px 28px 30px;
    transition: right .4s var(--ease); overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }
  .nav__mobile.is-open { right: 0; }
  .nav__mobile ul { list-style: none; padding: 0; }
  .nav__mobile ul li { border-bottom: 1px solid var(--c-line); }
  .nav__mobile ul li a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0; font-size: 1rem; color: var(--c-ink);
  }
  .nav__mobile ul li a:hover { color: var(--c-accent); }
  .nav__mobile ul li a::after {
    content: "→"; opacity: 0.4; transition: transform .25s var(--ease), opacity .25s;
  }
  .nav__mobile ul li a:hover::after { transform: translateX(4px); opacity: 1; color: var(--c-accent); }
  .nav__mobile-contact {
    display: flex; flex-direction: column; gap: 12px;
    padding: 26px 0; border-bottom: 1px solid var(--c-line);
  }
  .nav__mobile-link {
    display: inline-flex; align-items: center; gap: 12px;
    color: var(--c-ink-soft); font-size: 0.9rem;
  }
  .nav__mobile-link svg { width: 16px; height: 16px; color: var(--c-accent); }
  .nav__mobile-link:hover { color: var(--c-accent); }
  .nav__mobile .btn { width: 100%; justify-content: center; margin-top: 24px; }
}
@media (min-width: 1101px) {
  .nav__mobile, .nav__backdrop { display: none; }
}

/* ---------- Misc ---------- */
.muted { color: var(--c-ink-soft); }
.center { text-align: center; }
.divider { width: 60px; height: 1px; background: var(--c-accent); margin: 18px auto; }

/* Service page hero blocks */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.service-block--reverse { direction: rtl; }
.service-block--reverse > * { direction: ltr; }
@media (max-width: 900px) { .service-block, .service-block--reverse { grid-template-columns: 1fr; gap: 32px; } }
.service-block img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-block h2 { margin-bottom: 16px; }
.service-block p { color: var(--c-ink-soft); font-size: 1.0625rem; line-height: 1.7; }

/* Feature list  */
.feat-list { list-style: none; padding: 0; margin: 28px 0; }
.feat-list li {
  padding: 14px 0 14px 32px; position: relative; border-bottom: 1px solid var(--c-line);
  font-size: 0.95rem; color: var(--c-ink);
}
.feat-list li::before {
  content: ""; position: absolute; left: 0; top: 22px;
  width: 18px; height: 1px; background: var(--c-accent);
}

/* Big quote */
.quote {
  font-family: var(--f-display); font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic; color: var(--c-accent); line-height: 1.4;
  text-align: center; max-width: 800px; margin: 0 auto;
  padding: 0 40px; position: relative;
}
.quote::before, .quote::after {
  content: "“"; font-size: 4rem; color: var(--c-accent); opacity: 0.18;
  position: absolute; top: -10px; left: -10px; line-height: 1;
}
.quote::after { content: "”"; right: -10px; left: auto; top: auto; bottom: -40px; }

/* CTA section */
.cta-banner {
  background: var(--c-ink); color: var(--c-white); padding: 80px 0;
  background-image: linear-gradient(135deg, rgba(10,31,46,0.92), rgba(11,110,127,0.85)),
    url('../img/yachts/seabreak-03.jpg');
  background-size: cover; background-position: center;
}
.cta-banner__inner { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .cta-banner__inner { grid-template-columns: 1fr; text-align: center; } }
.cta-banner h2 { color: var(--c-white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.78); margin: 0; }
.cta-banner__actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 800px) { .cta-banner__actions { justify-content: center; } }

/* Section header */
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .eyebrow { justify-content: center; }
.sec-head h2 { max-width: 720px; margin: 0 auto 16px; }
.sec-head p { color: var(--c-ink-soft); font-size: 1.0625rem; max-width: 640px; margin: 0 auto; }

/* Mobile tweaks */
@media (max-width: 600px) {
  .nav__logo img { height: 44px; }
  .nav__logo-text strong { font-size: 1.12rem; }
  .nav__logo-text em    { font-size: 0.52rem; letter-spacing: 0.18em; }
  .nav__logo { gap: 10px; }
  .cta-float { right: 14px; bottom: 14px; }
  .cta-float__btn { width: 50px; height: 50px; }
  .nav { padding-top: 10px; padding-bottom: 10px; gap: 12px; }
  .nav__cta { gap: 4px; }
}
@media (max-width: 420px) {
  .nav__logo-text em { display: none; }
  .nav__logo img { height: 40px; }
  .nav__logo-text strong { font-size: 1.04rem; }
}
