/* Friss Global public site. Palette: navy, ocean blue, white, subtle gold. */
:root {
  --navy: #0b1f3a;
  --navy-2: #13305a;
  --ocean: #0e6f9a;
  --ocean-2: #0a5878;
  --ocean-light: #e6f3f9;
  --gold: #c9a24a;
  --gold-text: #7a5a14;
  --white: #ffffff;
  --mist: #f3f6fa;
  --ink: #14233a;
  --muted: #4d5d75;
  --line: #d9e1ec;
  --danger: #b42318;
  --success: #0f7b4b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.12);
  --shadow-lg: 0 20px 50px rgba(11, 31, 58, 0.25);
  --container: 1180px;
  --header-h: 76px;
  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: var(--ocean); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ocean-2); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 0.5em; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-text); font-weight: 600; margin-bottom: 0.6rem;
}
.section--navy .eyebrow { color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 68ch; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; }

/* ---------- Header and navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(11, 31, 58, 0.97); color: var(--white);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(201, 162, 74, 0.35);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.logo:hover { color: var(--white); }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; letter-spacing: 0.01em; }
.logo-tag { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }

.nav-toggle {
  display: none; background: transparent; border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white); border-radius: 10px; width: 44px; height: 44px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a {
  display: block; color: rgba(255, 255, 255, 0.9); text-decoration: none; font-weight: 500;
  padding: 10px 14px; border-radius: 999px; font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.1); }
.main-nav a[aria-current="page"] { color: var(--navy); background: var(--gold); font-weight: 600; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--navy);
    border-bottom: 1px solid rgba(201, 162, 74, 0.35); box-shadow: var(--shadow-lg);
    display: none; padding: 12px 16px 20px;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: #d9b15c; color: var(--navy); }
.btn-ocean { background: var(--ocean); color: var(--white); }
.btn-ocean:hover { background: var(--ocean-2); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.85); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 9px 16px; min-height: 40px; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 820px); display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11, 31, 58, 0.9) 0%, rgba(11, 31, 58, 0.55) 55%, rgba(11, 31, 58, 0.25) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 100px 0 80px;  }
.hero h1 { color: var(--white); margin-bottom: 0.4em; }
.hero h1 span { color: var(--gold); }
.hero .lead { color: rgba(255, 255, 255, 0.92); font-size: 1.2rem; }
.hero .eyebrow { color: var(--gold); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column; border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11, 31, 58, 0.18); }
.card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { color: var(--muted); margin: 0; }
.card-foot { margin-top: auto; padding-top: 8px; }
.tag {
  display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 999px; background: var(--ocean-light); color: var(--ocean-2);
}
.tag-sample { background: #fff4d6; color: var(--gold-text); border: 1px solid #e8cf86; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { padding-left: 26px; position: relative; color: var(--muted); }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 0.5em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); box-shadow: inset 0 0 0 4px var(--navy);
}
.section--navy .checklist li { color: rgba(255, 255, 255, 0.85); }

.plain-figure { margin: 0; }
.card-caption { padding: 12px 16px; font-weight: 500; color: var(--navy); }

/* Ship feature cards */
.ship-card .card-img { aspect-ratio: 4 / 3; }

/* Destination tiles */
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px;
  display: flex; align-items: flex-end; color: var(--white); text-decoration: none; isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 31, 58, 0.92), rgba(11, 31, 58, 0.1) 65%); z-index: -1; }
.tile:hover img { transform: scale(1.05); }
.tile-body { padding: 24px; }
.tile-body h3 { color: var(--white); margin-bottom: 6px; }
.tile-body p { margin: 0; color: rgba(255, 255, 255, 0.9); font-size: 0.95rem; }
.tile:hover { color: var(--white); }

