/* ==========================================================================
   Luxsail — yacht charter template
   Tokens derived from reference study (visual: attached homepage screenshot;
   exact values cross-checked against reference CSS custom properties).
   ========================================================================== */

:root {
  --bg: #f7f4f1;
  --bg-2: #efe9e3;
  --ink: #141415;
  --ink-soft: #2b2a27;
  --muted: #6d6962;
  --line: rgba(20, 20, 21, 0.16);
  --line-soft: rgba(20, 20, 21, 0.08);
  --accent: #dda06f;
  --accent-deep: #c99a6b;
  --sand: #e8e1da;
  --cream: #edddd0;
  --white: #fafafa;
  --success-bg: #eef4ec;
  --success-line: #c6d9c1;
  --success-ink: #2c4a26;
  --danger: #a3342b;

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 26px;
  --container: 1240px;
  --gutter: 30px;

  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  padding: 18px var(--gutter) 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: #1a1a1a; }

:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- layout helpers ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.section { padding: clamp(52px, 6vw, 92px) 0; }
.section--tight { padding: clamp(36px, 4vw, 60px) 0; }
.section--line { border-top: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(26px, 3vw, 44px);
}

.section-head__title { max-width: 22ch; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.h-display { font-size: clamp(42px, 6.2vw, 88px); line-height: 1.02; letter-spacing: -0.035em; }
.h2 { font-size: clamp(30px, 3.5vw, 56px); line-height: 1.06; }
.h3 { font-size: clamp(23px, 2.1vw, 32px); }
.h4 { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.25; }

.lead {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 58ch;
}

.muted { color: var(--muted); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 15px 28px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cream); }

.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(20, 20, 21, 0.04); }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); }

.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.text-link:hover { border-color: var(--ink); gap: 12px; }
.text-link svg { width: 14px; height: 14px; }

/* ---------- header ---------- */

.header-block {
  position: sticky;
  top: 10px;
  z-index: 60;
  margin-bottom: 10px;
}

.announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 42px;
  padding: 8px 18px;
  background: var(--accent-deep);
  color: #fff;
  border-radius: 12px 12px 0 0;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.announce .sep { opacity: 0.55; }
.announce a:hover { text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 16px 12px 20px;
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 28px rgba(20, 20, 21, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand svg { width: 26px; height: 26px; color: var(--accent-deep); }
.brand:hover svg { color: var(--ink); }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 10px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.nav-link:hover { background: rgba(20, 20, 21, 0.055); }
.nav-link svg { width: 12px; height: 12px; transition: transform 0.3s var(--ease); }

.nav-item { position: relative; }
.nav-item.is-open .nav-link svg { transform: rotate(180deg); }

.nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 232px;
  padding: 10px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  box-shadow: 0 18px 40px rgba(20, 20, 21, 0.14);
  display: none;
  z-index: 20;
}

.nav-item.is-open .nav-menu { display: block; }

.nav-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--ink-soft);
}
.nav-menu a:hover { background: var(--bg-2); }
.nav-menu a span { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }

.header-cta { margin-left: auto; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
body.nav-open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
body.nav-open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}

.hero { min-height: clamp(520px, 78vh, 760px); }
.page-hero { min-height: clamp(360px, 52vh, 520px); }

.hero__bg,
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    101deg,
    rgba(8, 24, 40, 0.86) 0%,
    rgba(8, 24, 40, 0.66) 34%,
    rgba(8, 24, 40, 0.2) 68%,
    rgba(8, 24, 40, 0.34) 100%
  );
}

.hero__inner {
  position: relative;
  width: 100%;
  padding: 0 clamp(20px, 4vw, 64px) clamp(36px, 5vw, 68px);
  max-width: 880px;
}

.page-hero__inner {
  position: relative;
  width: 100%;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 56px) clamp(30px, 4vw, 52px);
  max-width: 900px;
}

.pill-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

.hero h1 {
  margin: 22px 0 20px;
  color: #fff;
  font-size: clamp(38px, 6.1vw, 86px);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.page-hero h1 {
  margin: 18px 0 14px;
  color: #fff;
  font-size: clamp(32px, 4.4vw, 62px);
  line-height: 1.05;
}

.hero p,
.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(15px, 1.2vw, 17px);
  max-width: 52ch;
}

.hero .btn { margin-top: 26px; }

/* ---------- grid / card primitives ---------- */

.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(24px, 4vw, 68px);
  align-items: center;
}

.split--media-first .split__media { order: -1; }

.plate {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}

.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.plate:hover img { transform: scale(1.045); }

