/* ==========================================================================
   SANNAZARO CHARTER — Stylesheet
   Charter di catamarani di lusso — Napoli
   ========================================================================== */

/* === RESET ============================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* Navbar fissa: ancore / scrollIntoView atterrano esattamente sotto la barra,
     senza lasciare la fascia vuota in cui si vedeva un pezzo della sezione
     precedente (avorio di #itinerario o mare di #chisiamo). */
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  background: var(--blue-sea);
  overflow-x: clip;
}
body {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.95rem + 0.28vw, var(--fs-body));
  font-weight: 300;
  line-height: 1.65;
  color: var(--blue-deep);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, textarea, select, button { font: inherit; color: inherit; }

/* === TOKENS ============================================================= */
:root {
  /* Colors */
  --blue-sea: #12345A;
  --blue-mid: #1B3A5C;
  --blue-deep: #061A30;
  --gold: #D6BC78;
  --gold-light: #EAD9A8;
  --gold-rich: #C7A55A;
  --gold-highlight: #F8EDC8;
  --ivory: #F7F5F0;
  --stone: #8B8680;
  --white: #ffffff;
  --black: #000000;

  /* Fonts */
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-wordmark: "Garamond Pro", "Adobe Garamond Pro", Garamond, "Times New Roman", serif;

  /* Type scale */
  --fs-display: clamp(2.75rem, 6vw, 5.5rem);
  --fs-h2: clamp(2rem, 4vw, 3.5rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.75rem);
  --fs-eyebrow: 0.8125rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;

  /* Spacing */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 96px;
  --sp-8: 128px;

  /* Layout */
  --container: 1280px;
  --container-narrow: 960px;
  --radius: 2px;
  --nav-h: 80px;

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

/* === TYPOGRAPHY ========================================================= */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 0.65rem + 0.35vw, var(--fs-eyebrow));
  font-weight: 500;
  letter-spacing: clamp(0.14em, 0.1em + 0.35vw, 0.25em);
  text-transform: uppercase;
  color: var(--gold);
}
.display {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--fs-display);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -0.005em;
}
.h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--fs-h3);
  line-height: 1.2;
}
.divider-gold {
  width: 56px;
  height: 1px;
  background: var(--gold);
  border: 0;
  margin: var(--sp-3) 0;
}
.divider-gold.center { margin-left: auto; margin-right: auto; }

/* === LAYOUT ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(14px, 4vw, var(--sp-3));
  min-width: 0;
}
@media (min-width: 1024px) {
  .container { padding: 0 clamp(var(--sp-3), 3.5vw, var(--sp-5)); }
}

main,
.nav__inner {
  min-width: 0;
}

section { position: relative; }
.section {
  padding: clamp(2.5rem, 5.5vw, var(--sp-6)) 0;
}
@media (min-width: 1024px) {
  .section { padding: clamp(3.25rem, 6.5vw, var(--sp-7)) 0; }
  .section--lg { padding: clamp(4rem, 8vw, var(--sp-8)) 0; }
}

.section--dark { background: var(--blue-sea); color: var(--ivory); }
.section--deep { background: var(--blue-deep); color: var(--ivory); }
.section--ivory { background: var(--ivory); color: var(--blue-deep); }

.section--dark .eyebrow,
.section--deep .eyebrow { color: var(--gold); }

/* === BUTTONS ============================================================ */
.btn {
  display: inline-block;
  padding: clamp(12px, 2.5vw, 14px) clamp(1.1rem, 4.5vw, 2.5rem);
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover, .btn:focus-visible {
  background: var(--gold);
  color: var(--blue-deep);
}
.btn--solid {
  background: var(--gold);
  color: var(--blue-deep);
}
.btn--solid:hover, .btn--solid:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--blue-deep);
}
.btn--ghost-light {
  border-color: var(--ivory);
  color: var(--ivory);
}
.btn--ghost-light:hover, .btn--ghost-light:focus-visible {
  background: var(--ivory);
  color: var(--blue-deep);
  border-color: var(--ivory);
}
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* === NAVBAR ============================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  /* Blu #12345A (—blue-sea) in rgba: barra leggibile ma si intravede il sotto */
  background: rgba(18, 52, 90, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    background var(--dur) var(--ease),
    backdrop-filter var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
  border-bottom: 1px solid rgba(201, 169, 97, 0.12);
  box-shadow: none;
}
.nav:not(.scrolled) {
  background: rgba(18, 52, 90, 0.48);
}
.nav:not(.scrolled) .nav__link,
.nav:not(.scrolled) .nav__toggle {
  text-shadow: none;
  filter: none;
}
.nav.open:not(.scrolled) {
  background: rgba(18, 52, 90, 0.68);
}
.nav__inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 clamp(8px, 2vw, 12px) 0 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(var(--sp-2), 3vw, var(--sp-4));
}
@media (min-width: 1024px) { .nav__inner { padding: 0 clamp(16px, 2vw, 24px) 0 0; } }

.nav__brand {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.2vw, 10px);
  position: static;
  margin-right: auto;
  min-width: 0;
  flex-shrink: 1;
  color: var(--ivory);
  transition: color var(--dur) var(--ease);
}
.nav__brand-logo {
  height: clamp(46px, 11vw, 76px);
  width: auto;
  max-width: 45vw;
  object-fit: contain;
  opacity: 1;
  mix-blend-mode: normal;
  /* Filtri tipo saturate/brightness su PNG ridimensionati accentuano alone e “scalettature” */
  filter: drop-shadow(0 1px 3px rgba(6, 26, 48, 0.35));
}
.nav__brand-logo--logo1 {
  height: clamp(42px, 10vw, 70px);
}
.nav__brand-logo--logo2 {
  height: clamp(38px, 9vw, 62px);
  max-width: min(52vw, 280px);
  margin-left: clamp(2px, 1vw, 8px);
}
@keyframes goldShimmer {
  0% { background-position: 140% 50%; }
  100% { background-position: -140% 50%; }
}
@keyframes logoShine {
  0%, 100% {
    filter: saturate(1.2) brightness(1.2) contrast(1.03)
      drop-shadow(0 0 10px rgba(248, 237, 200, 0.26))
      drop-shadow(0 0 20px rgba(214, 188, 120, 0.2));
  }
  42% {
    filter: saturate(1.35) brightness(1.48) contrast(1.06)
      drop-shadow(0 0 16px rgba(248, 237, 200, 0.48))
      drop-shadow(0 0 34px rgba(214, 188, 120, 0.4));
  }
  52% {
    filter: saturate(1.42) brightness(1.58) contrast(1.08)
      drop-shadow(0 0 20px rgba(248, 237, 200, 0.62))
      drop-shadow(0 0 42px rgba(214, 188, 120, 0.5));
  }
  62% {
    filter: saturate(1.33) brightness(1.42) contrast(1.05)
      drop-shadow(0 0 15px rgba(248, 237, 200, 0.42))
      drop-shadow(0 0 30px rgba(214, 188, 120, 0.36));
  }
}
.nav__menu {
  display: none;
  align-items: center;
  gap: var(--sp-5);
}
@media (min-width: 900px) { .nav__menu { display: flex; } }