/* Split (about preview) */
.split { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr 1fr; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Feature icons */
.feature { padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.feature .num { font-family: var(--font-head); color: var(--gold-text); font-size: 1.6rem; display: block; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; }

/* Deals */
.deal-card .card-img { aspect-ratio: 16 / 10; }
.deal-meta { font-size: 0.95rem; color: var(--ocean-2); font-weight: 600; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn {
  font: inherit; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--navy);
  background: var(--white); color: var(--navy); cursor: pointer; font-weight: 500;
}
.filter-btn[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.gallery-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.gallery-item {
  margin: 0; border: 0; padding: 0; background: var(--navy); border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in; position: relative; text-align: left; color: var(--white);
}
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s, opacity 0.3s; }
.gallery-item:hover img { transform: scale(1.04); opacity: 0.9; }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  background: linear-gradient(to top, rgba(11, 31, 58, 0.9), transparent); font-size: 0.92rem;
}
.gallery-item[hidden] { display: none; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1200px); width: 100%; }
.lightbox::backdrop { background: rgba(5, 13, 25, 0.88); }
.lightbox figure { margin: 0; background: var(--navy); border-radius: var(--radius); overflow: hidden; }
.lightbox img { max-height: 78vh; width: 100%; object-fit: contain; background: #061124; }
.lightbox figcaption { color: var(--white); padding: 14px 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.lightbox-close {
  font: inherit; background: var(--gold); color: var(--navy); border: 0; border-radius: 999px; padding: 8px 18px; cursor: pointer; font-weight: 600;
}

/* Video hero backdrop */
.video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Ship detail */
.ship-hero { position: relative; min-height: 46vh; display: flex; align-items: flex-end; color: var(--white); background: var(--navy); }
.ship-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.ship-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--navy) 5%, rgba(11, 31, 58, 0.2)); }
.ship-hero .container { position: relative; z-index: 1; padding: 120px 0 44px; }
.ship-hero h1 { color: var(--white); }
.ship-hero .lead { color: rgba(255, 255, 255, 0.92); }
.facts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0; }
.fact { background: var(--mist); border-radius: var(--radius); padding: 20px; border-left: 4px solid var(--gold); }
.fact dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.fact dd { margin: 4px 0 0; font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); }
.placeholder-note {
  background: #fff8e6; border: 1px dashed #d8b35e; border-radius: 10px; padding: 12px 16px; color: var(--gold-text); font-size: 0.92rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, var(--ocean) 130%);
  color: var(--white); border-radius: calc(var(--radius) * 1.4); padding: clamp(32px, 5vw, 56px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-band h2 { color: var(--white); margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.9); }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 40px); }
.form-section { border: 0; padding: 0; margin: 0 0 36px; }
.form-section legend {
  font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); padding: 0 0 10px; margin-bottom: 18px;
  border-bottom: 2px solid var(--gold); width: 100%;
}
.form-grid { display: grid; gap: 18px 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); font-size: 0.95rem; }
.req::after { content: ' *'; color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid #b8c5d6; border-radius: 10px; background: var(--white); color: var(--ink);
  min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(14, 111, 154, 0.2); }
