/* Xclusive Yachts — cinematic concierge prototype */
:root {
  --brand: #C8102E;
  --brand-deep: #9E0C24;
  --brand-soft: rgba(200, 16, 46, 0.12);

  --noir: #0B0E12;
  --deep: #141A20;
  --line-dark: #283038;

  --paper: #FAFAF8;
  --mist: #EFEFEC;
  --ink: #11151A;
  --muted: #5B636B;
  --line: #E3E3DE;
  --gold: #C9A86A;

  --serif: "Cormorant Garamond", "Cormorant", "EB Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--noir);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brand);
}
.eyebrow.light { color: #fff; opacity: 0.7; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 14, 18, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__mark {
  width: 38px; height: 38px;
  background: var(--brand);
  display: grid; place-items: center;
  border-radius: 2px;
}
.nav__mark svg { width: 26px; height: auto; }
.nav__wordmark {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}
.nav__wordmark em {
  font-style: normal;
  color: var(--brand);
  font-weight: 800;
  font-size: 1.55em;
  letter-spacing: 0;
  margin-right: 1px;
}

.nav__links {
  display: flex; gap: 36px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav__links a {
  position: relative;
  opacity: 0.85;
  padding: 6px 0;
  transition: opacity 0.2s;
}
.nav__links a:hover { opacity: 1; }
.nav__links a.active::after {
  content: ""; position: absolute; bottom: -2px; left: 0; right: 50%;
  height: 1px; background: var(--brand);
}

.nav__cta {
  display: flex; align-items: center; gap: 14px;
}
.lang-toggle {
  display: flex; gap: 1px; background: rgba(255,255,255,0.08); padding: 3px; border-radius: 999px;
}
.lang-toggle button {
  padding: 5px 11px;
  font-size: 11px;
  letter-spacing: 0.1em;
  border-radius: 999px;
  opacity: 0.7;
  transition: all 0.2s;
}
.lang-toggle button.active {
  background: #fff;
  color: var(--noir);
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
}
.btn--primary:hover { background: var(--brand-deep); }
.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.btn--dark {
  background: var(--noir);
  color: #fff;
}
.btn--dark:hover { background: var(--brand); }
.btn--outline-dark {
  border-color: var(--noir);
  color: var(--noir);
}
.btn--outline-dark:hover { background: var(--noir); color: #fff; }
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out infinite;
}
.hero__slide.active { opacity: 1; }
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,14,18,0.78) 0%, rgba(11,14,18,0.45) 30%, rgba(11,14,18,0.55) 60%, rgba(11,14,18,0.95) 100%),
    linear-gradient(90deg, rgba(11,14,18,0.7) 0%, rgba(11,14,18,0.15) 55%, rgba(11,14,18,0) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto auto;
  padding: 120px 48px 40px;
}

.hero__eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  align-self: end;
}
.hero__eyebrow .dot { width: 6px; height: 6px; background: var(--brand); border-radius: 50%; }
.hero__eyebrow .since { opacity: 0.65; }

.hero__h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 8.5vw, 142px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 18px 0 0;
  max-width: 14ch;
}
.hero__h1 em {
  font-style: italic;
  font-weight: 400;
  color: #fff;
  position: relative;
}
.hero__h1 .crimson { color: var(--brand); font-style: italic; }

.hero__sub {
  margin-top: 26px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 300;
  max-width: 46ch;
  opacity: 0.85;
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 32px;
  margin-top: 56px;
}