.nav__link {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  font-weight: 400;
  padding: 8px 0;
  position: relative;
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }
/* Dopo scroll: stesso blu, un po’ più coprente su sezioni chiare */
.nav.scrolled {
  background: rgba(18, 52, 90, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(201, 169, 97, 0.15);
  box-shadow: 0 12px 40px rgba(6, 26, 48, 0.18);
}
.nav.scrolled .nav__link,
.nav.scrolled .nav__toggle {
  text-shadow: none;
  filter: none;
}

/* Mobile toggle */
.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  color: var(--ivory);
}
@media (min-width: 900px) { .nav__toggle { display: none; } }
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--blue-deep);
  padding: var(--sp-6) var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  z-index: 99;
}
.nav.open .nav__mobile {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav__mobile .nav__link {
  font-size: 1.1rem;
  padding: var(--sp-2) 0;
  border-bottom: 1px solid rgba(201, 169, 97, 0.12);
}

/* === HERO =============================================================== */
.hero {
  position: relative;
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--ivory);
  text-align: center;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--blue-deep);
}
.hero__media video,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Nessun filter sul video: brightness/saturate su H.264 amplificano artefatti e sembrano “bassa qualità”. */
.hero__media img {
  filter: brightness(1.2) saturate(1.08);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,26,48,0.18) 0%, rgba(6,26,48,0.07) 40%, rgba(6,26,48,0.22) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  padding: 0 var(--sp-3);
}
.hero__inner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(960px, 92vw);
  height: clamp(220px, 36vw, 340px);
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(6, 26, 48, 0.48) 0%, rgba(6, 26, 48, 0.22) 52%, rgba(6, 26, 48, 0) 100%);
  filter: blur(2px);
  z-index: -1;
  pointer-events: none;
}
.hero__title {
  margin: var(--sp-3) 0 var(--sp-3);
  color: var(--ivory);
  text-shadow: 0 3px 26px rgba(6, 26, 48, 0.78), 0 2px 6px rgba(6, 26, 48, 0.95);
}
.hero__subtitle {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto var(--sp-5);
  color: rgba(247, 245, 240, 1);
  text-shadow: 0 3px 18px rgba(6, 26, 48, 0.75), 0 1px 3px rgba(6, 26, 48, 0.95);
}
.hero .eyebrow {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-shadow: 0 2px 8px rgba(6, 26, 48, 0.75), 0 1px 2px rgba(6, 26, 48, 0.95);
}
@keyframes heroShimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero .eyebrow { color: var(--gold); }
}
.hero__cta { justify-content: center; }
.hero__scroll {
  position: absolute;
  bottom: var(--sp-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--gold);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  animation: scrollBounce 2.4s ease-in-out infinite;
}
.hero__scroll svg { width: 14px; height: 28px; }
@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.85; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* Hero + contatti: griglia sovrapposta (niente absolute sul blocco video), modulo largo a destra */
#hero.hero.hero--split-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  justify-items: stretch;
  overflow-x: visible;
  text-align: center;
  /* Nessun padding-top qui: altrimenti sopra la griglia resta la “fascia” del body (avorio) tra header e video */
  /* Nessun padding-bottom: altrimenti resta una fascia blu (--blue-deep) tra hero e #itinerario */
  padding: 0;
  min-height: 100svh;
  background: var(--blue-deep);
}
#hero.hero.hero--split-contact > .hero__media {
  position: relative;
  inset: auto;
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  min-height: 100svh;
  height: 100%;
  z-index: 0;
}
#hero.hero.hero--split-contact > .container.hero-split {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  align-self: center;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-top: calc(var(--nav-h) + var(--sp-4));
  padding-left: clamp(10px, 2.2vw, var(--sp-4));
  padding-right: max(4px, env(safe-area-inset-right, 0px));
}
#hero.hero.hero--split-contact > .hero__inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding-top: calc(var(--nav-h) + var(--sp-4));
  padding-left: 0;
  padding-right: 0;
  padding-bottom: clamp(26px, 7vw, 68px);
  pointer-events: none;
}
#hero.hero.hero--split-contact > .hero__inner .hero-split__title {
  font-size: clamp(2.8rem, 7.6vw, 6.4rem);
  align-items: center;
  text-align: center;
  max-width: 22ch;
  margin: 0 auto;
  text-shadow: none;
}
#hero.hero.hero--split-contact > .hero__inner::before {
  content: none;
}
.hero--split-contact .hero__media::after {
  background: linear-gradient(
    105deg,
    rgba(6, 26, 48, 0.44) 0%,
    rgba(6, 26, 48, 0.26) 42%,
    rgba(6, 26, 48, 0.16) 100%
  );
}
#hero.hero.hero--split-contact > .hero__media video {
  filter: brightness(1.15) contrast(1.04) saturate(1.05);
}
.hero-split {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}
.hero-split__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
@media (min-width: 960px) {
  #hero .hero-split {
    display: grid;
    /* Colonna destra 1fr: il modulo può ancorarsi al bordo destro (justify-self: end) */
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    align-items: center;
    column-gap: clamp(var(--sp-2), 1.8vw, var(--sp-4));
    width: 100%;
  }
  .hero-split__copy {
    grid-column: 1;
    justify-self: center;
    align-items: center;
    text-align: center;
    max-width: 26rem;
    min-width: 0;
  }
  .hero-split__panel {
    grid-column: 2;
    justify-self: end;
    width: min(100%, 720px);
    max-width: 720px;
    position: static;
    z-index: 1;
    text-align: left;
  }
}
@media (min-width: 1320px) {
  #hero .hero-split {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  }
  .hero-split__panel {
    width: min(100%, 780px);
    max-width: 780px;
  }
}
.hero-split__title {
  font-family: var(--font-serif);
  /* Scala con la viewport: con nowrap serve che la riga più lunga stia in ~100vw */
  font-size: clamp(0.95rem, 5.5vw + 0.55rem, 3.75rem);
  font-weight: 400;
  line-height: 1.06;
  color: var(--ivory);
  text-shadow: 0 2px 28px rgba(6, 26, 48, 0.55), 0 1px 4px rgba(6, 26, 48, 0.65);
  max-width: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.04em;
}
.hero-split__title-line {
  display: block;
  white-space: nowrap;
}
.hero-split__accent {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.hero-split__meta {
  margin-top: var(--sp-3);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2) var(--sp-5);
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(247, 245, 240, 0.95);
}
.hero-split__meta a {
  border-bottom: 1px solid rgba(247, 245, 240, 0.35);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.hero-split__meta a:hover {
  border-bottom-color: var(--gold-light);
  color: var(--gold-light);
}
.hero-split__panel {
  position: static;
  width: 100%;
  max-width: min(100%, 560px);
  align-self: center;
  padding: calc(var(--sp-5) + 4px) var(--sp-5) var(--sp-5);
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hero-split__panel-head {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: var(--sp-2);
  text-wrap: balance;
  text-shadow:
    0 1px 3px rgba(6, 26, 48, 0.95),
    0 2px 28px rgba(6, 26, 48, 0.72);
}
.hero-split__panel-sub {
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  color: rgba(247, 245, 240, 0.92);
  margin-bottom: var(--sp-5);
  line-height: 1.6;
  text-shadow:
    0 1px 3px rgba(6, 26, 48, 0.92),
    0 1px 20px rgba(6, 26, 48, 0.62);
}

/* Form nel pannello (etichette, campi crema, CTA) */
.form--hero-panel {
  width: 100%;
  max-width: none;
  gap: var(--sp-4);
}
.form--hero-panel .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form--hero-panel .field label {
  position: static;
  pointer-events: auto;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(234, 217, 168, 0.95);
  text-shadow:
    0 1px 3px rgba(6, 26, 48, 0.95),
    0 1px 14px rgba(6, 26, 48, 0.62);
}
.form--hero-panel .field input,
.form--hero-panel .field select,
.form--hero-panel .field textarea {
  background: #f3f1eb;
  color: var(--blue-deep);
  border: 1px solid rgba(6, 26, 48, 0.1);
  border-radius: var(--radius);
  padding: 13px 15px;
  font-weight: 400;
  min-height: 48px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form--hero-panel .field textarea {
  min-height: 96px;
  resize: vertical;
}
.form--hero-panel .field select {
  background-color: #f3f1eb;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23061A30' stroke-width='1.5'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 38px;
}
.form--hero-panel .field option {
  background: #f3f1eb;
  color: var(--blue-deep);
}
.form--hero-panel .field input:focus,
.form--hero-panel .field select:focus,
.form--hero-panel .field textarea:focus {
  outline: none;
  border-color: rgba(214, 188, 120, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 0 0 1px rgba(214, 188, 120, 0.28);
}
.form--hero-panel .field--error input,
.form--hero-panel .field--error select,
.form--hero-panel .field--error textarea {
  border-color: rgba(200, 100, 80, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.form--hero-panel .field__error {
  color: #f5d0c8;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(6, 26, 48, 0.75);
}
.check--panel {
  color: rgba(247, 245, 240, 0.92);
  font-size: 0.8125rem;
  text-shadow:
    0 1px 3px rgba(6, 26, 48, 0.92),
    0 1px 14px rgba(6, 26, 48, 0.55);
}
.check--panel a {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(234, 217, 168, 0.4);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.check--panel a:hover {
  color: var(--ivory);
  border-bottom-color: rgba(247, 245, 240, 0.55);
}
.form--hero-panel .form__status {
  color: rgba(247, 245, 240, 0.98);
  font-weight: 500;
  text-shadow:
    0 1px 3px rgba(6, 26, 48, 0.9),
    0 1px 14px rgba(6, 26, 48, 0.6);
}
.form--hero-panel .form__status.is-error {
  color: #f5d4cc;
  text-shadow:
    0 1px 3px rgba(6, 26, 48, 0.9),
    0 1px 14px rgba(6, 26, 48, 0.65);
}
.hero-panel__submit {
  align-self: flex-end;
  margin-top: var(--sp-1);
  padding: 15px 32px;
  background: transparent;
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid rgba(214, 188, 120, 0.45);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}
.hero-panel__submit:hover {
  background: rgba(214, 188, 120, 0.14);
  border-color: rgba(234, 217, 168, 0.65);
  color: var(--gold-light);
}
.hero-panel__submit:focus-visible {
  outline: 2px solid rgba(234, 217, 168, 0.85);
  outline-offset: 3px;
}
.check--panel input {
  accent-color: rgba(214, 188, 120, 0.85);
}
.mobile-contact-slot {
  display: block;
  background: var(--blue-deep);
  padding: var(--sp-6) 0;
}
.mobile-contact-slot > .container {
  max-width: none;
  width: 100%;
  padding-left: clamp(20px, 4vw, 56px);
  padding-right: clamp(20px, 4vw, 56px);
}
.mobile-contact-slot .hero-split__copy {
  align-items: flex-start;
  text-align: left;
}
@media (min-width: 960px) {
  .mobile-contact-slot > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 720px);
    align-items: center;
    column-gap: clamp(var(--sp-5), 5vw, var(--sp-8));
  }
  .mobile-contact-slot .hero-split__copy {
    grid-column: 1;
    align-self: center;
    transform: translateY(clamp(12px, 1.6vw, 26px));
  }
  .mobile-contact-slot .hero-split__panel {
    grid-column: 2;
    width: 100%;
    max-width: 100%;
    justify-self: end;
  }
}
@media (max-width: 959px) {
  #hero.hero.hero--split-contact {
    grid-template-rows: auto auto;
    min-height: 0;
    overflow: visible;
    padding-top: var(--nav-h);
  }
  #hero.hero.hero--split-contact > .hero__media {
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
  }
  #hero.hero.hero--split-contact > .hero__media video {
    object-position: 50% 50%;
  }
  #hero.hero.hero--split-contact > .hero__media::after {
    background: linear-gradient(180deg, rgba(6, 26, 48, 0.22), rgba(6, 26, 48, 0.11));
  }
  #hero.hero.hero--split-contact > .hero__inner {
    inset: 0;
    align-items: flex-end;
    padding-top: calc(var(--nav-h) + var(--sp-2));
    padding-bottom: clamp(18px, 6vw, 34px);
  }
  #hero.hero.hero--split-contact > .container.hero-split {
    display: contents;
    padding: 0;
  }
  #hero .hero-split__copy {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    align-items: flex-start;
    justify-self: stretch;
    width: 100%;
    padding: clamp(32px, 9vw, 56px) clamp(22px, 5vw, 32px) clamp(24px, 7vw, 40px);
    background:
      linear-gradient(180deg, rgba(6, 26, 48, 0.78), rgba(6, 26, 48, 0.9)),
      url("../assets/hero/mobile-720x1280.jpg") center bottom / cover;
    text-align: left;
  }
  #hero .hero-split__title {
    align-items: flex-start;
    color: var(--ivory);
    font-size: clamp(2.2rem, 9.5vw, 3.65rem);
    line-height: 1.08;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 22px rgba(6, 26, 48, 0.75), 0 1px 4px rgba(6, 26, 48, 0.9);
    text-transform: uppercase;
  }
  #hero .hero-split__meta {
    display: none;
  }
  .hero-split__panel {
    grid-column: 1;
    grid-row: 3;
    max-width: none;
    padding: var(--sp-4) var(--sp-4) var(--sp-5);
    background: var(--blue-deep);
  }
  .mobile-contact-slot {
    padding: 0 0 var(--sp-2);
  }
}
.hero--split-contact .hero-split .reveal {
  opacity: 1;
  transform: none;
}