.field .hint { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.field .error { display: none; color: var(--danger); font-size: 0.88rem; margin-top: 6px; font-weight: 500; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #fff7f6; }
.field.has-error .error { display: block; }
.choice-group { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.choice { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.97rem; }
.choice input { width: 20px; height: 20px; accent-color: var(--navy); }
.choice-other-input { margin-top: 8px; }
.declaration { background: var(--mist); border-radius: 10px; padding: 16px 18px; font-size: 0.93rem; color: var(--muted); }
.form-alert { border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; font-weight: 500; display: none; }
.form-alert.is-visible { display: block; }
.form-alert--error { background: #fdecea; color: #7a1710; border: 1px solid #f3b8b1; }
.form-alert--success { background: #e7f6ee; color: #0b5c37; border: 1px solid #a9dfc2; }
.form-alert--info { background: var(--ocean-light); color: var(--ocean-2); border: 1px solid #b6dcea; }
.success-panel { text-align: center; padding: 24px 8px; }
.success-panel .ref { font-family: var(--font-head); font-size: 2rem; color: var(--navy); letter-spacing: 0.04em; margin: 8px 0 14px; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(11, 31, 58, 0.3); border-top-color: var(--navy); border-radius: 50%; animation: spin 0.8s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Contact info */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.contact-list .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--ocean-light); color: var(--ocean-2); display: grid; place-items: center; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list span { color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.85); padding: 56px 0 24px; font-size: 0.95rem; }
.site-footer h2 { font-size: 1rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 14px; }
.site-footer a { color: rgba(255, 255, 255, 0.9); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.86rem; color: rgba(255, 255, 255, 0.65); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* Page header (inner pages) */
.page-hero { background: linear-gradient(120deg, var(--navy), var(--navy-2) 70%, var(--ocean)); color: var(--white); padding: clamp(56px, 8vw, 84px) 0; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 0.3em; }
.page-hero p { color: rgba(255, 255, 255, 0.9); max-width: 64ch; margin: 0; font-size: 1.1rem; }
.breadcrumbs { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 14px; }
.breadcrumbs a { color: var(--gold); }

.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.loading-state { text-align: center; padding: 40px; color: var(--muted); }

.values .feature h3 { font-size: 1.2rem; }

/* Mobile */
@media (max-width: 600px) {
  .btn-row .btn { width: 100%; }
  .hero-content { padding: 70px 0 56px; }
  .logo-name { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Layout helpers (kept as classes so the strict CSP allows them) */
.split--top { align-items: start; }
.fieldset-reset { border: 0; padding: 0; margin: 0; min-width: 0; }
.legend-plain { padding: 0; margin-bottom: 8px; width: auto; border: 0; font-size: 0.95rem; font-family: var(--font-body); }
.mt-18 { margin-top: 18px; }
.card-title { font-size: 1.5rem; margin: 6px 0 0; }
.h3-sm { font-size: 1rem; }
.mt-8 { margin-top: 8px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.btn-row--center { justify-content: center; }

/* Brand logo: keep the artwork's proportions (height set, width auto). */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo-img { height: 62px; width: auto; max-width: 260px; }
.footer-logo { height: 64px; width: auto; max-width: 100%; margin-bottom: 14px; }
@media (max-width: 900px) { .logo-img { height: 52px; } }
@media (max-width: 600px) { .logo-img { height: 44px; max-width: 200px; } .footer-logo { height: 54px; } }

/* ---------- Home hero video slider ---------- */
.hero-slider { min-height: min(100vh, 860px); background: var(--navy); }
.hero-slider::after { content: none; }
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0.9s;
  background: var(--navy);
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.has-error .hero-video { display: none; }
.hero-fallback { position: absolute; inset: 0; }
.hero-fallback img { width: 100%; height: 100%; object-fit: cover; }
.hero-fallback p {
  position: absolute; left: 16px; bottom: 16px; margin: 0; background: rgba(11, 31, 58, 0.85);
  color: var(--white); padding: 8px 12px; border-radius: 8px; font-size: 0.9rem;
}
.hero-loading { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(11, 31, 58, 0.25); z-index: 2; }
.hero-loading span {
  width: 44px; height: 44px; border: 4px solid rgba(255, 255, 255, 0.3); border-top-color: var(--gold);
  border-radius: 50%; animation: spin 0.9s linear infinite;
}
/* Readability: dark gradient from the text side, plus a base shade for the controls. */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(11, 31, 58, 0.92) 0%, rgba(11, 31, 58, 0.7) 0%, rgba(11, 31, 58, 0.25) 0%),
    linear-gradient(to top, rgba(11, 31, 58, 0.85) 0%, rgba(11, 31, 58, 0) 5%);
}
.hero-slider .hero-content { z-index: 2; padding-top: 110px; padding-bottom: 150px; }
.hero-logo { height: 92px; width: auto; max-width: 100%; margin-bottom: 18px; }
.hero-slider .lead { max-width: 58ch; }
.hero-bar {
  position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
}
.hero-now { margin: 0; color: var(--white); font-weight: 600; font-size: 0.95rem; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.hero-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(11, 31, 58, 0.6); color: var(--white); display: inline-grid; place-items: center; cursor: pointer;
  backdrop-filter: blur(4px); transition: background 0.2s, border-color 0.2s;
}
.hero-btn:hover { background: rgba(201, 162, 74, 0.9); color: var(--navy); border-color: var(--gold); }
.hero-btn svg { width: 20px; height: 20px; }
.hero-dots { display: flex; gap: 6px; align-items: center; padding: 0 6px; }
.hero-dot {
  width: 28px; height: 28px; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center;
}
.hero-dot::before {
  content: ''; width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.9); transition: background 0.2s, transform 0.2s;
}
.hero-dot[aria-current="true"]::before { background: var(--gold); border-color: var(--gold); transform: scale(1.15); }
.hero-btn:focus-visible, .hero-dot:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 700px) {
  .hero-logo { height: 64px; }
  .hero-slider .hero-content { padding-top: 90px; padding-bottom: 170px; }
  .hero-bar { bottom: 16px; }
  .hero-now { width: 100%; }
  .hero-btn { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-loading span { animation: none; }
}

/* ---------- Ships page video grid ---------- */
.ship-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.ship-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ship-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) {
  .ship-grid.cols-2, .ship-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ship-grid.cols-2, .ship-grid.cols-3 { grid-template-columns: 1fr; }
}
.ship-card .card-body { gap: 12px; }
.ship-media { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.ship-video { width: 100%; height: 100%; object-fit: cover; background: var(--navy); }
.ship-fallback { position: absolute; inset: 0; }
.ship-fallback img { width: 100%; height: 100%; object-fit: cover; }
.ship-fallback p {
  position: absolute; left: 12px; bottom: 12px; margin: 0; background: rgba(11, 31, 58, 0.85); color: var(--white);
  padding: 6px 10px; border-radius: 8px; font-size: 0.88rem;
}
.ship-loading { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(11, 31, 58, 0.3); pointer-events: none; }
.ship-loading span {
  width: 40px; height: 40px; border: 4px solid rgba(255, 255, 255, 0.3); border-top-color: var(--gold);
  border-radius: 50%; animation: spin 0.9s linear infinite;
}
.ship-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ship-title-row .card-title { margin: 0; }
.ship-card .card-foot { display: flex; flex-wrap: wrap; gap: 10px; }
@media (prefers-reduced-motion: reduce) { .ship-loading span { animation: none; } }
/* The hidden attribute must win over the grid/flex display rules above. */
[hidden] { display: none !important; }
/* width/height attributes on <img> act as fixed CSS sizes and override aspect-ratio.
   Images that use an aspect-ratio must reset height so the ratio controls their shape. */
.card-img, .gallery-item img, .split img { height: auto; }
/* Screen-reader-only text (used in buttons and captions). */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Contact page: form first (full width, capped), then company details below. */
.form-page { width: min(100% - 32px, 880px); margin-inline: auto; }
.btn-block { width: 100%; }
.contact-info { padding-top: clamp(40px, 6vw, 64px); }
.contact-info-inner { width: min(100% - 32px, 880px); margin-inline: auto; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 36px); border-top: 4px solid var(--gold); }
.contact-card h2 { margin-bottom: 18px; }
.contact-card .contact-list { grid-template-columns: 1fr; }
@media (min-width: 680px) { .contact-card .contact-list { grid-template-columns: 1fr 1fr; gap: 22px 32px; } }

/* Compact contact form: tighter spacing, consistent 40px controls, multi-column rows. */
.form-page { width: min(100% - 32px, 960px); }
.form-card { padding: clamp(18px, 3vw, 28px); }
.form-section { margin: 0 0 18px; }
.form-section legend { font-size: 1.2rem; padding-bottom: 6px; margin-bottom: 12px; }
.form-grid { gap: 12px 16px; }
.form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.field label, .field .label { margin-bottom: 4px; font-size: 0.88rem; }
.field input, .field select { height: 40px; min-height: 40px; padding: 8px 12px; font-size: 0.95rem; }
.field textarea { min-height: 76px; padding: 8px 12px; font-size: 0.95rem; }
.field .hint { font-size: 0.8rem; margin-top: 2px; }
.field .error { margin-top: 3px; font-size: 0.82rem; }
.choice { font-size: 0.93rem; }
.choice input { width: 18px; height: 18px; }
.choice-group { gap: 6px 16px; }
.declaration { padding: 12px 14px; font-size: 0.9rem; }
.btn-block { min-height: 46px; }
@media (max-width: 1000px) {
  .form-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .form-grid.cols-3, .form-grid.cols-4 { grid-template-columns: 1fr; }
}
.form-grid.cols-4 .field { min-width: 0; }
.field input[type="radio"], .field input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; flex: none; }
@media (max-width: 1000px) { .form-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Wide contact form: use the page width and a three-column grid on desktop. */
.form-page { width: min(100% - 48px, 1320px); }
.form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Two-column contact layout: row 1 = Client | Tour + Special; row 2 = Payment | Terms. */
.form-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; align-items: start; }
.form-col { min-width: 0; }
.form-col .form-section:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }

/* ---------- "Our Services" dropdown in the main navigation ---------- */
.main-nav li.has-dropdown { position: relative; }
.dropdown-toggle {
  font: inherit; font-weight: 500; font-size: 0.95rem; color: rgba(255, 255, 255, 0.9);
  background: transparent; border: 0; padding: 10px 14px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: background 0.2s, color 0.2s;
}
.dropdown-toggle:hover, .dropdown-toggle:focus-visible { color: var(--white); background: rgba(255, 255, 255, 0.1); }
.dropdown-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.dropdown-toggle .chev { width: 14px; height: 14px; transition: transform 0.2s; }
.has-dropdown.is-current > .dropdown-toggle { color: var(--navy); background: var(--gold); font-weight: 600; }
.dropdown-menu { list-style: none; margin: 0; padding: 0; display: none; }
.dropdown-menu a { display: block; color: rgba(255, 255, 255, 0.92); text-decoration: none; font-weight: 500; }
.dropdown-menu a:hover, .dropdown-menu a:focus-visible { color: var(--gold); }
.dropdown-menu a[aria-current="page"] { color: var(--gold); font-weight: 600; }
.has-dropdown.is-open > .dropdown-toggle .chev,
.has-dropdown:focus-within > .dropdown-toggle .chev { transform: rotate(180deg); }

/* Desktop: hover or keyboard focus opens a two-column panel. */
@media (min-width: 901px) {
  .dropdown-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 500px; z-index: 60;
    background: var(--navy-2); border: 1px solid rgba(201, 162, 74, 0.4); border-top: 3px solid var(--gold);
    border-radius: 12px; box-shadow: var(--shadow-lg); padding: 14px; margin-top: 8px;
    grid-template-columns: 1fr 1fr; gap: 2px;
  }
  /* Invisible bridge so the pointer can move from the button into the panel. */
  .dropdown-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
  .dropdown-menu a { padding: 10px 12px; border-radius: 8px; font-size: 0.95rem; }
  .dropdown-menu a:hover, .dropdown-menu a:focus-visible { background: rgba(201, 162, 74, 0.16); }
  .has-dropdown:hover > .dropdown-menu,
  .has-dropdown:focus-within > .dropdown-menu,
  .has-dropdown.is-open > .dropdown-menu { display: grid; }
  .has-dropdown:hover > .dropdown-toggle .chev { transform: rotate(180deg); }
}

/* Mobile and tablet: "Our Services" is an accordion inside the hamburger menu. */
@media (max-width: 900px) {
  .dropdown-toggle { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 1.05rem; border-radius: 10px; }
  .dropdown-menu { padding: 4px 0 8px 14px; flex-direction: column; }
  .dropdown-menu a { padding: 12px 16px; font-size: 1rem; border-radius: 10px; }
  .dropdown-menu a:hover, .dropdown-menu a:focus-visible { background: rgba(255, 255, 255, 0.08); }
  .has-dropdown.is-open > .dropdown-menu { display: block; }
}
/* The generic "nav ul" rule would otherwise make the nested service list always visible. */
.main-nav .dropdown-menu { display: none; }
/* Current service inside the dropdown: a tinted row with gold text (the top-level active style would hide the text). */
.main-nav .dropdown-menu a[aria-current="page"] { background: rgba(201, 162, 74, 0.18); color: var(--gold); font-weight: 600; }

/* Ship detail tables: room tariff, cancellation charges. */
.data-table { width: 100%; border-collapse: collapse; min-width: 0; background: var(--white); }
.data-table th, .data-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.95rem; }
.data-table th { background: var(--navy); color: var(--white); font-weight: 600; font-size: 0.88rem; }
.data-table tbody tr:nth-child(even) { background: var(--mist); }
.data-table .num { text-align: right; white-space: nowrap; }
.muted-note { color: var(--muted); font-size: 0.93rem; margin: 0 0 14px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }

/* Icons beside each service in the "Our Services" menu. */
.dropdown-menu a { display: flex; align-items: center; gap: 10px; }
.dropdown-menu a > span { min-width: 0; }
.svc-icon { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dropdown-menu a[aria-current="page"] .svc-icon { stroke: var(--navy); }
.main-nav .dropdown-menu a[aria-current="page"] .svc-icon { stroke: var(--gold); }
/* Keep each service on one line: wider desktop panel and no wrapping of labels. */
@media (min-width: 901px) {
  .main-nav .dropdown-menu { width: 680px; }
}
.main-nav .dropdown-menu a { white-space: nowrap; }