.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__meta {
  display: flex;
  gap: 32px;
  justify-content: flex-end;
  align-items: end;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.hero__meta .stat {
  text-align: right;
  border-right: 1px solid rgba(255,255,255,0.18);
  padding-right: 32px;
}
.hero__meta .stat:last-child { border-right: 0; padding-right: 0; }
.hero__meta .stat__big {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.hero__meta .stat__lab { opacity: 0.65; text-transform: uppercase; font-size: 10px; letter-spacing: 0.22em; }

.hero__slidebar {
  position: absolute;
  bottom: 36px;
  left: 48px;
  display: flex; gap: 8px;
  z-index: 3;
}
.hero__slidebar button {
  width: 36px; height: 2px;
  background: rgba(255,255,255,0.25);
  transition: background 0.25s;
}
.hero__slidebar button.active { background: #fff; }

.hero__scroll {
  position: absolute;
  bottom: 36px;
  right: 48px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.55;
  display: flex; align-items: center; gap: 10px;
  z-index: 3;
}
.hero__scroll::after {
  content: ""; display: inline-block; width: 40px; height: 1px; background: #fff; opacity: 0.5;
}

/* ---------- Sections ---------- */
section { padding: 120px 48px; }
.section__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}
.section__h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
}
.section__h2 em { font-style: italic; color: var(--brand); }
.section__intro {
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.75;
  max-width: 52ch;
}

/* ---------- Trust strip ---------- */
.trust {
  padding: 64px 48px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: var(--deep);
}
.trust__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.trust__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-right: 24px;
  border-right: 1px solid var(--line-dark);
}
.trust__item:last-child { border-right: 0; }
.trust__icon {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  color: var(--brand);
  font-style: italic;
  font-weight: 400;
}
.trust__body .lab {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 4px;
}
.trust__body .val {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 4px;
}
.trust__body .sup { font-size: 12px; opacity: 0.65; line-height: 1.4; }

/* ---------- Fleet ---------- */
.fleet { background: var(--noir); position: relative; }
.fleet__filter {
  display: inline-flex;
  gap: 4px;
  background: rgba(255,255,255,0.06);
  padding: 4px;
  border-radius: 999px;
  margin-bottom: 32px;
}
.fleet__filter button {
  padding: 8px 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  opacity: 0.65;
  transition: all 0.2s;
}
.fleet__filter button.active {
  background: var(--brand);
  color: #fff;
  opacity: 1;
}

.yacht-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.yacht-card {
  grid-column: span 6;
  position: relative;
  overflow: hidden;
  background: var(--deep);
  cursor: pointer;
  transition: transform 0.5s ease;
}
.yacht-card.featured { grid-column: span 6; }
.yacht-card.small { grid-column: span 6; }
@media (min-width: 1280px) {
  .yacht-card.featured { grid-column: span 6; }
  .yacht-card.small { grid-column: span 6; }
}
.yacht-card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.yacht-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s ease, filter 0.5s;
  filter: brightness(0.92);
}
.yacht-card:hover .yacht-card__media img { transform: scale(1.05); filter: brightness(1); }

.yacht-card__tag {
  position: absolute;
  top: 20px; left: 20px;
  background: rgba(11,14,18,0.7);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.yacht-card__price {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: #fff;
}
.yacht-card__price .from { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.6; font-style: normal; display: block; margin-bottom: 2px; font-family: var(--sans); }

.yacht-card__body {
  padding: 28px 28px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
}
.yacht-card__name {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}
.yacht-card__name .len { color: var(--brand); font-style: italic; font-size: 22px; margin-left: 4px; }
.yacht-card__builder {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-top: 12px;
}
.yacht-card__specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}
.yacht-card__spec { font-size: 11px; opacity: 0.75; }
.yacht-card__spec .v {
  font-family: var(--serif);
  font-size: 22px;
  display: block;
  font-weight: 400;
  color: #fff;
  opacity: 1;
  margin-bottom: 4px;
}
.yacht-card__spec .l {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.55;
}

.yacht-card__cta {
  padding: 0 28px 28px;
  display: flex;
  gap: 8px;
}
.yacht-card__cta .btn {
  flex: 1; justify-content: center;
  padding: 11px 14px;
  font-size: 10.5px;
}