/* === ITINERARIO ========================================================= */
#itinerario.section {
  /* Almeno un “schermo” di altezza: evita di vedere insieme hero (mare) e sezione successiva (blu) */
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-8);
}
#itinerario .eyebrow {
  font-size: 0.9375rem;
  letter-spacing: 0.24em;
}
#itinerario .h2 {
  font-size: clamp(2.35rem, 5vw, 4.15rem);
}
#itinerario .itinerario__lead {
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 560px;
}
#itinerario .service-item__title {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
}
#itinerario .service-item__desc {
  font-size: 1.125rem;
  line-height: 1.65;
}
@media (min-width: 900px) {
  #itinerario .itinerario__lead { font-size: 1.3125rem; }
  #itinerario .service-item__desc { font-size: 1.1875rem; }
}

.itinerario__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: start;
}
@media (min-width: 900px) {
  .itinerario__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
}
.itinerario__lead {
  font-size: 1.125rem;
  color: var(--blue-mid);
  max-width: 500px;
}
.service-list { display: flex; flex-direction: column; }
.service-item {
  display: grid;
  grid-template-columns: minmax(40px, 56px) minmax(0, 1fr);
  gap: var(--sp-3);
  padding: var(--sp-4) 0;
  border-top: 1px solid rgba(10, 37, 64, 0.12);
  align-items: start;
}
.service-item:last-child { border-bottom: 1px solid rgba(10, 37, 64, 0.12); }
.service-item__icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  flex-shrink: 0;
}
.service-item__icon svg { width: 100%; height: 100%; }
.service-item__title {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: var(--sp-1);
}
.service-item__desc {
  font-size: 1rem;
  color: var(--blue-mid);
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* === CHI SIAMO (full-bleed hero, copy a destra) =========================== */
.chisiamo--hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* min-height calibrato: la sezione cresce col contenuto ma il padding
     verticale resta misurato così da non far finire il blocco "02 Catamarani"
     fuori dalla fold dopo il click in navbar. */
  min-height: clamp(440px, 68svh, 780px);
  padding-block: clamp(2rem, 4.5vw, 3rem);
  overflow: hidden;
  color: var(--ivory);
  text-align: start;
}
.chisiamo--hero .eyebrow {
  color: var(--gold);
  font-size: 0.9375rem;
  letter-spacing: 0.24em;
  text-shadow: 0 2px 10px rgba(6, 26, 48, 0.75), 0 1px 2px rgba(6, 26, 48, 0.9);
}
.chisiamo__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.chisiamo__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* barca a sinistra, fascia blu scuro a destra per il testo */
  object-position: 28% 45%;
}
.chisiamo__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(6, 26, 48, 0.22) 0%,
    rgba(6, 26, 48, 0.28) 38%,
    rgba(6, 26, 48, 0.52) 72%,
    rgba(6, 26, 48, 0.62) 100%
  ),
    linear-gradient(
      180deg,
      rgba(6, 26, 48, 0.45) 0%,
      rgba(6, 26, 48, 0.12) 45%,
      rgba(6, 26, 48, 0.5) 100%
    );
}
.chisiamo__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 90% at 82% 50%,
    rgba(6, 26, 48, 0.45) 0%,
    rgba(6, 26, 48, 0.12) 55%,
    transparent 72%
  );
}
.chisiamo__hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.chisiamo--hero .chisiamo__copy {
  min-width: 0;
  width: 100%;
  max-width: min(38rem, 100%);
  margin-inline: 0;
  text-align: start;
}
@media (max-width: 767px) {
  .chisiamo__backdrop img {
    object-position: 50% 45%;
  }
  .chisiamo__hero-inner {
    justify-content: center;
  }
  .chisiamo--hero .chisiamo__copy {
    max-width: 40rem;
  }
}
.chisiamo__title {
  color: var(--ivory);
  margin-bottom: var(--sp-3);
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  line-height: 1.12;
  text-shadow: 0 3px 26px rgba(6, 26, 48, 0.78), 0 2px 6px rgba(6, 26, 48, 0.95);
}
.chisiamo--hero .chisiamo__copy p {
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.58;
  margin-bottom: 0.75rem;
  color: rgba(247, 245, 240, 0.96);
  overflow-wrap: anywhere;
  text-shadow: 0 2px 14px rgba(6, 26, 48, 0.72), 0 1px 3px rgba(6, 26, 48, 0.88);
  text-align: start;
}
.chisiamo--hero .chisiamo__copy p:last-of-type {
  margin-bottom: var(--sp-3);
}
/* Testo sempre visibile (niente “scomparsa” in attesa dell’animazione reveal) */
#chisiamo .reveal {
  opacity: 1;
  transform: none;
}
@media (min-width: 900px) {
  .chisiamo--hero .chisiamo__copy p {
    font-size: 1.0625rem;
    line-height: 1.62;
  }
}
.chisiamo__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  margin-bottom: 0;
  padding-top: var(--sp-3);
  padding-bottom: 0;
  border-top: 1px solid rgba(201, 169, 97, 0.28);
  max-width: none;
  margin-inline: 0;
  justify-items: center;
  text-align: center;
}
.chisiamo--hero .stat__num {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.1;
}
.chisiamo--hero .stat__label {
  font-size: clamp(0.8125rem, 1.7vw, 0.9375rem);
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(247, 245, 240, 0.92);
  margin-top: 6px;
  line-height: 1.45;
  font-weight: 500;
}
.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--gold);
  display: block;
  line-height: 1;
}
.stat__label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.7);
  margin-top: var(--sp-1);
  display: block;
}