.plate--tall { aspect-ratio: 4 / 5; }
.plate--wide { aspect-ratio: 16 / 10; }
.plate--card { aspect-ratio: 4 / 3; }
.plate--square { aspect-ratio: 1 / 1; }

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.stack-8 { display: grid; gap: 8px; }
.stack-14 { display: grid; gap: 14px; }
.stack-20 { display: grid; gap: 20px; }
.stack-26 { display: grid; gap: 26px; }

/* ---------- tour cards ---------- */

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.tour-card {
  display: grid;
  gap: 16px;
  align-content: start;
}

.tour-card h3 { font-size: clamp(19px, 1.6vw, 23px); }
.tour-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- feature list ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.feature {
  padding: 28px 22px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
  align-content: start;
}
.feature:last-child { border-right: 0; }
.feature__icon { width: 34px; height: 34px; color: var(--accent-deep); margin-bottom: 4px; }
.feature h3 { font-size: 19px; line-height: 1.25; }
.feature p { font-size: 14px; color: var(--muted); }

/* ---------- yacht cards ---------- */

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.tab:hover { border-color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.yacht-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.yacht-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(20, 20, 21, 0.09);
}

.yacht-card .plate { border-radius: 0; }
.yacht-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 22px 24px;
  flex: 1;
}
.yacht-body h3 { font-size: clamp(19px, 1.5vw, 22px); }

.spec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
}
.spec span:first-child { color: var(--muted); }
.spec span:last-child { text-align: right; }

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.card-actions .btn { flex: 1; padding: 12px 14px; font-size: 10px; letter-spacing: 0.12em; }

/* ---------- destinations ---------- */

.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.dest-card { display: grid; gap: 14px; }
.dest-card h3 { font-size: clamp(19px, 1.6vw, 23px); }
.dest-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ---------- brokers / team ---------- */

.broker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.broker {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  align-items: start;
}
.broker .plate { aspect-ratio: 1 / 1; border-radius: 14px; }
.broker h3 { font-size: 20px; }
.broker p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.broker__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- quotes ---------- */

.quotes {
  display: flex;
  gap: clamp(14px, 1.6vw, 22px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: thin;
}
.quote {
  flex: 0 0 auto;
  width: min(420px, 82vw);
  display: grid;
  gap: 16px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  scroll-snap-align: start;
}
.quote p { font-family: var(--serif); font-size: 19px; line-height: 1.45; letter-spacing: -0.02em; }
.quote__who { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.quote__who strong { font-weight: 500; }
.quote__who span { color: var(--muted); }
.stars { display: flex; gap: 3px; color: var(--accent); }
.stars svg { width: 13px; height: 13px; }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  counter-reset: step;
}
.step {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 10px;
  align-content: start;
  background: rgba(255, 255, 255, 0.5);
}
.step__num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.step h3 { font-size: 20px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- trust list ---------- */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 40px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.trust-item svg { width: 18px; height: 18px; color: var(--accent-deep); flex: none; margin-top: 4px; }
.trust-item strong { display: block; font-weight: 500; font-size: 15px; }
.trust-item span { font-size: 13.5px; color: var(--muted); }

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 26px 18px;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 6px;
}
.stat:last-child { border-right: 0; }
.stat__value { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); line-height: 1; letter-spacing: -0.03em; }
.stat__label { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 21px);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--ink-soft); }
.faq-icon {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--ink); border-color: var(--ink); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }

.faq-item__body {
  padding: 0 4px 24px;
  max-width: 78ch;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- cta band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  padding: clamp(44px, 7vw, 96px) clamp(24px, 4vw, 64px);
  color: #fff;
  text-align: center;
  isolation: isolate;
}
.cta-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 24, 40, 0.72), rgba(8, 24, 40, 0.62));
}
.cta-band h2 { font-size: clamp(28px, 3.6vw, 54px); color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 16px auto 26px; max-width: 56ch; }
.cta-band .eyebrow { color: rgba(255, 255, 255, 0.72); }

/* ---------- detail pages ---------- */

.detail-head {
  display: grid;
  grid-template-columns: 1.32fr 0.68fr;
  gap: clamp(20px, 2.6vw, 34px);
  align-items: stretch;
}

.detail-media { display: grid; gap: 12px; }
.detail-media .plate { aspect-ratio: 16 / 11; }

.detail-side {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.detail-side h3 { font-size: 21px; }
.detail-side p { font-size: 14px; color: var(--muted); }
.detail-side .broker { border: 0; padding: 0; background: transparent; grid-template-columns: 68px minmax(0, 1fr); }

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}