/* ---------- Experiences ---------- */
.experiences { background: var(--paper); color: var(--ink); }
.experiences .eyebrow { color: var(--brand); }
.exp-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.exp-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--ink);
  cursor: pointer;
}
.exp-card.tall { grid-column: span 4; }
.exp-card.wide { grid-column: span 4; }
.exp-card.med { grid-column: span 4; }
.exp-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s ease;
  filter: brightness(0.85);
}
.exp-card:hover img { transform: scale(1.06); filter: brightness(0.95); }
.exp-card__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(11,14,18,0.85) 100%);
}
.exp-card__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  color: #fff;
  z-index: 2;
}
.exp-card__cat {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
}
.exp-card__name {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 6px;
}
.exp-card__sub { font-size: 13px; opacity: 0.8; }
.exp-card__arrow {
  position: absolute;
  top: 20px; right: 20px;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: grid; place-items: center;
  z-index: 2;
  transition: background 0.25s;
}
.exp-card:hover .exp-card__arrow { background: var(--brand); }

/* ---------- Inline booking ---------- */
.booking {
  background: var(--mist);
  color: var(--ink);
  padding: 96px 48px;
}
.booking__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}
.booking__copy h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 12px 0 18px;
}
.booking__copy h2 em { color: var(--brand); font-style: italic; }
.booking__copy p { color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 38ch; }
.booking__copy .ticks { margin-top: 24px; display: grid; gap: 10px; }
.booking__copy .ticks li { font-size: 13px; display: flex; align-items: center; gap: 10px; list-style: none; }
.booking__copy .ticks li::before {
  content: "";
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand);
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 6'/></svg>");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.booking__copy ul { padding: 0; }

.booking__form {
  background: #fff;
  padding: 36px;
  border: 1px solid var(--line);
  position: relative;
}
.booking__form::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: var(--brand);
}
.booking__form h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 6px;
}
.booking__form .sub { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-row.full { grid-template-columns: 1fr; }
.field { position: relative; }
.field label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font: 400 14px/1.4 var(--sans);
  color: var(--ink);
  border-radius: 0;
  appearance: none;
  transition: border-color 0.2s, background 0.2s;
}
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%2311151A' stroke-width='1.5'><path d='M1 1l5 5 5-5'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 10px; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
}
.field textarea { min-height: 80px; resize: vertical; }
.booking__submit {
  margin-top: 8px;
  display: flex; gap: 12px; align-items: center;
}
.booking__submit .btn { flex: 1; justify-content: center; }
.booking__submit .or { font-size: 11px; opacity: 0.5; letter-spacing: 0.2em; text-transform: uppercase; }

/* ---------- About / heritage ---------- */
.heritage {
  background: var(--noir);
  position: relative;
}
.heritage__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 96px;
  align-items: center;
}
.heritage__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.heritage__media img { width: 100%; height: 100%; object-fit: cover; }
.heritage__media .badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--brand);
  color: #fff;
  padding: 22px 28px;
  max-width: 220px;
}
.heritage__media .badge .y {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 0.9;
  font-weight: 300;
}
.heritage__media .badge .t {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0.9;
}
.heritage__copy h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 16px 0 24px;
}
.heritage__copy h2 em { font-style: italic; color: var(--brand); }
.heritage__copy p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.78;
  margin-bottom: 18px;
  max-width: 50ch;
}
.heritage__quotes {
  margin-top: 36px;
  border-top: 1px solid var(--line-dark);
  padding-top: 28px;
  display: flex;
  gap: 32px;
}
.heritage__quotes .q {
  flex: 1;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.45;
  opacity: 0.85;
}
.heritage__quotes .q::before { content: "“"; color: var(--brand); font-size: 36px; line-height: 0; vertical-align: -12px; margin-right: 2px; }
.heritage__quotes .src { font-style: normal; font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.55; margin-top: 10px; display: block; }