/* === FLEET CARDS ======================================================== */
#flotta.section {
  padding-top: clamp(2rem, 4.5vw, 56px);
  padding-bottom: clamp(2rem, 4.5vw, 56px);
}
#flotta .fleet__head {
  margin-bottom: var(--sp-4);
}
#flotta .fleet__head .divider-gold {
  margin: var(--sp-2) auto;
}
#flotta .fleet__head .h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.75rem);
  line-height: 1.12;
}
#flotta .fleet__grid {
  gap: var(--sp-4);
}
@media (min-width: 900px) {
  #flotta .fleet__grid {
    gap: var(--sp-4);
  }
}
#flotta .fleet-card__media {
  aspect-ratio: 16 / 9;
}
@media (min-width: 900px) {
  #flotta .fleet-card__media {
    aspect-ratio: 16 / 9;
  }
}
#flotta .fleet-card__body {
  padding: var(--sp-3) var(--sp-3) var(--sp-3);
}
#flotta .fleet-card__name {
  margin-bottom: 6px;
}
#flotta .fleet-card__desc {
  margin-bottom: var(--sp-2);
}
#flotta .fleet-card__cta {
  padding-top: var(--sp-2);
}
#flotta .fleet-card__eyebrow {
  font-size: clamp(0.6875rem, 1.6vw, var(--fs-eyebrow));
  margin-bottom: 4px;
}
#flotta .fleet-card__name {
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  margin-bottom: var(--sp-1);
}
#flotta .fleet-card__desc {
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: var(--sp-2);
}
#flotta .fleet-card__cta {
  padding-top: var(--sp-2);
}
#flotta .reveal {
  opacity: 1;
  transform: none;
}