.highlights { display: grid; gap: 12px; }
.highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}
.highlights svg { width: 16px; height: 16px; color: var(--accent-deep); flex: none; margin-top: 5px; }

.detail-body {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

/* ---------- forms ---------- */

.form-card {
  padding: clamp(22px, 3vw, 38px);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
}

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field .req { color: var(--accent-deep); }

.input,
.select,
.textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.input:hover,
.select:hover,
.textarea:hover { border-color: rgba(20, 20, 21, 0.35); }
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(221, 160, 111, 0.22);
}
.textarea { min-height: 118px; resize: vertical; }
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}
.field-error { font-size: 12.5px; color: var(--danger); }
.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .textarea { border-color: var(--danger); }

.form-note { font-size: 13px; color: var(--muted); }
.form-status { display: none; }
.form-status.is-visible { display: block; }
.form-success {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid var(--success-line);
  border-radius: 14px;
  background: var(--success-bg);
  color: var(--success-ink);
}
.form-success strong { font-size: 15px; font-weight: 600; }
.form-success span { font-size: 14px; }
.form-error {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid #e2bcb7;
  border-radius: 14px;
  background: #fbf1ef;
  color: var(--danger);
  font-size: 14px;
}
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ---------- footer ---------- */

.site-footer {
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(40px, 5vw, 68px) 0 24px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
}

.footer-brand p { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 32ch; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col a { display: block; padding: 5px 0; font-size: 14.5px; color: var(--ink-soft); }
.footer-col a:hover { color: var(--accent-deep); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(30px, 4vw, 52px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- changelog ---------- */

.log-list { border-top: 1px solid var(--line); }
.log-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.log-item__date { font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.log-item h3 { font-size: 20px; margin-bottom: 10px; }
.log-item ul { display: grid; gap: 8px; }
.log-item li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--muted); }
.log-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent-deep);
}

/* ---------- motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .fleet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature:nth-child(2n) { border-right: 0; }
  .detail-body { grid-template-columns: 1fr; }
  .detail-head { grid-template-columns: 1fr; }
  .log-item { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 1000px) {
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    margin-left: 0;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--line-soft);
    box-shadow: 0 22px 48px rgba(20, 20, 21, 0.16);
  }
  body.nav-open .nav { display: flex; }
  .nav-link { width: 100%; justify-content: space-between; font-size: 15.5px; padding: 12px 14px; }
  .nav-menu {
    position: static;
    box-shadow: none;
    border: 0;
    border-radius: 10px;
    background: var(--bg);
    margin-top: 4px;
    padding: 6px;
  }
  .nav-menu a { padding: 9px 10px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav-mobile-cta { display: flex !important; }
  .site-header { position: relative; }
}

@media (max-width: 900px) {
  :root { --gutter: 16px; }
  body { padding-top: 12px; }
  .split { grid-template-columns: 1fr; }
  .split--media-first .split__media { order: 0; }
  .tour-grid,
  .dest-grid,
  .steps,
  .broker-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: 1fr; }
  .hero { min-height: 74vh; }
  .header-block { position: sticky; top: 6px; }
}

@media (max-width: 640px) {
  .fleet-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { border-right: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .broker { grid-template-columns: 72px minmax(0, 1fr); }
  .announce { font-size: 9.5px; gap: 8px; letter-spacing: 0.1em; }
  .brand { font-size: 20px; }
  .hero { min-height: 72vh; border-radius: 18px; }
  .page-hero { border-radius: 18px; }
  .btn { padding: 13px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .plate:hover img { transform: none; }
  .btn:hover { transform: none; }
  .yacht-card:hover { transform: none; }
}


/* select-inset-fix:20261116:v1 */
/* Single native selects only; keep site colours, borders, sizing and interaction. */
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){
 -webkit-appearance:none!important; -moz-appearance:none!important; appearance:none!important;
 padding-inline-end:44px!important;
 background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%)!important;
 background-position:right 22px center,right 16px center!important;
 background-size:6px 6px,6px 6px!important; background-repeat:no-repeat!important;
}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):dir(rtl){background-position:left 16px center,left 22px center!important}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):is(.select){background-image:linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%)!important;background-position:right 22px center,right 16px center!important;background-size:6px 6px, 6px 6px!important;background-repeat:no-repeat!important}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):is(.select):dir(rtl){background-position:left 16px center,left 22px center!important}
@media (forced-colors:active){select:not([multiple]):is(:not([size]),[size="0"],[size="1"]),select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):is(.select){-webkit-appearance:auto!important;-moz-appearance:auto!important;appearance:auto!important;background-image:none!important}}