/* ---------- Marina / contact ---------- */
.marina {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.marina__media {
  position: absolute; inset: 0;
}
.marina__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); }
.marina__inner {
  position: relative;
  z-index: 2;
  padding: 140px 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 96px;
  align-items: center;
}
.marina__copy h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 14px 0 24px;
}
.marina__copy p { font-size: 17px; opacity: 0.85; line-height: 1.6; max-width: 44ch; }
.marina__details {
  background: rgba(11,14,18,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 36px;
}
.marina__details h4 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 22px;
}
.marina__details ul { padding: 0; list-style: none; margin: 0; display: grid; gap: 14px; }
.marina__details li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 14px;
}
.marina__details li:last-child { border-bottom: 0; padding-bottom: 0; }
.marina__details li .lab { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.6; padding-top: 2px; }
.marina__details li .val { line-height: 1.5; }
.marina__details li .val a { color: #fff; border-bottom: 1px solid var(--brand); }

/* ---------- Footer ---------- */
.footer {
  background: var(--noir);
  border-top: 1px solid var(--line-dark);
  padding: 80px 48px 40px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.footer__brand .lock {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.footer__brand p { font-size: 13px; opacity: 0.6; line-height: 1.6; max-width: 36ch; }
.footer__col h5 {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0 0 18px;
  font-weight: 500;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col a { font-size: 14px; opacity: 0.8; transition: opacity 0.2s; }
.footer__col a:hover { opacity: 1; color: var(--brand); }
.footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  opacity: 0.5;
  letter-spacing: 0.05em;
}

/* ---------- WhatsApp FAB ---------- */
.fab {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 40;
  display: flex; align-items: center; gap: 12px;
  background: #25D366;
  color: #fff;
  padding: 14px 20px 14px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform 0.25s;
}
.fab:hover { transform: translateY(-2px); }
.fab__icon {
  width: 30px; height: 30px;
  background: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
}
.fab__icon svg { width: 18px; height: 18px; color: #25D366; }
.fab__txt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.fab__txt small { display: block; font-size: 10px; opacity: 0.9; letter-spacing: 0.05em; text-transform: none; font-weight: 400; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(11,14,18,0.7);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  animation: fadeIn 0.25s ease;
  padding: 24px;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--paper);
  color: var(--ink);
  width: 100%;
  max-width: 540px;
  padding: 40px;
  position: relative;
  animation: slideUp 0.35s ease;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  font-size: 18px;
  opacity: 0.5;
}
.modal__close:hover { opacity: 1; }
.modal h3 {
  font-family: var(--serif); font-weight: 400; font-size: 32px;
  margin: 0 0 6px;
}
.modal .modal-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.modal__success {
  text-align: center;
  padding: 24px 0;
}
.modal__success .check {
  width: 60px; height: 60px;
  background: var(--brand);
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  color: #fff;
}

/* ---------- Tweaks panel positioning ---------- */
[data-tweaks-panel] { z-index: 60 !important; }

/* ---------- RTL ---------- */
[dir="rtl"] .hero__h1 { text-align: right; }
[dir="rtl"] .hero__meta { justify-content: flex-start; }
[dir="rtl"] .nav__links a.active::after { left: 50%; right: 0; }
[dir="rtl"] .fab { right: auto; left: 28px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__slide { animation: none; transform: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav, .nav.scrolled { padding: 16px 24px; }
  .nav__links { display: none; }
  section { padding: 80px 24px; }
  .hero__content { padding: 100px 24px 32px; }
  .hero__slidebar, .hero__scroll { left: 24px; right: 24px; }
  .section__head { grid-template-columns: 1fr; gap: 24px; }
  .trust__row { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .trust__item { border-right: 0; }
  .yacht-card, .yacht-card.featured, .yacht-card.small { grid-column: span 12; }
  .exp-card.tall, .exp-card.wide, .exp-card.med { grid-column: span 6; }
  .booking__inner, .heritage__inner, .marina__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__meta { justify-content: flex-start; gap: 16px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .hero__meta .stat { padding-right: 12px; }
  .hero__meta .stat__big { font-size: 22px; }
  .exp-card.tall, .exp-card.wide, .exp-card.med { grid-column: span 12; }
  .marina__inner { padding: 80px 24px; }
  .modal { padding: 28px; }
  .fab__txt { display: none; }
  .fab { padding: 14px; }
}