.fleet__head { text-align: center; margin-bottom: var(--sp-6); }
.fleet__head .divider-gold { margin: var(--sp-3) auto; }

.fleet__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 900px) {
  .fleet__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
}

.fleet-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  color: var(--blue-deep);
}
.fleet-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--blue-deep);
}
.fleet-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.fleet-card:hover .fleet-card__media img { transform: scale(1.05); }

.fleet-card__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: var(--sp-2);
  background: linear-gradient(135deg, var(--blue-sea), var(--blue-deep));
  color: var(--gold);
  text-align: center;
  padding: var(--sp-4);
}
.fleet-card__placeholder svg { width: 56px; height: 56px; opacity: 0.6; }
.fleet-card__placeholder p {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.fleet-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--sp-4) var(--sp-3) var(--sp-5);
}
.fleet-card__eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: var(--sp-1);
}
.fleet-card__name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-2);
}
.fleet-card__desc {
  color: var(--blue-mid);
  margin-bottom: var(--sp-3);
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.fleet-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-deep);
  font-weight: 500;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--gold);
  width: 100%;
  transition: color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.fleet-card__cta svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.fleet-card:hover .fleet-card__cta { color: var(--gold); gap: 14px; }
.fleet-card:hover .fleet-card__cta svg { transform: translateX(4px); }

/* === FLOTTA CTA — banner full-width (sfondo mare) ======================= */
.fleet-cta {
  --fleet-cta-accent: #2a7ab8;
  position: relative;
  isolation: isolate;
  min-height: clamp(280px, 42svh, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(var(--sp-5), 6vw, var(--sp-7)) var(--sp-3);
}
.fleet-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--blue-deep);
  background-image: url("../assets/cta-sea-water.png");
  background-size: cover;
  background-position: center center;
}
.fleet-cta__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(6, 26, 48, 0.5) 0%,
    rgba(6, 26, 48, 0.78) 100%
  );
}
.fleet-cta .container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}
.fleet-cta__inner {
  display: flex;
  justify-content: center;
  width: 100%;
}
.fleet-cta__content {
  width: min(100%, 560px);
  text-align: left;
  color: var(--ivory);
}
.fleet-cta__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.1vw, 2.05rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-2);
  color: var(--white);
}
.fleet-cta__rule {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--fleet-cta-accent);
  border-radius: 2px;
  margin-bottom: var(--sp-3);
}
.fleet-cta__text {
  font-size: clamp(0.9375rem, 0.9rem + 0.28vw, 1.0625rem);
  line-height: 1.62;
  color: rgba(247, 245, 240, 0.92);
  margin: 0 0 var(--sp-5);
  max-width: 52ch;
}
.fleet-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px clamp(1.25rem, 4vw, 1.75rem);
  border-radius: 9999px;
  background: var(--fleet-cta-accent);
  border: 1px solid transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(0.6875rem, 0.65rem + 0.2vw, 0.75rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.fleet-cta__btn:hover,
.fleet-cta__btn:focus-visible {
  background: #3d92d4;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.fleet-cta__btn:focus-visible {
  outline: 2px solid var(--ivory);
  outline-offset: 3px;
}
.fleet-cta__btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease);
}
.fleet-cta__btn:hover svg,
.fleet-cta__btn:focus-visible svg {
  transform: translateX(3px);
}

@media print {
  .fleet-cta {
    min-height: auto;
    padding: var(--sp-5) 0;
    break-inside: avoid;
  }
  .fleet-cta__bg {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

/* === CONTATTI / FORM ==================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
}
.contact__lead {
  color: rgba(247, 245, 240, 0.8);
  margin-bottom: var(--sp-5);
  max-width: 440px;
}
.contact-info { display: flex; flex-direction: column; gap: var(--sp-3); }
.contact-info__item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--sp-2);
  align-items: center;
  font-size: 1rem;
  color: var(--ivory);
}
.contact-info__item svg { width: 20px; height: 20px; color: var(--gold); }

/* Form */
.form { display: flex; flex-direction: column; gap: var(--sp-4); }
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { position: relative; }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(247, 245, 240, 0.25);
  color: var(--ivory);
  padding: 22px 0 10px;
  font-size: 1rem;
  font-weight: 300;
  transition: border-color var(--dur) var(--ease);
  border-radius: 0;
  font-family: inherit;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A961' stroke-width='1.5'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 0 center; background-size: 16px; padding-right: 28px; }
.field option { background: var(--blue-deep); color: var(--ivory); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.field label {
  position: absolute;
  left: 0;
  top: 22px;
  font-size: 1rem;
  color: rgba(247, 245, 240, 0.55);
  pointer-events: none;
  transition: top var(--dur) var(--ease), font-size var(--dur) var(--ease), color var(--dur) var(--ease), letter-spacing var(--dur) var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field select.has-value + label,
.field--always label {
  top: 0;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.field--error input,
.field--error select,
.field--error textarea { border-bottom-color: #D97A5E; }
.field__error {
  font-size: 0.75rem;
  color: #E5947C;
  margin-top: 6px;
  letter-spacing: 0.06em;
  display: none;
}
.field--error .field__error { display: block; }

.check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--fs-small);
  color: rgba(247, 245, 240, 0.78);
  cursor: pointer;
}
.check input {
  margin-top: 4px;
  accent-color: var(--gold);
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.form__submit { align-self: flex-start; }
.form__status {
  font-size: var(--fs-small);
  letter-spacing: 0.05em;
  color: var(--gold-light);
  display: none;
}
.form__status.is-visible { display: block; }
.form__status.is-error { color: #E5947C; }

/* === FOOTER ============================================================= */
.footer {
  background: var(--blue-deep);
  color: rgba(247, 245, 240, 0.7);
  padding: var(--sp-3) 0 var(--sp-2);
  border-top: 1px solid rgba(201, 169, 97, 0.18);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}
@media (min-width: 700px) {
  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: var(--sp-3); }
}
.footer__brand { display: flex; flex-direction: column; gap: 6px; }
.footer__brand-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(4px, 1.2vw, 8px);
  max-width: 100%;
}
.footer__brand-logo {
  height: auto;
  object-fit: contain;
  opacity: 1;
  mix-blend-mode: normal;
  filter: none;
  animation: none;
  transition: none;
}
.footer__brand-logo--logo1 {
  width: clamp(44px, 11vw, 64px);
  height: auto;
}
.footer__brand-logo--logo2 {
  width: min(220px, calc(100% - 0.5rem));
  flex: 1 1 130px;
  min-width: 0;
  height: auto;
  margin-left: clamp(2px, 0.6vw, 4px);
}
.footer__brand p {
  color: rgba(247, 245, 240, 0.55);
  font-size: 0.8125rem;
  line-height: 1.3;
  max-width: 280px;
}

.footer__title {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  display: block;
}
.footer__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8125rem;
  color: rgba(247, 245, 240, 0.75);
}
.footer__list li { line-height: 1.35; }
.footer__list a {
  color: inherit;
  font-size: inherit;
  transition: color var(--dur) var(--ease);
}
.footer__list a:hover { color: var(--gold); }
.footer__legal {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  row-gap: 2px;
}
.footer__legal a,
.footer-cookie-btn {
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.75);
  transition: color var(--dur) var(--ease);
}
.footer__legal a:hover,
.footer-cookie-btn:hover { color: var(--gold); }
.footer-cookie-btn {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.footer__social { display: flex; gap: 6px; margin-top: var(--sp-1); }
.footer__social a,
.footer__social .footer__social-link {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201, 169, 97, 0.4);
  color: var(--gold);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.footer__social a:hover { background: var(--gold); color: var(--blue-deep); }
.footer__social .footer__social-link[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.footer__social svg { width: 12px; height: 12px; }

.footer__copyright {
  grid-column: 1;
  grid-row: 1;
  color: rgba(247, 245, 240, 0.5);
}
.footer__bottom .footer__legal {
  grid-column: 1;
  grid-row: 2;
}
.footer__bottom {
  padding-top: var(--sp-1);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: clamp(10px, 2.5vw, 20px);
  row-gap: 3px;
  align-items: center;
  font-size: clamp(0.625rem, 1.6vw, 0.6875rem);
  color: rgba(247, 245, 240, 0.5);
  letter-spacing: 0.05em;
}
.footer__bottom .footer__dev-link {
  grid-column: 2;
  grid-row: 1 / -1;
  justify-self: end;
  align-self: center;
}
@media (max-width: 560px) {
  .footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .footer__copyright,
  .footer__bottom .footer__legal,
  .footer__bottom .footer__dev-link {
    grid-column: unset;
    grid-row: unset;
    justify-self: unset;
    align-self: unset;
  }
  .footer__bottom .footer__dev-link { align-self: flex-start; }
}
.footer__dev-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(247, 245, 240, 0.7);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: none;
}
.footer__dev-link:hover { color: var(--gold); }
.footer__dev-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

@media (max-width: 699px) {
  .footer {
    padding: var(--sp-5) 0 calc(var(--sp-4) + env(safe-area-inset-bottom, 0px));
    background:
      radial-gradient(circle at 50% 0%, rgba(214, 188, 120, 0.12), transparent 42%),
      var(--blue-deep);
  }
  .footer .container {
    padding-inline: clamp(18px, 6vw, 28px);
  }
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-4) var(--sp-3);
    padding-bottom: var(--sp-4);
  }
  .footer__brand {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
    gap: var(--sp-2);
  }
  .footer__brand-logos {
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  .footer__brand-logo--logo1 {
    width: 58px;
  }
  .footer__brand-logo--logo2 {
    flex: 0 1 auto;
    width: min(230px, calc(100vw - 120px));
    margin-left: 0;
  }
  .footer__brand p {
    max-width: 19rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(247, 245, 240, 0.68);
  }
  .footer__grid > div:nth-child(n + 2) {
    min-width: 0;
    padding-top: var(--sp-3);
    border-top: 1px solid rgba(214, 188, 120, 0.18);
  }
  .footer__title {
    margin-bottom: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
  }
  .footer__list {
    gap: 9px;
    font-size: 0.875rem;
    line-height: 1.45;
  }
  .footer__list li,
  .footer__list a {
    overflow-wrap: anywhere;
  }
  .footer__grid > div:nth-child(3) {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer__grid > div:nth-child(3) .footer__title {
    display: none;
  }
  .footer__grid > div:nth-child(3) .footer__list {
    align-items: center;
    margin-top: 0;
  }
  .footer__social {
    gap: 10px;
    justify-content: center;
    margin-top: var(--sp-3);
  }
  .footer__social a,
  .footer__social .footer__social-link {
    width: 38px;
    height: 38px;
    background: rgba(247, 245, 240, 0.04);
  }
  .footer__social svg {
    width: 15px;
    height: 15px;
  }
  .footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-3);
    padding-top: var(--sp-4);
    text-align: center;
    font-size: 0.72rem;
    line-height: 1.55;
  }
  .footer__copyright {
    max-width: 18rem;
    color: rgba(247, 245, 240, 0.58);
  }
  .footer__bottom .footer__legal {
    justify-content: center;
    gap: 8px;
  }
  .footer__legal a,
  .footer-cookie-btn {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 11px;
    border: 1px solid rgba(214, 188, 120, 0.22);
    border-radius: 999px;
    background: rgba(247, 245, 240, 0.035);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }
  .footer__bottom .footer__dev-link {
    align-self: center;
    justify-content: center;
    color: rgba(247, 245, 240, 0.62);
  }
  .footer__dev-logo {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 430px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__brand,
  .footer__grid > div:nth-child(n + 2) {
    grid-column: 1;
  }
  .footer__grid > div:nth-child(n + 2) {
    text-align: center;
  }
  .footer__list,
  .footer__social {
    align-items: center;
    justify-content: center;
  }
}

/* === LEGAL PAGES ========================================================= */
.legal-main { padding-top: var(--nav-h); }
.legal-hero {
  padding: var(--sp-6) 0 var(--sp-4);
  background: var(--blue-sea);
  color: var(--ivory);
}
.legal-hero p { max-width: 760px; color: rgba(247, 245, 240, 0.82); }
.legal-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--ivory);
  margin-bottom: var(--sp-3);
}
.legal-content {
  padding: var(--sp-6) 0;
  background: var(--ivory);
}
.legal-copy {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.legal-copy h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.2;
  color: var(--blue-deep);
}
.legal-copy p,
.legal-copy li { color: var(--blue-mid); font-size: 1rem; }
.legal-copy ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* === COOKIE BANNER ======================================================= */
.cookie-banner {
  position: fixed;
  right: clamp(12px, 3vw, 24px);
  bottom: clamp(12px, 3vw, 24px);
  z-index: 300;
  width: min(560px, calc(100vw - 32px));
  background: rgba(6, 26, 48, 0.98);
  color: var(--ivory);
  border: 1px solid rgba(201, 169, 97, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  padding: var(--sp-3);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner__title {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.cookie-banner__text {
  font-size: 0.95rem;
  color: rgba(247, 245, 240, 0.88);
  margin-bottom: var(--sp-3);
}
.cookie-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: var(--sp-3);
}
.cookie-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.9rem;
}
.cookie-option input { margin-top: 2px; accent-color: var(--gold); }
.cookie-option strong { display: block; color: var(--ivory); font-weight: 500; }
.cookie-option span { display: block; color: rgba(247, 245, 240, 0.7); font-size: 0.82rem; }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-btn {
  border: 1px solid var(--gold);
  padding: 10px 18px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.cookie-btn:hover { background: var(--gold); color: var(--blue-deep); }
.cookie-btn--solid {
  background: var(--gold);
  color: var(--blue-deep);
}
.cookie-btn--solid:hover { background: var(--gold-light); border-color: var(--gold-light); }

@media (max-width: 560px) {
  .cookie-banner {
    left: clamp(10px, 3vw, 16px);
    right: clamp(10px, 3vw, 16px);
    width: auto;
  }
}

/* === YACHT PAGE ========================================================= */
.yacht-hero {
  position: relative;
  height: auto;
  min-height: clamp(22rem, 70vh, 52rem);
  min-height: clamp(22rem, 70svh, 52rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--ivory);
}
.yacht-hero__media { position: absolute; inset: 0; z-index: 0; }
.yacht-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.yacht-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,26,48,0.25) 0%, rgba(6,26,48,0.5) 60%, rgba(6,26,48,0.9) 100%);
}
.yacht-hero__inner { position: relative; z-index: 1; padding-bottom: var(--sp-7); }
.yacht-hero__name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(3.5rem, 9vw, 7rem);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-top: var(--sp-3);
}

.yacht-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: start;
}
@media (min-width: 900px) {
  .yacht-intro__grid { grid-template-columns: 1.3fr 1fr; gap: var(--sp-7); }
}
.yacht-intro__copy p { margin-bottom: var(--sp-3); font-size: clamp(1rem, 2.5vw, 1.0625rem); color: var(--blue-mid); }
.yacht-intro__copy p:first-of-type::first-letter { font-family: var(--font-serif); font-size: 3.5em; float: left; line-height: 0.9; margin: 8px 10px 0 -2px; color: var(--gold); font-weight: 400; }
@media (max-width: 600px) {
  .yacht-intro__copy p:first-of-type::first-letter {
    font-size: 2.6em;
    margin: 4px 8px 0 0;
  }
}
.yacht-intro__copy p.yacht-intro__lead--plain::first-letter {
  font-family: inherit;
  font-size: inherit;
  float: none;
  line-height: inherit;
  margin: 0;
  color: inherit;
  font-weight: inherit;
}
.yacht-intro__onboard-heading {
  margin-top: 0;
  margin-bottom: var(--sp-2);
  font-size: clamp(1rem, 2.5vw, 1.0625rem);
  color: var(--blue-mid);
}
.yacht-intro__onboard-list {
  margin: 0 0 var(--sp-3);
  padding-left: 1.2rem;
  list-style: disc;
  color: var(--blue-mid);
  font-size: clamp(1rem, 2.5vw, 1.0625rem);
  line-height: 1.55;
}
.yacht-intro__onboard-list li {
  margin-bottom: var(--sp-1);
}
.yacht-intro__onboard-list li:last-child {
  margin-bottom: 0;
}

.yacht-intro__aside {
  display: grid;
  gap: var(--sp-4);
}

.specs-card {
  background: var(--white);
  padding: var(--sp-5) var(--sp-4);
  border-top: 3px solid var(--gold);
}
.specs-card__title {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}
.specs-list { display: flex; flex-direction: column; }
.specs-list__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-2);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid rgba(10, 37, 64, 0.1);
  font-size: var(--fs-small);
}
.specs-list__row:last-child { border-bottom: 0; }
.specs-list__label {
  color: var(--stone);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  min-width: min(100%, 12rem);
  flex: 1 1 auto;
}
.specs-list__value {
  color: var(--blue-deep);
  font-weight: 500;
  text-align: right;
  min-width: 0;
  flex: 0 1 auto;
}
@media (max-width: 480px) {
  .specs-list__row {
    flex-direction: column;
    align-items: flex-start;
  }
  .specs-list__value {
    text-align: left;
    width: 100%;
  }
}

/* Gallery editorial layout */
.gallery__head { text-align: center; margin-bottom: var(--sp-5); }
.gallery__head .divider-gold { margin: var(--sp-3) auto; }
.gallery-grid {
  display: grid;
  gap: var(--sp-2);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(180px, auto); }
}
.gallery-item {
  overflow: hidden;
  background: var(--blue-deep);
  cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); aspect-ratio: 4 / 3; }
.gallery-item:hover img { transform: scale(1.04); }

@media (min-width: 700px) {
  .gallery-item img { aspect-ratio: auto; height: 100%; }
  .gallery-item { grid-column: span 3; grid-row: span 2; }
  .gallery-item--wide { grid-column: span 6; grid-row: span 2; }
  .gallery-item--tall { grid-column: span 2; grid-row: span 3; }
  .gallery-item--sq { grid-column: span 2; grid-row: span 2; }
  .gallery-item--md { grid-column: span 4; grid-row: span 2; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 26, 48, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__img {
  max-width: min(92vw, 100%);
  max-height: min(86vh, 86dvh);
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox__btn {
  position: absolute;
  color: var(--ivory);
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(247, 245, 240, 0.3);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.lightbox__btn:hover { background: var(--gold); color: var(--blue-deep); border-color: var(--gold); }
.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__btn svg { width: 18px; height: 18px; }
.lightbox__counter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* Specs full section (dark) */
.specs-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 900px) {
  .specs-full { grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
}
.specs-full .specs-list__row {
  border-bottom-color: rgba(201, 169, 97, 0.18);
}
.specs-full .specs-list__label { color: rgba(247, 245, 240, 0.55); }
.specs-full .specs-list__value { color: var(--ivory); }

.layout-list { padding: 0; }
.layout-list li {
  padding: var(--sp-3) 0 var(--sp-3) var(--sp-4);
  border-bottom: 1px solid rgba(201, 169, 97, 0.18);
  position: relative;
  color: rgba(247, 245, 240, 0.88);
  font-size: 1rem;
}
.layout-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 28px;
  width: 16px; height: 1px;
  background: var(--gold);
}

/* CTA final */
.cta-final { text-align: center; }
.cta-final .h2 { max-width: 720px; margin: 0 auto var(--sp-4); }

/* Yacht placeholder banner */
.banner-soon {
  background: rgba(201, 169, 97, 0.1);
  border: 1px solid rgba(201, 169, 97, 0.3);
  color: var(--gold);
  padding: var(--sp-3) var(--sp-4);
  text-align: center;
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: var(--nav-h);
}

/* Placeholder block */
.placeholder-block {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--blue-sea), var(--blue-deep));
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: var(--sp-2);
  color: var(--gold);
  text-align: center;
  padding: var(--sp-4);
}
.placeholder-block svg { width: 48px; height: 48px; opacity: 0.55; }
.placeholder-block p {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* === REVEAL ANIMATIONS ================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--left { transform: translate(-24px, 10px); }
.reveal--right { transform: translate(24px, 10px); }
.reveal--up { transform: translateY(24px); }
.reveal--zoom { transform: translateY(18px) scale(0.97); }
.reveal--zoom.is-visible { transform: translateY(0) scale(1); }

[data-parallax="true"] {
  will-change: transform;
  transition: transform 180ms linear;
}

/* === FOCUS ============================================================== */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* === REDUCED MOTION ===================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  [data-parallax="true"] { transform: none !important; }
}
